From fdba2d4505970856fffc48765a19f369555f764e Mon Sep 17 00:00:00 2001 From: YunHorn Technology Date: Tue, 12 Mar 2024 18:46:20 +0800 Subject: [PATCH] step 5 debug off app log off --- Core/Inc/sys_conf.h | 4 +- Core/Src/gpio.c | 4 +- Core/Src/usart.c | 2 + .../Release/Application/User/Core/usart.cyclo | 6 +- .../User/LoRaWAN/App/lora_app.cyclo | 16 +- .../Release/LoRaWAN_End_Node_E5CC.bin | Bin 66908 -> 64924 bytes .../Release/LoRaWAN_End_Node_E5CC.list | 44110 ++++++++-------- 7 files changed, 21883 insertions(+), 22259 deletions(-) diff --git a/Core/Inc/sys_conf.h b/Core/Inc/sys_conf.h index 1f15237..16d0145 100644 --- a/Core/Inc/sys_conf.h +++ b/Core/Inc/sys_conf.h @@ -47,12 +47,12 @@ extern "C" { /** * @brief Verbose level for all trace logs */ -#define VERBOSE_LEVEL VLEVEL_M +#define VERBOSE_LEVEL VLEVEL_OFF /** * @brief Enable trace logs */ -#define APP_LOG_ENABLED 1 +#define APP_LOG_ENABLED 0 /** * @brief Activate monitoring (probes) of some internal RF signals for debug purpose diff --git a/Core/Src/gpio.c b/Core/Src/gpio.c index e6421f5..8fd27db 100644 --- a/Core/Src/gpio.c +++ b/Core/Src/gpio.c @@ -59,6 +59,7 @@ void MX_GPIO_Init(void) __HAL_RCC_GPIOB_CLK_DISABLE(); __HAL_RCC_GPIOC_CLK_DISABLE(); + /*Configure GPIO pin Output Level */ HAL_GPIO_WritePin(GPIOB, LED1_Pin|LED2_Pin|PROB2_Pin|PROB1_Pin |LED3_Pin, GPIO_PIN_RESET); @@ -90,6 +91,7 @@ void MX_GPIO_Init(void) HAL_GPIO_Init(BUT3_GPIO_Port, &GPIO_InitStruct); #endif /* EXTI interrupt init*/ +#if 0 HAL_NVIC_SetPriority(EXTI0_IRQn, 0, 0); HAL_NVIC_EnableIRQ(EXTI0_IRQn); @@ -98,7 +100,7 @@ void MX_GPIO_Init(void) HAL_NVIC_SetPriority(EXTI9_5_IRQn, 0, 0); HAL_NVIC_EnableIRQ(EXTI9_5_IRQn); - +#endif } /* USER CODE BEGIN 2 */ diff --git a/Core/Src/usart.c b/Core/Src/usart.c index 5f2619e..af27707 100644 --- a/Core/Src/usart.c +++ b/Core/Src/usart.c @@ -58,10 +58,12 @@ void MX_USART2_UART_Init(void) { Error_Handler(); } +#if 0 if (HAL_UARTEx_SetRxFifoThreshold(&huart2, UART_RXFIFO_THRESHOLD_1_8) != HAL_OK) { Error_Handler(); } +#endif if (HAL_UARTEx_EnableFifoMode(&huart2) != HAL_OK) { Error_Handler(); diff --git a/STM32CubeIDE/Release/Application/User/Core/usart.cyclo b/STM32CubeIDE/Release/Application/User/Core/usart.cyclo index ceaa8a3..8676abd 100644 --- a/STM32CubeIDE/Release/Application/User/Core/usart.cyclo +++ b/STM32CubeIDE/Release/Application/User/Core/usart.cyclo @@ -1,3 +1,3 @@ -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/Core/Src/usart.c:32:6:MX_USART2_UART_Init 5 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/Core/Src/usart.c:75:6:HAL_UART_MspInit 4 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/Core/Src/usart.c:148:6:HAL_UART_MspDeInit 2 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/Core/Src/usart.c:32:6:MX_USART2_UART_Init 4 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/Core/Src/usart.c:77:6:HAL_UART_MspInit 4 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/Core/Src/usart.c:150:6:HAL_UART_MspDeInit 2 diff --git a/STM32CubeIDE/Release/Application/User/LoRaWAN/App/lora_app.cyclo b/STM32CubeIDE/Release/Application/User/LoRaWAN/App/lora_app.cyclo index 414e372..dcb7556 100644 --- a/STM32CubeIDE/Release/Application/User/LoRaWAN/App/lora_app.cyclo +++ b/STM32CubeIDE/Release/Application/User/LoRaWAN/App/lora_app.cyclo @@ -1,24 +1,24 @@ +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:760:13:OnBeaconStatusChange 1 D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:795:13:OnSysTimeUpdate 1 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:802:13:OnClassChange 1 D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:843:13:OnTxFrameCtrlChanged 1 D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:854:13:OnPingSlotPeriodicityChanged 1 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:802:13:OnClassChange 1 D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:669:13:OnTxTimerEvent 1 D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:809:13:OnMacProcessNotify 1 D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:821:13:OnTxPeriodicityChanged 2 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:730:13:OnJoinRequest 4 D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:916:13:OnStopJoinTimerEvent 2 D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:689:13:OnRxTimerLedEvent 1 D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:684:13:OnTxTimerLedEvent 1 D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:972:13:OnStoreContextRequest 2 D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:987:13:OnRestoreContextRequest 1 D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:879:13:StopJoin 2 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:552:13:SendTxData 9 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:932:13:StoreContext 1 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:552:13:SendTxData 7 D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:694:13:OnJoinTimerLedEvent 1 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:760:13:OnBeaconStatusChange 4 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:954:13:OnNvmDataChange 2 D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:865:13:OnSystemReset 3 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:701:13:OnTxData 4 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:472:13:OnRxData 14 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:932:13:StoreContext 3 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:701:13:OnTxData 3 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:730:13:OnJoinRequest 3 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:472:13:OnRxData 13 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:954:13:OnNvmDataChange 1 D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:348:6:LoRaWAN_Init 2 D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:443:6:HAL_GPIO_EXTI_Callback 3 diff --git a/STM32CubeIDE/Release/LoRaWAN_End_Node_E5CC.bin b/STM32CubeIDE/Release/LoRaWAN_End_Node_E5CC.bin index a13f63de5f5bb9953ad479fa69d7ae1b0b6d892a..720967055aad43e5ea89d0294d6aa3b5689434fe 100644 GIT binary patch delta 6544 zcmai333yaRwyvt%%Oz_ENa!qt?oNO0!X^kbi`Y7#0eMVRGzbHO zGw?(U6azXaf`SMMcUlP$f}?CYC}=MXUK zI;X0-IrkUcrT|xo5Vq*k5#Kuj@ectq0eu1e0q8&e4FK7|4*4TM9|cSRUxvZI;aPhG zw2S{kcHj0s9hZPAA9QeE$i`&+wExHXzWwjfr+&wG!Ea>u*EJzM=U*#$Fc<9D6D?)>>7LI0NGC77+_{`I`RMpA^Kc^lvP$AmNz)ugNe9&dwF@?ZNGU#JbygkHAt$7i z6L~gPJ8j6ye-bUNQOv**;8rO_viazeuEOwDe!gbm=W26F+KKBV>%?^(I&s~A2$&J6 zD};;bl35f2ya!3&YMSf;{82;F8$l$kqd2|`8LZHRc#DZhZ)$vvCSTT~oSX#V5#m#I zL~7EgJKjdrAYC1ACZ`p;Ek3LAVt`n%6dOdg3`?AVrL%zyXd8p3YEvDmM|R|3!%fw= zVxz5UCfjBrE!zvLnvA4L^-MQf(-mXOSKd`9to7^#KhQIspoJ4-_kPyO3AL~lS%~D= zi=;>E%PR}j=KFu;h2cL8lP-czR%2wrVA^djfzPgcF(k!$nABO2J3tb-7pfR+<^8BW zhkz|?(~N^1ejqR1hw8ruTfLL_@M)ZjljeBCnX1Xj^?V)E(S`&|<+wohg9LkJKSEJ| zH+u9V^`Dxom_|z}fpGGX>heNVKfVR=S)LWuIsx`ih?WNX>U>dIhLMPxtYo7_(BzAn zMNsAbihZdb_Mh29zT}xa)ScFj@~JCY`q&p!jMG!fk@Sf-N-ED&Bb`ywpVi3Xl6I7r zG!t2(q?M{B_kw+G2ZJS=Rj>$k*G!Hm>FxTHFzdTev&exaM@b*S7HD!J^>lj_@20o9 zC7O^lTh$9lny2au7*7+-u8cma4n+Oc0w~gK`0V4#VY^$d^}tpF!|CcFAAzEJy4l<- zB0)t`3c#k)lV<18cNK2CMd04X(mEwW7z~ra(rz_F7!cxisGX{%P@bDSI#~a+0b}tN zm!mD#qRNwLSz;0HPTxzMPZkDgR8mp~k(PAq5fQMJ?b)J^w#l=)x(^hFPQXwaoBVWa zlAVlG=u1hxNTEtUOiGV=_+Th0oG@#t-$B}tl-@NEun4_p6KTJa4by>oks?(Zm7I>t z=z!$p-uod*Odi81Vg;piLm}3@lyESKbPi&``s?ECN?%B}R&vr4p}G-+yc4D&edlFW zv@@u4>R_ktr_M(Qc<^HhhYFCR-1By|LFfw8=3vrieK{R9{-ZD3-KV%JZ~Q5e##8>2 zjN%ANq@7UYn!G&7P7u_yYJOfj%C35HuEQ@RpgfX+=xO|klzeO|Dq zrTuASBi3!Ru(ZP46DsuYUb;Eu;q>{zi_gPx>tor$#DCihWed~dJrM#H2vk9~mwHoD zGdSseEzRBZ%qcF|(DY0x37)QU^Ul2XrKAc9lL|EI=$@kA;?v}4IAgT~xB-)RClC#*GO0SL zG~lX@92M!rJ$shxr1L&Y#X|xo_1E;EAEUB?7*_EWbgjI*QNYF zS8K8s&bh&v^5LW0P{=!j zB#mrHD}TI5m7ff%@=0ao9=t)7w<&{*V*N|K2>7wVM?i}eRsK?Wgm$r}RrVb-u!7IT zCvj%qv$NbNjV_qw{t;l`gKj!dmxW~uftu8`>Oh+mnYMP}>~ia<*)Pqm;iUB%w)3Yf zFq>sc_XoRz0xcC?p~XqNHAB|gQ=Ig&rW4jQpTEwnXz=RRYVvD=*S!Wb+g)Ai7dGY9m_ikVPWAp1~j~MMHIV2XIkU+hy5k^JGwYxzz{vyynLO^AwLXJmd@ajOgJKi(kO(G6xcg=MSV7z$ zG@LlEiRK5Xu+X0XUW1j)icB$Gob9$%M2aLM<|J2{(f!n{3Y?L2%3Oi%$X>*2XO38u?A9s(*c(fNCA%3WVZm4O1w!$NpP}G@UhQ4Z!GwK z5i}PgtGR-c)+!0kBD5}{xRW~pc0Wo|16{%3?XH`eScv1orC$bFC)B(^KtTMeYX0Dti>sY4Ub2-H}lW%&Xo#nKojYr|E?> z_eS?r>>5RFbICZ~C4zRl^0%Onx?A1(WS6-O;aFr^+Au#OeLh zvF(6j1a+1B2P5CmzpZl6UV% z-9=UY-Y-rcv`P=1!CUsm&=j*@TbfMlw;MT2Ycr}hwIaS69wf&kn)=vfVrr%2@m{35 zg=RedCz7tw>c=>uRSl6j|baq~cUF)e*zAoSfEJO;X_>MQRK0eg!|4-D@& zh*u55PcX$Qqq#wmvAP^4c&|}tX46iCSRDbX$af){OtR6aKds2O6>4#$#9UAe!ccdU zJ_;Ng6*|%}WYB))jCXAoi?LBS0$gtEsvIT(KQP*VGa1(N zfkO8=GP?X#Ih5=e(b9PGS4CbC>L!iWJL0=0>aW0%i$dCajkTbC4u;Q7Au|*@EY}h< z209h>?Bg@ZUF<0Iv&K z?FeSUrCObrP<+ZA>G;vra8;4zAdSge`LGx?2>abXbBVBm&w|S#ta4-AMF^{8h9pl1X}^41%!H8W ziIAuyNT=ubA%hOk)%ocOJ)vLGJqvn{;>4TFVjH0EL zBDK(A1*wcoFL;t{4$uPyF7kXpOdVms2{-+)9fR}`6Ej>A!`tUV7F_bvA;JdI9H0$C zM(0=kdf|$DqXC~rmYh08UhJo)!VKc_)5i+Uq|8qz7B12$@^Y{EUEwA|QvGz^$erYM zO-w5Onw#woY%!A4cA=B>Ou*H_{dd6H!MzcNf$Iu_f zze?H^YMwZZuAQ)wtW`ww#2;|dwqR*<)iZe#PpW1vXjV1t4qA#FL zh>rtYnuz$w4$63j)060wsZ%UUo0G#X*0G zvk*UEF5+vZBmNMmwr+*95$G#mx_+AY(la**dG~2??z~b$8YFSwbN?V*lpoQ`1@lAn z&VrugR4Ywb*o$0hrNb7EBrUDlH4Y$@2im^XKly0$VqMRniAM-zfMFJ zX1HPmMy!(yZQ}d8V{i=9G5I0TXSIp@s`I$eL^W|eP8|!1*B5bpjtzRL$7+yVGIpbl^ZDd=F5(aXubj6}O)6LI@6u`!3jVx6gybqRCqol%7y*5mL%EdA`~%&!E1G znYe}ayi`cAMxVPh83*anODk|K9euf$Jgidw$~3^buEKzZV?Y&8->kna-5IA*B}#o zk^AMKy9ctkAmP~=Eh$*X8_SjH=id5HSyTZa!gz;bjYodjI6u`mre`a zb1RRLd$&pxTrd_XMz$muDNc5q3#+ZjvIuUu+t~?=KxOi9qpm!&p>WHyY)Eqsr{$v9-m9BPRzCKLhY5m|l;zqS)0z z#NWqSc*y>-EiI}=zTibRl-4502I#i7J|Ot2L(t}@zqF-8f1i4(p*9?*V24wgZ?h4(M^vuLq0< zYz5Q;o&Zb(EC3{SM|>{ea0;Bw01SQ{K#!1E>7#@jfU;>^uuH-isIswu$$(OT3oxZ! z91>int9%t|hdGX!R6OIaz_ZbTFWUfoC*X6(jxE~?d<5_Xc||k!03Qkb=={?0^}t7k z_~H@&1U@>%gj0N48{1(%Hu~7zvc+6 zJ~S?)X@(l7(d&hX1($ z5a8Lr)9@?JYu&&Ya2)W68Sx5yUpfsK3^;EM@84jcae$`)Mv!v=Js=m*2@nrBZ+T~j i4$rlXb|e0kr(w1L4zvp5ej^^t;GYjEJgU*(%jjcR zM`~?!I*tZnU5cxMgO0nRcJ05)ry{A#K6*Q3PBxK}?ffnz{ooACR&B%|9J_{#vDEHn zvTvP1*;vZWUyzqCHel)z7kX*NHTF z58ptf?N0i!Hk!QQq(`+nvfN2;XtTqwI)z=t5Y&VdDkZEYQmK<>hb<-HPI@q`g4}Y@ zzTq`d(XI>jwHsRPDCNKJ1fr2*ROW}fgQZXx-5s7xjydSh;Z@{-LW{dCzzOurZv8Ch z9r%M7m{BXx0%=1kkxn`ar1}hlcy@tK!sKiPqojj!KnrZ6(sUw`E;@B$oERWrsm#Nk z8$7J60dAUyJ=glm5x`CIu;(g|raomq;!rk(U^Z&lUZ1T)J>vMC!O}Euln%ua;EKIO zI_{*o-No_4T>P#jpLyB}^vAA|lw;R8bnIFHBA`a3gC2if40D^pH(=>0hgWX!dga+( zByDmbX&Y_n-i@fe^h$R@tCGe#_+4K4XKzrpN-B5Kh#tK;mGr!Wj_9EyM?G|Ak0`R* zOPBUYvApOeFxY)=q)QaSL@fQ)od{*CTU)Q)kD8DHrLyic4wX@(+g8Tn0>WW0OlvBZ zRE@08VdsokIBZ{w{Iz9!!4B$K-EF%+k{b50(l5Rejza>G{?mx1%X_LU6FhC5e^nFw ze;5XRw-GhHh>?In^>8DB=fOq{QIyt%n$Cbc6(pZG!nOz99Wc-l1ayJ#x~Ibqc+Wo6 z^cCo;v-t*IuPRkZTBkp>y>d(wzn|67cOnFf+ciY+MlnHO|f?opVF|Vo)cmH#9&FS>~{pE1WZI!8%MSaqF27?6-195={BrVLjW*+ z2(WZ*12yYyD1(*;OVvt<5y!_?A!(;QSQ?XV@0uMf71_HQ3v4Jox{L_HlF9CsLttHP zppfl|69sYqRc&gpG^eo{Mx77|F_ns@21`}21YQ}_HIc*dD|CNkPc4>0?P^%aD7!k7 z@$^b$Y2q0#CnD*bHxqXCPw*U2I)bfkmA4O$W8F3Hfp`S^-5y#M)i>}EMAZ?%aW8!{ zDtmO6SM`A)sy1UO)te}eguxJLhCNXn?BgceyVOg*K-V^KFn^PxG43c$y%Q>UMOnL z;<7m@?|vY?_65J6ZitEK_qs9y#?H3)R%M8JfN@)TaSPG&l;4?X45UOd!T$EjE9kM9 ztf&v&5Rbn6bL^UG*s*KslJHzCz2T;bvAtuz@%1ytl_1!jKspll-W)6?ITK)4PIuCZ z*kSSAJQpjmq*Yi%Fmcvi*s7UqqXvptB;e6A4*ErGZ;q2P9rUNzs6m|cj3Xe2%f>oR zYPZAo^KI_$V9&69a}vNeXpB*%UU?1V6%9@3HM;*b2S_`17Suwk4#@Ie`F(|D^#S)C z@CIGitH8oZEBE*k28@HX>u=L5QR=ny0^oHaptvAuu!psaVc%@rW8jblgcuC^9?&*) z$t~R_l=4tD(jI3H0JtYNO zRiOMmq>PmP8e@AKYC57q0(%Q=hS7fnI0Enheg*IiA;y?mlB8;Z$N{@=+z@y==sXQe z>z2amy?dVESy-l3+cMU{F$=~Vb!Zr!=U<`rm(y)BkXjaJky2yh8mNr*qf8-jd2CR zW*Vy)Y6pv)^paf#79V>rg4fv0*z)wdhj=^lAj~!k_-OzZHv_Lp8SCmHz7#cBnk^2E zxONwcp8*Y|dZ!zwW%o3{l|G^=P7IO`dP_k1oVQE;{;Se+WT#h7a}^oUCafFj8-!C) zZ7Iz4$nkEp8|(6oXoFvVLm_%@i@wU3%ALDi z^_!NIR}IQ7Usk@0lP=q_fo~CD$jzRl`)i%-x>XwoB~EhNIg#Ioby!R=YC-EIrMB(- zHT9a4c5Z`LM#?&S04k@?33|)dZ2`k9w&|a6(mP;-4C8GjpRk2nR*mB7l{4R2VsQm8>CuCGUi z0nMqk#1Lp{Rv8kTBRcj;ua31%0oTPm!#0%~f+|P~RDA6yD&r3j9{XSrCjgl;;<2GXLL{h( z7*!qN7h&654i$d^@C^_h%Bn_A>T9Q01%ssz>;_~Q-mI!cNyD0b(Y&}fMDq-#H$+Lg zhwbfHU-CKV+~|l(QNivGOd(YN45pXOY&>CN4*X(?N#ofu|B z{rRSDBGR!$7UI+0=Hyt))dg968G?gQ)TY7;`j1N4T3Ca>!)TiT5?~$R1%Mk6Vh34+ zTKrpmkcj#ZZys=eV-h71hJ4N4xAyg2XyC-=`R3%>>RlwcU$ZJXu;s~GoTzDus>KG< zObn=*2Oq4nTlCMUlX{$iISJ~zjgBq?R~J3eWY_!V$-}V|mm?jUXXh-(IW_QhudKy` zF17Tk4Ku3YFy5=o4=m|I@Ca5oL_avx zaHip;fll@I!*?_~QU}lUm=Iits7@SX^cx-otrXCT2CcKZRZQm(nnOA?KXME<4$ej} zoC2G3agbE)8e|;wPu8R;$Y7O@cIgpF1dOcQCw85O4{p= z$w3=qj9ttzkVAr`Ck(EhpwQxCtBRW50e5~4xB}3?(ii}*^?@aUfLsrht=UK&ytIJk zK$)fDFDnqgT0s1}@rb_!GK5q(2$BR#6f8}%WU_+(ri;Nz)-L)a9NFmh$eTQ#Hg-v8 z3OpRSiaAV;@o|AAke{L&A$!7YBz_witXRVnf(Yl4;oPU|X9DJg$6DJ@N3;jsYEf_A zZl0mJe##>^y6K1gm+DryyXUJ#ow=L&oaXdNYHrocZldO)sTmSh(Nd4R&`r}5o3&hr z?K#b_VC!~KT~a;gmM?p)r<39_(YmN>KyQLv*4Tm1s>wJ9eRGH*q`w2j>`cG+19#CQ z>mAn9L)NNCxaC=%05Qp|k~FGU(*s(Nz|~jn$NIK56yM(Fmh(NUVu;~Jt4g>HS?VNs zvj(uiMmLZ6nVfXcWh48N8V7xQ^wZI)sT9OR&C}JIQ`P1<^YoG@Bcq*^SC>wN zd8~0Ajv+}mTbH&CgY>o#a-aSTwdL+8Xr#tPhmA>oY^Ezf{5Onynq?=wT851=KC)fGLw~*Qigq<#ZR_GA1@;D432mpH&Be;XoHXG-ecmi@Rq` zY%c`8XJp-Ly>;cXSub&_)k!fho4d+s`-YSZS~<1{%^j-^xu6`3NzJ;|+I+<=w<`3> zu|miZpXgp|BZv+ubj#RSVpZs8V}<0mmBTUC^n0xoYF_neU1(i@C1_xNGrRp01M};u zCDElrp`#ZS%8g4k%vacLX1@y=o&{lrf?@&<_gYJ!fj=v$z<=Lb0Q^*iE*KX@j0$~z z-1EaUN`Sb}d`{I9=7g2!z=v{c*hTOm#7ox<=EZwX=5-c7AElpzg}dRTspAdWRwwf# zKe$z;2GbKxT033{`4WWt%-emUeNOt`cwNW`KG8IvXor)Y9zTG*u$OYF@exl$!&dVg zXgWw`z5ZR7eMg^rK%D2K&!!F`pE~Ggsl6FFojQ})9CTP(DLL%0 zZcYop5#t?cx7R+VX3^xu5IB#+n*Yf`cc*V5qv3-^Mq>C0xMp59Zx6ty;2N>tEg!Yh zwHb-ApV|xH02v@&H_r&bCshLooM_PsIYB-ntZ;w^Xe3g(TcKVC>4|3jZ zt()+b%Dh(Dp&_RXVi#$hQrf|Nti*M2pC~^E_-pHx9Ua_OrL==vs>B5Zoa$~{wK%E? z$FVl5mABP?{gp~N=jXO6>|9O{PK>plH6Fl$11G^L0kC=!eLF9cqRNvQmx5OGgxi^k|%HD;fwQI}f^N1Xbf(wU)RB5*mR^%t`GZK zmomh!QX^r~92z}$sjhVnyjJES-Z2mHPXm7tsuq5L_wr+lU2qE7)tw)!KaK28?S;D#`UIL}GS~%wc=2ap7t1u+MnE3TeKn_R% zSx=z17So7zCf}6iuPgD{A71yh+QtowJU46#G z-=EYqMnSv{)|$WKuVxF!oD*2oUUditXf9K!0D{25l z6*_TGG`Xi(AK&vhN5*)p$G^kDh(TqHn{I3Bty-YM)_qMqaloet^JBc$vj@-m zm-zET4Y=zTFXB%Fx+83T>Z^f7bp%}U{=d|iv&pX?p!MHu32!|IcZ(P#G)Kev=UcdT zeruh60a2KA@>dNg@vnknihum6&#w__cfdRCapd* zAIH-RXO`nWbVh3*uv*@lM0z{u%+}tK@%F#o(XM6ZWoFWiU3UbV{I&IbYd1nJDc0NP z3^=mgNd&L_t{cTi7zHu5$}2Afr;n$D&nMv)I_vxd(#uWXJ3kfwNWJIR;H`AcPmQF| zMN=;b-PHHI-oN z<)0Vg05g2^SbvR9{-uh$EqlH6=r4)HeAjyKms}imTh8(l-@V8y|8&6I2MK0yk@+s2 ze&s#F-KC`M1r@Kt^rf~+a@)Q8Y857iyL8F5iHsb$mdHr^wRA?3+f5M$=!(E)BD$0q zW6V(#>f?|w<}TgbJ|tocRB0PjxtHf{nXuzYcH4-W098M=_a;C*?IuP{*QYb`@%4`x z`SX8Yx!)JhbD@MVY8pTCJx&jOa90R-zXa%skG@y>2aL@;=0Gt9`1FQqA2fPI+=>>HF z4EQY;@kLL~t0^}NHI+h!WkFeWwUAIQR8%gS8ytwz(lbzSpx*Zr#tIV)a`Lk>fq{xb zVeBJ+U{z3@miFjcsQg27f|!<*o0SO_tP_h~FO&?*6+}~7Ue+kqo$!p1X&RMK0km)m zV?Z-^VRqS~iUo6*2t_rORYK(=;fcz5i=GgYlav2fZPnc0TU6hlESti@$_h5k$(fmH zqXcN%5{PQ%F0AtLfv6}eKT|MeO)AMMDh93mxwSPyajh_Kksyo`R>GL7=ayG4sxVad zhuZt|O3zBmD99Ib3w%a@6q~X#vT`Pa6CcdWR8*AXpJ9-n_YVy7 zrp(SQFr`gNd#L`83Z}HooPr1Df*?$`Jk&()kl96rSsA}m_+1mG!bd9%e5jGZXb8%f zotJ?M*#n_m2jcSq8zCYWU>B^o{}FLy!1x0n>ob0r_~KuL05kd4Nkg+U|N>*JA diff --git a/STM32CubeIDE/Release/LoRaWAN_End_Node_E5CC.list b/STM32CubeIDE/Release/LoRaWAN_End_Node_E5CC.list index 8f71ce8..d9b71ae 100644 --- a/STM32CubeIDE/Release/LoRaWAN_End_Node_E5CC.list +++ b/STM32CubeIDE/Release/LoRaWAN_End_Node_E5CC.list @@ -5,33 +5,33 @@ Sections: Idx Name Size VMA LMA File off Algn 0 .isr_vector 00000138 08000000 08000000 00010000 2**0 CONTENTS, ALLOC, LOAD, READONLY, DATA - 1 .text 0000f358 08000138 08000138 00010138 2**3 + 1 .text 0000ef90 08000138 08000138 00010138 2**3 CONTENTS, ALLOC, LOAD, READONLY, CODE - 2 .rodata 00000edc 0800f490 0800f490 0001f490 2**2 + 2 .rodata 00000ae4 0800f0c8 0800f0c8 0001f0c8 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA - 3 .USER_embedded_Keys 000000d8 0801036c 0801036c 0002036c 2**2 + 3 .USER_embedded_Keys 000000d8 0800fbac 0800fbac 0001fbac 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA - 4 .ARM.extab 00000000 08010444 08010444 00030108 2**0 + 4 .ARM.extab 00000000 0800fc84 0800fc84 00020108 2**0 CONTENTS - 5 .ARM 00000008 08010444 08010444 00020444 2**2 + 5 .ARM 00000008 0800fc84 0800fc84 0001fc84 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA - 6 .preinit_array 00000000 0801044c 0801044c 00030108 2**0 + 6 .preinit_array 00000000 0800fc8c 0800fc8c 00020108 2**0 CONTENTS, ALLOC, LOAD, DATA - 7 .init_array 00000004 0801044c 0801044c 0002044c 2**2 + 7 .init_array 00000004 0800fc8c 0800fc8c 0001fc8c 2**2 CONTENTS, ALLOC, LOAD, DATA - 8 .fini_array 00000004 08010450 08010450 00020450 2**2 + 8 .fini_array 00000004 0800fc90 0800fc90 0001fc90 2**2 CONTENTS, ALLOC, LOAD, DATA - 9 .data 00000108 20000000 08010454 00030000 2**2 + 9 .data 00000108 20000000 0800fc94 00020000 2**2 CONTENTS, ALLOC, LOAD, DATA - 10 .bss 000020ac 20000108 0801055c 00030108 2**2 + 10 .bss 000020ac 20000108 0800fd9c 00020108 2**2 ALLOC - 11 ._user_heap_stack 00000a04 200021b4 0801055c 000321b4 2**0 + 11 ._user_heap_stack 00000a04 200021b4 0800fd9c 000221b4 2**0 ALLOC - 12 .ARM.attributes 0000002a 00000000 00000000 00030108 2**0 + 12 .ARM.attributes 0000002a 00000000 00000000 00020108 2**0 CONTENTS, READONLY - 13 .comment 00000043 00000000 00000000 00030132 2**0 + 13 .comment 00000043 00000000 00000000 00020132 2**0 CONTENTS, READONLY - 14 .debug_frame 00000340 00000000 00000000 00030178 2**2 + 14 .debug_frame 00000340 00000000 00000000 00020178 2**2 CONTENTS, READONLY, DEBUGGING, OCTETS Disassembly of section .text: @@ -50,7 +50,7 @@ Disassembly of section .text: 800014e: bd10 pop {r4, pc} 8000150: 20000108 .word 0x20000108 8000154: 00000000 .word 0x00000000 - 8000158: 0800f478 .word 0x0800f478 + 8000158: 0800f0b0 .word 0x0800f0b0 0800015c : 800015c: b508 push {r3, lr} @@ -62,7 +62,7 @@ Disassembly of section .text: 800016a: bd08 pop {r3, pc} 800016c: 00000000 .word 0x00000000 8000170: 2000010c .word 0x2000010c - 8000174: 0800f478 .word 0x0800f478 + 8000174: 0800f0b0 .word 0x0800f0b0 08000178 : 8000178: 4603 mov r3, r0 @@ -1286,10 +1286,10 @@ Disassembly of section .text: 8000edc: 6382 str r2, [r0, #56] ; 0x38 8000ede: f880 303c strb.w r3, [r0, #60] ; 0x3c 8000ee2: 64c3 str r3, [r0, #76] ; 0x4c - 8000ee4: f001 fcce bl 8002884 + 8000ee4: f001 fb0a bl 80024fc 8000ee8: b118 cbz r0, 8000ef2 8000eea: e8bd 4008 ldmia.w sp!, {r3, lr} - 8000eee: f000 bb09 b.w 8001504 + 8000eee: f000 baf1 b.w 80014d4 8000ef2: bd08 pop {r3, pc} 8000ef4: 20000124 .word 0x20000124 8000ef8: 40012400 .word 0x40012400 @@ -1334,30 +1334,30 @@ Disassembly of section .text: 8000f4c: 9403 str r4, [sp, #12] 8000f4e: f7ff ffa9 bl 8000ea4 8000f52: 4814 ldr r0, [pc, #80] ; (8000fa4 ) - 8000f54: f002 f82e bl 8002fb4 + 8000f54: f001 fe6a bl 8002c2c 8000f58: b108 cbz r0, 8000f5e - 8000f5a: f000 fad3 bl 8001504 + 8000f5a: f000 fabb bl 80014d4 8000f5e: 4811 ldr r0, [pc, #68] ; (8000fa4 ) 8000f60: 9403 str r4, [sp, #12] 8000f62: a901 add r1, sp, #4 8000f64: e9cd 5401 strd r5, r4, [sp, #4] - 8000f68: f001 fdea bl 8002b40 + 8000f68: f001 fc26 bl 80027b8 8000f6c: b108 cbz r0, 8000f72 - 8000f6e: f000 fac9 bl 8001504 + 8000f6e: f000 fab1 bl 80014d4 8000f72: 480c ldr r0, [pc, #48] ; (8000fa4 ) - 8000f74: f001 ff48 bl 8002e08 + 8000f74: f001 fd84 bl 8002a80 8000f78: b108 cbz r0, 8000f7e - 8000f7a: f000 fac3 bl 8001504 + 8000f7a: f000 faab bl 80014d4 8000f7e: f04f 31ff mov.w r1, #4294967295 8000f82: 4808 ldr r0, [pc, #32] ; (8000fa4 ) - 8000f84: f001 fd7e bl 8002a84 + 8000f84: f001 fbba bl 80026fc 8000f88: 4806 ldr r0, [pc, #24] ; (8000fa4 ) - 8000f8a: f001 fff5 bl 8002f78 + 8000f8a: f001 fe31 bl 8002bf0 8000f8e: 4805 ldr r0, [pc, #20] ; (8000fa4 ) - 8000f90: f001 fdd2 bl 8002b38 + 8000f90: f001 fc0e bl 80027b0 8000f94: 4604 mov r4, r0 8000f96: 4803 ldr r0, [pc, #12] ; (8000fa4 ) - 8000f98: f001 ff98 bl 8002ecc + 8000f98: f001 fdd4 bl 8002b44 8000f9c: 4620 mov r0, r4 8000f9e: b005 add sp, #20 8000fa0: bd30 pop {r4, r5, pc} @@ -1455,15 +1455,15 @@ Disassembly of section .text: 8001092: 2102 movs r1, #2 8001094: 200f movs r0, #15 8001096: 9b00 ldr r3, [sp, #0] - 8001098: f002 f82a bl 80030f0 + 8001098: f001 fe66 bl 8002d68 800109c: 200f movs r0, #15 800109e: b003 add sp, #12 80010a0: f85d eb04 ldr.w lr, [sp], #4 - 80010a4: f002 b856 b.w 8003154 + 80010a4: f001 be92 b.w 8002dcc 080010a8 : 80010a8: b508 push {r3, lr} - 80010aa: f002 fa9b bl 80035e4 + 80010aa: f002 f8d7 bl 800325c 80010ae: b110 cbz r0, 80010b6 80010b0: f06f 0004 mvn.w r0, #4 80010b4: bd08 pop {r3, pc} @@ -1473,7 +1473,7 @@ Disassembly of section .text: 80010be: 619a str r2, [r3, #24] 80010c0: f24c 32fa movw r2, #50170 ; 0xc3fa 80010c4: 611a str r2, [r3, #16] - 80010c6: f002 fa9f bl 8003608 + 80010c6: f002 f8db bl 8003280 80010ca: 2800 cmp r0, #0 80010cc: d0f2 beq.n 80010b4 80010ce: e7ef b.n 80010b0 @@ -1490,7 +1490,7 @@ Disassembly of section .text: 80010e2: f7ff ffe1 bl 80010a8 80010e6: 4605 mov r5, r0 80010e8: bb70 cbnz r0, 8001148 - 80010ea: f002 fa7b bl 80035e4 + 80010ea: f002 f8b7 bl 800325c 80010ee: bb88 cbnz r0, 8001154 80010f0: 481a ldr r0, [pc, #104] ; (800115c ) 80010f2: 4a1b ldr r2, [pc, #108] ; (8001160 ) @@ -1515,13 +1515,13 @@ Disassembly of section .text: 800112e: 4669 mov r1, sp 8001130: a801 add r0, sp, #4 8001132: 9303 str r3, [sp, #12] - 8001134: f002 fae8 bl 8003708 + 8001134: f002 f924 bl 8003380 8001138: b120 cbz r0, 8001144 800113a: 2802 cmp r0, #2 800113c: bf0c ite eq 800113e: 2501 moveq r5, #1 8001140: f06f 0501 mvnne.w r5, #1 - 8001144: f002 fa60 bl 8003608 + 8001144: f002 f89c bl 8003280 8001148: 4628 mov r0, r5 800114a: b005 add sp, #20 800114c: bdf0 pop {r4, r5, r6, r7, pc} @@ -1566,7 +1566,7 @@ Disassembly of section .text: 80011b4: f7ff ff78 bl 80010a8 80011b8: 4604 mov r4, r0 80011ba: bba0 cbnz r0, 8001226 - 80011bc: f002 fa12 bl 80035e4 + 80011bc: f002 f84e bl 800325c 80011c0: 2800 cmp r0, #0 80011c2: f040 80aa bne.w 800131a 80011c6: f8d8 15e0 ldr.w r1, [r8, #1504] ; 0x5e0 @@ -1600,7 +1600,7 @@ Disassembly of section .text: 800121c: 9b03 ldr r3, [sp, #12] 800121e: 459a cmp sl, r3 8001220: d305 bcc.n 800122e - 8001222: f002 f9f1 bl 8003608 + 8001222: f002 f82d bl 8003280 8001226: 4620 mov r0, r4 8001228: b009 add sp, #36 ; 0x24 800122a: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} @@ -1643,14 +1643,14 @@ Disassembly of section .text: 8001290: d004 beq.n 800129c 8001292: f44f 6200 mov.w r2, #2048 ; 0x800 8001296: 4641 mov r1, r8 - 8001298: f00d fc1a bl 800ead0 + 8001298: f00d fa36 bl 800e708 800129c: f8df 9088 ldr.w r9, [pc, #136] ; 8001328 80012a0: f8d9 3000 ldr.w r3, [r9] 80012a4: f3cb 000a ubfx r0, fp, #0, #11 80012a8: 4639 mov r1, r7 80012aa: 4418 add r0, r3 80012ac: b2aa uxth r2, r5 - 80012ae: f00d fc0f bl 800ead0 + 80012ae: f00d fa2b bl 800e708 80012b2: f44f 6100 mov.w r1, #2048 ; 0x800 80012b6: 4640 mov r0, r8 80012b8: f7ff ff0c bl 80010d4 @@ -1667,7 +1667,7 @@ Disassembly of section .text: 80012d6: 9302 str r3, [sp, #8] 80012d8: 2001 movs r0, #1 80012da: e9d3 2300 ldrd r2, r3, [r3] - 80012de: f002 f9cd bl 800367c + 80012de: f002 f809 bl 80032f4 80012e2: b988 cbnz r0, 8001308 80012e4: 9907 ldr r1, [sp, #28] 80012e6: 9b01 ldr r3, [sp, #4] @@ -1710,7 +1710,7 @@ Disassembly of section .text: 800134a: b140 cbz r0, 800135e 800134c: b139 cbz r1, 800135e 800134e: b292 uxth r2, r2 - 8001350: f00d fbbe bl 800ead0 + 8001350: f00d f9da bl 800e708 8001354: 2000 movs r0, #0 8001356: bd70 pop {r4, r5, r6, pc} 8001358: f04f 30ff mov.w r0, #4294967295 @@ -1758,7 +1758,7 @@ Disassembly of section .text: 80013ba: 2002 movs r0, #2 80013bc: b087 sub sp, #28 80013be: 2400 movs r4, #0 - 80013c0: 4d25 ldr r5, [pc, #148] ; (8001458 ) + 80013c0: 4d19 ldr r5, [pc, #100] ; (8001428 ) 80013c2: e9cd 4404 strd r4, r4, [sp, #16] 80013c6: f7ff ffeb bl 80013a0 80013ca: 2004 movs r0, #4 @@ -1771,22723 +1771,22343 @@ Disassembly of section .text: 80013de: 4628 mov r0, r5 80013e0: e9cd 2301 strd r2, r3, [sp, #4] 80013e4: 9403 str r4, [sp, #12] - 80013e6: f002 f9dd bl 80037a4 + 80013e6: f002 f819 bl 800341c 80013ea: a901 add r1, sp, #4 - 80013ec: 481b ldr r0, [pc, #108] ; (800145c ) - 80013ee: f002 f9d9 bl 80037a4 + 80013ec: 480f ldr r0, [pc, #60] ; (800142c ) + 80013ee: f002 f815 bl 800341c 80013f2: a901 add r1, sp, #4 80013f4: f04f 4090 mov.w r0, #1207959552 ; 0x48000000 - 80013f8: f002 f9d4 bl 80037a4 + 80013f8: f002 f810 bl 800341c 80013fc: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8001400: 4628 mov r0, r5 - 8001402: 6cda ldr r2, [r3, #76] ; 0x4c - 8001404: f022 0201 bic.w r2, r2, #1 - 8001408: 64da str r2, [r3, #76] ; 0x4c - 800140a: 6cda ldr r2, [r3, #76] ; 0x4c - 800140c: f022 0202 bic.w r2, r2, #2 - 8001410: 64da str r2, [r3, #76] ; 0x4c - 8001412: 6cda ldr r2, [r3, #76] ; 0x4c - 8001414: f022 0204 bic.w r2, r2, #4 - 8001418: 64da str r2, [r3, #76] ; 0x4c - 800141a: f44f 413a mov.w r1, #47616 ; 0xba00 + 8001400: f44f 413a mov.w r1, #47616 ; 0xba00 + 8001404: 6cda ldr r2, [r3, #76] ; 0x4c + 8001406: f022 0201 bic.w r2, r2, #1 + 800140a: 64da str r2, [r3, #76] ; 0x4c + 800140c: 6cda ldr r2, [r3, #76] ; 0x4c + 800140e: f022 0202 bic.w r2, r2, #2 + 8001412: 64da str r2, [r3, #76] ; 0x4c + 8001414: 6cda ldr r2, [r3, #76] ; 0x4c + 8001416: f022 0204 bic.w r2, r2, #4 + 800141a: 64da str r2, [r3, #76] ; 0x4c + 800141c: 4628 mov r0, r5 800141e: 4622 mov r2, r4 - 8001420: f002 fae0 bl 80039e4 - 8001424: 4622 mov r2, r4 - 8001426: 4621 mov r1, r4 - 8001428: 2006 movs r0, #6 - 800142a: f001 fe61 bl 80030f0 - 800142e: 2006 movs r0, #6 - 8001430: f001 fe90 bl 8003154 - 8001434: 4622 mov r2, r4 - 8001436: 4621 mov r1, r4 - 8001438: 2007 movs r0, #7 - 800143a: f001 fe59 bl 80030f0 - 800143e: 2007 movs r0, #7 - 8001440: f001 fe88 bl 8003154 - 8001444: 4622 mov r2, r4 - 8001446: 4621 mov r1, r4 - 8001448: 2016 movs r0, #22 - 800144a: f001 fe51 bl 80030f0 - 800144e: 2016 movs r0, #22 - 8001450: f001 fe80 bl 8003154 - 8001454: b007 add sp, #28 - 8001456: bd30 pop {r4, r5, pc} - 8001458: 48000400 .word 0x48000400 - 800145c: 48000800 .word 0x48000800 + 8001420: f002 f91c bl 800365c + 8001424: b007 add sp, #28 + 8001426: bd30 pop {r4, r5, pc} + 8001428: 48000400 .word 0x48000400 + 800142c: 48000800 .word 0x48000800 -08001460 : - 8001460: b500 push {lr} - 8001462: b09b sub sp, #108 ; 0x6c - 8001464: 2248 movs r2, #72 ; 0x48 - 8001466: 2100 movs r1, #0 - 8001468: a808 add r0, sp, #32 - 800146a: f00d ff59 bl 800f320 - 800146e: 2218 movs r2, #24 - 8001470: 2100 movs r1, #0 - 8001472: a802 add r0, sp, #8 - 8001474: f00d ff54 bl 800f320 - 8001478: f002 face bl 8003a18 - 800147c: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8001480: 2001 movs r0, #1 - 8001482: f8d2 3090 ldr.w r3, [r2, #144] ; 0x90 - 8001486: f023 0318 bic.w r3, r3, #24 - 800148a: f8c2 3090 str.w r3, [r2, #144] ; 0x90 - 800148e: f8d2 3400 ldr.w r3, [r2, #1024] ; 0x400 - 8001492: f423 63c0 bic.w r3, r3, #1536 ; 0x600 - 8001496: f443 7300 orr.w r3, r3, #512 ; 0x200 - 800149a: f8c2 3400 str.w r3, [r2, #1024] ; 0x400 - 800149e: f8d2 3400 ldr.w r3, [r2, #1024] ; 0x400 - 80014a2: f403 63c0 and.w r3, r3, #1536 ; 0x600 - 80014a6: 9301 str r3, [sp, #4] - 80014a8: 9b01 ldr r3, [sp, #4] - 80014aa: 2324 movs r3, #36 ; 0x24 - 80014ac: 9308 str r3, [sp, #32] - 80014ae: 2381 movs r3, #129 ; 0x81 - 80014b0: 930b str r3, [sp, #44] ; 0x2c - 80014b2: 2300 movs r3, #0 - 80014b4: e9cd 0310 strd r0, r3, [sp, #64] ; 0x40 - 80014b8: 22b0 movs r2, #176 ; 0xb0 - 80014ba: a808 add r0, sp, #32 - 80014bc: e9cd 2312 strd r2, r3, [sp, #72] ; 0x48 - 80014c0: f002 fc34 bl 8003d2c - 80014c4: b108 cbz r0, 80014ca - 80014c6: b672 cpsid i - 80014c8: e7fe b.n 80014c8 - 80014ca: 234f movs r3, #79 ; 0x4f - 80014cc: e9cd 3002 strd r3, r0, [sp, #8] - 80014d0: e9cd 0004 strd r0, r0, [sp, #16] - 80014d4: e9cd 0006 strd r0, r0, [sp, #24] - 80014d8: 2102 movs r1, #2 - 80014da: a802 add r0, sp, #8 - 80014dc: f002 fec0 bl 8004260 - 80014e0: b108 cbz r0, 80014e6 - 80014e2: b672 cpsid i - 80014e4: e7fe b.n 80014e4 - 80014e6: b01b add sp, #108 ; 0x6c - 80014e8: f85d fb04 ldr.w pc, [sp], #4 +08001430 : + 8001430: b500 push {lr} + 8001432: b09b sub sp, #108 ; 0x6c + 8001434: 2248 movs r2, #72 ; 0x48 + 8001436: 2100 movs r1, #0 + 8001438: a808 add r0, sp, #32 + 800143a: f00d fd8d bl 800ef58 + 800143e: 2218 movs r2, #24 + 8001440: 2100 movs r1, #0 + 8001442: a802 add r0, sp, #8 + 8001444: f00d fd88 bl 800ef58 + 8001448: f002 f922 bl 8003690 + 800144c: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8001450: 2001 movs r0, #1 + 8001452: f8d2 3090 ldr.w r3, [r2, #144] ; 0x90 + 8001456: f023 0318 bic.w r3, r3, #24 + 800145a: f8c2 3090 str.w r3, [r2, #144] ; 0x90 + 800145e: f8d2 3400 ldr.w r3, [r2, #1024] ; 0x400 + 8001462: f423 63c0 bic.w r3, r3, #1536 ; 0x600 + 8001466: f443 7300 orr.w r3, r3, #512 ; 0x200 + 800146a: f8c2 3400 str.w r3, [r2, #1024] ; 0x400 + 800146e: f8d2 3400 ldr.w r3, [r2, #1024] ; 0x400 + 8001472: f403 63c0 and.w r3, r3, #1536 ; 0x600 + 8001476: 9301 str r3, [sp, #4] + 8001478: 9b01 ldr r3, [sp, #4] + 800147a: 2324 movs r3, #36 ; 0x24 + 800147c: 9308 str r3, [sp, #32] + 800147e: 2381 movs r3, #129 ; 0x81 + 8001480: 930b str r3, [sp, #44] ; 0x2c + 8001482: 2300 movs r3, #0 + 8001484: e9cd 0310 strd r0, r3, [sp, #64] ; 0x40 + 8001488: 22b0 movs r2, #176 ; 0xb0 + 800148a: a808 add r0, sp, #32 + 800148c: e9cd 2312 strd r2, r3, [sp, #72] ; 0x48 + 8001490: f002 fa88 bl 80039a4 + 8001494: b108 cbz r0, 800149a + 8001496: b672 cpsid i + 8001498: e7fe b.n 8001498 + 800149a: 234f movs r3, #79 ; 0x4f + 800149c: e9cd 3002 strd r3, r0, [sp, #8] + 80014a0: e9cd 0004 strd r0, r0, [sp, #16] + 80014a4: e9cd 0006 strd r0, r0, [sp, #24] + 80014a8: 2102 movs r1, #2 + 80014aa: a802 add r0, sp, #8 + 80014ac: f002 fd14 bl 8003ed8 + 80014b0: b108 cbz r0, 80014b6 + 80014b2: b672 cpsid i + 80014b4: e7fe b.n 80014b4 + 80014b6: b01b add sp, #108 ; 0x6c + 80014b8: f85d fb04 ldr.w pc, [sp], #4 -080014ec
: - 80014ec: b508 push {r3, lr} - 80014ee: f001 f977 bl 80027e0 - 80014f2: f7ff ffb5 bl 8001460 - 80014f6: f7ff ff5f bl 80013b8 - 80014fa: f000 fc95 bl 8001e28 - 80014fe: f000 fc9a bl 8001e36 - 8001502: e7fc b.n 80014fe +080014bc
: + 80014bc: b508 push {r3, lr} + 80014be: f000 ffcb bl 8002458 + 80014c2: f7ff ffb5 bl 8001430 + 80014c6: f7ff ff77 bl 80013b8 + 80014ca: f000 fc8f bl 8001dec + 80014ce: f000 fc94 bl 8001dfa + 80014d2: e7fc b.n 80014ce -08001504 : - 8001504: b672 cpsid i - 8001506: e7fe b.n 8001506 +080014d4 : + 80014d4: b672 cpsid i + 80014d6: e7fe b.n 80014d6 -08001508 : - 8001508: b500 push {lr} - 800150a: b08d sub sp, #52 ; 0x34 - 800150c: 222c movs r2, #44 ; 0x2c - 800150e: 2100 movs r1, #0 - 8001510: a801 add r0, sp, #4 - 8001512: f00d ff05 bl 800f320 - 8001516: 4817 ldr r0, [pc, #92] ; (8001574 ) - 8001518: 4b17 ldr r3, [pc, #92] ; (8001578 ) - 800151a: 6003 str r3, [r0, #0] - 800151c: 231f movs r3, #31 - 800151e: 6083 str r3, [r0, #8] - 8001520: f04f 4280 mov.w r2, #1073741824 ; 0x40000000 - 8001524: 2300 movs r3, #0 - 8001526: e9c0 3304 strd r3, r3, [r0, #16] - 800152a: e9c0 2307 strd r2, r3, [r0, #28] - 800152e: 6183 str r3, [r0, #24] - 8001530: f44f 7380 mov.w r3, #256 ; 0x100 - 8001534: 6243 str r3, [r0, #36] ; 0x24 - 8001536: f003 f93d bl 80047b4 - 800153a: b108 cbz r0, 8001540 - 800153c: f7ff ffe2 bl 8001504 - 8001540: 480c ldr r0, [pc, #48] ; (8001574 ) - 8001542: f003 fa63 bl 8004a0c - 8001546: b108 cbz r0, 800154c - 8001548: f7ff ffdc bl 8001504 - 800154c: f04f 5300 mov.w r3, #536870912 ; 0x20000000 - 8001550: 2200 movs r2, #0 - 8001552: 9307 str r3, [sp, #28] - 8001554: 4807 ldr r0, [pc, #28] ; (8001574 ) - 8001556: 9208 str r2, [sp, #32] - 8001558: f44f 7380 mov.w r3, #256 ; 0x100 - 800155c: a901 add r1, sp, #4 - 800155e: 9202 str r2, [sp, #8] - 8001560: 9206 str r2, [sp, #24] - 8001562: 930b str r3, [sp, #44] ; 0x2c - 8001564: f003 f986 bl 8004874 - 8001568: b108 cbz r0, 800156e - 800156a: f7ff ffcb bl 8001504 - 800156e: b00d add sp, #52 ; 0x34 - 8001570: f85d fb04 ldr.w pc, [sp], #4 - 8001574: 2000018c .word 0x2000018c - 8001578: 40002800 .word 0x40002800 +080014d8 : + 80014d8: b500 push {lr} + 80014da: b08d sub sp, #52 ; 0x34 + 80014dc: 222c movs r2, #44 ; 0x2c + 80014de: 2100 movs r1, #0 + 80014e0: a801 add r0, sp, #4 + 80014e2: f00d fd39 bl 800ef58 + 80014e6: 4817 ldr r0, [pc, #92] ; (8001544 ) + 80014e8: 4b17 ldr r3, [pc, #92] ; (8001548 ) + 80014ea: 6003 str r3, [r0, #0] + 80014ec: 231f movs r3, #31 + 80014ee: 6083 str r3, [r0, #8] + 80014f0: f04f 4280 mov.w r2, #1073741824 ; 0x40000000 + 80014f4: 2300 movs r3, #0 + 80014f6: e9c0 3304 strd r3, r3, [r0, #16] + 80014fa: e9c0 2307 strd r2, r3, [r0, #28] + 80014fe: 6183 str r3, [r0, #24] + 8001500: f44f 7380 mov.w r3, #256 ; 0x100 + 8001504: 6243 str r3, [r0, #36] ; 0x24 + 8001506: f002 ff91 bl 800442c + 800150a: b108 cbz r0, 8001510 + 800150c: f7ff ffe2 bl 80014d4 + 8001510: 480c ldr r0, [pc, #48] ; (8001544 ) + 8001512: f003 f8b7 bl 8004684 + 8001516: b108 cbz r0, 800151c + 8001518: f7ff ffdc bl 80014d4 + 800151c: f04f 5300 mov.w r3, #536870912 ; 0x20000000 + 8001520: 2200 movs r2, #0 + 8001522: 9307 str r3, [sp, #28] + 8001524: 4807 ldr r0, [pc, #28] ; (8001544 ) + 8001526: 9208 str r2, [sp, #32] + 8001528: f44f 7380 mov.w r3, #256 ; 0x100 + 800152c: a901 add r1, sp, #4 + 800152e: 9202 str r2, [sp, #8] + 8001530: 9206 str r2, [sp, #24] + 8001532: 930b str r3, [sp, #44] ; 0x2c + 8001534: f002 ffda bl 80044ec + 8001538: b108 cbz r0, 800153e + 800153a: f7ff ffcb bl 80014d4 + 800153e: b00d add sp, #52 ; 0x34 + 8001540: f85d fb04 ldr.w pc, [sp], #4 + 8001544: 2000018c .word 0x2000018c + 8001548: 40002800 .word 0x40002800 -0800157c : - 800157c: b510 push {r4, lr} - 800157e: 4604 mov r4, r0 - 8001580: b090 sub sp, #64 ; 0x40 - 8001582: 2238 movs r2, #56 ; 0x38 - 8001584: 2100 movs r1, #0 - 8001586: a802 add r0, sp, #8 - 8001588: f00d feca bl 800f320 - 800158c: 6822 ldr r2, [r4, #0] - 800158e: 4b19 ldr r3, [pc, #100] ; (80015f4 ) - 8001590: 429a cmp r2, r3 - 8001592: d12c bne.n 80015ee - 8001594: f44f 3380 mov.w r3, #65536 ; 0x10000 - 8001598: 9302 str r3, [sp, #8] - 800159a: a802 add r0, sp, #8 - 800159c: f44f 7380 mov.w r3, #256 ; 0x100 - 80015a0: 930f str r3, [sp, #60] ; 0x3c - 80015a2: f002 ff81 bl 80044a8 - 80015a6: b108 cbz r0, 80015ac - 80015a8: f7ff ffac bl 8001504 - 80015ac: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 80015b0: 2002 movs r0, #2 - 80015b2: f8d3 2090 ldr.w r2, [r3, #144] ; 0x90 - 80015b6: f442 4200 orr.w r2, r2, #32768 ; 0x8000 - 80015ba: f8c3 2090 str.w r2, [r3, #144] ; 0x90 - 80015be: 6d9a ldr r2, [r3, #88] ; 0x58 - 80015c0: f442 6280 orr.w r2, r2, #1024 ; 0x400 - 80015c4: 659a str r2, [r3, #88] ; 0x58 - 80015c6: 6d9b ldr r3, [r3, #88] ; 0x58 - 80015c8: 2200 movs r2, #0 - 80015ca: f403 6380 and.w r3, r3, #1024 ; 0x400 - 80015ce: 4611 mov r1, r2 - 80015d0: 9301 str r3, [sp, #4] - 80015d2: 9b01 ldr r3, [sp, #4] - 80015d4: f001 fd8c bl 80030f0 - 80015d8: 2002 movs r0, #2 - 80015da: f001 fdbb bl 8003154 - 80015de: 2200 movs r2, #0 - 80015e0: 202a movs r0, #42 ; 0x2a - 80015e2: 4611 mov r1, r2 - 80015e4: f001 fd84 bl 80030f0 - 80015e8: 202a movs r0, #42 ; 0x2a - 80015ea: f001 fdb3 bl 8003154 - 80015ee: b010 add sp, #64 ; 0x40 - 80015f0: bd10 pop {r4, pc} - 80015f2: bf00 nop - 80015f4: 40002800 .word 0x40002800 +0800154c : + 800154c: b510 push {r4, lr} + 800154e: 4604 mov r4, r0 + 8001550: b090 sub sp, #64 ; 0x40 + 8001552: 2238 movs r2, #56 ; 0x38 + 8001554: 2100 movs r1, #0 + 8001556: a802 add r0, sp, #8 + 8001558: f00d fcfe bl 800ef58 + 800155c: 6822 ldr r2, [r4, #0] + 800155e: 4b19 ldr r3, [pc, #100] ; (80015c4 ) + 8001560: 429a cmp r2, r3 + 8001562: d12c bne.n 80015be + 8001564: f44f 3380 mov.w r3, #65536 ; 0x10000 + 8001568: 9302 str r3, [sp, #8] + 800156a: a802 add r0, sp, #8 + 800156c: f44f 7380 mov.w r3, #256 ; 0x100 + 8001570: 930f str r3, [sp, #60] ; 0x3c + 8001572: f002 fdd5 bl 8004120 + 8001576: b108 cbz r0, 800157c + 8001578: f7ff ffac bl 80014d4 + 800157c: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8001580: 2002 movs r0, #2 + 8001582: f8d3 2090 ldr.w r2, [r3, #144] ; 0x90 + 8001586: f442 4200 orr.w r2, r2, #32768 ; 0x8000 + 800158a: f8c3 2090 str.w r2, [r3, #144] ; 0x90 + 800158e: 6d9a ldr r2, [r3, #88] ; 0x58 + 8001590: f442 6280 orr.w r2, r2, #1024 ; 0x400 + 8001594: 659a str r2, [r3, #88] ; 0x58 + 8001596: 6d9b ldr r3, [r3, #88] ; 0x58 + 8001598: 2200 movs r2, #0 + 800159a: f403 6380 and.w r3, r3, #1024 ; 0x400 + 800159e: 4611 mov r1, r2 + 80015a0: 9301 str r3, [sp, #4] + 80015a2: 9b01 ldr r3, [sp, #4] + 80015a4: f001 fbe0 bl 8002d68 + 80015a8: 2002 movs r0, #2 + 80015aa: f001 fc0f bl 8002dcc + 80015ae: 2200 movs r2, #0 + 80015b0: 202a movs r0, #42 ; 0x2a + 80015b2: 4611 mov r1, r2 + 80015b4: f001 fbd8 bl 8002d68 + 80015b8: 202a movs r0, #42 ; 0x2a + 80015ba: f001 fc07 bl 8002dcc + 80015be: b010 add sp, #64 ; 0x40 + 80015c0: bd10 pop {r4, pc} + 80015c2: bf00 nop + 80015c4: 40002800 .word 0x40002800 -080015f8 : - 80015f8: b508 push {r3, lr} - 80015fa: f001 f907 bl 800280c - 80015fe: 4b03 ldr r3, [pc, #12] ; (800160c ) - 8001600: 2207 movs r2, #7 - 8001602: 619a str r2, [r3, #24] - 8001604: e8bd 4008 ldmia.w sp!, {r3, lr} - 8001608: f002 ba2e b.w 8003a68 - 800160c: 58000400 .word 0x58000400 +080015c8 : + 80015c8: b508 push {r3, lr} + 80015ca: f000 ff5b bl 8002484 + 80015ce: 4b03 ldr r3, [pc, #12] ; (80015dc ) + 80015d0: 2207 movs r2, #7 + 80015d2: 619a str r2, [r3, #24] + 80015d4: e8bd 4008 ldmia.w sp!, {r3, lr} + 80015d8: f002 b882 b.w 80036e0 + 80015dc: 58000400 .word 0x58000400 -08001610 : - 8001610: f001 b903 b.w 800281a +080015e0 : + 80015e0: f000 bf57 b.w 8002492 -08001614 : - 8001614: b508 push {r3, lr} - 8001616: f001 f8f9 bl 800280c - 800161a: 4b04 ldr r3, [pc, #16] ; (800162c ) - 800161c: 2001 movs r0, #1 - 800161e: f8c3 0088 str.w r0, [r3, #136] ; 0x88 - 8001622: e8bd 4008 ldmia.w sp!, {r3, lr} - 8001626: f002 ba61 b.w 8003aec - 800162a: bf00 nop - 800162c: 58000400 .word 0x58000400 +080015e4 : + 80015e4: b508 push {r3, lr} + 80015e6: f000 ff4d bl 8002484 + 80015ea: 4b04 ldr r3, [pc, #16] ; (80015fc ) + 80015ec: 2001 movs r0, #1 + 80015ee: f8c3 0088 str.w r0, [r3, #136] ; 0x88 + 80015f2: e8bd 4008 ldmia.w sp!, {r3, lr} + 80015f6: f002 b8b5 b.w 8003764 + 80015fa: bf00 nop + 80015fc: 58000400 .word 0x58000400 -08001630 : - 8001630: b508 push {r3, lr} - 8001632: f001 f8f2 bl 800281a - 8001636: e8bd 4008 ldmia.w sp!, {r3, lr} - 800163a: f000 bbb5 b.w 8001da8 +08001600 : + 8001600: b508 push {r3, lr} + 8001602: f000 ff46 bl 8002492 + 8001606: e8bd 4008 ldmia.w sp!, {r3, lr} + 800160a: f000 bbaf b.w 8001d6c -0800163e : - 800163e: b508 push {r3, lr} - 8001640: f001 f8e4 bl 800280c - 8001644: e8bd 4008 ldmia.w sp!, {r3, lr} - 8001648: 2101 movs r1, #1 - 800164a: 2000 movs r0, #0 - 800164c: f002 b9ec b.w 8003a28 +0800160e : + 800160e: b508 push {r3, lr} + 8001610: f000 ff38 bl 8002484 + 8001614: e8bd 4008 ldmia.w sp!, {r3, lr} + 8001618: 2101 movs r1, #1 + 800161a: 2000 movs r0, #0 + 800161c: f002 b840 b.w 80036a0 -08001650 : - 8001650: f001 b8e3 b.w 800281a +08001620 : + 8001620: f000 bf37 b.w 8002492 -08001654 : - 8001654: 4770 bx lr +08001624 : + 8001624: 4770 bx lr -08001656 : - 8001656: e7fe b.n 8001656 +08001626 : + 8001626: e7fe b.n 8001626 -08001658 : - 8001658: e7fe b.n 8001658 +08001628 : + 8001628: e7fe b.n 8001628 -0800165a : - 800165a: e7fe b.n 800165a +0800162a : + 800162a: e7fe b.n 800162a -0800165c : - 800165c: e7fe b.n 800165c +0800162c : + 800162c: e7fe b.n 800162c -0800165e : - 800165e: e7fe b.n 800165e +0800162e : + 800162e: e7fe b.n 800162e -08001660 : - 8001660: 4770 bx lr +08001630 : + 8001630: 4770 bx lr -08001662 : - 8001662: 4770 bx lr +08001632 : + 8001632: 4770 bx lr -08001664 : - 8001664: 4770 bx lr +08001634 : + 8001634: 4770 bx lr -08001666 : - 8001666: 4770 bx lr +08001636 : + 8001636: 4770 bx lr -08001668 : - 8001668: 4801 ldr r0, [pc, #4] ; (8001670 ) - 800166a: f003 b9f5 b.w 8004a58 - 800166e: bf00 nop - 8001670: 2000018c .word 0x2000018c +08001638 : + 8001638: 4801 ldr r0, [pc, #4] ; (8001640 ) + 800163a: f003 b849 b.w 80046d0 + 800163e: bf00 nop + 8001640: 2000018c .word 0x2000018c -08001674 : - 8001674: 2001 movs r0, #1 - 8001676: f002 b9c3 b.w 8003a00 +08001644 : + 8001644: 2001 movs r0, #1 + 8001646: f002 b817 b.w 8003678 -0800167a : - 800167a: 2002 movs r0, #2 - 800167c: f002 b9c0 b.w 8003a00 +0800164a : + 800164a: 2002 movs r0, #2 + 800164c: f002 b814 b.w 8003678 -08001680 : - 8001680: 4801 ldr r0, [pc, #4] ; (8001688 ) - 8001682: f001 bf41 b.w 8003508 - 8001686: bf00 nop - 8001688: 200001d8 .word 0x200001d8 +08001650 : + 8001650: 4801 ldr r0, [pc, #4] ; (8001658 ) + 8001652: f001 bd95 b.w 8003180 + 8001656: bf00 nop + 8001658: 200001d8 .word 0x200001d8 -0800168c : - 800168c: 2040 movs r0, #64 ; 0x40 - 800168e: f002 b9b7 b.w 8003a00 +0800165c : + 800165c: 2040 movs r0, #64 ; 0x40 + 800165e: f002 b80b b.w 8003678 ... -08001694 : - 8001694: 4801 ldr r0, [pc, #4] ; (800169c ) - 8001696: f003 bda3 b.w 80051e0 - 800169a: bf00 nop - 800169c: 20000238 .word 0x20000238 +08001664 : + 8001664: 4801 ldr r0, [pc, #4] ; (800166c ) + 8001666: f003 bbf7 b.w 8004e58 + 800166a: bf00 nop + 800166c: 20000238 .word 0x20000238 -080016a0 : - 80016a0: 4801 ldr r0, [pc, #4] ; (80016a8 ) - 80016a2: f003 b80b b.w 80046bc - 80016a6: bf00 nop - 80016a8: 2000018c .word 0x2000018c +08001670 : + 8001670: 4801 ldr r0, [pc, #4] ; (8001678 ) + 8001672: f002 be5f b.w 8004334 + 8001676: bf00 nop + 8001678: 2000018c .word 0x2000018c -080016ac : - 80016ac: 4801 ldr r0, [pc, #4] ; (80016b4 ) - 80016ae: f003 bbfe b.w 8004eae - 80016b2: bf00 nop - 80016b4: 200001c4 .word 0x200001c4 +0800167c : + 800167c: 4801 ldr r0, [pc, #4] ; (8001684 ) + 800167e: f003 ba52 b.w 8004b26 + 8001682: bf00 nop + 8001684: 200001c4 .word 0x200001c4 -080016b8 : - 80016b8: 4805 ldr r0, [pc, #20] ; (80016d0 ) - 80016ba: b508 push {r3, lr} - 80016bc: 2308 movs r3, #8 - 80016be: 6003 str r3, [r0, #0] - 80016c0: f003 fa10 bl 8004ae4 - 80016c4: b118 cbz r0, 80016ce - 80016c6: e8bd 4008 ldmia.w sp!, {r3, lr} - 80016ca: f7ff bf1b b.w 8001504 - 80016ce: bd08 pop {r3, pc} - 80016d0: 200001c4 .word 0x200001c4 +08001688 : + 8001688: 4805 ldr r0, [pc, #20] ; (80016a0 ) + 800168a: b508 push {r3, lr} + 800168c: 2308 movs r3, #8 + 800168e: 6003 str r3, [r0, #0] + 8001690: f003 f864 bl 800475c + 8001694: b118 cbz r0, 800169e + 8001696: e8bd 4008 ldmia.w sp!, {r3, lr} + 800169a: f7ff bf1b b.w 80014d4 + 800169e: bd08 pop {r3, pc} + 80016a0: 200001c4 .word 0x200001c4 -080016d4 : - 80016d4: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 80016d8: b507 push {r0, r1, r2, lr} - 80016da: 6e5a ldr r2, [r3, #100] ; 0x64 - 80016dc: f042 0201 orr.w r2, r2, #1 - 80016e0: 665a str r2, [r3, #100] ; 0x64 - 80016e2: 6e5b ldr r3, [r3, #100] ; 0x64 - 80016e4: 2200 movs r2, #0 - 80016e6: f003 0301 and.w r3, r3, #1 - 80016ea: 9301 str r3, [sp, #4] - 80016ec: 4611 mov r1, r2 - 80016ee: 2032 movs r0, #50 ; 0x32 - 80016f0: 9b01 ldr r3, [sp, #4] - 80016f2: f001 fcfd bl 80030f0 - 80016f6: 2032 movs r0, #50 ; 0x32 - 80016f8: b003 add sp, #12 - 80016fa: f85d eb04 ldr.w lr, [sp], #4 - 80016fe: f001 bd29 b.w 8003154 +080016a4 : + 80016a4: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 80016a8: b507 push {r0, r1, r2, lr} + 80016aa: 6e5a ldr r2, [r3, #100] ; 0x64 + 80016ac: f042 0201 orr.w r2, r2, #1 + 80016b0: 665a str r2, [r3, #100] ; 0x64 + 80016b2: 6e5b ldr r3, [r3, #100] ; 0x64 + 80016b4: 2200 movs r2, #0 + 80016b6: f003 0301 and.w r3, r3, #1 + 80016ba: 9301 str r3, [sp, #4] + 80016bc: 4611 mov r1, r2 + 80016be: 2032 movs r0, #50 ; 0x32 + 80016c0: 9b01 ldr r3, [sp, #4] + 80016c2: f001 fb51 bl 8002d68 + 80016c6: 2032 movs r0, #50 ; 0x32 + 80016c8: b003 add sp, #12 + 80016ca: f85d eb04 ldr.w lr, [sp], #4 + 80016ce: f001 bb7d b.w 8002dcc ... -08001704 : - 8001704: b40c push {r2, r3} - 8001706: b507 push {r0, r1, r2, lr} - 8001708: 4a05 ldr r2, [pc, #20] ; (8001720 ) - 800170a: ab05 add r3, sp, #20 - 800170c: 2110 movs r1, #16 - 800170e: 9301 str r3, [sp, #4] - 8001710: f00d fce8 bl 800f0e4 - 8001714: b003 add sp, #12 - 8001716: f85d eb04 ldr.w lr, [sp], #4 - 800171a: b002 add sp, #8 - 800171c: 4770 bx lr - 800171e: bf00 nop - 8001720: 0800f51c .word 0x0800f51c +080016d4 : + 80016d4: b40c push {r2, r3} + 80016d6: b507 push {r0, r1, r2, lr} + 80016d8: 4a05 ldr r2, [pc, #20] ; (80016f0 ) + 80016da: ab05 add r3, sp, #20 + 80016dc: 2110 movs r1, #16 + 80016de: 9301 str r3, [sp, #4] + 80016e0: f00d fb1c bl 800ed1c + 80016e4: b003 add sp, #12 + 80016e6: f85d eb04 ldr.w lr, [sp], #4 + 80016ea: b002 add sp, #8 + 80016ec: 4770 bx lr + 80016ee: bf00 nop + 80016f0: 0800f154 .word 0x0800f154 -08001724 : - 8001724: b530 push {r4, r5, lr} - 8001726: b085 sub sp, #20 - 8001728: 4604 mov r4, r0 - 800172a: a802 add r0, sp, #8 - 800172c: 460d mov r5, r1 - 800172e: f00d fb05 bl 800ed3c - 8001732: f9bd 300c ldrsh.w r3, [sp, #12] - 8001736: 4a06 ldr r2, [pc, #24] ; (8001750 ) - 8001738: 9300 str r3, [sp, #0] - 800173a: 2110 movs r1, #16 - 800173c: 9b02 ldr r3, [sp, #8] - 800173e: 4620 mov r0, r4 - 8001740: f7ff ffe0 bl 8001704 - 8001744: 4620 mov r0, r4 - 8001746: f7fe fd17 bl 8000178 - 800174a: 8028 strh r0, [r5, #0] - 800174c: b005 add sp, #20 - 800174e: bd30 pop {r4, r5, pc} - 8001750: 0800f51c .word 0x0800f51c +080016f4 : + 80016f4: b530 push {r4, r5, lr} + 80016f6: b085 sub sp, #20 + 80016f8: 4604 mov r4, r0 + 80016fa: a802 add r0, sp, #8 + 80016fc: 460d mov r5, r1 + 80016fe: f00d f939 bl 800e974 + 8001702: f9bd 300c ldrsh.w r3, [sp, #12] + 8001706: 4a06 ldr r2, [pc, #24] ; (8001720 ) + 8001708: 9300 str r3, [sp, #0] + 800170a: 2110 movs r1, #16 + 800170c: 9b02 ldr r3, [sp, #8] + 800170e: 4620 mov r0, r4 + 8001710: f7ff ffe0 bl 80016d4 + 8001714: 4620 mov r0, r4 + 8001716: f7fe fd2f bl 8000178 + 800171a: 8028 strh r0, [r5, #0] + 800171c: b005 add sp, #20 + 800171e: bd30 pop {r4, r5, pc} + 8001720: 0800f154 .word 0x0800f154 -08001754 : - 8001754: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8001758: b510 push {r4, lr} - 800175a: 6893 ldr r3, [r2, #8] - 800175c: f423 4300 bic.w r3, r3, #32768 ; 0x8000 - 8001760: 6093 str r3, [r2, #8] - 8001762: f00d fb73 bl 800ee4c - 8001766: 4b0e ldr r3, [pc, #56] ; (80017a0 ) - 8001768: 2401 movs r4, #1 - 800176a: 701c strb r4, [r3, #0] - 800176c: f000 f8a8 bl 80018c0 - 8001770: f00d f83c bl 800e7ec - 8001774: 480b ldr r0, [pc, #44] ; (80017a4 ) - 8001776: f00d f853 bl 800e820 - 800177a: 4b0b ldr r3, [pc, #44] ; (80017a8 ) - 800177c: f44f 4200 mov.w r2, #32768 ; 0x8000 - 8001780: 611a str r2, [r3, #16] - 8001782: 2002 movs r0, #2 - 8001784: f00d f852 bl 800e82c - 8001788: f7ff fc0e bl 8000fa8 - 800178c: f000 f8f4 bl 8001978 - 8001790: f00d f948 bl 800ea24 - 8001794: 4621 mov r1, r4 - 8001796: 4620 mov r0, r4 - 8001798: e8bd 4010 ldmia.w sp!, {r4, lr} - 800179c: f00d b962 b.w 800ea64 - 80017a0: 200001d0 .word 0x200001d0 - 80017a4: 08001725 .word 0x08001725 - 80017a8: 58004000 .word 0x58004000 +08001724 : + 8001724: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8001728: b510 push {r4, lr} + 800172a: 6893 ldr r3, [r2, #8] + 800172c: f423 4300 bic.w r3, r3, #32768 ; 0x8000 + 8001730: 6093 str r3, [r2, #8] + 8001732: f00d f9a7 bl 800ea84 + 8001736: 4b0e ldr r3, [pc, #56] ; (8001770 ) + 8001738: 2401 movs r4, #1 + 800173a: 701c strb r4, [r3, #0] + 800173c: f000 f8a8 bl 8001890 + 8001740: f00c fe70 bl 800e424 + 8001744: 480b ldr r0, [pc, #44] ; (8001774 ) + 8001746: f00c fe87 bl 800e458 + 800174a: 4b0b ldr r3, [pc, #44] ; (8001778 ) + 800174c: f44f 4200 mov.w r2, #32768 ; 0x8000 + 8001750: 611a str r2, [r3, #16] + 8001752: 2000 movs r0, #0 + 8001754: f00c fe86 bl 800e464 + 8001758: f7ff fc26 bl 8000fa8 + 800175c: f000 f8f4 bl 8001948 + 8001760: f00c ff7c bl 800e65c + 8001764: 4621 mov r1, r4 + 8001766: 4620 mov r0, r4 + 8001768: e8bd 4010 ldmia.w sp!, {r4, lr} + 800176c: f00c bf96 b.w 800e69c + 8001770: 200001d0 .word 0x200001d0 + 8001774: 080016f5 .word 0x080016f5 + 8001778: 58004000 .word 0x58004000 -080017ac : - 80017ac: f00d b970 b.w 800ea90 +0800177c : + 800177c: f00c bfa4 b.w 800e6c8 -080017b0 : - 80017b0: b508 push {r3, lr} - 80017b2: f7ff fc01 bl 8000fb8 - 80017b6: f640 33b8 movw r3, #3000 ; 0xbb8 - 80017ba: 4298 cmp r0, r3 - 80017bc: d80c bhi.n 80017d8 - 80017be: f5b0 6fe1 cmp.w r0, #1800 ; 0x708 - 80017c2: d30b bcc.n 80017dc - 80017c4: 23fe movs r3, #254 ; 0xfe - 80017c6: f5a0 60e1 sub.w r0, r0, #1800 ; 0x708 - 80017ca: 4358 muls r0, r3 - 80017cc: f44f 6396 mov.w r3, #1200 ; 0x4b0 - 80017d0: fbb0 f0f3 udiv r0, r0, r3 - 80017d4: b2c0 uxtb r0, r0 - 80017d6: bd08 pop {r3, pc} - 80017d8: 20fe movs r0, #254 ; 0xfe - 80017da: e7fc b.n 80017d6 - 80017dc: 2000 movs r0, #0 - 80017de: e7fa b.n 80017d6 +08001780 : + 8001780: b508 push {r3, lr} + 8001782: f7ff fc19 bl 8000fb8 + 8001786: f640 33b8 movw r3, #3000 ; 0xbb8 + 800178a: 4298 cmp r0, r3 + 800178c: d80c bhi.n 80017a8 + 800178e: f5b0 6fe1 cmp.w r0, #1800 ; 0x708 + 8001792: d30b bcc.n 80017ac + 8001794: 23fe movs r3, #254 ; 0xfe + 8001796: f5a0 60e1 sub.w r0, r0, #1800 ; 0x708 + 800179a: 4358 muls r0, r3 + 800179c: f44f 6396 mov.w r3, #1200 ; 0x4b0 + 80017a0: fbb0 f0f3 udiv r0, r0, r3 + 80017a4: b2c0 uxtb r0, r0 + 80017a6: bd08 pop {r3, pc} + 80017a8: 20fe movs r0, #254 ; 0xfe + 80017aa: e7fc b.n 80017a6 + 80017ac: 2000 movs r0, #0 + 80017ae: e7fa b.n 80017a6 -080017e0 : - 80017e0: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} - 80017e2: 4668 mov r0, sp - 80017e4: f000 f8ac bl 8001940 - 80017e8: 9801 ldr r0, [sp, #4] - 80017ea: f7ff f997 bl 8000b1c <__aeabi_f2iz> - 80017ee: b200 sxth r0, r0 - 80017f0: b007 add sp, #28 - 80017f2: f85d fb04 ldr.w pc, [sp], #4 +080017b0 : + 80017b0: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} + 80017b2: 4668 mov r0, sp + 80017b4: f000 f8ac bl 8001910 + 80017b8: 9801 ldr r0, [sp, #4] + 80017ba: f7ff f9af bl 8000b1c <__aeabi_f2iz> + 80017be: b200 sxth r0, r0 + 80017c0: b007 add sp, #28 + 80017c2: f85d fb04 ldr.w pc, [sp], #4 ... -080017f8 : - 80017f8: 4a19 ldr r2, [pc, #100] ; (8001860 ) - 80017fa: b538 push {r3, r4, r5, lr} - 80017fc: f8d2 3580 ldr.w r3, [r2, #1408] ; 0x580 - 8001800: 1c59 adds r1, r3, #1 - 8001802: 4604 mov r4, r0 - 8001804: d119 bne.n 800183a - 8001806: f001 f80f bl 8002828 - 800180a: 4605 mov r5, r0 - 800180c: f001 f818 bl 8002840 - 8001810: 4405 add r5, r0 - 8001812: f001 f80f bl 8002834 - 8001816: 0e2b lsrs r3, r5, #24 - 8001818: 71e3 strb r3, [r4, #7] - 800181a: 0c2b lsrs r3, r5, #16 - 800181c: 71a3 strb r3, [r4, #6] - 800181e: 0a2b lsrs r3, r5, #8 - 8001820: 7163 strb r3, [r4, #5] - 8001822: 0e03 lsrs r3, r0, #24 - 8001824: 70e3 strb r3, [r4, #3] - 8001826: f3c0 4207 ubfx r2, r0, #16, #8 - 800182a: f3c0 2307 ubfx r3, r0, #8, #8 - 800182e: 7125 strb r5, [r4, #4] - 8001830: b2c0 uxtb r0, r0 - 8001832: 70a2 strb r2, [r4, #2] - 8001834: 7063 strb r3, [r4, #1] - 8001836: 7020 strb r0, [r4, #0] - 8001838: bd38 pop {r3, r4, r5, pc} - 800183a: 0a19 lsrs r1, r3, #8 - 800183c: 71c3 strb r3, [r0, #7] - 800183e: 7181 strb r1, [r0, #6] - 8001840: 0c19 lsrs r1, r3, #16 - 8001842: 0e1b lsrs r3, r3, #24 - 8001844: 7141 strb r1, [r0, #5] - 8001846: 7103 strb r3, [r0, #4] - 8001848: f8d2 3584 ldr.w r3, [r2, #1412] ; 0x584 - 800184c: 70c3 strb r3, [r0, #3] - 800184e: f8d2 0584 ldr.w r0, [r2, #1412] ; 0x584 - 8001852: f3c0 2207 ubfx r2, r0, #8, #8 - 8001856: f3c0 4307 ubfx r3, r0, #16, #8 - 800185a: 0e00 lsrs r0, r0, #24 - 800185c: e7e9 b.n 8001832 - 800185e: bf00 nop - 8001860: 1fff7000 .word 0x1fff7000 +080017c8 : + 80017c8: 4a19 ldr r2, [pc, #100] ; (8001830 ) + 80017ca: b538 push {r3, r4, r5, lr} + 80017cc: f8d2 3580 ldr.w r3, [r2, #1408] ; 0x580 + 80017d0: 1c59 adds r1, r3, #1 + 80017d2: 4604 mov r4, r0 + 80017d4: d119 bne.n 800180a + 80017d6: f000 fe63 bl 80024a0 + 80017da: 4605 mov r5, r0 + 80017dc: f000 fe6c bl 80024b8 + 80017e0: 4405 add r5, r0 + 80017e2: f000 fe63 bl 80024ac + 80017e6: 0e2b lsrs r3, r5, #24 + 80017e8: 71e3 strb r3, [r4, #7] + 80017ea: 0c2b lsrs r3, r5, #16 + 80017ec: 71a3 strb r3, [r4, #6] + 80017ee: 0a2b lsrs r3, r5, #8 + 80017f0: 7163 strb r3, [r4, #5] + 80017f2: 0e03 lsrs r3, r0, #24 + 80017f4: 70e3 strb r3, [r4, #3] + 80017f6: f3c0 4207 ubfx r2, r0, #16, #8 + 80017fa: f3c0 2307 ubfx r3, r0, #8, #8 + 80017fe: 7125 strb r5, [r4, #4] + 8001800: b2c0 uxtb r0, r0 + 8001802: 70a2 strb r2, [r4, #2] + 8001804: 7063 strb r3, [r4, #1] + 8001806: 7020 strb r0, [r4, #0] + 8001808: bd38 pop {r3, r4, r5, pc} + 800180a: 0a19 lsrs r1, r3, #8 + 800180c: 71c3 strb r3, [r0, #7] + 800180e: 7181 strb r1, [r0, #6] + 8001810: 0c19 lsrs r1, r3, #16 + 8001812: 0e1b lsrs r3, r3, #24 + 8001814: 7141 strb r1, [r0, #5] + 8001816: 7103 strb r3, [r0, #4] + 8001818: f8d2 3584 ldr.w r3, [r2, #1412] ; 0x584 + 800181c: 70c3 strb r3, [r0, #3] + 800181e: f8d2 0584 ldr.w r0, [r2, #1412] ; 0x584 + 8001822: f3c0 2207 ubfx r2, r0, #8, #8 + 8001826: f3c0 4307 ubfx r3, r0, #16, #8 + 800182a: 0e00 lsrs r0, r0, #24 + 800182c: e7e9 b.n 8001802 + 800182e: bf00 nop + 8001830: 1fff7000 .word 0x1fff7000 -08001864 : - 8001864: b538 push {r3, r4, r5, lr} - 8001866: 4b09 ldr r3, [pc, #36] ; (800188c ) - 8001868: f8d3 3580 ldr.w r3, [r3, #1408] ; 0x580 - 800186c: 6003 str r3, [r0, #0] - 800186e: 3301 adds r3, #1 - 8001870: 4605 mov r5, r0 - 8001872: d109 bne.n 8001888 - 8001874: f000 ffd8 bl 8002828 - 8001878: 4604 mov r4, r0 - 800187a: f000 ffdb bl 8002834 - 800187e: 4044 eors r4, r0 - 8001880: f000 ffde bl 8002840 - 8001884: 4044 eors r4, r0 - 8001886: 602c str r4, [r5, #0] - 8001888: bd38 pop {r3, r4, r5, pc} - 800188a: bf00 nop - 800188c: 1fff7000 .word 0x1fff7000 +08001834 : + 8001834: b538 push {r3, r4, r5, lr} + 8001836: 4b09 ldr r3, [pc, #36] ; (800185c ) + 8001838: f8d3 3580 ldr.w r3, [r3, #1408] ; 0x580 + 800183c: 6003 str r3, [r0, #0] + 800183e: 3301 adds r3, #1 + 8001840: 4605 mov r5, r0 + 8001842: d109 bne.n 8001858 + 8001844: f000 fe2c bl 80024a0 + 8001848: 4604 mov r4, r0 + 800184a: f000 fe2f bl 80024ac + 800184e: 4044 eors r4, r0 + 8001850: f000 fe32 bl 80024b8 + 8001854: 4044 eors r4, r0 + 8001856: 602c str r4, [r5, #0] + 8001858: bd38 pop {r3, r4, r5, pc} + 800185a: bf00 nop + 800185c: 1fff7000 .word 0x1fff7000 -08001890 : - 8001890: 2101 movs r1, #1 - 8001892: 2002 movs r0, #2 - 8001894: f00d b8d0 b.w 800ea38 +08001860 : + 8001860: 2101 movs r1, #1 + 8001862: 2002 movs r0, #2 + 8001864: f00c bf04 b.w 800e670 -08001898 : - 8001898: 2100 movs r1, #0 - 800189a: 2002 movs r0, #2 - 800189c: f00d b8cc b.w 800ea38 +08001868 : + 8001868: 2100 movs r1, #0 + 800186a: 2002 movs r0, #2 + 800186c: f00c bf00 b.w 800e670 -080018a0 : - 80018a0: 2000 movs r0, #0 - 80018a2: 4770 bx lr +08001870 : + 8001870: 2000 movs r0, #0 + 8001872: 4770 bx lr -080018a4 : - 80018a4: 4b02 ldr r3, [pc, #8] ; (80018b0 ) - 80018a6: 7818 ldrb r0, [r3, #0] - 80018a8: b108 cbz r0, 80018ae - 80018aa: f000 b89d b.w 80019e8 - 80018ae: 4770 bx lr - 80018b0: 200001d0 .word 0x200001d0 +08001874 : + 8001874: 4b02 ldr r3, [pc, #8] ; (8001880 ) + 8001876: 7818 ldrb r0, [r3, #0] + 8001878: b108 cbz r0, 800187e + 800187a: f000 b89d b.w 80019b8 + 800187e: 4770 bx lr + 8001880: 200001d0 .word 0x200001d0 -080018b4 : - 80018b4: b082 sub sp, #8 - 80018b6: 9001 str r0, [sp, #4] - 80018b8: 9801 ldr r0, [sp, #4] - 80018ba: b002 add sp, #8 - 80018bc: f000 b930 b.w 8001b20 +08001884 : + 8001884: b082 sub sp, #8 + 8001886: 9001 str r0, [sp, #4] + 8001888: 9801 ldr r0, [sp, #4] + 800188a: b002 add sp, #8 + 800188c: f000 b930 b.w 8001af0 -080018c0 : - 80018c0: b5f0 push {r4, r5, r6, r7, lr} - 80018c2: b089 sub sp, #36 ; 0x24 - 80018c4: f000 ffc2 bl 800284c - 80018c8: f000 ffc8 bl 800285c - 80018cc: f000 ffce bl 800286c - 80018d0: 2301 movs r3, #1 - 80018d2: 9304 str r3, [sp, #16] - 80018d4: 2303 movs r3, #3 - 80018d6: 9306 str r3, [sp, #24] - 80018d8: 2500 movs r5, #0 - 80018da: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 80018de: 9505 str r5, [sp, #20] - 80018e0: 9507 str r5, [sp, #28] - 80018e2: 6cda ldr r2, [r3, #76] ; 0x4c - 80018e4: 4c15 ldr r4, [pc, #84] ; (800193c ) - 80018e6: f042 0202 orr.w r2, r2, #2 - 80018ea: 64da str r2, [r3, #76] ; 0x4c - 80018ec: 6cda ldr r2, [r3, #76] ; 0x4c - 80018ee: f002 0202 and.w r2, r2, #2 - 80018f2: 9202 str r2, [sp, #8] - 80018f4: 9a02 ldr r2, [sp, #8] - 80018f6: 6cda ldr r2, [r3, #76] ; 0x4c - 80018f8: f042 0202 orr.w r2, r2, #2 - 80018fc: 64da str r2, [r3, #76] ; 0x4c - 80018fe: 6cdb ldr r3, [r3, #76] ; 0x4c - 8001900: f003 0302 and.w r3, r3, #2 - 8001904: 9301 str r3, [sp, #4] - 8001906: f44f 5780 mov.w r7, #4096 ; 0x1000 - 800190a: a903 add r1, sp, #12 - 800190c: 4620 mov r0, r4 - 800190e: 9b01 ldr r3, [sp, #4] - 8001910: 9703 str r7, [sp, #12] - 8001912: f44f 5600 mov.w r6, #8192 ; 0x2000 - 8001916: f001 ff45 bl 80037a4 - 800191a: a903 add r1, sp, #12 - 800191c: 4620 mov r0, r4 - 800191e: 9603 str r6, [sp, #12] - 8001920: f001 ff40 bl 80037a4 - 8001924: 462a mov r2, r5 - 8001926: 4639 mov r1, r7 - 8001928: 4620 mov r0, r4 - 800192a: f002 f85b bl 80039e4 - 800192e: 462a mov r2, r5 - 8001930: 4631 mov r1, r6 - 8001932: 4620 mov r0, r4 - 8001934: f002 f856 bl 80039e4 - 8001938: b009 add sp, #36 ; 0x24 - 800193a: bdf0 pop {r4, r5, r6, r7, pc} - 800193c: 48000400 .word 0x48000400 +08001890 : + 8001890: b5f0 push {r4, r5, r6, r7, lr} + 8001892: b089 sub sp, #36 ; 0x24 + 8001894: f000 fe16 bl 80024c4 + 8001898: f000 fe1c bl 80024d4 + 800189c: f000 fe22 bl 80024e4 + 80018a0: 2301 movs r3, #1 + 80018a2: 9304 str r3, [sp, #16] + 80018a4: 2303 movs r3, #3 + 80018a6: 9306 str r3, [sp, #24] + 80018a8: 2500 movs r5, #0 + 80018aa: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 80018ae: 9505 str r5, [sp, #20] + 80018b0: 9507 str r5, [sp, #28] + 80018b2: 6cda ldr r2, [r3, #76] ; 0x4c + 80018b4: 4c15 ldr r4, [pc, #84] ; (800190c ) + 80018b6: f042 0202 orr.w r2, r2, #2 + 80018ba: 64da str r2, [r3, #76] ; 0x4c + 80018bc: 6cda ldr r2, [r3, #76] ; 0x4c + 80018be: f002 0202 and.w r2, r2, #2 + 80018c2: 9202 str r2, [sp, #8] + 80018c4: 9a02 ldr r2, [sp, #8] + 80018c6: 6cda ldr r2, [r3, #76] ; 0x4c + 80018c8: f042 0202 orr.w r2, r2, #2 + 80018cc: 64da str r2, [r3, #76] ; 0x4c + 80018ce: 6cdb ldr r3, [r3, #76] ; 0x4c + 80018d0: f003 0302 and.w r3, r3, #2 + 80018d4: 9301 str r3, [sp, #4] + 80018d6: f44f 5780 mov.w r7, #4096 ; 0x1000 + 80018da: a903 add r1, sp, #12 + 80018dc: 4620 mov r0, r4 + 80018de: 9b01 ldr r3, [sp, #4] + 80018e0: 9703 str r7, [sp, #12] + 80018e2: f44f 5600 mov.w r6, #8192 ; 0x2000 + 80018e6: f001 fd99 bl 800341c + 80018ea: a903 add r1, sp, #12 + 80018ec: 4620 mov r0, r4 + 80018ee: 9603 str r6, [sp, #12] + 80018f0: f001 fd94 bl 800341c + 80018f4: 462a mov r2, r5 + 80018f6: 4639 mov r1, r7 + 80018f8: 4620 mov r0, r4 + 80018fa: f001 feaf bl 800365c + 80018fe: 462a mov r2, r5 + 8001900: 4631 mov r1, r6 + 8001902: 4620 mov r0, r4 + 8001904: f001 feaa bl 800365c + 8001908: b009 add sp, #36 ; 0x24 + 800190a: bdf0 pop {r4, r5, r6, r7, pc} + 800190c: 48000400 .word 0x48000400 -08001940 : - 8001940: b510 push {r4, lr} - 8001942: 4604 mov r4, r0 - 8001944: f7ff fb52 bl 8000fec - 8001948: 4b07 ldr r3, [pc, #28] ; (8001968 ) - 800194a: 60a3 str r3, [r4, #8] - 800194c: f340 200f sbfx r0, r0, #8, #16 - 8001950: f7fe ff40 bl 80007d4 <__aeabi_i2f> - 8001954: 4b05 ldr r3, [pc, #20] ; (800196c ) - 8001956: 4a06 ldr r2, [pc, #24] ; (8001970 ) - 8001958: 6023 str r3, [r4, #0] - 800195a: 4b06 ldr r3, [pc, #24] ; (8001974 ) - 800195c: 6060 str r0, [r4, #4] - 800195e: e9c4 2303 strd r2, r3, [r4, #12] - 8001962: 2000 movs r0, #0 - 8001964: bd10 pop {r4, pc} - 8001966: bf00 nop - 8001968: 42480000 .word 0x42480000 - 800196c: 447a0000 .word 0x447a0000 - 8001970: 003e090d .word 0x003e090d - 8001974: 000503ab .word 0x000503ab +08001910 : + 8001910: b510 push {r4, lr} + 8001912: 4604 mov r4, r0 + 8001914: f7ff fb6a bl 8000fec + 8001918: 4b07 ldr r3, [pc, #28] ; (8001938 ) + 800191a: 60a3 str r3, [r4, #8] + 800191c: f340 200f sbfx r0, r0, #8, #16 + 8001920: f7fe ff58 bl 80007d4 <__aeabi_i2f> + 8001924: 4b05 ldr r3, [pc, #20] ; (800193c ) + 8001926: 4a06 ldr r2, [pc, #24] ; (8001940 ) + 8001928: 6023 str r3, [r4, #0] + 800192a: 4b06 ldr r3, [pc, #24] ; (8001944 ) + 800192c: 6060 str r0, [r4, #4] + 800192e: e9c4 2303 strd r2, r3, [r4, #12] + 8001932: 2000 movs r0, #0 + 8001934: bd10 pop {r4, pc} + 8001936: bf00 nop + 8001938: 42480000 .word 0x42480000 + 800193c: 447a0000 .word 0x447a0000 + 8001940: 003e090d .word 0x003e090d + 8001944: 000503ab .word 0x000503ab -08001978 : - 8001978: 2000 movs r0, #0 - 800197a: 4770 bx lr +08001948 : + 8001948: 2000 movs r0, #0 + 800194a: 4770 bx lr -0800197c : - 800197c: 4b01 ldr r3, [pc, #4] ; (8001984 ) - 800197e: 6818 ldr r0, [r3, #0] - 8001980: 4770 bx lr - 8001982: bf00 nop - 8001984: 200001d4 .word 0x200001d4 +0800194c : + 800194c: 4b01 ldr r3, [pc, #4] ; (8001954 ) + 800194e: 6818 ldr r0, [r3, #0] + 8001950: 4770 bx lr + 8001952: bf00 nop + 8001954: 200001d4 .word 0x200001d4 -08001988 : - 8001988: 2003 movs r0, #3 - 800198a: 4770 bx lr +08001958 : + 8001958: 2003 movs r0, #3 + 800195a: 4770 bx lr -0800198c : - 800198c: b508 push {r3, lr} - 800198e: 4601 mov r1, r0 - 8001990: f44f 727a mov.w r2, #1000 ; 0x3e8 - 8001994: 2300 movs r3, #0 - 8001996: 0280 lsls r0, r0, #10 - 8001998: 0d89 lsrs r1, r1, #22 - 800199a: f7ff f905 bl 8000ba8 <__aeabi_uldivmod> +0800195c : + 800195c: b508 push {r3, lr} + 800195e: 4601 mov r1, r0 + 8001960: f44f 727a mov.w r2, #1000 ; 0x3e8 + 8001964: 2300 movs r3, #0 + 8001966: 0280 lsls r0, r0, #10 + 8001968: 0d89 lsrs r1, r1, #22 + 800196a: f7ff f91d bl 8000ba8 <__aeabi_uldivmod> + 800196e: bd08 pop {r3, pc} + +08001970 : + 8001970: f44f 737a mov.w r3, #1000 ; 0x3e8 + 8001974: fba0 0303 umull r0, r3, r0, r3 + 8001978: 0a80 lsrs r0, r0, #10 + 800197a: ea40 5083 orr.w r0, r0, r3, lsl #22 + 800197e: 4770 bx lr + +08001980 : + 8001980: 4b03 ldr r3, [pc, #12] ; (8001990 ) + 8001982: 6898 ldr r0, [r3, #8] + 8001984: 689a ldr r2, [r3, #8] + 8001986: 4290 cmp r0, r2 + 8001988: d1fb bne.n 8001982 + 800198a: 43c0 mvns r0, r0 + 800198c: 4770 bx lr + 800198e: bf00 nop + 8001990: 40002800 .word 0x40002800 + +08001994 : + 8001994: b508 push {r3, lr} + 8001996: f7ff fff3 bl 8001980 + 800199a: 4b01 ldr r3, [pc, #4] ; (80019a0 ) + 800199c: 6018 str r0, [r3, #0] 800199e: bd08 pop {r3, pc} + 80019a0: 200001d4 .word 0x200001d4 -080019a0 : - 80019a0: f44f 737a mov.w r3, #1000 ; 0x3e8 - 80019a4: fba0 0303 umull r0, r3, r0, r3 - 80019a8: 0a80 lsrs r0, r0, #10 - 80019aa: ea40 5083 orr.w r0, r0, r3, lsl #22 - 80019ae: 4770 bx lr +080019a4 : + 80019a4: b508 push {r3, lr} + 80019a6: f7ff ffeb bl 8001980 + 80019aa: 4b02 ldr r3, [pc, #8] ; (80019b4 ) + 80019ac: 681b ldr r3, [r3, #0] + 80019ae: 1ac0 subs r0, r0, r3 + 80019b0: bd08 pop {r3, pc} + 80019b2: bf00 nop + 80019b4: 200001d4 .word 0x200001d4 -080019b0 : - 80019b0: 4b03 ldr r3, [pc, #12] ; (80019c0 ) - 80019b2: 6898 ldr r0, [r3, #8] - 80019b4: 689a ldr r2, [r3, #8] - 80019b6: 4290 cmp r0, r2 - 80019b8: d1fb bne.n 80019b2 - 80019ba: 43c0 mvns r0, r0 - 80019bc: 4770 bx lr - 80019be: bf00 nop - 80019c0: 40002800 .word 0x40002800 +080019b8 : + 80019b8: 4b02 ldr r3, [pc, #8] ; (80019c4 ) + 80019ba: 7818 ldrb r0, [r3, #0] + 80019bc: b108 cbz r0, 80019c2 + 80019be: f7ff bfdf b.w 8001980 + 80019c2: 4770 bx lr + 80019c4: 200001d1 .word 0x200001d1 -080019c4 : - 80019c4: b508 push {r3, lr} - 80019c6: f7ff fff3 bl 80019b0 - 80019ca: 4b01 ldr r3, [pc, #4] ; (80019d0 ) - 80019cc: 6018 str r0, [r3, #0] - 80019ce: bd08 pop {r3, pc} - 80019d0: 200001d4 .word 0x200001d4 +080019c8 : + 80019c8: b510 push {r4, lr} + 80019ca: 4b07 ldr r3, [pc, #28] ; (80019e8 ) + 80019cc: 4c07 ldr r4, [pc, #28] ; (80019ec ) + 80019ce: 2201 movs r2, #1 + 80019d0: 65da str r2, [r3, #92] ; 0x5c + 80019d2: f44f 7180 mov.w r1, #256 ; 0x100 + 80019d6: 4620 mov r0, r4 + 80019d8: f002 fc72 bl 80042c0 + 80019dc: f04f 33ff mov.w r3, #4294967295 + 80019e0: 6323 str r3, [r4, #48] ; 0x30 + 80019e2: 2000 movs r0, #0 + 80019e4: bd10 pop {r4, pc} + 80019e6: bf00 nop + 80019e8: 40002800 .word 0x40002800 + 80019ec: 2000018c .word 0x2000018c -080019d4 : - 80019d4: b508 push {r3, lr} - 80019d6: f7ff ffeb bl 80019b0 - 80019da: 4b02 ldr r3, [pc, #8] ; (80019e4 ) - 80019dc: 681b ldr r3, [r3, #0] - 80019de: 1ac0 subs r0, r0, r3 - 80019e0: bd08 pop {r3, pc} - 80019e2: bf00 nop - 80019e4: 200001d4 .word 0x200001d4 +080019f0 : + 80019f0: 4602 mov r2, r0 + 80019f2: 2100 movs r1, #0 + 80019f4: 4801 ldr r0, [pc, #4] ; (80019fc ) + 80019f6: f002 be7c b.w 80046f2 + 80019fa: bf00 nop + 80019fc: 2000018c .word 0x2000018c -080019e8 : - 80019e8: 4b02 ldr r3, [pc, #8] ; (80019f4 ) - 80019ea: 7818 ldrb r0, [r3, #0] - 80019ec: b108 cbz r0, 80019f2 - 80019ee: f7ff bfdf b.w 80019b0 - 80019f2: 4770 bx lr - 80019f4: 200001d1 .word 0x200001d1 +08001a00 : + 8001a00: 4602 mov r2, r0 + 8001a02: 2101 movs r1, #1 + 8001a04: 4801 ldr r0, [pc, #4] ; (8001a0c ) + 8001a06: f002 be74 b.w 80046f2 + 8001a0a: bf00 nop + 8001a0c: 2000018c .word 0x2000018c -080019f8 : - 80019f8: b510 push {r4, lr} - 80019fa: 4b07 ldr r3, [pc, #28] ; (8001a18 ) - 80019fc: 4c07 ldr r4, [pc, #28] ; (8001a1c ) - 80019fe: 2201 movs r2, #1 - 8001a00: 65da str r2, [r3, #92] ; 0x5c - 8001a02: f44f 7180 mov.w r1, #256 ; 0x100 - 8001a06: 4620 mov r0, r4 - 8001a08: f002 fe1e bl 8004648 - 8001a0c: f04f 33ff mov.w r3, #4294967295 - 8001a10: 6323 str r3, [r4, #48] ; 0x30 - 8001a12: 2000 movs r0, #0 - 8001a14: bd10 pop {r4, pc} - 8001a16: bf00 nop - 8001a18: 40002800 .word 0x40002800 - 8001a1c: 2000018c .word 0x2000018c +08001a10 : + 8001a10: b510 push {r4, lr} + 8001a12: b08c sub sp, #48 ; 0x30 + 8001a14: 222c movs r2, #44 ; 0x2c + 8001a16: 2100 movs r1, #0 + 8001a18: 4604 mov r4, r0 + 8001a1a: a801 add r0, sp, #4 + 8001a1c: f00d fa9c bl 800ef58 + 8001a20: f7ff ffd2 bl 80019c8 + 8001a24: 4b0c ldr r3, [pc, #48] ; (8001a58 ) + 8001a26: 480d ldr r0, [pc, #52] ; (8001a5c ) + 8001a28: 681b ldr r3, [r3, #0] + 8001a2a: 441c add r4, r3 + 8001a2c: 2300 movs r3, #0 + 8001a2e: 9308 str r3, [sp, #32] + 8001a30: 9306 str r3, [sp, #24] + 8001a32: f04f 5300 mov.w r3, #536870912 ; 0x20000000 + 8001a36: 43e4 mvns r4, r4 + 8001a38: 9307 str r3, [sp, #28] + 8001a3a: 2201 movs r2, #1 + 8001a3c: f44f 7380 mov.w r3, #256 ; 0x100 + 8001a40: a901 add r1, sp, #4 + 8001a42: 9402 str r4, [sp, #8] + 8001a44: 930b str r3, [sp, #44] ; 0x2c + 8001a46: f002 fd51 bl 80044ec + 8001a4a: b108 cbz r0, 8001a50 + 8001a4c: f7ff fd42 bl 80014d4 + 8001a50: 2000 movs r0, #0 + 8001a52: b00c add sp, #48 ; 0x30 + 8001a54: bd10 pop {r4, pc} + 8001a56: bf00 nop + 8001a58: 200001d4 .word 0x200001d4 + 8001a5c: 2000018c .word 0x2000018c -08001a20 : - 8001a20: 4602 mov r2, r0 - 8001a22: 2100 movs r1, #0 - 8001a24: 4801 ldr r0, [pc, #4] ; (8001a2c ) - 8001a26: f003 b828 b.w 8004a7a - 8001a2a: bf00 nop - 8001a2c: 2000018c .word 0x2000018c - -08001a30 : - 8001a30: 4602 mov r2, r0 - 8001a32: 2101 movs r1, #1 - 8001a34: 4801 ldr r0, [pc, #4] ; (8001a3c ) - 8001a36: f003 b820 b.w 8004a7a - 8001a3a: bf00 nop - 8001a3c: 2000018c .word 0x2000018c - -08001a40 : - 8001a40: b510 push {r4, lr} - 8001a42: b08c sub sp, #48 ; 0x30 - 8001a44: 222c movs r2, #44 ; 0x2c - 8001a46: 2100 movs r1, #0 - 8001a48: 4604 mov r4, r0 - 8001a4a: a801 add r0, sp, #4 - 8001a4c: f00d fc68 bl 800f320 - 8001a50: f7ff ffd2 bl 80019f8 - 8001a54: 4b0c ldr r3, [pc, #48] ; (8001a88 ) - 8001a56: 480d ldr r0, [pc, #52] ; (8001a8c ) - 8001a58: 681b ldr r3, [r3, #0] - 8001a5a: 441c add r4, r3 - 8001a5c: 2300 movs r3, #0 - 8001a5e: 9308 str r3, [sp, #32] - 8001a60: 9306 str r3, [sp, #24] - 8001a62: f04f 5300 mov.w r3, #536870912 ; 0x20000000 - 8001a66: 43e4 mvns r4, r4 - 8001a68: 9307 str r3, [sp, #28] - 8001a6a: 2201 movs r2, #1 - 8001a6c: f44f 7380 mov.w r3, #256 ; 0x100 - 8001a70: a901 add r1, sp, #4 - 8001a72: 9402 str r4, [sp, #8] - 8001a74: 930b str r3, [sp, #44] ; 0x2c - 8001a76: f002 fefd bl 8004874 - 8001a7a: b108 cbz r0, 8001a80 - 8001a7c: f7ff fd42 bl 8001504 - 8001a80: 2000 movs r0, #0 - 8001a82: b00c add sp, #48 ; 0x30 - 8001a84: bd10 pop {r4, pc} - 8001a86: bf00 nop - 8001a88: 200001d4 .word 0x200001d4 +08001a60 : + 8001a60: b538 push {r3, r4, r5, lr} + 8001a62: 4605 mov r5, r0 + 8001a64: f7ff ff8c bl 8001980 + 8001a68: 2102 movs r1, #2 + 8001a6a: 4604 mov r4, r0 + 8001a6c: 4807 ldr r0, [pc, #28] ; (8001a8c ) + 8001a6e: f002 fe47 bl 8004700 + 8001a72: f3c4 0209 ubfx r2, r4, #0, #10 + 8001a76: f44f 717a mov.w r1, #1000 ; 0x3e8 + 8001a7a: fba2 2101 umull r2, r1, r2, r1 + 8001a7e: 0a92 lsrs r2, r2, #10 + 8001a80: 0aa3 lsrs r3, r4, #10 + 8001a82: 802a strh r2, [r5, #0] + 8001a84: ea43 5080 orr.w r0, r3, r0, lsl #22 + 8001a88: bd38 pop {r3, r4, r5, pc} + 8001a8a: bf00 nop 8001a8c: 2000018c .word 0x2000018c -08001a90 : - 8001a90: b538 push {r3, r4, r5, lr} - 8001a92: 4605 mov r5, r0 - 8001a94: f7ff ff8c bl 80019b0 - 8001a98: 2102 movs r1, #2 - 8001a9a: 4604 mov r4, r0 - 8001a9c: 4807 ldr r0, [pc, #28] ; (8001abc ) - 8001a9e: f002 fff3 bl 8004a88 - 8001aa2: f3c4 0209 ubfx r2, r4, #0, #10 - 8001aa6: f44f 717a mov.w r1, #1000 ; 0x3e8 - 8001aaa: fba2 2101 umull r2, r1, r2, r1 - 8001aae: 0a92 lsrs r2, r2, #10 - 8001ab0: 0aa3 lsrs r3, r4, #10 - 8001ab2: 802a strh r2, [r5, #0] - 8001ab4: ea43 5080 orr.w r0, r3, r0, lsl #22 - 8001ab8: bd38 pop {r3, r4, r5, pc} - 8001aba: bf00 nop - 8001abc: 2000018c .word 0x2000018c +08001a90 : + 8001a90: 4801 ldr r0, [pc, #4] ; (8001a98 ) + 8001a92: 2100 movs r1, #0 + 8001a94: f002 be34 b.w 8004700 + 8001a98: 2000018c .word 0x2000018c -08001ac0 : - 8001ac0: 4801 ldr r0, [pc, #4] ; (8001ac8 ) - 8001ac2: 2100 movs r1, #0 - 8001ac4: f002 bfe0 b.w 8004a88 - 8001ac8: 2000018c .word 0x2000018c +08001a9c : + 8001a9c: 4801 ldr r0, [pc, #4] ; (8001aa4 ) + 8001a9e: 2101 movs r1, #1 + 8001aa0: f002 be2e b.w 8004700 + 8001aa4: 2000018c .word 0x2000018c -08001acc : - 8001acc: 4801 ldr r0, [pc, #4] ; (8001ad4 ) - 8001ace: 2101 movs r1, #1 - 8001ad0: f002 bfda b.w 8004a88 - 8001ad4: 2000018c .word 0x2000018c +08001aa8 : + 8001aa8: b5f8 push {r3, r4, r5, r6, r7, lr} + 8001aaa: 4d0f ldr r5, [pc, #60] ; (8001ae8 ) + 8001aac: 782e ldrb r6, [r5, #0] + 8001aae: b9ce cbnz r6, 8001ae4 + 8001ab0: 4c0e ldr r4, [pc, #56] ; (8001aec ) + 8001ab2: f04f 37ff mov.w r7, #4294967295 + 8001ab6: 6327 str r7, [r4, #48] ; 0x30 + 8001ab8: f7ff fd0e bl 80014d8 + 8001abc: f7ff ff84 bl 80019c8 + 8001ac0: f44f 7180 mov.w r1, #256 ; 0x100 + 8001ac4: 4620 mov r0, r4 + 8001ac6: f002 fbfb bl 80042c0 + 8001aca: 4620 mov r0, r4 + 8001acc: 6327 str r7, [r4, #48] ; 0x30 + 8001ace: f002 fdbb bl 8004648 + 8001ad2: 4632 mov r2, r6 + 8001ad4: 4620 mov r0, r4 + 8001ad6: 2102 movs r1, #2 + 8001ad8: f002 fe0b bl 80046f2 + 8001adc: f7ff ff5a bl 8001994 + 8001ae0: 2301 movs r3, #1 + 8001ae2: 702b strb r3, [r5, #0] + 8001ae4: 2000 movs r0, #0 + 8001ae6: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8001ae8: 200001d1 .word 0x200001d1 + 8001aec: 2000018c .word 0x2000018c -08001ad8 : - 8001ad8: b5f8 push {r3, r4, r5, r6, r7, lr} - 8001ada: 4d0f ldr r5, [pc, #60] ; (8001b18 ) - 8001adc: 782e ldrb r6, [r5, #0] - 8001ade: b9ce cbnz r6, 8001b14 - 8001ae0: 4c0e ldr r4, [pc, #56] ; (8001b1c ) - 8001ae2: f04f 37ff mov.w r7, #4294967295 - 8001ae6: 6327 str r7, [r4, #48] ; 0x30 - 8001ae8: f7ff fd0e bl 8001508 - 8001aec: f7ff ff84 bl 80019f8 - 8001af0: f44f 7180 mov.w r1, #256 ; 0x100 - 8001af4: 4620 mov r0, r4 - 8001af6: f002 fda7 bl 8004648 - 8001afa: 4620 mov r0, r4 - 8001afc: 6327 str r7, [r4, #48] ; 0x30 - 8001afe: f002 ff67 bl 80049d0 - 8001b02: 4632 mov r2, r6 - 8001b04: 4620 mov r0, r4 - 8001b06: 2102 movs r1, #2 - 8001b08: f002 ffb7 bl 8004a7a - 8001b0c: f7ff ff5a bl 80019c4 - 8001b10: 2301 movs r3, #1 - 8001b12: 702b strb r3, [r5, #0] - 8001b14: 2000 movs r0, #0 - 8001b16: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8001b18: 200001d1 .word 0x200001d1 - 8001b1c: 2000018c .word 0x2000018c +08001af0 : + 8001af0: 4601 mov r1, r0 + 8001af2: b510 push {r4, lr} + 8001af4: f44f 727a mov.w r2, #1000 ; 0x3e8 + 8001af8: 2300 movs r3, #0 + 8001afa: 0280 lsls r0, r0, #10 + 8001afc: 0d89 lsrs r1, r1, #22 + 8001afe: f7ff f853 bl 8000ba8 <__aeabi_uldivmod> + 8001b02: 4601 mov r1, r0 + 8001b04: f7ff ff3c bl 8001980 + 8001b08: 4604 mov r4, r0 + 8001b0a: f7ff ff39 bl 8001980 + 8001b0e: 1b03 subs r3, r0, r4 + 8001b10: 428b cmp r3, r1 + 8001b12: d300 bcc.n 8001b16 + 8001b14: bd10 pop {r4, pc} + 8001b16: bf00 nop + 8001b18: e7f7 b.n 8001b0a -08001b20 : - 8001b20: 4601 mov r1, r0 - 8001b22: b510 push {r4, lr} - 8001b24: f44f 727a mov.w r2, #1000 ; 0x3e8 - 8001b28: 2300 movs r3, #0 - 8001b2a: 0280 lsls r0, r0, #10 - 8001b2c: 0d89 lsrs r1, r1, #22 - 8001b2e: f7ff f83b bl 8000ba8 <__aeabi_uldivmod> - 8001b32: 4601 mov r1, r0 - 8001b34: f7ff ff3c bl 80019b0 - 8001b38: 4604 mov r4, r0 - 8001b3a: f7ff ff39 bl 80019b0 - 8001b3e: 1b03 subs r3, r0, r4 - 8001b40: 428b cmp r3, r1 - 8001b42: d300 bcc.n 8001b46 - 8001b44: bd10 pop {r4, pc} - 8001b46: bf00 nop - 8001b48: e7f7 b.n 8001b3a - -08001b4a : - 8001b4a: f00d ba87 b.w 800f05c +08001b1a : + 8001b1a: f00d b8bb b.w 800ec94 ... -08001b50 : - 8001b50: b510 push {r4, lr} - 8001b52: 4c06 ldr r4, [pc, #24] ; (8001b6c ) - 8001b54: 2102 movs r1, #2 - 8001b56: 4620 mov r0, r4 - 8001b58: f002 ff96 bl 8004a88 - 8001b5c: 2102 movs r1, #2 - 8001b5e: 1c42 adds r2, r0, #1 - 8001b60: 4620 mov r0, r4 - 8001b62: e8bd 4010 ldmia.w sp!, {r4, lr} - 8001b66: f002 bf88 b.w 8004a7a - 8001b6a: bf00 nop - 8001b6c: 2000018c .word 0x2000018c +08001b20 : + 8001b20: b510 push {r4, lr} + 8001b22: 4c06 ldr r4, [pc, #24] ; (8001b3c ) + 8001b24: 2102 movs r1, #2 + 8001b26: 4620 mov r0, r4 + 8001b28: f002 fdea bl 8004700 + 8001b2c: 2102 movs r1, #2 + 8001b2e: 1c42 adds r2, r0, #1 + 8001b30: 4620 mov r0, r4 + 8001b32: e8bd 4010 ldmia.w sp!, {r4, lr} + 8001b36: f002 bddc b.w 80046f2 + 8001b3a: bf00 nop + 8001b3c: 2000018c .word 0x2000018c -08001b70 : - 8001b70: 4816 ldr r0, [pc, #88] ; (8001bcc ) - 8001b72: 4a17 ldr r2, [pc, #92] ; (8001bd0 ) - 8001b74: b508 push {r3, lr} - 8001b76: f44f 33e1 mov.w r3, #115200 ; 0x1c200 - 8001b7a: e9c0 2300 strd r2, r3, [r0] - 8001b7e: 2300 movs r3, #0 - 8001b80: 220c movs r2, #12 - 8001b82: e9c0 3302 strd r3, r3, [r0, #8] - 8001b86: e9c0 2305 strd r2, r3, [r0, #20] - 8001b8a: e9c0 3307 strd r3, r3, [r0, #28] - 8001b8e: e9c0 3309 strd r3, r3, [r0, #36] ; 0x24 - 8001b92: 6103 str r3, [r0, #16] - 8001b94: f004 f905 bl 8005da2 - 8001b98: b108 cbz r0, 8001b9e - 8001b9a: f7ff fcb3 bl 8001504 - 8001b9e: 480b ldr r0, [pc, #44] ; (8001bcc ) +08001b40 : + 8001b40: 4813 ldr r0, [pc, #76] ; (8001b90 ) + 8001b42: 4a14 ldr r2, [pc, #80] ; (8001b94 ) + 8001b44: b508 push {r3, lr} + 8001b46: f44f 33e1 mov.w r3, #115200 ; 0x1c200 + 8001b4a: e9c0 2300 strd r2, r3, [r0] + 8001b4e: 2300 movs r3, #0 + 8001b50: 220c movs r2, #12 + 8001b52: e9c0 3302 strd r3, r3, [r0, #8] + 8001b56: e9c0 2305 strd r2, r3, [r0, #20] + 8001b5a: e9c0 3307 strd r3, r3, [r0, #28] + 8001b5e: e9c0 3309 strd r3, r3, [r0, #36] ; 0x24 + 8001b62: 6103 str r3, [r0, #16] + 8001b64: f003 ff59 bl 8005a1a + 8001b68: b108 cbz r0, 8001b6e + 8001b6a: f7ff fcb3 bl 80014d4 + 8001b6e: 4808 ldr r0, [pc, #32] ; (8001b90 ) + 8001b70: 2100 movs r1, #0 + 8001b72: f004 f8ce bl 8005d12 + 8001b76: b108 cbz r0, 8001b7c + 8001b78: f7ff fcac bl 80014d4 + 8001b7c: 4804 ldr r0, [pc, #16] ; (8001b90 ) + 8001b7e: f004 f8a8 bl 8005cd2 + 8001b82: b118 cbz r0, 8001b8c + 8001b84: e8bd 4008 ldmia.w sp!, {r3, lr} + 8001b88: f7ff bca4 b.w 80014d4 + 8001b8c: bd08 pop {r3, pc} + 8001b8e: bf00 nop + 8001b90: 20000238 .word 0x20000238 + 8001b94: 40004400 .word 0x40004400 + +08001b98 : + 8001b98: b570 push {r4, r5, r6, lr} + 8001b9a: b096 sub sp, #88 ; 0x58 + 8001b9c: 4606 mov r6, r0 + 8001b9e: 2214 movs r2, #20 8001ba0: 2100 movs r1, #0 - 8001ba2: f004 fa7a bl 800609a - 8001ba6: b108 cbz r0, 8001bac - 8001ba8: f7ff fcac bl 8001504 - 8001bac: 4807 ldr r0, [pc, #28] ; (8001bcc ) - 8001bae: 2100 movs r1, #0 - 8001bb0: f004 fa93 bl 80060da - 8001bb4: b108 cbz r0, 8001bba - 8001bb6: f7ff fca5 bl 8001504 - 8001bba: 4804 ldr r0, [pc, #16] ; (8001bcc ) - 8001bbc: f004 fa4d bl 800605a - 8001bc0: b118 cbz r0, 8001bca - 8001bc2: e8bd 4008 ldmia.w sp!, {r3, lr} - 8001bc6: f7ff bc9d b.w 8001504 - 8001bca: bd08 pop {r3, pc} - 8001bcc: 20000238 .word 0x20000238 - 8001bd0: 40004400 .word 0x40004400 + 8001ba2: a803 add r0, sp, #12 + 8001ba4: f00d f9d8 bl 800ef58 + 8001ba8: 2238 movs r2, #56 ; 0x38 + 8001baa: 2100 movs r1, #0 + 8001bac: a808 add r0, sp, #32 + 8001bae: f00d f9d3 bl 800ef58 + 8001bb2: 6832 ldr r2, [r6, #0] + 8001bb4: 4b2c ldr r3, [pc, #176] ; (8001c68 ) + 8001bb6: 429a cmp r2, r3 + 8001bb8: d154 bne.n 8001c64 + 8001bba: 2302 movs r3, #2 + 8001bbc: 9308 str r3, [sp, #32] + 8001bbe: a808 add r0, sp, #32 + 8001bc0: 4b2a ldr r3, [pc, #168] ; (8001c6c ) + 8001bc2: 930a str r3, [sp, #40] ; 0x28 + 8001bc4: f002 faac bl 8004120 + 8001bc8: b108 cbz r0, 8001bce + 8001bca: f7ff fc83 bl 80014d4 + 8001bce: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8001bd2: 2500 movs r5, #0 + 8001bd4: 6d9a ldr r2, [r3, #88] ; 0x58 + 8001bd6: f442 3200 orr.w r2, r2, #131072 ; 0x20000 + 8001bda: 659a str r2, [r3, #88] ; 0x58 + 8001bdc: 6d9a ldr r2, [r3, #88] ; 0x58 + 8001bde: f402 3200 and.w r2, r2, #131072 ; 0x20000 + 8001be2: 9202 str r2, [sp, #8] + 8001be4: 9a02 ldr r2, [sp, #8] + 8001be6: 6cda ldr r2, [r3, #76] ; 0x4c + 8001be8: f042 0201 orr.w r2, r2, #1 + 8001bec: 64da str r2, [r3, #76] ; 0x4c + 8001bee: 6cdb ldr r3, [r3, #76] ; 0x4c + 8001bf0: f003 0301 and.w r3, r3, #1 + 8001bf4: 9301 str r3, [sp, #4] + 8001bf6: 2204 movs r2, #4 + 8001bf8: 9b01 ldr r3, [sp, #4] + 8001bfa: 2302 movs r3, #2 + 8001bfc: e9cd 2303 strd r2, r3, [sp, #12] + 8001c00: 2403 movs r4, #3 + 8001c02: 2307 movs r3, #7 + 8001c04: a903 add r1, sp, #12 + 8001c06: f04f 4090 mov.w r0, #1207959552 ; 0x48000000 + 8001c0a: e9cd 5405 strd r5, r4, [sp, #20] + 8001c0e: 9307 str r3, [sp, #28] + 8001c10: f001 fc04 bl 800341c + 8001c14: 2308 movs r3, #8 + 8001c16: a903 add r1, sp, #12 + 8001c18: f04f 4090 mov.w r0, #1207959552 ; 0x48000000 + 8001c1c: e9cd 3403 strd r3, r4, [sp, #12] + 8001c20: e9cd 5505 strd r5, r5, [sp, #20] + 8001c24: 4c12 ldr r4, [pc, #72] ; (8001c70 ) + 8001c26: f001 fbf9 bl 800341c + 8001c2a: 4912 ldr r1, [pc, #72] ; (8001c74 ) + 8001c2c: 6225 str r5, [r4, #32] + 8001c2e: 2314 movs r3, #20 + 8001c30: e9c4 1300 strd r1, r3, [r4] + 8001c34: 2310 movs r3, #16 + 8001c36: e9c4 3502 strd r3, r5, [r4, #8] + 8001c3a: 4620 mov r0, r4 + 8001c3c: 2380 movs r3, #128 ; 0x80 + 8001c3e: e9c4 3504 strd r3, r5, [r4, #16] + 8001c42: e9c4 5506 strd r5, r5, [r4, #24] + 8001c46: f001 f921 bl 8002e8c + 8001c4a: b108 cbz r0, 8001c50 + 8001c4c: f7ff fc42 bl 80014d4 + 8001c50: 2025 movs r0, #37 ; 0x25 + 8001c52: 67f4 str r4, [r6, #124] ; 0x7c + 8001c54: 2200 movs r2, #0 + 8001c56: 2102 movs r1, #2 + 8001c58: 62a6 str r6, [r4, #40] ; 0x28 + 8001c5a: f001 f885 bl 8002d68 + 8001c5e: 2025 movs r0, #37 ; 0x25 + 8001c60: f001 f8b4 bl 8002dcc + 8001c64: b016 add sp, #88 ; 0x58 + 8001c66: bd70 pop {r4, r5, r6, pc} + 8001c68: 40004400 .word 0x40004400 + 8001c6c: 000c0004 .word 0x000c0004 + 8001c70: 200001d8 .word 0x200001d8 + 8001c74: 40020058 .word 0x40020058 -08001bd4 : - 8001bd4: b570 push {r4, r5, r6, lr} - 8001bd6: b096 sub sp, #88 ; 0x58 - 8001bd8: 4606 mov r6, r0 - 8001bda: 2214 movs r2, #20 - 8001bdc: 2100 movs r1, #0 - 8001bde: a803 add r0, sp, #12 - 8001be0: f00d fb9e bl 800f320 - 8001be4: 2238 movs r2, #56 ; 0x38 - 8001be6: 2100 movs r1, #0 - 8001be8: a808 add r0, sp, #32 - 8001bea: f00d fb99 bl 800f320 - 8001bee: 6832 ldr r2, [r6, #0] - 8001bf0: 4b2c ldr r3, [pc, #176] ; (8001ca4 ) - 8001bf2: 429a cmp r2, r3 - 8001bf4: d154 bne.n 8001ca0 - 8001bf6: 2302 movs r3, #2 - 8001bf8: 9308 str r3, [sp, #32] - 8001bfa: a808 add r0, sp, #32 - 8001bfc: 4b2a ldr r3, [pc, #168] ; (8001ca8 ) - 8001bfe: 930a str r3, [sp, #40] ; 0x28 - 8001c00: f002 fc52 bl 80044a8 - 8001c04: b108 cbz r0, 8001c0a - 8001c06: f7ff fc7d bl 8001504 - 8001c0a: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8001c0e: 2500 movs r5, #0 - 8001c10: 6d9a ldr r2, [r3, #88] ; 0x58 - 8001c12: f442 3200 orr.w r2, r2, #131072 ; 0x20000 - 8001c16: 659a str r2, [r3, #88] ; 0x58 - 8001c18: 6d9a ldr r2, [r3, #88] ; 0x58 - 8001c1a: f402 3200 and.w r2, r2, #131072 ; 0x20000 - 8001c1e: 9202 str r2, [sp, #8] - 8001c20: 9a02 ldr r2, [sp, #8] - 8001c22: 6cda ldr r2, [r3, #76] ; 0x4c - 8001c24: f042 0201 orr.w r2, r2, #1 - 8001c28: 64da str r2, [r3, #76] ; 0x4c - 8001c2a: 6cdb ldr r3, [r3, #76] ; 0x4c - 8001c2c: f003 0301 and.w r3, r3, #1 - 8001c30: 9301 str r3, [sp, #4] - 8001c32: 2204 movs r2, #4 - 8001c34: 9b01 ldr r3, [sp, #4] - 8001c36: 2302 movs r3, #2 - 8001c38: e9cd 2303 strd r2, r3, [sp, #12] - 8001c3c: 2403 movs r4, #3 - 8001c3e: 2307 movs r3, #7 - 8001c40: a903 add r1, sp, #12 - 8001c42: f04f 4090 mov.w r0, #1207959552 ; 0x48000000 - 8001c46: e9cd 5405 strd r5, r4, [sp, #20] - 8001c4a: 9307 str r3, [sp, #28] - 8001c4c: f001 fdaa bl 80037a4 - 8001c50: 2308 movs r3, #8 - 8001c52: a903 add r1, sp, #12 - 8001c54: f04f 4090 mov.w r0, #1207959552 ; 0x48000000 - 8001c58: e9cd 3403 strd r3, r4, [sp, #12] - 8001c5c: e9cd 5505 strd r5, r5, [sp, #20] - 8001c60: 4c12 ldr r4, [pc, #72] ; (8001cac ) - 8001c62: f001 fd9f bl 80037a4 - 8001c66: 4912 ldr r1, [pc, #72] ; (8001cb0 ) - 8001c68: 6225 str r5, [r4, #32] - 8001c6a: 2314 movs r3, #20 - 8001c6c: e9c4 1300 strd r1, r3, [r4] - 8001c70: 2310 movs r3, #16 - 8001c72: e9c4 3502 strd r3, r5, [r4, #8] - 8001c76: 4620 mov r0, r4 - 8001c78: 2380 movs r3, #128 ; 0x80 - 8001c7a: e9c4 3504 strd r3, r5, [r4, #16] - 8001c7e: e9c4 5506 strd r5, r5, [r4, #24] - 8001c82: f001 fac7 bl 8003214 - 8001c86: b108 cbz r0, 8001c8c - 8001c88: f7ff fc3c bl 8001504 - 8001c8c: 2025 movs r0, #37 ; 0x25 - 8001c8e: 67f4 str r4, [r6, #124] ; 0x7c - 8001c90: 2200 movs r2, #0 - 8001c92: 2102 movs r1, #2 - 8001c94: 62a6 str r6, [r4, #40] ; 0x28 - 8001c96: f001 fa2b bl 80030f0 - 8001c9a: 2025 movs r0, #37 ; 0x25 - 8001c9c: f001 fa5a bl 8003154 - 8001ca0: b016 add sp, #88 ; 0x58 - 8001ca2: bd70 pop {r4, r5, r6, pc} - 8001ca4: 40004400 .word 0x40004400 - 8001ca8: 000c0004 .word 0x000c0004 - 8001cac: 200001d8 .word 0x200001d8 - 8001cb0: 40020058 .word 0x40020058 +08001c78 : + 8001c78: 6802 ldr r2, [r0, #0] + 8001c7a: 4b0c ldr r3, [pc, #48] ; (8001cac ) + 8001c7c: 429a cmp r2, r3 + 8001c7e: b510 push {r4, lr} + 8001c80: 4604 mov r4, r0 + 8001c82: d112 bne.n 8001caa + 8001c84: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8001c88: 210c movs r1, #12 + 8001c8a: 6d93 ldr r3, [r2, #88] ; 0x58 + 8001c8c: f423 3300 bic.w r3, r3, #131072 ; 0x20000 + 8001c90: 6593 str r3, [r2, #88] ; 0x58 + 8001c92: f04f 4090 mov.w r0, #1207959552 ; 0x48000000 + 8001c96: f001 fc6d bl 8003574 + 8001c9a: 6fe0 ldr r0, [r4, #124] ; 0x7c + 8001c9c: f001 f96a bl 8002f74 + 8001ca0: e8bd 4010 ldmia.w sp!, {r4, lr} + 8001ca4: 2025 movs r0, #37 ; 0x25 + 8001ca6: f001 b89f b.w 8002de8 + 8001caa: bd10 pop {r4, pc} + 8001cac: 40004400 .word 0x40004400 -08001cb4 : - 8001cb4: 6802 ldr r2, [r0, #0] - 8001cb6: 4b0c ldr r3, [pc, #48] ; (8001ce8 ) - 8001cb8: 429a cmp r2, r3 - 8001cba: b510 push {r4, lr} - 8001cbc: 4604 mov r4, r0 - 8001cbe: d112 bne.n 8001ce6 - 8001cc0: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8001cc4: 210c movs r1, #12 - 8001cc6: 6d93 ldr r3, [r2, #88] ; 0x58 - 8001cc8: f423 3300 bic.w r3, r3, #131072 ; 0x20000 - 8001ccc: 6593 str r3, [r2, #88] ; 0x58 - 8001cce: f04f 4090 mov.w r0, #1207959552 ; 0x48000000 - 8001cd2: f001 fe13 bl 80038fc - 8001cd6: 6fe0 ldr r0, [r4, #124] ; 0x7c - 8001cd8: f001 fb10 bl 80032fc - 8001cdc: e8bd 4010 ldmia.w sp!, {r4, lr} - 8001ce0: 2025 movs r0, #37 ; 0x25 - 8001ce2: f001 ba45 b.w 8003170 - 8001ce6: bd10 pop {r4, pc} - 8001ce8: 40004400 .word 0x40004400 +08001cb0 : + 8001cb0: b508 push {r3, lr} + 8001cb2: 460a mov r2, r1 + 8001cb4: 4601 mov r1, r0 + 8001cb6: 4802 ldr r0, [pc, #8] ; (8001cc0 ) + 8001cb8: f003 f832 bl 8004d20 + 8001cbc: 2000 movs r0, #0 + 8001cbe: bd08 pop {r3, pc} + 8001cc0: 20000238 .word 0x20000238 -08001cec : - 8001cec: b508 push {r3, lr} - 8001cee: 460a mov r2, r1 - 8001cf0: 4601 mov r1, r0 - 8001cf2: 4802 ldr r0, [pc, #8] ; (8001cfc ) - 8001cf4: f003 f9d8 bl 80050a8 - 8001cf8: 2000 movs r0, #0 - 8001cfa: bd08 pop {r3, pc} - 8001cfc: 20000238 .word 0x20000238 +08001cc4 : + 8001cc4: b513 push {r0, r1, r4, lr} + 8001cc6: 4b11 ldr r3, [pc, #68] ; (8001d0c ) + 8001cc8: 4c11 ldr r4, [pc, #68] ; (8001d10 ) + 8001cca: 6018 str r0, [r3, #0] + 8001ccc: f44f 1300 mov.w r3, #2097152 ; 0x200000 + 8001cd0: 9300 str r3, [sp, #0] + 8001cd2: ab02 add r3, sp, #8 + 8001cd4: e913 0006 ldmdb r3, {r1, r2} + 8001cd8: 4620 mov r0, r4 + 8001cda: f003 ff9e bl 8005c1a + 8001cde: 6823 ldr r3, [r4, #0] + 8001ce0: 69da ldr r2, [r3, #28] + 8001ce2: 03d1 lsls r1, r2, #15 + 8001ce4: d4fc bmi.n 8001ce0 + 8001ce6: 69da ldr r2, [r3, #28] + 8001ce8: 0252 lsls r2, r2, #9 + 8001cea: d5fc bpl.n 8001ce6 + 8001cec: 689a ldr r2, [r3, #8] + 8001cee: 4808 ldr r0, [pc, #32] ; (8001d10 ) + 8001cf0: f442 0280 orr.w r2, r2, #4194304 ; 0x400000 + 8001cf4: 609a str r2, [r3, #8] + 8001cf6: f003 ffd6 bl 8005ca6 + 8001cfa: 4906 ldr r1, [pc, #24] ; (8001d14 ) + 8001cfc: 4804 ldr r0, [pc, #16] ; (8001d10 ) + 8001cfe: 2201 movs r2, #1 + 8001d00: f003 ff44 bl 8005b8c + 8001d04: 2000 movs r0, #0 + 8001d06: b002 add sp, #8 + 8001d08: bd10 pop {r4, pc} + 8001d0a: bf00 nop + 8001d0c: 200002cc .word 0x200002cc + 8001d10: 20000238 .word 0x20000238 + 8001d14: 200002d4 .word 0x200002d4 -08001d00 : - 8001d00: b513 push {r0, r1, r4, lr} - 8001d02: 4b11 ldr r3, [pc, #68] ; (8001d48 ) - 8001d04: 4c11 ldr r4, [pc, #68] ; (8001d4c ) - 8001d06: 6018 str r0, [r3, #0] - 8001d08: f44f 1300 mov.w r3, #2097152 ; 0x200000 - 8001d0c: 9300 str r3, [sp, #0] - 8001d0e: ab02 add r3, sp, #8 - 8001d10: e913 0006 ldmdb r3, {r1, r2} - 8001d14: 4620 mov r0, r4 - 8001d16: f004 f944 bl 8005fa2 - 8001d1a: 6823 ldr r3, [r4, #0] - 8001d1c: 69da ldr r2, [r3, #28] - 8001d1e: 03d1 lsls r1, r2, #15 - 8001d20: d4fc bmi.n 8001d1c - 8001d22: 69da ldr r2, [r3, #28] - 8001d24: 0252 lsls r2, r2, #9 - 8001d26: d5fc bpl.n 8001d22 - 8001d28: 689a ldr r2, [r3, #8] - 8001d2a: 4808 ldr r0, [pc, #32] ; (8001d4c ) - 8001d2c: f442 0280 orr.w r2, r2, #4194304 ; 0x400000 - 8001d30: 609a str r2, [r3, #8] - 8001d32: f004 f97c bl 800602e - 8001d36: 4906 ldr r1, [pc, #24] ; (8001d50 ) - 8001d38: 4804 ldr r0, [pc, #16] ; (8001d4c ) - 8001d3a: 2201 movs r2, #1 - 8001d3c: f004 f8ea bl 8005f14 - 8001d40: 2000 movs r0, #0 - 8001d42: b002 add sp, #8 - 8001d44: bd10 pop {r4, pc} - 8001d46: bf00 nop - 8001d48: 200002cc .word 0x200002cc - 8001d4c: 20000238 .word 0x20000238 - 8001d50: 200002d4 .word 0x200002d4 +08001d18 : + 8001d18: b508 push {r3, lr} + 8001d1a: 4b07 ldr r3, [pc, #28] ; (8001d38 ) + 8001d1c: 6018 str r0, [r3, #0] + 8001d1e: f7ff f9a3 bl 8001068 + 8001d22: f7ff ff0d bl 8001b40 + 8001d26: 4a05 ldr r2, [pc, #20] ; (8001d3c ) + 8001d28: f8d2 3080 ldr.w r3, [r2, #128] ; 0x80 + 8001d2c: f043 6300 orr.w r3, r3, #134217728 ; 0x8000000 + 8001d30: f8c2 3080 str.w r3, [r2, #128] ; 0x80 + 8001d34: 2000 movs r0, #0 + 8001d36: bd08 pop {r3, pc} + 8001d38: 200002d0 .word 0x200002d0 + 8001d3c: 58000800 .word 0x58000800 -08001d54 : - 8001d54: b508 push {r3, lr} - 8001d56: 4b07 ldr r3, [pc, #28] ; (8001d74 ) - 8001d58: 6018 str r0, [r3, #0] - 8001d5a: f7ff f985 bl 8001068 - 8001d5e: f7ff ff07 bl 8001b70 - 8001d62: 4a05 ldr r2, [pc, #20] ; (8001d78 ) - 8001d64: f8d2 3080 ldr.w r3, [r2, #128] ; 0x80 - 8001d68: f043 6300 orr.w r3, r3, #134217728 ; 0x8000000 - 8001d6c: f8c2 3080 str.w r3, [r2, #128] ; 0x80 - 8001d70: 2000 movs r0, #0 - 8001d72: bd08 pop {r3, pc} - 8001d74: 200002d0 .word 0x200002d0 - 8001d78: 58000800 .word 0x58000800 +08001d40 : + 8001d40: b508 push {r3, lr} + 8001d42: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8001d46: 4808 ldr r0, [pc, #32] ; (8001d68 ) + 8001d48: 6b9a ldr r2, [r3, #56] ; 0x38 + 8001d4a: f442 3200 orr.w r2, r2, #131072 ; 0x20000 + 8001d4e: 639a str r2, [r3, #56] ; 0x38 + 8001d50: 6b9a ldr r2, [r3, #56] ; 0x38 + 8001d52: f422 3200 bic.w r2, r2, #131072 ; 0x20000 + 8001d56: 639a str r2, [r3, #56] ; 0x38 + 8001d58: f7ff ff8e bl 8001c78 + 8001d5c: 200f movs r0, #15 + 8001d5e: f001 f843 bl 8002de8 + 8001d62: 2000 movs r0, #0 + 8001d64: bd08 pop {r3, pc} + 8001d66: bf00 nop + 8001d68: 20000238 .word 0x20000238 -08001d7c : - 8001d7c: b508 push {r3, lr} - 8001d7e: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8001d82: 4808 ldr r0, [pc, #32] ; (8001da4 ) - 8001d84: 6b9a ldr r2, [r3, #56] ; 0x38 - 8001d86: f442 3200 orr.w r2, r2, #131072 ; 0x20000 - 8001d8a: 639a str r2, [r3, #56] ; 0x38 - 8001d8c: 6b9a ldr r2, [r3, #56] ; 0x38 - 8001d8e: f422 3200 bic.w r2, r2, #131072 ; 0x20000 - 8001d92: 639a str r2, [r3, #56] ; 0x38 - 8001d94: f7ff ff8e bl 8001cb4 - 8001d98: 200f movs r0, #15 - 8001d9a: f001 f9e9 bl 8003170 +08001d6c : + 8001d6c: b508 push {r3, lr} + 8001d6e: 4807 ldr r0, [pc, #28] ; (8001d8c ) + 8001d70: f003 fe53 bl 8005a1a + 8001d74: b108 cbz r0, 8001d7a + 8001d76: f7ff fbad bl 80014d4 + 8001d7a: 4805 ldr r0, [pc, #20] ; (8001d90 ) + 8001d7c: f001 f886 bl 8002e8c + 8001d80: b118 cbz r0, 8001d8a + 8001d82: e8bd 4008 ldmia.w sp!, {r3, lr} + 8001d86: f7ff bba5 b.w 80014d4 + 8001d8a: bd08 pop {r3, pc} + 8001d8c: 20000238 .word 0x20000238 + 8001d90: 200001d8 .word 0x200001d8 + +08001d94 : + 8001d94: 6802 ldr r2, [r0, #0] + 8001d96: 4b04 ldr r3, [pc, #16] ; (8001da8 ) + 8001d98: 429a cmp r2, r3 + 8001d9a: d103 bne.n 8001da4 + 8001d9c: 4b03 ldr r3, [pc, #12] ; (8001dac ) 8001d9e: 2000 movs r0, #0 - 8001da0: bd08 pop {r3, pc} - 8001da2: bf00 nop - 8001da4: 20000238 .word 0x20000238 + 8001da0: 681b ldr r3, [r3, #0] + 8001da2: 4718 bx r3 + 8001da4: 4770 bx lr + 8001da6: bf00 nop + 8001da8: 40004400 .word 0x40004400 + 8001dac: 200002d0 .word 0x200002d0 -08001da8 : - 8001da8: b508 push {r3, lr} - 8001daa: 4807 ldr r0, [pc, #28] ; (8001dc8 ) - 8001dac: f003 fff9 bl 8005da2 - 8001db0: b108 cbz r0, 8001db6 - 8001db2: f7ff fba7 bl 8001504 - 8001db6: 4805 ldr r0, [pc, #20] ; (8001dcc ) - 8001db8: f001 fa2c bl 8003214 - 8001dbc: b118 cbz r0, 8001dc6 - 8001dbe: e8bd 4008 ldmia.w sp!, {r3, lr} - 8001dc2: f7ff bb9f b.w 8001504 - 8001dc6: bd08 pop {r3, pc} - 8001dc8: 20000238 .word 0x20000238 - 8001dcc: 200001d8 .word 0x200001d8 +08001db0 : + 8001db0: 6802 ldr r2, [r0, #0] + 8001db2: 4b0b ldr r3, [pc, #44] ; (8001de0 ) + 8001db4: 429a cmp r2, r3 + 8001db6: b510 push {r4, lr} + 8001db8: 4604 mov r4, r0 + 8001dba: d10f bne.n 8001ddc + 8001dbc: 4b09 ldr r3, [pc, #36] ; (8001de4 ) + 8001dbe: 681b ldr r3, [r3, #0] + 8001dc0: b12b cbz r3, 8001dce + 8001dc2: f8d0 2090 ldr.w r2, [r0, #144] ; 0x90 + 8001dc6: b912 cbnz r2, 8001dce + 8001dc8: 4807 ldr r0, [pc, #28] ; (8001de8 ) + 8001dca: 2101 movs r1, #1 + 8001dcc: 4798 blx r3 + 8001dce: 4620 mov r0, r4 + 8001dd0: 4905 ldr r1, [pc, #20] ; (8001de8 ) + 8001dd2: e8bd 4010 ldmia.w sp!, {r4, lr} + 8001dd6: 2201 movs r2, #1 + 8001dd8: f003 bed8 b.w 8005b8c + 8001ddc: bd10 pop {r4, pc} + 8001dde: bf00 nop + 8001de0: 40004400 .word 0x40004400 + 8001de4: 200002cc .word 0x200002cc + 8001de8: 200002d4 .word 0x200002d4 -08001dd0 : - 8001dd0: 6802 ldr r2, [r0, #0] - 8001dd2: 4b04 ldr r3, [pc, #16] ; (8001de4 ) - 8001dd4: 429a cmp r2, r3 - 8001dd6: d103 bne.n 8001de0 - 8001dd8: 4b03 ldr r3, [pc, #12] ; (8001de8 ) - 8001dda: 2000 movs r0, #0 - 8001ddc: 681b ldr r3, [r3, #0] - 8001dde: 4718 bx r3 - 8001de0: 4770 bx lr - 8001de2: bf00 nop - 8001de4: 40004400 .word 0x40004400 - 8001de8: 200002d0 .word 0x200002d0 +08001dec : + 8001dec: b508 push {r3, lr} + 8001dee: f7ff fc99 bl 8001724 + 8001df2: e8bd 4008 ldmia.w sp!, {r3, lr} + 8001df6: f000 b9f3 b.w 80021e0 -08001dec : - 8001dec: 6802 ldr r2, [r0, #0] - 8001dee: 4b0b ldr r3, [pc, #44] ; (8001e1c ) - 8001df0: 429a cmp r2, r3 - 8001df2: b510 push {r4, lr} - 8001df4: 4604 mov r4, r0 - 8001df6: d10f bne.n 8001e18 - 8001df8: 4b09 ldr r3, [pc, #36] ; (8001e20 ) - 8001dfa: 681b ldr r3, [r3, #0] - 8001dfc: b12b cbz r3, 8001e0a - 8001dfe: f8d0 2090 ldr.w r2, [r0, #144] ; 0x90 - 8001e02: b912 cbnz r2, 8001e0a - 8001e04: 4807 ldr r0, [pc, #28] ; (8001e24 ) - 8001e06: 2101 movs r1, #1 - 8001e08: 4798 blx r3 - 8001e0a: 4620 mov r0, r4 - 8001e0c: 4905 ldr r1, [pc, #20] ; (8001e24 ) - 8001e0e: e8bd 4010 ldmia.w sp!, {r4, lr} - 8001e12: 2201 movs r2, #1 - 8001e14: f004 b87e b.w 8005f14 - 8001e18: bd10 pop {r4, pc} +08001dfa : + 8001dfa: f04f 30ff mov.w r0, #4294967295 + 8001dfe: f00c bcc7 b.w 800e790 + +08001e02 : + 8001e02: 4770 bx lr + +08001e04 : + 8001e04: 4770 bx lr + +08001e06 : + 8001e06: 4770 bx lr + +08001e08 : + 8001e08: 4b01 ldr r3, [pc, #4] ; (8001e10 ) + 8001e0a: 70d8 strb r0, [r3, #3] + 8001e0c: 4770 bx lr + 8001e0e: bf00 nop + 8001e10: 20000058 .word 0x20000058 + +08001e14 : + 8001e14: 4b01 ldr r3, [pc, #4] ; (8001e1c ) + 8001e16: 7418 strb r0, [r3, #16] + 8001e18: 4770 bx lr 8001e1a: bf00 nop - 8001e1c: 40004400 .word 0x40004400 - 8001e20: 200002cc .word 0x200002cc - 8001e24: 200002d4 .word 0x200002d4 + 8001e1c: 20000058 .word 0x20000058 -08001e28 : - 8001e28: b508 push {r3, lr} - 8001e2a: f7ff fc93 bl 8001754 - 8001e2e: e8bd 4008 ldmia.w sp!, {r3, lr} - 8001e32: f000 bb4f b.w 80024d4 +08001e20 : + 8001e20: b508 push {r3, lr} + 8001e22: 2002 movs r0, #2 + 8001e24: 2100 movs r1, #0 + 8001e26: f00c fc7b bl 800e720 + 8001e2a: e8bd 4008 ldmia.w sp!, {r3, lr} + 8001e2e: 4801 ldr r0, [pc, #4] ; (8001e34 ) + 8001e30: f00c bede b.w 800ebf0 + 8001e34: 20000428 .word 0x20000428 -08001e36 : - 8001e36: f04f 30ff mov.w r0, #4294967295 - 8001e3a: f00c be8d b.w 800eb58 +08001e38 : + 8001e38: 2100 movs r1, #0 + 8001e3a: 2001 movs r0, #1 + 8001e3c: f00c bc70 b.w 800e720 -08001e3e : - 8001e3e: 4770 bx lr +08001e40 : + 8001e40: b510 push {r4, lr} + 8001e42: 4c09 ldr r4, [pc, #36] ; (8001e68 ) + 8001e44: b160 cbz r0, 8001e60 + 8001e46: 6020 str r0, [r4, #0] + 8001e48: 4808 ldr r0, [pc, #32] ; (8001e6c ) + 8001e4a: f00c fe83 bl 800eb54 + 8001e4e: 6821 ldr r1, [r4, #0] + 8001e50: 4806 ldr r0, [pc, #24] ; (8001e6c ) + 8001e52: f00c ff07 bl 800ec64 + 8001e56: e8bd 4010 ldmia.w sp!, {r4, lr} + 8001e5a: 4804 ldr r0, [pc, #16] ; (8001e6c ) + 8001e5c: f00c bec8 b.w 800ebf0 + 8001e60: f247 5330 movw r3, #30000 ; 0x7530 + 8001e64: 6023 str r3, [r4, #0] + 8001e66: e7ef b.n 8001e48 + 8001e68: 20000070 .word 0x20000070 + 8001e6c: 20000428 .word 0x20000428 -08001e40 : - 8001e40: 4b01 ldr r3, [pc, #4] ; (8001e48 ) - 8001e42: 70d8 strb r0, [r3, #3] - 8001e44: 4770 bx lr - 8001e46: bf00 nop - 8001e48: 20000058 .word 0x20000058 +08001e70 : + 8001e70: b508 push {r3, lr} + 8001e72: 4b0e ldr r3, [pc, #56] ; (8001eac ) + 8001e74: 781b ldrb r3, [r3, #0] + 8001e76: 2b02 cmp r3, #2 + 8001e78: d103 bne.n 8001e82 + 8001e7a: 2100 movs r1, #0 + 8001e7c: 2008 movs r0, #8 + 8001e7e: f00c fc4f bl 800e720 + 8001e82: 480b ldr r0, [pc, #44] ; (8001eb0 ) + 8001e84: 2200 movs r2, #0 + 8001e86: f44f 4100 mov.w r1, #32768 ; 0x8000 + 8001e8a: f001 fbe7 bl 800365c + 8001e8e: 4808 ldr r0, [pc, #32] ; (8001eb0 ) + 8001e90: 2200 movs r2, #0 + 8001e92: f44f 7100 mov.w r1, #512 ; 0x200 + 8001e96: f001 fbe1 bl 800365c + 8001e9a: e8bd 4008 ldmia.w sp!, {r3, lr} + 8001e9e: 4804 ldr r0, [pc, #16] ; (8001eb0 ) + 8001ea0: 2200 movs r2, #0 + 8001ea2: f44f 6100 mov.w r1, #2048 ; 0x800 + 8001ea6: f001 bbd9 b.w 800365c + 8001eaa: bf00 nop + 8001eac: 20000000 .word 0x20000000 + 8001eb0: 48000400 .word 0x48000400 -08001e4c : - 8001e4c: 4b01 ldr r3, [pc, #4] ; (8001e54 ) - 8001e4e: 7418 strb r0, [r3, #16] - 8001e50: 4770 bx lr - 8001e52: bf00 nop - 8001e54: 20000058 .word 0x20000058 +08001eb4 : + 8001eb4: 4802 ldr r0, [pc, #8] ; (8001ec0 ) + 8001eb6: 2200 movs r2, #0 + 8001eb8: f44f 4100 mov.w r1, #32768 ; 0x8000 + 8001ebc: f001 bbce b.w 800365c + 8001ec0: 48000400 .word 0x48000400 -08001e58 : - 8001e58: b507 push {r0, r1, r2, lr} - 8001e5a: 4b06 ldr r3, [pc, #24] ; (8001e74 ) - 8001e5c: 2200 movs r2, #0 - 8001e5e: 5c1b ldrb r3, [r3, r0] - 8001e60: 9300 str r3, [sp, #0] - 8001e62: 4611 mov r1, r2 - 8001e64: 4b04 ldr r3, [pc, #16] ; (8001e78 ) - 8001e66: 2002 movs r0, #2 - 8001e68: f00c fd2a bl 800e8c0 - 8001e6c: b003 add sp, #12 - 8001e6e: f85d fb04 ldr.w pc, [sp], #4 - 8001e72: bf00 nop - 8001e74: 0800f592 .word 0x0800f592 - 8001e78: 0800f578 .word 0x0800f578 +08001ec4 : + 8001ec4: 4802 ldr r0, [pc, #8] ; (8001ed0 ) + 8001ec6: 2200 movs r2, #0 + 8001ec8: f44f 7100 mov.w r1, #512 ; 0x200 + 8001ecc: f001 bbc6 b.w 800365c + 8001ed0: 48000400 .word 0x48000400 -08001e7c : - 8001e7c: b508 push {r3, lr} - 8001e7e: 2002 movs r0, #2 - 8001e80: 2100 movs r1, #0 - 8001e82: f00c fe31 bl 800eae8 - 8001e86: e8bd 4008 ldmia.w sp!, {r3, lr} - 8001e8a: 4801 ldr r0, [pc, #4] ; (8001e90 ) - 8001e8c: f00d b894 b.w 800efb8 - 8001e90: 20000428 .word 0x20000428 +08001ed4 : + 8001ed4: b538 push {r3, r4, r5, lr} + 8001ed6: 4604 mov r4, r0 + 8001ed8: 460d mov r5, r1 + 8001eda: 4807 ldr r0, [pc, #28] ; (8001ef8 ) + 8001edc: f44f 6100 mov.w r1, #2048 ; 0x800 + 8001ee0: f7ff fa44 bl 800136c + 8001ee4: b930 cbnz r0, 8001ef4 + 8001ee6: 462a mov r2, r5 + 8001ee8: 4621 mov r1, r4 + 8001eea: 4803 ldr r0, [pc, #12] ; (8001ef8 ) + 8001eec: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} + 8001ef0: f7ff b93e b.w 8001170 + 8001ef4: bd38 pop {r3, r4, r5, pc} + 8001ef6: bf00 nop + 8001ef8: 0803f000 .word 0x0803f000 -08001e94 : - 8001e94: 2100 movs r1, #0 - 8001e96: 2001 movs r0, #1 - 8001e98: f00c be26 b.w 800eae8 +08001efc : + 8001efc: 460a mov r2, r1 + 8001efe: 4901 ldr r1, [pc, #4] ; (8001f04 ) + 8001f00: f7ff ba14 b.w 800132c + 8001f04: 0803f000 .word 0x0803f000 -08001e9c : - 8001e9c: b510 push {r4, lr} - 8001e9e: 4c09 ldr r4, [pc, #36] ; (8001ec4 ) - 8001ea0: b160 cbz r0, 8001ebc - 8001ea2: 6020 str r0, [r4, #0] - 8001ea4: 4808 ldr r0, [pc, #32] ; (8001ec8 ) - 8001ea6: f00d f839 bl 800ef1c - 8001eaa: 6821 ldr r1, [r4, #0] - 8001eac: 4806 ldr r0, [pc, #24] ; (8001ec8 ) - 8001eae: f00d f8bd bl 800f02c - 8001eb2: e8bd 4010 ldmia.w sp!, {r4, lr} - 8001eb6: 4804 ldr r0, [pc, #16] ; (8001ec8 ) - 8001eb8: f00d b87e b.w 800efb8 - 8001ebc: f247 5330 movw r3, #30000 ; 0x7530 - 8001ec0: 6023 str r3, [r4, #0] - 8001ec2: e7ef b.n 8001ea4 - 8001ec4: 20000070 .word 0x20000070 - 8001ec8: 20000428 .word 0x20000428 +08001f08 : + 8001f08: b538 push {r3, r4, r5, lr} + 8001f0a: 4815 ldr r0, [pc, #84] ; (8001f60 ) + 8001f0c: 2201 movs r2, #1 + 8001f0e: f44f 4100 mov.w r1, #32768 ; 0x8000 + 8001f12: f001 fba3 bl 800365c + 8001f16: 4812 ldr r0, [pc, #72] ; (8001f60 ) + 8001f18: 2201 movs r2, #1 + 8001f1a: f44f 7100 mov.w r1, #512 ; 0x200 + 8001f1e: f001 fb9d bl 800365c + 8001f22: 480f ldr r0, [pc, #60] ; (8001f60 ) + 8001f24: 2201 movs r2, #1 + 8001f26: f44f 6100 mov.w r1, #2048 ; 0x800 + 8001f2a: f001 fb97 bl 800365c + 8001f2e: 480d ldr r0, [pc, #52] ; (8001f64 ) + 8001f30: f00c fe10 bl 800eb54 + 8001f34: f004 fb52 bl 80065dc + 8001f38: b960 cbnz r0, 8001f54 + 8001f3a: 4c0b ldr r4, [pc, #44] ; (8001f68 ) + 8001f3c: 480b ldr r0, [pc, #44] ; (8001f6c ) + 8001f3e: 2501 movs r5, #1 + 8001f40: 7025 strb r5, [r4, #0] + 8001f42: f004 f9dd bl 8006300 + 8001f46: 7820 ldrb r0, [r4, #0] + 8001f48: 4629 mov r1, r5 + 8001f4a: f003 ff2f bl 8005dac + 8001f4e: 4805 ldr r0, [pc, #20] ; (8001f64 ) + 8001f50: f00c fe4e bl 800ebf0 + 8001f54: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} + 8001f58: 4805 ldr r0, [pc, #20] ; (8001f70 ) + 8001f5a: f00c be49 b.w 800ebf0 + 8001f5e: bf00 nop + 8001f60: 48000400 .word 0x48000400 + 8001f64: 20000428 .word 0x20000428 + 8001f68: 20000000 .word 0x20000000 + 8001f6c: 20000058 .word 0x20000058 + 8001f70: 200003f8 .word 0x200003f8 -08001ecc : - 8001ecc: b537 push {r0, r1, r2, r4, r5, lr} - 8001ece: 4604 mov r4, r0 - 8001ed0: b338 cbz r0, 8001f22 - 8001ed2: f990 5006 ldrsb.w r5, [r0, #6] - 8001ed6: bb35 cbnz r5, 8001f26 - 8001ed8: 4814 ldr r0, [pc, #80] ; (8001f2c ) - 8001eda: f00d f81f bl 800ef1c - 8001ede: 4814 ldr r0, [pc, #80] ; (8001f30 ) - 8001ee0: 462a mov r2, r5 - 8001ee2: f44f 6100 mov.w r1, #2048 ; 0x800 - 8001ee6: f001 fd7d bl 80039e4 - 8001eea: 4b12 ldr r3, [pc, #72] ; (8001f34 ) - 8001eec: 462a mov r2, r5 - 8001eee: 4629 mov r1, r5 - 8001ef0: 2002 movs r0, #2 - 8001ef2: f00c fce5 bl 800e8c0 - 8001ef6: 79e3 ldrb r3, [r4, #7] - 8001ef8: 2b01 cmp r3, #1 - 8001efa: bf0c ite eq - 8001efc: 4b0e ldreq r3, [pc, #56] ; (8001f38 ) - 8001efe: 4b0f ldrne r3, [pc, #60] ; (8001f3c ) - 8001f00: 2200 movs r2, #0 - 8001f02: 4611 mov r1, r2 - 8001f04: 2002 movs r0, #2 - 8001f06: f00c fcdb bl 800e8c0 - 8001f0a: f994 3005 ldrsb.w r3, [r4, #5] - 8001f0e: 9301 str r3, [sp, #4] - 8001f10: f994 3004 ldrsb.w r3, [r4, #4] - 8001f14: 9300 str r3, [sp, #0] - 8001f16: 2200 movs r2, #0 - 8001f18: 4b09 ldr r3, [pc, #36] ; (8001f40 ) - 8001f1a: 4611 mov r1, r2 - 8001f1c: 2003 movs r0, #3 - 8001f1e: f00c fccf bl 800e8c0 - 8001f22: b003 add sp, #12 - 8001f24: bd30 pop {r4, r5, pc} - 8001f26: 4b07 ldr r3, [pc, #28] ; (8001f44 ) - 8001f28: e7ea b.n 8001f00 - 8001f2a: bf00 nop - 8001f2c: 200003c8 .word 0x200003c8 - 8001f30: 48000400 .word 0x48000400 - 8001f34: 0800f596 .word 0x0800f596 - 8001f38: 0800f5ab .word 0x0800f5ab - 8001f3c: 0800f5c8 .word 0x0800f5c8 - 8001f40: 0800f5fe .word 0x0800f5fe - 8001f44: 0800f5e5 .word 0x0800f5e5 +08001f74 : + 8001f74: f004 bbce b.w 8006714 -08001f48 : - 8001f48: b508 push {r3, lr} - 8001f4a: 4b0e ldr r3, [pc, #56] ; (8001f84 ) - 8001f4c: 781b ldrb r3, [r3, #0] - 8001f4e: 2b02 cmp r3, #2 - 8001f50: d103 bne.n 8001f5a - 8001f52: 2100 movs r1, #0 - 8001f54: 2008 movs r0, #8 - 8001f56: f00c fdc7 bl 800eae8 - 8001f5a: 480b ldr r0, [pc, #44] ; (8001f88 ) - 8001f5c: 2200 movs r2, #0 - 8001f5e: f44f 4100 mov.w r1, #32768 ; 0x8000 - 8001f62: f001 fd3f bl 80039e4 - 8001f66: 4808 ldr r0, [pc, #32] ; (8001f88 ) - 8001f68: 2200 movs r2, #0 - 8001f6a: f44f 7100 mov.w r1, #512 ; 0x200 - 8001f6e: f001 fd39 bl 80039e4 - 8001f72: e8bd 4008 ldmia.w sp!, {r3, lr} - 8001f76: 4804 ldr r0, [pc, #16] ; (8001f88 ) - 8001f78: 2200 movs r2, #0 - 8001f7a: f44f 6100 mov.w r1, #2048 ; 0x800 - 8001f7e: f001 bd31 b.w 80039e4 - 8001f82: bf00 nop - 8001f84: 20000000 .word 0x20000000 - 8001f88: 48000400 .word 0x48000400 +08001f78 : + 8001f78: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} + 8001f7c: b087 sub sp, #28 + 8001f7e: f7ff fbff bl 8001780 + 8001f82: 4605 mov r5, r0 + 8001f84: f004 f808 bl 8005f98 + 8001f88: 4607 mov r7, r0 + 8001f8a: b188 cbz r0, 8001fb0 + 8001f8c: 2400 movs r4, #0 + 8001f8e: 4846 ldr r0, [pc, #280] ; (80020a8 ) + 8001f90: f00c fde0 bl 800eb54 + 8001f94: 4b45 ldr r3, [pc, #276] ; (80020ac ) + 8001f96: 4844 ldr r0, [pc, #272] ; (80020a8 ) + 8001f98: 6819 ldr r1, [r3, #0] + 8001f9a: 42a1 cmp r1, r4 + 8001f9c: bf38 it cc + 8001f9e: 4621 movcc r1, r4 + 8001fa0: f00c fe60 bl 800ec64 + 8001fa4: 4840 ldr r0, [pc, #256] ; (80020a8 ) + 8001fa6: f00c fe23 bl 800ebf0 + 8001faa: b007 add sp, #28 + 8001fac: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 8001fb0: 4c3f ldr r4, [pc, #252] ; (80020b0 ) + 8001fb2: 4668 mov r0, sp + 8001fb4: f7ff fcac bl 8001910 + 8001fb8: 2302 movs r3, #2 + 8001fba: 9802 ldr r0, [sp, #8] + 8001fbc: 7023 strb r3, [r4, #0] + 8001fbe: 493d ldr r1, [pc, #244] ; (80020b4 ) + 8001fc0: f7fe fc5c bl 800087c <__aeabi_fmul> + 8001fc4: f7fe fdd0 bl 8000b68 <__aeabi_f2uiz> + 8001fc8: b286 uxth r6, r0 + 8001fca: 9801 ldr r0, [sp, #4] + 8001fcc: f7fe fda6 bl 8000b1c <__aeabi_f2iz> + 8001fd0: 4939 ldr r1, [pc, #228] ; (80020b8 ) + 8001fd2: fa0f f880 sxth.w r8, r0 + 8001fd6: 9800 ldr r0, [sp, #0] + 8001fd8: f7fe fc50 bl 800087c <__aeabi_fmul> + 8001fdc: 4935 ldr r1, [pc, #212] ; (80020b4 ) + 8001fde: f7fe fd01 bl 80009e4 <__aeabi_fdiv> + 8001fe2: f7fe fdc1 bl 8000b68 <__aeabi_f2uiz> + 8001fe6: 4a35 ldr r2, [pc, #212] ; (80020bc ) + 8001fe8: 6863 ldr r3, [r4, #4] + 8001fea: 7812 ldrb r2, [r2, #0] + 8001fec: 701a strb r2, [r3, #0] + 8001fee: 6863 ldr r3, [r4, #4] + 8001ff0: f3c0 2207 ubfx r2, r0, #8, #8 + 8001ff4: 705a strb r2, [r3, #1] + 8001ff6: 6863 ldr r3, [r4, #4] + 8001ff8: 7098 strb r0, [r3, #2] + 8001ffa: 6863 ldr r3, [r4, #4] + 8001ffc: f883 8003 strb.w r8, [r3, #3] + 8002000: 6863 ldr r3, [r4, #4] + 8002002: 0a32 lsrs r2, r6, #8 + 8002004: 711a strb r2, [r3, #4] + 8002006: 6863 ldr r3, [r4, #4] + 8002008: 715e strb r6, [r3, #5] + 800200a: 4e2d ldr r6, [pc, #180] ; (80020c0 ) + 800200c: 7833 ldrb r3, [r6, #0] + 800200e: 2b08 cmp r3, #8 + 8002010: d001 beq.n 8002016 + 8002012: 2b01 cmp r3, #1 + 8002014: d82d bhi.n 8002072 + 8002016: 6862 ldr r2, [r4, #4] + 8002018: 2300 movs r3, #0 + 800201a: 7193 strb r3, [r2, #6] + 800201c: 6862 ldr r2, [r4, #4] + 800201e: 71d3 strb r3, [r2, #7] + 8002020: 6862 ldr r2, [r4, #4] + 8002022: b228 sxth r0, r5 + 8002024: eb00 0040 add.w r0, r0, r0, lsl #1 + 8002028: 7213 strb r3, [r2, #8] + 800202a: 7253 strb r3, [r2, #9] + 800202c: eb00 1040 add.w r0, r0, r0, lsl #5 + 8002030: 23fe movs r3, #254 ; 0xfe + 8002032: fbb0 f0f3 udiv r0, r0, r3 + 8002036: 230b movs r3, #11 + 8002038: 7290 strb r0, [r2, #10] + 800203a: 7063 strb r3, [r4, #1] + 800203c: 4c21 ldr r4, [pc, #132] ; (80020c4 ) + 800203e: 7a63 ldrb r3, [r4, #9] + 8002040: b163 cbz r3, 800205c + 8002042: f003 ff95 bl 8005f70 + 8002046: 2801 cmp r0, #1 + 8002048: d108 bne.n 800205c + 800204a: 4620 mov r0, r4 + 800204c: f00c fd82 bl 800eb54 + 8002050: 481d ldr r0, [pc, #116] ; (80020c8 ) + 8002052: 2200 movs r2, #0 + 8002054: f44f 6100 mov.w r1, #2048 ; 0x800 + 8002058: f001 fb00 bl 800365c + 800205c: 78f1 ldrb r1, [r6, #3] + 800205e: 4814 ldr r0, [pc, #80] ; (80020b0 ) + 8002060: 2200 movs r2, #0 + 8002062: f003 ffaf bl 8005fc4 + 8002066: 3006 adds r0, #6 + 8002068: d190 bne.n 8001f8c + 800206a: f003 ff7b bl 8005f64 + 800206e: 4604 mov r4, r0 + 8002070: e78d b.n 8001f8e + 8002072: e9dd 8503 ldrd r8, r5, [sp, #12] + 8002076: f8d4 9004 ldr.w r9, [r4, #4] + 800207a: f7ff fb81 bl 8001780 + 800207e: f889 0006 strb.w r0, [r9, #6] + 8002082: 6863 ldr r3, [r4, #4] + 8002084: ea4f 4228 mov.w r2, r8, asr #16 + 8002088: 71da strb r2, [r3, #7] + 800208a: 6863 ldr r3, [r4, #4] + 800208c: ea4f 2228 mov.w r2, r8, asr #8 + 8002090: 721a strb r2, [r3, #8] + 8002092: 142a asrs r2, r5, #16 + 8002094: 729a strb r2, [r3, #10] + 8002096: 122a asrs r2, r5, #8 + 8002098: f883 8009 strb.w r8, [r3, #9] + 800209c: 72da strb r2, [r3, #11] + 800209e: 731d strb r5, [r3, #12] + 80020a0: 735f strb r7, [r3, #13] + 80020a2: 739f strb r7, [r3, #14] + 80020a4: 230f movs r3, #15 + 80020a6: e7c8 b.n 800203a + 80020a8: 20000428 .word 0x20000428 + 80020ac: 20000070 .word 0x20000070 + 80020b0: 20000004 .word 0x20000004 + 80020b4: 41200000 .word 0x41200000 + 80020b8: 42c80000 .word 0x42c80000 + 80020bc: 200003c7 .word 0x200003c7 + 80020c0: 20000058 .word 0x20000058 + 80020c4: 200003c8 .word 0x200003c8 + 80020c8: 48000400 .word 0x48000400 -08001f8c : - 8001f8c: 4802 ldr r0, [pc, #8] ; (8001f98 ) - 8001f8e: 2200 movs r2, #0 - 8001f90: f44f 4100 mov.w r1, #32768 ; 0x8000 - 8001f94: f001 bd26 b.w 80039e4 - 8001f98: 48000400 .word 0x48000400 +080020cc : + 80020cc: 4802 ldr r0, [pc, #8] ; (80020d8 ) + 80020ce: f44f 6100 mov.w r1, #2048 ; 0x800 + 80020d2: f001 bac8 b.w 8003666 + 80020d6: bf00 nop + 80020d8: 48000400 .word 0x48000400 -08001f9c : - 8001f9c: 4802 ldr r0, [pc, #8] ; (8001fa8 ) - 8001f9e: 2200 movs r2, #0 - 8001fa0: f44f 7100 mov.w r1, #512 ; 0x200 - 8001fa4: f001 bd1e b.w 80039e4 - 8001fa8: 48000400 .word 0x48000400 +080020dc : + 80020dc: b508 push {r3, lr} + 80020de: f004 fa86 bl 80065ee + 80020e2: b980 cbnz r0, 8002106 + 80020e4: f003 ff44 bl 8005f70 + 80020e8: 2801 cmp r0, #1 + 80020ea: d10c bne.n 8002106 + 80020ec: f3bf 8f4f dsb sy + 80020f0: 4905 ldr r1, [pc, #20] ; (8002108 ) + 80020f2: 4b06 ldr r3, [pc, #24] ; (800210c ) + 80020f4: 68ca ldr r2, [r1, #12] + 80020f6: f402 62e0 and.w r2, r2, #1792 ; 0x700 + 80020fa: 4313 orrs r3, r2 + 80020fc: 60cb str r3, [r1, #12] + 80020fe: f3bf 8f4f dsb sy + 8002102: bf00 nop + 8002104: e7fd b.n 8002102 + 8002106: bd08 pop {r3, pc} + 8002108: e000ed00 .word 0xe000ed00 + 800210c: 05fa0004 .word 0x05fa0004 -08001fac : - 8001fac: b538 push {r3, r4, r5, lr} - 8001fae: 4604 mov r4, r0 - 8001fb0: 460d mov r5, r1 - 8001fb2: 4807 ldr r0, [pc, #28] ; (8001fd0 ) - 8001fb4: f44f 6100 mov.w r1, #2048 ; 0x800 - 8001fb8: f7ff f9d8 bl 800136c - 8001fbc: b930 cbnz r0, 8001fcc - 8001fbe: 462a mov r2, r5 - 8001fc0: 4621 mov r1, r4 - 8001fc2: 4803 ldr r0, [pc, #12] ; (8001fd0 ) - 8001fc4: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} - 8001fc8: f7ff b8d2 b.w 8001170 - 8001fcc: bd38 pop {r3, r4, r5, pc} - 8001fce: bf00 nop - 8001fd0: 0803f000 .word 0x0803f000 +08002110 : + 8002110: b508 push {r3, lr} + 8002112: b160 cbz r0, 800212e + 8002114: 7803 ldrb r3, [r0, #0] + 8002116: b153 cbz r3, 800212e + 8002118: 4805 ldr r0, [pc, #20] ; (8002130 ) + 800211a: 2201 movs r2, #1 + 800211c: f44f 7100 mov.w r1, #512 ; 0x200 + 8002120: f001 fa9c bl 800365c + 8002124: e8bd 4008 ldmia.w sp!, {r3, lr} + 8002128: 4802 ldr r0, [pc, #8] ; (8002134 ) + 800212a: f00c bd61 b.w 800ebf0 + 800212e: bd08 pop {r3, pc} + 8002130: 48000400 .word 0x48000400 + 8002134: 20000410 .word 0x20000410 -08001fd4 : - 8001fd4: 460a mov r2, r1 - 8001fd6: 4901 ldr r1, [pc, #4] ; (8001fdc ) - 8001fd8: f7ff b9a8 b.w 800132c - 8001fdc: 0803f000 .word 0x0803f000 +08002138 : + 8002138: b510 push {r4, lr} + 800213a: b168 cbz r0, 8002158 + 800213c: f990 4006 ldrsb.w r4, [r0, #6] + 8002140: b954 cbnz r4, 8002158 + 8002142: 4806 ldr r0, [pc, #24] ; (800215c ) + 8002144: f00c fd06 bl 800eb54 + 8002148: 4622 mov r2, r4 + 800214a: 4805 ldr r0, [pc, #20] ; (8002160 ) + 800214c: e8bd 4010 ldmia.w sp!, {r4, lr} + 8002150: f44f 6100 mov.w r1, #2048 ; 0x800 + 8002154: f001 ba82 b.w 800365c + 8002158: bd10 pop {r4, pc} + 800215a: bf00 nop + 800215c: 200003c8 .word 0x200003c8 + 8002160: 48000400 .word 0x48000400 -08001fe0 : - 8001fe0: b570 push {r4, r5, r6, lr} - 8001fe2: 481f ldr r0, [pc, #124] ; (8002060 ) - 8001fe4: 2201 movs r2, #1 - 8001fe6: f44f 4100 mov.w r1, #32768 ; 0x8000 - 8001fea: f001 fcfb bl 80039e4 - 8001fee: 481c ldr r0, [pc, #112] ; (8002060 ) - 8001ff0: 2201 movs r2, #1 - 8001ff2: f44f 7100 mov.w r1, #512 ; 0x200 - 8001ff6: f001 fcf5 bl 80039e4 - 8001ffa: 2201 movs r2, #1 - 8001ffc: f44f 6100 mov.w r1, #2048 ; 0x800 - 8002000: 4817 ldr r0, [pc, #92] ; (8002060 ) - 8002002: f001 fcef bl 80039e4 - 8002006: 4817 ldr r0, [pc, #92] ; (8002064 ) - 8002008: f00c ff88 bl 800ef1c - 800200c: f004 fcca bl 80069a4 - 8002010: 4604 mov r4, r0 - 8002012: b150 cbz r0, 800202a - 8002014: 2200 movs r2, #0 - 8002016: 4b14 ldr r3, [pc, #80] ; (8002068 ) - 8002018: 4611 mov r1, r2 - 800201a: 2002 movs r0, #2 - 800201c: f00c fc50 bl 800e8c0 - 8002020: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 8002024: 4811 ldr r0, [pc, #68] ; (800206c ) - 8002026: f00c bfc7 b.w 800efb8 - 800202a: 4d11 ldr r5, [pc, #68] ; (8002070 ) - 800202c: 4b11 ldr r3, [pc, #68] ; (8002074 ) - 800202e: 4602 mov r2, r0 - 8002030: 4601 mov r1, r0 - 8002032: 2002 movs r0, #2 - 8002034: f00c fc44 bl 800e8c0 - 8002038: 2601 movs r6, #1 - 800203a: 4b0f ldr r3, [pc, #60] ; (8002078 ) - 800203c: 702e strb r6, [r5, #0] - 800203e: 4622 mov r2, r4 - 8002040: 4621 mov r1, r4 - 8002042: 2002 movs r0, #2 - 8002044: f00c fc3c bl 800e8c0 - 8002048: 480c ldr r0, [pc, #48] ; (800207c ) - 800204a: f004 fb3d bl 80066c8 - 800204e: 7828 ldrb r0, [r5, #0] - 8002050: 4631 mov r1, r6 - 8002052: f004 f88f bl 8006174 - 8002056: 4803 ldr r0, [pc, #12] ; (8002064 ) - 8002058: f00c ffae bl 800efb8 - 800205c: e7e0 b.n 8002020 - 800205e: bf00 nop - 8002060: 48000400 .word 0x48000400 - 8002064: 20000428 .word 0x20000428 - 8002068: 0800f627 .word 0x0800f627 - 800206c: 200003f8 .word 0x200003f8 - 8002070: 20000000 .word 0x20000000 - 8002074: 0800f645 .word 0x0800f645 - 8002078: 0800f659 .word 0x0800f659 - 800207c: 20000058 .word 0x20000058 +08002164 : + 8002164: b538 push {r3, r4, r5, lr} + 8002166: 4604 mov r4, r0 + 8002168: 460d mov r5, r1 + 800216a: b381 cbz r1, 80021ce + 800216c: 4818 ldr r0, [pc, #96] ; (80021d0 ) + 800216e: 2201 movs r2, #1 + 8002170: f44f 4100 mov.w r1, #32768 ; 0x8000 + 8002174: f001 fa72 bl 800365c + 8002178: 4816 ldr r0, [pc, #88] ; (80021d4 ) + 800217a: f00c fd39 bl 800ebf0 + 800217e: 782b ldrb r3, [r5, #0] + 8002180: b32b cbz r3, 80021ce + 8002182: b324 cbz r4, 80021ce + 8002184: 6863 ldr r3, [r4, #4] + 8002186: 7822 ldrb r2, [r4, #0] + 8002188: b30b cbz r3, 80021ce + 800218a: 2a02 cmp r2, #2 + 800218c: d00e beq.n 80021ac + 800218e: 2a03 cmp r2, #3 + 8002190: d11d bne.n 80021ce + 8002192: 7862 ldrb r2, [r4, #1] + 8002194: 2a01 cmp r2, #1 + 8002196: d11a bne.n 80021ce + 8002198: 7818 ldrb r0, [r3, #0] + 800219a: 2801 cmp r0, #1 + 800219c: d002 beq.n 80021a4 + 800219e: 2802 cmp r0, #2 + 80021a0: d000 beq.n 80021a4 + 80021a2: b9a0 cbnz r0, 80021ce + 80021a4: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} + 80021a8: f003 bfd8 b.w 800615c + 80021ac: 7862 ldrb r2, [r4, #1] + 80021ae: 2a01 cmp r2, #1 + 80021b0: d10d bne.n 80021ce + 80021b2: 781b ldrb r3, [r3, #0] + 80021b4: 4908 ldr r1, [pc, #32] ; (80021d8 ) + 80021b6: f003 0301 and.w r3, r3, #1 + 80021ba: 700b strb r3, [r1, #0] + 80021bc: b903 cbnz r3, 80021c0 + 80021be: 461a mov r2, r3 + 80021c0: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} + 80021c4: 4802 ldr r0, [pc, #8] ; (80021d0 ) + 80021c6: f44f 6100 mov.w r1, #2048 ; 0x800 + 80021ca: f001 ba47 b.w 800365c + 80021ce: bd38 pop {r3, r4, r5, pc} + 80021d0: 48000400 .word 0x48000400 + 80021d4: 200003e0 .word 0x200003e0 + 80021d8: 200003c7 .word 0x200003c7 -08002080 : - 8002080: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} - 8002084: b089 sub sp, #36 ; 0x24 - 8002086: f7ff fb93 bl 80017b0 - 800208a: 4605 mov r5, r0 - 800208c: f004 f968 bl 8006360 - 8002090: 4607 mov r7, r0 - 8002092: b188 cbz r0, 80020b8 - 8002094: 2400 movs r4, #0 - 8002096: 485b ldr r0, [pc, #364] ; (8002204 ) - 8002098: f00c ff40 bl 800ef1c - 800209c: 4b5a ldr r3, [pc, #360] ; (8002208 ) - 800209e: 4859 ldr r0, [pc, #356] ; (8002204 ) - 80020a0: 6819 ldr r1, [r3, #0] - 80020a2: 42a1 cmp r1, r4 - 80020a4: bf38 it cc - 80020a6: 4621 movcc r1, r4 - 80020a8: f00c ffc0 bl 800f02c - 80020ac: 4855 ldr r0, [pc, #340] ; (8002204 ) - 80020ae: f00c ff83 bl 800efb8 - 80020b2: b009 add sp, #36 ; 0x24 - 80020b4: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} - 80020b8: a802 add r0, sp, #8 - 80020ba: f7ff fc41 bl 8001940 - 80020be: 4b53 ldr r3, [pc, #332] ; (800220c ) - 80020c0: 9500 str r5, [sp, #0] - 80020c2: 2201 movs r2, #1 - 80020c4: 4639 mov r1, r7 - 80020c6: 2002 movs r0, #2 - 80020c8: f00c fbfa bl 800e8c0 - 80020cc: 9803 ldr r0, [sp, #12] - 80020ce: 4c50 ldr r4, [pc, #320] ; (8002210 ) - 80020d0: f7fe fd24 bl 8000b1c <__aeabi_f2iz> - 80020d4: b200 sxth r0, r0 - 80020d6: 2201 movs r2, #1 - 80020d8: 4b4e ldr r3, [pc, #312] ; (8002214 ) - 80020da: 9000 str r0, [sp, #0] - 80020dc: 4639 mov r1, r7 - 80020de: 2002 movs r0, #2 - 80020e0: f00c fbee bl 800e8c0 - 80020e4: 2302 movs r3, #2 - 80020e6: 9804 ldr r0, [sp, #16] - 80020e8: 7023 strb r3, [r4, #0] - 80020ea: 494b ldr r1, [pc, #300] ; (8002218 ) - 80020ec: f7fe fbc6 bl 800087c <__aeabi_fmul> - 80020f0: f7fe fd3a bl 8000b68 <__aeabi_f2uiz> - 80020f4: b286 uxth r6, r0 - 80020f6: 9803 ldr r0, [sp, #12] - 80020f8: f7fe fd10 bl 8000b1c <__aeabi_f2iz> - 80020fc: 4947 ldr r1, [pc, #284] ; (800221c ) - 80020fe: fa0f f880 sxth.w r8, r0 - 8002102: 9802 ldr r0, [sp, #8] - 8002104: f7fe fbba bl 800087c <__aeabi_fmul> - 8002108: 4943 ldr r1, [pc, #268] ; (8002218 ) - 800210a: f7fe fc6b bl 80009e4 <__aeabi_fdiv> - 800210e: f7fe fd2b bl 8000b68 <__aeabi_f2uiz> - 8002112: 4a43 ldr r2, [pc, #268] ; (8002220 ) - 8002114: 6863 ldr r3, [r4, #4] - 8002116: 7812 ldrb r2, [r2, #0] - 8002118: 701a strb r2, [r3, #0] - 800211a: 6863 ldr r3, [r4, #4] - 800211c: f3c0 2207 ubfx r2, r0, #8, #8 - 8002120: 705a strb r2, [r3, #1] - 8002122: 6863 ldr r3, [r4, #4] - 8002124: 7098 strb r0, [r3, #2] - 8002126: 6863 ldr r3, [r4, #4] - 8002128: f883 8003 strb.w r8, [r3, #3] - 800212c: 6863 ldr r3, [r4, #4] - 800212e: 0a32 lsrs r2, r6, #8 - 8002130: 711a strb r2, [r3, #4] - 8002132: 6863 ldr r3, [r4, #4] - 8002134: 715e strb r6, [r3, #5] - 8002136: 4e3b ldr r6, [pc, #236] ; (8002224 ) - 8002138: 7833 ldrb r3, [r6, #0] - 800213a: 2b08 cmp r3, #8 - 800213c: d001 beq.n 8002142 - 800213e: 2b01 cmp r3, #1 - 8002140: d830 bhi.n 80021a4 - 8002142: 6862 ldr r2, [r4, #4] - 8002144: 2300 movs r3, #0 - 8002146: 7193 strb r3, [r2, #6] - 8002148: 6862 ldr r2, [r4, #4] - 800214a: 71d3 strb r3, [r2, #7] - 800214c: 6862 ldr r2, [r4, #4] - 800214e: b22d sxth r5, r5 - 8002150: eb05 0545 add.w r5, r5, r5, lsl #1 - 8002154: 7213 strb r3, [r2, #8] - 8002156: 7253 strb r3, [r2, #9] - 8002158: eb05 1545 add.w r5, r5, r5, lsl #5 - 800215c: 23fe movs r3, #254 ; 0xfe - 800215e: fbb5 f5f3 udiv r5, r5, r3 - 8002162: 230b movs r3, #11 - 8002164: 7295 strb r5, [r2, #10] - 8002166: 7063 strb r3, [r4, #1] - 8002168: 4c2f ldr r4, [pc, #188] ; (8002228 ) - 800216a: 7a63 ldrb r3, [r4, #9] - 800216c: b163 cbz r3, 8002188 - 800216e: f004 f8e3 bl 8006338 - 8002172: 2801 cmp r0, #1 - 8002174: d108 bne.n 8002188 - 8002176: 4620 mov r0, r4 - 8002178: f00c fed0 bl 800ef1c - 800217c: 482b ldr r0, [pc, #172] ; (800222c ) - 800217e: 2200 movs r2, #0 - 8002180: f44f 6100 mov.w r1, #2048 ; 0x800 - 8002184: f001 fc2e bl 80039e4 - 8002188: 78f1 ldrb r1, [r6, #3] - 800218a: 4821 ldr r0, [pc, #132] ; (8002210 ) - 800218c: 2200 movs r2, #0 - 800218e: f004 f8fd bl 800638c - 8002192: 4604 mov r4, r0 - 8002194: bb08 cbnz r0, 80021da - 8002196: 2201 movs r2, #1 - 8002198: 4601 mov r1, r0 - 800219a: 4b25 ldr r3, [pc, #148] ; (8002230 ) - 800219c: 4610 mov r0, r2 - 800219e: f00c fb8f bl 800e8c0 - 80021a2: e778 b.n 8002096 - 80021a4: e9dd 8505 ldrd r8, r5, [sp, #20] - 80021a8: f8d4 9004 ldr.w r9, [r4, #4] - 80021ac: f7ff fb00 bl 80017b0 - 80021b0: f889 0006 strb.w r0, [r9, #6] - 80021b4: 6863 ldr r3, [r4, #4] - 80021b6: ea4f 4228 mov.w r2, r8, asr #16 - 80021ba: 71da strb r2, [r3, #7] - 80021bc: 6863 ldr r3, [r4, #4] - 80021be: ea4f 2228 mov.w r2, r8, asr #8 - 80021c2: 721a strb r2, [r3, #8] - 80021c4: 142a asrs r2, r5, #16 - 80021c6: 729a strb r2, [r3, #10] - 80021c8: 122a asrs r2, r5, #8 - 80021ca: f883 8009 strb.w r8, [r3, #9] - 80021ce: 72da strb r2, [r3, #11] - 80021d0: 731d strb r5, [r3, #12] - 80021d2: 735f strb r7, [r3, #13] - 80021d4: 739f strb r7, [r3, #14] - 80021d6: 230f movs r3, #15 - 80021d8: e7c5 b.n 8002166 - 80021da: 3406 adds r4, #6 - 80021dc: f47f af5a bne.w 8002094 - 80021e0: f004 f8a4 bl 800632c - 80021e4: 4604 mov r4, r0 - 80021e6: 2800 cmp r0, #0 - 80021e8: f43f af55 beq.w 8002096 - 80021ec: 2201 movs r2, #1 - 80021ee: f44f 737a mov.w r3, #1000 ; 0x3e8 - 80021f2: 2100 movs r1, #0 - 80021f4: fbb0 f3f3 udiv r3, r0, r3 - 80021f8: 4610 mov r0, r2 - 80021fa: 9300 str r3, [sp, #0] - 80021fc: 4b0d ldr r3, [pc, #52] ; (8002234 ) - 80021fe: f00c fb5f bl 800e8c0 - 8002202: e748 b.n 8002096 - 8002204: 20000428 .word 0x20000428 - 8002208: 20000070 .word 0x20000070 - 800220c: 0800f678 .word 0x0800f678 - 8002210: 20000004 .word 0x20000004 - 8002214: 0800f683 .word 0x0800f683 - 8002218: 41200000 .word 0x41200000 - 800221c: 42c80000 .word 0x42c80000 - 8002220: 200003c7 .word 0x200003c7 - 8002224: 20000058 .word 0x20000058 - 8002228: 200003c8 .word 0x200003c8 - 800222c: 48000400 .word 0x48000400 - 8002230: 0800f68e .word 0x0800f68e - 8002234: 0800f69d .word 0x0800f69d - -08002238 : - 8002238: 4802 ldr r0, [pc, #8] ; (8002244 ) - 800223a: f44f 6100 mov.w r1, #2048 ; 0x800 - 800223e: f001 bbd6 b.w 80039ee - 8002242: bf00 nop - 8002244: 48000400 .word 0x48000400 - -08002248 : - 8002248: b500 push {lr} - 800224a: 4603 mov r3, r0 - 800224c: b08d sub sp, #52 ; 0x34 - 800224e: 2800 cmp r0, #0 - 8002250: d02c beq.n 80022ac - 8002252: 7840 ldrb r0, [r0, #1] - 8002254: 2802 cmp r0, #2 - 8002256: d00a beq.n 800226e - 8002258: 2803 cmp r0, #3 - 800225a: d02a beq.n 80022b2 - 800225c: 4b16 ldr r3, [pc, #88] ; (80022b8 ) - 800225e: 2200 movs r2, #0 - 8002260: 4611 mov r1, r2 - 8002262: 2002 movs r0, #2 - 8002264: b00d add sp, #52 ; 0x34 - 8002266: f85d eb04 ldr.w lr, [sp], #4 - 800226a: f00c bb29 b.w 800e8c0 - 800226e: 7f1a ldrb r2, [r3, #28] - 8002270: 920b str r2, [sp, #44] ; 0x2c - 8002272: 7eda ldrb r2, [r3, #27] - 8002274: 920a str r2, [sp, #40] ; 0x28 - 8002276: 7e9a ldrb r2, [r3, #26] - 8002278: 9209 str r2, [sp, #36] ; 0x24 - 800227a: 7e5a ldrb r2, [r3, #25] - 800227c: 9208 str r2, [sp, #32] - 800227e: 7e1a ldrb r2, [r3, #24] - 8002280: 9207 str r2, [sp, #28] - 8002282: 7dda ldrb r2, [r3, #23] - 8002284: 9206 str r2, [sp, #24] - 8002286: 7d9a ldrb r2, [r3, #22] - 8002288: 9205 str r2, [sp, #20] - 800228a: 685a ldr r2, [r3, #4] - 800228c: 9204 str r2, [sp, #16] - 800228e: 68da ldr r2, [r3, #12] - 8002290: 9203 str r2, [sp, #12] - 8002292: f993 2014 ldrsb.w r2, [r3, #20] - 8002296: 9202 str r2, [sp, #8] - 8002298: f9b3 2012 ldrsh.w r2, [r3, #18] - 800229c: 9201 str r2, [sp, #4] - 800229e: 7c1b ldrb r3, [r3, #16] - 80022a0: 9300 str r3, [sp, #0] - 80022a2: 2200 movs r2, #0 - 80022a4: 4b05 ldr r3, [pc, #20] ; (80022bc ) - 80022a6: 4611 mov r1, r2 - 80022a8: f00c fb0a bl 800e8c0 - 80022ac: b00d add sp, #52 ; 0x34 - 80022ae: f85d fb04 ldr.w pc, [sp], #4 - 80022b2: 4b03 ldr r3, [pc, #12] ; (80022c0 ) - 80022b4: e7d3 b.n 800225e - 80022b6: bf00 nop - 80022b8: 0800f6bb .word 0x0800f6bb - 80022bc: 0800f6d2 .word 0x0800f6d2 - 80022c0: 0800f744 .word 0x0800f744 - -080022c4 : - 80022c4: 2801 cmp r0, #1 - 80022c6: f04f 0200 mov.w r2, #0 - 80022ca: bf0c ite eq - 80022cc: 4b02 ldreq r3, [pc, #8] ; (80022d8 ) - 80022ce: 4b03 ldrne r3, [pc, #12] ; (80022dc ) - 80022d0: 4611 mov r1, r2 - 80022d2: 2002 movs r0, #2 - 80022d4: f00c baf4 b.w 800e8c0 - 80022d8: 0800f763 .word 0x0800f763 - 80022dc: 0800f775 .word 0x0800f775 - -080022e0 : - 80022e0: b508 push {r3, lr} - 80022e2: f004 fb68 bl 80069b6 - 80022e6: b980 cbnz r0, 800230a - 80022e8: f004 f826 bl 8006338 - 80022ec: 2801 cmp r0, #1 - 80022ee: d10c bne.n 800230a - 80022f0: f3bf 8f4f dsb sy - 80022f4: 4905 ldr r1, [pc, #20] ; (800230c ) - 80022f6: 4b06 ldr r3, [pc, #24] ; (8002310 ) - 80022f8: 68ca ldr r2, [r1, #12] - 80022fa: f402 62e0 and.w r2, r2, #1792 ; 0x700 - 80022fe: 4313 orrs r3, r2 - 8002300: 60cb str r3, [r1, #12] - 8002302: f3bf 8f4f dsb sy - 8002306: bf00 nop - 8002308: e7fd b.n 8002306 - 800230a: bd08 pop {r3, pc} - 800230c: e000ed00 .word 0xe000ed00 - 8002310: 05fa0004 .word 0x05fa0004 - -08002314 : - 8002314: b51f push {r0, r1, r2, r3, r4, lr} - 8002316: 4604 mov r4, r0 - 8002318: 2800 cmp r0, #0 - 800231a: d037 beq.n 800238c - 800231c: 7803 ldrb r3, [r0, #0] - 800231e: 2b00 cmp r3, #0 - 8002320: d034 beq.n 800238c - 8002322: 2201 movs r2, #1 - 8002324: f44f 7100 mov.w r1, #512 ; 0x200 - 8002328: 481e ldr r0, [pc, #120] ; (80023a4 ) - 800232a: f001 fb5b bl 80039e4 - 800232e: 481e ldr r0, [pc, #120] ; (80023a8 ) - 8002330: f00c fe42 bl 800efb8 - 8002334: 2200 movs r2, #0 - 8002336: 4611 mov r1, r2 - 8002338: 4b1c ldr r3, [pc, #112] ; (80023ac ) - 800233a: 2002 movs r0, #2 - 800233c: f00c fac0 bl 800e8c0 - 8002340: f994 3018 ldrsb.w r3, [r4, #24] - 8002344: 9303 str r3, [sp, #12] - 8002346: f994 300a ldrsb.w r3, [r4, #10] - 800234a: 9302 str r3, [sp, #8] - 800234c: 7c23 ldrb r3, [r4, #16] - 800234e: 9301 str r3, [sp, #4] - 8002350: 68e3 ldr r3, [r4, #12] - 8002352: 9300 str r3, [sp, #0] - 8002354: 2200 movs r2, #0 - 8002356: 4611 mov r1, r2 - 8002358: 4b15 ldr r3, [pc, #84] ; (80023b0 ) - 800235a: 2003 movs r0, #3 - 800235c: f00c fab0 bl 800e8c0 - 8002360: 2200 movs r2, #0 - 8002362: 4b14 ldr r3, [pc, #80] ; (80023b4 ) - 8002364: 4611 mov r1, r2 - 8002366: 2003 movs r0, #3 - 8002368: f00c faaa bl 800e8c0 - 800236c: 7a23 ldrb r3, [r4, #8] - 800236e: 2b01 cmp r3, #1 - 8002370: d10e bne.n 8002390 - 8002372: 7a61 ldrb r1, [r4, #9] - 8002374: 4a10 ldr r2, [pc, #64] ; (80023b8 ) - 8002376: 4b11 ldr r3, [pc, #68] ; (80023bc ) - 8002378: 2900 cmp r1, #0 - 800237a: bf08 it eq - 800237c: 4613 moveq r3, r2 - 800237e: 2200 movs r2, #0 - 8002380: 9300 str r3, [sp, #0] - 8002382: 4611 mov r1, r2 - 8002384: 4b0e ldr r3, [pc, #56] ; (80023c0 ) - 8002386: 2003 movs r0, #3 - 8002388: f00c fa9a bl 800e8c0 - 800238c: b004 add sp, #16 - 800238e: bd10 pop {r4, pc} - 8002390: 2200 movs r2, #0 - 8002392: 4b0c ldr r3, [pc, #48] ; (80023c4 ) - 8002394: 4611 mov r1, r2 - 8002396: 2003 movs r0, #3 - 8002398: b004 add sp, #16 - 800239a: e8bd 4010 ldmia.w sp!, {r4, lr} - 800239e: f00c ba8f b.w 800e8c0 - 80023a2: bf00 nop - 80023a4: 48000400 .word 0x48000400 - 80023a8: 20000410 .word 0x20000410 - 80023ac: 0800f78e .word 0x0800f78e - 80023b0: 0800f7bf .word 0x0800f7bf - 80023b4: 0800f7f0 .word 0x0800f7f0 - 80023b8: 0800f789 .word 0x0800f789 - 80023bc: 0800f78a .word 0x0800f78a - 80023c0: 0800f7fd .word 0x0800f7fd - 80023c4: 0800f80e .word 0x0800f80e - -080023c8 : - 80023c8: b5f0 push {r4, r5, r6, r7, lr} - 80023ca: 4605 mov r5, r0 - 80023cc: b087 sub sp, #28 - 80023ce: 460c mov r4, r1 - 80023d0: 2900 cmp r1, #0 - 80023d2: d037 beq.n 8002444 - 80023d4: 482c ldr r0, [pc, #176] ; (8002488 ) - 80023d6: 2201 movs r2, #1 - 80023d8: f44f 4100 mov.w r1, #32768 ; 0x8000 - 80023dc: f001 fb02 bl 80039e4 - 80023e0: 482a ldr r0, [pc, #168] ; (800248c ) - 80023e2: f00c fde9 bl 800efb8 - 80023e6: 7826 ldrb r6, [r4, #0] - 80023e8: b19e cbz r6, 8002412 - 80023ea: 2d00 cmp r5, #0 - 80023ec: d04a beq.n 8002484 - 80023ee: 686b ldr r3, [r5, #4] - 80023f0: 782e ldrb r6, [r5, #0] - 80023f2: b173 cbz r3, 8002412 - 80023f4: 2e02 cmp r6, #2 - 80023f6: d027 beq.n 8002448 - 80023f8: 2e03 cmp r6, #3 - 80023fa: d10a bne.n 8002412 - 80023fc: 786a ldrb r2, [r5, #1] - 80023fe: 2a01 cmp r2, #1 - 8002400: d107 bne.n 8002412 - 8002402: 7818 ldrb r0, [r3, #0] - 8002404: 2801 cmp r0, #1 - 8002406: d002 beq.n 800240e - 8002408: 2802 cmp r0, #2 - 800240a: d000 beq.n 800240e - 800240c: b908 cbnz r0, 8002412 - 800240e: f004 f889 bl 8006524 - 8002412: 7c23 ldrb r3, [r4, #16] - 8002414: 2b05 cmp r3, #5 - 8002416: d815 bhi.n 8002444 - 8002418: f994 200a ldrsb.w r2, [r4, #10] - 800241c: 9205 str r2, [sp, #20] - 800241e: f994 2009 ldrsb.w r2, [r4, #9] - 8002422: 9204 str r2, [sp, #16] - 8002424: 4a1a ldr r2, [pc, #104] ; (8002490 ) - 8002426: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 800242a: 9303 str r3, [sp, #12] - 800242c: f994 3008 ldrsb.w r3, [r4, #8] - 8002430: e9cd 6301 strd r6, r3, [sp, #4] - 8002434: 2200 movs r2, #0 - 8002436: 68e3 ldr r3, [r4, #12] - 8002438: 9300 str r3, [sp, #0] - 800243a: 4611 mov r1, r2 - 800243c: 4b15 ldr r3, [pc, #84] ; (8002494 ) - 800243e: 2003 movs r0, #3 - 8002440: f00c fa3e bl 800e8c0 - 8002444: b007 add sp, #28 - 8002446: bdf0 pop {r4, r5, r6, r7, pc} - 8002448: 786f ldrb r7, [r5, #1] - 800244a: 2f01 cmp r7, #1 - 800244c: d1e1 bne.n 8002412 - 800244e: 781d ldrb r5, [r3, #0] - 8002450: 4b11 ldr r3, [pc, #68] ; (8002498 ) - 8002452: f005 0501 and.w r5, r5, #1 - 8002456: 701d strb r5, [r3, #0] - 8002458: b965 cbnz r5, 8002474 - 800245a: 462a mov r2, r5 - 800245c: 4b0f ldr r3, [pc, #60] ; (800249c ) - 800245e: 4629 mov r1, r5 - 8002460: 2003 movs r0, #3 - 8002462: f00c fa2d bl 800e8c0 - 8002466: 462a mov r2, r5 - 8002468: 4807 ldr r0, [pc, #28] ; (8002488 ) - 800246a: f44f 6100 mov.w r1, #2048 ; 0x800 - 800246e: f001 fab9 bl 80039e4 - 8002472: e7ce b.n 8002412 - 8002474: 2200 movs r2, #0 - 8002476: 4611 mov r1, r2 - 8002478: 4b09 ldr r3, [pc, #36] ; (80024a0 ) - 800247a: 2003 movs r0, #3 - 800247c: f00c fa20 bl 800e8c0 - 8002480: 463a mov r2, r7 - 8002482: e7f1 b.n 8002468 - 8002484: 462e mov r6, r5 - 8002486: e7c4 b.n 8002412 - 8002488: 48000400 .word 0x48000400 - 800248c: 200003e0 .word 0x200003e0 - 8002490: 0800f95c .word 0x0800f95c - 8002494: 0800f82f .word 0x0800f82f - 8002498: 200003c7 .word 0x200003c7 - 800249c: 0800f81c .word 0x0800f81c - 80024a0: 0800f826 .word 0x0800f826 - -080024a4 : - 80024a4: b510 push {r4, lr} - 80024a6: f004 fb19 bl 8006adc - 80024aa: f110 0f08 cmn.w r0, #8 - 80024ae: d107 bne.n 80024c0 - 80024b0: 4b06 ldr r3, [pc, #24] ; (80024cc ) - 80024b2: 2200 movs r2, #0 - 80024b4: e8bd 4010 ldmia.w sp!, {r4, lr} - 80024b8: 4611 mov r1, r2 - 80024ba: 2002 movs r0, #2 - 80024bc: f00c ba00 b.w 800e8c0 - 80024c0: 3001 adds r0, #1 - 80024c2: d101 bne.n 80024c8 - 80024c4: 4b02 ldr r3, [pc, #8] ; (80024d0 ) - 80024c6: e7f4 b.n 80024b2 - 80024c8: bd10 pop {r4, pc} - 80024ca: bf00 nop - 80024cc: 0800f876 .word 0x0800f876 - 80024d0: 0800f88c .word 0x0800f88c - -080024d4 : - 80024d4: b5f0 push {r4, r5, r6, r7, lr} - 80024d6: b087 sub sp, #28 - 80024d8: 2400 movs r4, #0 - 80024da: 2601 movs r6, #1 - 80024dc: 2703 movs r7, #3 - 80024de: 4b4f ldr r3, [pc, #316] ; (800261c ) - 80024e0: 9402 str r4, [sp, #8] - 80024e2: 4622 mov r2, r4 - 80024e4: 4621 mov r1, r4 - 80024e6: e9cd 6700 strd r6, r7, [sp] - 80024ea: 2002 movs r0, #2 - 80024ec: 2502 movs r5, #2 - 80024ee: 9405 str r4, [sp, #20] - 80024f0: f00c f9e6 bl 800e8c0 - 80024f4: 2305 movs r3, #5 - 80024f6: e9cd 5300 strd r5, r3, [sp] - 80024fa: 4622 mov r2, r4 - 80024fc: 4b48 ldr r3, [pc, #288] ; (8002620 ) - 80024fe: 9402 str r4, [sp, #8] - 8002500: 4621 mov r1, r4 - 8002502: 4628 mov r0, r5 - 8002504: f00c f9dc bl 800e8c0 - 8002508: 4b46 ldr r3, [pc, #280] ; (8002624 ) - 800250a: 9600 str r6, [sp, #0] - 800250c: 4622 mov r2, r4 - 800250e: 4621 mov r1, r4 - 8002510: e9cd 7401 strd r7, r4, [sp, #4] - 8002514: 4628 mov r0, r5 - 8002516: f00c f9d3 bl 800e8c0 - 800251a: a905 add r1, sp, #20 - 800251c: 4620 mov r0, r4 - 800251e: f004 fa2d bl 800697c - 8002522: 9b05 ldr r3, [sp, #20] - 8002524: f3c3 2207 ubfx r2, r3, #8, #8 - 8002528: 9202 str r2, [sp, #8] - 800252a: f3c3 4207 ubfx r2, r3, #16, #8 - 800252e: 0e1b lsrs r3, r3, #24 - 8002530: 9201 str r2, [sp, #4] - 8002532: 9300 str r3, [sp, #0] - 8002534: 4622 mov r2, r4 - 8002536: 4b3c ldr r3, [pc, #240] ; (8002628 ) - 8002538: 4621 mov r1, r4 - 800253a: 4628 mov r0, r5 - 800253c: f00c f9c0 bl 800e8c0 - 8002540: a905 add r1, sp, #20 - 8002542: 4630 mov r0, r6 - 8002544: f004 fa1a bl 800697c - 8002548: 9b05 ldr r3, [sp, #20] - 800254a: b2da uxtb r2, r3 - 800254c: 9203 str r2, [sp, #12] - 800254e: f3c3 2207 ubfx r2, r3, #8, #8 - 8002552: 9202 str r2, [sp, #8] - 8002554: f3c3 4207 ubfx r2, r3, #16, #8 - 8002558: 0e1b lsrs r3, r3, #24 - 800255a: 9201 str r2, [sp, #4] - 800255c: 9300 str r3, [sp, #0] - 800255e: 4622 mov r2, r4 - 8002560: 4b32 ldr r3, [pc, #200] ; (800262c ) - 8002562: 4621 mov r1, r4 - 8002564: 4628 mov r0, r5 - 8002566: f00c f9ab bl 800e8c0 - 800256a: 4b31 ldr r3, [pc, #196] ; (8002630 ) - 800256c: 4831 ldr r0, [pc, #196] ; (8002634 ) - 800256e: 9400 str r4, [sp, #0] - 8002570: 4622 mov r2, r4 - 8002572: f44f 71fa mov.w r1, #500 ; 0x1f4 - 8002576: f00c fc73 bl 800ee60 - 800257a: 4b2f ldr r3, [pc, #188] ; (8002638 ) - 800257c: 482f ldr r0, [pc, #188] ; (800263c ) - 800257e: 9400 str r4, [sp, #0] - 8002580: 4622 mov r2, r4 - 8002582: f44f 71fa mov.w r1, #500 ; 0x1f4 - 8002586: f00c fc6b bl 800ee60 - 800258a: 4b2d ldr r3, [pc, #180] ; (8002640 ) - 800258c: 482d ldr r0, [pc, #180] ; (8002644 ) - 800258e: 9400 str r4, [sp, #0] - 8002590: 4632 mov r2, r6 - 8002592: f44f 71fa mov.w r1, #500 ; 0x1f4 - 8002596: f00c fc63 bl 800ee60 - 800259a: 4620 mov r0, r4 - 800259c: f7fe fde2 bl 8001164 - 80025a0: b108 cbz r0, 80025a6 - 80025a2: f7fe ffaf bl 8001504 - 80025a6: 4b28 ldr r3, [pc, #160] ; (8002648 ) - 80025a8: 9400 str r4, [sp, #0] - 80025aa: 2200 movs r2, #0 - 80025ac: f44f 61fa mov.w r1, #2000 ; 0x7d0 - 80025b0: 4826 ldr r0, [pc, #152] ; (800264c ) - 80025b2: f00c fc55 bl 800ee60 - 80025b6: 4a26 ldr r2, [pc, #152] ; (8002650 ) - 80025b8: 2100 movs r1, #0 - 80025ba: 2001 movs r0, #1 - 80025bc: f00c fb50 bl 800ec60 - 80025c0: 4a24 ldr r2, [pc, #144] ; (8002654 ) - 80025c2: 2100 movs r1, #0 - 80025c4: 2002 movs r0, #2 - 80025c6: f00c fb4b bl 800ec60 - 80025ca: 4a23 ldr r2, [pc, #140] ; (8002658 ) - 80025cc: 2100 movs r1, #0 - 80025ce: 2004 movs r0, #4 - 80025d0: f00c fb46 bl 800ec60 - 80025d4: 4a21 ldr r2, [pc, #132] ; (800265c ) - 80025d6: 2100 movs r1, #0 - 80025d8: 2008 movs r0, #8 - 80025da: f00c fb41 bl 800ec60 - 80025de: f000 f859 bl 8002694 - 80025e2: 491f ldr r1, [pc, #124] ; (8002660 ) - 80025e4: 481f ldr r0, [pc, #124] ; (8002664 ) - 80025e6: f004 f97f bl 80068e8 - 80025ea: 481f ldr r0, [pc, #124] ; (8002668 ) - 80025ec: f004 f86c bl 80066c8 - 80025f0: 4814 ldr r0, [pc, #80] ; (8002644 ) - 80025f2: f00c fce1 bl 800efb8 - 80025f6: 4b1d ldr r3, [pc, #116] ; (800266c ) - 80025f8: 2100 movs r1, #0 - 80025fa: 7818 ldrb r0, [r3, #0] - 80025fc: f003 fdba bl 8006174 - 8002600: 491b ldr r1, [pc, #108] ; (8002670 ) - 8002602: 9400 str r4, [sp, #0] - 8002604: 4b1b ldr r3, [pc, #108] ; (8002674 ) - 8002606: 6809 ldr r1, [r1, #0] - 8002608: 481b ldr r0, [pc, #108] ; (8002678 ) - 800260a: 2200 movs r2, #0 - 800260c: f00c fc28 bl 800ee60 - 8002610: 4819 ldr r0, [pc, #100] ; (8002678 ) - 8002612: f00c fcd1 bl 800efb8 - 8002616: b007 add sp, #28 - 8002618: bdf0 pop {r4, r5, r6, r7, pc} - 800261a: bf00 nop - 800261c: 0800f8a4 .word 0x0800f8a4 - 8002620: 0800f8c5 .word 0x0800f8c5 - 8002624: 0800f8e6 .word 0x0800f8e6 - 8002628: 0800f907 .word 0x0800f907 - 800262c: 0800f928 .word 0x0800f928 - 8002630: 08001f9d .word 0x08001f9d - 8002634: 20000410 .word 0x20000410 - 8002638: 08001f8d .word 0x08001f8d - 800263c: 200003e0 .word 0x200003e0 - 8002640: 08002239 .word 0x08002239 - 8002644: 200003c8 .word 0x200003c8 - 8002648: 08001f49 .word 0x08001f49 - 800264c: 200003f8 .word 0x200003f8 - 8002650: 080064c1 .word 0x080064c1 - 8002654: 08002081 .word 0x08002081 - 8002658: 080024a5 .word 0x080024a5 - 800265c: 08001fe1 .word 0x08001fe1 - 8002660: 01030000 .word 0x01030000 - 8002664: 2000000c .word 0x2000000c - 8002668: 20000058 .word 0x20000058 - 800266c: 20000000 .word 0x20000000 - 8002670: 20000070 .word 0x20000070 - 8002674: 08001e7d .word 0x08001e7d - 8002678: 20000428 .word 0x20000428 - -0800267c : - 800267c: 2802 cmp r0, #2 - 800267e: d004 beq.n 800268a - 8002680: 2840 cmp r0, #64 ; 0x40 - 8002682: d106 bne.n 8002692 - 8002684: 2100 movs r1, #0 - 8002686: 2004 movs r0, #4 - 8002688: e001 b.n 800268e - 800268a: 2100 movs r1, #0 - 800268c: 2008 movs r0, #8 - 800268e: f00c ba2b b.w 800eae8 - 8002692: 4770 bx lr - -08002694 : - 8002694: 4b03 ldr r3, [pc, #12] ; (80026a4 ) - 8002696: 2200 movs r2, #0 - 8002698: e9c3 2202 strd r2, r2, [r3, #8] - 800269c: 2201 movs r2, #1 - 800269e: e9c3 2200 strd r2, r2, [r3] - 80026a2: 4770 bx lr - 80026a4: 20000440 .word 0x20000440 - -080026a8 : - 80026a8: 4800 ldr r0, [pc, #0] ; (80026ac ) - 80026aa: 4770 bx lr - 80026ac: 20000440 .word 0x20000440 - -080026b0 : - 80026b0: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 80026b4: b082 sub sp, #8 - 80026b6: 6cda ldr r2, [r3, #76] ; 0x4c - 80026b8: 4302 orrs r2, r0 - 80026ba: 64da str r2, [r3, #76] ; 0x4c - 80026bc: 6cdb ldr r3, [r3, #76] ; 0x4c - 80026be: 4003 ands r3, r0 - 80026c0: 9301 str r3, [sp, #4] - 80026c2: 9b01 ldr r3, [sp, #4] - 80026c4: b002 add sp, #8 - 80026c6: 4770 bx lr - -080026c8 : - 80026c8: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 80026cc: b086 sub sp, #24 - 80026ce: 2400 movs r4, #0 - 80026d0: 2002 movs r0, #2 - 80026d2: 4d15 ldr r5, [pc, #84] ; (8002728 ) - 80026d4: 9405 str r4, [sp, #20] - 80026d6: f7ff ffeb bl 80026b0 - 80026da: 2004 movs r0, #4 - 80026dc: f7ff ffe8 bl 80026b0 - 80026e0: 4f12 ldr r7, [pc, #72] ; (800272c ) - 80026e2: 9403 str r4, [sp, #12] - 80026e4: f44f 7680 mov.w r6, #256 ; 0x100 - 80026e8: 2301 movs r3, #1 - 80026ea: eb0d 0100 add.w r1, sp, r0 - 80026ee: e9cd 6301 strd r6, r3, [sp, #4] - 80026f2: 4628 mov r0, r5 - 80026f4: 2303 movs r3, #3 - 80026f6: 9304 str r3, [sp, #16] - 80026f8: f44f 5800 mov.w r8, #8192 ; 0x2000 - 80026fc: f001 f852 bl 80037a4 - 8002700: a901 add r1, sp, #4 - 8002702: 4638 mov r0, r7 - 8002704: f8cd 8004 str.w r8, [sp, #4] - 8002708: f001 f84c bl 80037a4 - 800270c: 4622 mov r2, r4 - 800270e: 4641 mov r1, r8 - 8002710: 4638 mov r0, r7 - 8002712: f001 f967 bl 80039e4 - 8002716: 4628 mov r0, r5 - 8002718: 4622 mov r2, r4 - 800271a: 4631 mov r1, r6 - 800271c: f001 f962 bl 80039e4 - 8002720: 4620 mov r0, r4 - 8002722: b006 add sp, #24 - 8002724: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8002728: 48000400 .word 0x48000400 - 800272c: 48000800 .word 0x48000800 - -08002730 : - 8002730: 2803 cmp r0, #3 - 8002732: b510 push {r4, lr} - 8002734: d80e bhi.n 8002754 - 8002736: 2801 cmp r0, #1 - 8002738: d810 bhi.n 800275c - 800273a: b968 cbnz r0, 8002758 - 800273c: 4602 mov r2, r0 - 800273e: 480b ldr r0, [pc, #44] ; (800276c ) - 8002740: f44f 7180 mov.w r1, #256 ; 0x100 - 8002744: f001 f94e bl 80039e4 - 8002748: 2200 movs r2, #0 - 800274a: 4809 ldr r0, [pc, #36] ; (8002770 ) - 800274c: f44f 5100 mov.w r1, #8192 ; 0x2000 - 8002750: f001 f948 bl 80039e4 - 8002754: 2000 movs r0, #0 - 8002756: bd10 pop {r4, pc} - 8002758: 2201 movs r2, #1 - 800275a: e7f0 b.n 800273e - 800275c: 2200 movs r2, #0 - 800275e: 4803 ldr r0, [pc, #12] ; (800276c ) - 8002760: f44f 7180 mov.w r1, #256 ; 0x100 - 8002764: f001 f93e bl 80039e4 - 8002768: 2201 movs r2, #1 - 800276a: e7ee b.n 800274a - 800276c: 48000400 .word 0x48000400 - 8002770: 48000800 .word 0x48000800 - -08002774 : - 8002774: 2002 movs r0, #2 - 8002776: 4770 bx lr - -08002778 : - 8002778: 2000 movs r0, #0 - 800277a: 4770 bx lr - -0800277c : - 800277c: 2001 movs r0, #1 - 800277e: 4770 bx lr - -08002780 : - 8002780: 2800 cmp r0, #0 - 8002782: bf0c ite eq - 8002784: 200f moveq r0, #15 - 8002786: 2016 movne r0, #22 - 8002788: 4770 bx lr +080021dc : + 80021dc: 4770 bx lr ... -0800278c : - 800278c: 480d ldr r0, [pc, #52] ; (80027c4 ) - 800278e: 4685 mov sp, r0 - 8002790: f000 f825 bl 80027de - 8002794: 480c ldr r0, [pc, #48] ; (80027c8 ) - 8002796: 490d ldr r1, [pc, #52] ; (80027cc ) - 8002798: 4a0d ldr r2, [pc, #52] ; (80027d0 ) - 800279a: 2300 movs r3, #0 - 800279c: e002 b.n 80027a4 +080021e0 : + 80021e0: b51f push {r0, r1, r2, r3, r4, lr} + 80021e2: 2400 movs r4, #0 + 80021e4: a903 add r1, sp, #12 + 80021e6: 4620 mov r0, r4 + 80021e8: 9403 str r4, [sp, #12] + 80021ea: f004 f9e3 bl 80065b4 + 80021ee: a903 add r1, sp, #12 + 80021f0: 2001 movs r0, #1 + 80021f2: f004 f9df bl 80065b4 + 80021f6: 4b2c ldr r3, [pc, #176] ; (80022a8 ) + 80021f8: 482c ldr r0, [pc, #176] ; (80022ac ) + 80021fa: 9400 str r4, [sp, #0] + 80021fc: 4622 mov r2, r4 + 80021fe: f44f 71fa mov.w r1, #500 ; 0x1f4 + 8002202: f00c fc49 bl 800ea98 + 8002206: 4b2a ldr r3, [pc, #168] ; (80022b0 ) + 8002208: 482a ldr r0, [pc, #168] ; (80022b4 ) + 800220a: 9400 str r4, [sp, #0] + 800220c: 4622 mov r2, r4 + 800220e: f44f 71fa mov.w r1, #500 ; 0x1f4 + 8002212: f00c fc41 bl 800ea98 + 8002216: 4b28 ldr r3, [pc, #160] ; (80022b8 ) + 8002218: 4828 ldr r0, [pc, #160] ; (80022bc ) + 800221a: 9400 str r4, [sp, #0] + 800221c: 2201 movs r2, #1 + 800221e: f44f 71fa mov.w r1, #500 ; 0x1f4 + 8002222: f00c fc39 bl 800ea98 + 8002226: 4620 mov r0, r4 + 8002228: f7fe ff9c bl 8001164 + 800222c: b108 cbz r0, 8002232 + 800222e: f7ff f951 bl 80014d4 + 8002232: 4b23 ldr r3, [pc, #140] ; (80022c0 ) + 8002234: 9400 str r4, [sp, #0] + 8002236: 2200 movs r2, #0 + 8002238: f44f 61fa mov.w r1, #2000 ; 0x7d0 + 800223c: 4821 ldr r0, [pc, #132] ; (80022c4 ) + 800223e: f00c fc2b bl 800ea98 + 8002242: 4a21 ldr r2, [pc, #132] ; (80022c8 ) + 8002244: 2100 movs r1, #0 + 8002246: 2001 movs r0, #1 + 8002248: f00c fb26 bl 800e898 + 800224c: 4a1f ldr r2, [pc, #124] ; (80022cc ) + 800224e: 2100 movs r1, #0 + 8002250: 2002 movs r0, #2 + 8002252: f00c fb21 bl 800e898 + 8002256: 4a1e ldr r2, [pc, #120] ; (80022d0 ) + 8002258: 2100 movs r1, #0 + 800225a: 2004 movs r0, #4 + 800225c: f00c fb1c bl 800e898 + 8002260: 4a1c ldr r2, [pc, #112] ; (80022d4 ) + 8002262: 2100 movs r1, #0 + 8002264: 2008 movs r0, #8 + 8002266: f00c fb17 bl 800e898 + 800226a: f000 f84f bl 800230c + 800226e: 491a ldr r1, [pc, #104] ; (80022d8 ) + 8002270: 481a ldr r0, [pc, #104] ; (80022dc ) + 8002272: f004 f955 bl 8006520 + 8002276: 481a ldr r0, [pc, #104] ; (80022e0 ) + 8002278: f004 f842 bl 8006300 + 800227c: 480f ldr r0, [pc, #60] ; (80022bc ) + 800227e: f00c fcb7 bl 800ebf0 + 8002282: 4b18 ldr r3, [pc, #96] ; (80022e4 ) + 8002284: 2100 movs r1, #0 + 8002286: 7818 ldrb r0, [r3, #0] + 8002288: f003 fd90 bl 8005dac + 800228c: 4916 ldr r1, [pc, #88] ; (80022e8 ) + 800228e: 9400 str r4, [sp, #0] + 8002290: 4b16 ldr r3, [pc, #88] ; (80022ec ) + 8002292: 6809 ldr r1, [r1, #0] + 8002294: 4816 ldr r0, [pc, #88] ; (80022f0 ) + 8002296: 2200 movs r2, #0 + 8002298: f00c fbfe bl 800ea98 + 800229c: 4814 ldr r0, [pc, #80] ; (80022f0 ) + 800229e: f00c fca7 bl 800ebf0 + 80022a2: b004 add sp, #16 + 80022a4: bd10 pop {r4, pc} + 80022a6: bf00 nop + 80022a8: 08001ec5 .word 0x08001ec5 + 80022ac: 20000410 .word 0x20000410 + 80022b0: 08001eb5 .word 0x08001eb5 + 80022b4: 200003e0 .word 0x200003e0 + 80022b8: 080020cd .word 0x080020cd + 80022bc: 200003c8 .word 0x200003c8 + 80022c0: 08001e71 .word 0x08001e71 + 80022c4: 200003f8 .word 0x200003f8 + 80022c8: 080060f9 .word 0x080060f9 + 80022cc: 08001f79 .word 0x08001f79 + 80022d0: 08001f75 .word 0x08001f75 + 80022d4: 08001f09 .word 0x08001f09 + 80022d8: 01030000 .word 0x01030000 + 80022dc: 2000000c .word 0x2000000c + 80022e0: 20000058 .word 0x20000058 + 80022e4: 20000000 .word 0x20000000 + 80022e8: 20000070 .word 0x20000070 + 80022ec: 08001e21 .word 0x08001e21 + 80022f0: 20000428 .word 0x20000428 -0800279e : - 800279e: 58d4 ldr r4, [r2, r3] - 80027a0: 50c4 str r4, [r0, r3] - 80027a2: 3304 adds r3, #4 +080022f4 : + 80022f4: 2802 cmp r0, #2 + 80022f6: d004 beq.n 8002302 + 80022f8: 2840 cmp r0, #64 ; 0x40 + 80022fa: d106 bne.n 800230a + 80022fc: 2100 movs r1, #0 + 80022fe: 2004 movs r0, #4 + 8002300: e001 b.n 8002306 + 8002302: 2100 movs r1, #0 + 8002304: 2008 movs r0, #8 + 8002306: f00c ba0b b.w 800e720 + 800230a: 4770 bx lr -080027a4 : - 80027a4: 18c4 adds r4, r0, r3 - 80027a6: 428c cmp r4, r1 - 80027a8: d3f9 bcc.n 800279e - 80027aa: 4a0a ldr r2, [pc, #40] ; (80027d4 ) - 80027ac: 4c0a ldr r4, [pc, #40] ; (80027d8 ) - 80027ae: 2300 movs r3, #0 - 80027b0: e001 b.n 80027b6 +0800230c : + 800230c: 4b03 ldr r3, [pc, #12] ; (800231c ) + 800230e: 2200 movs r2, #0 + 8002310: e9c3 2202 strd r2, r2, [r3, #8] + 8002314: 2201 movs r2, #1 + 8002316: e9c3 2200 strd r2, r2, [r3] + 800231a: 4770 bx lr + 800231c: 20000440 .word 0x20000440 -080027b2 : - 80027b2: 6013 str r3, [r2, #0] - 80027b4: 3204 adds r2, #4 +08002320 : + 8002320: 4800 ldr r0, [pc, #0] ; (8002324 ) + 8002322: 4770 bx lr + 8002324: 20000440 .word 0x20000440 -080027b6 : - 80027b6: 42a2 cmp r2, r4 - 80027b8: d3fb bcc.n 80027b2 - 80027ba: f00c fdb9 bl 800f330 <__libc_init_array> - 80027be: f7fe fe95 bl 80014ec
+08002328 : + 8002328: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 800232c: b082 sub sp, #8 + 800232e: 6cda ldr r2, [r3, #76] ; 0x4c + 8002330: 4302 orrs r2, r0 + 8002332: 64da str r2, [r3, #76] ; 0x4c + 8002334: 6cdb ldr r3, [r3, #76] ; 0x4c + 8002336: 4003 ands r3, r0 + 8002338: 9301 str r3, [sp, #4] + 800233a: 9b01 ldr r3, [sp, #4] + 800233c: b002 add sp, #8 + 800233e: 4770 bx lr -080027c2 : - 80027c2: e7fe b.n 80027c2 - 80027c4: 20010000 .word 0x20010000 - 80027c8: 20000000 .word 0x20000000 - 80027cc: 20000108 .word 0x20000108 - 80027d0: 08010454 .word 0x08010454 - 80027d4: 20000108 .word 0x20000108 - 80027d8: 200021b4 .word 0x200021b4 +08002340 : + 8002340: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8002344: b086 sub sp, #24 + 8002346: 2400 movs r4, #0 + 8002348: 2002 movs r0, #2 + 800234a: 4d15 ldr r5, [pc, #84] ; (80023a0 ) + 800234c: 9405 str r4, [sp, #20] + 800234e: f7ff ffeb bl 8002328 + 8002352: 2004 movs r0, #4 + 8002354: f7ff ffe8 bl 8002328 + 8002358: 4f12 ldr r7, [pc, #72] ; (80023a4 ) + 800235a: 9403 str r4, [sp, #12] + 800235c: f44f 7680 mov.w r6, #256 ; 0x100 + 8002360: 2301 movs r3, #1 + 8002362: eb0d 0100 add.w r1, sp, r0 + 8002366: e9cd 6301 strd r6, r3, [sp, #4] + 800236a: 4628 mov r0, r5 + 800236c: 2303 movs r3, #3 + 800236e: 9304 str r3, [sp, #16] + 8002370: f44f 5800 mov.w r8, #8192 ; 0x2000 + 8002374: f001 f852 bl 800341c + 8002378: a901 add r1, sp, #4 + 800237a: 4638 mov r0, r7 + 800237c: f8cd 8004 str.w r8, [sp, #4] + 8002380: f001 f84c bl 800341c + 8002384: 4622 mov r2, r4 + 8002386: 4641 mov r1, r8 + 8002388: 4638 mov r0, r7 + 800238a: f001 f967 bl 800365c + 800238e: 4628 mov r0, r5 + 8002390: 4622 mov r2, r4 + 8002392: 4631 mov r1, r6 + 8002394: f001 f962 bl 800365c + 8002398: 4620 mov r0, r4 + 800239a: b006 add sp, #24 + 800239c: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 80023a0: 48000400 .word 0x48000400 + 80023a4: 48000800 .word 0x48000800 -080027dc : - 80027dc: e7fe b.n 80027dc +080023a8 : + 80023a8: 2803 cmp r0, #3 + 80023aa: b510 push {r4, lr} + 80023ac: d80e bhi.n 80023cc + 80023ae: 2801 cmp r0, #1 + 80023b0: d810 bhi.n 80023d4 + 80023b2: b968 cbnz r0, 80023d0 + 80023b4: 4602 mov r2, r0 + 80023b6: 480b ldr r0, [pc, #44] ; (80023e4 ) + 80023b8: f44f 7180 mov.w r1, #256 ; 0x100 + 80023bc: f001 f94e bl 800365c + 80023c0: 2200 movs r2, #0 + 80023c2: 4809 ldr r0, [pc, #36] ; (80023e8 ) + 80023c4: f44f 5100 mov.w r1, #8192 ; 0x2000 + 80023c8: f001 f948 bl 800365c + 80023cc: 2000 movs r0, #0 + 80023ce: bd10 pop {r4, pc} + 80023d0: 2201 movs r2, #1 + 80023d2: e7f0 b.n 80023b6 + 80023d4: 2200 movs r2, #0 + 80023d6: 4803 ldr r0, [pc, #12] ; (80023e4 ) + 80023d8: f44f 7180 mov.w r1, #256 ; 0x100 + 80023dc: f001 f93e bl 800365c + 80023e0: 2201 movs r2, #1 + 80023e2: e7ee b.n 80023c2 + 80023e4: 48000400 .word 0x48000400 + 80023e8: 48000800 .word 0x48000800 -080027de : - 80027de: 4770 bx lr +080023ec : + 80023ec: 2002 movs r0, #2 + 80023ee: 4770 bx lr -080027e0 : - 80027e0: b510 push {r4, lr} - 80027e2: 2003 movs r0, #3 - 80027e4: f000 fc72 bl 80030cc - 80027e8: f001 fa90 bl 8003d0c - 80027ec: 4b06 ldr r3, [pc, #24] ; (8002808 ) - 80027ee: 6018 str r0, [r3, #0] - 80027f0: 200f movs r0, #15 - 80027f2: f7ff f855 bl 80018a0 - 80027f6: 4604 mov r4, r0 - 80027f8: b918 cbnz r0, 8002802 - 80027fa: f7fe ff2b bl 8001654 - 80027fe: 4620 mov r0, r4 - 8002800: bd10 pop {r4, pc} - 8002802: 2401 movs r4, #1 - 8002804: e7fb b.n 80027fe - 8002806: bf00 nop - 8002808: 20000074 .word 0x20000074 +080023f0 : + 80023f0: 2000 movs r0, #0 + 80023f2: 4770 bx lr -0800280c : - 800280c: f04f 22e0 mov.w r2, #3758153728 ; 0xe000e000 - 8002810: 6913 ldr r3, [r2, #16] - 8002812: f023 0302 bic.w r3, r3, #2 - 8002816: 6113 str r3, [r2, #16] - 8002818: 4770 bx lr +080023f4 : + 80023f4: 2001 movs r0, #1 + 80023f6: 4770 bx lr -0800281a : - 800281a: f04f 22e0 mov.w r2, #3758153728 ; 0xe000e000 - 800281e: 6913 ldr r3, [r2, #16] - 8002820: f043 0302 orr.w r3, r3, #2 - 8002824: 6113 str r3, [r2, #16] - 8002826: 4770 bx lr +080023f8 : + 80023f8: 2800 cmp r0, #0 + 80023fa: bf0c ite eq + 80023fc: 200f moveq r0, #15 + 80023fe: 2016 movne r0, #22 + 8002400: 4770 bx lr + ... -08002828 : - 8002828: 4b01 ldr r3, [pc, #4] ; (8002830 ) - 800282a: f8d3 0590 ldr.w r0, [r3, #1424] ; 0x590 - 800282e: 4770 bx lr - 8002830: 1fff7000 .word 0x1fff7000 +08002404 : + 8002404: 480d ldr r0, [pc, #52] ; (800243c ) + 8002406: 4685 mov sp, r0 + 8002408: f000 f825 bl 8002456 + 800240c: 480c ldr r0, [pc, #48] ; (8002440 ) + 800240e: 490d ldr r1, [pc, #52] ; (8002444 ) + 8002410: 4a0d ldr r2, [pc, #52] ; (8002448 ) + 8002412: 2300 movs r3, #0 + 8002414: e002 b.n 800241c -08002834 : - 8002834: 4b01 ldr r3, [pc, #4] ; (800283c ) - 8002836: f8d3 0594 ldr.w r0, [r3, #1428] ; 0x594 - 800283a: 4770 bx lr - 800283c: 1fff7000 .word 0x1fff7000 +08002416 : + 8002416: 58d4 ldr r4, [r2, r3] + 8002418: 50c4 str r4, [r0, r3] + 800241a: 3304 adds r3, #4 -08002840 : - 8002840: 4b01 ldr r3, [pc, #4] ; (8002848 ) - 8002842: f8d3 0598 ldr.w r0, [r3, #1432] ; 0x598 - 8002846: 4770 bx lr - 8002848: 1fff7000 .word 0x1fff7000 +0800241c : + 800241c: 18c4 adds r4, r0, r3 + 800241e: 428c cmp r4, r1 + 8002420: d3f9 bcc.n 8002416 + 8002422: 4a0a ldr r2, [pc, #40] ; (800244c ) + 8002424: 4c0a ldr r4, [pc, #40] ; (8002450 ) + 8002426: 2300 movs r3, #0 + 8002428: e001 b.n 800242e -0800284c : - 800284c: 4a02 ldr r2, [pc, #8] ; (8002858 ) - 800284e: 6853 ldr r3, [r2, #4] - 8002850: f023 0301 bic.w r3, r3, #1 - 8002854: 6053 str r3, [r2, #4] - 8002856: 4770 bx lr - 8002858: e0042000 .word 0xe0042000 +0800242a : + 800242a: 6013 str r3, [r2, #0] + 800242c: 3204 adds r2, #4 -0800285c : - 800285c: 4a02 ldr r2, [pc, #8] ; (8002868 ) - 800285e: 6853 ldr r3, [r2, #4] - 8002860: f023 0302 bic.w r3, r3, #2 - 8002864: 6053 str r3, [r2, #4] - 8002866: 4770 bx lr - 8002868: e0042000 .word 0xe0042000 +0800242e : + 800242e: 42a2 cmp r2, r4 + 8002430: d3fb bcc.n 800242a + 8002432: f00c fd99 bl 800ef68 <__libc_init_array> + 8002436: f7ff f841 bl 80014bc
-0800286c : - 800286c: 4a02 ldr r2, [pc, #8] ; (8002878 ) - 800286e: 6853 ldr r3, [r2, #4] - 8002870: f023 0304 bic.w r3, r3, #4 - 8002874: 6053 str r3, [r2, #4] - 8002876: 4770 bx lr - 8002878: e0042000 .word 0xe0042000 +0800243a : + 800243a: e7fe b.n 800243a + 800243c: 20010000 .word 0x20010000 + 8002440: 20000000 .word 0x20000000 + 8002444: 20000108 .word 0x20000108 + 8002448: 0800fc94 .word 0x0800fc94 + 800244c: 20000108 .word 0x20000108 + 8002450: 200021b4 .word 0x200021b4 -0800287c : - 800287c: 6880 ldr r0, [r0, #8] - 800287e: f3c0 0080 ubfx r0, r0, #2, #1 - 8002882: 4770 bx lr +08002454 : + 8002454: e7fe b.n 8002454 -08002884 : - 8002884: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} - 8002886: 2300 movs r3, #0 - 8002888: 9301 str r3, [sp, #4] - 800288a: 4604 mov r4, r0 - 800288c: 2800 cmp r0, #0 - 800288e: f000 80e9 beq.w 8002a64 - 8002892: 6d85 ldr r5, [r0, #88] ; 0x58 - 8002894: b925 cbnz r5, 80028a0 - 8002896: f7fe fb31 bl 8000efc - 800289a: 65e5 str r5, [r4, #92] ; 0x5c - 800289c: f884 5054 strb.w r5, [r4, #84] ; 0x54 - 80028a0: 6823 ldr r3, [r4, #0] - 80028a2: 689a ldr r2, [r3, #8] - 80028a4: 00d0 lsls r0, r2, #3 - 80028a6: f140 80a1 bpl.w 80029ec - 80028aa: 689a ldr r2, [r3, #8] - 80028ac: 00d1 lsls r1, r2, #3 - 80028ae: f100 80b4 bmi.w 8002a1a - 80028b2: 6da2 ldr r2, [r4, #88] ; 0x58 - 80028b4: f042 0210 orr.w r2, r2, #16 - 80028b8: 65a2 str r2, [r4, #88] ; 0x58 - 80028ba: 6de2 ldr r2, [r4, #92] ; 0x5c - 80028bc: f042 0201 orr.w r2, r2, #1 - 80028c0: 65e2 str r2, [r4, #92] ; 0x5c - 80028c2: 2501 movs r5, #1 - 80028c4: 4618 mov r0, r3 - 80028c6: f7ff ffd9 bl 800287c - 80028ca: 6da2 ldr r2, [r4, #88] ; 0x58 - 80028cc: f002 0210 and.w r2, r2, #16 - 80028d0: 4302 orrs r2, r0 - 80028d2: f040 80c9 bne.w 8002a68 - 80028d6: 6da2 ldr r2, [r4, #88] ; 0x58 - 80028d8: 6920 ldr r0, [r4, #16] - 80028da: f422 7281 bic.w r2, r2, #258 ; 0x102 - 80028de: f042 0202 orr.w r2, r2, #2 - 80028e2: 65a2 str r2, [r4, #88] ; 0x58 - 80028e4: 689a ldr r2, [r3, #8] - 80028e6: 07d2 lsls r2, r2, #31 - 80028e8: d45d bmi.n 80029a6 - 80028ea: 6b22 ldr r2, [r4, #48] ; 0x30 - 80028ec: 7ea6 ldrb r6, [r4, #26] - 80028ee: f894 c02c ldrb.w ip, [r4, #44] ; 0x2c - 80028f2: 3a00 subs r2, #0 - 80028f4: bf18 it ne - 80028f6: 2201 movne r2, #1 - 80028f8: 0317 lsls r7, r2, #12 - 80028fa: e9d4 1202 ldrd r1, r2, [r4, #8] - 80028fe: 430a orrs r2, r1 - 8002900: 7e21 ldrb r1, [r4, #24] - 8002902: ea42 3281 orr.w r2, r2, r1, lsl #14 - 8002906: 7e61 ldrb r1, [r4, #25] - 8002908: ea42 32c1 orr.w r2, r2, r1, lsl #15 - 800290c: ea42 3246 orr.w r2, r2, r6, lsl #13 - 8002910: 2800 cmp r0, #0 - 8002912: ea42 024c orr.w r2, r2, ip, lsl #1 - 8002916: bfb4 ite lt - 8002918: f020 4100 biclt.w r1, r0, #2147483648 ; 0x80000000 - 800291c: f44f 1100 movge.w r1, #2097152 ; 0x200000 - 8002920: 433a orrs r2, r7 - 8002922: 430a orrs r2, r1 - 8002924: f894 1020 ldrb.w r1, [r4, #32] - 8002928: 2901 cmp r1, #1 - 800292a: d103 bne.n 8002934 - 800292c: 2e00 cmp r6, #0 - 800292e: d176 bne.n 8002a1e - 8002930: f442 3280 orr.w r2, r2, #65536 ; 0x10000 - 8002934: 6a61 ldr r1, [r4, #36] ; 0x24 - 8002936: b121 cbz r1, 8002942 - 8002938: 6aa6 ldr r6, [r4, #40] ; 0x28 - 800293a: f401 71e0 and.w r1, r1, #448 ; 0x1c0 - 800293e: 4331 orrs r1, r6 - 8002940: 430a orrs r2, r1 - 8002942: 68d9 ldr r1, [r3, #12] - 8002944: 6ce6 ldr r6, [r4, #76] ; 0x4c - 8002946: f421 31fe bic.w r1, r1, #130048 ; 0x1fc00 - 800294a: f421 71ff bic.w r1, r1, #510 ; 0x1fe - 800294e: 4311 orrs r1, r2 - 8002950: 60d9 str r1, [r3, #12] - 8002952: f894 203c ldrb.w r2, [r4, #60] ; 0x3c - 8002956: 6861 ldr r1, [r4, #4] - 8002958: 2a01 cmp r2, #1 - 800295a: f001 4c40 and.w ip, r1, #3221225472 ; 0xc0000000 - 800295e: ea4c 0606 orr.w r6, ip, r6 - 8002962: d109 bne.n 8002978 - 8002964: e9d4 2710 ldrd r2, r7, [r4, #64] ; 0x40 - 8002968: 433a orrs r2, r7 - 800296a: 4332 orrs r2, r6 - 800296c: 6ca6 ldr r6, [r4, #72] ; 0x48 - 800296e: 4332 orrs r2, r6 - 8002970: ea42 020c orr.w r2, r2, ip - 8002974: f042 0601 orr.w r6, r2, #1 - 8002978: 691f ldr r7, [r3, #16] - 800297a: 4a3e ldr r2, [pc, #248] ; (8002a74 ) - 800297c: 403a ands r2, r7 - 800297e: 4332 orrs r2, r6 - 8002980: 611a str r2, [r3, #16] - 8002982: f021 4200 bic.w r2, r1, #2147483648 ; 0x80000000 - 8002986: f1b2 4f80 cmp.w r2, #1073741824 ; 0x40000000 - 800298a: d00c beq.n 80029a6 - 800298c: f1b1 4f00 cmp.w r1, #2147483648 ; 0x80000000 - 8002990: d009 beq.n 80029a6 - 8002992: 4e39 ldr r6, [pc, #228] ; (8002a78 ) - 8002994: f8d6 2708 ldr.w r2, [r6, #1800] ; 0x708 - 8002998: f401 1170 and.w r1, r1, #3932160 ; 0x3c0000 - 800299c: f422 1270 bic.w r2, r2, #3932160 ; 0x3c0000 - 80029a0: 430a orrs r2, r1 - 80029a2: f8c6 2708 str.w r2, [r6, #1800] ; 0x708 - 80029a6: 695a ldr r2, [r3, #20] - 80029a8: 6b66 ldr r6, [r4, #52] ; 0x34 - 80029aa: 6ba1 ldr r1, [r4, #56] ; 0x38 - 80029ac: f022 0207 bic.w r2, r2, #7 - 80029b0: 4332 orrs r2, r6 - 80029b2: 615a str r2, [r3, #20] - 80029b4: 695a ldr r2, [r3, #20] - 80029b6: f022 0270 bic.w r2, r2, #112 ; 0x70 - 80029ba: ea42 1201 orr.w r2, r2, r1, lsl #4 - 80029be: 615a str r2, [r3, #20] - 80029c0: 2800 cmp r0, #0 - 80029c2: d135 bne.n 8002a30 - 80029c4: 6a9a ldr r2, [r3, #40] ; 0x28 - 80029c6: f062 020f orn r2, r2, #15 - 80029ca: 629a str r2, [r3, #40] ; 0x28 - 80029cc: 695b ldr r3, [r3, #20] - 80029ce: f003 0307 and.w r3, r3, #7 - 80029d2: 429e cmp r6, r3 - 80029d4: d13c bne.n 8002a50 - 80029d6: 2300 movs r3, #0 - 80029d8: 65e3 str r3, [r4, #92] ; 0x5c - 80029da: 6da3 ldr r3, [r4, #88] ; 0x58 - 80029dc: f023 0303 bic.w r3, r3, #3 - 80029e0: f043 0301 orr.w r3, r3, #1 - 80029e4: 65a3 str r3, [r4, #88] ; 0x58 - 80029e6: 4628 mov r0, r5 - 80029e8: b003 add sp, #12 - 80029ea: bdf0 pop {r4, r5, r6, r7, pc} - 80029ec: 689a ldr r2, [r3, #8] - 80029ee: 4923 ldr r1, [pc, #140] ; (8002a7c ) - 80029f0: f022 4210 bic.w r2, r2, #2415919104 ; 0x90000000 - 80029f4: f022 0217 bic.w r2, r2, #23 - 80029f8: f042 5280 orr.w r2, r2, #268435456 ; 0x10000000 - 80029fc: 609a str r2, [r3, #8] - 80029fe: 4a20 ldr r2, [pc, #128] ; (8002a80 ) - 8002a00: 6812 ldr r2, [r2, #0] - 8002a02: fbb2 f2f1 udiv r2, r2, r1 - 8002a06: 3201 adds r2, #1 - 8002a08: 0052 lsls r2, r2, #1 - 8002a0a: 9201 str r2, [sp, #4] - 8002a0c: 9a01 ldr r2, [sp, #4] - 8002a0e: 2a00 cmp r2, #0 - 8002a10: f43f af4b beq.w 80028aa - 8002a14: 9a01 ldr r2, [sp, #4] - 8002a16: 3a01 subs r2, #1 - 8002a18: e7f7 b.n 8002a0a - 8002a1a: 2500 movs r5, #0 - 8002a1c: e752 b.n 80028c4 - 8002a1e: 6da1 ldr r1, [r4, #88] ; 0x58 - 8002a20: f041 0120 orr.w r1, r1, #32 - 8002a24: 65a1 str r1, [r4, #88] ; 0x58 - 8002a26: 6de1 ldr r1, [r4, #92] ; 0x5c - 8002a28: f041 0101 orr.w r1, r1, #1 - 8002a2c: 65e1 str r1, [r4, #92] ; 0x5c - 8002a2e: e781 b.n 8002934 - 8002a30: f5b0 1f00 cmp.w r0, #2097152 ; 0x200000 - 8002a34: d1ca bne.n 80029cc - 8002a36: 6a9a ldr r2, [r3, #40] ; 0x28 - 8002a38: 69e2 ldr r2, [r4, #28] - 8002a3a: 3a01 subs r2, #1 - 8002a3c: 0092 lsls r2, r2, #2 - 8002a3e: f06f 010f mvn.w r1, #15 - 8002a42: f002 021c and.w r2, r2, #28 - 8002a46: fa01 f202 lsl.w r2, r1, r2 - 8002a4a: 6e21 ldr r1, [r4, #96] ; 0x60 - 8002a4c: 430a orrs r2, r1 - 8002a4e: e7bc b.n 80029ca - 8002a50: 6da3 ldr r3, [r4, #88] ; 0x58 - 8002a52: f023 0312 bic.w r3, r3, #18 - 8002a56: f043 0310 orr.w r3, r3, #16 - 8002a5a: 65a3 str r3, [r4, #88] ; 0x58 - 8002a5c: 6de3 ldr r3, [r4, #92] ; 0x5c - 8002a5e: f043 0301 orr.w r3, r3, #1 - 8002a62: 65e3 str r3, [r4, #92] ; 0x5c - 8002a64: 2501 movs r5, #1 - 8002a66: e7be b.n 80029e6 - 8002a68: 6da3 ldr r3, [r4, #88] ; 0x58 - 8002a6a: f043 0310 orr.w r3, r3, #16 - 8002a6e: 65a3 str r3, [r4, #88] ; 0x58 - 8002a70: e7f8 b.n 8002a64 - 8002a72: bf00 nop - 8002a74: 1ffffc02 .word 0x1ffffc02 - 8002a78: 40012000 .word 0x40012000 +08002456 : + 8002456: 4770 bx lr + +08002458 : + 8002458: b510 push {r4, lr} + 800245a: 2003 movs r0, #3 + 800245c: f000 fc72 bl 8002d44 + 8002460: f001 fa90 bl 8003984 + 8002464: 4b06 ldr r3, [pc, #24] ; (8002480 ) + 8002466: 6018 str r0, [r3, #0] + 8002468: 200f movs r0, #15 + 800246a: f7ff fa01 bl 8001870 + 800246e: 4604 mov r4, r0 + 8002470: b918 cbnz r0, 800247a + 8002472: f7ff f8d7 bl 8001624 + 8002476: 4620 mov r0, r4 + 8002478: bd10 pop {r4, pc} + 800247a: 2401 movs r4, #1 + 800247c: e7fb b.n 8002476 + 800247e: bf00 nop + 8002480: 20000074 .word 0x20000074 + +08002484 : + 8002484: f04f 22e0 mov.w r2, #3758153728 ; 0xe000e000 + 8002488: 6913 ldr r3, [r2, #16] + 800248a: f023 0302 bic.w r3, r3, #2 + 800248e: 6113 str r3, [r2, #16] + 8002490: 4770 bx lr + +08002492 : + 8002492: f04f 22e0 mov.w r2, #3758153728 ; 0xe000e000 + 8002496: 6913 ldr r3, [r2, #16] + 8002498: f043 0302 orr.w r3, r3, #2 + 800249c: 6113 str r3, [r2, #16] + 800249e: 4770 bx lr + +080024a0 : + 80024a0: 4b01 ldr r3, [pc, #4] ; (80024a8 ) + 80024a2: f8d3 0590 ldr.w r0, [r3, #1424] ; 0x590 + 80024a6: 4770 bx lr + 80024a8: 1fff7000 .word 0x1fff7000 + +080024ac : + 80024ac: 4b01 ldr r3, [pc, #4] ; (80024b4 ) + 80024ae: f8d3 0594 ldr.w r0, [r3, #1428] ; 0x594 + 80024b2: 4770 bx lr + 80024b4: 1fff7000 .word 0x1fff7000 + +080024b8 : + 80024b8: 4b01 ldr r3, [pc, #4] ; (80024c0 ) + 80024ba: f8d3 0598 ldr.w r0, [r3, #1432] ; 0x598 + 80024be: 4770 bx lr + 80024c0: 1fff7000 .word 0x1fff7000 + +080024c4 : + 80024c4: 4a02 ldr r2, [pc, #8] ; (80024d0 ) + 80024c6: 6853 ldr r3, [r2, #4] + 80024c8: f023 0301 bic.w r3, r3, #1 + 80024cc: 6053 str r3, [r2, #4] + 80024ce: 4770 bx lr + 80024d0: e0042000 .word 0xe0042000 + +080024d4 : + 80024d4: 4a02 ldr r2, [pc, #8] ; (80024e0 ) + 80024d6: 6853 ldr r3, [r2, #4] + 80024d8: f023 0302 bic.w r3, r3, #2 + 80024dc: 6053 str r3, [r2, #4] + 80024de: 4770 bx lr + 80024e0: e0042000 .word 0xe0042000 + +080024e4 : + 80024e4: 4a02 ldr r2, [pc, #8] ; (80024f0 ) + 80024e6: 6853 ldr r3, [r2, #4] + 80024e8: f023 0304 bic.w r3, r3, #4 + 80024ec: 6053 str r3, [r2, #4] + 80024ee: 4770 bx lr + 80024f0: e0042000 .word 0xe0042000 + +080024f4 : + 80024f4: 6880 ldr r0, [r0, #8] + 80024f6: f3c0 0080 ubfx r0, r0, #2, #1 + 80024fa: 4770 bx lr + +080024fc : + 80024fc: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} + 80024fe: 2300 movs r3, #0 + 8002500: 9301 str r3, [sp, #4] + 8002502: 4604 mov r4, r0 + 8002504: 2800 cmp r0, #0 + 8002506: f000 80e9 beq.w 80026dc + 800250a: 6d85 ldr r5, [r0, #88] ; 0x58 + 800250c: b925 cbnz r5, 8002518 + 800250e: f7fe fcf5 bl 8000efc + 8002512: 65e5 str r5, [r4, #92] ; 0x5c + 8002514: f884 5054 strb.w r5, [r4, #84] ; 0x54 + 8002518: 6823 ldr r3, [r4, #0] + 800251a: 689a ldr r2, [r3, #8] + 800251c: 00d0 lsls r0, r2, #3 + 800251e: f140 80a1 bpl.w 8002664 + 8002522: 689a ldr r2, [r3, #8] + 8002524: 00d1 lsls r1, r2, #3 + 8002526: f100 80b4 bmi.w 8002692 + 800252a: 6da2 ldr r2, [r4, #88] ; 0x58 + 800252c: f042 0210 orr.w r2, r2, #16 + 8002530: 65a2 str r2, [r4, #88] ; 0x58 + 8002532: 6de2 ldr r2, [r4, #92] ; 0x5c + 8002534: f042 0201 orr.w r2, r2, #1 + 8002538: 65e2 str r2, [r4, #92] ; 0x5c + 800253a: 2501 movs r5, #1 + 800253c: 4618 mov r0, r3 + 800253e: f7ff ffd9 bl 80024f4 + 8002542: 6da2 ldr r2, [r4, #88] ; 0x58 + 8002544: f002 0210 and.w r2, r2, #16 + 8002548: 4302 orrs r2, r0 + 800254a: f040 80c9 bne.w 80026e0 + 800254e: 6da2 ldr r2, [r4, #88] ; 0x58 + 8002550: 6920 ldr r0, [r4, #16] + 8002552: f422 7281 bic.w r2, r2, #258 ; 0x102 + 8002556: f042 0202 orr.w r2, r2, #2 + 800255a: 65a2 str r2, [r4, #88] ; 0x58 + 800255c: 689a ldr r2, [r3, #8] + 800255e: 07d2 lsls r2, r2, #31 + 8002560: d45d bmi.n 800261e + 8002562: 6b22 ldr r2, [r4, #48] ; 0x30 + 8002564: 7ea6 ldrb r6, [r4, #26] + 8002566: f894 c02c ldrb.w ip, [r4, #44] ; 0x2c + 800256a: 3a00 subs r2, #0 + 800256c: bf18 it ne + 800256e: 2201 movne r2, #1 + 8002570: 0317 lsls r7, r2, #12 + 8002572: e9d4 1202 ldrd r1, r2, [r4, #8] + 8002576: 430a orrs r2, r1 + 8002578: 7e21 ldrb r1, [r4, #24] + 800257a: ea42 3281 orr.w r2, r2, r1, lsl #14 + 800257e: 7e61 ldrb r1, [r4, #25] + 8002580: ea42 32c1 orr.w r2, r2, r1, lsl #15 + 8002584: ea42 3246 orr.w r2, r2, r6, lsl #13 + 8002588: 2800 cmp r0, #0 + 800258a: ea42 024c orr.w r2, r2, ip, lsl #1 + 800258e: bfb4 ite lt + 8002590: f020 4100 biclt.w r1, r0, #2147483648 ; 0x80000000 + 8002594: f44f 1100 movge.w r1, #2097152 ; 0x200000 + 8002598: 433a orrs r2, r7 + 800259a: 430a orrs r2, r1 + 800259c: f894 1020 ldrb.w r1, [r4, #32] + 80025a0: 2901 cmp r1, #1 + 80025a2: d103 bne.n 80025ac + 80025a4: 2e00 cmp r6, #0 + 80025a6: d176 bne.n 8002696 + 80025a8: f442 3280 orr.w r2, r2, #65536 ; 0x10000 + 80025ac: 6a61 ldr r1, [r4, #36] ; 0x24 + 80025ae: b121 cbz r1, 80025ba + 80025b0: 6aa6 ldr r6, [r4, #40] ; 0x28 + 80025b2: f401 71e0 and.w r1, r1, #448 ; 0x1c0 + 80025b6: 4331 orrs r1, r6 + 80025b8: 430a orrs r2, r1 + 80025ba: 68d9 ldr r1, [r3, #12] + 80025bc: 6ce6 ldr r6, [r4, #76] ; 0x4c + 80025be: f421 31fe bic.w r1, r1, #130048 ; 0x1fc00 + 80025c2: f421 71ff bic.w r1, r1, #510 ; 0x1fe + 80025c6: 4311 orrs r1, r2 + 80025c8: 60d9 str r1, [r3, #12] + 80025ca: f894 203c ldrb.w r2, [r4, #60] ; 0x3c + 80025ce: 6861 ldr r1, [r4, #4] + 80025d0: 2a01 cmp r2, #1 + 80025d2: f001 4c40 and.w ip, r1, #3221225472 ; 0xc0000000 + 80025d6: ea4c 0606 orr.w r6, ip, r6 + 80025da: d109 bne.n 80025f0 + 80025dc: e9d4 2710 ldrd r2, r7, [r4, #64] ; 0x40 + 80025e0: 433a orrs r2, r7 + 80025e2: 4332 orrs r2, r6 + 80025e4: 6ca6 ldr r6, [r4, #72] ; 0x48 + 80025e6: 4332 orrs r2, r6 + 80025e8: ea42 020c orr.w r2, r2, ip + 80025ec: f042 0601 orr.w r6, r2, #1 + 80025f0: 691f ldr r7, [r3, #16] + 80025f2: 4a3e ldr r2, [pc, #248] ; (80026ec ) + 80025f4: 403a ands r2, r7 + 80025f6: 4332 orrs r2, r6 + 80025f8: 611a str r2, [r3, #16] + 80025fa: f021 4200 bic.w r2, r1, #2147483648 ; 0x80000000 + 80025fe: f1b2 4f80 cmp.w r2, #1073741824 ; 0x40000000 + 8002602: d00c beq.n 800261e + 8002604: f1b1 4f00 cmp.w r1, #2147483648 ; 0x80000000 + 8002608: d009 beq.n 800261e + 800260a: 4e39 ldr r6, [pc, #228] ; (80026f0 ) + 800260c: f8d6 2708 ldr.w r2, [r6, #1800] ; 0x708 + 8002610: f401 1170 and.w r1, r1, #3932160 ; 0x3c0000 + 8002614: f422 1270 bic.w r2, r2, #3932160 ; 0x3c0000 + 8002618: 430a orrs r2, r1 + 800261a: f8c6 2708 str.w r2, [r6, #1800] ; 0x708 + 800261e: 695a ldr r2, [r3, #20] + 8002620: 6b66 ldr r6, [r4, #52] ; 0x34 + 8002622: 6ba1 ldr r1, [r4, #56] ; 0x38 + 8002624: f022 0207 bic.w r2, r2, #7 + 8002628: 4332 orrs r2, r6 + 800262a: 615a str r2, [r3, #20] + 800262c: 695a ldr r2, [r3, #20] + 800262e: f022 0270 bic.w r2, r2, #112 ; 0x70 + 8002632: ea42 1201 orr.w r2, r2, r1, lsl #4 + 8002636: 615a str r2, [r3, #20] + 8002638: 2800 cmp r0, #0 + 800263a: d135 bne.n 80026a8 + 800263c: 6a9a ldr r2, [r3, #40] ; 0x28 + 800263e: f062 020f orn r2, r2, #15 + 8002642: 629a str r2, [r3, #40] ; 0x28 + 8002644: 695b ldr r3, [r3, #20] + 8002646: f003 0307 and.w r3, r3, #7 + 800264a: 429e cmp r6, r3 + 800264c: d13c bne.n 80026c8 + 800264e: 2300 movs r3, #0 + 8002650: 65e3 str r3, [r4, #92] ; 0x5c + 8002652: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002654: f023 0303 bic.w r3, r3, #3 + 8002658: f043 0301 orr.w r3, r3, #1 + 800265c: 65a3 str r3, [r4, #88] ; 0x58 + 800265e: 4628 mov r0, r5 + 8002660: b003 add sp, #12 + 8002662: bdf0 pop {r4, r5, r6, r7, pc} + 8002664: 689a ldr r2, [r3, #8] + 8002666: 4923 ldr r1, [pc, #140] ; (80026f4 ) + 8002668: f022 4210 bic.w r2, r2, #2415919104 ; 0x90000000 + 800266c: f022 0217 bic.w r2, r2, #23 + 8002670: f042 5280 orr.w r2, r2, #268435456 ; 0x10000000 + 8002674: 609a str r2, [r3, #8] + 8002676: 4a20 ldr r2, [pc, #128] ; (80026f8 ) + 8002678: 6812 ldr r2, [r2, #0] + 800267a: fbb2 f2f1 udiv r2, r2, r1 + 800267e: 3201 adds r2, #1 + 8002680: 0052 lsls r2, r2, #1 + 8002682: 9201 str r2, [sp, #4] + 8002684: 9a01 ldr r2, [sp, #4] + 8002686: 2a00 cmp r2, #0 + 8002688: f43f af4b beq.w 8002522 + 800268c: 9a01 ldr r2, [sp, #4] + 800268e: 3a01 subs r2, #1 + 8002690: e7f7 b.n 8002682 + 8002692: 2500 movs r5, #0 + 8002694: e752 b.n 800253c + 8002696: 6da1 ldr r1, [r4, #88] ; 0x58 + 8002698: f041 0120 orr.w r1, r1, #32 + 800269c: 65a1 str r1, [r4, #88] ; 0x58 + 800269e: 6de1 ldr r1, [r4, #92] ; 0x5c + 80026a0: f041 0101 orr.w r1, r1, #1 + 80026a4: 65e1 str r1, [r4, #92] ; 0x5c + 80026a6: e781 b.n 80025ac + 80026a8: f5b0 1f00 cmp.w r0, #2097152 ; 0x200000 + 80026ac: d1ca bne.n 8002644 + 80026ae: 6a9a ldr r2, [r3, #40] ; 0x28 + 80026b0: 69e2 ldr r2, [r4, #28] + 80026b2: 3a01 subs r2, #1 + 80026b4: 0092 lsls r2, r2, #2 + 80026b6: f06f 010f mvn.w r1, #15 + 80026ba: f002 021c and.w r2, r2, #28 + 80026be: fa01 f202 lsl.w r2, r1, r2 + 80026c2: 6e21 ldr r1, [r4, #96] ; 0x60 + 80026c4: 430a orrs r2, r1 + 80026c6: e7bc b.n 8002642 + 80026c8: 6da3 ldr r3, [r4, #88] ; 0x58 + 80026ca: f023 0312 bic.w r3, r3, #18 + 80026ce: f043 0310 orr.w r3, r3, #16 + 80026d2: 65a3 str r3, [r4, #88] ; 0x58 + 80026d4: 6de3 ldr r3, [r4, #92] ; 0x5c + 80026d6: f043 0301 orr.w r3, r3, #1 + 80026da: 65e3 str r3, [r4, #92] ; 0x5c + 80026dc: 2501 movs r5, #1 + 80026de: e7be b.n 800265e + 80026e0: 6da3 ldr r3, [r4, #88] ; 0x58 + 80026e2: f043 0310 orr.w r3, r3, #16 + 80026e6: 65a3 str r3, [r4, #88] ; 0x58 + 80026e8: e7f8 b.n 80026dc + 80026ea: bf00 nop + 80026ec: 1ffffc02 .word 0x1ffffc02 + 80026f0: 40012000 .word 0x40012000 + 80026f4: 00030d40 .word 0x00030d40 + 80026f8: 20000074 .word 0x20000074 + +080026fc : + 80026fc: b5f8 push {r3, r4, r5, r6, r7, lr} + 80026fe: 6945 ldr r5, [r0, #20] + 8002700: 2d08 cmp r5, #8 + 8002702: 4604 mov r4, r0 + 8002704: 460e mov r6, r1 + 8002706: d00a beq.n 800271e + 8002708: 6803 ldr r3, [r0, #0] + 800270a: 68db ldr r3, [r3, #12] + 800270c: 07d8 lsls r0, r3, #31 + 800270e: d505 bpl.n 800271c + 8002710: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002712: f043 0320 orr.w r3, r3, #32 + 8002716: 65a3 str r3, [r4, #88] ; 0x58 + 8002718: 2001 movs r0, #1 + 800271a: bdf8 pop {r3, r4, r5, r6, r7, pc} + 800271c: 2504 movs r5, #4 + 800271e: f7ff f8a9 bl 8001874 + 8002722: 4607 mov r7, r0 + 8002724: 6823 ldr r3, [r4, #0] + 8002726: 681a ldr r2, [r3, #0] + 8002728: 422a tst r2, r5 + 800272a: d021 beq.n 8002770 + 800272c: 6da2 ldr r2, [r4, #88] ; 0x58 + 800272e: f442 7200 orr.w r2, r2, #512 ; 0x200 + 8002732: 65a2 str r2, [r4, #88] ; 0x58 + 8002734: 68da ldr r2, [r3, #12] + 8002736: f412 6f40 tst.w r2, #3072 ; 0xc00 + 800273a: d114 bne.n 8002766 + 800273c: 7ea2 ldrb r2, [r4, #26] + 800273e: b992 cbnz r2, 8002766 + 8002740: 681a ldr r2, [r3, #0] + 8002742: 0712 lsls r2, r2, #28 + 8002744: d50f bpl.n 8002766 + 8002746: 4618 mov r0, r3 + 8002748: f7ff fed4 bl 80024f4 + 800274c: bb28 cbnz r0, 800279a + 800274e: 685a ldr r2, [r3, #4] + 8002750: f022 020c bic.w r2, r2, #12 + 8002754: 605a str r2, [r3, #4] + 8002756: 6da2 ldr r2, [r4, #88] ; 0x58 + 8002758: f422 7280 bic.w r2, r2, #256 ; 0x100 + 800275c: f022 0201 bic.w r2, r2, #1 + 8002760: f042 0201 orr.w r2, r2, #1 + 8002764: 65a2 str r2, [r4, #88] ; 0x58 + 8002766: 7e20 ldrb r0, [r4, #24] + 8002768: bb00 cbnz r0, 80027ac + 800276a: 220c movs r2, #12 + 800276c: 601a str r2, [r3, #0] + 800276e: e7d4 b.n 800271a + 8002770: 1c71 adds r1, r6, #1 + 8002772: d0d8 beq.n 8002726 + 8002774: f7ff f87e bl 8001874 + 8002778: 1bc0 subs r0, r0, r7 + 800277a: 42b0 cmp r0, r6 + 800277c: d801 bhi.n 8002782 + 800277e: 2e00 cmp r6, #0 + 8002780: d1d0 bne.n 8002724 + 8002782: 6823 ldr r3, [r4, #0] + 8002784: 681b ldr r3, [r3, #0] + 8002786: 402b ands r3, r5 + 8002788: d1cc bne.n 8002724 + 800278a: 6da2 ldr r2, [r4, #88] ; 0x58 + 800278c: f884 3054 strb.w r3, [r4, #84] ; 0x54 + 8002790: f042 0204 orr.w r2, r2, #4 + 8002794: 65a2 str r2, [r4, #88] ; 0x58 + 8002796: 2003 movs r0, #3 + 8002798: e7bf b.n 800271a + 800279a: 6da2 ldr r2, [r4, #88] ; 0x58 + 800279c: f042 0220 orr.w r2, r2, #32 + 80027a0: 65a2 str r2, [r4, #88] ; 0x58 + 80027a2: 6de2 ldr r2, [r4, #92] ; 0x5c + 80027a4: f042 0201 orr.w r2, r2, #1 + 80027a8: 65e2 str r2, [r4, #92] ; 0x5c + 80027aa: e7dc b.n 8002766 + 80027ac: 2000 movs r0, #0 + 80027ae: e7b4 b.n 800271a + +080027b0 : + 80027b0: 6803 ldr r3, [r0, #0] + 80027b2: 6c18 ldr r0, [r3, #64] ; 0x40 + 80027b4: 4770 bx lr + ... + +080027b8 : + 80027b8: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} + 80027ba: 2300 movs r3, #0 + 80027bc: 9301 str r3, [sp, #4] + 80027be: f890 3054 ldrb.w r3, [r0, #84] ; 0x54 + 80027c2: 2b01 cmp r3, #1 + 80027c4: 4604 mov r4, r0 + 80027c6: f000 80c5 beq.w 8002954 + 80027ca: 6805 ldr r5, [r0, #0] + 80027cc: 6906 ldr r6, [r0, #16] + 80027ce: 2301 movs r3, #1 + 80027d0: f880 3054 strb.w r3, [r0, #84] ; 0x54 + 80027d4: 4628 mov r0, r5 + 80027d6: f7ff fe8d bl 80024f4 + 80027da: 2800 cmp r0, #0 + 80027dc: f040 80b4 bne.w 8002948 + 80027e0: e9d1 2000 ldrd r2, r0, [r1] + 80027e4: 2802 cmp r0, #2 + 80027e6: f026 0304 bic.w r3, r6, #4 + 80027ea: f000 8082 beq.w 80028f2 + 80027ee: f1b3 4f00 cmp.w r3, #2147483648 ; 0x80000000 + 80027f2: f3c2 0e11 ubfx lr, r2, #0, #18 + 80027f6: d113 bne.n 8002820 + 80027f8: 6aab ldr r3, [r5, #40] ; 0x28 + 80027fa: ea43 030e orr.w r3, r3, lr + 80027fe: 62ab str r3, [r5, #40] ; 0x28 + 8002800: 688b ldr r3, [r1, #8] + 8002802: 6968 ldr r0, [r5, #20] + 8002804: ea03 2302 and.w r3, r3, r2, lsl #8 + 8002808: f023 437c bic.w r3, r3, #4227858432 ; 0xfc000000 + 800280c: f023 03ff bic.w r3, r3, #255 ; 0xff + 8002810: ea20 2102 bic.w r1, r0, r2, lsl #8 + 8002814: 430b orrs r3, r1 + 8002816: 2a00 cmp r2, #0 + 8002818: 616b str r3, [r5, #20] + 800281a: db26 blt.n 800286a + 800281c: 2000 movs r0, #0 + 800281e: e055 b.n 80028cc + 8002820: 6e23 ldr r3, [r4, #96] ; 0x60 + 8002822: f000 071f and.w r7, r0, #31 + 8002826: f04f 0c0f mov.w ip, #15 + 800282a: fa0c fc07 lsl.w ip, ip, r7 + 800282e: ea6f 060c mvn.w r6, ip + 8002832: ea23 0c0c bic.w ip, r3, ip + 8002836: f1be 0f00 cmp.w lr, #0 + 800283a: d111 bne.n 8002860 + 800283c: f3c2 6384 ubfx r3, r2, #26, #5 + 8002840: 40bb lsls r3, r7 + 8002842: ea43 030c orr.w r3, r3, ip + 8002846: 6623 str r3, [r4, #96] ; 0x60 + 8002848: 0880 lsrs r0, r0, #2 + 800284a: 69e3 ldr r3, [r4, #28] + 800284c: 3001 adds r0, #1 + 800284e: 4298 cmp r0, r3 + 8002850: d8d6 bhi.n 8002800 + 8002852: 6aa8 ldr r0, [r5, #40] ; 0x28 + 8002854: f3c2 6383 ubfx r3, r2, #26, #4 + 8002858: 40bb lsls r3, r7 + 800285a: 4006 ands r6, r0 + 800285c: 4333 orrs r3, r6 + 800285e: e7ce b.n 80027fe + 8002860: fa92 f3a2 rbit r3, r2 + 8002864: fab3 f383 clz r3, r3 + 8002868: e7ea b.n 8002840 + 800286a: 493b ldr r1, [pc, #236] ; (8002958 ) + 800286c: 483b ldr r0, [pc, #236] ; (800295c ) + 800286e: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 + 8002872: 4282 cmp r2, r0 + 8002874: f003 75e0 and.w r5, r3, #29360128 ; 0x1c00000 + 8002878: d119 bne.n 80028ae + 800287a: 021b lsls r3, r3, #8 + 800287c: d4ce bmi.n 800281c + 800287e: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 + 8002882: f023 73e0 bic.w r3, r3, #29360128 ; 0x1c00000 + 8002886: 432b orrs r3, r5 + 8002888: f443 0300 orr.w r3, r3, #8388608 ; 0x800000 + 800288c: f8c1 3708 str.w r3, [r1, #1800] ; 0x708 + 8002890: 4b33 ldr r3, [pc, #204] ; (8002960 ) + 8002892: 681a ldr r2, [r3, #0] + 8002894: 4b33 ldr r3, [pc, #204] ; (8002964 ) + 8002896: fbb2 f2f3 udiv r2, r2, r3 + 800289a: 230c movs r3, #12 + 800289c: fb02 3303 mla r3, r2, r3, r3 + 80028a0: 9301 str r3, [sp, #4] + 80028a2: 9b01 ldr r3, [sp, #4] + 80028a4: 2b00 cmp r3, #0 + 80028a6: d0b9 beq.n 800281c + 80028a8: 9b01 ldr r3, [sp, #4] + 80028aa: 3b01 subs r3, #1 + 80028ac: e7f8 b.n 80028a0 + 80028ae: 482e ldr r0, [pc, #184] ; (8002968 ) + 80028b0: 4282 cmp r2, r0 + 80028b2: d110 bne.n 80028d6 + 80028b4: f013 7080 ands.w r0, r3, #16777216 ; 0x1000000 + 80028b8: d1b0 bne.n 800281c + 80028ba: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 + 80028be: f023 73e0 bic.w r3, r3, #29360128 ; 0x1c00000 + 80028c2: 432b orrs r3, r5 + 80028c4: f043 7380 orr.w r3, r3, #16777216 ; 0x1000000 + 80028c8: f8c1 3708 str.w r3, [r1, #1800] ; 0x708 + 80028cc: 2300 movs r3, #0 + 80028ce: f884 3054 strb.w r3, [r4, #84] ; 0x54 + 80028d2: b003 add sp, #12 + 80028d4: bdf0 pop {r4, r5, r6, r7, pc} + 80028d6: 4825 ldr r0, [pc, #148] ; (800296c ) + 80028d8: 4282 cmp r2, r0 + 80028da: d19f bne.n 800281c + 80028dc: f413 0080 ands.w r0, r3, #4194304 ; 0x400000 + 80028e0: d19c bne.n 800281c + 80028e2: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 + 80028e6: f023 73e0 bic.w r3, r3, #29360128 ; 0x1c00000 + 80028ea: 432b orrs r3, r5 + 80028ec: f443 0380 orr.w r3, r3, #4194304 ; 0x400000 + 80028f0: e7ea b.n 80028c8 + 80028f2: f1b3 4f00 cmp.w r3, #2147483648 ; 0x80000000 + 80028f6: bf01 itttt eq + 80028f8: 6aab ldreq r3, [r5, #40] ; 0x28 + 80028fa: f3c2 0111 ubfxeq r1, r2, #0, #18 + 80028fe: 438b biceq r3, r1 + 8002900: 62ab streq r3, [r5, #40] ; 0x28 + 8002902: 2a00 cmp r2, #0 + 8002904: da8a bge.n 800281c + 8002906: 4815 ldr r0, [pc, #84] ; (800295c ) + 8002908: 4913 ldr r1, [pc, #76] ; (8002958 ) + 800290a: 4282 cmp r2, r0 + 800290c: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 + 8002910: d109 bne.n 8002926 + 8002912: f8d1 2708 ldr.w r2, [r1, #1800] ; 0x708 + 8002916: f003 73a0 and.w r3, r3, #20971520 ; 0x1400000 + 800291a: f022 72e0 bic.w r2, r2, #29360128 ; 0x1c00000 + 800291e: 4313 orrs r3, r2 + 8002920: f8c1 3708 str.w r3, [r1, #1800] ; 0x708 + 8002924: e77a b.n 800281c + 8002926: 4810 ldr r0, [pc, #64] ; (8002968 ) + 8002928: 4282 cmp r2, r0 + 800292a: d104 bne.n 8002936 + 800292c: f8d1 2708 ldr.w r2, [r1, #1800] ; 0x708 + 8002930: f403 0340 and.w r3, r3, #12582912 ; 0xc00000 + 8002934: e7f1 b.n 800291a + 8002936: 480d ldr r0, [pc, #52] ; (800296c ) + 8002938: 4282 cmp r2, r0 + 800293a: f47f af6f bne.w 800281c + 800293e: f8d1 2708 ldr.w r2, [r1, #1800] ; 0x708 + 8002942: f003 73c0 and.w r3, r3, #25165824 ; 0x1800000 + 8002946: e7e8 b.n 800291a + 8002948: 6da2 ldr r2, [r4, #88] ; 0x58 + 800294a: f042 0220 orr.w r2, r2, #32 + 800294e: 65a2 str r2, [r4, #88] ; 0x58 + 8002950: 4618 mov r0, r3 + 8002952: e7bb b.n 80028cc + 8002954: 2002 movs r0, #2 + 8002956: e7bc b.n 80028d2 + 8002958: 40012000 .word 0x40012000 + 800295c: b0001000 .word 0xb0001000 + 8002960: 20000074 .word 0x20000074 + 8002964: 00030d40 .word 0x00030d40 + 8002968: b8004000 .word 0xb8004000 + 800296c: b4002000 .word 0xb4002000 + +08002970 : + 8002970: 6802 ldr r2, [r0, #0] + 8002972: b538 push {r3, r4, r5, lr} + 8002974: 4604 mov r4, r0 + 8002976: 4610 mov r0, r2 + 8002978: f7ff fdbc bl 80024f4 + 800297c: b908 cbnz r0, 8002982 + 800297e: 2000 movs r0, #0 + 8002980: bd38 pop {r3, r4, r5, pc} + 8002982: 6893 ldr r3, [r2, #8] + 8002984: 0799 lsls r1, r3, #30 + 8002986: d407 bmi.n 8002998 + 8002988: 6893 ldr r3, [r2, #8] + 800298a: f023 4300 bic.w r3, r3, #2147483648 ; 0x80000000 + 800298e: f023 0317 bic.w r3, r3, #23 + 8002992: f043 0310 orr.w r3, r3, #16 + 8002996: 6093 str r3, [r2, #8] + 8002998: f7fe ff6c bl 8001874 + 800299c: 4605 mov r5, r0 + 800299e: 6823 ldr r3, [r4, #0] + 80029a0: 689b ldr r3, [r3, #8] + 80029a2: 075b lsls r3, r3, #29 + 80029a4: d5eb bpl.n 800297e + 80029a6: f7fe ff65 bl 8001874 + 80029aa: 1b40 subs r0, r0, r5 + 80029ac: 2802 cmp r0, #2 + 80029ae: d9f6 bls.n 800299e + 80029b0: 6823 ldr r3, [r4, #0] + 80029b2: 689b ldr r3, [r3, #8] + 80029b4: 075a lsls r2, r3, #29 + 80029b6: d5f2 bpl.n 800299e + 80029b8: 6da3 ldr r3, [r4, #88] ; 0x58 + 80029ba: f043 0310 orr.w r3, r3, #16 + 80029be: 65a3 str r3, [r4, #88] ; 0x58 + 80029c0: 6de3 ldr r3, [r4, #92] ; 0x5c + 80029c2: f043 0301 orr.w r3, r3, #1 + 80029c6: 65e3 str r3, [r4, #92] ; 0x5c + 80029c8: 2001 movs r0, #1 + 80029ca: e7d9 b.n 8002980 + +080029cc : + 80029cc: b573 push {r0, r1, r4, r5, r6, lr} + 80029ce: 2300 movs r3, #0 + 80029d0: 6802 ldr r2, [r0, #0] + 80029d2: 9301 str r3, [sp, #4] + 80029d4: 6893 ldr r3, [r2, #8] + 80029d6: 07dd lsls r5, r3, #31 + 80029d8: 4604 mov r4, r0 + 80029da: d502 bpl.n 80029e2 + 80029dc: 2000 movs r0, #0 + 80029de: b002 add sp, #8 + 80029e0: bd70 pop {r4, r5, r6, pc} + 80029e2: 6891 ldr r1, [r2, #8] + 80029e4: 4b21 ldr r3, [pc, #132] ; (8002a6c ) + 80029e6: 4219 tst r1, r3 + 80029e8: d009 beq.n 80029fe + 80029ea: 6da3 ldr r3, [r4, #88] ; 0x58 + 80029ec: f043 0310 orr.w r3, r3, #16 + 80029f0: 65a3 str r3, [r4, #88] ; 0x58 + 80029f2: 6de3 ldr r3, [r4, #92] ; 0x5c + 80029f4: f043 0301 orr.w r3, r3, #1 + 80029f8: 65e3 str r3, [r4, #92] ; 0x5c + 80029fa: 2001 movs r0, #1 + 80029fc: e7ef b.n 80029de + 80029fe: 6893 ldr r3, [r2, #8] + 8002a00: f023 4300 bic.w r3, r3, #2147483648 ; 0x80000000 + 8002a04: f023 0317 bic.w r3, r3, #23 + 8002a08: f043 0301 orr.w r3, r3, #1 + 8002a0c: 6093 str r3, [r2, #8] + 8002a0e: 4b18 ldr r3, [pc, #96] ; (8002a70 ) + 8002a10: f8d3 3708 ldr.w r3, [r3, #1800] ; 0x708 + 8002a14: 0218 lsls r0, r3, #8 + 8002a16: d41c bmi.n 8002a52 + 8002a18: 7e63 ldrb r3, [r4, #25] + 8002a1a: 2b01 cmp r3, #1 + 8002a1c: d0de beq.n 80029dc + 8002a1e: f7fe ff29 bl 8001874 + 8002a22: 4e14 ldr r6, [pc, #80] ; (8002a74 ) + 8002a24: 4605 mov r5, r0 + 8002a26: 6822 ldr r2, [r4, #0] + 8002a28: 6813 ldr r3, [r2, #0] + 8002a2a: 07db lsls r3, r3, #31 + 8002a2c: d4d6 bmi.n 80029dc + 8002a2e: 6893 ldr r3, [r2, #8] + 8002a30: 07d9 lsls r1, r3, #31 + 8002a32: bf5f itttt pl + 8002a34: 6893 ldrpl r3, [r2, #8] + 8002a36: 4033 andpl r3, r6 + 8002a38: f043 0301 orrpl.w r3, r3, #1 + 8002a3c: 6093 strpl r3, [r2, #8] + 8002a3e: f7fe ff19 bl 8001874 + 8002a42: 1b40 subs r0, r0, r5 + 8002a44: 2802 cmp r0, #2 + 8002a46: d9ee bls.n 8002a26 + 8002a48: 6823 ldr r3, [r4, #0] + 8002a4a: 681b ldr r3, [r3, #0] + 8002a4c: 07da lsls r2, r3, #31 + 8002a4e: d4ea bmi.n 8002a26 + 8002a50: e7cb b.n 80029ea + 8002a52: 4b09 ldr r3, [pc, #36] ; (8002a78 ) + 8002a54: 4a09 ldr r2, [pc, #36] ; (8002a7c ) + 8002a56: 681b ldr r3, [r3, #0] + 8002a58: fbb3 f3f2 udiv r3, r3, r2 + 8002a5c: 3301 adds r3, #1 + 8002a5e: 9301 str r3, [sp, #4] + 8002a60: 9b01 ldr r3, [sp, #4] + 8002a62: 2b00 cmp r3, #0 + 8002a64: d0d8 beq.n 8002a18 + 8002a66: 9b01 ldr r3, [sp, #4] + 8002a68: 3b01 subs r3, #1 + 8002a6a: e7f8 b.n 8002a5e + 8002a6c: 80000017 .word 0x80000017 + 8002a70: 40012000 .word 0x40012000 + 8002a74: 7fffffe8 .word 0x7fffffe8 + 8002a78: 20000074 .word 0x20000074 8002a7c: 00030d40 .word 0x00030d40 - 8002a80: 20000074 .word 0x20000074 -08002a84 : - 8002a84: b5f8 push {r3, r4, r5, r6, r7, lr} - 8002a86: 6945 ldr r5, [r0, #20] - 8002a88: 2d08 cmp r5, #8 - 8002a8a: 4604 mov r4, r0 - 8002a8c: 460e mov r6, r1 - 8002a8e: d00a beq.n 8002aa6 - 8002a90: 6803 ldr r3, [r0, #0] - 8002a92: 68db ldr r3, [r3, #12] - 8002a94: 07d8 lsls r0, r3, #31 - 8002a96: d505 bpl.n 8002aa4 - 8002a98: 6da3 ldr r3, [r4, #88] ; 0x58 - 8002a9a: f043 0320 orr.w r3, r3, #32 - 8002a9e: 65a3 str r3, [r4, #88] ; 0x58 - 8002aa0: 2001 movs r0, #1 - 8002aa2: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8002aa4: 2504 movs r5, #4 - 8002aa6: f7fe fefd bl 80018a4 - 8002aaa: 4607 mov r7, r0 - 8002aac: 6823 ldr r3, [r4, #0] - 8002aae: 681a ldr r2, [r3, #0] - 8002ab0: 422a tst r2, r5 - 8002ab2: d021 beq.n 8002af8 - 8002ab4: 6da2 ldr r2, [r4, #88] ; 0x58 - 8002ab6: f442 7200 orr.w r2, r2, #512 ; 0x200 - 8002aba: 65a2 str r2, [r4, #88] ; 0x58 - 8002abc: 68da ldr r2, [r3, #12] - 8002abe: f412 6f40 tst.w r2, #3072 ; 0xc00 - 8002ac2: d114 bne.n 8002aee - 8002ac4: 7ea2 ldrb r2, [r4, #26] - 8002ac6: b992 cbnz r2, 8002aee - 8002ac8: 681a ldr r2, [r3, #0] - 8002aca: 0712 lsls r2, r2, #28 - 8002acc: d50f bpl.n 8002aee - 8002ace: 4618 mov r0, r3 - 8002ad0: f7ff fed4 bl 800287c - 8002ad4: bb28 cbnz r0, 8002b22 - 8002ad6: 685a ldr r2, [r3, #4] - 8002ad8: f022 020c bic.w r2, r2, #12 - 8002adc: 605a str r2, [r3, #4] - 8002ade: 6da2 ldr r2, [r4, #88] ; 0x58 - 8002ae0: f422 7280 bic.w r2, r2, #256 ; 0x100 - 8002ae4: f022 0201 bic.w r2, r2, #1 - 8002ae8: f042 0201 orr.w r2, r2, #1 - 8002aec: 65a2 str r2, [r4, #88] ; 0x58 - 8002aee: 7e20 ldrb r0, [r4, #24] - 8002af0: bb00 cbnz r0, 8002b34 - 8002af2: 220c movs r2, #12 - 8002af4: 601a str r2, [r3, #0] - 8002af6: e7d4 b.n 8002aa2 - 8002af8: 1c71 adds r1, r6, #1 - 8002afa: d0d8 beq.n 8002aae - 8002afc: f7fe fed2 bl 80018a4 - 8002b00: 1bc0 subs r0, r0, r7 - 8002b02: 42b0 cmp r0, r6 - 8002b04: d801 bhi.n 8002b0a - 8002b06: 2e00 cmp r6, #0 - 8002b08: d1d0 bne.n 8002aac - 8002b0a: 6823 ldr r3, [r4, #0] - 8002b0c: 681b ldr r3, [r3, #0] - 8002b0e: 402b ands r3, r5 - 8002b10: d1cc bne.n 8002aac - 8002b12: 6da2 ldr r2, [r4, #88] ; 0x58 - 8002b14: f884 3054 strb.w r3, [r4, #84] ; 0x54 - 8002b18: f042 0204 orr.w r2, r2, #4 - 8002b1c: 65a2 str r2, [r4, #88] ; 0x58 - 8002b1e: 2003 movs r0, #3 - 8002b20: e7bf b.n 8002aa2 - 8002b22: 6da2 ldr r2, [r4, #88] ; 0x58 - 8002b24: f042 0220 orr.w r2, r2, #32 - 8002b28: 65a2 str r2, [r4, #88] ; 0x58 - 8002b2a: 6de2 ldr r2, [r4, #92] ; 0x5c - 8002b2c: f042 0201 orr.w r2, r2, #1 - 8002b30: 65e2 str r2, [r4, #92] ; 0x5c - 8002b32: e7dc b.n 8002aee - 8002b34: 2000 movs r0, #0 - 8002b36: e7b4 b.n 8002aa2 +08002a80 : + 8002a80: b538 push {r3, r4, r5, lr} + 8002a82: 4604 mov r4, r0 + 8002a84: 6800 ldr r0, [r0, #0] + 8002a86: f7ff fd35 bl 80024f4 + 8002a8a: 4605 mov r5, r0 + 8002a8c: bb20 cbnz r0, 8002ad8 + 8002a8e: f894 3054 ldrb.w r3, [r4, #84] ; 0x54 + 8002a92: 2b01 cmp r3, #1 + 8002a94: d020 beq.n 8002ad8 + 8002a96: 2301 movs r3, #1 + 8002a98: f884 3054 strb.w r3, [r4, #84] ; 0x54 + 8002a9c: 4620 mov r0, r4 + 8002a9e: f7ff ff95 bl 80029cc + 8002aa2: b9b0 cbnz r0, 8002ad2 + 8002aa4: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002aa6: 6822 ldr r2, [r4, #0] + 8002aa8: f423 6370 bic.w r3, r3, #3840 ; 0xf00 + 8002aac: f023 0301 bic.w r3, r3, #1 + 8002ab0: f443 7380 orr.w r3, r3, #256 ; 0x100 + 8002ab4: 65a3 str r3, [r4, #88] ; 0x58 + 8002ab6: 231c movs r3, #28 + 8002ab8: 65e0 str r0, [r4, #92] ; 0x5c + 8002aba: 6013 str r3, [r2, #0] + 8002abc: f884 0054 strb.w r0, [r4, #84] ; 0x54 + 8002ac0: 6893 ldr r3, [r2, #8] + 8002ac2: f023 4300 bic.w r3, r3, #2147483648 ; 0x80000000 + 8002ac6: f023 0317 bic.w r3, r3, #23 + 8002aca: f043 0304 orr.w r3, r3, #4 + 8002ace: 6093 str r3, [r2, #8] + 8002ad0: bd38 pop {r3, r4, r5, pc} + 8002ad2: f884 5054 strb.w r5, [r4, #84] ; 0x54 + 8002ad6: e7fb b.n 8002ad0 + 8002ad8: 2002 movs r0, #2 + 8002ada: e7f9 b.n 8002ad0 -08002b38 : - 8002b38: 6803 ldr r3, [r0, #0] - 8002b3a: 6c18 ldr r0, [r3, #64] ; 0x40 - 8002b3c: 4770 bx lr +08002adc : + 8002adc: 6802 ldr r2, [r0, #0] + 8002ade: b538 push {r3, r4, r5, lr} + 8002ae0: 6893 ldr r3, [r2, #8] + 8002ae2: 6891 ldr r1, [r2, #8] + 8002ae4: 4604 mov r4, r0 + 8002ae6: 07c8 lsls r0, r1, #31 + 8002ae8: d401 bmi.n 8002aee + 8002aea: 2000 movs r0, #0 + 8002aec: bd38 pop {r3, r4, r5, pc} + 8002aee: 0799 lsls r1, r3, #30 + 8002af0: d4fb bmi.n 8002aea + 8002af2: 6893 ldr r3, [r2, #8] + 8002af4: f003 0305 and.w r3, r3, #5 + 8002af8: 2b01 cmp r3, #1 + 8002afa: d119 bne.n 8002b30 + 8002afc: 6893 ldr r3, [r2, #8] + 8002afe: f023 4300 bic.w r3, r3, #2147483648 ; 0x80000000 + 8002b02: f023 0317 bic.w r3, r3, #23 + 8002b06: f043 0302 orr.w r3, r3, #2 + 8002b0a: 6093 str r3, [r2, #8] + 8002b0c: 2303 movs r3, #3 + 8002b0e: 6013 str r3, [r2, #0] + 8002b10: f7fe feb0 bl 8001874 + 8002b14: 4605 mov r5, r0 + 8002b16: 6823 ldr r3, [r4, #0] + 8002b18: 689b ldr r3, [r3, #8] + 8002b1a: 07db lsls r3, r3, #31 + 8002b1c: d5e5 bpl.n 8002aea + 8002b1e: f7fe fea9 bl 8001874 + 8002b22: 1b40 subs r0, r0, r5 + 8002b24: 2802 cmp r0, #2 + 8002b26: d9f6 bls.n 8002b16 + 8002b28: 6823 ldr r3, [r4, #0] + 8002b2a: 689b ldr r3, [r3, #8] + 8002b2c: 07da lsls r2, r3, #31 + 8002b2e: d5f2 bpl.n 8002b16 + 8002b30: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002b32: f043 0310 orr.w r3, r3, #16 + 8002b36: 65a3 str r3, [r4, #88] ; 0x58 + 8002b38: 6de3 ldr r3, [r4, #92] ; 0x5c + 8002b3a: f043 0301 orr.w r3, r3, #1 + 8002b3e: 65e3 str r3, [r4, #92] ; 0x5c + 8002b40: 2001 movs r0, #1 + 8002b42: e7d3 b.n 8002aec + +08002b44 : + 8002b44: b570 push {r4, r5, r6, lr} + 8002b46: 4604 mov r4, r0 + 8002b48: 2800 cmp r0, #0 + 8002b4a: d04b beq.n 8002be4 + 8002b4c: 6d83 ldr r3, [r0, #88] ; 0x58 + 8002b4e: f043 0302 orr.w r3, r3, #2 + 8002b52: 6583 str r3, [r0, #88] ; 0x58 + 8002b54: f7ff ff0c bl 8002970 + 8002b58: 4605 mov r5, r0 + 8002b5a: b968 cbnz r0, 8002b78 + 8002b5c: 4620 mov r0, r4 + 8002b5e: f7ff ffbd bl 8002adc + 8002b62: 4605 mov r5, r0 + 8002b64: b908 cbnz r0, 8002b6a + 8002b66: 2301 movs r3, #1 + 8002b68: 65a3 str r3, [r4, #88] ; 0x58 + 8002b6a: 6822 ldr r2, [r4, #0] + 8002b6c: 6893 ldr r3, [r2, #8] + 8002b6e: f023 4310 bic.w r3, r3, #2415919104 ; 0x90000000 + 8002b72: f023 0317 bic.w r3, r3, #23 + 8002b76: 6093 str r3, [r2, #8] + 8002b78: 6823 ldr r3, [r4, #0] + 8002b7a: 685a ldr r2, [r3, #4] + 8002b7c: f422 7267 bic.w r2, r2, #924 ; 0x39c + 8002b80: f022 0203 bic.w r2, r2, #3 + 8002b84: 605a str r2, [r3, #4] + 8002b86: f240 329f movw r2, #927 ; 0x39f + 8002b8a: 601a str r2, [r3, #0] + 8002b8c: 68d9 ldr r1, [r3, #12] + 8002b8e: 4a16 ldr r2, [pc, #88] ; (8002be8 ) + 8002b90: 400a ands r2, r1 + 8002b92: 60da str r2, [r3, #12] + 8002b94: 691a ldr r2, [r3, #16] + 8002b96: f022 4240 bic.w r2, r2, #3221225472 ; 0xc0000000 + 8002b9a: 611a str r2, [r3, #16] + 8002b9c: 695a ldr r2, [r3, #20] + 8002b9e: f022 0207 bic.w r2, r2, #7 + 8002ba2: 615a str r2, [r3, #20] + 8002ba4: 6a1a ldr r2, [r3, #32] + 8002ba6: f002 22f0 and.w r2, r2, #4026593280 ; 0xf000f000 + 8002baa: 621a str r2, [r3, #32] + 8002bac: 6a5a ldr r2, [r3, #36] ; 0x24 + 8002bae: f002 22f0 and.w r2, r2, #4026593280 ; 0xf000f000 + 8002bb2: 625a str r2, [r3, #36] ; 0x24 + 8002bb4: 6ada ldr r2, [r3, #44] ; 0x2c + 8002bb6: f002 22f0 and.w r2, r2, #4026593280 ; 0xf000f000 + 8002bba: 62da str r2, [r3, #44] ; 0x2c + 8002bbc: 6a9a ldr r2, [r3, #40] ; 0x28 + 8002bbe: 4a0b ldr r2, [pc, #44] ; (8002bec ) + 8002bc0: 2600 movs r6, #0 + 8002bc2: 629e str r6, [r3, #40] ; 0x28 + 8002bc4: f8d2 3708 ldr.w r3, [r2, #1800] ; 0x708 + 8002bc8: f023 73fe bic.w r3, r3, #33292288 ; 0x1fc0000 + 8002bcc: f8c2 3708 str.w r3, [r2, #1800] ; 0x708 + 8002bd0: 4620 mov r0, r4 + 8002bd2: f7fe f9a7 bl 8000f24 + 8002bd6: 65e6 str r6, [r4, #92] ; 0x5c + 8002bd8: 6626 str r6, [r4, #96] ; 0x60 + 8002bda: 65a6 str r6, [r4, #88] ; 0x58 + 8002bdc: f884 6054 strb.w r6, [r4, #84] ; 0x54 + 8002be0: 4628 mov r0, r5 + 8002be2: bd70 pop {r4, r5, r6, pc} + 8002be4: 2501 movs r5, #1 + 8002be6: e7fb b.n 8002be0 + 8002be8: 833e0200 .word 0x833e0200 + 8002bec: 40012000 .word 0x40012000 + +08002bf0 : + 8002bf0: b510 push {r4, lr} + 8002bf2: f890 3054 ldrb.w r3, [r0, #84] ; 0x54 + 8002bf6: 2b01 cmp r3, #1 + 8002bf8: 4604 mov r4, r0 + 8002bfa: d015 beq.n 8002c28 + 8002bfc: 2301 movs r3, #1 + 8002bfe: f880 3054 strb.w r3, [r0, #84] ; 0x54 + 8002c02: f7ff feb5 bl 8002970 + 8002c06: b958 cbnz r0, 8002c20 + 8002c08: 4620 mov r0, r4 + 8002c0a: f7ff ff67 bl 8002adc + 8002c0e: b938 cbnz r0, 8002c20 + 8002c10: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002c12: f423 7380 bic.w r3, r3, #256 ; 0x100 + 8002c16: f023 0301 bic.w r3, r3, #1 + 8002c1a: f043 0301 orr.w r3, r3, #1 + 8002c1e: 65a3 str r3, [r4, #88] ; 0x58 + 8002c20: 2300 movs r3, #0 + 8002c22: f884 3054 strb.w r3, [r4, #84] ; 0x54 + 8002c26: bd10 pop {r4, pc} + 8002c28: 2002 movs r0, #2 + 8002c2a: e7fc b.n 8002c26 + +08002c2c : + 8002c2c: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} + 8002c2e: 2300 movs r3, #0 + 8002c30: 9301 str r3, [sp, #4] + 8002c32: f890 3054 ldrb.w r3, [r0, #84] ; 0x54 + 8002c36: 2b01 cmp r3, #1 + 8002c38: 4604 mov r4, r0 + 8002c3a: d07f beq.n 8002d3c + 8002c3c: 2301 movs r3, #1 + 8002c3e: f880 3054 strb.w r3, [r0, #84] ; 0x54 + 8002c42: f7ff ff4b bl 8002adc + 8002c46: 6823 ldr r3, [r4, #0] + 8002c48: 689a ldr r2, [r3, #8] + 8002c4a: f012 0201 ands.w r2, r2, #1 + 8002c4e: 4605 mov r5, r0 + 8002c50: d007 beq.n 8002c62 + 8002c52: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002c54: f043 0310 orr.w r3, r3, #16 + 8002c58: 65a3 str r3, [r4, #88] ; 0x58 + 8002c5a: 2300 movs r3, #0 + 8002c5c: f884 3054 strb.w r3, [r4, #84] ; 0x54 + 8002c60: e02d b.n 8002cbe + 8002c62: 6da1 ldr r1, [r4, #88] ; 0x58 + 8002c64: 4f36 ldr r7, [pc, #216] ; (8002d40 ) + 8002c66: f421 7181 bic.w r1, r1, #258 ; 0x102 + 8002c6a: f041 0102 orr.w r1, r1, #2 + 8002c6e: 65a1 str r1, [r4, #88] ; 0x58 + 8002c70: 68de ldr r6, [r3, #12] + 8002c72: 68d9 ldr r1, [r3, #12] + 8002c74: f426 46ff bic.w r6, r6, #32640 ; 0x7f80 + 8002c78: f026 067c bic.w r6, r6, #124 ; 0x7c + 8002c7c: f421 4100 bic.w r1, r1, #32768 ; 0x8000 + 8002c80: 0436 lsls r6, r6, #16 + 8002c82: f021 0103 bic.w r1, r1, #3 + 8002c86: 0c36 lsrs r6, r6, #16 + 8002c88: 60d9 str r1, [r3, #12] + 8002c8a: 2008 movs r0, #8 + 8002c8c: 6899 ldr r1, [r3, #8] + 8002c8e: 4039 ands r1, r7 + 8002c90: f041 4100 orr.w r1, r1, #2147483648 ; 0x80000000 + 8002c94: 6099 str r1, [r3, #8] + 8002c96: 6899 ldr r1, [r3, #8] + 8002c98: 2900 cmp r1, #0 + 8002c9a: da13 bge.n 8002cc4 + 8002c9c: 9901 ldr r1, [sp, #4] + 8002c9e: 3101 adds r1, #1 + 8002ca0: 9101 str r1, [sp, #4] + 8002ca2: 9901 ldr r1, [sp, #4] + 8002ca4: f5b1 3f2e cmp.w r1, #178176 ; 0x2b800 + 8002ca8: d3f5 bcc.n 8002c96 + 8002caa: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002cac: f023 0312 bic.w r3, r3, #18 + 8002cb0: f043 0310 orr.w r3, r3, #16 + 8002cb4: 65a3 str r3, [r4, #88] ; 0x58 + 8002cb6: 2300 movs r3, #0 + 8002cb8: f884 3054 strb.w r3, [r4, #84] ; 0x54 + 8002cbc: 2501 movs r5, #1 + 8002cbe: 4628 mov r0, r5 + 8002cc0: b003 add sp, #12 + 8002cc2: bdf0 pop {r4, r5, r6, r7, pc} + 8002cc4: f8d3 10b4 ldr.w r1, [r3, #180] ; 0xb4 + 8002cc8: 3801 subs r0, #1 + 8002cca: f001 017f and.w r1, r1, #127 ; 0x7f + 8002cce: 440a add r2, r1 + 8002cd0: d1dc bne.n 8002c8c + 8002cd2: 6899 ldr r1, [r3, #8] + 8002cd4: 481a ldr r0, [pc, #104] ; (8002d40 ) + 8002cd6: 4001 ands r1, r0 + 8002cd8: f041 0101 orr.w r1, r1, #1 + 8002cdc: 6099 str r1, [r3, #8] + 8002cde: f8d3 10b4 ldr.w r1, [r3, #180] ; 0xb4 + 8002ce2: f021 017f bic.w r1, r1, #127 ; 0x7f + 8002ce6: ea41 02d2 orr.w r2, r1, r2, lsr #3 + 8002cea: f8c3 20b4 str.w r2, [r3, #180] ; 0xb4 + 8002cee: 689a ldr r2, [r3, #8] + 8002cf0: 4002 ands r2, r0 + 8002cf2: f042 0202 orr.w r2, r2, #2 + 8002cf6: 609a str r2, [r3, #8] + 8002cf8: f7fe fdbc bl 8001874 + 8002cfc: 4607 mov r7, r0 + 8002cfe: 6823 ldr r3, [r4, #0] + 8002d00: 689a ldr r2, [r3, #8] + 8002d02: 07d2 lsls r2, r2, #31 + 8002d04: d408 bmi.n 8002d18 + 8002d06: 68da ldr r2, [r3, #12] + 8002d08: 4332 orrs r2, r6 + 8002d0a: 60da str r2, [r3, #12] + 8002d0c: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002d0e: f023 0303 bic.w r3, r3, #3 + 8002d12: f043 0301 orr.w r3, r3, #1 + 8002d16: e79f b.n 8002c58 + 8002d18: f7fe fdac bl 8001874 + 8002d1c: 1bc0 subs r0, r0, r7 + 8002d1e: 2802 cmp r0, #2 + 8002d20: d9ed bls.n 8002cfe + 8002d22: 6823 ldr r3, [r4, #0] + 8002d24: 689b ldr r3, [r3, #8] + 8002d26: 07d9 lsls r1, r3, #31 + 8002d28: d5e9 bpl.n 8002cfe + 8002d2a: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002d2c: f043 0310 orr.w r3, r3, #16 + 8002d30: 65a3 str r3, [r4, #88] ; 0x58 + 8002d32: 6de3 ldr r3, [r4, #92] ; 0x5c + 8002d34: f043 0301 orr.w r3, r3, #1 + 8002d38: 65e3 str r3, [r4, #92] ; 0x5c + 8002d3a: e7bf b.n 8002cbc + 8002d3c: 2502 movs r5, #2 + 8002d3e: e7be b.n 8002cbe + 8002d40: 7fffffe8 .word 0x7fffffe8 + +08002d44 : + 8002d44: 4907 ldr r1, [pc, #28] ; (8002d64 ) + 8002d46: 68ca ldr r2, [r1, #12] + 8002d48: f422 62e0 bic.w r2, r2, #1792 ; 0x700 + 8002d4c: 0203 lsls r3, r0, #8 + 8002d4e: 0412 lsls r2, r2, #16 + 8002d50: f403 63e0 and.w r3, r3, #1792 ; 0x700 + 8002d54: 0c12 lsrs r2, r2, #16 + 8002d56: 4313 orrs r3, r2 + 8002d58: f043 63bf orr.w r3, r3, #100139008 ; 0x5f80000 + 8002d5c: f443 3300 orr.w r3, r3, #131072 ; 0x20000 + 8002d60: 60cb str r3, [r1, #12] + 8002d62: 4770 bx lr + 8002d64: e000ed00 .word 0xe000ed00 + +08002d68 : + 8002d68: 4b16 ldr r3, [pc, #88] ; (8002dc4 ) + 8002d6a: b530 push {r4, r5, lr} + 8002d6c: 68dc ldr r4, [r3, #12] + 8002d6e: f3c4 2402 ubfx r4, r4, #8, #3 + 8002d72: f1c4 0307 rsb r3, r4, #7 + 8002d76: 1d25 adds r5, r4, #4 + 8002d78: 2b04 cmp r3, #4 + 8002d7a: bf28 it cs + 8002d7c: 2304 movcs r3, #4 + 8002d7e: 2d06 cmp r5, #6 + 8002d80: f04f 35ff mov.w r5, #4294967295 + 8002d84: bf8c ite hi + 8002d86: 3c03 subhi r4, #3 + 8002d88: 2400 movls r4, #0 + 8002d8a: fa05 f303 lsl.w r3, r5, r3 + 8002d8e: ea21 0303 bic.w r3, r1, r3 + 8002d92: 40a5 lsls r5, r4 + 8002d94: ea22 0205 bic.w r2, r2, r5 + 8002d98: 40a3 lsls r3, r4 + 8002d9a: 2800 cmp r0, #0 + 8002d9c: ea43 0302 orr.w r3, r3, r2 + 8002da0: bfac ite ge + 8002da2: f100 4060 addge.w r0, r0, #3758096384 ; 0xe0000000 + 8002da6: 4a08 ldrlt r2, [pc, #32] ; (8002dc8 ) + 8002da8: ea4f 1303 mov.w r3, r3, lsl #4 + 8002dac: bfb8 it lt + 8002dae: f000 000f andlt.w r0, r0, #15 + 8002db2: b2db uxtb r3, r3 + 8002db4: bfaa itet ge + 8002db6: f500 4061 addge.w r0, r0, #57600 ; 0xe100 + 8002dba: 5413 strblt r3, [r2, r0] + 8002dbc: f880 3300 strbge.w r3, [r0, #768] ; 0x300 + 8002dc0: bd30 pop {r4, r5, pc} + 8002dc2: bf00 nop + 8002dc4: e000ed00 .word 0xe000ed00 + 8002dc8: e000ed14 .word 0xe000ed14 + +08002dcc : + 8002dcc: 2800 cmp r0, #0 + 8002dce: db07 blt.n 8002de0 + 8002dd0: 4a04 ldr r2, [pc, #16] ; (8002de4 ) + 8002dd2: 0941 lsrs r1, r0, #5 + 8002dd4: 2301 movs r3, #1 + 8002dd6: f000 001f and.w r0, r0, #31 + 8002dda: 4083 lsls r3, r0 + 8002ddc: f842 3021 str.w r3, [r2, r1, lsl #2] + 8002de0: 4770 bx lr + 8002de2: bf00 nop + 8002de4: e000e100 .word 0xe000e100 + +08002de8 : + 8002de8: 2800 cmp r0, #0 + 8002dea: db0c blt.n 8002e06 + 8002dec: 0943 lsrs r3, r0, #5 + 8002dee: 4906 ldr r1, [pc, #24] ; (8002e08 ) + 8002df0: f000 001f and.w r0, r0, #31 + 8002df4: 3320 adds r3, #32 + 8002df6: 2201 movs r2, #1 + 8002df8: 4082 lsls r2, r0 + 8002dfa: f841 2023 str.w r2, [r1, r3, lsl #2] + 8002dfe: f3bf 8f4f dsb sy + 8002e02: f3bf 8f6f isb sy + 8002e06: 4770 bx lr + 8002e08: e000e100 .word 0xe000e100 + +08002e0c : + 8002e0c: b570 push {r4, r5, r6, lr} + 8002e0e: e9d0 4513 ldrd r4, r5, [r0, #76] ; 0x4c + 8002e12: 6065 str r5, [r4, #4] + 8002e14: 6d44 ldr r4, [r0, #84] ; 0x54 + 8002e16: b114 cbz r4, 8002e1e + 8002e18: e9d0 4516 ldrd r4, r5, [r0, #88] ; 0x58 + 8002e1c: 6065 str r5, [r4, #4] + 8002e1e: e9d0 5410 ldrd r5, r4, [r0, #64] ; 0x40 + 8002e22: f004 061c and.w r6, r4, #28 + 8002e26: 2401 movs r4, #1 + 8002e28: 40b4 lsls r4, r6 + 8002e2a: 606c str r4, [r5, #4] + 8002e2c: 6804 ldr r4, [r0, #0] + 8002e2e: 6063 str r3, [r4, #4] + 8002e30: 6883 ldr r3, [r0, #8] + 8002e32: 2b10 cmp r3, #16 + 8002e34: bf0b itete eq + 8002e36: 60a2 streq r2, [r4, #8] + 8002e38: 60a1 strne r1, [r4, #8] + 8002e3a: 60e1 streq r1, [r4, #12] + 8002e3c: 60e2 strne r2, [r4, #12] + 8002e3e: bd70 pop {r4, r5, r6, pc} + +08002e40 : + 8002e40: 6802 ldr r2, [r0, #0] + 8002e42: 6c41 ldr r1, [r0, #68] ; 0x44 + 8002e44: b2d3 uxtb r3, r2 + 8002e46: b510 push {r4, lr} + 8002e48: 3b08 subs r3, #8 + 8002e4a: 2414 movs r4, #20 + 8002e4c: fbb3 f3f4 udiv r3, r3, r4 + 8002e50: 4c0b ldr r4, [pc, #44] ; (8002e80 ) + 8002e52: 42a2 cmp r2, r4 + 8002e54: bf88 it hi + 8002e56: 4a0b ldrhi r2, [pc, #44] ; (8002e84 ) + 8002e58: f021 0103 bic.w r1, r1, #3 + 8002e5c: bf99 ittee ls + 8002e5e: f101 4280 addls.w r2, r1, #1073741824 ; 0x40000000 + 8002e62: f502 3202 addls.w r2, r2, #133120 ; 0x20800 + 8002e66: 1852 addhi r2, r2, r1 + 8002e68: 3307 addhi r3, #7 + 8002e6a: 6482 str r2, [r0, #72] ; 0x48 + 8002e6c: 4a06 ldr r2, [pc, #24] ; (8002e88 ) + 8002e6e: 64c2 str r2, [r0, #76] ; 0x4c + 8002e70: f003 031f and.w r3, r3, #31 + 8002e74: 2201 movs r2, #1 + 8002e76: fa02 f303 lsl.w r3, r2, r3 + 8002e7a: 6503 str r3, [r0, #80] ; 0x50 + 8002e7c: bd10 pop {r4, pc} + 8002e7e: bf00 nop + 8002e80: 40020407 .word 0x40020407 + 8002e84: 4002081c .word 0x4002081c + 8002e88: 40020880 .word 0x40020880 + +08002e8c : + 8002e8c: b538 push {r3, r4, r5, lr} + 8002e8e: 2800 cmp r0, #0 + 8002e90: d05e beq.n 8002f50 + 8002e92: 6802 ldr r2, [r0, #0] + 8002e94: 4b2f ldr r3, [pc, #188] ; (8002f54 ) + 8002e96: 429a cmp r2, r3 + 8002e98: f04f 0114 mov.w r1, #20 + 8002e9c: d84c bhi.n 8002f38 + 8002e9e: 4b2e ldr r3, [pc, #184] ; (8002f58 ) + 8002ea0: 4413 add r3, r2 + 8002ea2: fbb3 f3f1 udiv r3, r3, r1 + 8002ea6: 492d ldr r1, [pc, #180] ; (8002f5c ) + 8002ea8: 009b lsls r3, r3, #2 + 8002eaa: e9c0 1310 strd r1, r3, [r0, #64] ; 0x40 + 8002eae: 2302 movs r3, #2 + 8002eb0: f880 3025 strb.w r3, [r0, #37] ; 0x25 + 8002eb4: 6813 ldr r3, [r2, #0] + 8002eb6: 6905 ldr r5, [r0, #16] + 8002eb8: f423 43ff bic.w r3, r3, #32640 ; 0x7f80 + 8002ebc: f023 0370 bic.w r3, r3, #112 ; 0x70 + 8002ec0: 6013 str r3, [r2, #0] + 8002ec2: e9d0 4302 ldrd r4, r3, [r0, #8] + 8002ec6: 4323 orrs r3, r4 + 8002ec8: 432b orrs r3, r5 + 8002eca: 6945 ldr r5, [r0, #20] + 8002ecc: 6811 ldr r1, [r2, #0] + 8002ece: 432b orrs r3, r5 + 8002ed0: 6985 ldr r5, [r0, #24] + 8002ed2: 432b orrs r3, r5 + 8002ed4: 69c5 ldr r5, [r0, #28] + 8002ed6: 432b orrs r3, r5 + 8002ed8: 6a05 ldr r5, [r0, #32] + 8002eda: 432b orrs r3, r5 + 8002edc: 430b orrs r3, r1 + 8002ede: 6013 str r3, [r2, #0] + 8002ee0: f7ff ffae bl 8002e40 + 8002ee4: f5b4 4f80 cmp.w r4, #16384 ; 0x4000 + 8002ee8: bf04 itt eq + 8002eea: 2300 moveq r3, #0 + 8002eec: 6043 streq r3, [r0, #4] + 8002eee: 6842 ldr r2, [r0, #4] + 8002ef0: 6c81 ldr r1, [r0, #72] ; 0x48 + 8002ef2: f002 037f and.w r3, r2, #127 ; 0x7f + 8002ef6: 600b str r3, [r1, #0] + 8002ef8: e9d0 1413 ldrd r1, r4, [r0, #76] ; 0x4c + 8002efc: 3a01 subs r2, #1 + 8002efe: 2a03 cmp r2, #3 + 8002f00: 604c str r4, [r1, #4] + 8002f02: d820 bhi.n 8002f46 + 8002f04: 4a16 ldr r2, [pc, #88] ; (8002f60 ) + 8002f06: 4917 ldr r1, [pc, #92] ; (8002f64 ) + 8002f08: 6581 str r1, [r0, #88] ; 0x58 + 8002f0a: 441a add r2, r3 + 8002f0c: 3b01 subs r3, #1 + 8002f0e: 0092 lsls r2, r2, #2 + 8002f10: 2101 movs r1, #1 + 8002f12: f003 0303 and.w r3, r3, #3 + 8002f16: fa01 f303 lsl.w r3, r1, r3 + 8002f1a: 2100 movs r1, #0 + 8002f1c: 6542 str r2, [r0, #84] ; 0x54 + 8002f1e: 65c3 str r3, [r0, #92] ; 0x5c + 8002f20: 6011 str r1, [r2, #0] + 8002f22: 4a11 ldr r2, [pc, #68] ; (8002f68 ) + 8002f24: 6453 str r3, [r2, #68] ; 0x44 + 8002f26: 2300 movs r3, #0 + 8002f28: 2201 movs r2, #1 + 8002f2a: 63c3 str r3, [r0, #60] ; 0x3c + 8002f2c: f880 3024 strb.w r3, [r0, #36] ; 0x24 + 8002f30: f880 2025 strb.w r2, [r0, #37] ; 0x25 + 8002f34: 4618 mov r0, r3 + 8002f36: bd38 pop {r3, r4, r5, pc} + 8002f38: 4b0c ldr r3, [pc, #48] ; (8002f6c ) + 8002f3a: 4413 add r3, r2 + 8002f3c: fbb3 f3f1 udiv r3, r3, r1 + 8002f40: 490b ldr r1, [pc, #44] ; (8002f70 ) + 8002f42: 009b lsls r3, r3, #2 + 8002f44: e7b1 b.n 8002eaa + 8002f46: 2300 movs r3, #0 + 8002f48: e9c0 3315 strd r3, r3, [r0, #84] ; 0x54 + 8002f4c: 65c3 str r3, [r0, #92] ; 0x5c + 8002f4e: e7ea b.n 8002f26 + 8002f50: 2001 movs r0, #1 + 8002f52: e7f0 b.n 8002f36 + 8002f54: 40020407 .word 0x40020407 + 8002f58: bffdfff8 .word 0xbffdfff8 + 8002f5c: 40020000 .word 0x40020000 + 8002f60: 1000823f .word 0x1000823f + 8002f64: 40020940 .word 0x40020940 + 8002f68: 40020900 .word 0x40020900 + 8002f6c: bffdfbf8 .word 0xbffdfbf8 + 8002f70: 40020400 .word 0x40020400 + +08002f74 : + 8002f74: b538 push {r3, r4, r5, lr} + 8002f76: 2800 cmp r0, #0 + 8002f78: d041 beq.n 8002ffe + 8002f7a: 6802 ldr r2, [r0, #0] + 8002f7c: 6813 ldr r3, [r2, #0] + 8002f7e: f023 0301 bic.w r3, r3, #1 + 8002f82: 6013 str r3, [r2, #0] + 8002f84: 4b1f ldr r3, [pc, #124] ; (8003004 ) + 8002f86: 429a cmp r2, r3 + 8002f88: f04f 0114 mov.w r1, #20 + 8002f8c: d830 bhi.n 8002ff0 + 8002f8e: 4b1e ldr r3, [pc, #120] ; (8003008 ) + 8002f90: 4413 add r3, r2 + 8002f92: fbb3 f3f1 udiv r3, r3, r1 + 8002f96: 491d ldr r1, [pc, #116] ; (800300c ) + 8002f98: 009b lsls r3, r3, #2 + 8002f9a: e9c0 1310 strd r1, r3, [r0, #64] ; 0x40 + 8002f9e: 2401 movs r4, #1 + 8002fa0: f003 031c and.w r3, r3, #28 + 8002fa4: fa04 f303 lsl.w r3, r4, r3 + 8002fa8: 2500 movs r5, #0 + 8002faa: 6015 str r5, [r2, #0] + 8002fac: 604b str r3, [r1, #4] + 8002fae: f7ff ff47 bl 8002e40 + 8002fb2: 6c83 ldr r3, [r0, #72] ; 0x48 + 8002fb4: 6841 ldr r1, [r0, #4] + 8002fb6: 601d str r5, [r3, #0] + 8002fb8: e9d0 3213 ldrd r3, r2, [r0, #76] ; 0x4c + 8002fbc: 605a str r2, [r3, #4] + 8002fbe: 1e4a subs r2, r1, #1 + 8002fc0: 2a03 cmp r2, #3 + 8002fc2: d806 bhi.n 8002fd2 + 8002fc4: 4b12 ldr r3, [pc, #72] ; (8003010 ) + 8002fc6: 440b add r3, r1 + 8002fc8: 009b lsls r3, r3, #2 + 8002fca: 4094 lsls r4, r2 + 8002fcc: 601d str r5, [r3, #0] + 8002fce: 4b11 ldr r3, [pc, #68] ; (8003014 ) + 8002fd0: 645c str r4, [r3, #68] ; 0x44 + 8002fd2: 2300 movs r3, #0 + 8002fd4: 63c3 str r3, [r0, #60] ; 0x3c + 8002fd6: e9c0 3315 strd r3, r3, [r0, #84] ; 0x54 + 8002fda: e9c0 330b strd r3, r3, [r0, #44] ; 0x2c + 8002fde: e9c0 330d strd r3, r3, [r0, #52] ; 0x34 + 8002fe2: 65c3 str r3, [r0, #92] ; 0x5c + 8002fe4: f880 3025 strb.w r3, [r0, #37] ; 0x25 + 8002fe8: f880 3024 strb.w r3, [r0, #36] ; 0x24 + 8002fec: 4618 mov r0, r3 + 8002fee: bd38 pop {r3, r4, r5, pc} + 8002ff0: 4b09 ldr r3, [pc, #36] ; (8003018 ) + 8002ff2: 4413 add r3, r2 + 8002ff4: fbb3 f3f1 udiv r3, r3, r1 + 8002ff8: 4908 ldr r1, [pc, #32] ; (800301c ) + 8002ffa: 009b lsls r3, r3, #2 + 8002ffc: e7cd b.n 8002f9a + 8002ffe: 2001 movs r0, #1 + 8003000: e7f5 b.n 8002fee + 8003002: bf00 nop + 8003004: 40020407 .word 0x40020407 + 8003008: bffdfff8 .word 0xbffdfff8 + 800300c: 40020000 .word 0x40020000 + 8003010: 1000823f .word 0x1000823f + 8003014: 40020900 .word 0x40020900 + 8003018: bffdfbf8 .word 0xbffdfbf8 + 800301c: 40020400 .word 0x40020400 + +08003020 : + 8003020: b570 push {r4, r5, r6, lr} + 8003022: f890 5024 ldrb.w r5, [r0, #36] ; 0x24 + 8003026: 2d01 cmp r5, #1 + 8003028: 4604 mov r4, r0 + 800302a: d03b beq.n 80030a4 + 800302c: f890 6025 ldrb.w r6, [r0, #37] ; 0x25 + 8003030: 2501 movs r5, #1 + 8003032: 42ae cmp r6, r5 + 8003034: f880 5024 strb.w r5, [r0, #36] ; 0x24 + 8003038: f04f 0600 mov.w r6, #0 + 800303c: d12c bne.n 8003098 + 800303e: 2502 movs r5, #2 + 8003040: f880 5025 strb.w r5, [r0, #37] ; 0x25 + 8003044: 6805 ldr r5, [r0, #0] + 8003046: 63c6 str r6, [r0, #60] ; 0x3c + 8003048: 682e ldr r6, [r5, #0] + 800304a: f026 0601 bic.w r6, r6, #1 + 800304e: 602e str r6, [r5, #0] + 8003050: f7ff fedc bl 8002e0c + 8003054: 6b03 ldr r3, [r0, #48] ; 0x30 + 8003056: b1bb cbz r3, 8003088 + 8003058: 682b ldr r3, [r5, #0] + 800305a: f043 030e orr.w r3, r3, #14 + 800305e: 602b str r3, [r5, #0] + 8003060: 6ca3 ldr r3, [r4, #72] ; 0x48 + 8003062: 681a ldr r2, [r3, #0] + 8003064: 03d2 lsls r2, r2, #15 + 8003066: bf42 ittt mi + 8003068: 681a ldrmi r2, [r3, #0] + 800306a: f442 7280 orrmi.w r2, r2, #256 ; 0x100 + 800306e: 601a strmi r2, [r3, #0] + 8003070: 6d63 ldr r3, [r4, #84] ; 0x54 + 8003072: b11b cbz r3, 800307c + 8003074: 681a ldr r2, [r3, #0] + 8003076: f442 7280 orr.w r2, r2, #256 ; 0x100 + 800307a: 601a str r2, [r3, #0] + 800307c: 682b ldr r3, [r5, #0] + 800307e: f043 0301 orr.w r3, r3, #1 + 8003082: 602b str r3, [r5, #0] + 8003084: 2000 movs r0, #0 + 8003086: bd70 pop {r4, r5, r6, pc} + 8003088: 682b ldr r3, [r5, #0] + 800308a: f023 0304 bic.w r3, r3, #4 + 800308e: 602b str r3, [r5, #0] + 8003090: 682b ldr r3, [r5, #0] + 8003092: f043 030a orr.w r3, r3, #10 + 8003096: e7e2 b.n 800305e + 8003098: 2380 movs r3, #128 ; 0x80 + 800309a: 63c3 str r3, [r0, #60] ; 0x3c + 800309c: f880 6024 strb.w r6, [r0, #36] ; 0x24 + 80030a0: 4628 mov r0, r5 + 80030a2: e7f0 b.n 8003086 + 80030a4: 2002 movs r0, #2 + 80030a6: e7ee b.n 8003086 + +080030a8 : + 80030a8: 4603 mov r3, r0 + 80030aa: b140 cbz r0, 80030be + 80030ac: f890 2025 ldrb.w r2, [r0, #37] ; 0x25 + 80030b0: 2a02 cmp r2, #2 + 80030b2: d006 beq.n 80030c2 + 80030b4: 2204 movs r2, #4 + 80030b6: 63c2 str r2, [r0, #60] ; 0x3c + 80030b8: 2200 movs r2, #0 + 80030ba: f880 2024 strb.w r2, [r0, #36] ; 0x24 + 80030be: 2001 movs r0, #1 + 80030c0: 4770 bx lr + 80030c2: 6802 ldr r2, [r0, #0] + 80030c4: 6c80 ldr r0, [r0, #72] ; 0x48 + 80030c6: 6811 ldr r1, [r2, #0] + 80030c8: f021 010e bic.w r1, r1, #14 + 80030cc: 6011 str r1, [r2, #0] + 80030ce: 6801 ldr r1, [r0, #0] + 80030d0: f421 7180 bic.w r1, r1, #256 ; 0x100 + 80030d4: 6001 str r1, [r0, #0] + 80030d6: 6811 ldr r1, [r2, #0] + 80030d8: f021 0101 bic.w r1, r1, #1 + 80030dc: 6011 str r1, [r2, #0] + 80030de: e9d3 0210 ldrd r0, r2, [r3, #64] ; 0x40 + 80030e2: f002 011c and.w r1, r2, #28 + 80030e6: 2201 movs r2, #1 + 80030e8: 408a lsls r2, r1 + 80030ea: 6042 str r2, [r0, #4] + 80030ec: e9d3 2113 ldrd r2, r1, [r3, #76] ; 0x4c + 80030f0: 6051 str r1, [r2, #4] + 80030f2: 6d5a ldr r2, [r3, #84] ; 0x54 + 80030f4: b132 cbz r2, 8003104 + 80030f6: 6811 ldr r1, [r2, #0] + 80030f8: f421 7180 bic.w r1, r1, #256 ; 0x100 + 80030fc: 6011 str r1, [r2, #0] + 80030fe: e9d3 2116 ldrd r2, r1, [r3, #88] ; 0x58 + 8003102: 6051 str r1, [r2, #4] + 8003104: 2201 movs r2, #1 + 8003106: 2000 movs r0, #0 + 8003108: f883 2025 strb.w r2, [r3, #37] ; 0x25 + 800310c: f883 0024 strb.w r0, [r3, #36] ; 0x24 + 8003110: 4770 bx lr + +08003112 : + 8003112: b510 push {r4, lr} + 8003114: f890 3025 ldrb.w r3, [r0, #37] ; 0x25 + 8003118: 2b02 cmp r3, #2 + 800311a: d003 beq.n 8003124 + 800311c: 2304 movs r3, #4 + 800311e: 63c3 str r3, [r0, #60] ; 0x3c + 8003120: 2001 movs r0, #1 + 8003122: bd10 pop {r4, pc} + 8003124: 6803 ldr r3, [r0, #0] + 8003126: 681a ldr r2, [r3, #0] + 8003128: f022 020e bic.w r2, r2, #14 + 800312c: 601a str r2, [r3, #0] + 800312e: 681a ldr r2, [r3, #0] + 8003130: f022 0201 bic.w r2, r2, #1 + 8003134: 601a str r2, [r3, #0] + 8003136: 6c82 ldr r2, [r0, #72] ; 0x48 + 8003138: 6813 ldr r3, [r2, #0] + 800313a: f423 7380 bic.w r3, r3, #256 ; 0x100 + 800313e: 6013 str r3, [r2, #0] + 8003140: e9d0 1310 ldrd r1, r3, [r0, #64] ; 0x40 + 8003144: f003 021c and.w r2, r3, #28 + 8003148: 2301 movs r3, #1 + 800314a: 4093 lsls r3, r2 + 800314c: 604b str r3, [r1, #4] + 800314e: e9d0 3213 ldrd r3, r2, [r0, #76] ; 0x4c + 8003152: 605a str r2, [r3, #4] + 8003154: 6d43 ldr r3, [r0, #84] ; 0x54 + 8003156: b133 cbz r3, 8003166 + 8003158: 681a ldr r2, [r3, #0] + 800315a: f422 7280 bic.w r2, r2, #256 ; 0x100 + 800315e: 601a str r2, [r3, #0] + 8003160: e9d0 3216 ldrd r3, r2, [r0, #88] ; 0x58 + 8003164: 605a str r2, [r3, #4] + 8003166: 2301 movs r3, #1 + 8003168: f880 3025 strb.w r3, [r0, #37] ; 0x25 + 800316c: 6b83 ldr r3, [r0, #56] ; 0x38 + 800316e: 2400 movs r4, #0 + 8003170: f880 4024 strb.w r4, [r0, #36] ; 0x24 + 8003174: b113 cbz r3, 800317c + 8003176: 4798 blx r3 + 8003178: 4620 mov r0, r4 + 800317a: e7d2 b.n 8003122 + 800317c: 4618 mov r0, r3 + 800317e: e7d0 b.n 8003122 + +08003180 : + 8003180: b470 push {r4, r5, r6} + 8003182: 6c42 ldr r2, [r0, #68] ; 0x44 + 8003184: 6c04 ldr r4, [r0, #64] ; 0x40 + 8003186: 6803 ldr r3, [r0, #0] + 8003188: 6826 ldr r6, [r4, #0] + 800318a: 681d ldr r5, [r3, #0] + 800318c: f002 021c and.w r2, r2, #28 + 8003190: 2104 movs r1, #4 + 8003192: 4091 lsls r1, r2 + 8003194: 4231 tst r1, r6 + 8003196: d00f beq.n 80031b8 + 8003198: f015 0f04 tst.w r5, #4 + 800319c: d00c beq.n 80031b8 + 800319e: 681a ldr r2, [r3, #0] + 80031a0: 0692 lsls r2, r2, #26 + 80031a2: bf5e ittt pl + 80031a4: 681a ldrpl r2, [r3, #0] + 80031a6: f022 0204 bicpl.w r2, r2, #4 + 80031aa: 601a strpl r2, [r3, #0] + 80031ac: 6b03 ldr r3, [r0, #48] ; 0x30 + 80031ae: 6061 str r1, [r4, #4] + 80031b0: 2b00 cmp r3, #0 + 80031b2: d033 beq.n 800321c + 80031b4: bc70 pop {r4, r5, r6} + 80031b6: 4718 bx r3 + 80031b8: 2102 movs r1, #2 + 80031ba: 4091 lsls r1, r2 + 80031bc: 4231 tst r1, r6 + 80031be: d017 beq.n 80031f0 + 80031c0: f015 0f02 tst.w r5, #2 + 80031c4: d014 beq.n 80031f0 + 80031c6: 681a ldr r2, [r3, #0] + 80031c8: 0694 lsls r4, r2, #26 + 80031ca: d406 bmi.n 80031da + 80031cc: 681a ldr r2, [r3, #0] + 80031ce: f022 020a bic.w r2, r2, #10 + 80031d2: 601a str r2, [r3, #0] + 80031d4: 2201 movs r2, #1 + 80031d6: f880 2025 strb.w r2, [r0, #37] ; 0x25 + 80031da: 4a11 ldr r2, [pc, #68] ; (8003220 ) + 80031dc: 4293 cmp r3, r2 + 80031de: bf8c ite hi + 80031e0: 4b10 ldrhi r3, [pc, #64] ; (8003224 ) + 80031e2: 4b11 ldrls r3, [pc, #68] ; (8003228 ) + 80031e4: 6059 str r1, [r3, #4] + 80031e6: 2300 movs r3, #0 + 80031e8: f880 3024 strb.w r3, [r0, #36] ; 0x24 + 80031ec: 6ac3 ldr r3, [r0, #44] ; 0x2c + 80031ee: e7df b.n 80031b0 + 80031f0: 2108 movs r1, #8 + 80031f2: 4091 lsls r1, r2 + 80031f4: 4231 tst r1, r6 + 80031f6: d011 beq.n 800321c + 80031f8: 0729 lsls r1, r5, #28 + 80031fa: d50f bpl.n 800321c + 80031fc: 6819 ldr r1, [r3, #0] + 80031fe: f021 010e bic.w r1, r1, #14 + 8003202: 6019 str r1, [r3, #0] + 8003204: 2301 movs r3, #1 + 8003206: fa03 f202 lsl.w r2, r3, r2 + 800320a: 6062 str r2, [r4, #4] + 800320c: 63c3 str r3, [r0, #60] ; 0x3c + 800320e: f880 3025 strb.w r3, [r0, #37] ; 0x25 + 8003212: 2300 movs r3, #0 + 8003214: f880 3024 strb.w r3, [r0, #36] ; 0x24 + 8003218: 6b43 ldr r3, [r0, #52] ; 0x34 + 800321a: e7c9 b.n 80031b0 + 800321c: bc70 pop {r4, r5, r6} + 800321e: 4770 bx lr + 8003220: 40020080 .word 0x40020080 + 8003224: 40020400 .word 0x40020400 + 8003228: 40020000 .word 0x40020000 + +0800322c : + 800322c: 4a0a ldr r2, [pc, #40] ; (8003258 ) + 800322e: 6953 ldr r3, [r2, #20] + 8003230: f443 2380 orr.w r3, r3, #262144 ; 0x40000 + 8003234: b530 push {r4, r5, lr} + 8003236: 6153 str r3, [r2, #20] + 8003238: f3ef 8410 mrs r4, PRIMASK + 800323c: b672 cpsid i + 800323e: 2300 movs r3, #0 + 8003240: 58cd ldr r5, [r1, r3] + 8003242: 50c5 str r5, [r0, r3] + 8003244: 3304 adds r3, #4 + 8003246: f5b3 7f80 cmp.w r3, #256 ; 0x100 + 800324a: d1f9 bne.n 8003240 + 800324c: 6913 ldr r3, [r2, #16] + 800324e: 03db lsls r3, r3, #15 + 8003250: d4fc bmi.n 800324c + 8003252: f384 8810 msr PRIMASK, r4 + 8003256: bd30 pop {r4, r5, pc} + 8003258: 58004000 .word 0x58004000 + +0800325c : + 800325c: 4b06 ldr r3, [pc, #24] ; (8003278 ) + 800325e: 695a ldr r2, [r3, #20] + 8003260: 2a00 cmp r2, #0 + 8003262: bfbf itttt lt + 8003264: 4a05 ldrlt r2, [pc, #20] ; (800327c ) + 8003266: 609a strlt r2, [r3, #8] + 8003268: f102 3288 addlt.w r2, r2, #2290649224 ; 0x88888888 + 800326c: 609a strlt r2, [r3, #8] + 800326e: bfba itte lt + 8003270: 6958 ldrlt r0, [r3, #20] + 8003272: 0fc0 lsrlt r0, r0, #31 + 8003274: 2000 movge r0, #0 + 8003276: 4770 bx lr + 8003278: 58004000 .word 0x58004000 + 800327c: 45670123 .word 0x45670123 + +08003280 : + 8003280: 4b04 ldr r3, [pc, #16] ; (8003294 ) + 8003282: 695a ldr r2, [r3, #20] + 8003284: f042 4200 orr.w r2, r2, #2147483648 ; 0x80000000 + 8003288: 615a str r2, [r3, #20] + 800328a: 6958 ldr r0, [r3, #20] + 800328c: 43c0 mvns r0, r0 + 800328e: 0fc0 lsrs r0, r0, #31 + 8003290: 4770 bx lr + 8003292: bf00 nop + 8003294: 58004000 .word 0x58004000 + +08003298 : + 8003298: b570 push {r4, r5, r6, lr} + 800329a: 4605 mov r5, r0 + 800329c: f7fe faea bl 8001874 + 80032a0: 4e12 ldr r6, [pc, #72] ; (80032ec ) + 80032a2: 4604 mov r4, r0 + 80032a4: 6933 ldr r3, [r6, #16] + 80032a6: 03d9 lsls r1, r3, #15 + 80032a8: d413 bmi.n 80032d2 + 80032aa: 6933 ldr r3, [r6, #16] + 80032ac: 07da lsls r2, r3, #31 + 80032ae: bf44 itt mi + 80032b0: 2201 movmi r2, #1 + 80032b2: 6132 strmi r2, [r6, #16] + 80032b4: f24c 32fa movw r2, #50170 ; 0xc3fa + 80032b8: 4013 ands r3, r2 + 80032ba: d111 bne.n 80032e0 + 80032bc: 4e0b ldr r6, [pc, #44] ; (80032ec ) + 80032be: 6930 ldr r0, [r6, #16] + 80032c0: f410 2080 ands.w r0, r0, #262144 ; 0x40000 + 80032c4: d00b beq.n 80032de + 80032c6: f7fe fad5 bl 8001874 + 80032ca: 1b00 subs r0, r0, r4 + 80032cc: 42a8 cmp r0, r5 + 80032ce: d3f6 bcc.n 80032be + 80032d0: e004 b.n 80032dc + 80032d2: f7fe facf bl 8001874 + 80032d6: 1b00 subs r0, r0, r4 + 80032d8: 42a8 cmp r0, r5 + 80032da: d3e3 bcc.n 80032a4 + 80032dc: 2003 movs r0, #3 + 80032de: bd70 pop {r4, r5, r6, pc} + 80032e0: 4a02 ldr r2, [pc, #8] ; (80032ec ) + 80032e2: 6113 str r3, [r2, #16] + 80032e4: 4a02 ldr r2, [pc, #8] ; (80032f0 ) + 80032e6: 2001 movs r0, #1 + 80032e8: 6053 str r3, [r2, #4] + 80032ea: e7f8 b.n 80032de + 80032ec: 58004000 .word 0x58004000 + 80032f0: 20000450 .word 0x20000450 + +080032f4 : + 80032f4: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 80032f8: 4d18 ldr r5, [pc, #96] ; (800335c ) + 80032fa: 4698 mov r8, r3 + 80032fc: 782b ldrb r3, [r5, #0] + 80032fe: 2b01 cmp r3, #1 + 8003300: 4606 mov r6, r0 + 8003302: 460c mov r4, r1 + 8003304: 4617 mov r7, r2 + 8003306: d026 beq.n 8003356 + 8003308: 2301 movs r3, #1 + 800330a: 702b strb r3, [r5, #0] + 800330c: f44f 707a mov.w r0, #1000 ; 0x3e8 + 8003310: 2300 movs r3, #0 + 8003312: 606b str r3, [r5, #4] + 8003314: f7ff ffc0 bl 8003298 + 8003318: b9a0 cbnz r0, 8003344 + 800331a: 2e01 cmp r6, #1 + 800331c: d116 bne.n 800334c + 800331e: 4a10 ldr r2, [pc, #64] ; (8003360 ) + 8003320: 6953 ldr r3, [r2, #20] + 8003322: f043 0301 orr.w r3, r3, #1 + 8003326: 6153 str r3, [r2, #20] + 8003328: 6027 str r7, [r4, #0] + 800332a: f3bf 8f6f isb sy + 800332e: f8c4 8004 str.w r8, [r4, #4] + 8003332: f44f 707a mov.w r0, #1000 ; 0x3e8 + 8003336: f7ff ffaf bl 8003298 + 800333a: 4a09 ldr r2, [pc, #36] ; (8003360 ) + 800333c: 6953 ldr r3, [r2, #20] + 800333e: ea23 0306 bic.w r3, r3, r6 + 8003342: 6153 str r3, [r2, #20] + 8003344: 2300 movs r3, #0 + 8003346: 702b strb r3, [r5, #0] + 8003348: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800334c: 4639 mov r1, r7 + 800334e: 4620 mov r0, r4 + 8003350: f7ff ff6c bl 800322c + 8003354: e7ed b.n 8003332 + 8003356: 2002 movs r0, #2 + 8003358: e7f6 b.n 8003348 + 800335a: bf00 nop + 800335c: 20000450 .word 0x20000450 + 8003360: 58004000 .word 0x58004000 + +08003364 : + 8003364: 4a05 ldr r2, [pc, #20] ; (800337c ) + 8003366: 6953 ldr r3, [r2, #20] + 8003368: f423 737e bic.w r3, r3, #1016 ; 0x3f8 + 800336c: ea43 00c0 orr.w r0, r3, r0, lsl #3 + 8003370: f440 3080 orr.w r0, r0, #65536 ; 0x10000 + 8003374: f040 0002 orr.w r0, r0, #2 + 8003378: 6150 str r0, [r2, #20] + 800337a: 4770 bx lr + 800337c: 58004000 .word 0x58004000 + +08003380 : + 8003380: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8003384: 4f23 ldr r7, [pc, #140] ; (8003414 ) + 8003386: 783b ldrb r3, [r7, #0] + 8003388: 2b01 cmp r3, #1 + 800338a: 4605 mov r5, r0 + 800338c: 4688 mov r8, r1 + 800338e: d03f beq.n 8003410 + 8003390: 2301 movs r3, #1 + 8003392: 703b strb r3, [r7, #0] + 8003394: f44f 707a mov.w r0, #1000 ; 0x3e8 + 8003398: 2300 movs r3, #0 + 800339a: 607b str r3, [r7, #4] + 800339c: f7ff ff7c bl 8003298 + 80033a0: 4604 mov r4, r0 + 80033a2: b988 cbnz r0, 80033c8 + 80033a4: 682b ldr r3, [r5, #0] + 80033a6: 2b04 cmp r3, #4 + 80033a8: d113 bne.n 80033d2 + 80033aa: 4a1b ldr r2, [pc, #108] ; (8003418 ) + 80033ac: 6953 ldr r3, [r2, #20] + 80033ae: f443 3380 orr.w r3, r3, #65536 ; 0x10000 + 80033b2: f043 0304 orr.w r3, r3, #4 + 80033b6: 6153 str r3, [r2, #20] + 80033b8: f44f 707a mov.w r0, #1000 ; 0x3e8 + 80033bc: f7ff ff6c bl 8003298 + 80033c0: 4604 mov r4, r0 + 80033c2: 4b15 ldr r3, [pc, #84] ; (8003418 ) + 80033c4: 681a ldr r2, [r3, #0] + 80033c6: 681b ldr r3, [r3, #0] + 80033c8: 2300 movs r3, #0 + 80033ca: 703b strb r3, [r7, #0] + 80033cc: 4620 mov r0, r4 + 80033ce: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 80033d2: f04f 33ff mov.w r3, #4294967295 + 80033d6: f8c8 3000 str.w r3, [r8] + 80033da: 686e ldr r6, [r5, #4] + 80033dc: e9d5 3201 ldrd r3, r2, [r5, #4] + 80033e0: 4413 add r3, r2 + 80033e2: 42b3 cmp r3, r6 + 80033e4: d90a bls.n 80033fc + 80033e6: 4630 mov r0, r6 + 80033e8: f7ff ffbc bl 8003364 + 80033ec: f44f 707a mov.w r0, #1000 ; 0x3e8 + 80033f0: f7ff ff52 bl 8003298 + 80033f4: b150 cbz r0, 800340c + 80033f6: f8c8 6000 str.w r6, [r8] + 80033fa: 4604 mov r4, r0 + 80033fc: 4a06 ldr r2, [pc, #24] ; (8003418 ) + 80033fe: 6953 ldr r3, [r2, #20] + 8003400: f423 737e bic.w r3, r3, #1016 ; 0x3f8 + 8003404: f023 0302 bic.w r3, r3, #2 + 8003408: 6153 str r3, [r2, #20] + 800340a: e7da b.n 80033c2 + 800340c: 3601 adds r6, #1 + 800340e: e7e5 b.n 80033dc + 8003410: 2402 movs r4, #2 + 8003412: e7db b.n 80033cc + 8003414: 20000450 .word 0x20000450 + 8003418: 58004000 .word 0x58004000 + +0800341c : + 800341c: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8003420: 4c52 ldr r4, [pc, #328] ; (800356c ) + 8003422: 2300 movs r3, #0 + 8003424: f04f 090f mov.w r9, #15 + 8003428: 680a ldr r2, [r1, #0] + 800342a: fa32 f503 lsrs.w r5, r2, r3 + 800342e: d101 bne.n 8003434 + 8003430: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8003434: 2501 movs r5, #1 + 8003436: fa05 f803 lsl.w r8, r5, r3 + 800343a: ea18 0202 ands.w r2, r8, r2 + 800343e: f000 808e beq.w 800355e + 8003442: 684e ldr r6, [r1, #4] + 8003444: 2703 movs r7, #3 + 8003446: f006 0503 and.w r5, r6, #3 + 800344a: ea4f 0e43 mov.w lr, r3, lsl #1 + 800344e: fa07 fc0e lsl.w ip, r7, lr + 8003452: 1e6f subs r7, r5, #1 + 8003454: 2f01 cmp r7, #1 + 8003456: ea6f 0c0c mvn.w ip, ip + 800345a: d832 bhi.n 80034c2 + 800345c: 6887 ldr r7, [r0, #8] + 800345e: ea07 0a0c and.w sl, r7, ip + 8003462: 68cf ldr r7, [r1, #12] + 8003464: fa07 f70e lsl.w r7, r7, lr + 8003468: ea47 070a orr.w r7, r7, sl + 800346c: 6087 str r7, [r0, #8] + 800346e: 6847 ldr r7, [r0, #4] + 8003470: ea27 0808 bic.w r8, r7, r8 + 8003474: f3c6 1700 ubfx r7, r6, #4, #1 + 8003478: 409f lsls r7, r3 + 800347a: ea47 0708 orr.w r7, r7, r8 + 800347e: 6047 str r7, [r0, #4] + 8003480: 68c7 ldr r7, [r0, #12] + 8003482: ea07 080c and.w r8, r7, ip + 8003486: 688f ldr r7, [r1, #8] + 8003488: fa07 f70e lsl.w r7, r7, lr + 800348c: ea47 0708 orr.w r7, r7, r8 + 8003490: 2d02 cmp r5, #2 + 8003492: 60c7 str r7, [r0, #12] + 8003494: d117 bne.n 80034c6 + 8003496: ea4f 08d3 mov.w r8, r3, lsr #3 + 800349a: eb00 0888 add.w r8, r0, r8, lsl #2 + 800349e: f003 0a07 and.w sl, r3, #7 + 80034a2: f8d8 7020 ldr.w r7, [r8, #32] + 80034a6: ea4f 0a8a mov.w sl, sl, lsl #2 + 80034aa: fa09 fb0a lsl.w fp, r9, sl + 80034ae: ea27 0b0b bic.w fp, r7, fp + 80034b2: 690f ldr r7, [r1, #16] + 80034b4: fa07 f70a lsl.w r7, r7, sl + 80034b8: ea47 070b orr.w r7, r7, fp + 80034bc: f8c8 7020 str.w r7, [r8, #32] + 80034c0: e001 b.n 80034c6 + 80034c2: 2d03 cmp r5, #3 + 80034c4: d1dc bne.n 8003480 + 80034c6: 6807 ldr r7, [r0, #0] + 80034c8: fa05 f50e lsl.w r5, r5, lr + 80034cc: ea07 070c and.w r7, r7, ip + 80034d0: 433d orrs r5, r7 + 80034d2: f416 3f40 tst.w r6, #196608 ; 0x30000 + 80034d6: 6005 str r5, [r0, #0] + 80034d8: d041 beq.n 800355e + 80034da: f023 0703 bic.w r7, r3, #3 + 80034de: f107 4780 add.w r7, r7, #1073741824 ; 0x40000000 + 80034e2: f507 3780 add.w r7, r7, #65536 ; 0x10000 + 80034e6: f003 0c03 and.w ip, r3, #3 + 80034ea: 68bd ldr r5, [r7, #8] + 80034ec: ea4f 0c8c mov.w ip, ip, lsl #2 + 80034f0: f04f 0e07 mov.w lr, #7 + 80034f4: fa0e fe0c lsl.w lr, lr, ip + 80034f8: f1b0 4f90 cmp.w r0, #1207959552 ; 0x48000000 + 80034fc: ea25 0e0e bic.w lr, r5, lr + 8003500: d02f beq.n 8003562 + 8003502: 4d1b ldr r5, [pc, #108] ; (8003570 ) + 8003504: 42a8 cmp r0, r5 + 8003506: d02e beq.n 8003566 + 8003508: f505 6580 add.w r5, r5, #1024 ; 0x400 + 800350c: 42a8 cmp r0, r5 + 800350e: bf0c ite eq + 8003510: 2502 moveq r5, #2 + 8003512: 2507 movne r5, #7 + 8003514: fa05 f50c lsl.w r5, r5, ip + 8003518: ea45 050e orr.w r5, r5, lr + 800351c: 60bd str r5, [r7, #8] + 800351e: 6825 ldr r5, [r4, #0] + 8003520: 43d7 mvns r7, r2 + 8003522: f416 1f80 tst.w r6, #1048576 ; 0x100000 + 8003526: bf0c ite eq + 8003528: 403d andeq r5, r7 + 800352a: 4315 orrne r5, r2 + 800352c: 6025 str r5, [r4, #0] + 800352e: 6865 ldr r5, [r4, #4] + 8003530: f416 1f00 tst.w r6, #2097152 ; 0x200000 + 8003534: bf0c ite eq + 8003536: 403d andeq r5, r7 + 8003538: 4315 orrne r5, r2 + 800353a: 6065 str r5, [r4, #4] + 800353c: f8d4 5080 ldr.w r5, [r4, #128] ; 0x80 + 8003540: f416 3f80 tst.w r6, #65536 ; 0x10000 + 8003544: bf0c ite eq + 8003546: 403d andeq r5, r7 + 8003548: 4315 orrne r5, r2 + 800354a: f8c4 5080 str.w r5, [r4, #128] ; 0x80 + 800354e: f8d4 5084 ldr.w r5, [r4, #132] ; 0x84 + 8003552: 03b6 lsls r6, r6, #14 + 8003554: bf54 ite pl + 8003556: 403d andpl r5, r7 + 8003558: 4315 orrmi r5, r2 + 800355a: f8c4 5084 str.w r5, [r4, #132] ; 0x84 + 800355e: 3301 adds r3, #1 + 8003560: e762 b.n 8003428 + 8003562: 2500 movs r5, #0 + 8003564: e7d6 b.n 8003514 + 8003566: 2501 movs r5, #1 + 8003568: e7d4 b.n 8003514 + 800356a: bf00 nop + 800356c: 58000800 .word 0x58000800 + 8003570: 48000400 .word 0x48000400 + +08003574 : + 8003574: 4a37 ldr r2, [pc, #220] ; (8003654 ) + 8003576: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800357a: 2300 movs r3, #0 + 800357c: f04f 0a01 mov.w sl, #1 + 8003580: f04f 0b07 mov.w fp, #7 + 8003584: f04f 090f mov.w r9, #15 + 8003588: fa31 f403 lsrs.w r4, r1, r3 + 800358c: d101 bne.n 8003592 + 800358e: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8003592: fa0a fc03 lsl.w ip, sl, r3 + 8003596: ea1c 0601 ands.w r6, ip, r1 + 800359a: d054 beq.n 8003646 + 800359c: f023 0403 bic.w r4, r3, #3 + 80035a0: f104 4480 add.w r4, r4, #1073741824 ; 0x40000000 + 80035a4: f504 3480 add.w r4, r4, #65536 ; 0x10000 + 80035a8: f003 0703 and.w r7, r3, #3 + 80035ac: 68a5 ldr r5, [r4, #8] + 80035ae: 00bf lsls r7, r7, #2 + 80035b0: fa0b f807 lsl.w r8, fp, r7 + 80035b4: f1b0 4f90 cmp.w r0, #1207959552 ; 0x48000000 + 80035b8: ea08 0e05 and.w lr, r8, r5 + 80035bc: d045 beq.n 800364a + 80035be: 4d26 ldr r5, [pc, #152] ; (8003658 ) + 80035c0: 42a8 cmp r0, r5 + 80035c2: d044 beq.n 800364e + 80035c4: f505 6580 add.w r5, r5, #1024 ; 0x400 + 80035c8: 42a8 cmp r0, r5 + 80035ca: bf0c ite eq + 80035cc: 2502 moveq r5, #2 + 80035ce: 2507 movne r5, #7 + 80035d0: 40bd lsls r5, r7 + 80035d2: 4575 cmp r5, lr + 80035d4: d117 bne.n 8003606 + 80035d6: f8d2 5080 ldr.w r5, [r2, #128] ; 0x80 + 80035da: ea25 0506 bic.w r5, r5, r6 + 80035de: f8c2 5080 str.w r5, [r2, #128] ; 0x80 + 80035e2: f8d2 5084 ldr.w r5, [r2, #132] ; 0x84 + 80035e6: ea25 0506 bic.w r5, r5, r6 + 80035ea: f8c2 5084 str.w r5, [r2, #132] ; 0x84 + 80035ee: 6815 ldr r5, [r2, #0] + 80035f0: ea25 0506 bic.w r5, r5, r6 + 80035f4: 6015 str r5, [r2, #0] + 80035f6: 6855 ldr r5, [r2, #4] + 80035f8: ea25 0506 bic.w r5, r5, r6 + 80035fc: 6055 str r5, [r2, #4] + 80035fe: 68a5 ldr r5, [r4, #8] + 8003600: ea25 0508 bic.w r5, r5, r8 + 8003604: 60a5 str r5, [r4, #8] + 8003606: 6805 ldr r5, [r0, #0] + 8003608: 2603 movs r6, #3 + 800360a: 005c lsls r4, r3, #1 + 800360c: fa06 f404 lsl.w r4, r6, r4 + 8003610: fa23 f606 lsr.w r6, r3, r6 + 8003614: 4325 orrs r5, r4 + 8003616: eb00 0686 add.w r6, r0, r6, lsl #2 + 800361a: 6005 str r5, [r0, #0] + 800361c: f003 0507 and.w r5, r3, #7 + 8003620: 6a37 ldr r7, [r6, #32] + 8003622: 00ad lsls r5, r5, #2 + 8003624: fa09 f505 lsl.w r5, r9, r5 + 8003628: ea27 0705 bic.w r7, r7, r5 + 800362c: 6237 str r7, [r6, #32] + 800362e: 6885 ldr r5, [r0, #8] + 8003630: ea25 0504 bic.w r5, r5, r4 + 8003634: 6085 str r5, [r0, #8] + 8003636: 6845 ldr r5, [r0, #4] + 8003638: ea25 050c bic.w r5, r5, ip + 800363c: 6045 str r5, [r0, #4] + 800363e: 68c5 ldr r5, [r0, #12] + 8003640: ea25 0404 bic.w r4, r5, r4 + 8003644: 60c4 str r4, [r0, #12] + 8003646: 3301 adds r3, #1 + 8003648: e79e b.n 8003588 + 800364a: 2500 movs r5, #0 + 800364c: e7c0 b.n 80035d0 + 800364e: 2501 movs r5, #1 + 8003650: e7be b.n 80035d0 + 8003652: bf00 nop + 8003654: 58000800 .word 0x58000800 + 8003658: 48000400 .word 0x48000400 + +0800365c : + 800365c: b10a cbz r2, 8003662 + 800365e: 6181 str r1, [r0, #24] + 8003660: 4770 bx lr + 8003662: 6281 str r1, [r0, #40] ; 0x28 + 8003664: 4770 bx lr + +08003666 : + 8003666: 6943 ldr r3, [r0, #20] + 8003668: ea01 0203 and.w r2, r1, r3 + 800366c: ea21 0103 bic.w r1, r1, r3 + 8003670: ea41 4102 orr.w r1, r1, r2, lsl #16 + 8003674: 6181 str r1, [r0, #24] + 8003676: 4770 bx lr + +08003678 : + 8003678: 4a04 ldr r2, [pc, #16] ; (800368c ) + 800367a: 68d1 ldr r1, [r2, #12] + 800367c: 4201 tst r1, r0 + 800367e: b508 push {r3, lr} + 8003680: d002 beq.n 8003688 + 8003682: 60d0 str r0, [r2, #12] + 8003684: f7fe fe36 bl 80022f4 + 8003688: bd08 pop {r3, pc} + 800368a: bf00 nop + 800368c: 58000800 .word 0x58000800 + +08003690 : + 8003690: 4a02 ldr r2, [pc, #8] ; (800369c ) + 8003692: 6813 ldr r3, [r2, #0] + 8003694: f443 7380 orr.w r3, r3, #256 ; 0x100 + 8003698: 6013 str r3, [r2, #0] + 800369a: 4770 bx lr + 800369c: 58000400 .word 0x58000400 + +080036a0 : + 80036a0: 4b0d ldr r3, [pc, #52] ; (80036d8 ) + 80036a2: b510 push {r4, lr} + 80036a4: 695b ldr r3, [r3, #20] + 80036a6: 460c mov r4, r1 + 80036a8: b928 cbnz r0, 80036b6 + 80036aa: 059a lsls r2, r3, #22 + 80036ac: d507 bpl.n 80036be + 80036ae: f000 f839 bl 8003724 + 80036b2: b120 cbz r0, 80036be + 80036b4: bd10 pop {r4, pc} + 80036b6: 059b lsls r3, r3, #22 + 80036b8: d401 bmi.n 80036be + 80036ba: f000 f82b bl 8003714 + 80036be: 4a07 ldr r2, [pc, #28] ; (80036dc ) + 80036c0: 6913 ldr r3, [r2, #16] + 80036c2: 2c01 cmp r4, #1 + 80036c4: f023 0304 bic.w r3, r3, #4 + 80036c8: 6113 str r3, [r2, #16] + 80036ca: d101 bne.n 80036d0 + 80036cc: bf30 wfi + 80036ce: e7f1 b.n 80036b4 + 80036d0: bf40 sev + 80036d2: bf20 wfe + 80036d4: bf20 wfe + 80036d6: e7ed b.n 80036b4 + 80036d8: 58000400 .word 0x58000400 + 80036dc: e000ed00 .word 0xe000ed00 + +080036e0 : + 80036e0: 4a06 ldr r2, [pc, #24] ; (80036fc ) + 80036e2: 6813 ldr r3, [r2, #0] + 80036e4: f023 0307 bic.w r3, r3, #7 + 80036e8: f043 0303 orr.w r3, r3, #3 + 80036ec: 6013 str r3, [r2, #0] + 80036ee: 4a04 ldr r2, [pc, #16] ; (8003700 ) + 80036f0: 6913 ldr r3, [r2, #16] + 80036f2: f043 0304 orr.w r3, r3, #4 + 80036f6: 6113 str r3, [r2, #16] + 80036f8: bf30 wfi + 80036fa: 4770 bx lr + 80036fc: 58000400 .word 0x58000400 + 8003700: e000ed00 .word 0xe000ed00 + +08003704 : + 8003704: 4b02 ldr r3, [pc, #8] ; (8003710 ) + 8003706: 6818 ldr r0, [r3, #0] + 8003708: f400 60c0 and.w r0, r0, #1536 ; 0x600 + 800370c: 4770 bx lr + 800370e: bf00 nop + 8003710: 58000400 .word 0x58000400 + +08003714 : + 8003714: 4a02 ldr r2, [pc, #8] ; (8003720 ) + 8003716: 6813 ldr r3, [r2, #0] + 8003718: f443 4380 orr.w r3, r3, #16384 ; 0x4000 + 800371c: 6013 str r3, [r2, #0] + 800371e: 4770 bx lr + 8003720: 58000400 .word 0x58000400 + +08003724 : + 8003724: 4a0c ldr r2, [pc, #48] ; (8003758 ) + 8003726: 6813 ldr r3, [r2, #0] + 8003728: f423 4380 bic.w r3, r3, #16384 ; 0x4000 + 800372c: 6013 str r3, [r2, #0] + 800372e: 4b0b ldr r3, [pc, #44] ; (800375c ) + 8003730: 681b ldr r3, [r3, #0] + 8003732: 2132 movs r1, #50 ; 0x32 + 8003734: 434b muls r3, r1 + 8003736: 490a ldr r1, [pc, #40] ; (8003760 ) + 8003738: fbb3 f3f1 udiv r3, r3, r1 + 800373c: 6951 ldr r1, [r2, #20] + 800373e: 0589 lsls r1, r1, #22 + 8003740: d500 bpl.n 8003744 + 8003742: b933 cbnz r3, 8003752 + 8003744: 6953 ldr r3, [r2, #20] + 8003746: f413 7f00 tst.w r3, #512 ; 0x200 + 800374a: bf14 ite ne + 800374c: 2003 movne r0, #3 + 800374e: 2000 moveq r0, #0 + 8003750: 4770 bx lr + 8003752: 3b01 subs r3, #1 + 8003754: e7f2 b.n 800373c + 8003756: bf00 nop + 8003758: 58000400 .word 0x58000400 + 800375c: 20000074 .word 0x20000074 + 8003760: 000f4240 .word 0x000f4240 + +08003764 : + 8003764: 4a0b ldr r2, [pc, #44] ; (8003794 ) + 8003766: 6813 ldr r3, [r2, #0] + 8003768: f023 0307 bic.w r3, r3, #7 + 800376c: f043 0302 orr.w r3, r3, #2 + 8003770: 6013 str r3, [r2, #0] + 8003772: 4b09 ldr r3, [pc, #36] ; (8003798 ) + 8003774: 691a ldr r2, [r3, #16] + 8003776: 2801 cmp r0, #1 + 8003778: f042 0204 orr.w r2, r2, #4 + 800377c: 611a str r2, [r3, #16] + 800377e: d105 bne.n 800378c + 8003780: bf30 wfi + 8003782: 691a ldr r2, [r3, #16] + 8003784: f022 0204 bic.w r2, r2, #4 + 8003788: 611a str r2, [r3, #16] + 800378a: 4770 bx lr + 800378c: bf40 sev + 800378e: bf20 wfe + 8003790: bf20 wfe + 8003792: e7f6 b.n 8003782 + 8003794: 58000400 .word 0x58000400 + 8003798: e000ed00 .word 0xe000ed00 + +0800379c : + 800379c: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 80037a0: 6818 ldr r0, [r3, #0] + 80037a2: f3c0 4040 ubfx r0, r0, #17, #1 + 80037a6: 4770 bx lr + +080037a8 : + 80037a8: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 80037ac: 6818 ldr r0, [r3, #0] + 80037ae: f3c0 0040 ubfx r0, r0, #1, #1 + 80037b2: 4770 bx lr + +080037b4 : + 80037b4: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 80037b8: 6853 ldr r3, [r2, #4] + 80037ba: f423 437f bic.w r3, r3, #65280 ; 0xff00 + 80037be: ea43 2300 orr.w r3, r3, r0, lsl #8 + 80037c2: 6053 str r3, [r2, #4] + 80037c4: 4770 bx lr + +080037c6 : + 80037c6: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 80037ca: 6818 ldr r0, [r3, #0] + 80037cc: f3c0 6040 ubfx r0, r0, #25, #1 + 80037d0: 4770 bx lr ... -08002b40 : - 8002b40: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} - 8002b42: 2300 movs r3, #0 - 8002b44: 9301 str r3, [sp, #4] - 8002b46: f890 3054 ldrb.w r3, [r0, #84] ; 0x54 - 8002b4a: 2b01 cmp r3, #1 - 8002b4c: 4604 mov r4, r0 - 8002b4e: f000 80c5 beq.w 8002cdc - 8002b52: 6805 ldr r5, [r0, #0] - 8002b54: 6906 ldr r6, [r0, #16] - 8002b56: 2301 movs r3, #1 - 8002b58: f880 3054 strb.w r3, [r0, #84] ; 0x54 - 8002b5c: 4628 mov r0, r5 - 8002b5e: f7ff fe8d bl 800287c - 8002b62: 2800 cmp r0, #0 - 8002b64: f040 80b4 bne.w 8002cd0 - 8002b68: e9d1 2000 ldrd r2, r0, [r1] - 8002b6c: 2802 cmp r0, #2 - 8002b6e: f026 0304 bic.w r3, r6, #4 - 8002b72: f000 8082 beq.w 8002c7a - 8002b76: f1b3 4f00 cmp.w r3, #2147483648 ; 0x80000000 - 8002b7a: f3c2 0e11 ubfx lr, r2, #0, #18 - 8002b7e: d113 bne.n 8002ba8 - 8002b80: 6aab ldr r3, [r5, #40] ; 0x28 - 8002b82: ea43 030e orr.w r3, r3, lr - 8002b86: 62ab str r3, [r5, #40] ; 0x28 - 8002b88: 688b ldr r3, [r1, #8] - 8002b8a: 6968 ldr r0, [r5, #20] - 8002b8c: ea03 2302 and.w r3, r3, r2, lsl #8 - 8002b90: f023 437c bic.w r3, r3, #4227858432 ; 0xfc000000 - 8002b94: f023 03ff bic.w r3, r3, #255 ; 0xff - 8002b98: ea20 2102 bic.w r1, r0, r2, lsl #8 - 8002b9c: 430b orrs r3, r1 - 8002b9e: 2a00 cmp r2, #0 - 8002ba0: 616b str r3, [r5, #20] - 8002ba2: db26 blt.n 8002bf2 - 8002ba4: 2000 movs r0, #0 - 8002ba6: e055 b.n 8002c54 - 8002ba8: 6e23 ldr r3, [r4, #96] ; 0x60 - 8002baa: f000 071f and.w r7, r0, #31 - 8002bae: f04f 0c0f mov.w ip, #15 - 8002bb2: fa0c fc07 lsl.w ip, ip, r7 - 8002bb6: ea6f 060c mvn.w r6, ip - 8002bba: ea23 0c0c bic.w ip, r3, ip - 8002bbe: f1be 0f00 cmp.w lr, #0 - 8002bc2: d111 bne.n 8002be8 - 8002bc4: f3c2 6384 ubfx r3, r2, #26, #5 - 8002bc8: 40bb lsls r3, r7 - 8002bca: ea43 030c orr.w r3, r3, ip - 8002bce: 6623 str r3, [r4, #96] ; 0x60 - 8002bd0: 0880 lsrs r0, r0, #2 - 8002bd2: 69e3 ldr r3, [r4, #28] - 8002bd4: 3001 adds r0, #1 - 8002bd6: 4298 cmp r0, r3 - 8002bd8: d8d6 bhi.n 8002b88 - 8002bda: 6aa8 ldr r0, [r5, #40] ; 0x28 - 8002bdc: f3c2 6383 ubfx r3, r2, #26, #4 - 8002be0: 40bb lsls r3, r7 - 8002be2: 4006 ands r6, r0 - 8002be4: 4333 orrs r3, r6 - 8002be6: e7ce b.n 8002b86 - 8002be8: fa92 f3a2 rbit r3, r2 - 8002bec: fab3 f383 clz r3, r3 - 8002bf0: e7ea b.n 8002bc8 - 8002bf2: 493b ldr r1, [pc, #236] ; (8002ce0 ) - 8002bf4: 483b ldr r0, [pc, #236] ; (8002ce4 ) - 8002bf6: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 - 8002bfa: 4282 cmp r2, r0 - 8002bfc: f003 75e0 and.w r5, r3, #29360128 ; 0x1c00000 - 8002c00: d119 bne.n 8002c36 - 8002c02: 021b lsls r3, r3, #8 - 8002c04: d4ce bmi.n 8002ba4 - 8002c06: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 - 8002c0a: f023 73e0 bic.w r3, r3, #29360128 ; 0x1c00000 - 8002c0e: 432b orrs r3, r5 - 8002c10: f443 0300 orr.w r3, r3, #8388608 ; 0x800000 - 8002c14: f8c1 3708 str.w r3, [r1, #1800] ; 0x708 - 8002c18: 4b33 ldr r3, [pc, #204] ; (8002ce8 ) - 8002c1a: 681a ldr r2, [r3, #0] - 8002c1c: 4b33 ldr r3, [pc, #204] ; (8002cec ) - 8002c1e: fbb2 f2f3 udiv r2, r2, r3 - 8002c22: 230c movs r3, #12 - 8002c24: fb02 3303 mla r3, r2, r3, r3 - 8002c28: 9301 str r3, [sp, #4] - 8002c2a: 9b01 ldr r3, [sp, #4] - 8002c2c: 2b00 cmp r3, #0 - 8002c2e: d0b9 beq.n 8002ba4 - 8002c30: 9b01 ldr r3, [sp, #4] - 8002c32: 3b01 subs r3, #1 - 8002c34: e7f8 b.n 8002c28 - 8002c36: 482e ldr r0, [pc, #184] ; (8002cf0 ) - 8002c38: 4282 cmp r2, r0 - 8002c3a: d110 bne.n 8002c5e - 8002c3c: f013 7080 ands.w r0, r3, #16777216 ; 0x1000000 - 8002c40: d1b0 bne.n 8002ba4 - 8002c42: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 - 8002c46: f023 73e0 bic.w r3, r3, #29360128 ; 0x1c00000 - 8002c4a: 432b orrs r3, r5 - 8002c4c: f043 7380 orr.w r3, r3, #16777216 ; 0x1000000 - 8002c50: f8c1 3708 str.w r3, [r1, #1800] ; 0x708 - 8002c54: 2300 movs r3, #0 - 8002c56: f884 3054 strb.w r3, [r4, #84] ; 0x54 - 8002c5a: b003 add sp, #12 - 8002c5c: bdf0 pop {r4, r5, r6, r7, pc} - 8002c5e: 4825 ldr r0, [pc, #148] ; (8002cf4 ) - 8002c60: 4282 cmp r2, r0 - 8002c62: d19f bne.n 8002ba4 - 8002c64: f413 0080 ands.w r0, r3, #4194304 ; 0x400000 - 8002c68: d19c bne.n 8002ba4 - 8002c6a: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 - 8002c6e: f023 73e0 bic.w r3, r3, #29360128 ; 0x1c00000 - 8002c72: 432b orrs r3, r5 - 8002c74: f443 0380 orr.w r3, r3, #4194304 ; 0x400000 - 8002c78: e7ea b.n 8002c50 - 8002c7a: f1b3 4f00 cmp.w r3, #2147483648 ; 0x80000000 - 8002c7e: bf01 itttt eq - 8002c80: 6aab ldreq r3, [r5, #40] ; 0x28 - 8002c82: f3c2 0111 ubfxeq r1, r2, #0, #18 - 8002c86: 438b biceq r3, r1 - 8002c88: 62ab streq r3, [r5, #40] ; 0x28 - 8002c8a: 2a00 cmp r2, #0 - 8002c8c: da8a bge.n 8002ba4 - 8002c8e: 4815 ldr r0, [pc, #84] ; (8002ce4 ) - 8002c90: 4913 ldr r1, [pc, #76] ; (8002ce0 ) - 8002c92: 4282 cmp r2, r0 - 8002c94: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 - 8002c98: d109 bne.n 8002cae - 8002c9a: f8d1 2708 ldr.w r2, [r1, #1800] ; 0x708 - 8002c9e: f003 73a0 and.w r3, r3, #20971520 ; 0x1400000 - 8002ca2: f022 72e0 bic.w r2, r2, #29360128 ; 0x1c00000 - 8002ca6: 4313 orrs r3, r2 - 8002ca8: f8c1 3708 str.w r3, [r1, #1800] ; 0x708 - 8002cac: e77a b.n 8002ba4 - 8002cae: 4810 ldr r0, [pc, #64] ; (8002cf0 ) - 8002cb0: 4282 cmp r2, r0 - 8002cb2: d104 bne.n 8002cbe - 8002cb4: f8d1 2708 ldr.w r2, [r1, #1800] ; 0x708 - 8002cb8: f403 0340 and.w r3, r3, #12582912 ; 0xc00000 - 8002cbc: e7f1 b.n 8002ca2 - 8002cbe: 480d ldr r0, [pc, #52] ; (8002cf4 ) - 8002cc0: 4282 cmp r2, r0 - 8002cc2: f47f af6f bne.w 8002ba4 - 8002cc6: f8d1 2708 ldr.w r2, [r1, #1800] ; 0x708 - 8002cca: f003 73c0 and.w r3, r3, #25165824 ; 0x1800000 - 8002cce: e7e8 b.n 8002ca2 - 8002cd0: 6da2 ldr r2, [r4, #88] ; 0x58 - 8002cd2: f042 0220 orr.w r2, r2, #32 - 8002cd6: 65a2 str r2, [r4, #88] ; 0x58 - 8002cd8: 4618 mov r0, r3 - 8002cda: e7bb b.n 8002c54 - 8002cdc: 2002 movs r0, #2 - 8002cde: e7bc b.n 8002c5a - 8002ce0: 40012000 .word 0x40012000 - 8002ce4: b0001000 .word 0xb0001000 - 8002ce8: 20000074 .word 0x20000074 - 8002cec: 00030d40 .word 0x00030d40 - 8002cf0: b8004000 .word 0xb8004000 - 8002cf4: b4002000 .word 0xb4002000 +080037d4 : + 80037d4: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} + 80037d6: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 80037da: 4a2c ldr r2, [pc, #176] ; (800388c ) + 80037dc: f8d3 3108 ldr.w r3, [r3, #264] ; 0x108 + 80037e0: f3c0 1003 ubfx r0, r0, #4, #4 + 80037e4: f003 030f and.w r3, r3, #15 + 80037e8: f852 4020 ldr.w r4, [r2, r0, lsl #2] + 80037ec: 4a28 ldr r2, [pc, #160] ; (8003890 ) + 80037ee: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 80037f2: fbb4 f4f3 udiv r4, r4, r3 + 80037f6: f7ff ff85 bl 8003704 + 80037fa: 4b26 ldr r3, [pc, #152] ; (8003894 ) + 80037fc: 4605 mov r5, r0 + 80037fe: e893 0007 ldmia.w r3, {r0, r1, r2} + 8003802: f5b5 7f00 cmp.w r5, #512 ; 0x200 + 8003806: ab04 add r3, sp, #16 + 8003808: e903 0007 stmdb r3, {r0, r1, r2} + 800380c: d010 beq.n 8003830 + 800380e: 4b22 ldr r3, [pc, #136] ; (8003898 ) + 8003810: 429c cmp r4, r3 + 8003812: d318 bcc.n 8003846 + 8003814: f503 03b7 add.w r3, r3, #5996544 ; 0x5b8000 + 8003818: f603 537f addw r3, r3, #3455 ; 0xd7f + 800381c: 429c cmp r4, r3 + 800381e: d929 bls.n 8003874 + 8003820: f503 1374 add.w r3, r3, #3997696 ; 0x3d0000 + 8003824: f503 6310 add.w r3, r3, #2304 ; 0x900 + 8003828: 429c cmp r4, r3 + 800382a: d825 bhi.n 8003878 + 800382c: 2302 movs r3, #2 + 800382e: e00b b.n 8003848 + 8003830: 4b1a ldr r3, [pc, #104] ; (800389c ) + 8003832: 429c cmp r4, r3 + 8003834: d907 bls.n 8003846 + 8003836: 4b1a ldr r3, [pc, #104] ; (80038a0 ) + 8003838: 429c cmp r4, r3 + 800383a: d91b bls.n 8003874 + 800383c: f503 0337 add.w r3, r3, #11993088 ; 0xb70000 + 8003840: f503 53d8 add.w r3, r3, #6912 ; 0x1b00 + 8003844: e7f0 b.n 8003828 + 8003846: 2300 movs r3, #0 + 8003848: aa04 add r2, sp, #16 + 800384a: eb02 0383 add.w r3, r2, r3, lsl #2 + 800384e: f853 4c0c ldr.w r4, [r3, #-12] + 8003852: 4d14 ldr r5, [pc, #80] ; (80038a4 ) + 8003854: 682b ldr r3, [r5, #0] + 8003856: f023 0307 bic.w r3, r3, #7 + 800385a: 4323 orrs r3, r4 + 800385c: 602b str r3, [r5, #0] + 800385e: f7fe f809 bl 8001874 + 8003862: 4606 mov r6, r0 + 8003864: 682b ldr r3, [r5, #0] + 8003866: f003 0307 and.w r3, r3, #7 + 800386a: 429c cmp r4, r3 + 800386c: d106 bne.n 800387c + 800386e: 2000 movs r0, #0 + 8003870: b004 add sp, #16 + 8003872: bd70 pop {r4, r5, r6, pc} + 8003874: 2301 movs r3, #1 + 8003876: e7e7 b.n 8003848 + 8003878: 2400 movs r4, #0 + 800387a: e7ea b.n 8003852 + 800387c: f7fd fffa bl 8001874 + 8003880: 1b80 subs r0, r0, r6 + 8003882: 2802 cmp r0, #2 + 8003884: d9ee bls.n 8003864 + 8003886: 2003 movs r0, #3 + 8003888: e7f2 b.n 8003870 + 800388a: bf00 nop + 800388c: 0800f210 .word 0x0800f210 + 8003890: 0800f1b0 .word 0x0800f1b0 + 8003894: 0800f0c8 .word 0x0800f0c8 + 8003898: 006acfc0 .word 0x006acfc0 + 800389c: 0121eabf .word 0x0121eabf + 80038a0: 0234933f .word 0x0234933f + 80038a4: 58004000 .word 0x58004000 -08002cf8 : - 8002cf8: 6802 ldr r2, [r0, #0] - 8002cfa: b538 push {r3, r4, r5, lr} - 8002cfc: 4604 mov r4, r0 - 8002cfe: 4610 mov r0, r2 - 8002d00: f7ff fdbc bl 800287c - 8002d04: b908 cbnz r0, 8002d0a - 8002d06: 2000 movs r0, #0 - 8002d08: bd38 pop {r3, r4, r5, pc} - 8002d0a: 6893 ldr r3, [r2, #8] - 8002d0c: 0799 lsls r1, r3, #30 - 8002d0e: d407 bmi.n 8002d20 - 8002d10: 6893 ldr r3, [r2, #8] - 8002d12: f023 4300 bic.w r3, r3, #2147483648 ; 0x80000000 - 8002d16: f023 0317 bic.w r3, r3, #23 - 8002d1a: f043 0310 orr.w r3, r3, #16 - 8002d1e: 6093 str r3, [r2, #8] - 8002d20: f7fe fdc0 bl 80018a4 - 8002d24: 4605 mov r5, r0 - 8002d26: 6823 ldr r3, [r4, #0] - 8002d28: 689b ldr r3, [r3, #8] - 8002d2a: 075b lsls r3, r3, #29 - 8002d2c: d5eb bpl.n 8002d06 - 8002d2e: f7fe fdb9 bl 80018a4 - 8002d32: 1b40 subs r0, r0, r5 - 8002d34: 2802 cmp r0, #2 - 8002d36: d9f6 bls.n 8002d26 - 8002d38: 6823 ldr r3, [r4, #0] - 8002d3a: 689b ldr r3, [r3, #8] - 8002d3c: 075a lsls r2, r3, #29 - 8002d3e: d5f2 bpl.n 8002d26 - 8002d40: 6da3 ldr r3, [r4, #88] ; 0x58 - 8002d42: f043 0310 orr.w r3, r3, #16 - 8002d46: 65a3 str r3, [r4, #88] ; 0x58 - 8002d48: 6de3 ldr r3, [r4, #92] ; 0x5c - 8002d4a: f043 0301 orr.w r3, r3, #1 - 8002d4e: 65e3 str r3, [r4, #92] ; 0x5c - 8002d50: 2001 movs r0, #1 - 8002d52: e7d9 b.n 8002d08 +080038a8 : + 80038a8: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 80038ac: b510 push {r4, lr} + 80038ae: 689a ldr r2, [r3, #8] + 80038b0: 68d9 ldr r1, [r3, #12] + 80038b2: f012 020c ands.w r2, r2, #12 + 80038b6: d005 beq.n 80038c4 + 80038b8: 2a0c cmp r2, #12 + 80038ba: d14a bne.n 8003952 + 80038bc: f001 0303 and.w r3, r1, #3 + 80038c0: 2b01 cmp r3, #1 + 80038c2: d150 bne.n 8003966 + 80038c4: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 + 80038c8: 482b ldr r0, [pc, #172] ; (8003978 ) + 80038ca: 680b ldr r3, [r1, #0] + 80038cc: f013 0308 ands.w r3, r3, #8 + 80038d0: d006 beq.n 80038e0 + 80038d2: 680b ldr r3, [r1, #0] + 80038d4: f013 0308 ands.w r3, r3, #8 + 80038d8: d137 bne.n 800394a + 80038da: f8d1 1094 ldr.w r1, [r1, #148] ; 0x94 + 80038de: e007 b.n 80038f0 + 80038e0: 680c ldr r4, [r1, #0] + 80038e2: 0724 lsls r4, r4, #28 + 80038e4: bf56 itet pl + 80038e6: f8d1 3094 ldrpl.w r3, [r1, #148] ; 0x94 + 80038ea: 6809 ldrmi r1, [r1, #0] + 80038ec: f3c3 2303 ubfxpl r3, r3, #8, #4 + 80038f0: f850 3023 ldr.w r3, [r0, r3, lsl #2] + 80038f4: 2a00 cmp r2, #0 + 80038f6: bf0c ite eq + 80038f8: 4618 moveq r0, r3 + 80038fa: 2000 movne r0, #0 + 80038fc: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 + 8003900: 688a ldr r2, [r1, #8] + 8003902: f002 020c and.w r2, r2, #12 + 8003906: 2a0c cmp r2, #12 + 8003908: d11e bne.n 8003948 + 800390a: 68ca ldr r2, [r1, #12] + 800390c: f002 0203 and.w r2, r2, #3 + 8003910: 2a02 cmp r2, #2 + 8003912: d02e beq.n 8003972 + 8003914: 2a03 cmp r2, #3 + 8003916: d106 bne.n 8003926 + 8003918: 680b ldr r3, [r1, #0] + 800391a: 4a18 ldr r2, [pc, #96] ; (800397c ) + 800391c: f413 1f80 tst.w r3, #1048576 ; 0x100000 + 8003920: 4b17 ldr r3, [pc, #92] ; (8003980 ) + 8003922: bf18 it ne + 8003924: 4613 movne r3, r2 + 8003926: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 800392a: 68d0 ldr r0, [r2, #12] + 800392c: 68d1 ldr r1, [r2, #12] + 800392e: 68d2 ldr r2, [r2, #12] + 8003930: f3c0 2006 ubfx r0, r0, #8, #7 + 8003934: 4358 muls r0, r3 + 8003936: f3c1 1302 ubfx r3, r1, #4, #3 + 800393a: 3301 adds r3, #1 + 800393c: fbb0 f0f3 udiv r0, r0, r3 + 8003940: 0f53 lsrs r3, r2, #29 + 8003942: 3301 adds r3, #1 + 8003944: fbb0 f0f3 udiv r0, r0, r3 + 8003948: bd10 pop {r4, pc} + 800394a: 680b ldr r3, [r1, #0] + 800394c: f3c3 1303 ubfx r3, r3, #4, #4 + 8003950: e7ce b.n 80038f0 + 8003952: 2a04 cmp r2, #4 + 8003954: d00a beq.n 800396c + 8003956: 2a08 cmp r2, #8 + 8003958: d105 bne.n 8003966 + 800395a: 681b ldr r3, [r3, #0] + 800395c: f413 1380 ands.w r3, r3, #1048576 ; 0x100000 + 8003960: d104 bne.n 800396c + 8003962: 4807 ldr r0, [pc, #28] ; (8003980 ) + 8003964: e7ca b.n 80038fc + 8003966: 2300 movs r3, #0 + 8003968: 4618 mov r0, r3 + 800396a: e7c7 b.n 80038fc + 800396c: 4803 ldr r0, [pc, #12] ; (800397c ) + 800396e: 2300 movs r3, #0 + 8003970: e7c4 b.n 80038fc + 8003972: 4b02 ldr r3, [pc, #8] ; (800397c ) + 8003974: e7d7 b.n 8003926 + 8003976: bf00 nop + 8003978: 0800f210 .word 0x0800f210 + 800397c: 00f42400 .word 0x00f42400 + 8003980: 01e84800 .word 0x01e84800 -08002d54 : - 8002d54: b573 push {r0, r1, r4, r5, r6, lr} - 8002d56: 2300 movs r3, #0 - 8002d58: 6802 ldr r2, [r0, #0] - 8002d5a: 9301 str r3, [sp, #4] - 8002d5c: 6893 ldr r3, [r2, #8] - 8002d5e: 07dd lsls r5, r3, #31 - 8002d60: 4604 mov r4, r0 - 8002d62: d502 bpl.n 8002d6a - 8002d64: 2000 movs r0, #0 - 8002d66: b002 add sp, #8 - 8002d68: bd70 pop {r4, r5, r6, pc} - 8002d6a: 6891 ldr r1, [r2, #8] - 8002d6c: 4b21 ldr r3, [pc, #132] ; (8002df4 ) - 8002d6e: 4219 tst r1, r3 - 8002d70: d009 beq.n 8002d86 - 8002d72: 6da3 ldr r3, [r4, #88] ; 0x58 - 8002d74: f043 0310 orr.w r3, r3, #16 - 8002d78: 65a3 str r3, [r4, #88] ; 0x58 - 8002d7a: 6de3 ldr r3, [r4, #92] ; 0x5c - 8002d7c: f043 0301 orr.w r3, r3, #1 - 8002d80: 65e3 str r3, [r4, #92] ; 0x5c - 8002d82: 2001 movs r0, #1 - 8002d84: e7ef b.n 8002d66 - 8002d86: 6893 ldr r3, [r2, #8] - 8002d88: f023 4300 bic.w r3, r3, #2147483648 ; 0x80000000 - 8002d8c: f023 0317 bic.w r3, r3, #23 - 8002d90: f043 0301 orr.w r3, r3, #1 - 8002d94: 6093 str r3, [r2, #8] - 8002d96: 4b18 ldr r3, [pc, #96] ; (8002df8 ) - 8002d98: f8d3 3708 ldr.w r3, [r3, #1800] ; 0x708 - 8002d9c: 0218 lsls r0, r3, #8 - 8002d9e: d41c bmi.n 8002dda - 8002da0: 7e63 ldrb r3, [r4, #25] - 8002da2: 2b01 cmp r3, #1 - 8002da4: d0de beq.n 8002d64 - 8002da6: f7fe fd7d bl 80018a4 - 8002daa: 4e14 ldr r6, [pc, #80] ; (8002dfc ) - 8002dac: 4605 mov r5, r0 - 8002dae: 6822 ldr r2, [r4, #0] - 8002db0: 6813 ldr r3, [r2, #0] - 8002db2: 07db lsls r3, r3, #31 - 8002db4: d4d6 bmi.n 8002d64 - 8002db6: 6893 ldr r3, [r2, #8] - 8002db8: 07d9 lsls r1, r3, #31 - 8002dba: bf5f itttt pl - 8002dbc: 6893 ldrpl r3, [r2, #8] - 8002dbe: 4033 andpl r3, r6 - 8002dc0: f043 0301 orrpl.w r3, r3, #1 - 8002dc4: 6093 strpl r3, [r2, #8] - 8002dc6: f7fe fd6d bl 80018a4 - 8002dca: 1b40 subs r0, r0, r5 - 8002dcc: 2802 cmp r0, #2 - 8002dce: d9ee bls.n 8002dae - 8002dd0: 6823 ldr r3, [r4, #0] - 8002dd2: 681b ldr r3, [r3, #0] - 8002dd4: 07da lsls r2, r3, #31 - 8002dd6: d4ea bmi.n 8002dae - 8002dd8: e7cb b.n 8002d72 - 8002dda: 4b09 ldr r3, [pc, #36] ; (8002e00 ) - 8002ddc: 4a09 ldr r2, [pc, #36] ; (8002e04 ) - 8002dde: 681b ldr r3, [r3, #0] - 8002de0: fbb3 f3f2 udiv r3, r3, r2 - 8002de4: 3301 adds r3, #1 - 8002de6: 9301 str r3, [sp, #4] - 8002de8: 9b01 ldr r3, [sp, #4] - 8002dea: 2b00 cmp r3, #0 - 8002dec: d0d8 beq.n 8002da0 - 8002dee: 9b01 ldr r3, [sp, #4] - 8002df0: 3b01 subs r3, #1 - 8002df2: e7f8 b.n 8002de6 - 8002df4: 80000017 .word 0x80000017 - 8002df8: 40012000 .word 0x40012000 - 8002dfc: 7fffffe8 .word 0x7fffffe8 - 8002e00: 20000074 .word 0x20000074 - 8002e04: 00030d40 .word 0x00030d40 +08003984 : + 8003984: b508 push {r3, lr} + 8003986: f7ff ff8f bl 80038a8 + 800398a: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 800398e: 4a04 ldr r2, [pc, #16] ; (80039a0 ) + 8003990: 689b ldr r3, [r3, #8] + 8003992: f3c3 1303 ubfx r3, r3, #4, #4 + 8003996: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 800399a: fbb0 f0f3 udiv r0, r0, r3 + 800399e: bd08 pop {r3, pc} + 80039a0: 0800f1b0 .word 0x0800f1b0 -08002e08 : - 8002e08: b538 push {r3, r4, r5, lr} - 8002e0a: 4604 mov r4, r0 - 8002e0c: 6800 ldr r0, [r0, #0] - 8002e0e: f7ff fd35 bl 800287c - 8002e12: 4605 mov r5, r0 - 8002e14: bb20 cbnz r0, 8002e60 - 8002e16: f894 3054 ldrb.w r3, [r4, #84] ; 0x54 - 8002e1a: 2b01 cmp r3, #1 - 8002e1c: d020 beq.n 8002e60 - 8002e1e: 2301 movs r3, #1 - 8002e20: f884 3054 strb.w r3, [r4, #84] ; 0x54 - 8002e24: 4620 mov r0, r4 - 8002e26: f7ff ff95 bl 8002d54 - 8002e2a: b9b0 cbnz r0, 8002e5a - 8002e2c: 6da3 ldr r3, [r4, #88] ; 0x58 - 8002e2e: 6822 ldr r2, [r4, #0] - 8002e30: f423 6370 bic.w r3, r3, #3840 ; 0xf00 - 8002e34: f023 0301 bic.w r3, r3, #1 - 8002e38: f443 7380 orr.w r3, r3, #256 ; 0x100 - 8002e3c: 65a3 str r3, [r4, #88] ; 0x58 - 8002e3e: 231c movs r3, #28 - 8002e40: 65e0 str r0, [r4, #92] ; 0x5c - 8002e42: 6013 str r3, [r2, #0] - 8002e44: f884 0054 strb.w r0, [r4, #84] ; 0x54 - 8002e48: 6893 ldr r3, [r2, #8] - 8002e4a: f023 4300 bic.w r3, r3, #2147483648 ; 0x80000000 - 8002e4e: f023 0317 bic.w r3, r3, #23 - 8002e52: f043 0304 orr.w r3, r3, #4 - 8002e56: 6093 str r3, [r2, #8] - 8002e58: bd38 pop {r3, r4, r5, pc} - 8002e5a: f884 5054 strb.w r5, [r4, #84] ; 0x54 - 8002e5e: e7fb b.n 8002e58 - 8002e60: 2002 movs r0, #2 - 8002e62: e7f9 b.n 8002e58 - -08002e64 : - 8002e64: 6802 ldr r2, [r0, #0] - 8002e66: b538 push {r3, r4, r5, lr} - 8002e68: 6893 ldr r3, [r2, #8] - 8002e6a: 6891 ldr r1, [r2, #8] - 8002e6c: 4604 mov r4, r0 - 8002e6e: 07c8 lsls r0, r1, #31 - 8002e70: d401 bmi.n 8002e76 - 8002e72: 2000 movs r0, #0 - 8002e74: bd38 pop {r3, r4, r5, pc} - 8002e76: 0799 lsls r1, r3, #30 - 8002e78: d4fb bmi.n 8002e72 - 8002e7a: 6893 ldr r3, [r2, #8] - 8002e7c: f003 0305 and.w r3, r3, #5 - 8002e80: 2b01 cmp r3, #1 - 8002e82: d119 bne.n 8002eb8 - 8002e84: 6893 ldr r3, [r2, #8] - 8002e86: f023 4300 bic.w r3, r3, #2147483648 ; 0x80000000 - 8002e8a: f023 0317 bic.w r3, r3, #23 - 8002e8e: f043 0302 orr.w r3, r3, #2 - 8002e92: 6093 str r3, [r2, #8] - 8002e94: 2303 movs r3, #3 - 8002e96: 6013 str r3, [r2, #0] - 8002e98: f7fe fd04 bl 80018a4 - 8002e9c: 4605 mov r5, r0 - 8002e9e: 6823 ldr r3, [r4, #0] - 8002ea0: 689b ldr r3, [r3, #8] - 8002ea2: 07db lsls r3, r3, #31 - 8002ea4: d5e5 bpl.n 8002e72 - 8002ea6: f7fe fcfd bl 80018a4 - 8002eaa: 1b40 subs r0, r0, r5 - 8002eac: 2802 cmp r0, #2 - 8002eae: d9f6 bls.n 8002e9e - 8002eb0: 6823 ldr r3, [r4, #0] - 8002eb2: 689b ldr r3, [r3, #8] - 8002eb4: 07da lsls r2, r3, #31 - 8002eb6: d5f2 bpl.n 8002e9e - 8002eb8: 6da3 ldr r3, [r4, #88] ; 0x58 - 8002eba: f043 0310 orr.w r3, r3, #16 - 8002ebe: 65a3 str r3, [r4, #88] ; 0x58 - 8002ec0: 6de3 ldr r3, [r4, #92] ; 0x5c - 8002ec2: f043 0301 orr.w r3, r3, #1 - 8002ec6: 65e3 str r3, [r4, #92] ; 0x5c - 8002ec8: 2001 movs r0, #1 - 8002eca: e7d3 b.n 8002e74 - -08002ecc : - 8002ecc: b570 push {r4, r5, r6, lr} - 8002ece: 4604 mov r4, r0 - 8002ed0: 2800 cmp r0, #0 - 8002ed2: d04b beq.n 8002f6c - 8002ed4: 6d83 ldr r3, [r0, #88] ; 0x58 - 8002ed6: f043 0302 orr.w r3, r3, #2 - 8002eda: 6583 str r3, [r0, #88] ; 0x58 - 8002edc: f7ff ff0c bl 8002cf8 - 8002ee0: 4605 mov r5, r0 - 8002ee2: b968 cbnz r0, 8002f00 - 8002ee4: 4620 mov r0, r4 - 8002ee6: f7ff ffbd bl 8002e64 - 8002eea: 4605 mov r5, r0 - 8002eec: b908 cbnz r0, 8002ef2 - 8002eee: 2301 movs r3, #1 - 8002ef0: 65a3 str r3, [r4, #88] ; 0x58 - 8002ef2: 6822 ldr r2, [r4, #0] - 8002ef4: 6893 ldr r3, [r2, #8] - 8002ef6: f023 4310 bic.w r3, r3, #2415919104 ; 0x90000000 - 8002efa: f023 0317 bic.w r3, r3, #23 - 8002efe: 6093 str r3, [r2, #8] - 8002f00: 6823 ldr r3, [r4, #0] - 8002f02: 685a ldr r2, [r3, #4] - 8002f04: f422 7267 bic.w r2, r2, #924 ; 0x39c - 8002f08: f022 0203 bic.w r2, r2, #3 - 8002f0c: 605a str r2, [r3, #4] - 8002f0e: f240 329f movw r2, #927 ; 0x39f - 8002f12: 601a str r2, [r3, #0] - 8002f14: 68d9 ldr r1, [r3, #12] - 8002f16: 4a16 ldr r2, [pc, #88] ; (8002f70 ) - 8002f18: 400a ands r2, r1 - 8002f1a: 60da str r2, [r3, #12] - 8002f1c: 691a ldr r2, [r3, #16] - 8002f1e: f022 4240 bic.w r2, r2, #3221225472 ; 0xc0000000 - 8002f22: 611a str r2, [r3, #16] - 8002f24: 695a ldr r2, [r3, #20] - 8002f26: f022 0207 bic.w r2, r2, #7 - 8002f2a: 615a str r2, [r3, #20] - 8002f2c: 6a1a ldr r2, [r3, #32] - 8002f2e: f002 22f0 and.w r2, r2, #4026593280 ; 0xf000f000 - 8002f32: 621a str r2, [r3, #32] - 8002f34: 6a5a ldr r2, [r3, #36] ; 0x24 - 8002f36: f002 22f0 and.w r2, r2, #4026593280 ; 0xf000f000 - 8002f3a: 625a str r2, [r3, #36] ; 0x24 - 8002f3c: 6ada ldr r2, [r3, #44] ; 0x2c - 8002f3e: f002 22f0 and.w r2, r2, #4026593280 ; 0xf000f000 - 8002f42: 62da str r2, [r3, #44] ; 0x2c - 8002f44: 6a9a ldr r2, [r3, #40] ; 0x28 - 8002f46: 4a0b ldr r2, [pc, #44] ; (8002f74 ) - 8002f48: 2600 movs r6, #0 - 8002f4a: 629e str r6, [r3, #40] ; 0x28 - 8002f4c: f8d2 3708 ldr.w r3, [r2, #1800] ; 0x708 - 8002f50: f023 73fe bic.w r3, r3, #33292288 ; 0x1fc0000 - 8002f54: f8c2 3708 str.w r3, [r2, #1800] ; 0x708 - 8002f58: 4620 mov r0, r4 - 8002f5a: f7fd ffe3 bl 8000f24 - 8002f5e: 65e6 str r6, [r4, #92] ; 0x5c - 8002f60: 6626 str r6, [r4, #96] ; 0x60 - 8002f62: 65a6 str r6, [r4, #88] ; 0x58 - 8002f64: f884 6054 strb.w r6, [r4, #84] ; 0x54 - 8002f68: 4628 mov r0, r5 - 8002f6a: bd70 pop {r4, r5, r6, pc} - 8002f6c: 2501 movs r5, #1 - 8002f6e: e7fb b.n 8002f68 - 8002f70: 833e0200 .word 0x833e0200 - 8002f74: 40012000 .word 0x40012000 - -08002f78 : - 8002f78: b510 push {r4, lr} - 8002f7a: f890 3054 ldrb.w r3, [r0, #84] ; 0x54 - 8002f7e: 2b01 cmp r3, #1 - 8002f80: 4604 mov r4, r0 - 8002f82: d015 beq.n 8002fb0 - 8002f84: 2301 movs r3, #1 - 8002f86: f880 3054 strb.w r3, [r0, #84] ; 0x54 - 8002f8a: f7ff feb5 bl 8002cf8 - 8002f8e: b958 cbnz r0, 8002fa8 - 8002f90: 4620 mov r0, r4 - 8002f92: f7ff ff67 bl 8002e64 - 8002f96: b938 cbnz r0, 8002fa8 - 8002f98: 6da3 ldr r3, [r4, #88] ; 0x58 - 8002f9a: f423 7380 bic.w r3, r3, #256 ; 0x100 - 8002f9e: f023 0301 bic.w r3, r3, #1 - 8002fa2: f043 0301 orr.w r3, r3, #1 - 8002fa6: 65a3 str r3, [r4, #88] ; 0x58 - 8002fa8: 2300 movs r3, #0 - 8002faa: f884 3054 strb.w r3, [r4, #84] ; 0x54 - 8002fae: bd10 pop {r4, pc} - 8002fb0: 2002 movs r0, #2 - 8002fb2: e7fc b.n 8002fae - -08002fb4 : - 8002fb4: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} - 8002fb6: 2300 movs r3, #0 - 8002fb8: 9301 str r3, [sp, #4] - 8002fba: f890 3054 ldrb.w r3, [r0, #84] ; 0x54 - 8002fbe: 2b01 cmp r3, #1 - 8002fc0: 4604 mov r4, r0 - 8002fc2: d07f beq.n 80030c4 - 8002fc4: 2301 movs r3, #1 - 8002fc6: f880 3054 strb.w r3, [r0, #84] ; 0x54 - 8002fca: f7ff ff4b bl 8002e64 - 8002fce: 6823 ldr r3, [r4, #0] - 8002fd0: 689a ldr r2, [r3, #8] - 8002fd2: f012 0201 ands.w r2, r2, #1 - 8002fd6: 4605 mov r5, r0 - 8002fd8: d007 beq.n 8002fea - 8002fda: 6da3 ldr r3, [r4, #88] ; 0x58 - 8002fdc: f043 0310 orr.w r3, r3, #16 - 8002fe0: 65a3 str r3, [r4, #88] ; 0x58 - 8002fe2: 2300 movs r3, #0 - 8002fe4: f884 3054 strb.w r3, [r4, #84] ; 0x54 - 8002fe8: e02d b.n 8003046 - 8002fea: 6da1 ldr r1, [r4, #88] ; 0x58 - 8002fec: 4f36 ldr r7, [pc, #216] ; (80030c8 ) - 8002fee: f421 7181 bic.w r1, r1, #258 ; 0x102 - 8002ff2: f041 0102 orr.w r1, r1, #2 - 8002ff6: 65a1 str r1, [r4, #88] ; 0x58 - 8002ff8: 68de ldr r6, [r3, #12] - 8002ffa: 68d9 ldr r1, [r3, #12] - 8002ffc: f426 46ff bic.w r6, r6, #32640 ; 0x7f80 - 8003000: f026 067c bic.w r6, r6, #124 ; 0x7c - 8003004: f421 4100 bic.w r1, r1, #32768 ; 0x8000 - 8003008: 0436 lsls r6, r6, #16 - 800300a: f021 0103 bic.w r1, r1, #3 - 800300e: 0c36 lsrs r6, r6, #16 - 8003010: 60d9 str r1, [r3, #12] - 8003012: 2008 movs r0, #8 - 8003014: 6899 ldr r1, [r3, #8] - 8003016: 4039 ands r1, r7 - 8003018: f041 4100 orr.w r1, r1, #2147483648 ; 0x80000000 - 800301c: 6099 str r1, [r3, #8] - 800301e: 6899 ldr r1, [r3, #8] - 8003020: 2900 cmp r1, #0 - 8003022: da13 bge.n 800304c - 8003024: 9901 ldr r1, [sp, #4] - 8003026: 3101 adds r1, #1 - 8003028: 9101 str r1, [sp, #4] - 800302a: 9901 ldr r1, [sp, #4] - 800302c: f5b1 3f2e cmp.w r1, #178176 ; 0x2b800 - 8003030: d3f5 bcc.n 800301e - 8003032: 6da3 ldr r3, [r4, #88] ; 0x58 - 8003034: f023 0312 bic.w r3, r3, #18 - 8003038: f043 0310 orr.w r3, r3, #16 - 800303c: 65a3 str r3, [r4, #88] ; 0x58 - 800303e: 2300 movs r3, #0 - 8003040: f884 3054 strb.w r3, [r4, #84] ; 0x54 - 8003044: 2501 movs r5, #1 - 8003046: 4628 mov r0, r5 - 8003048: b003 add sp, #12 - 800304a: bdf0 pop {r4, r5, r6, r7, pc} - 800304c: f8d3 10b4 ldr.w r1, [r3, #180] ; 0xb4 - 8003050: 3801 subs r0, #1 - 8003052: f001 017f and.w r1, r1, #127 ; 0x7f - 8003056: 440a add r2, r1 - 8003058: d1dc bne.n 8003014 - 800305a: 6899 ldr r1, [r3, #8] - 800305c: 481a ldr r0, [pc, #104] ; (80030c8 ) - 800305e: 4001 ands r1, r0 - 8003060: f041 0101 orr.w r1, r1, #1 - 8003064: 6099 str r1, [r3, #8] - 8003066: f8d3 10b4 ldr.w r1, [r3, #180] ; 0xb4 - 800306a: f021 017f bic.w r1, r1, #127 ; 0x7f - 800306e: ea41 02d2 orr.w r2, r1, r2, lsr #3 - 8003072: f8c3 20b4 str.w r2, [r3, #180] ; 0xb4 - 8003076: 689a ldr r2, [r3, #8] - 8003078: 4002 ands r2, r0 - 800307a: f042 0202 orr.w r2, r2, #2 - 800307e: 609a str r2, [r3, #8] - 8003080: f7fe fc10 bl 80018a4 - 8003084: 4607 mov r7, r0 - 8003086: 6823 ldr r3, [r4, #0] - 8003088: 689a ldr r2, [r3, #8] - 800308a: 07d2 lsls r2, r2, #31 - 800308c: d408 bmi.n 80030a0 - 800308e: 68da ldr r2, [r3, #12] - 8003090: 4332 orrs r2, r6 - 8003092: 60da str r2, [r3, #12] - 8003094: 6da3 ldr r3, [r4, #88] ; 0x58 - 8003096: f023 0303 bic.w r3, r3, #3 - 800309a: f043 0301 orr.w r3, r3, #1 - 800309e: e79f b.n 8002fe0 - 80030a0: f7fe fc00 bl 80018a4 - 80030a4: 1bc0 subs r0, r0, r7 - 80030a6: 2802 cmp r0, #2 - 80030a8: d9ed bls.n 8003086 - 80030aa: 6823 ldr r3, [r4, #0] - 80030ac: 689b ldr r3, [r3, #8] - 80030ae: 07d9 lsls r1, r3, #31 - 80030b0: d5e9 bpl.n 8003086 - 80030b2: 6da3 ldr r3, [r4, #88] ; 0x58 - 80030b4: f043 0310 orr.w r3, r3, #16 - 80030b8: 65a3 str r3, [r4, #88] ; 0x58 - 80030ba: 6de3 ldr r3, [r4, #92] ; 0x5c - 80030bc: f043 0301 orr.w r3, r3, #1 - 80030c0: 65e3 str r3, [r4, #92] ; 0x5c - 80030c2: e7bf b.n 8003044 - 80030c4: 2502 movs r5, #2 - 80030c6: e7be b.n 8003046 - 80030c8: 7fffffe8 .word 0x7fffffe8 - -080030cc : - 80030cc: 4907 ldr r1, [pc, #28] ; (80030ec ) - 80030ce: 68ca ldr r2, [r1, #12] - 80030d0: f422 62e0 bic.w r2, r2, #1792 ; 0x700 - 80030d4: 0203 lsls r3, r0, #8 - 80030d6: 0412 lsls r2, r2, #16 - 80030d8: f403 63e0 and.w r3, r3, #1792 ; 0x700 - 80030dc: 0c12 lsrs r2, r2, #16 - 80030de: 4313 orrs r3, r2 - 80030e0: f043 63bf orr.w r3, r3, #100139008 ; 0x5f80000 - 80030e4: f443 3300 orr.w r3, r3, #131072 ; 0x20000 - 80030e8: 60cb str r3, [r1, #12] - 80030ea: 4770 bx lr - 80030ec: e000ed00 .word 0xe000ed00 - -080030f0 : - 80030f0: 4b16 ldr r3, [pc, #88] ; (800314c ) - 80030f2: b530 push {r4, r5, lr} - 80030f4: 68dc ldr r4, [r3, #12] - 80030f6: f3c4 2402 ubfx r4, r4, #8, #3 - 80030fa: f1c4 0307 rsb r3, r4, #7 - 80030fe: 1d25 adds r5, r4, #4 - 8003100: 2b04 cmp r3, #4 - 8003102: bf28 it cs - 8003104: 2304 movcs r3, #4 - 8003106: 2d06 cmp r5, #6 - 8003108: f04f 35ff mov.w r5, #4294967295 - 800310c: bf8c ite hi - 800310e: 3c03 subhi r4, #3 - 8003110: 2400 movls r4, #0 - 8003112: fa05 f303 lsl.w r3, r5, r3 - 8003116: ea21 0303 bic.w r3, r1, r3 - 800311a: 40a5 lsls r5, r4 - 800311c: ea22 0205 bic.w r2, r2, r5 - 8003120: 40a3 lsls r3, r4 - 8003122: 2800 cmp r0, #0 - 8003124: ea43 0302 orr.w r3, r3, r2 - 8003128: bfac ite ge - 800312a: f100 4060 addge.w r0, r0, #3758096384 ; 0xe0000000 - 800312e: 4a08 ldrlt r2, [pc, #32] ; (8003150 ) - 8003130: ea4f 1303 mov.w r3, r3, lsl #4 - 8003134: bfb8 it lt - 8003136: f000 000f andlt.w r0, r0, #15 - 800313a: b2db uxtb r3, r3 - 800313c: bfaa itet ge - 800313e: f500 4061 addge.w r0, r0, #57600 ; 0xe100 - 8003142: 5413 strblt r3, [r2, r0] - 8003144: f880 3300 strbge.w r3, [r0, #768] ; 0x300 - 8003148: bd30 pop {r4, r5, pc} - 800314a: bf00 nop - 800314c: e000ed00 .word 0xe000ed00 - 8003150: e000ed14 .word 0xe000ed14 - -08003154 : - 8003154: 2800 cmp r0, #0 - 8003156: db07 blt.n 8003168 - 8003158: 4a04 ldr r2, [pc, #16] ; (800316c ) - 800315a: 0941 lsrs r1, r0, #5 - 800315c: 2301 movs r3, #1 - 800315e: f000 001f and.w r0, r0, #31 - 8003162: 4083 lsls r3, r0 - 8003164: f842 3021 str.w r3, [r2, r1, lsl #2] - 8003168: 4770 bx lr - 800316a: bf00 nop - 800316c: e000e100 .word 0xe000e100 - -08003170 : - 8003170: 2800 cmp r0, #0 - 8003172: db0c blt.n 800318e - 8003174: 0943 lsrs r3, r0, #5 - 8003176: 4906 ldr r1, [pc, #24] ; (8003190 ) - 8003178: f000 001f and.w r0, r0, #31 - 800317c: 3320 adds r3, #32 - 800317e: 2201 movs r2, #1 - 8003180: 4082 lsls r2, r0 - 8003182: f841 2023 str.w r2, [r1, r3, lsl #2] - 8003186: f3bf 8f4f dsb sy - 800318a: f3bf 8f6f isb sy - 800318e: 4770 bx lr - 8003190: e000e100 .word 0xe000e100 - -08003194 : - 8003194: b570 push {r4, r5, r6, lr} - 8003196: e9d0 4513 ldrd r4, r5, [r0, #76] ; 0x4c - 800319a: 6065 str r5, [r4, #4] - 800319c: 6d44 ldr r4, [r0, #84] ; 0x54 - 800319e: b114 cbz r4, 80031a6 - 80031a0: e9d0 4516 ldrd r4, r5, [r0, #88] ; 0x58 - 80031a4: 6065 str r5, [r4, #4] - 80031a6: e9d0 5410 ldrd r5, r4, [r0, #64] ; 0x40 - 80031aa: f004 061c and.w r6, r4, #28 - 80031ae: 2401 movs r4, #1 - 80031b0: 40b4 lsls r4, r6 - 80031b2: 606c str r4, [r5, #4] - 80031b4: 6804 ldr r4, [r0, #0] - 80031b6: 6063 str r3, [r4, #4] - 80031b8: 6883 ldr r3, [r0, #8] - 80031ba: 2b10 cmp r3, #16 - 80031bc: bf0b itete eq - 80031be: 60a2 streq r2, [r4, #8] - 80031c0: 60a1 strne r1, [r4, #8] - 80031c2: 60e1 streq r1, [r4, #12] - 80031c4: 60e2 strne r2, [r4, #12] - 80031c6: bd70 pop {r4, r5, r6, pc} - -080031c8 : - 80031c8: 6802 ldr r2, [r0, #0] - 80031ca: 6c41 ldr r1, [r0, #68] ; 0x44 - 80031cc: b2d3 uxtb r3, r2 - 80031ce: b510 push {r4, lr} - 80031d0: 3b08 subs r3, #8 - 80031d2: 2414 movs r4, #20 - 80031d4: fbb3 f3f4 udiv r3, r3, r4 - 80031d8: 4c0b ldr r4, [pc, #44] ; (8003208 ) - 80031da: 42a2 cmp r2, r4 - 80031dc: bf88 it hi - 80031de: 4a0b ldrhi r2, [pc, #44] ; (800320c ) - 80031e0: f021 0103 bic.w r1, r1, #3 - 80031e4: bf99 ittee ls - 80031e6: f101 4280 addls.w r2, r1, #1073741824 ; 0x40000000 - 80031ea: f502 3202 addls.w r2, r2, #133120 ; 0x20800 - 80031ee: 1852 addhi r2, r2, r1 - 80031f0: 3307 addhi r3, #7 - 80031f2: 6482 str r2, [r0, #72] ; 0x48 - 80031f4: 4a06 ldr r2, [pc, #24] ; (8003210 ) - 80031f6: 64c2 str r2, [r0, #76] ; 0x4c - 80031f8: f003 031f and.w r3, r3, #31 - 80031fc: 2201 movs r2, #1 - 80031fe: fa02 f303 lsl.w r3, r2, r3 - 8003202: 6503 str r3, [r0, #80] ; 0x50 - 8003204: bd10 pop {r4, pc} - 8003206: bf00 nop - 8003208: 40020407 .word 0x40020407 - 800320c: 4002081c .word 0x4002081c - 8003210: 40020880 .word 0x40020880 - -08003214 : - 8003214: b538 push {r3, r4, r5, lr} - 8003216: 2800 cmp r0, #0 - 8003218: d05e beq.n 80032d8 - 800321a: 6802 ldr r2, [r0, #0] - 800321c: 4b2f ldr r3, [pc, #188] ; (80032dc ) - 800321e: 429a cmp r2, r3 - 8003220: f04f 0114 mov.w r1, #20 - 8003224: d84c bhi.n 80032c0 - 8003226: 4b2e ldr r3, [pc, #184] ; (80032e0 ) - 8003228: 4413 add r3, r2 - 800322a: fbb3 f3f1 udiv r3, r3, r1 - 800322e: 492d ldr r1, [pc, #180] ; (80032e4 ) - 8003230: 009b lsls r3, r3, #2 - 8003232: e9c0 1310 strd r1, r3, [r0, #64] ; 0x40 - 8003236: 2302 movs r3, #2 - 8003238: f880 3025 strb.w r3, [r0, #37] ; 0x25 - 800323c: 6813 ldr r3, [r2, #0] - 800323e: 6905 ldr r5, [r0, #16] - 8003240: f423 43ff bic.w r3, r3, #32640 ; 0x7f80 - 8003244: f023 0370 bic.w r3, r3, #112 ; 0x70 - 8003248: 6013 str r3, [r2, #0] - 800324a: e9d0 4302 ldrd r4, r3, [r0, #8] - 800324e: 4323 orrs r3, r4 - 8003250: 432b orrs r3, r5 - 8003252: 6945 ldr r5, [r0, #20] - 8003254: 6811 ldr r1, [r2, #0] - 8003256: 432b orrs r3, r5 - 8003258: 6985 ldr r5, [r0, #24] - 800325a: 432b orrs r3, r5 - 800325c: 69c5 ldr r5, [r0, #28] - 800325e: 432b orrs r3, r5 - 8003260: 6a05 ldr r5, [r0, #32] - 8003262: 432b orrs r3, r5 - 8003264: 430b orrs r3, r1 - 8003266: 6013 str r3, [r2, #0] - 8003268: f7ff ffae bl 80031c8 - 800326c: f5b4 4f80 cmp.w r4, #16384 ; 0x4000 - 8003270: bf04 itt eq - 8003272: 2300 moveq r3, #0 - 8003274: 6043 streq r3, [r0, #4] - 8003276: 6842 ldr r2, [r0, #4] - 8003278: 6c81 ldr r1, [r0, #72] ; 0x48 - 800327a: f002 037f and.w r3, r2, #127 ; 0x7f - 800327e: 600b str r3, [r1, #0] - 8003280: e9d0 1413 ldrd r1, r4, [r0, #76] ; 0x4c - 8003284: 3a01 subs r2, #1 - 8003286: 2a03 cmp r2, #3 - 8003288: 604c str r4, [r1, #4] - 800328a: d820 bhi.n 80032ce - 800328c: 4a16 ldr r2, [pc, #88] ; (80032e8 ) - 800328e: 4917 ldr r1, [pc, #92] ; (80032ec ) - 8003290: 6581 str r1, [r0, #88] ; 0x58 - 8003292: 441a add r2, r3 - 8003294: 3b01 subs r3, #1 - 8003296: 0092 lsls r2, r2, #2 - 8003298: 2101 movs r1, #1 - 800329a: f003 0303 and.w r3, r3, #3 - 800329e: fa01 f303 lsl.w r3, r1, r3 - 80032a2: 2100 movs r1, #0 - 80032a4: 6542 str r2, [r0, #84] ; 0x54 - 80032a6: 65c3 str r3, [r0, #92] ; 0x5c - 80032a8: 6011 str r1, [r2, #0] - 80032aa: 4a11 ldr r2, [pc, #68] ; (80032f0 ) - 80032ac: 6453 str r3, [r2, #68] ; 0x44 - 80032ae: 2300 movs r3, #0 - 80032b0: 2201 movs r2, #1 - 80032b2: 63c3 str r3, [r0, #60] ; 0x3c - 80032b4: f880 3024 strb.w r3, [r0, #36] ; 0x24 - 80032b8: f880 2025 strb.w r2, [r0, #37] ; 0x25 - 80032bc: 4618 mov r0, r3 - 80032be: bd38 pop {r3, r4, r5, pc} - 80032c0: 4b0c ldr r3, [pc, #48] ; (80032f4 ) - 80032c2: 4413 add r3, r2 - 80032c4: fbb3 f3f1 udiv r3, r3, r1 - 80032c8: 490b ldr r1, [pc, #44] ; (80032f8 ) - 80032ca: 009b lsls r3, r3, #2 - 80032cc: e7b1 b.n 8003232 - 80032ce: 2300 movs r3, #0 - 80032d0: e9c0 3315 strd r3, r3, [r0, #84] ; 0x54 - 80032d4: 65c3 str r3, [r0, #92] ; 0x5c - 80032d6: e7ea b.n 80032ae - 80032d8: 2001 movs r0, #1 - 80032da: e7f0 b.n 80032be - 80032dc: 40020407 .word 0x40020407 - 80032e0: bffdfff8 .word 0xbffdfff8 - 80032e4: 40020000 .word 0x40020000 - 80032e8: 1000823f .word 0x1000823f - 80032ec: 40020940 .word 0x40020940 - 80032f0: 40020900 .word 0x40020900 - 80032f4: bffdfbf8 .word 0xbffdfbf8 - 80032f8: 40020400 .word 0x40020400 - -080032fc : - 80032fc: b538 push {r3, r4, r5, lr} - 80032fe: 2800 cmp r0, #0 - 8003300: d041 beq.n 8003386 - 8003302: 6802 ldr r2, [r0, #0] - 8003304: 6813 ldr r3, [r2, #0] - 8003306: f023 0301 bic.w r3, r3, #1 - 800330a: 6013 str r3, [r2, #0] - 800330c: 4b1f ldr r3, [pc, #124] ; (800338c ) - 800330e: 429a cmp r2, r3 - 8003310: f04f 0114 mov.w r1, #20 - 8003314: d830 bhi.n 8003378 - 8003316: 4b1e ldr r3, [pc, #120] ; (8003390 ) - 8003318: 4413 add r3, r2 - 800331a: fbb3 f3f1 udiv r3, r3, r1 - 800331e: 491d ldr r1, [pc, #116] ; (8003394 ) - 8003320: 009b lsls r3, r3, #2 - 8003322: e9c0 1310 strd r1, r3, [r0, #64] ; 0x40 - 8003326: 2401 movs r4, #1 - 8003328: f003 031c and.w r3, r3, #28 - 800332c: fa04 f303 lsl.w r3, r4, r3 - 8003330: 2500 movs r5, #0 - 8003332: 6015 str r5, [r2, #0] - 8003334: 604b str r3, [r1, #4] - 8003336: f7ff ff47 bl 80031c8 - 800333a: 6c83 ldr r3, [r0, #72] ; 0x48 - 800333c: 6841 ldr r1, [r0, #4] - 800333e: 601d str r5, [r3, #0] - 8003340: e9d0 3213 ldrd r3, r2, [r0, #76] ; 0x4c - 8003344: 605a str r2, [r3, #4] - 8003346: 1e4a subs r2, r1, #1 - 8003348: 2a03 cmp r2, #3 - 800334a: d806 bhi.n 800335a - 800334c: 4b12 ldr r3, [pc, #72] ; (8003398 ) - 800334e: 440b add r3, r1 - 8003350: 009b lsls r3, r3, #2 - 8003352: 4094 lsls r4, r2 - 8003354: 601d str r5, [r3, #0] - 8003356: 4b11 ldr r3, [pc, #68] ; (800339c ) - 8003358: 645c str r4, [r3, #68] ; 0x44 - 800335a: 2300 movs r3, #0 - 800335c: 63c3 str r3, [r0, #60] ; 0x3c - 800335e: e9c0 3315 strd r3, r3, [r0, #84] ; 0x54 - 8003362: e9c0 330b strd r3, r3, [r0, #44] ; 0x2c - 8003366: e9c0 330d strd r3, r3, [r0, #52] ; 0x34 - 800336a: 65c3 str r3, [r0, #92] ; 0x5c - 800336c: f880 3025 strb.w r3, [r0, #37] ; 0x25 - 8003370: f880 3024 strb.w r3, [r0, #36] ; 0x24 - 8003374: 4618 mov r0, r3 - 8003376: bd38 pop {r3, r4, r5, pc} - 8003378: 4b09 ldr r3, [pc, #36] ; (80033a0 ) - 800337a: 4413 add r3, r2 - 800337c: fbb3 f3f1 udiv r3, r3, r1 - 8003380: 4908 ldr r1, [pc, #32] ; (80033a4 ) - 8003382: 009b lsls r3, r3, #2 - 8003384: e7cd b.n 8003322 - 8003386: 2001 movs r0, #1 - 8003388: e7f5 b.n 8003376 - 800338a: bf00 nop - 800338c: 40020407 .word 0x40020407 - 8003390: bffdfff8 .word 0xbffdfff8 - 8003394: 40020000 .word 0x40020000 - 8003398: 1000823f .word 0x1000823f - 800339c: 40020900 .word 0x40020900 - 80033a0: bffdfbf8 .word 0xbffdfbf8 - 80033a4: 40020400 .word 0x40020400 - -080033a8 : - 80033a8: b570 push {r4, r5, r6, lr} - 80033aa: f890 5024 ldrb.w r5, [r0, #36] ; 0x24 - 80033ae: 2d01 cmp r5, #1 - 80033b0: 4604 mov r4, r0 - 80033b2: d03b beq.n 800342c - 80033b4: f890 6025 ldrb.w r6, [r0, #37] ; 0x25 - 80033b8: 2501 movs r5, #1 - 80033ba: 42ae cmp r6, r5 - 80033bc: f880 5024 strb.w r5, [r0, #36] ; 0x24 - 80033c0: f04f 0600 mov.w r6, #0 - 80033c4: d12c bne.n 8003420 - 80033c6: 2502 movs r5, #2 - 80033c8: f880 5025 strb.w r5, [r0, #37] ; 0x25 - 80033cc: 6805 ldr r5, [r0, #0] - 80033ce: 63c6 str r6, [r0, #60] ; 0x3c - 80033d0: 682e ldr r6, [r5, #0] - 80033d2: f026 0601 bic.w r6, r6, #1 - 80033d6: 602e str r6, [r5, #0] - 80033d8: f7ff fedc bl 8003194 - 80033dc: 6b03 ldr r3, [r0, #48] ; 0x30 - 80033de: b1bb cbz r3, 8003410 - 80033e0: 682b ldr r3, [r5, #0] - 80033e2: f043 030e orr.w r3, r3, #14 - 80033e6: 602b str r3, [r5, #0] - 80033e8: 6ca3 ldr r3, [r4, #72] ; 0x48 - 80033ea: 681a ldr r2, [r3, #0] - 80033ec: 03d2 lsls r2, r2, #15 - 80033ee: bf42 ittt mi - 80033f0: 681a ldrmi r2, [r3, #0] - 80033f2: f442 7280 orrmi.w r2, r2, #256 ; 0x100 - 80033f6: 601a strmi r2, [r3, #0] - 80033f8: 6d63 ldr r3, [r4, #84] ; 0x54 - 80033fa: b11b cbz r3, 8003404 - 80033fc: 681a ldr r2, [r3, #0] - 80033fe: f442 7280 orr.w r2, r2, #256 ; 0x100 - 8003402: 601a str r2, [r3, #0] - 8003404: 682b ldr r3, [r5, #0] - 8003406: f043 0301 orr.w r3, r3, #1 - 800340a: 602b str r3, [r5, #0] - 800340c: 2000 movs r0, #0 - 800340e: bd70 pop {r4, r5, r6, pc} - 8003410: 682b ldr r3, [r5, #0] - 8003412: f023 0304 bic.w r3, r3, #4 - 8003416: 602b str r3, [r5, #0] - 8003418: 682b ldr r3, [r5, #0] - 800341a: f043 030a orr.w r3, r3, #10 - 800341e: e7e2 b.n 80033e6 - 8003420: 2380 movs r3, #128 ; 0x80 - 8003422: 63c3 str r3, [r0, #60] ; 0x3c - 8003424: f880 6024 strb.w r6, [r0, #36] ; 0x24 - 8003428: 4628 mov r0, r5 - 800342a: e7f0 b.n 800340e - 800342c: 2002 movs r0, #2 - 800342e: e7ee b.n 800340e - -08003430 : - 8003430: 4603 mov r3, r0 - 8003432: b140 cbz r0, 8003446 - 8003434: f890 2025 ldrb.w r2, [r0, #37] ; 0x25 - 8003438: 2a02 cmp r2, #2 - 800343a: d006 beq.n 800344a - 800343c: 2204 movs r2, #4 - 800343e: 63c2 str r2, [r0, #60] ; 0x3c - 8003440: 2200 movs r2, #0 - 8003442: f880 2024 strb.w r2, [r0, #36] ; 0x24 - 8003446: 2001 movs r0, #1 - 8003448: 4770 bx lr - 800344a: 6802 ldr r2, [r0, #0] - 800344c: 6c80 ldr r0, [r0, #72] ; 0x48 - 800344e: 6811 ldr r1, [r2, #0] - 8003450: f021 010e bic.w r1, r1, #14 - 8003454: 6011 str r1, [r2, #0] - 8003456: 6801 ldr r1, [r0, #0] - 8003458: f421 7180 bic.w r1, r1, #256 ; 0x100 - 800345c: 6001 str r1, [r0, #0] - 800345e: 6811 ldr r1, [r2, #0] - 8003460: f021 0101 bic.w r1, r1, #1 - 8003464: 6011 str r1, [r2, #0] - 8003466: e9d3 0210 ldrd r0, r2, [r3, #64] ; 0x40 - 800346a: f002 011c and.w r1, r2, #28 - 800346e: 2201 movs r2, #1 - 8003470: 408a lsls r2, r1 - 8003472: 6042 str r2, [r0, #4] - 8003474: e9d3 2113 ldrd r2, r1, [r3, #76] ; 0x4c - 8003478: 6051 str r1, [r2, #4] - 800347a: 6d5a ldr r2, [r3, #84] ; 0x54 - 800347c: b132 cbz r2, 800348c - 800347e: 6811 ldr r1, [r2, #0] - 8003480: f421 7180 bic.w r1, r1, #256 ; 0x100 - 8003484: 6011 str r1, [r2, #0] - 8003486: e9d3 2116 ldrd r2, r1, [r3, #88] ; 0x58 - 800348a: 6051 str r1, [r2, #4] - 800348c: 2201 movs r2, #1 - 800348e: 2000 movs r0, #0 - 8003490: f883 2025 strb.w r2, [r3, #37] ; 0x25 - 8003494: f883 0024 strb.w r0, [r3, #36] ; 0x24 - 8003498: 4770 bx lr - -0800349a : - 800349a: b510 push {r4, lr} - 800349c: f890 3025 ldrb.w r3, [r0, #37] ; 0x25 - 80034a0: 2b02 cmp r3, #2 - 80034a2: d003 beq.n 80034ac - 80034a4: 2304 movs r3, #4 - 80034a6: 63c3 str r3, [r0, #60] ; 0x3c - 80034a8: 2001 movs r0, #1 - 80034aa: bd10 pop {r4, pc} - 80034ac: 6803 ldr r3, [r0, #0] - 80034ae: 681a ldr r2, [r3, #0] - 80034b0: f022 020e bic.w r2, r2, #14 - 80034b4: 601a str r2, [r3, #0] - 80034b6: 681a ldr r2, [r3, #0] - 80034b8: f022 0201 bic.w r2, r2, #1 - 80034bc: 601a str r2, [r3, #0] - 80034be: 6c82 ldr r2, [r0, #72] ; 0x48 - 80034c0: 6813 ldr r3, [r2, #0] - 80034c2: f423 7380 bic.w r3, r3, #256 ; 0x100 - 80034c6: 6013 str r3, [r2, #0] - 80034c8: e9d0 1310 ldrd r1, r3, [r0, #64] ; 0x40 - 80034cc: f003 021c and.w r2, r3, #28 - 80034d0: 2301 movs r3, #1 - 80034d2: 4093 lsls r3, r2 - 80034d4: 604b str r3, [r1, #4] - 80034d6: e9d0 3213 ldrd r3, r2, [r0, #76] ; 0x4c - 80034da: 605a str r2, [r3, #4] - 80034dc: 6d43 ldr r3, [r0, #84] ; 0x54 - 80034de: b133 cbz r3, 80034ee - 80034e0: 681a ldr r2, [r3, #0] - 80034e2: f422 7280 bic.w r2, r2, #256 ; 0x100 - 80034e6: 601a str r2, [r3, #0] - 80034e8: e9d0 3216 ldrd r3, r2, [r0, #88] ; 0x58 - 80034ec: 605a str r2, [r3, #4] - 80034ee: 2301 movs r3, #1 - 80034f0: f880 3025 strb.w r3, [r0, #37] ; 0x25 - 80034f4: 6b83 ldr r3, [r0, #56] ; 0x38 - 80034f6: 2400 movs r4, #0 - 80034f8: f880 4024 strb.w r4, [r0, #36] ; 0x24 - 80034fc: b113 cbz r3, 8003504 - 80034fe: 4798 blx r3 - 8003500: 4620 mov r0, r4 - 8003502: e7d2 b.n 80034aa - 8003504: 4618 mov r0, r3 - 8003506: e7d0 b.n 80034aa - -08003508 : - 8003508: b470 push {r4, r5, r6} - 800350a: 6c42 ldr r2, [r0, #68] ; 0x44 - 800350c: 6c04 ldr r4, [r0, #64] ; 0x40 - 800350e: 6803 ldr r3, [r0, #0] - 8003510: 6826 ldr r6, [r4, #0] - 8003512: 681d ldr r5, [r3, #0] - 8003514: f002 021c and.w r2, r2, #28 - 8003518: 2104 movs r1, #4 - 800351a: 4091 lsls r1, r2 - 800351c: 4231 tst r1, r6 - 800351e: d00f beq.n 8003540 - 8003520: f015 0f04 tst.w r5, #4 - 8003524: d00c beq.n 8003540 - 8003526: 681a ldr r2, [r3, #0] - 8003528: 0692 lsls r2, r2, #26 - 800352a: bf5e ittt pl - 800352c: 681a ldrpl r2, [r3, #0] - 800352e: f022 0204 bicpl.w r2, r2, #4 - 8003532: 601a strpl r2, [r3, #0] - 8003534: 6b03 ldr r3, [r0, #48] ; 0x30 - 8003536: 6061 str r1, [r4, #4] - 8003538: 2b00 cmp r3, #0 - 800353a: d033 beq.n 80035a4 - 800353c: bc70 pop {r4, r5, r6} - 800353e: 4718 bx r3 - 8003540: 2102 movs r1, #2 - 8003542: 4091 lsls r1, r2 - 8003544: 4231 tst r1, r6 - 8003546: d017 beq.n 8003578 - 8003548: f015 0f02 tst.w r5, #2 - 800354c: d014 beq.n 8003578 - 800354e: 681a ldr r2, [r3, #0] - 8003550: 0694 lsls r4, r2, #26 - 8003552: d406 bmi.n 8003562 - 8003554: 681a ldr r2, [r3, #0] - 8003556: f022 020a bic.w r2, r2, #10 - 800355a: 601a str r2, [r3, #0] - 800355c: 2201 movs r2, #1 - 800355e: f880 2025 strb.w r2, [r0, #37] ; 0x25 - 8003562: 4a11 ldr r2, [pc, #68] ; (80035a8 ) - 8003564: 4293 cmp r3, r2 - 8003566: bf8c ite hi - 8003568: 4b10 ldrhi r3, [pc, #64] ; (80035ac ) - 800356a: 4b11 ldrls r3, [pc, #68] ; (80035b0 ) - 800356c: 6059 str r1, [r3, #4] - 800356e: 2300 movs r3, #0 - 8003570: f880 3024 strb.w r3, [r0, #36] ; 0x24 - 8003574: 6ac3 ldr r3, [r0, #44] ; 0x2c - 8003576: e7df b.n 8003538 - 8003578: 2108 movs r1, #8 - 800357a: 4091 lsls r1, r2 - 800357c: 4231 tst r1, r6 - 800357e: d011 beq.n 80035a4 - 8003580: 0729 lsls r1, r5, #28 - 8003582: d50f bpl.n 80035a4 - 8003584: 6819 ldr r1, [r3, #0] - 8003586: f021 010e bic.w r1, r1, #14 - 800358a: 6019 str r1, [r3, #0] - 800358c: 2301 movs r3, #1 - 800358e: fa03 f202 lsl.w r2, r3, r2 - 8003592: 6062 str r2, [r4, #4] - 8003594: 63c3 str r3, [r0, #60] ; 0x3c - 8003596: f880 3025 strb.w r3, [r0, #37] ; 0x25 - 800359a: 2300 movs r3, #0 - 800359c: f880 3024 strb.w r3, [r0, #36] ; 0x24 - 80035a0: 6b43 ldr r3, [r0, #52] ; 0x34 - 80035a2: e7c9 b.n 8003538 - 80035a4: bc70 pop {r4, r5, r6} - 80035a6: 4770 bx lr - 80035a8: 40020080 .word 0x40020080 - 80035ac: 40020400 .word 0x40020400 - 80035b0: 40020000 .word 0x40020000 - -080035b4 : - 80035b4: 4a0a ldr r2, [pc, #40] ; (80035e0 ) - 80035b6: 6953 ldr r3, [r2, #20] - 80035b8: f443 2380 orr.w r3, r3, #262144 ; 0x40000 - 80035bc: b530 push {r4, r5, lr} - 80035be: 6153 str r3, [r2, #20] - 80035c0: f3ef 8410 mrs r4, PRIMASK - 80035c4: b672 cpsid i - 80035c6: 2300 movs r3, #0 - 80035c8: 58cd ldr r5, [r1, r3] - 80035ca: 50c5 str r5, [r0, r3] - 80035cc: 3304 adds r3, #4 - 80035ce: f5b3 7f80 cmp.w r3, #256 ; 0x100 - 80035d2: d1f9 bne.n 80035c8 - 80035d4: 6913 ldr r3, [r2, #16] - 80035d6: 03db lsls r3, r3, #15 - 80035d8: d4fc bmi.n 80035d4 - 80035da: f384 8810 msr PRIMASK, r4 - 80035de: bd30 pop {r4, r5, pc} - 80035e0: 58004000 .word 0x58004000 - -080035e4 : - 80035e4: 4b06 ldr r3, [pc, #24] ; (8003600 ) - 80035e6: 695a ldr r2, [r3, #20] - 80035e8: 2a00 cmp r2, #0 - 80035ea: bfbf itttt lt - 80035ec: 4a05 ldrlt r2, [pc, #20] ; (8003604 ) - 80035ee: 609a strlt r2, [r3, #8] - 80035f0: f102 3288 addlt.w r2, r2, #2290649224 ; 0x88888888 - 80035f4: 609a strlt r2, [r3, #8] - 80035f6: bfba itte lt - 80035f8: 6958 ldrlt r0, [r3, #20] - 80035fa: 0fc0 lsrlt r0, r0, #31 - 80035fc: 2000 movge r0, #0 - 80035fe: 4770 bx lr - 8003600: 58004000 .word 0x58004000 - 8003604: 45670123 .word 0x45670123 - -08003608 : - 8003608: 4b04 ldr r3, [pc, #16] ; (800361c ) - 800360a: 695a ldr r2, [r3, #20] - 800360c: f042 4200 orr.w r2, r2, #2147483648 ; 0x80000000 - 8003610: 615a str r2, [r3, #20] - 8003612: 6958 ldr r0, [r3, #20] - 8003614: 43c0 mvns r0, r0 - 8003616: 0fc0 lsrs r0, r0, #31 - 8003618: 4770 bx lr - 800361a: bf00 nop - 800361c: 58004000 .word 0x58004000 - -08003620 : - 8003620: b570 push {r4, r5, r6, lr} - 8003622: 4605 mov r5, r0 - 8003624: f7fe f93e bl 80018a4 - 8003628: 4e12 ldr r6, [pc, #72] ; (8003674 ) - 800362a: 4604 mov r4, r0 - 800362c: 6933 ldr r3, [r6, #16] - 800362e: 03d9 lsls r1, r3, #15 - 8003630: d413 bmi.n 800365a - 8003632: 6933 ldr r3, [r6, #16] - 8003634: 07da lsls r2, r3, #31 - 8003636: bf44 itt mi - 8003638: 2201 movmi r2, #1 - 800363a: 6132 strmi r2, [r6, #16] - 800363c: f24c 32fa movw r2, #50170 ; 0xc3fa - 8003640: 4013 ands r3, r2 - 8003642: d111 bne.n 8003668 - 8003644: 4e0b ldr r6, [pc, #44] ; (8003674 ) - 8003646: 6930 ldr r0, [r6, #16] - 8003648: f410 2080 ands.w r0, r0, #262144 ; 0x40000 - 800364c: d00b beq.n 8003666 - 800364e: f7fe f929 bl 80018a4 - 8003652: 1b00 subs r0, r0, r4 - 8003654: 42a8 cmp r0, r5 - 8003656: d3f6 bcc.n 8003646 - 8003658: e004 b.n 8003664 - 800365a: f7fe f923 bl 80018a4 - 800365e: 1b00 subs r0, r0, r4 - 8003660: 42a8 cmp r0, r5 - 8003662: d3e3 bcc.n 800362c - 8003664: 2003 movs r0, #3 - 8003666: bd70 pop {r4, r5, r6, pc} - 8003668: 4a02 ldr r2, [pc, #8] ; (8003674 ) - 800366a: 6113 str r3, [r2, #16] - 800366c: 4a02 ldr r2, [pc, #8] ; (8003678 ) - 800366e: 2001 movs r0, #1 - 8003670: 6053 str r3, [r2, #4] - 8003672: e7f8 b.n 8003666 - 8003674: 58004000 .word 0x58004000 - 8003678: 20000450 .word 0x20000450 - -0800367c : - 800367c: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8003680: 4d18 ldr r5, [pc, #96] ; (80036e4 ) - 8003682: 4698 mov r8, r3 - 8003684: 782b ldrb r3, [r5, #0] - 8003686: 2b01 cmp r3, #1 - 8003688: 4606 mov r6, r0 - 800368a: 460c mov r4, r1 - 800368c: 4617 mov r7, r2 - 800368e: d026 beq.n 80036de - 8003690: 2301 movs r3, #1 - 8003692: 702b strb r3, [r5, #0] - 8003694: f44f 707a mov.w r0, #1000 ; 0x3e8 - 8003698: 2300 movs r3, #0 - 800369a: 606b str r3, [r5, #4] - 800369c: f7ff ffc0 bl 8003620 - 80036a0: b9a0 cbnz r0, 80036cc - 80036a2: 2e01 cmp r6, #1 - 80036a4: d116 bne.n 80036d4 - 80036a6: 4a10 ldr r2, [pc, #64] ; (80036e8 ) - 80036a8: 6953 ldr r3, [r2, #20] - 80036aa: f043 0301 orr.w r3, r3, #1 - 80036ae: 6153 str r3, [r2, #20] - 80036b0: 6027 str r7, [r4, #0] - 80036b2: f3bf 8f6f isb sy - 80036b6: f8c4 8004 str.w r8, [r4, #4] - 80036ba: f44f 707a mov.w r0, #1000 ; 0x3e8 - 80036be: f7ff ffaf bl 8003620 - 80036c2: 4a09 ldr r2, [pc, #36] ; (80036e8 ) - 80036c4: 6953 ldr r3, [r2, #20] - 80036c6: ea23 0306 bic.w r3, r3, r6 - 80036ca: 6153 str r3, [r2, #20] - 80036cc: 2300 movs r3, #0 - 80036ce: 702b strb r3, [r5, #0] - 80036d0: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 80036d4: 4639 mov r1, r7 - 80036d6: 4620 mov r0, r4 - 80036d8: f7ff ff6c bl 80035b4 - 80036dc: e7ed b.n 80036ba - 80036de: 2002 movs r0, #2 - 80036e0: e7f6 b.n 80036d0 - 80036e2: bf00 nop - 80036e4: 20000450 .word 0x20000450 - 80036e8: 58004000 .word 0x58004000 - -080036ec : - 80036ec: 4a05 ldr r2, [pc, #20] ; (8003704 ) - 80036ee: 6953 ldr r3, [r2, #20] - 80036f0: f423 737e bic.w r3, r3, #1016 ; 0x3f8 - 80036f4: ea43 00c0 orr.w r0, r3, r0, lsl #3 - 80036f8: f440 3080 orr.w r0, r0, #65536 ; 0x10000 - 80036fc: f040 0002 orr.w r0, r0, #2 - 8003700: 6150 str r0, [r2, #20] - 8003702: 4770 bx lr - 8003704: 58004000 .word 0x58004000 - -08003708 : - 8003708: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800370c: 4f23 ldr r7, [pc, #140] ; (800379c ) - 800370e: 783b ldrb r3, [r7, #0] - 8003710: 2b01 cmp r3, #1 - 8003712: 4605 mov r5, r0 - 8003714: 4688 mov r8, r1 - 8003716: d03f beq.n 8003798 - 8003718: 2301 movs r3, #1 - 800371a: 703b strb r3, [r7, #0] - 800371c: f44f 707a mov.w r0, #1000 ; 0x3e8 - 8003720: 2300 movs r3, #0 - 8003722: 607b str r3, [r7, #4] - 8003724: f7ff ff7c bl 8003620 - 8003728: 4604 mov r4, r0 - 800372a: b988 cbnz r0, 8003750 - 800372c: 682b ldr r3, [r5, #0] - 800372e: 2b04 cmp r3, #4 - 8003730: d113 bne.n 800375a - 8003732: 4a1b ldr r2, [pc, #108] ; (80037a0 ) - 8003734: 6953 ldr r3, [r2, #20] - 8003736: f443 3380 orr.w r3, r3, #65536 ; 0x10000 - 800373a: f043 0304 orr.w r3, r3, #4 - 800373e: 6153 str r3, [r2, #20] - 8003740: f44f 707a mov.w r0, #1000 ; 0x3e8 - 8003744: f7ff ff6c bl 8003620 - 8003748: 4604 mov r4, r0 - 800374a: 4b15 ldr r3, [pc, #84] ; (80037a0 ) - 800374c: 681a ldr r2, [r3, #0] - 800374e: 681b ldr r3, [r3, #0] - 8003750: 2300 movs r3, #0 - 8003752: 703b strb r3, [r7, #0] - 8003754: 4620 mov r0, r4 - 8003756: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800375a: f04f 33ff mov.w r3, #4294967295 - 800375e: f8c8 3000 str.w r3, [r8] - 8003762: 686e ldr r6, [r5, #4] - 8003764: e9d5 3201 ldrd r3, r2, [r5, #4] - 8003768: 4413 add r3, r2 - 800376a: 42b3 cmp r3, r6 - 800376c: d90a bls.n 8003784 - 800376e: 4630 mov r0, r6 - 8003770: f7ff ffbc bl 80036ec - 8003774: f44f 707a mov.w r0, #1000 ; 0x3e8 - 8003778: f7ff ff52 bl 8003620 - 800377c: b150 cbz r0, 8003794 - 800377e: f8c8 6000 str.w r6, [r8] - 8003782: 4604 mov r4, r0 - 8003784: 4a06 ldr r2, [pc, #24] ; (80037a0 ) - 8003786: 6953 ldr r3, [r2, #20] - 8003788: f423 737e bic.w r3, r3, #1016 ; 0x3f8 - 800378c: f023 0302 bic.w r3, r3, #2 - 8003790: 6153 str r3, [r2, #20] - 8003792: e7da b.n 800374a - 8003794: 3601 adds r6, #1 - 8003796: e7e5 b.n 8003764 - 8003798: 2402 movs r4, #2 - 800379a: e7db b.n 8003754 - 800379c: 20000450 .word 0x20000450 - 80037a0: 58004000 .word 0x58004000 - -080037a4 : - 80037a4: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 80037a8: 4c52 ldr r4, [pc, #328] ; (80038f4 ) - 80037aa: 2300 movs r3, #0 - 80037ac: f04f 090f mov.w r9, #15 - 80037b0: 680a ldr r2, [r1, #0] - 80037b2: fa32 f503 lsrs.w r5, r2, r3 - 80037b6: d101 bne.n 80037bc - 80037b8: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 80037bc: 2501 movs r5, #1 - 80037be: fa05 f803 lsl.w r8, r5, r3 - 80037c2: ea18 0202 ands.w r2, r8, r2 - 80037c6: f000 808e beq.w 80038e6 - 80037ca: 684e ldr r6, [r1, #4] - 80037cc: 2703 movs r7, #3 - 80037ce: f006 0503 and.w r5, r6, #3 - 80037d2: ea4f 0e43 mov.w lr, r3, lsl #1 - 80037d6: fa07 fc0e lsl.w ip, r7, lr - 80037da: 1e6f subs r7, r5, #1 - 80037dc: 2f01 cmp r7, #1 - 80037de: ea6f 0c0c mvn.w ip, ip - 80037e2: d832 bhi.n 800384a - 80037e4: 6887 ldr r7, [r0, #8] - 80037e6: ea07 0a0c and.w sl, r7, ip - 80037ea: 68cf ldr r7, [r1, #12] - 80037ec: fa07 f70e lsl.w r7, r7, lr - 80037f0: ea47 070a orr.w r7, r7, sl - 80037f4: 6087 str r7, [r0, #8] - 80037f6: 6847 ldr r7, [r0, #4] - 80037f8: ea27 0808 bic.w r8, r7, r8 - 80037fc: f3c6 1700 ubfx r7, r6, #4, #1 - 8003800: 409f lsls r7, r3 - 8003802: ea47 0708 orr.w r7, r7, r8 - 8003806: 6047 str r7, [r0, #4] - 8003808: 68c7 ldr r7, [r0, #12] - 800380a: ea07 080c and.w r8, r7, ip - 800380e: 688f ldr r7, [r1, #8] - 8003810: fa07 f70e lsl.w r7, r7, lr - 8003814: ea47 0708 orr.w r7, r7, r8 - 8003818: 2d02 cmp r5, #2 - 800381a: 60c7 str r7, [r0, #12] - 800381c: d117 bne.n 800384e - 800381e: ea4f 08d3 mov.w r8, r3, lsr #3 - 8003822: eb00 0888 add.w r8, r0, r8, lsl #2 - 8003826: f003 0a07 and.w sl, r3, #7 - 800382a: f8d8 7020 ldr.w r7, [r8, #32] - 800382e: ea4f 0a8a mov.w sl, sl, lsl #2 - 8003832: fa09 fb0a lsl.w fp, r9, sl - 8003836: ea27 0b0b bic.w fp, r7, fp - 800383a: 690f ldr r7, [r1, #16] - 800383c: fa07 f70a lsl.w r7, r7, sl - 8003840: ea47 070b orr.w r7, r7, fp - 8003844: f8c8 7020 str.w r7, [r8, #32] - 8003848: e001 b.n 800384e - 800384a: 2d03 cmp r5, #3 - 800384c: d1dc bne.n 8003808 - 800384e: 6807 ldr r7, [r0, #0] - 8003850: fa05 f50e lsl.w r5, r5, lr - 8003854: ea07 070c and.w r7, r7, ip - 8003858: 433d orrs r5, r7 - 800385a: f416 3f40 tst.w r6, #196608 ; 0x30000 - 800385e: 6005 str r5, [r0, #0] - 8003860: d041 beq.n 80038e6 - 8003862: f023 0703 bic.w r7, r3, #3 - 8003866: f107 4780 add.w r7, r7, #1073741824 ; 0x40000000 - 800386a: f507 3780 add.w r7, r7, #65536 ; 0x10000 - 800386e: f003 0c03 and.w ip, r3, #3 - 8003872: 68bd ldr r5, [r7, #8] - 8003874: ea4f 0c8c mov.w ip, ip, lsl #2 - 8003878: f04f 0e07 mov.w lr, #7 - 800387c: fa0e fe0c lsl.w lr, lr, ip - 8003880: f1b0 4f90 cmp.w r0, #1207959552 ; 0x48000000 - 8003884: ea25 0e0e bic.w lr, r5, lr - 8003888: d02f beq.n 80038ea - 800388a: 4d1b ldr r5, [pc, #108] ; (80038f8 ) - 800388c: 42a8 cmp r0, r5 - 800388e: d02e beq.n 80038ee - 8003890: f505 6580 add.w r5, r5, #1024 ; 0x400 - 8003894: 42a8 cmp r0, r5 - 8003896: bf0c ite eq - 8003898: 2502 moveq r5, #2 - 800389a: 2507 movne r5, #7 - 800389c: fa05 f50c lsl.w r5, r5, ip - 80038a0: ea45 050e orr.w r5, r5, lr - 80038a4: 60bd str r5, [r7, #8] - 80038a6: 6825 ldr r5, [r4, #0] - 80038a8: 43d7 mvns r7, r2 - 80038aa: f416 1f80 tst.w r6, #1048576 ; 0x100000 - 80038ae: bf0c ite eq - 80038b0: 403d andeq r5, r7 - 80038b2: 4315 orrne r5, r2 - 80038b4: 6025 str r5, [r4, #0] - 80038b6: 6865 ldr r5, [r4, #4] - 80038b8: f416 1f00 tst.w r6, #2097152 ; 0x200000 - 80038bc: bf0c ite eq - 80038be: 403d andeq r5, r7 - 80038c0: 4315 orrne r5, r2 - 80038c2: 6065 str r5, [r4, #4] - 80038c4: f8d4 5080 ldr.w r5, [r4, #128] ; 0x80 - 80038c8: f416 3f80 tst.w r6, #65536 ; 0x10000 - 80038cc: bf0c ite eq - 80038ce: 403d andeq r5, r7 - 80038d0: 4315 orrne r5, r2 - 80038d2: f8c4 5080 str.w r5, [r4, #128] ; 0x80 - 80038d6: f8d4 5084 ldr.w r5, [r4, #132] ; 0x84 - 80038da: 03b6 lsls r6, r6, #14 - 80038dc: bf54 ite pl - 80038de: 403d andpl r5, r7 - 80038e0: 4315 orrmi r5, r2 - 80038e2: f8c4 5084 str.w r5, [r4, #132] ; 0x84 - 80038e6: 3301 adds r3, #1 - 80038e8: e762 b.n 80037b0 - 80038ea: 2500 movs r5, #0 - 80038ec: e7d6 b.n 800389c - 80038ee: 2501 movs r5, #1 - 80038f0: e7d4 b.n 800389c - 80038f2: bf00 nop - 80038f4: 58000800 .word 0x58000800 - 80038f8: 48000400 .word 0x48000400 - -080038fc : - 80038fc: 4a37 ldr r2, [pc, #220] ; (80039dc ) - 80038fe: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8003902: 2300 movs r3, #0 - 8003904: f04f 0a01 mov.w sl, #1 - 8003908: f04f 0b07 mov.w fp, #7 - 800390c: f04f 090f mov.w r9, #15 - 8003910: fa31 f403 lsrs.w r4, r1, r3 - 8003914: d101 bne.n 800391a - 8003916: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800391a: fa0a fc03 lsl.w ip, sl, r3 - 800391e: ea1c 0601 ands.w r6, ip, r1 - 8003922: d054 beq.n 80039ce - 8003924: f023 0403 bic.w r4, r3, #3 - 8003928: f104 4480 add.w r4, r4, #1073741824 ; 0x40000000 - 800392c: f504 3480 add.w r4, r4, #65536 ; 0x10000 - 8003930: f003 0703 and.w r7, r3, #3 - 8003934: 68a5 ldr r5, [r4, #8] - 8003936: 00bf lsls r7, r7, #2 - 8003938: fa0b f807 lsl.w r8, fp, r7 - 800393c: f1b0 4f90 cmp.w r0, #1207959552 ; 0x48000000 - 8003940: ea08 0e05 and.w lr, r8, r5 - 8003944: d045 beq.n 80039d2 - 8003946: 4d26 ldr r5, [pc, #152] ; (80039e0 ) - 8003948: 42a8 cmp r0, r5 - 800394a: d044 beq.n 80039d6 - 800394c: f505 6580 add.w r5, r5, #1024 ; 0x400 - 8003950: 42a8 cmp r0, r5 - 8003952: bf0c ite eq - 8003954: 2502 moveq r5, #2 - 8003956: 2507 movne r5, #7 - 8003958: 40bd lsls r5, r7 - 800395a: 4575 cmp r5, lr - 800395c: d117 bne.n 800398e - 800395e: f8d2 5080 ldr.w r5, [r2, #128] ; 0x80 - 8003962: ea25 0506 bic.w r5, r5, r6 - 8003966: f8c2 5080 str.w r5, [r2, #128] ; 0x80 - 800396a: f8d2 5084 ldr.w r5, [r2, #132] ; 0x84 - 800396e: ea25 0506 bic.w r5, r5, r6 - 8003972: f8c2 5084 str.w r5, [r2, #132] ; 0x84 - 8003976: 6815 ldr r5, [r2, #0] - 8003978: ea25 0506 bic.w r5, r5, r6 - 800397c: 6015 str r5, [r2, #0] - 800397e: 6855 ldr r5, [r2, #4] - 8003980: ea25 0506 bic.w r5, r5, r6 - 8003984: 6055 str r5, [r2, #4] - 8003986: 68a5 ldr r5, [r4, #8] - 8003988: ea25 0508 bic.w r5, r5, r8 - 800398c: 60a5 str r5, [r4, #8] - 800398e: 6805 ldr r5, [r0, #0] - 8003990: 2603 movs r6, #3 - 8003992: 005c lsls r4, r3, #1 - 8003994: fa06 f404 lsl.w r4, r6, r4 - 8003998: fa23 f606 lsr.w r6, r3, r6 - 800399c: 4325 orrs r5, r4 - 800399e: eb00 0686 add.w r6, r0, r6, lsl #2 - 80039a2: 6005 str r5, [r0, #0] - 80039a4: f003 0507 and.w r5, r3, #7 - 80039a8: 6a37 ldr r7, [r6, #32] - 80039aa: 00ad lsls r5, r5, #2 - 80039ac: fa09 f505 lsl.w r5, r9, r5 - 80039b0: ea27 0705 bic.w r7, r7, r5 - 80039b4: 6237 str r7, [r6, #32] - 80039b6: 6885 ldr r5, [r0, #8] - 80039b8: ea25 0504 bic.w r5, r5, r4 - 80039bc: 6085 str r5, [r0, #8] - 80039be: 6845 ldr r5, [r0, #4] - 80039c0: ea25 050c bic.w r5, r5, ip - 80039c4: 6045 str r5, [r0, #4] - 80039c6: 68c5 ldr r5, [r0, #12] - 80039c8: ea25 0404 bic.w r4, r5, r4 - 80039cc: 60c4 str r4, [r0, #12] - 80039ce: 3301 adds r3, #1 - 80039d0: e79e b.n 8003910 - 80039d2: 2500 movs r5, #0 - 80039d4: e7c0 b.n 8003958 - 80039d6: 2501 movs r5, #1 - 80039d8: e7be b.n 8003958 - 80039da: bf00 nop - 80039dc: 58000800 .word 0x58000800 - 80039e0: 48000400 .word 0x48000400 - -080039e4 : - 80039e4: b10a cbz r2, 80039ea - 80039e6: 6181 str r1, [r0, #24] - 80039e8: 4770 bx lr - 80039ea: 6281 str r1, [r0, #40] ; 0x28 - 80039ec: 4770 bx lr - -080039ee : - 80039ee: 6943 ldr r3, [r0, #20] - 80039f0: ea01 0203 and.w r2, r1, r3 - 80039f4: ea21 0103 bic.w r1, r1, r3 - 80039f8: ea41 4102 orr.w r1, r1, r2, lsl #16 - 80039fc: 6181 str r1, [r0, #24] - 80039fe: 4770 bx lr - -08003a00 : - 8003a00: 4a04 ldr r2, [pc, #16] ; (8003a14 ) - 8003a02: 68d1 ldr r1, [r2, #12] - 8003a04: 4201 tst r1, r0 - 8003a06: b508 push {r3, lr} - 8003a08: d002 beq.n 8003a10 - 8003a0a: 60d0 str r0, [r2, #12] - 8003a0c: f7fe fe36 bl 800267c - 8003a10: bd08 pop {r3, pc} - 8003a12: bf00 nop - 8003a14: 58000800 .word 0x58000800 - -08003a18 : - 8003a18: 4a02 ldr r2, [pc, #8] ; (8003a24 ) - 8003a1a: 6813 ldr r3, [r2, #0] - 8003a1c: f443 7380 orr.w r3, r3, #256 ; 0x100 - 8003a20: 6013 str r3, [r2, #0] - 8003a22: 4770 bx lr - 8003a24: 58000400 .word 0x58000400 - -08003a28 : - 8003a28: 4b0d ldr r3, [pc, #52] ; (8003a60 ) - 8003a2a: b510 push {r4, lr} - 8003a2c: 695b ldr r3, [r3, #20] - 8003a2e: 460c mov r4, r1 - 8003a30: b928 cbnz r0, 8003a3e - 8003a32: 059a lsls r2, r3, #22 - 8003a34: d507 bpl.n 8003a46 - 8003a36: f000 f839 bl 8003aac - 8003a3a: b120 cbz r0, 8003a46 - 8003a3c: bd10 pop {r4, pc} - 8003a3e: 059b lsls r3, r3, #22 - 8003a40: d401 bmi.n 8003a46 - 8003a42: f000 f82b bl 8003a9c - 8003a46: 4a07 ldr r2, [pc, #28] ; (8003a64 ) - 8003a48: 6913 ldr r3, [r2, #16] - 8003a4a: 2c01 cmp r4, #1 - 8003a4c: f023 0304 bic.w r3, r3, #4 - 8003a50: 6113 str r3, [r2, #16] - 8003a52: d101 bne.n 8003a58 - 8003a54: bf30 wfi - 8003a56: e7f1 b.n 8003a3c - 8003a58: bf40 sev - 8003a5a: bf20 wfe - 8003a5c: bf20 wfe - 8003a5e: e7ed b.n 8003a3c - 8003a60: 58000400 .word 0x58000400 - 8003a64: e000ed00 .word 0xe000ed00 - -08003a68 : - 8003a68: 4a06 ldr r2, [pc, #24] ; (8003a84 ) - 8003a6a: 6813 ldr r3, [r2, #0] - 8003a6c: f023 0307 bic.w r3, r3, #7 - 8003a70: f043 0303 orr.w r3, r3, #3 - 8003a74: 6013 str r3, [r2, #0] - 8003a76: 4a04 ldr r2, [pc, #16] ; (8003a88 ) - 8003a78: 6913 ldr r3, [r2, #16] - 8003a7a: f043 0304 orr.w r3, r3, #4 - 8003a7e: 6113 str r3, [r2, #16] - 8003a80: bf30 wfi - 8003a82: 4770 bx lr - 8003a84: 58000400 .word 0x58000400 - 8003a88: e000ed00 .word 0xe000ed00 - -08003a8c : - 8003a8c: 4b02 ldr r3, [pc, #8] ; (8003a98 ) - 8003a8e: 6818 ldr r0, [r3, #0] - 8003a90: f400 60c0 and.w r0, r0, #1536 ; 0x600 - 8003a94: 4770 bx lr - 8003a96: bf00 nop - 8003a98: 58000400 .word 0x58000400 - -08003a9c : - 8003a9c: 4a02 ldr r2, [pc, #8] ; (8003aa8 ) - 8003a9e: 6813 ldr r3, [r2, #0] - 8003aa0: f443 4380 orr.w r3, r3, #16384 ; 0x4000 - 8003aa4: 6013 str r3, [r2, #0] - 8003aa6: 4770 bx lr - 8003aa8: 58000400 .word 0x58000400 - -08003aac : - 8003aac: 4a0c ldr r2, [pc, #48] ; (8003ae0 ) - 8003aae: 6813 ldr r3, [r2, #0] - 8003ab0: f423 4380 bic.w r3, r3, #16384 ; 0x4000 - 8003ab4: 6013 str r3, [r2, #0] - 8003ab6: 4b0b ldr r3, [pc, #44] ; (8003ae4 ) - 8003ab8: 681b ldr r3, [r3, #0] - 8003aba: 2132 movs r1, #50 ; 0x32 - 8003abc: 434b muls r3, r1 - 8003abe: 490a ldr r1, [pc, #40] ; (8003ae8 ) - 8003ac0: fbb3 f3f1 udiv r3, r3, r1 - 8003ac4: 6951 ldr r1, [r2, #20] - 8003ac6: 0589 lsls r1, r1, #22 - 8003ac8: d500 bpl.n 8003acc - 8003aca: b933 cbnz r3, 8003ada - 8003acc: 6953 ldr r3, [r2, #20] - 8003ace: f413 7f00 tst.w r3, #512 ; 0x200 - 8003ad2: bf14 ite ne - 8003ad4: 2003 movne r0, #3 - 8003ad6: 2000 moveq r0, #0 - 8003ad8: 4770 bx lr - 8003ada: 3b01 subs r3, #1 - 8003adc: e7f2 b.n 8003ac4 - 8003ade: bf00 nop - 8003ae0: 58000400 .word 0x58000400 - 8003ae4: 20000074 .word 0x20000074 - 8003ae8: 000f4240 .word 0x000f4240 - -08003aec : - 8003aec: 4a0b ldr r2, [pc, #44] ; (8003b1c ) - 8003aee: 6813 ldr r3, [r2, #0] - 8003af0: f023 0307 bic.w r3, r3, #7 - 8003af4: f043 0302 orr.w r3, r3, #2 - 8003af8: 6013 str r3, [r2, #0] - 8003afa: 4b09 ldr r3, [pc, #36] ; (8003b20 ) - 8003afc: 691a ldr r2, [r3, #16] - 8003afe: 2801 cmp r0, #1 - 8003b00: f042 0204 orr.w r2, r2, #4 - 8003b04: 611a str r2, [r3, #16] - 8003b06: d105 bne.n 8003b14 - 8003b08: bf30 wfi - 8003b0a: 691a ldr r2, [r3, #16] - 8003b0c: f022 0204 bic.w r2, r2, #4 - 8003b10: 611a str r2, [r3, #16] - 8003b12: 4770 bx lr - 8003b14: bf40 sev - 8003b16: bf20 wfe - 8003b18: bf20 wfe - 8003b1a: e7f6 b.n 8003b0a - 8003b1c: 58000400 .word 0x58000400 - 8003b20: e000ed00 .word 0xe000ed00 - -08003b24 : - 8003b24: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003b28: 6818 ldr r0, [r3, #0] - 8003b2a: f3c0 4040 ubfx r0, r0, #17, #1 - 8003b2e: 4770 bx lr - -08003b30 : - 8003b30: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003b34: 6818 ldr r0, [r3, #0] - 8003b36: f3c0 0040 ubfx r0, r0, #1, #1 - 8003b3a: 4770 bx lr - -08003b3c : - 8003b3c: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8003b40: 6853 ldr r3, [r2, #4] - 8003b42: f423 437f bic.w r3, r3, #65280 ; 0xff00 - 8003b46: ea43 2300 orr.w r3, r3, r0, lsl #8 - 8003b4a: 6053 str r3, [r2, #4] - 8003b4c: 4770 bx lr - -08003b4e : - 8003b4e: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003b52: 6818 ldr r0, [r3, #0] - 8003b54: f3c0 6040 ubfx r0, r0, #25, #1 - 8003b58: 4770 bx lr - ... - -08003b5c : - 8003b5c: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} - 8003b5e: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003b62: 4a2c ldr r2, [pc, #176] ; (8003c14 ) - 8003b64: f8d3 3108 ldr.w r3, [r3, #264] ; 0x108 - 8003b68: f3c0 1003 ubfx r0, r0, #4, #4 - 8003b6c: f003 030f and.w r3, r3, #15 - 8003b70: f852 4020 ldr.w r4, [r2, r0, lsl #2] - 8003b74: 4a28 ldr r2, [pc, #160] ; (8003c18 ) - 8003b76: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 8003b7a: fbb4 f4f3 udiv r4, r4, r3 - 8003b7e: f7ff ff85 bl 8003a8c - 8003b82: 4b26 ldr r3, [pc, #152] ; (8003c1c ) - 8003b84: 4605 mov r5, r0 - 8003b86: e893 0007 ldmia.w r3, {r0, r1, r2} - 8003b8a: f5b5 7f00 cmp.w r5, #512 ; 0x200 - 8003b8e: ab04 add r3, sp, #16 - 8003b90: e903 0007 stmdb r3, {r0, r1, r2} - 8003b94: d010 beq.n 8003bb8 - 8003b96: 4b22 ldr r3, [pc, #136] ; (8003c20 ) - 8003b98: 429c cmp r4, r3 - 8003b9a: d318 bcc.n 8003bce - 8003b9c: f503 03b7 add.w r3, r3, #5996544 ; 0x5b8000 - 8003ba0: f603 537f addw r3, r3, #3455 ; 0xd7f - 8003ba4: 429c cmp r4, r3 - 8003ba6: d929 bls.n 8003bfc - 8003ba8: f503 1374 add.w r3, r3, #3997696 ; 0x3d0000 - 8003bac: f503 6310 add.w r3, r3, #2304 ; 0x900 - 8003bb0: 429c cmp r4, r3 - 8003bb2: d825 bhi.n 8003c00 - 8003bb4: 2302 movs r3, #2 - 8003bb6: e00b b.n 8003bd0 - 8003bb8: 4b1a ldr r3, [pc, #104] ; (8003c24 ) - 8003bba: 429c cmp r4, r3 - 8003bbc: d907 bls.n 8003bce - 8003bbe: 4b1a ldr r3, [pc, #104] ; (8003c28 ) - 8003bc0: 429c cmp r4, r3 - 8003bc2: d91b bls.n 8003bfc - 8003bc4: f503 0337 add.w r3, r3, #11993088 ; 0xb70000 - 8003bc8: f503 53d8 add.w r3, r3, #6912 ; 0x1b00 - 8003bcc: e7f0 b.n 8003bb0 - 8003bce: 2300 movs r3, #0 - 8003bd0: aa04 add r2, sp, #16 - 8003bd2: eb02 0383 add.w r3, r2, r3, lsl #2 - 8003bd6: f853 4c0c ldr.w r4, [r3, #-12] - 8003bda: 4d14 ldr r5, [pc, #80] ; (8003c2c ) - 8003bdc: 682b ldr r3, [r5, #0] - 8003bde: f023 0307 bic.w r3, r3, #7 - 8003be2: 4323 orrs r3, r4 - 8003be4: 602b str r3, [r5, #0] - 8003be6: f7fd fe5d bl 80018a4 - 8003bea: 4606 mov r6, r0 - 8003bec: 682b ldr r3, [r5, #0] - 8003bee: f003 0307 and.w r3, r3, #7 - 8003bf2: 429c cmp r4, r3 - 8003bf4: d106 bne.n 8003c04 - 8003bf6: 2000 movs r0, #0 - 8003bf8: b004 add sp, #16 - 8003bfa: bd70 pop {r4, r5, r6, pc} - 8003bfc: 2301 movs r3, #1 - 8003bfe: e7e7 b.n 8003bd0 - 8003c00: 2400 movs r4, #0 - 8003c02: e7ea b.n 8003bda - 8003c04: f7fd fe4e bl 80018a4 - 8003c08: 1b80 subs r0, r0, r6 - 8003c0a: 2802 cmp r0, #2 - 8003c0c: d9ee bls.n 8003bec - 8003c0e: 2003 movs r0, #3 - 8003c10: e7f2 b.n 8003bf8 - 8003c12: bf00 nop - 8003c14: 0800f9d4 .word 0x0800f9d4 - 8003c18: 0800f974 .word 0x0800f974 - 8003c1c: 0800f490 .word 0x0800f490 - 8003c20: 006acfc0 .word 0x006acfc0 - 8003c24: 0121eabf .word 0x0121eabf - 8003c28: 0234933f .word 0x0234933f - 8003c2c: 58004000 .word 0x58004000 - -08003c30 : - 8003c30: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003c34: b510 push {r4, lr} - 8003c36: 689a ldr r2, [r3, #8] - 8003c38: 68d9 ldr r1, [r3, #12] - 8003c3a: f012 020c ands.w r2, r2, #12 - 8003c3e: d005 beq.n 8003c4c - 8003c40: 2a0c cmp r2, #12 - 8003c42: d14a bne.n 8003cda - 8003c44: f001 0303 and.w r3, r1, #3 - 8003c48: 2b01 cmp r3, #1 - 8003c4a: d150 bne.n 8003cee - 8003c4c: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 - 8003c50: 482b ldr r0, [pc, #172] ; (8003d00 ) - 8003c52: 680b ldr r3, [r1, #0] - 8003c54: f013 0308 ands.w r3, r3, #8 - 8003c58: d006 beq.n 8003c68 - 8003c5a: 680b ldr r3, [r1, #0] - 8003c5c: f013 0308 ands.w r3, r3, #8 - 8003c60: d137 bne.n 8003cd2 - 8003c62: f8d1 1094 ldr.w r1, [r1, #148] ; 0x94 - 8003c66: e007 b.n 8003c78 - 8003c68: 680c ldr r4, [r1, #0] - 8003c6a: 0724 lsls r4, r4, #28 - 8003c6c: bf56 itet pl - 8003c6e: f8d1 3094 ldrpl.w r3, [r1, #148] ; 0x94 - 8003c72: 6809 ldrmi r1, [r1, #0] - 8003c74: f3c3 2303 ubfxpl r3, r3, #8, #4 - 8003c78: f850 3023 ldr.w r3, [r0, r3, lsl #2] - 8003c7c: 2a00 cmp r2, #0 - 8003c7e: bf0c ite eq - 8003c80: 4618 moveq r0, r3 - 8003c82: 2000 movne r0, #0 - 8003c84: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 - 8003c88: 688a ldr r2, [r1, #8] - 8003c8a: f002 020c and.w r2, r2, #12 - 8003c8e: 2a0c cmp r2, #12 - 8003c90: d11e bne.n 8003cd0 - 8003c92: 68ca ldr r2, [r1, #12] - 8003c94: f002 0203 and.w r2, r2, #3 - 8003c98: 2a02 cmp r2, #2 - 8003c9a: d02e beq.n 8003cfa - 8003c9c: 2a03 cmp r2, #3 - 8003c9e: d106 bne.n 8003cae - 8003ca0: 680b ldr r3, [r1, #0] - 8003ca2: 4a18 ldr r2, [pc, #96] ; (8003d04 ) - 8003ca4: f413 1f80 tst.w r3, #1048576 ; 0x100000 - 8003ca8: 4b17 ldr r3, [pc, #92] ; (8003d08 ) - 8003caa: bf18 it ne - 8003cac: 4613 movne r3, r2 - 8003cae: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8003cb2: 68d0 ldr r0, [r2, #12] - 8003cb4: 68d1 ldr r1, [r2, #12] - 8003cb6: 68d2 ldr r2, [r2, #12] - 8003cb8: f3c0 2006 ubfx r0, r0, #8, #7 - 8003cbc: 4358 muls r0, r3 - 8003cbe: f3c1 1302 ubfx r3, r1, #4, #3 - 8003cc2: 3301 adds r3, #1 - 8003cc4: fbb0 f0f3 udiv r0, r0, r3 - 8003cc8: 0f53 lsrs r3, r2, #29 - 8003cca: 3301 adds r3, #1 - 8003ccc: fbb0 f0f3 udiv r0, r0, r3 - 8003cd0: bd10 pop {r4, pc} - 8003cd2: 680b ldr r3, [r1, #0] - 8003cd4: f3c3 1303 ubfx r3, r3, #4, #4 - 8003cd8: e7ce b.n 8003c78 - 8003cda: 2a04 cmp r2, #4 - 8003cdc: d00a beq.n 8003cf4 - 8003cde: 2a08 cmp r2, #8 - 8003ce0: d105 bne.n 8003cee - 8003ce2: 681b ldr r3, [r3, #0] - 8003ce4: f413 1380 ands.w r3, r3, #1048576 ; 0x100000 - 8003ce8: d104 bne.n 8003cf4 - 8003cea: 4807 ldr r0, [pc, #28] ; (8003d08 ) - 8003cec: e7ca b.n 8003c84 - 8003cee: 2300 movs r3, #0 - 8003cf0: 4618 mov r0, r3 - 8003cf2: e7c7 b.n 8003c84 - 8003cf4: 4803 ldr r0, [pc, #12] ; (8003d04 ) - 8003cf6: 2300 movs r3, #0 - 8003cf8: e7c4 b.n 8003c84 - 8003cfa: 4b02 ldr r3, [pc, #8] ; (8003d04 ) - 8003cfc: e7d7 b.n 8003cae - 8003cfe: bf00 nop - 8003d00: 0800f9d4 .word 0x0800f9d4 - 8003d04: 00f42400 .word 0x00f42400 - 8003d08: 01e84800 .word 0x01e84800 - -08003d0c : - 8003d0c: b508 push {r3, lr} - 8003d0e: f7ff ff8f bl 8003c30 - 8003d12: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003d16: 4a04 ldr r2, [pc, #16] ; (8003d28 ) - 8003d18: 689b ldr r3, [r3, #8] - 8003d1a: f3c3 1303 ubfx r3, r3, #4, #4 - 8003d1e: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 8003d22: fbb0 f0f3 udiv r0, r0, r3 - 8003d26: bd08 pop {r3, pc} - 8003d28: 0800f974 .word 0x0800f974 - -08003d2c : - 8003d2c: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8003d30: 4604 mov r4, r0 - 8003d32: 2800 cmp r0, #0 - 8003d34: d053 beq.n 8003dde - 8003d36: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003d3a: 689d ldr r5, [r3, #8] - 8003d3c: 68de ldr r6, [r3, #12] - 8003d3e: 6803 ldr r3, [r0, #0] - 8003d40: 069b lsls r3, r3, #26 - 8003d42: f005 050c and.w r5, r5, #12 - 8003d46: f006 0603 and.w r6, r6, #3 - 8003d4a: d568 bpl.n 8003e1e - 8003d4c: 6a02 ldr r2, [r0, #32] - 8003d4e: b11d cbz r5, 8003d58 - 8003d50: 2d0c cmp r5, #12 - 8003d52: d146 bne.n 8003de2 - 8003d54: 2e01 cmp r6, #1 - 8003d56: d144 bne.n 8003de2 - 8003d58: 2a00 cmp r2, #0 - 8003d5a: d040 beq.n 8003dde - 8003d5c: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003d60: 6aa1 ldr r1, [r4, #40] ; 0x28 - 8003d62: 681a ldr r2, [r3, #0] - 8003d64: 0717 lsls r7, r2, #28 - 8003d66: bf56 itet pl - 8003d68: f8d3 3094 ldrpl.w r3, [r3, #148] ; 0x94 - 8003d6c: 681b ldrmi r3, [r3, #0] - 8003d6e: 091b lsrpl r3, r3, #4 - 8003d70: f003 03f0 and.w r3, r3, #240 ; 0xf0 - 8003d74: 4299 cmp r1, r3 - 8003d76: d91f bls.n 8003db8 - 8003d78: 4608 mov r0, r1 - 8003d7a: f7ff feef bl 8003b5c - 8003d7e: 2800 cmp r0, #0 - 8003d80: d12d bne.n 8003dde - 8003d82: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8003d86: 6813 ldr r3, [r2, #0] - 8003d88: f043 0308 orr.w r3, r3, #8 - 8003d8c: 6013 str r3, [r2, #0] - 8003d8e: 6813 ldr r3, [r2, #0] - 8003d90: 6aa1 ldr r1, [r4, #40] ; 0x28 - 8003d92: f023 03f0 bic.w r3, r3, #240 ; 0xf0 - 8003d96: 430b orrs r3, r1 - 8003d98: 6013 str r3, [r2, #0] - 8003d9a: 6a60 ldr r0, [r4, #36] ; 0x24 - 8003d9c: f7ff fece bl 8003b3c - 8003da0: f7ff ffb4 bl 8003d0c - 8003da4: 4bab ldr r3, [pc, #684] ; (8004054 ) - 8003da6: 6018 str r0, [r3, #0] - 8003da8: 4bab ldr r3, [pc, #684] ; (8004058 ) - 8003daa: 6818 ldr r0, [r3, #0] - 8003dac: f7fd fd78 bl 80018a0 - 8003db0: 2800 cmp r0, #0 - 8003db2: d034 beq.n 8003e1e - 8003db4: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8003db8: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8003dbc: 6813 ldr r3, [r2, #0] - 8003dbe: f043 0308 orr.w r3, r3, #8 - 8003dc2: 6013 str r3, [r2, #0] - 8003dc4: 6813 ldr r3, [r2, #0] - 8003dc6: f023 03f0 bic.w r3, r3, #240 ; 0xf0 - 8003dca: 430b orrs r3, r1 - 8003dcc: 6013 str r3, [r2, #0] - 8003dce: 6a60 ldr r0, [r4, #36] ; 0x24 - 8003dd0: f7ff feb4 bl 8003b3c - 8003dd4: 4608 mov r0, r1 - 8003dd6: f7ff fec1 bl 8003b5c - 8003dda: 2800 cmp r0, #0 - 8003ddc: d0e0 beq.n 8003da0 - 8003dde: 2001 movs r0, #1 - 8003de0: e7e8 b.n 8003db4 - 8003de2: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003de6: 2a00 cmp r2, #0 - 8003de8: d054 beq.n 8003e94 - 8003dea: 681a ldr r2, [r3, #0] - 8003dec: f042 0201 orr.w r2, r2, #1 - 8003df0: 601a str r2, [r3, #0] - 8003df2: f7fd fd57 bl 80018a4 - 8003df6: 4607 mov r7, r0 - 8003df8: f7ff fe9a bl 8003b30 - 8003dfc: 2800 cmp r0, #0 - 8003dfe: d042 beq.n 8003e86 - 8003e00: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8003e04: 6813 ldr r3, [r2, #0] - 8003e06: f043 0308 orr.w r3, r3, #8 - 8003e0a: 6013 str r3, [r2, #0] - 8003e0c: 6813 ldr r3, [r2, #0] - 8003e0e: 6aa1 ldr r1, [r4, #40] ; 0x28 - 8003e10: f023 03f0 bic.w r3, r3, #240 ; 0xf0 +080039a4 : + 80039a4: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 80039a8: 4604 mov r4, r0 + 80039aa: 2800 cmp r0, #0 + 80039ac: d053 beq.n 8003a56 + 80039ae: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 80039b2: 689d ldr r5, [r3, #8] + 80039b4: 68de ldr r6, [r3, #12] + 80039b6: 6803 ldr r3, [r0, #0] + 80039b8: 069b lsls r3, r3, #26 + 80039ba: f005 050c and.w r5, r5, #12 + 80039be: f006 0603 and.w r6, r6, #3 + 80039c2: d568 bpl.n 8003a96 + 80039c4: 6a02 ldr r2, [r0, #32] + 80039c6: b11d cbz r5, 80039d0 + 80039c8: 2d0c cmp r5, #12 + 80039ca: d146 bne.n 8003a5a + 80039cc: 2e01 cmp r6, #1 + 80039ce: d144 bne.n 8003a5a + 80039d0: 2a00 cmp r2, #0 + 80039d2: d040 beq.n 8003a56 + 80039d4: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 80039d8: 6aa1 ldr r1, [r4, #40] ; 0x28 + 80039da: 681a ldr r2, [r3, #0] + 80039dc: 0717 lsls r7, r2, #28 + 80039de: bf56 itet pl + 80039e0: f8d3 3094 ldrpl.w r3, [r3, #148] ; 0x94 + 80039e4: 681b ldrmi r3, [r3, #0] + 80039e6: 091b lsrpl r3, r3, #4 + 80039e8: f003 03f0 and.w r3, r3, #240 ; 0xf0 + 80039ec: 4299 cmp r1, r3 + 80039ee: d91f bls.n 8003a30 + 80039f0: 4608 mov r0, r1 + 80039f2: f7ff feef bl 80037d4 + 80039f6: 2800 cmp r0, #0 + 80039f8: d12d bne.n 8003a56 + 80039fa: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 80039fe: 6813 ldr r3, [r2, #0] + 8003a00: f043 0308 orr.w r3, r3, #8 + 8003a04: 6013 str r3, [r2, #0] + 8003a06: 6813 ldr r3, [r2, #0] + 8003a08: 6aa1 ldr r1, [r4, #40] ; 0x28 + 8003a0a: f023 03f0 bic.w r3, r3, #240 ; 0xf0 + 8003a0e: 430b orrs r3, r1 + 8003a10: 6013 str r3, [r2, #0] + 8003a12: 6a60 ldr r0, [r4, #36] ; 0x24 + 8003a14: f7ff fece bl 80037b4 + 8003a18: f7ff ffb4 bl 8003984 + 8003a1c: 4bab ldr r3, [pc, #684] ; (8003ccc ) + 8003a1e: 6018 str r0, [r3, #0] + 8003a20: 4bab ldr r3, [pc, #684] ; (8003cd0 ) + 8003a22: 6818 ldr r0, [r3, #0] + 8003a24: f7fd ff24 bl 8001870 + 8003a28: 2800 cmp r0, #0 + 8003a2a: d034 beq.n 8003a96 + 8003a2c: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8003a30: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8003a34: 6813 ldr r3, [r2, #0] + 8003a36: f043 0308 orr.w r3, r3, #8 + 8003a3a: 6013 str r3, [r2, #0] + 8003a3c: 6813 ldr r3, [r2, #0] + 8003a3e: f023 03f0 bic.w r3, r3, #240 ; 0xf0 + 8003a42: 430b orrs r3, r1 + 8003a44: 6013 str r3, [r2, #0] + 8003a46: 6a60 ldr r0, [r4, #36] ; 0x24 + 8003a48: f7ff feb4 bl 80037b4 + 8003a4c: 4608 mov r0, r1 + 8003a4e: f7ff fec1 bl 80037d4 + 8003a52: 2800 cmp r0, #0 + 8003a54: d0e0 beq.n 8003a18 + 8003a56: 2001 movs r0, #1 + 8003a58: e7e8 b.n 8003a2c + 8003a5a: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8003a5e: 2a00 cmp r2, #0 + 8003a60: d054 beq.n 8003b0c + 8003a62: 681a ldr r2, [r3, #0] + 8003a64: f042 0201 orr.w r2, r2, #1 + 8003a68: 601a str r2, [r3, #0] + 8003a6a: f7fd ff03 bl 8001874 + 8003a6e: 4607 mov r7, r0 + 8003a70: f7ff fe9a bl 80037a8 + 8003a74: 2800 cmp r0, #0 + 8003a76: d042 beq.n 8003afe + 8003a78: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8003a7c: 6813 ldr r3, [r2, #0] + 8003a7e: f043 0308 orr.w r3, r3, #8 + 8003a82: 6013 str r3, [r2, #0] + 8003a84: 6813 ldr r3, [r2, #0] + 8003a86: 6aa1 ldr r1, [r4, #40] ; 0x28 + 8003a88: f023 03f0 bic.w r3, r3, #240 ; 0xf0 + 8003a8c: 430b orrs r3, r1 + 8003a8e: 6013 str r3, [r2, #0] + 8003a90: 6a60 ldr r0, [r4, #36] ; 0x24 + 8003a92: f7ff fe8f bl 80037b4 + 8003a96: 6823 ldr r3, [r4, #0] + 8003a98: 07d8 lsls r0, r3, #31 + 8003a9a: d448 bmi.n 8003b2e + 8003a9c: 6823 ldr r3, [r4, #0] + 8003a9e: 0799 lsls r1, r3, #30 + 8003aa0: f100 808c bmi.w 8003bbc + 8003aa4: 6823 ldr r3, [r4, #0] + 8003aa6: 071e lsls r6, r3, #28 + 8003aa8: f140 80fa bpl.w 8003ca0 + 8003aac: 69a3 ldr r3, [r4, #24] + 8003aae: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 + 8003ab2: 2b00 cmp r3, #0 + 8003ab4: f000 80e1 beq.w 8003c7a + 8003ab8: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 + 8003abc: 69e1 ldr r1, [r4, #28] + 8003abe: f003 0210 and.w r2, r3, #16 + 8003ac2: 4291 cmp r1, r2 + 8003ac4: f000 80c4 beq.w 8003c50 + 8003ac8: f003 0203 and.w r2, r3, #3 + 8003acc: 2a02 cmp r2, #2 + 8003ace: d0c2 beq.n 8003a56 + 8003ad0: 07d8 lsls r0, r3, #31 + 8003ad2: f140 80b3 bpl.w 8003c3c + 8003ad6: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 + 8003ada: f023 0301 bic.w r3, r3, #1 + 8003ade: f8c6 3094 str.w r3, [r6, #148] ; 0x94 + 8003ae2: f7fd fec7 bl 8001874 + 8003ae6: 4607 mov r7, r0 + 8003ae8: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 + 8003aec: 0799 lsls r1, r3, #30 + 8003aee: f140 80a5 bpl.w 8003c3c + 8003af2: f7fd febf bl 8001874 + 8003af6: 1bc3 subs r3, r0, r7 + 8003af8: 2b11 cmp r3, #17 + 8003afa: d9f5 bls.n 8003ae8 + 8003afc: e004 b.n 8003b08 + 8003afe: f7fd feb9 bl 8001874 + 8003b02: 1bc0 subs r0, r0, r7 + 8003b04: 2802 cmp r0, #2 + 8003b06: d9b3 bls.n 8003a70 + 8003b08: 2003 movs r0, #3 + 8003b0a: e78f b.n 8003a2c + 8003b0c: 681a ldr r2, [r3, #0] + 8003b0e: f022 0201 bic.w r2, r2, #1 + 8003b12: 601a str r2, [r3, #0] + 8003b14: f7fd feae bl 8001874 + 8003b18: 4607 mov r7, r0 + 8003b1a: f7ff fe45 bl 80037a8 + 8003b1e: 2800 cmp r0, #0 + 8003b20: d0b9 beq.n 8003a96 + 8003b22: f7fd fea7 bl 8001874 + 8003b26: 1bc0 subs r0, r0, r7 + 8003b28: 2802 cmp r0, #2 + 8003b2a: d9f6 bls.n 8003b1a + 8003b2c: e7ec b.n 8003b08 + 8003b2e: 2d08 cmp r5, #8 + 8003b30: d003 beq.n 8003b3a + 8003b32: 2d0c cmp r5, #12 + 8003b34: d105 bne.n 8003b42 + 8003b36: 2e03 cmp r6, #3 + 8003b38: d103 bne.n 8003b42 + 8003b3a: 6863 ldr r3, [r4, #4] + 8003b3c: 2b00 cmp r3, #0 + 8003b3e: d1ad bne.n 8003a9c + 8003b40: e789 b.n 8003a56 + 8003b42: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8003b46: 68a1 ldr r1, [r4, #8] + 8003b48: 681a ldr r2, [r3, #0] + 8003b4a: f422 1280 bic.w r2, r2, #1048576 ; 0x100000 + 8003b4e: 430a orrs r2, r1 + 8003b50: 601a str r2, [r3, #0] + 8003b52: 6862 ldr r2, [r4, #4] + 8003b54: f5b2 3f80 cmp.w r2, #65536 ; 0x10000 + 8003b58: d110 bne.n 8003b7c + 8003b5a: 681a ldr r2, [r3, #0] + 8003b5c: f442 3280 orr.w r2, r2, #65536 ; 0x10000 + 8003b60: 601a str r2, [r3, #0] + 8003b62: f7fd fe87 bl 8001874 + 8003b66: 4607 mov r7, r0 + 8003b68: f7ff fe18 bl 800379c + 8003b6c: 2800 cmp r0, #0 + 8003b6e: d195 bne.n 8003a9c + 8003b70: f7fd fe80 bl 8001874 + 8003b74: 1bc0 subs r0, r0, r7 + 8003b76: 2864 cmp r0, #100 ; 0x64 + 8003b78: d9f6 bls.n 8003b68 + 8003b7a: e7c5 b.n 8003b08 + 8003b7c: f5b2 1f04 cmp.w r2, #2162688 ; 0x210000 + 8003b80: d104 bne.n 8003b8c + 8003b82: 681a ldr r2, [r3, #0] + 8003b84: f442 1200 orr.w r2, r2, #2097152 ; 0x200000 + 8003b88: 601a str r2, [r3, #0] + 8003b8a: e7e6 b.n 8003b5a + 8003b8c: 6819 ldr r1, [r3, #0] + 8003b8e: f421 3180 bic.w r1, r1, #65536 ; 0x10000 + 8003b92: 6019 str r1, [r3, #0] + 8003b94: 6819 ldr r1, [r3, #0] + 8003b96: f421 1100 bic.w r1, r1, #2097152 ; 0x200000 + 8003b9a: 6019 str r1, [r3, #0] + 8003b9c: 2a00 cmp r2, #0 + 8003b9e: d1e0 bne.n 8003b62 + 8003ba0: f7fd fe68 bl 8001874 + 8003ba4: 4607 mov r7, r0 + 8003ba6: f7ff fdf9 bl 800379c + 8003baa: 2800 cmp r0, #0 + 8003bac: f43f af76 beq.w 8003a9c + 8003bb0: f7fd fe60 bl 8001874 + 8003bb4: 1bc0 subs r0, r0, r7 + 8003bb6: 2864 cmp r0, #100 ; 0x64 + 8003bb8: d9f5 bls.n 8003ba6 + 8003bba: e7a5 b.n 8003b08 + 8003bbc: 2d04 cmp r5, #4 + 8003bbe: 6923 ldr r3, [r4, #16] + 8003bc0: d003 beq.n 8003bca + 8003bc2: 2d0c cmp r5, #12 + 8003bc4: d10e bne.n 8003be4 + 8003bc6: 2e02 cmp r6, #2 + 8003bc8: d10c bne.n 8003be4 + 8003bca: 2b00 cmp r3, #0 + 8003bcc: f43f af43 beq.w 8003a56 + 8003bd0: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8003bd4: 6961 ldr r1, [r4, #20] + 8003bd6: 6853 ldr r3, [r2, #4] + 8003bd8: f023 43fe bic.w r3, r3, #2130706432 ; 0x7f000000 + 8003bdc: ea43 6301 orr.w r3, r3, r1, lsl #24 + 8003be0: 6053 str r3, [r2, #4] + 8003be2: e75f b.n 8003aa4 + 8003be4: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 + 8003be8: b1bb cbz r3, 8003c1a + 8003bea: 6833 ldr r3, [r6, #0] + 8003bec: f443 7380 orr.w r3, r3, #256 ; 0x100 + 8003bf0: 6033 str r3, [r6, #0] + 8003bf2: f7fd fe3f bl 8001874 + 8003bf6: 4607 mov r7, r0 + 8003bf8: 6833 ldr r3, [r6, #0] + 8003bfa: 055a lsls r2, r3, #21 + 8003bfc: d507 bpl.n 8003c0e + 8003bfe: 6873 ldr r3, [r6, #4] + 8003c00: 6962 ldr r2, [r4, #20] + 8003c02: f023 43fe bic.w r3, r3, #2130706432 ; 0x7f000000 + 8003c06: ea43 6302 orr.w r3, r3, r2, lsl #24 + 8003c0a: 6073 str r3, [r6, #4] + 8003c0c: e74a b.n 8003aa4 + 8003c0e: f7fd fe31 bl 8001874 + 8003c12: 1bc3 subs r3, r0, r7 + 8003c14: 2b02 cmp r3, #2 + 8003c16: d9ef bls.n 8003bf8 + 8003c18: e776 b.n 8003b08 + 8003c1a: 6833 ldr r3, [r6, #0] + 8003c1c: f423 7380 bic.w r3, r3, #256 ; 0x100 + 8003c20: 6033 str r3, [r6, #0] + 8003c22: f7fd fe27 bl 8001874 + 8003c26: 4607 mov r7, r0 + 8003c28: 6833 ldr r3, [r6, #0] + 8003c2a: 055b lsls r3, r3, #21 + 8003c2c: f57f af3a bpl.w 8003aa4 + 8003c30: f7fd fe20 bl 8001874 + 8003c34: 1bc3 subs r3, r0, r7 + 8003c36: 2b02 cmp r3, #2 + 8003c38: d9f6 bls.n 8003c28 + 8003c3a: e765 b.n 8003b08 + 8003c3c: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8003c40: 69e1 ldr r1, [r4, #28] + 8003c42: f8d2 3094 ldr.w r3, [r2, #148] ; 0x94 + 8003c46: f023 0310 bic.w r3, r3, #16 + 8003c4a: 430b orrs r3, r1 + 8003c4c: f8c2 3094 str.w r3, [r2, #148] ; 0x94 + 8003c50: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 + 8003c54: f8d7 3094 ldr.w r3, [r7, #148] ; 0x94 + 8003c58: f043 0301 orr.w r3, r3, #1 + 8003c5c: f8c7 3094 str.w r3, [r7, #148] ; 0x94 + 8003c60: f7fd fe08 bl 8001874 + 8003c64: 4606 mov r6, r0 + 8003c66: f8d7 3094 ldr.w r3, [r7, #148] ; 0x94 + 8003c6a: 079a lsls r2, r3, #30 + 8003c6c: d418 bmi.n 8003ca0 + 8003c6e: f7fd fe01 bl 8001874 + 8003c72: 1b83 subs r3, r0, r6 + 8003c74: 2b11 cmp r3, #17 + 8003c76: d9f6 bls.n 8003c66 + 8003c78: e746 b.n 8003b08 + 8003c7a: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 + 8003c7e: f023 0301 bic.w r3, r3, #1 + 8003c82: f8c6 3094 str.w r3, [r6, #148] ; 0x94 + 8003c86: f7fd fdf5 bl 8001874 + 8003c8a: 4607 mov r7, r0 + 8003c8c: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 + 8003c90: 079b lsls r3, r3, #30 + 8003c92: d505 bpl.n 8003ca0 + 8003c94: f7fd fdee bl 8001874 + 8003c98: 1bc3 subs r3, r0, r7 + 8003c9a: 2b11 cmp r3, #17 + 8003c9c: d9f6 bls.n 8003c8c + 8003c9e: e733 b.n 8003b08 + 8003ca0: 6823 ldr r3, [r4, #0] + 8003ca2: 0758 lsls r0, r3, #29 + 8003ca4: d554 bpl.n 8003d50 + 8003ca6: 4f0b ldr r7, [pc, #44] ; (8003cd4 ) + 8003ca8: 683b ldr r3, [r7, #0] + 8003caa: 05d9 lsls r1, r3, #23 + 8003cac: d414 bmi.n 8003cd8 + 8003cae: f7ff fcef bl 8003690 + 8003cb2: f7fd fddf bl 8001874 + 8003cb6: 4606 mov r6, r0 + 8003cb8: 683b ldr r3, [r7, #0] + 8003cba: 05da lsls r2, r3, #23 + 8003cbc: d40c bmi.n 8003cd8 + 8003cbe: f7fd fdd9 bl 8001874 + 8003cc2: 1b83 subs r3, r0, r6 + 8003cc4: 2b02 cmp r3, #2 + 8003cc6: d9f7 bls.n 8003cb8 + 8003cc8: e71e b.n 8003b08 + 8003cca: bf00 nop + 8003ccc: 20000074 .word 0x20000074 + 8003cd0: 20000078 .word 0x20000078 + 8003cd4: 58000400 .word 0x58000400 + 8003cd8: 68e3 ldr r3, [r4, #12] + 8003cda: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 + 8003cde: 2b00 cmp r3, #0 + 8003ce0: d058 beq.n 8003d94 + 8003ce2: f023 0380 bic.w r3, r3, #128 ; 0x80 + 8003ce6: 2b05 cmp r3, #5 + 8003ce8: bf02 ittt eq + 8003cea: f8d6 3090 ldreq.w r3, [r6, #144] ; 0x90 + 8003cee: f043 0304 orreq.w r3, r3, #4 + 8003cf2: f8c6 3090 streq.w r3, [r6, #144] ; 0x90 + 8003cf6: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 + 8003cfa: f7fd fdbb bl 8001874 + 8003cfe: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 + 8003d02: f043 0301 orr.w r3, r3, #1 + 8003d06: 4607 mov r7, r0 + 8003d08: f8c6 3090 str.w r3, [r6, #144] ; 0x90 + 8003d0c: f241 3888 movw r8, #5000 ; 0x1388 + 8003d10: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 + 8003d14: 079b lsls r3, r3, #30 + 8003d16: d405 bmi.n 8003d24 + 8003d18: f7fd fdac bl 8001874 + 8003d1c: 1bc3 subs r3, r0, r7 + 8003d1e: 4543 cmp r3, r8 + 8003d20: d9f6 bls.n 8003d10 + 8003d22: e6f1 b.n 8003b08 + 8003d24: 68e3 ldr r3, [r4, #12] + 8003d26: f023 0304 bic.w r3, r3, #4 + 8003d2a: 2b81 cmp r3, #129 ; 0x81 + 8003d2c: d11b bne.n 8003d66 + 8003d2e: f7fd fda1 bl 8001874 + 8003d32: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 + 8003d36: f043 0380 orr.w r3, r3, #128 ; 0x80 + 8003d3a: f8c6 3090 str.w r3, [r6, #144] ; 0x90 + 8003d3e: 4607 mov r7, r0 + 8003d40: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 + 8003d44: f241 3888 movw r8, #5000 ; 0x1388 + 8003d48: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 + 8003d4c: 0518 lsls r0, r3, #20 + 8003d4e: d504 bpl.n 8003d5a + 8003d50: 6ae0 ldr r0, [r4, #44] ; 0x2c + 8003d52: 2800 cmp r0, #0 + 8003d54: d14a bne.n 8003dec + 8003d56: 2000 movs r0, #0 + 8003d58: e668 b.n 8003a2c + 8003d5a: f7fd fd8b bl 8001874 + 8003d5e: 1bc0 subs r0, r0, r7 + 8003d60: 4540 cmp r0, r8 + 8003d62: d9f1 bls.n 8003d48 + 8003d64: e6d0 b.n 8003b08 + 8003d66: f7fd fd85 bl 8001874 + 8003d6a: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 + 8003d6e: f023 0380 bic.w r3, r3, #128 ; 0x80 + 8003d72: f8c6 3090 str.w r3, [r6, #144] ; 0x90 + 8003d76: 4607 mov r7, r0 + 8003d78: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 + 8003d7c: f241 3888 movw r8, #5000 ; 0x1388 + 8003d80: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 + 8003d84: 0519 lsls r1, r3, #20 + 8003d86: d5e3 bpl.n 8003d50 + 8003d88: f7fd fd74 bl 8001874 + 8003d8c: 1bc0 subs r0, r0, r7 + 8003d8e: 4540 cmp r0, r8 + 8003d90: d9f6 bls.n 8003d80 + 8003d92: e6b9 b.n 8003b08 + 8003d94: f7fd fd6e bl 8001874 + 8003d98: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 + 8003d9c: f023 0380 bic.w r3, r3, #128 ; 0x80 + 8003da0: 4607 mov r7, r0 + 8003da2: f8c6 3090 str.w r3, [r6, #144] ; 0x90 + 8003da6: f241 3888 movw r8, #5000 ; 0x1388 + 8003daa: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 + 8003dae: 051a lsls r2, r3, #20 + 8003db0: d416 bmi.n 8003de0 + 8003db2: f7fd fd5f bl 8001874 + 8003db6: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 + 8003dba: f023 0301 bic.w r3, r3, #1 + 8003dbe: f8c6 3090 str.w r3, [r6, #144] ; 0x90 + 8003dc2: 4607 mov r7, r0 + 8003dc4: f04f 48b0 mov.w r8, #1476395008 ; 0x58000000 + 8003dc8: f241 3688 movw r6, #5000 ; 0x1388 + 8003dcc: f8d8 3090 ldr.w r3, [r8, #144] ; 0x90 + 8003dd0: 079b lsls r3, r3, #30 + 8003dd2: d5bd bpl.n 8003d50 + 8003dd4: f7fd fd4e bl 8001874 + 8003dd8: 1bc3 subs r3, r0, r7 + 8003dda: 42b3 cmp r3, r6 + 8003ddc: d9f6 bls.n 8003dcc + 8003dde: e693 b.n 8003b08 + 8003de0: f7fd fd48 bl 8001874 + 8003de4: 1bc0 subs r0, r0, r7 + 8003de6: 4540 cmp r0, r8 + 8003de8: d9df bls.n 8003daa + 8003dea: e68d b.n 8003b08 + 8003dec: 2d0c cmp r5, #12 + 8003dee: d04e beq.n 8003e8e + 8003df0: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8003df4: 2802 cmp r0, #2 + 8003df6: 681a ldr r2, [r3, #0] + 8003df8: f022 7280 bic.w r2, r2, #16777216 ; 0x1000000 + 8003dfc: 601a str r2, [r3, #0] + 8003dfe: d133 bne.n 8003e68 + 8003e00: f7fd fd38 bl 8001874 + 8003e04: 4605 mov r5, r0 + 8003e06: f7ff fcde bl 80037c6 + 8003e0a: bb38 cbnz r0, 8003e5c + 8003e0c: e9d4 310c ldrd r3, r1, [r4, #48] ; 0x30 + 8003e10: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 8003e14: 430b orrs r3, r1 - 8003e16: 6013 str r3, [r2, #0] - 8003e18: 6a60 ldr r0, [r4, #36] ; 0x24 - 8003e1a: f7ff fe8f bl 8003b3c - 8003e1e: 6823 ldr r3, [r4, #0] - 8003e20: 07d8 lsls r0, r3, #31 - 8003e22: d448 bmi.n 8003eb6 - 8003e24: 6823 ldr r3, [r4, #0] - 8003e26: 0799 lsls r1, r3, #30 - 8003e28: f100 808c bmi.w 8003f44 - 8003e2c: 6823 ldr r3, [r4, #0] - 8003e2e: 071e lsls r6, r3, #28 - 8003e30: f140 80fa bpl.w 8004028 - 8003e34: 69a3 ldr r3, [r4, #24] - 8003e36: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 - 8003e3a: 2b00 cmp r3, #0 - 8003e3c: f000 80e1 beq.w 8004002 - 8003e40: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 - 8003e44: 69e1 ldr r1, [r4, #28] - 8003e46: f003 0210 and.w r2, r3, #16 - 8003e4a: 4291 cmp r1, r2 - 8003e4c: f000 80c4 beq.w 8003fd8 - 8003e50: f003 0203 and.w r2, r3, #3 - 8003e54: 2a02 cmp r2, #2 - 8003e56: d0c2 beq.n 8003dde - 8003e58: 07d8 lsls r0, r3, #31 - 8003e5a: f140 80b3 bpl.w 8003fc4 - 8003e5e: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 - 8003e62: f023 0301 bic.w r3, r3, #1 - 8003e66: f8c6 3094 str.w r3, [r6, #148] ; 0x94 - 8003e6a: f7fd fd1b bl 80018a4 - 8003e6e: 4607 mov r7, r0 - 8003e70: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 - 8003e74: 0799 lsls r1, r3, #30 - 8003e76: f140 80a5 bpl.w 8003fc4 - 8003e7a: f7fd fd13 bl 80018a4 - 8003e7e: 1bc3 subs r3, r0, r7 - 8003e80: 2b11 cmp r3, #17 - 8003e82: d9f5 bls.n 8003e70 - 8003e84: e004 b.n 8003e90 - 8003e86: f7fd fd0d bl 80018a4 - 8003e8a: 1bc0 subs r0, r0, r7 - 8003e8c: 2802 cmp r0, #2 - 8003e8e: d9b3 bls.n 8003df8 - 8003e90: 2003 movs r0, #3 - 8003e92: e78f b.n 8003db4 - 8003e94: 681a ldr r2, [r3, #0] - 8003e96: f022 0201 bic.w r2, r2, #1 - 8003e9a: 601a str r2, [r3, #0] - 8003e9c: f7fd fd02 bl 80018a4 - 8003ea0: 4607 mov r7, r0 - 8003ea2: f7ff fe45 bl 8003b30 - 8003ea6: 2800 cmp r0, #0 - 8003ea8: d0b9 beq.n 8003e1e - 8003eaa: f7fd fcfb bl 80018a4 - 8003eae: 1bc0 subs r0, r0, r7 - 8003eb0: 2802 cmp r0, #2 - 8003eb2: d9f6 bls.n 8003ea2 - 8003eb4: e7ec b.n 8003e90 - 8003eb6: 2d08 cmp r5, #8 - 8003eb8: d003 beq.n 8003ec2 - 8003eba: 2d0c cmp r5, #12 - 8003ebc: d105 bne.n 8003eca - 8003ebe: 2e03 cmp r6, #3 - 8003ec0: d103 bne.n 8003eca - 8003ec2: 6863 ldr r3, [r4, #4] - 8003ec4: 2b00 cmp r3, #0 - 8003ec6: d1ad bne.n 8003e24 - 8003ec8: e789 b.n 8003dde - 8003eca: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003ece: 68a1 ldr r1, [r4, #8] - 8003ed0: 681a ldr r2, [r3, #0] - 8003ed2: f422 1280 bic.w r2, r2, #1048576 ; 0x100000 - 8003ed6: 430a orrs r2, r1 - 8003ed8: 601a str r2, [r3, #0] - 8003eda: 6862 ldr r2, [r4, #4] - 8003edc: f5b2 3f80 cmp.w r2, #65536 ; 0x10000 - 8003ee0: d110 bne.n 8003f04 - 8003ee2: 681a ldr r2, [r3, #0] - 8003ee4: f442 3280 orr.w r2, r2, #65536 ; 0x10000 - 8003ee8: 601a str r2, [r3, #0] - 8003eea: f7fd fcdb bl 80018a4 - 8003eee: 4607 mov r7, r0 - 8003ef0: f7ff fe18 bl 8003b24 - 8003ef4: 2800 cmp r0, #0 - 8003ef6: d195 bne.n 8003e24 - 8003ef8: f7fd fcd4 bl 80018a4 - 8003efc: 1bc0 subs r0, r0, r7 - 8003efe: 2864 cmp r0, #100 ; 0x64 - 8003f00: d9f6 bls.n 8003ef0 - 8003f02: e7c5 b.n 8003e90 - 8003f04: f5b2 1f04 cmp.w r2, #2162688 ; 0x210000 - 8003f08: d104 bne.n 8003f14 - 8003f0a: 681a ldr r2, [r3, #0] - 8003f0c: f442 1200 orr.w r2, r2, #2097152 ; 0x200000 - 8003f10: 601a str r2, [r3, #0] - 8003f12: e7e6 b.n 8003ee2 - 8003f14: 6819 ldr r1, [r3, #0] - 8003f16: f421 3180 bic.w r1, r1, #65536 ; 0x10000 - 8003f1a: 6019 str r1, [r3, #0] - 8003f1c: 6819 ldr r1, [r3, #0] - 8003f1e: f421 1100 bic.w r1, r1, #2097152 ; 0x200000 - 8003f22: 6019 str r1, [r3, #0] - 8003f24: 2a00 cmp r2, #0 - 8003f26: d1e0 bne.n 8003eea - 8003f28: f7fd fcbc bl 80018a4 - 8003f2c: 4607 mov r7, r0 - 8003f2e: f7ff fdf9 bl 8003b24 - 8003f32: 2800 cmp r0, #0 - 8003f34: f43f af76 beq.w 8003e24 - 8003f38: f7fd fcb4 bl 80018a4 - 8003f3c: 1bc0 subs r0, r0, r7 - 8003f3e: 2864 cmp r0, #100 ; 0x64 - 8003f40: d9f5 bls.n 8003f2e - 8003f42: e7a5 b.n 8003e90 - 8003f44: 2d04 cmp r5, #4 - 8003f46: 6923 ldr r3, [r4, #16] - 8003f48: d003 beq.n 8003f52 - 8003f4a: 2d0c cmp r5, #12 - 8003f4c: d10e bne.n 8003f6c - 8003f4e: 2e02 cmp r6, #2 - 8003f50: d10c bne.n 8003f6c - 8003f52: 2b00 cmp r3, #0 - 8003f54: f43f af43 beq.w 8003dde - 8003f58: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8003f5c: 6961 ldr r1, [r4, #20] - 8003f5e: 6853 ldr r3, [r2, #4] - 8003f60: f023 43fe bic.w r3, r3, #2130706432 ; 0x7f000000 - 8003f64: ea43 6301 orr.w r3, r3, r1, lsl #24 - 8003f68: 6053 str r3, [r2, #4] - 8003f6a: e75f b.n 8003e2c - 8003f6c: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 - 8003f70: b1bb cbz r3, 8003fa2 - 8003f72: 6833 ldr r3, [r6, #0] - 8003f74: f443 7380 orr.w r3, r3, #256 ; 0x100 - 8003f78: 6033 str r3, [r6, #0] - 8003f7a: f7fd fc93 bl 80018a4 - 8003f7e: 4607 mov r7, r0 - 8003f80: 6833 ldr r3, [r6, #0] - 8003f82: 055a lsls r2, r3, #21 - 8003f84: d507 bpl.n 8003f96 - 8003f86: 6873 ldr r3, [r6, #4] - 8003f88: 6962 ldr r2, [r4, #20] - 8003f8a: f023 43fe bic.w r3, r3, #2130706432 ; 0x7f000000 - 8003f8e: ea43 6302 orr.w r3, r3, r2, lsl #24 - 8003f92: 6073 str r3, [r6, #4] - 8003f94: e74a b.n 8003e2c - 8003f96: f7fd fc85 bl 80018a4 - 8003f9a: 1bc3 subs r3, r0, r7 - 8003f9c: 2b02 cmp r3, #2 - 8003f9e: d9ef bls.n 8003f80 - 8003fa0: e776 b.n 8003e90 - 8003fa2: 6833 ldr r3, [r6, #0] - 8003fa4: f423 7380 bic.w r3, r3, #256 ; 0x100 - 8003fa8: 6033 str r3, [r6, #0] - 8003faa: f7fd fc7b bl 80018a4 - 8003fae: 4607 mov r7, r0 - 8003fb0: 6833 ldr r3, [r6, #0] - 8003fb2: 055b lsls r3, r3, #21 - 8003fb4: f57f af3a bpl.w 8003e2c - 8003fb8: f7fd fc74 bl 80018a4 - 8003fbc: 1bc3 subs r3, r0, r7 - 8003fbe: 2b02 cmp r3, #2 - 8003fc0: d9f6 bls.n 8003fb0 - 8003fc2: e765 b.n 8003e90 - 8003fc4: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8003fc8: 69e1 ldr r1, [r4, #28] - 8003fca: f8d2 3094 ldr.w r3, [r2, #148] ; 0x94 - 8003fce: f023 0310 bic.w r3, r3, #16 - 8003fd2: 430b orrs r3, r1 - 8003fd4: f8c2 3094 str.w r3, [r2, #148] ; 0x94 - 8003fd8: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 - 8003fdc: f8d7 3094 ldr.w r3, [r7, #148] ; 0x94 - 8003fe0: f043 0301 orr.w r3, r3, #1 - 8003fe4: f8c7 3094 str.w r3, [r7, #148] ; 0x94 - 8003fe8: f7fd fc5c bl 80018a4 - 8003fec: 4606 mov r6, r0 - 8003fee: f8d7 3094 ldr.w r3, [r7, #148] ; 0x94 - 8003ff2: 079a lsls r2, r3, #30 - 8003ff4: d418 bmi.n 8004028 - 8003ff6: f7fd fc55 bl 80018a4 - 8003ffa: 1b83 subs r3, r0, r6 - 8003ffc: 2b11 cmp r3, #17 - 8003ffe: d9f6 bls.n 8003fee - 8004000: e746 b.n 8003e90 - 8004002: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 - 8004006: f023 0301 bic.w r3, r3, #1 - 800400a: f8c6 3094 str.w r3, [r6, #148] ; 0x94 - 800400e: f7fd fc49 bl 80018a4 - 8004012: 4607 mov r7, r0 - 8004014: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 - 8004018: 079b lsls r3, r3, #30 - 800401a: d505 bpl.n 8004028 - 800401c: f7fd fc42 bl 80018a4 - 8004020: 1bc3 subs r3, r0, r7 - 8004022: 2b11 cmp r3, #17 - 8004024: d9f6 bls.n 8004014 - 8004026: e733 b.n 8003e90 - 8004028: 6823 ldr r3, [r4, #0] - 800402a: 0758 lsls r0, r3, #29 - 800402c: d554 bpl.n 80040d8 - 800402e: 4f0b ldr r7, [pc, #44] ; (800405c ) - 8004030: 683b ldr r3, [r7, #0] - 8004032: 05d9 lsls r1, r3, #23 - 8004034: d414 bmi.n 8004060 - 8004036: f7ff fcef bl 8003a18 - 800403a: f7fd fc33 bl 80018a4 - 800403e: 4606 mov r6, r0 - 8004040: 683b ldr r3, [r7, #0] - 8004042: 05da lsls r2, r3, #23 - 8004044: d40c bmi.n 8004060 - 8004046: f7fd fc2d bl 80018a4 - 800404a: 1b83 subs r3, r0, r6 - 800404c: 2b02 cmp r3, #2 - 800404e: d9f7 bls.n 8004040 - 8004050: e71e b.n 8003e90 - 8004052: bf00 nop - 8004054: 20000074 .word 0x20000074 - 8004058: 20000078 .word 0x20000078 - 800405c: 58000400 .word 0x58000400 - 8004060: 68e3 ldr r3, [r4, #12] - 8004062: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 - 8004066: 2b00 cmp r3, #0 - 8004068: d058 beq.n 800411c - 800406a: f023 0380 bic.w r3, r3, #128 ; 0x80 - 800406e: 2b05 cmp r3, #5 - 8004070: bf02 ittt eq - 8004072: f8d6 3090 ldreq.w r3, [r6, #144] ; 0x90 - 8004076: f043 0304 orreq.w r3, r3, #4 - 800407a: f8c6 3090 streq.w r3, [r6, #144] ; 0x90 - 800407e: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 - 8004082: f7fd fc0f bl 80018a4 - 8004086: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 - 800408a: f043 0301 orr.w r3, r3, #1 - 800408e: 4607 mov r7, r0 - 8004090: f8c6 3090 str.w r3, [r6, #144] ; 0x90 - 8004094: f241 3888 movw r8, #5000 ; 0x1388 - 8004098: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 - 800409c: 079b lsls r3, r3, #30 - 800409e: d405 bmi.n 80040ac - 80040a0: f7fd fc00 bl 80018a4 - 80040a4: 1bc3 subs r3, r0, r7 - 80040a6: 4543 cmp r3, r8 - 80040a8: d9f6 bls.n 8004098 - 80040aa: e6f1 b.n 8003e90 - 80040ac: 68e3 ldr r3, [r4, #12] - 80040ae: f023 0304 bic.w r3, r3, #4 - 80040b2: 2b81 cmp r3, #129 ; 0x81 - 80040b4: d11b bne.n 80040ee - 80040b6: f7fd fbf5 bl 80018a4 - 80040ba: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 - 80040be: f043 0380 orr.w r3, r3, #128 ; 0x80 - 80040c2: f8c6 3090 str.w r3, [r6, #144] ; 0x90 - 80040c6: 4607 mov r7, r0 - 80040c8: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 - 80040cc: f241 3888 movw r8, #5000 ; 0x1388 - 80040d0: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 - 80040d4: 0518 lsls r0, r3, #20 - 80040d6: d504 bpl.n 80040e2 - 80040d8: 6ae0 ldr r0, [r4, #44] ; 0x2c - 80040da: 2800 cmp r0, #0 - 80040dc: d14a bne.n 8004174 - 80040de: 2000 movs r0, #0 - 80040e0: e668 b.n 8003db4 - 80040e2: f7fd fbdf bl 80018a4 - 80040e6: 1bc0 subs r0, r0, r7 - 80040e8: 4540 cmp r0, r8 - 80040ea: d9f1 bls.n 80040d0 - 80040ec: e6d0 b.n 8003e90 - 80040ee: f7fd fbd9 bl 80018a4 - 80040f2: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 - 80040f6: f023 0380 bic.w r3, r3, #128 ; 0x80 - 80040fa: f8c6 3090 str.w r3, [r6, #144] ; 0x90 - 80040fe: 4607 mov r7, r0 - 8004100: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 - 8004104: f241 3888 movw r8, #5000 ; 0x1388 - 8004108: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 - 800410c: 0519 lsls r1, r3, #20 - 800410e: d5e3 bpl.n 80040d8 - 8004110: f7fd fbc8 bl 80018a4 - 8004114: 1bc0 subs r0, r0, r7 - 8004116: 4540 cmp r0, r8 - 8004118: d9f6 bls.n 8004108 - 800411a: e6b9 b.n 8003e90 - 800411c: f7fd fbc2 bl 80018a4 - 8004120: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 - 8004124: f023 0380 bic.w r3, r3, #128 ; 0x80 - 8004128: 4607 mov r7, r0 - 800412a: f8c6 3090 str.w r3, [r6, #144] ; 0x90 - 800412e: f241 3888 movw r8, #5000 ; 0x1388 - 8004132: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 - 8004136: 051a lsls r2, r3, #20 - 8004138: d416 bmi.n 8004168 - 800413a: f7fd fbb3 bl 80018a4 - 800413e: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 - 8004142: f023 0301 bic.w r3, r3, #1 - 8004146: f8c6 3090 str.w r3, [r6, #144] ; 0x90 - 800414a: 4607 mov r7, r0 - 800414c: f04f 48b0 mov.w r8, #1476395008 ; 0x58000000 - 8004150: f241 3688 movw r6, #5000 ; 0x1388 - 8004154: f8d8 3090 ldr.w r3, [r8, #144] ; 0x90 - 8004158: 079b lsls r3, r3, #30 - 800415a: d5bd bpl.n 80040d8 - 800415c: f7fd fba2 bl 80018a4 - 8004160: 1bc3 subs r3, r0, r7 - 8004162: 42b3 cmp r3, r6 - 8004164: d9f6 bls.n 8004154 - 8004166: e693 b.n 8003e90 - 8004168: f7fd fb9c bl 80018a4 - 800416c: 1bc0 subs r0, r0, r7 - 800416e: 4540 cmp r0, r8 - 8004170: d9df bls.n 8004132 - 8004172: e68d b.n 8003e90 - 8004174: 2d0c cmp r5, #12 - 8004176: d04e beq.n 8004216 - 8004178: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 800417c: 2802 cmp r0, #2 - 800417e: 681a ldr r2, [r3, #0] - 8004180: f022 7280 bic.w r2, r2, #16777216 ; 0x1000000 - 8004184: 601a str r2, [r3, #0] - 8004186: d133 bne.n 80041f0 - 8004188: f7fd fb8c bl 80018a4 - 800418c: 4605 mov r5, r0 - 800418e: f7ff fcde bl 8003b4e - 8004192: bb38 cbnz r0, 80041e4 - 8004194: e9d4 310c ldrd r3, r1, [r4, #48] ; 0x30 - 8004198: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 800419c: 430b orrs r3, r1 - 800419e: 68d0 ldr r0, [r2, #12] - 80041a0: 492d ldr r1, [pc, #180] ; (8004258 ) - 80041a2: 4001 ands r1, r0 - 80041a4: 430b orrs r3, r1 - 80041a6: 6be1 ldr r1, [r4, #60] ; 0x3c - 80041a8: 430b orrs r3, r1 - 80041aa: 6c21 ldr r1, [r4, #64] ; 0x40 - 80041ac: 430b orrs r3, r1 - 80041ae: 6c61 ldr r1, [r4, #68] ; 0x44 - 80041b0: 430b orrs r3, r1 - 80041b2: 6ba1 ldr r1, [r4, #56] ; 0x38 - 80041b4: ea43 2301 orr.w r3, r3, r1, lsl #8 - 80041b8: 60d3 str r3, [r2, #12] - 80041ba: 6813 ldr r3, [r2, #0] - 80041bc: f043 7380 orr.w r3, r3, #16777216 ; 0x1000000 - 80041c0: 6013 str r3, [r2, #0] - 80041c2: 68d3 ldr r3, [r2, #12] - 80041c4: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000 - 80041c8: 60d3 str r3, [r2, #12] - 80041ca: f7fd fb6b bl 80018a4 - 80041ce: 4604 mov r4, r0 - 80041d0: f7ff fcbd bl 8003b4e - 80041d4: 2800 cmp r0, #0 - 80041d6: d182 bne.n 80040de - 80041d8: f7fd fb64 bl 80018a4 - 80041dc: 1b00 subs r0, r0, r4 - 80041de: 280a cmp r0, #10 - 80041e0: d9f6 bls.n 80041d0 - 80041e2: e655 b.n 8003e90 - 80041e4: f7fd fb5e bl 80018a4 - 80041e8: 1b40 subs r0, r0, r5 - 80041ea: 280a cmp r0, #10 - 80041ec: d9cf bls.n 800418e - 80041ee: e64f b.n 8003e90 - 80041f0: f7fd fb58 bl 80018a4 - 80041f4: 4604 mov r4, r0 - 80041f6: f7ff fcaa bl 8003b4e - 80041fa: b930 cbnz r0, 800420a - 80041fc: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8004200: 4b16 ldr r3, [pc, #88] ; (800425c ) - 8004202: 68d1 ldr r1, [r2, #12] - 8004204: 400b ands r3, r1 - 8004206: 60d3 str r3, [r2, #12] - 8004208: e5d4 b.n 8003db4 - 800420a: f7fd fb4b bl 80018a4 - 800420e: 1b00 subs r0, r0, r4 - 8004210: 280a cmp r0, #10 - 8004212: d9f0 bls.n 80041f6 - 8004214: e63c b.n 8003e90 - 8004216: 2801 cmp r0, #1 - 8004218: f43f adcc beq.w 8003db4 - 800421c: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8004220: 6b22 ldr r2, [r4, #48] ; 0x30 - 8004222: 68db ldr r3, [r3, #12] - 8004224: f003 0103 and.w r1, r3, #3 - 8004228: 4291 cmp r1, r2 - 800422a: f47f add8 bne.w 8003dde - 800422e: 6b61 ldr r1, [r4, #52] ; 0x34 - 8004230: f003 0270 and.w r2, r3, #112 ; 0x70 - 8004234: 428a cmp r2, r1 - 8004236: f47f add2 bne.w 8003dde - 800423a: 6ba1 ldr r1, [r4, #56] ; 0x38 - 800423c: f403 42fe and.w r2, r3, #32512 ; 0x7f00 - 8004240: ebb2 2f01 cmp.w r2, r1, lsl #8 - 8004244: f47f adcb bne.w 8003dde - 8004248: 6c62 ldr r2, [r4, #68] ; 0x44 - 800424a: f003 4360 and.w r3, r3, #3758096384 ; 0xe0000000 - 800424e: 4293 cmp r3, r2 - 8004250: f43f af45 beq.w 80040de - 8004254: e5c3 b.n 8003dde - 8004256: bf00 nop - 8004258: 11c1808c .word 0x11c1808c - 800425c: eefefffc .word 0xeefefffc + 8003e16: 68d0 ldr r0, [r2, #12] + 8003e18: 492d ldr r1, [pc, #180] ; (8003ed0 ) + 8003e1a: 4001 ands r1, r0 + 8003e1c: 430b orrs r3, r1 + 8003e1e: 6be1 ldr r1, [r4, #60] ; 0x3c + 8003e20: 430b orrs r3, r1 + 8003e22: 6c21 ldr r1, [r4, #64] ; 0x40 + 8003e24: 430b orrs r3, r1 + 8003e26: 6c61 ldr r1, [r4, #68] ; 0x44 + 8003e28: 430b orrs r3, r1 + 8003e2a: 6ba1 ldr r1, [r4, #56] ; 0x38 + 8003e2c: ea43 2301 orr.w r3, r3, r1, lsl #8 + 8003e30: 60d3 str r3, [r2, #12] + 8003e32: 6813 ldr r3, [r2, #0] + 8003e34: f043 7380 orr.w r3, r3, #16777216 ; 0x1000000 + 8003e38: 6013 str r3, [r2, #0] + 8003e3a: 68d3 ldr r3, [r2, #12] + 8003e3c: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000 + 8003e40: 60d3 str r3, [r2, #12] + 8003e42: f7fd fd17 bl 8001874 + 8003e46: 4604 mov r4, r0 + 8003e48: f7ff fcbd bl 80037c6 + 8003e4c: 2800 cmp r0, #0 + 8003e4e: d182 bne.n 8003d56 + 8003e50: f7fd fd10 bl 8001874 + 8003e54: 1b00 subs r0, r0, r4 + 8003e56: 280a cmp r0, #10 + 8003e58: d9f6 bls.n 8003e48 + 8003e5a: e655 b.n 8003b08 + 8003e5c: f7fd fd0a bl 8001874 + 8003e60: 1b40 subs r0, r0, r5 + 8003e62: 280a cmp r0, #10 + 8003e64: d9cf bls.n 8003e06 + 8003e66: e64f b.n 8003b08 + 8003e68: f7fd fd04 bl 8001874 + 8003e6c: 4604 mov r4, r0 + 8003e6e: f7ff fcaa bl 80037c6 + 8003e72: b930 cbnz r0, 8003e82 + 8003e74: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8003e78: 4b16 ldr r3, [pc, #88] ; (8003ed4 ) + 8003e7a: 68d1 ldr r1, [r2, #12] + 8003e7c: 400b ands r3, r1 + 8003e7e: 60d3 str r3, [r2, #12] + 8003e80: e5d4 b.n 8003a2c + 8003e82: f7fd fcf7 bl 8001874 + 8003e86: 1b00 subs r0, r0, r4 + 8003e88: 280a cmp r0, #10 + 8003e8a: d9f0 bls.n 8003e6e + 8003e8c: e63c b.n 8003b08 + 8003e8e: 2801 cmp r0, #1 + 8003e90: f43f adcc beq.w 8003a2c + 8003e94: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8003e98: 6b22 ldr r2, [r4, #48] ; 0x30 + 8003e9a: 68db ldr r3, [r3, #12] + 8003e9c: f003 0103 and.w r1, r3, #3 + 8003ea0: 4291 cmp r1, r2 + 8003ea2: f47f add8 bne.w 8003a56 + 8003ea6: 6b61 ldr r1, [r4, #52] ; 0x34 + 8003ea8: f003 0270 and.w r2, r3, #112 ; 0x70 + 8003eac: 428a cmp r2, r1 + 8003eae: f47f add2 bne.w 8003a56 + 8003eb2: 6ba1 ldr r1, [r4, #56] ; 0x38 + 8003eb4: f403 42fe and.w r2, r3, #32512 ; 0x7f00 + 8003eb8: ebb2 2f01 cmp.w r2, r1, lsl #8 + 8003ebc: f47f adcb bne.w 8003a56 + 8003ec0: 6c62 ldr r2, [r4, #68] ; 0x44 + 8003ec2: f003 4360 and.w r3, r3, #3758096384 ; 0xe0000000 + 8003ec6: 4293 cmp r3, r2 + 8003ec8: f43f af45 beq.w 8003d56 + 8003ecc: e5c3 b.n 8003a56 + 8003ece: bf00 nop + 8003ed0: 11c1808c .word 0x11c1808c + 8003ed4: eefefffc .word 0xeefefffc -08004260 : - 8004260: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8004264: 460d mov r5, r1 - 8004266: 4604 mov r4, r0 - 8004268: b910 cbnz r0, 8004270 - 800426a: 2001 movs r0, #1 - 800426c: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8004270: 4e68 ldr r6, [pc, #416] ; (8004414 ) - 8004272: 6833 ldr r3, [r6, #0] - 8004274: f003 0307 and.w r3, r3, #7 - 8004278: 428b cmp r3, r1 - 800427a: d316 bcc.n 80042aa - 800427c: 6823 ldr r3, [r4, #0] - 800427e: 079a lsls r2, r3, #30 - 8004280: d527 bpl.n 80042d2 - 8004282: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 - 8004286: 68a2 ldr r2, [r4, #8] - 8004288: 68bb ldr r3, [r7, #8] - 800428a: f023 03f0 bic.w r3, r3, #240 ; 0xf0 - 800428e: 4313 orrs r3, r2 - 8004290: 60bb str r3, [r7, #8] - 8004292: f7fd fb07 bl 80018a4 - 8004296: 4606 mov r6, r0 - 8004298: 68bb ldr r3, [r7, #8] - 800429a: 03db lsls r3, r3, #15 - 800429c: d419 bmi.n 80042d2 - 800429e: f7fd fb01 bl 80018a4 - 80042a2: 1b83 subs r3, r0, r6 - 80042a4: 2b02 cmp r3, #2 - 80042a6: d9f7 bls.n 8004298 - 80042a8: e011 b.n 80042ce - 80042aa: 6833 ldr r3, [r6, #0] - 80042ac: f023 0307 bic.w r3, r3, #7 - 80042b0: 430b orrs r3, r1 - 80042b2: 6033 str r3, [r6, #0] - 80042b4: f7fd faf6 bl 80018a4 - 80042b8: 4607 mov r7, r0 - 80042ba: 6833 ldr r3, [r6, #0] - 80042bc: f003 0307 and.w r3, r3, #7 - 80042c0: 42ab cmp r3, r5 - 80042c2: d0db beq.n 800427c - 80042c4: f7fd faee bl 80018a4 - 80042c8: 1bc0 subs r0, r0, r7 - 80042ca: 2802 cmp r0, #2 - 80042cc: d9f5 bls.n 80042ba - 80042ce: 2003 movs r0, #3 - 80042d0: e7cc b.n 800426c - 80042d2: 6823 ldr r3, [r4, #0] - 80042d4: 0658 lsls r0, r3, #25 - 80042d6: d517 bpl.n 8004308 - 80042d8: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 - 80042dc: 6962 ldr r2, [r4, #20] - 80042de: f8d7 3108 ldr.w r3, [r7, #264] ; 0x108 - 80042e2: f023 030f bic.w r3, r3, #15 - 80042e6: ea43 1312 orr.w r3, r3, r2, lsr #4 - 80042ea: f8c7 3108 str.w r3, [r7, #264] ; 0x108 - 80042ee: f7fd fad9 bl 80018a4 - 80042f2: 4606 mov r6, r0 - 80042f4: f8d7 3108 ldr.w r3, [r7, #264] ; 0x108 - 80042f8: 03d9 lsls r1, r3, #15 - 80042fa: d405 bmi.n 8004308 - 80042fc: f7fd fad2 bl 80018a4 - 8004300: 1b83 subs r3, r0, r6 - 8004302: 2b02 cmp r3, #2 - 8004304: d9f6 bls.n 80042f4 - 8004306: e7e2 b.n 80042ce - 8004308: 6823 ldr r3, [r4, #0] - 800430a: 075a lsls r2, r3, #29 - 800430c: d513 bpl.n 8004336 - 800430e: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 - 8004312: 68e2 ldr r2, [r4, #12] - 8004314: 68bb ldr r3, [r7, #8] - 8004316: f423 63e0 bic.w r3, r3, #1792 ; 0x700 - 800431a: 4313 orrs r3, r2 - 800431c: 60bb str r3, [r7, #8] - 800431e: f7fd fac1 bl 80018a4 - 8004322: 4606 mov r6, r0 - 8004324: 68bb ldr r3, [r7, #8] - 8004326: 039b lsls r3, r3, #14 - 8004328: d405 bmi.n 8004336 - 800432a: f7fd fabb bl 80018a4 - 800432e: 1b83 subs r3, r0, r6 - 8004330: 2b02 cmp r3, #2 - 8004332: d9f7 bls.n 8004324 - 8004334: e7cb b.n 80042ce - 8004336: 6823 ldr r3, [r4, #0] - 8004338: 0718 lsls r0, r3, #28 - 800433a: d514 bpl.n 8004366 - 800433c: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 - 8004340: 6922 ldr r2, [r4, #16] - 8004342: 68bb ldr r3, [r7, #8] - 8004344: f423 5360 bic.w r3, r3, #14336 ; 0x3800 - 8004348: ea43 03c2 orr.w r3, r3, r2, lsl #3 - 800434c: 60bb str r3, [r7, #8] - 800434e: f7fd faa9 bl 80018a4 - 8004352: 4606 mov r6, r0 - 8004354: 68bb ldr r3, [r7, #8] - 8004356: 0359 lsls r1, r3, #13 - 8004358: d405 bmi.n 8004366 - 800435a: f7fd faa3 bl 80018a4 - 800435e: 1b83 subs r3, r0, r6 - 8004360: 2b02 cmp r3, #2 - 8004362: d9f7 bls.n 8004354 - 8004364: e7b3 b.n 80042ce - 8004366: 6823 ldr r3, [r4, #0] - 8004368: 07da lsls r2, r3, #31 - 800436a: d40f bmi.n 800438c - 800436c: 4c29 ldr r4, [pc, #164] ; (8004414 ) - 800436e: 6823 ldr r3, [r4, #0] - 8004370: f003 0307 and.w r3, r3, #7 - 8004374: 42ab cmp r3, r5 - 8004376: d839 bhi.n 80043ec - 8004378: f7ff fcc8 bl 8003d0c - 800437c: 4b26 ldr r3, [pc, #152] ; (8004418 ) - 800437e: 6018 str r0, [r3, #0] - 8004380: 4b26 ldr r3, [pc, #152] ; (800441c ) - 8004382: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 8004386: 6818 ldr r0, [r3, #0] - 8004388: f7fd ba8a b.w 80018a0 - 800438c: 6862 ldr r2, [r4, #4] - 800438e: 2a02 cmp r2, #2 - 8004390: d11d bne.n 80043ce - 8004392: f7ff fbc7 bl 8003b24 - 8004396: 2800 cmp r0, #0 - 8004398: f43f af67 beq.w 800426a - 800439c: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 - 80043a0: f241 3888 movw r8, #5000 ; 0x1388 - 80043a4: 68b3 ldr r3, [r6, #8] - 80043a6: f023 0303 bic.w r3, r3, #3 - 80043aa: 4313 orrs r3, r2 - 80043ac: 60b3 str r3, [r6, #8] - 80043ae: f7fd fa79 bl 80018a4 - 80043b2: 4607 mov r7, r0 - 80043b4: 68b3 ldr r3, [r6, #8] - 80043b6: 6862 ldr r2, [r4, #4] - 80043b8: f003 030c and.w r3, r3, #12 - 80043bc: ebb3 0f82 cmp.w r3, r2, lsl #2 - 80043c0: d0d4 beq.n 800436c - 80043c2: f7fd fa6f bl 80018a4 - 80043c6: 1bc0 subs r0, r0, r7 - 80043c8: 4540 cmp r0, r8 - 80043ca: d9f3 bls.n 80043b4 - 80043cc: e77f b.n 80042ce - 80043ce: 2a03 cmp r2, #3 - 80043d0: d102 bne.n 80043d8 - 80043d2: f7ff fbbc bl 8003b4e - 80043d6: e7de b.n 8004396 - 80043d8: b912 cbnz r2, 80043e0 - 80043da: f7ff fba9 bl 8003b30 - 80043de: e7da b.n 8004396 - 80043e0: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 80043e4: 681b ldr r3, [r3, #0] - 80043e6: 055b lsls r3, r3, #21 - 80043e8: d4d8 bmi.n 800439c - 80043ea: e73e b.n 800426a - 80043ec: 6823 ldr r3, [r4, #0] - 80043ee: f023 0307 bic.w r3, r3, #7 - 80043f2: 432b orrs r3, r5 - 80043f4: 6023 str r3, [r4, #0] - 80043f6: f7fd fa55 bl 80018a4 - 80043fa: 4606 mov r6, r0 - 80043fc: 6823 ldr r3, [r4, #0] - 80043fe: f003 0307 and.w r3, r3, #7 - 8004402: 42ab cmp r3, r5 - 8004404: d0b8 beq.n 8004378 - 8004406: f7fd fa4d bl 80018a4 - 800440a: 1b80 subs r0, r0, r6 - 800440c: 2802 cmp r0, #2 - 800440e: d9f5 bls.n 80043fc - 8004410: e75d b.n 80042ce - 8004412: bf00 nop - 8004414: 58004000 .word 0x58004000 - 8004418: 20000074 .word 0x20000074 - 800441c: 20000078 .word 0x20000078 +08003ed8 : + 8003ed8: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8003edc: 460d mov r5, r1 + 8003ede: 4604 mov r4, r0 + 8003ee0: b910 cbnz r0, 8003ee8 + 8003ee2: 2001 movs r0, #1 + 8003ee4: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8003ee8: 4e68 ldr r6, [pc, #416] ; (800408c ) + 8003eea: 6833 ldr r3, [r6, #0] + 8003eec: f003 0307 and.w r3, r3, #7 + 8003ef0: 428b cmp r3, r1 + 8003ef2: d316 bcc.n 8003f22 + 8003ef4: 6823 ldr r3, [r4, #0] + 8003ef6: 079a lsls r2, r3, #30 + 8003ef8: d527 bpl.n 8003f4a + 8003efa: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 + 8003efe: 68a2 ldr r2, [r4, #8] + 8003f00: 68bb ldr r3, [r7, #8] + 8003f02: f023 03f0 bic.w r3, r3, #240 ; 0xf0 + 8003f06: 4313 orrs r3, r2 + 8003f08: 60bb str r3, [r7, #8] + 8003f0a: f7fd fcb3 bl 8001874 + 8003f0e: 4606 mov r6, r0 + 8003f10: 68bb ldr r3, [r7, #8] + 8003f12: 03db lsls r3, r3, #15 + 8003f14: d419 bmi.n 8003f4a + 8003f16: f7fd fcad bl 8001874 + 8003f1a: 1b83 subs r3, r0, r6 + 8003f1c: 2b02 cmp r3, #2 + 8003f1e: d9f7 bls.n 8003f10 + 8003f20: e011 b.n 8003f46 + 8003f22: 6833 ldr r3, [r6, #0] + 8003f24: f023 0307 bic.w r3, r3, #7 + 8003f28: 430b orrs r3, r1 + 8003f2a: 6033 str r3, [r6, #0] + 8003f2c: f7fd fca2 bl 8001874 + 8003f30: 4607 mov r7, r0 + 8003f32: 6833 ldr r3, [r6, #0] + 8003f34: f003 0307 and.w r3, r3, #7 + 8003f38: 42ab cmp r3, r5 + 8003f3a: d0db beq.n 8003ef4 + 8003f3c: f7fd fc9a bl 8001874 + 8003f40: 1bc0 subs r0, r0, r7 + 8003f42: 2802 cmp r0, #2 + 8003f44: d9f5 bls.n 8003f32 + 8003f46: 2003 movs r0, #3 + 8003f48: e7cc b.n 8003ee4 + 8003f4a: 6823 ldr r3, [r4, #0] + 8003f4c: 0658 lsls r0, r3, #25 + 8003f4e: d517 bpl.n 8003f80 + 8003f50: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 + 8003f54: 6962 ldr r2, [r4, #20] + 8003f56: f8d7 3108 ldr.w r3, [r7, #264] ; 0x108 + 8003f5a: f023 030f bic.w r3, r3, #15 + 8003f5e: ea43 1312 orr.w r3, r3, r2, lsr #4 + 8003f62: f8c7 3108 str.w r3, [r7, #264] ; 0x108 + 8003f66: f7fd fc85 bl 8001874 + 8003f6a: 4606 mov r6, r0 + 8003f6c: f8d7 3108 ldr.w r3, [r7, #264] ; 0x108 + 8003f70: 03d9 lsls r1, r3, #15 + 8003f72: d405 bmi.n 8003f80 + 8003f74: f7fd fc7e bl 8001874 + 8003f78: 1b83 subs r3, r0, r6 + 8003f7a: 2b02 cmp r3, #2 + 8003f7c: d9f6 bls.n 8003f6c + 8003f7e: e7e2 b.n 8003f46 + 8003f80: 6823 ldr r3, [r4, #0] + 8003f82: 075a lsls r2, r3, #29 + 8003f84: d513 bpl.n 8003fae + 8003f86: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 + 8003f8a: 68e2 ldr r2, [r4, #12] + 8003f8c: 68bb ldr r3, [r7, #8] + 8003f8e: f423 63e0 bic.w r3, r3, #1792 ; 0x700 + 8003f92: 4313 orrs r3, r2 + 8003f94: 60bb str r3, [r7, #8] + 8003f96: f7fd fc6d bl 8001874 + 8003f9a: 4606 mov r6, r0 + 8003f9c: 68bb ldr r3, [r7, #8] + 8003f9e: 039b lsls r3, r3, #14 + 8003fa0: d405 bmi.n 8003fae + 8003fa2: f7fd fc67 bl 8001874 + 8003fa6: 1b83 subs r3, r0, r6 + 8003fa8: 2b02 cmp r3, #2 + 8003faa: d9f7 bls.n 8003f9c + 8003fac: e7cb b.n 8003f46 + 8003fae: 6823 ldr r3, [r4, #0] + 8003fb0: 0718 lsls r0, r3, #28 + 8003fb2: d514 bpl.n 8003fde + 8003fb4: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 + 8003fb8: 6922 ldr r2, [r4, #16] + 8003fba: 68bb ldr r3, [r7, #8] + 8003fbc: f423 5360 bic.w r3, r3, #14336 ; 0x3800 + 8003fc0: ea43 03c2 orr.w r3, r3, r2, lsl #3 + 8003fc4: 60bb str r3, [r7, #8] + 8003fc6: f7fd fc55 bl 8001874 + 8003fca: 4606 mov r6, r0 + 8003fcc: 68bb ldr r3, [r7, #8] + 8003fce: 0359 lsls r1, r3, #13 + 8003fd0: d405 bmi.n 8003fde + 8003fd2: f7fd fc4f bl 8001874 + 8003fd6: 1b83 subs r3, r0, r6 + 8003fd8: 2b02 cmp r3, #2 + 8003fda: d9f7 bls.n 8003fcc + 8003fdc: e7b3 b.n 8003f46 + 8003fde: 6823 ldr r3, [r4, #0] + 8003fe0: 07da lsls r2, r3, #31 + 8003fe2: d40f bmi.n 8004004 + 8003fe4: 4c29 ldr r4, [pc, #164] ; (800408c ) + 8003fe6: 6823 ldr r3, [r4, #0] + 8003fe8: f003 0307 and.w r3, r3, #7 + 8003fec: 42ab cmp r3, r5 + 8003fee: d839 bhi.n 8004064 + 8003ff0: f7ff fcc8 bl 8003984 + 8003ff4: 4b26 ldr r3, [pc, #152] ; (8004090 ) + 8003ff6: 6018 str r0, [r3, #0] + 8003ff8: 4b26 ldr r3, [pc, #152] ; (8004094 ) + 8003ffa: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 8003ffe: 6818 ldr r0, [r3, #0] + 8004000: f7fd bc36 b.w 8001870 + 8004004: 6862 ldr r2, [r4, #4] + 8004006: 2a02 cmp r2, #2 + 8004008: d11d bne.n 8004046 + 800400a: f7ff fbc7 bl 800379c + 800400e: 2800 cmp r0, #0 + 8004010: f43f af67 beq.w 8003ee2 + 8004014: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 + 8004018: f241 3888 movw r8, #5000 ; 0x1388 + 800401c: 68b3 ldr r3, [r6, #8] + 800401e: f023 0303 bic.w r3, r3, #3 + 8004022: 4313 orrs r3, r2 + 8004024: 60b3 str r3, [r6, #8] + 8004026: f7fd fc25 bl 8001874 + 800402a: 4607 mov r7, r0 + 800402c: 68b3 ldr r3, [r6, #8] + 800402e: 6862 ldr r2, [r4, #4] + 8004030: f003 030c and.w r3, r3, #12 + 8004034: ebb3 0f82 cmp.w r3, r2, lsl #2 + 8004038: d0d4 beq.n 8003fe4 + 800403a: f7fd fc1b bl 8001874 + 800403e: 1bc0 subs r0, r0, r7 + 8004040: 4540 cmp r0, r8 + 8004042: d9f3 bls.n 800402c + 8004044: e77f b.n 8003f46 + 8004046: 2a03 cmp r2, #3 + 8004048: d102 bne.n 8004050 + 800404a: f7ff fbbc bl 80037c6 + 800404e: e7de b.n 800400e + 8004050: b912 cbnz r2, 8004058 + 8004052: f7ff fba9 bl 80037a8 + 8004056: e7da b.n 800400e + 8004058: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 800405c: 681b ldr r3, [r3, #0] + 800405e: 055b lsls r3, r3, #21 + 8004060: d4d8 bmi.n 8004014 + 8004062: e73e b.n 8003ee2 + 8004064: 6823 ldr r3, [r4, #0] + 8004066: f023 0307 bic.w r3, r3, #7 + 800406a: 432b orrs r3, r5 + 800406c: 6023 str r3, [r4, #0] + 800406e: f7fd fc01 bl 8001874 + 8004072: 4606 mov r6, r0 + 8004074: 6823 ldr r3, [r4, #0] + 8004076: f003 0307 and.w r3, r3, #7 + 800407a: 42ab cmp r3, r5 + 800407c: d0b8 beq.n 8003ff0 + 800407e: f7fd fbf9 bl 8001874 + 8004082: 1b80 subs r0, r0, r6 + 8004084: 2802 cmp r0, #2 + 8004086: d9f5 bls.n 8004074 + 8004088: e75d b.n 8003f46 + 800408a: bf00 nop + 800408c: 58004000 .word 0x58004000 + 8004090: 20000074 .word 0x20000074 + 8004094: 20000078 .word 0x20000078 -08004420 : - 8004420: b508 push {r3, lr} - 8004422: f7ff fc73 bl 8003d0c - 8004426: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 800442a: 4a04 ldr r2, [pc, #16] ; (800443c ) - 800442c: 689b ldr r3, [r3, #8] - 800442e: f3c3 2302 ubfx r3, r3, #8, #3 - 8004432: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 8004436: 40d8 lsrs r0, r3 - 8004438: bd08 pop {r3, pc} - 800443a: bf00 nop - 800443c: 0800f9b4 .word 0x0800f9b4 +08004098 : + 8004098: b508 push {r3, lr} + 800409a: f7ff fc73 bl 8003984 + 800409e: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 80040a2: 4a04 ldr r2, [pc, #16] ; (80040b4 ) + 80040a4: 689b ldr r3, [r3, #8] + 80040a6: f3c3 2302 ubfx r3, r3, #8, #3 + 80040aa: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 80040ae: 40d8 lsrs r0, r3 + 80040b0: bd08 pop {r3, pc} + 80040b2: bf00 nop + 80040b4: 0800f1f0 .word 0x0800f1f0 -08004440 : - 8004440: b508 push {r3, lr} - 8004442: f7ff fc63 bl 8003d0c - 8004446: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 800444a: 4a04 ldr r2, [pc, #16] ; (800445c ) - 800444c: 689b ldr r3, [r3, #8] - 800444e: f3c3 23c2 ubfx r3, r3, #11, #3 - 8004452: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 8004456: 40d8 lsrs r0, r3 - 8004458: bd08 pop {r3, pc} - 800445a: bf00 nop - 800445c: 0800f9b4 .word 0x0800f9b4 +080040b8 : + 80040b8: b508 push {r3, lr} + 80040ba: f7ff fc63 bl 8003984 + 80040be: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 80040c2: 4a04 ldr r2, [pc, #16] ; (80040d4 ) + 80040c4: 689b ldr r3, [r3, #8] + 80040c6: f3c3 23c2 ubfx r3, r3, #11, #3 + 80040ca: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 80040ce: 40d8 lsrs r0, r3 + 80040d0: bd08 pop {r3, pc} + 80040d2: bf00 nop + 80040d4: 0800f1f0 .word 0x0800f1f0 -08004460 : - 8004460: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8004464: f8d3 0090 ldr.w r0, [r3, #144] ; 0x90 - 8004468: f3c0 0040 ubfx r0, r0, #1, #1 - 800446c: 4770 bx lr +080040d8 : + 80040d8: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 80040dc: f8d3 0090 ldr.w r0, [r3, #144] ; 0x90 + 80040e0: f3c0 0040 ubfx r0, r0, #1, #1 + 80040e4: 4770 bx lr -0800446e : - 800446e: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 - 8004472: 0902 lsrs r2, r0, #4 - 8004474: f8d1 3088 ldr.w r3, [r1, #136] ; 0x88 - 8004478: f402 227f and.w r2, r2, #1044480 ; 0xff000 - 800447c: 0100 lsls r0, r0, #4 - 800447e: ea23 0302 bic.w r3, r3, r2 - 8004482: f400 207f and.w r0, r0, #1044480 ; 0xff000 - 8004486: 4303 orrs r3, r0 - 8004488: f8c1 3088 str.w r3, [r1, #136] ; 0x88 - 800448c: 4770 bx lr +080040e6 : + 80040e6: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 + 80040ea: 0902 lsrs r2, r0, #4 + 80040ec: f8d1 3088 ldr.w r3, [r1, #136] ; 0x88 + 80040f0: f402 227f and.w r2, r2, #1044480 ; 0xff000 + 80040f4: 0100 lsls r0, r0, #4 + 80040f6: ea23 0302 bic.w r3, r3, r2 + 80040fa: f400 207f and.w r0, r0, #1044480 ; 0xff000 + 80040fe: 4303 orrs r3, r0 + 8004100: f8c1 3088 str.w r3, [r1, #136] ; 0x88 + 8004104: 4770 bx lr -0800448e : - 800448e: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 - 8004492: 0c02 lsrs r2, r0, #16 - 8004494: f8d1 3088 ldr.w r3, [r1, #136] ; 0x88 - 8004498: 0412 lsls r2, r2, #16 - 800449a: ea23 0302 bic.w r3, r3, r2 - 800449e: ea43 4000 orr.w r0, r3, r0, lsl #16 - 80044a2: f8c1 0088 str.w r0, [r1, #136] ; 0x88 - 80044a6: 4770 bx lr +08004106 : + 8004106: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 + 800410a: 0c02 lsrs r2, r0, #16 + 800410c: f8d1 3088 ldr.w r3, [r1, #136] ; 0x88 + 8004110: 0412 lsls r2, r2, #16 + 8004112: ea23 0302 bic.w r3, r3, r2 + 8004116: ea43 4000 orr.w r0, r3, r0, lsl #16 + 800411a: f8c1 0088 str.w r0, [r1, #136] ; 0x88 + 800411e: 4770 bx lr -080044a8 : - 80044a8: b570 push {r4, r5, r6, lr} - 80044aa: 6806 ldr r6, [r0, #0] - 80044ac: f416 3680 ands.w r6, r6, #65536 ; 0x10000 - 80044b0: 4604 mov r4, r0 - 80044b2: d038 beq.n 8004526 - 80044b4: f7ff fab0 bl 8003a18 - 80044b8: f7fd f9f4 bl 80018a4 - 80044bc: 4e61 ldr r6, [pc, #388] ; (8004644 ) - 80044be: 4605 mov r5, r0 - 80044c0: 6833 ldr r3, [r6, #0] - 80044c2: 05db lsls r3, r3, #23 - 80044c4: d529 bpl.n 800451a - 80044c6: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 80044ca: 6b61 ldr r1, [r4, #52] ; 0x34 - 80044cc: f8d3 2090 ldr.w r2, [r3, #144] ; 0x90 - 80044d0: f402 7240 and.w r2, r2, #768 ; 0x300 - 80044d4: 4291 cmp r1, r2 - 80044d6: d014 beq.n 8004502 - 80044d8: f8d3 1090 ldr.w r1, [r3, #144] ; 0x90 - 80044dc: f8d3 2090 ldr.w r2, [r3, #144] ; 0x90 - 80044e0: f442 3280 orr.w r2, r2, #65536 ; 0x10000 - 80044e4: f8c3 2090 str.w r2, [r3, #144] ; 0x90 - 80044e8: f8d3 2090 ldr.w r2, [r3, #144] ; 0x90 - 80044ec: f421 7040 bic.w r0, r1, #768 ; 0x300 - 80044f0: f422 3280 bic.w r2, r2, #65536 ; 0x10000 - 80044f4: 078d lsls r5, r1, #30 - 80044f6: f8c3 2090 str.w r2, [r3, #144] ; 0x90 - 80044fa: f8c3 0090 str.w r0, [r3, #144] ; 0x90 - 80044fe: f100 8090 bmi.w 8004622 - 8004502: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8004506: 6b61 ldr r1, [r4, #52] ; 0x34 - 8004508: f8d2 3090 ldr.w r3, [r2, #144] ; 0x90 - 800450c: f423 7340 bic.w r3, r3, #768 ; 0x300 - 8004510: 430b orrs r3, r1 - 8004512: f8c2 3090 str.w r3, [r2, #144] ; 0x90 - 8004516: 2600 movs r6, #0 - 8004518: e005 b.n 8004526 - 800451a: f7fd f9c3 bl 80018a4 - 800451e: 1b40 subs r0, r0, r5 - 8004520: 2802 cmp r0, #2 - 8004522: d9cd bls.n 80044c0 - 8004524: 2603 movs r6, #3 - 8004526: 6825 ldr r5, [r4, #0] - 8004528: 07e8 lsls r0, r5, #31 - 800452a: d50a bpl.n 8004542 - 800452c: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 - 8004530: 6862 ldr r2, [r4, #4] - 8004532: f8d1 3088 ldr.w r3, [r1, #136] ; 0x88 - 8004536: ea23 4312 bic.w r3, r3, r2, lsr #16 - 800453a: b292 uxth r2, r2 - 800453c: 4313 orrs r3, r2 - 800453e: f8c1 3088 str.w r3, [r1, #136] ; 0x88 - 8004542: 07a9 lsls r1, r5, #30 - 8004544: d50a bpl.n 800455c - 8004546: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 - 800454a: 68a2 ldr r2, [r4, #8] - 800454c: f8d1 3088 ldr.w r3, [r1, #136] ; 0x88 - 8004550: ea23 4312 bic.w r3, r3, r2, lsr #16 - 8004554: b292 uxth r2, r2 - 8004556: 4313 orrs r3, r2 - 8004558: f8c1 3088 str.w r3, [r1, #136] ; 0x88 - 800455c: 06aa lsls r2, r5, #26 - 800455e: d509 bpl.n 8004574 - 8004560: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8004564: 6921 ldr r1, [r4, #16] - 8004566: f8d2 3088 ldr.w r3, [r2, #136] ; 0x88 - 800456a: f423 6340 bic.w r3, r3, #3072 ; 0xc00 - 800456e: 430b orrs r3, r1 - 8004570: f8c2 3088 str.w r3, [r2, #136] ; 0x88 - 8004574: 05ab lsls r3, r5, #22 - 8004576: d502 bpl.n 800457e - 8004578: 6a20 ldr r0, [r4, #32] - 800457a: f7ff ff88 bl 800448e - 800457e: 0568 lsls r0, r5, #21 - 8004580: d502 bpl.n 8004588 - 8004582: 6a60 ldr r0, [r4, #36] ; 0x24 - 8004584: f7ff ff83 bl 800448e - 8004588: 0529 lsls r1, r5, #20 - 800458a: d502 bpl.n 8004592 - 800458c: 6aa0 ldr r0, [r4, #40] ; 0x28 - 800458e: f7ff ff7e bl 800448e - 8004592: 066a lsls r2, r5, #25 - 8004594: d502 bpl.n 800459c - 8004596: 6960 ldr r0, [r4, #20] - 8004598: f7ff ff69 bl 800446e - 800459c: 062b lsls r3, r5, #24 - 800459e: d502 bpl.n 80045a6 - 80045a0: 69a0 ldr r0, [r4, #24] - 80045a2: f7ff ff64 bl 800446e - 80045a6: 05e8 lsls r0, r5, #23 - 80045a8: d502 bpl.n 80045b0 - 80045aa: 69e0 ldr r0, [r4, #28] - 80045ac: f7ff ff5f bl 800446e - 80045b0: 06e9 lsls r1, r5, #27 - 80045b2: d510 bpl.n 80045d6 - 80045b4: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 80045b8: 68e1 ldr r1, [r4, #12] - 80045ba: f8d2 3088 ldr.w r3, [r2, #136] ; 0x88 - 80045be: f423 7340 bic.w r3, r3, #768 ; 0x300 - 80045c2: 430b orrs r3, r1 - 80045c4: f8c2 3088 str.w r3, [r2, #136] ; 0x88 - 80045c8: f5b1 7f80 cmp.w r1, #256 ; 0x100 - 80045cc: bf02 ittt eq - 80045ce: 68d3 ldreq r3, [r2, #12] - 80045d0: f043 7380 orreq.w r3, r3, #16777216 ; 0x1000000 - 80045d4: 60d3 streq r3, [r2, #12] - 80045d6: 042a lsls r2, r5, #16 - 80045d8: d50e bpl.n 80045f8 - 80045da: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 80045de: 6b21 ldr r1, [r4, #48] ; 0x30 - 80045e0: f8d2 3088 ldr.w r3, [r2, #136] ; 0x88 - 80045e4: f023 4340 bic.w r3, r3, #3221225472 ; 0xc0000000 - 80045e8: 430b orrs r3, r1 - 80045ea: f8c2 3088 str.w r3, [r2, #136] ; 0x88 - 80045ee: b919 cbnz r1, 80045f8 - 80045f0: 68d3 ldr r3, [r2, #12] - 80045f2: f043 7380 orr.w r3, r3, #16777216 ; 0x1000000 - 80045f6: 60d3 str r3, [r2, #12] - 80045f8: 046b lsls r3, r5, #17 - 80045fa: d510 bpl.n 800461e - 80045fc: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8004600: 6ae1 ldr r1, [r4, #44] ; 0x2c - 8004602: f8d2 3088 ldr.w r3, [r2, #136] ; 0x88 - 8004606: f023 5340 bic.w r3, r3, #805306368 ; 0x30000000 - 800460a: 430b orrs r3, r1 - 800460c: f1b1 5f00 cmp.w r1, #536870912 ; 0x20000000 - 8004610: f8c2 3088 str.w r3, [r2, #136] ; 0x88 - 8004614: d103 bne.n 800461e - 8004616: 68d3 ldr r3, [r2, #12] - 8004618: f443 3380 orr.w r3, r3, #65536 ; 0x10000 - 800461c: 60d3 str r3, [r2, #12] - 800461e: 4630 mov r0, r6 - 8004620: bd70 pop {r4, r5, r6, pc} - 8004622: f7fd f93f bl 80018a4 - 8004626: f241 3688 movw r6, #5000 ; 0x1388 - 800462a: 4605 mov r5, r0 - 800462c: f7ff ff18 bl 8004460 - 8004630: 2801 cmp r0, #1 - 8004632: f43f af66 beq.w 8004502 - 8004636: f7fd f935 bl 80018a4 - 800463a: 1b40 subs r0, r0, r5 - 800463c: 42b0 cmp r0, r6 - 800463e: d9f5 bls.n 800462c - 8004640: e770 b.n 8004524 - 8004642: bf00 nop - 8004644: 58000400 .word 0x58000400 +08004120 : + 8004120: b570 push {r4, r5, r6, lr} + 8004122: 6806 ldr r6, [r0, #0] + 8004124: f416 3680 ands.w r6, r6, #65536 ; 0x10000 + 8004128: 4604 mov r4, r0 + 800412a: d038 beq.n 800419e + 800412c: f7ff fab0 bl 8003690 + 8004130: f7fd fba0 bl 8001874 + 8004134: 4e61 ldr r6, [pc, #388] ; (80042bc ) + 8004136: 4605 mov r5, r0 + 8004138: 6833 ldr r3, [r6, #0] + 800413a: 05db lsls r3, r3, #23 + 800413c: d529 bpl.n 8004192 + 800413e: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8004142: 6b61 ldr r1, [r4, #52] ; 0x34 + 8004144: f8d3 2090 ldr.w r2, [r3, #144] ; 0x90 + 8004148: f402 7240 and.w r2, r2, #768 ; 0x300 + 800414c: 4291 cmp r1, r2 + 800414e: d014 beq.n 800417a + 8004150: f8d3 1090 ldr.w r1, [r3, #144] ; 0x90 + 8004154: f8d3 2090 ldr.w r2, [r3, #144] ; 0x90 + 8004158: f442 3280 orr.w r2, r2, #65536 ; 0x10000 + 800415c: f8c3 2090 str.w r2, [r3, #144] ; 0x90 + 8004160: f8d3 2090 ldr.w r2, [r3, #144] ; 0x90 + 8004164: f421 7040 bic.w r0, r1, #768 ; 0x300 + 8004168: f422 3280 bic.w r2, r2, #65536 ; 0x10000 + 800416c: 078d lsls r5, r1, #30 + 800416e: f8c3 2090 str.w r2, [r3, #144] ; 0x90 + 8004172: f8c3 0090 str.w r0, [r3, #144] ; 0x90 + 8004176: f100 8090 bmi.w 800429a + 800417a: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 800417e: 6b61 ldr r1, [r4, #52] ; 0x34 + 8004180: f8d2 3090 ldr.w r3, [r2, #144] ; 0x90 + 8004184: f423 7340 bic.w r3, r3, #768 ; 0x300 + 8004188: 430b orrs r3, r1 + 800418a: f8c2 3090 str.w r3, [r2, #144] ; 0x90 + 800418e: 2600 movs r6, #0 + 8004190: e005 b.n 800419e + 8004192: f7fd fb6f bl 8001874 + 8004196: 1b40 subs r0, r0, r5 + 8004198: 2802 cmp r0, #2 + 800419a: d9cd bls.n 8004138 + 800419c: 2603 movs r6, #3 + 800419e: 6825 ldr r5, [r4, #0] + 80041a0: 07e8 lsls r0, r5, #31 + 80041a2: d50a bpl.n 80041ba + 80041a4: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 + 80041a8: 6862 ldr r2, [r4, #4] + 80041aa: f8d1 3088 ldr.w r3, [r1, #136] ; 0x88 + 80041ae: ea23 4312 bic.w r3, r3, r2, lsr #16 + 80041b2: b292 uxth r2, r2 + 80041b4: 4313 orrs r3, r2 + 80041b6: f8c1 3088 str.w r3, [r1, #136] ; 0x88 + 80041ba: 07a9 lsls r1, r5, #30 + 80041bc: d50a bpl.n 80041d4 + 80041be: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 + 80041c2: 68a2 ldr r2, [r4, #8] + 80041c4: f8d1 3088 ldr.w r3, [r1, #136] ; 0x88 + 80041c8: ea23 4312 bic.w r3, r3, r2, lsr #16 + 80041cc: b292 uxth r2, r2 + 80041ce: 4313 orrs r3, r2 + 80041d0: f8c1 3088 str.w r3, [r1, #136] ; 0x88 + 80041d4: 06aa lsls r2, r5, #26 + 80041d6: d509 bpl.n 80041ec + 80041d8: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 80041dc: 6921 ldr r1, [r4, #16] + 80041de: f8d2 3088 ldr.w r3, [r2, #136] ; 0x88 + 80041e2: f423 6340 bic.w r3, r3, #3072 ; 0xc00 + 80041e6: 430b orrs r3, r1 + 80041e8: f8c2 3088 str.w r3, [r2, #136] ; 0x88 + 80041ec: 05ab lsls r3, r5, #22 + 80041ee: d502 bpl.n 80041f6 + 80041f0: 6a20 ldr r0, [r4, #32] + 80041f2: f7ff ff88 bl 8004106 + 80041f6: 0568 lsls r0, r5, #21 + 80041f8: d502 bpl.n 8004200 + 80041fa: 6a60 ldr r0, [r4, #36] ; 0x24 + 80041fc: f7ff ff83 bl 8004106 + 8004200: 0529 lsls r1, r5, #20 + 8004202: d502 bpl.n 800420a + 8004204: 6aa0 ldr r0, [r4, #40] ; 0x28 + 8004206: f7ff ff7e bl 8004106 + 800420a: 066a lsls r2, r5, #25 + 800420c: d502 bpl.n 8004214 + 800420e: 6960 ldr r0, [r4, #20] + 8004210: f7ff ff69 bl 80040e6 + 8004214: 062b lsls r3, r5, #24 + 8004216: d502 bpl.n 800421e + 8004218: 69a0 ldr r0, [r4, #24] + 800421a: f7ff ff64 bl 80040e6 + 800421e: 05e8 lsls r0, r5, #23 + 8004220: d502 bpl.n 8004228 + 8004222: 69e0 ldr r0, [r4, #28] + 8004224: f7ff ff5f bl 80040e6 + 8004228: 06e9 lsls r1, r5, #27 + 800422a: d510 bpl.n 800424e + 800422c: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8004230: 68e1 ldr r1, [r4, #12] + 8004232: f8d2 3088 ldr.w r3, [r2, #136] ; 0x88 + 8004236: f423 7340 bic.w r3, r3, #768 ; 0x300 + 800423a: 430b orrs r3, r1 + 800423c: f8c2 3088 str.w r3, [r2, #136] ; 0x88 + 8004240: f5b1 7f80 cmp.w r1, #256 ; 0x100 + 8004244: bf02 ittt eq + 8004246: 68d3 ldreq r3, [r2, #12] + 8004248: f043 7380 orreq.w r3, r3, #16777216 ; 0x1000000 + 800424c: 60d3 streq r3, [r2, #12] + 800424e: 042a lsls r2, r5, #16 + 8004250: d50e bpl.n 8004270 + 8004252: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8004256: 6b21 ldr r1, [r4, #48] ; 0x30 + 8004258: f8d2 3088 ldr.w r3, [r2, #136] ; 0x88 + 800425c: f023 4340 bic.w r3, r3, #3221225472 ; 0xc0000000 + 8004260: 430b orrs r3, r1 + 8004262: f8c2 3088 str.w r3, [r2, #136] ; 0x88 + 8004266: b919 cbnz r1, 8004270 + 8004268: 68d3 ldr r3, [r2, #12] + 800426a: f043 7380 orr.w r3, r3, #16777216 ; 0x1000000 + 800426e: 60d3 str r3, [r2, #12] + 8004270: 046b lsls r3, r5, #17 + 8004272: d510 bpl.n 8004296 + 8004274: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8004278: 6ae1 ldr r1, [r4, #44] ; 0x2c + 800427a: f8d2 3088 ldr.w r3, [r2, #136] ; 0x88 + 800427e: f023 5340 bic.w r3, r3, #805306368 ; 0x30000000 + 8004282: 430b orrs r3, r1 + 8004284: f1b1 5f00 cmp.w r1, #536870912 ; 0x20000000 + 8004288: f8c2 3088 str.w r3, [r2, #136] ; 0x88 + 800428c: d103 bne.n 8004296 + 800428e: 68d3 ldr r3, [r2, #12] + 8004290: f443 3380 orr.w r3, r3, #65536 ; 0x10000 + 8004294: 60d3 str r3, [r2, #12] + 8004296: 4630 mov r0, r6 + 8004298: bd70 pop {r4, r5, r6, pc} + 800429a: f7fd faeb bl 8001874 + 800429e: f241 3688 movw r6, #5000 ; 0x1388 + 80042a2: 4605 mov r5, r0 + 80042a4: f7ff ff18 bl 80040d8 + 80042a8: 2801 cmp r0, #1 + 80042aa: f43f af66 beq.w 800417a + 80042ae: f7fd fae1 bl 8001874 + 80042b2: 1b40 subs r0, r0, r5 + 80042b4: 42b0 cmp r0, r6 + 80042b6: d9f5 bls.n 80042a4 + 80042b8: e770 b.n 800419c + 80042ba: bf00 nop + 80042bc: 58000400 .word 0x58000400 -08004648 : - 8004648: b530 push {r4, r5, lr} - 800464a: f890 302c ldrb.w r3, [r0, #44] ; 0x2c - 800464e: 2b01 cmp r3, #1 - 8004650: 4602 mov r2, r0 - 8004652: f04f 0002 mov.w r0, #2 - 8004656: d022 beq.n 800469e - 8004658: 4b17 ldr r3, [pc, #92] ; (80046b8 ) - 800465a: f882 002d strb.w r0, [r2, #45] ; 0x2d - 800465e: 24ca movs r4, #202 ; 0xca - 8004660: 2501 movs r5, #1 - 8004662: f882 502c strb.w r5, [r2, #44] ; 0x2c - 8004666: 625c str r4, [r3, #36] ; 0x24 - 8004668: 2453 movs r4, #83 ; 0x53 - 800466a: 625c str r4, [r3, #36] ; 0x24 - 800466c: f5b1 7f80 cmp.w r1, #256 ; 0x100 - 8004670: 6b14 ldr r4, [r2, #48] ; 0x30 - 8004672: 6999 ldr r1, [r3, #24] - 8004674: d114 bne.n 80046a0 - 8004676: f421 5188 bic.w r1, r1, #4352 ; 0x1100 - 800467a: 6199 str r1, [r3, #24] - 800467c: 6c59 ldr r1, [r3, #68] ; 0x44 - 800467e: f024 0401 bic.w r4, r4, #1 - 8004682: f021 4100 bic.w r1, r1, #2147483648 ; 0x80000000 - 8004686: 6459 str r1, [r3, #68] ; 0x44 - 8004688: 6314 str r4, [r2, #48] ; 0x30 - 800468a: 65dd str r5, [r3, #92] ; 0x5c - 800468c: 4b0a ldr r3, [pc, #40] ; (80046b8 ) - 800468e: 21ff movs r1, #255 ; 0xff - 8004690: 6259 str r1, [r3, #36] ; 0x24 - 8004692: 2000 movs r0, #0 - 8004694: 2301 movs r3, #1 - 8004696: f882 302d strb.w r3, [r2, #45] ; 0x2d - 800469a: f882 002c strb.w r0, [r2, #44] ; 0x2c - 800469e: bd30 pop {r4, r5, pc} - 80046a0: f421 5108 bic.w r1, r1, #8704 ; 0x2200 - 80046a4: 6199 str r1, [r3, #24] - 80046a6: 6cd9 ldr r1, [r3, #76] ; 0x4c - 80046a8: f024 0402 bic.w r4, r4, #2 - 80046ac: f021 4100 bic.w r1, r1, #2147483648 ; 0x80000000 - 80046b0: 64d9 str r1, [r3, #76] ; 0x4c - 80046b2: 6314 str r4, [r2, #48] ; 0x30 - 80046b4: 65d8 str r0, [r3, #92] ; 0x5c - 80046b6: e7e9 b.n 800468c - 80046b8: 40002800 .word 0x40002800 +080042c0 : + 80042c0: b530 push {r4, r5, lr} + 80042c2: f890 302c ldrb.w r3, [r0, #44] ; 0x2c + 80042c6: 2b01 cmp r3, #1 + 80042c8: 4602 mov r2, r0 + 80042ca: f04f 0002 mov.w r0, #2 + 80042ce: d022 beq.n 8004316 + 80042d0: 4b17 ldr r3, [pc, #92] ; (8004330 ) + 80042d2: f882 002d strb.w r0, [r2, #45] ; 0x2d + 80042d6: 24ca movs r4, #202 ; 0xca + 80042d8: 2501 movs r5, #1 + 80042da: f882 502c strb.w r5, [r2, #44] ; 0x2c + 80042de: 625c str r4, [r3, #36] ; 0x24 + 80042e0: 2453 movs r4, #83 ; 0x53 + 80042e2: 625c str r4, [r3, #36] ; 0x24 + 80042e4: f5b1 7f80 cmp.w r1, #256 ; 0x100 + 80042e8: 6b14 ldr r4, [r2, #48] ; 0x30 + 80042ea: 6999 ldr r1, [r3, #24] + 80042ec: d114 bne.n 8004318 + 80042ee: f421 5188 bic.w r1, r1, #4352 ; 0x1100 + 80042f2: 6199 str r1, [r3, #24] + 80042f4: 6c59 ldr r1, [r3, #68] ; 0x44 + 80042f6: f024 0401 bic.w r4, r4, #1 + 80042fa: f021 4100 bic.w r1, r1, #2147483648 ; 0x80000000 + 80042fe: 6459 str r1, [r3, #68] ; 0x44 + 8004300: 6314 str r4, [r2, #48] ; 0x30 + 8004302: 65dd str r5, [r3, #92] ; 0x5c + 8004304: 4b0a ldr r3, [pc, #40] ; (8004330 ) + 8004306: 21ff movs r1, #255 ; 0xff + 8004308: 6259 str r1, [r3, #36] ; 0x24 + 800430a: 2000 movs r0, #0 + 800430c: 2301 movs r3, #1 + 800430e: f882 302d strb.w r3, [r2, #45] ; 0x2d + 8004312: f882 002c strb.w r0, [r2, #44] ; 0x2c + 8004316: bd30 pop {r4, r5, pc} + 8004318: f421 5108 bic.w r1, r1, #8704 ; 0x2200 + 800431c: 6199 str r1, [r3, #24] + 800431e: 6cd9 ldr r1, [r3, #76] ; 0x4c + 8004320: f024 0402 bic.w r4, r4, #2 + 8004324: f021 4100 bic.w r1, r1, #2147483648 ; 0x80000000 + 8004328: 64d9 str r1, [r3, #76] ; 0x4c + 800432a: 6314 str r4, [r2, #48] ; 0x30 + 800432c: 65d8 str r0, [r3, #92] ; 0x5c + 800432e: e7e9 b.n 8004304 + 8004330: 40002800 .word 0x40002800 -080046bc : - 80046bc: b570 push {r4, r5, r6, lr} - 80046be: 4e0b ldr r6, [pc, #44] ; (80046ec ) - 80046c0: 6b03 ldr r3, [r0, #48] ; 0x30 - 80046c2: 6d75 ldr r5, [r6, #84] ; 0x54 - 80046c4: 401d ands r5, r3 - 80046c6: 07ea lsls r2, r5, #31 - 80046c8: 4604 mov r4, r0 - 80046ca: d503 bpl.n 80046d4 - 80046cc: 2301 movs r3, #1 - 80046ce: 65f3 str r3, [r6, #92] ; 0x5c - 80046d0: f7fd fa3b bl 8001b4a - 80046d4: 07ab lsls r3, r5, #30 - 80046d6: d504 bpl.n 80046e2 - 80046d8: 2302 movs r3, #2 - 80046da: 65f3 str r3, [r6, #92] ; 0x5c - 80046dc: 4620 mov r0, r4 - 80046de: f000 f9cb bl 8004a78 - 80046e2: 2301 movs r3, #1 - 80046e4: f884 302d strb.w r3, [r4, #45] ; 0x2d - 80046e8: bd70 pop {r4, r5, r6, pc} - 80046ea: bf00 nop +08004334 : + 8004334: b570 push {r4, r5, r6, lr} + 8004336: 4e0b ldr r6, [pc, #44] ; (8004364 ) + 8004338: 6b03 ldr r3, [r0, #48] ; 0x30 + 800433a: 6d75 ldr r5, [r6, #84] ; 0x54 + 800433c: 401d ands r5, r3 + 800433e: 07ea lsls r2, r5, #31 + 8004340: 4604 mov r4, r0 + 8004342: d503 bpl.n 800434c + 8004344: 2301 movs r3, #1 + 8004346: 65f3 str r3, [r6, #92] ; 0x5c + 8004348: f7fd fbe7 bl 8001b1a + 800434c: 07ab lsls r3, r5, #30 + 800434e: d504 bpl.n 800435a + 8004350: 2302 movs r3, #2 + 8004352: 65f3 str r3, [r6, #92] ; 0x5c + 8004354: 4620 mov r0, r4 + 8004356: f000 f9cb bl 80046f0 + 800435a: 2301 movs r3, #1 + 800435c: f884 302d strb.w r3, [r4, #45] ; 0x2d + 8004360: bd70 pop {r4, r5, r6, pc} + 8004362: bf00 nop + 8004364: 40002800 .word 0x40002800 + +08004368 : + 8004368: b538 push {r3, r4, r5, lr} + 800436a: 4c0a ldr r4, [pc, #40] ; (8004394 ) + 800436c: 68e3 ldr r3, [r4, #12] + 800436e: f023 0320 bic.w r3, r3, #32 + 8004372: 60e3 str r3, [r4, #12] + 8004374: f7fd fa7e bl 8001874 + 8004378: 4605 mov r5, r0 + 800437a: 68e3 ldr r3, [r4, #12] + 800437c: 069b lsls r3, r3, #26 + 800437e: d501 bpl.n 8004384 + 8004380: 2000 movs r0, #0 + 8004382: bd38 pop {r3, r4, r5, pc} + 8004384: f7fd fa76 bl 8001874 + 8004388: 1b40 subs r0, r0, r5 + 800438a: f5b0 7f7a cmp.w r0, #1000 ; 0x3e8 + 800438e: d9f4 bls.n 800437a + 8004390: 2003 movs r0, #3 + 8004392: e7f6 b.n 8004382 + 8004394: 40002800 .word 0x40002800 + +08004398 : + 8004398: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800439c: 4d11 ldr r5, [pc, #68] ; (80043e4 ) + 800439e: 68ec ldr r4, [r5, #12] + 80043a0: f014 0440 ands.w r4, r4, #64 ; 0x40 + 80043a4: 4607 mov r7, r0 + 80043a6: d11a bne.n 80043de + 80043a8: 68eb ldr r3, [r5, #12] + 80043aa: f043 0380 orr.w r3, r3, #128 ; 0x80 + 80043ae: 60eb str r3, [r5, #12] + 80043b0: f7fd fa60 bl 8001874 + 80043b4: f04f 0803 mov.w r8, #3 + 80043b8: 4606 mov r6, r0 + 80043ba: 68eb ldr r3, [r5, #12] + 80043bc: 065b lsls r3, r3, #25 + 80043be: d401 bmi.n 80043c4 + 80043c0: 2c03 cmp r4, #3 + 80043c2: d102 bne.n 80043ca + 80043c4: 4620 mov r0, r4 + 80043c6: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 80043ca: f7fd fa53 bl 8001874 + 80043ce: 1b80 subs r0, r0, r6 + 80043d0: f5b0 7f7a cmp.w r0, #1000 ; 0x3e8 + 80043d4: bf84 itt hi + 80043d6: f887 802d strbhi.w r8, [r7, #45] ; 0x2d + 80043da: 2403 movhi r4, #3 + 80043dc: e7ed b.n 80043ba + 80043de: 2400 movs r4, #0 + 80043e0: e7f0 b.n 80043c4 + 80043e2: bf00 nop + 80043e4: 40002800 .word 0x40002800 + +080043e8 : + 80043e8: b538 push {r3, r4, r5, lr} + 80043ea: 4c0f ldr r4, [pc, #60] ; (8004428 ) + 80043ec: 68e3 ldr r3, [r4, #12] + 80043ee: f023 0380 bic.w r3, r3, #128 ; 0x80 + 80043f2: 60e3 str r3, [r4, #12] + 80043f4: 69a3 ldr r3, [r4, #24] + 80043f6: 069b lsls r3, r3, #26 + 80043f8: 4605 mov r5, r0 + 80043fa: d406 bmi.n 800440a + 80043fc: f7ff ffb4 bl 8004368 + 8004400: b110 cbz r0, 8004408 + 8004402: 2003 movs r0, #3 + 8004404: f885 002d strb.w r0, [r5, #45] ; 0x2d + 8004408: bd38 pop {r3, r4, r5, pc} + 800440a: 69a3 ldr r3, [r4, #24] + 800440c: f023 0320 bic.w r3, r3, #32 + 8004410: 61a3 str r3, [r4, #24] + 8004412: f7ff ffa9 bl 8004368 + 8004416: b110 cbz r0, 800441e + 8004418: 2003 movs r0, #3 + 800441a: f885 002d strb.w r0, [r5, #45] ; 0x2d + 800441e: 69a3 ldr r3, [r4, #24] + 8004420: f043 0320 orr.w r3, r3, #32 + 8004424: 61a3 str r3, [r4, #24] + 8004426: e7ef b.n 8004408 + 8004428: 40002800 .word 0x40002800 + +0800442c : + 800442c: b538 push {r3, r4, r5, lr} + 800442e: 4604 mov r4, r0 + 8004430: 2800 cmp r0, #0 + 8004432: d04b beq.n 80044cc + 8004434: f890 302d ldrb.w r3, [r0, #45] ; 0x2d + 8004438: f003 02ff and.w r2, r3, #255 ; 0xff + 800443c: b91b cbnz r3, 8004446 + 800443e: f880 202c strb.w r2, [r0, #44] ; 0x2c + 8004442: f7fd f883 bl 800154c + 8004446: 2302 movs r3, #2 + 8004448: 4d21 ldr r5, [pc, #132] ; (80044d0 ) + 800444a: f884 302d strb.w r3, [r4, #45] ; 0x2d + 800444e: 68eb ldr r3, [r5, #12] + 8004450: 06db lsls r3, r3, #27 + 8004452: d432 bmi.n 80044ba + 8004454: 23ca movs r3, #202 ; 0xca + 8004456: 626b str r3, [r5, #36] ; 0x24 + 8004458: 2353 movs r3, #83 ; 0x53 + 800445a: 626b str r3, [r5, #36] ; 0x24 + 800445c: 4620 mov r0, r4 + 800445e: f7ff ff9b bl 8004398 + 8004462: bb78 cbnz r0, 80044c4 + 8004464: 69ab ldr r3, [r5, #24] + 8004466: f023 638e bic.w r3, r3, #74448896 ; 0x4700000 + 800446a: f023 0340 bic.w r3, r3, #64 ; 0x40 + 800446e: 61ab str r3, [r5, #24] + 8004470: 6921 ldr r1, [r4, #16] + 8004472: 6863 ldr r3, [r4, #4] + 8004474: 69aa ldr r2, [r5, #24] + 8004476: 430b orrs r3, r1 + 8004478: 4313 orrs r3, r2 + 800447a: 69a2 ldr r2, [r4, #24] + 800447c: 4313 orrs r3, r2 + 800447e: 61ab str r3, [r5, #24] + 8004480: e9d4 2302 ldrd r2, r3, [r4, #8] + 8004484: ea43 4302 orr.w r3, r3, r2, lsl #16 + 8004488: 612b str r3, [r5, #16] + 800448a: e9d4 3109 ldrd r3, r1, [r4, #36] ; 0x24 + 800448e: 68ea ldr r2, [r5, #12] + 8004490: 430b orrs r3, r1 + 8004492: f422 52f8 bic.w r2, r2, #7936 ; 0x1f00 + 8004496: 4313 orrs r3, r2 + 8004498: 60eb str r3, [r5, #12] + 800449a: 4620 mov r0, r4 + 800449c: f7ff ffa4 bl 80043e8 + 80044a0: b980 cbnz r0, 80044c4 + 80044a2: e9d4 1307 ldrd r1, r3, [r4, #28] + 80044a6: 69aa ldr r2, [r5, #24] + 80044a8: 430b orrs r3, r1 + 80044aa: f022 4260 bic.w r2, r2, #3758096384 ; 0xe0000000 + 80044ae: 4313 orrs r3, r2 + 80044b0: 6962 ldr r2, [r4, #20] + 80044b2: 4313 orrs r3, r2 + 80044b4: 61ab str r3, [r5, #24] + 80044b6: 23ff movs r3, #255 ; 0xff + 80044b8: 626b str r3, [r5, #36] ; 0x24 + 80044ba: 2301 movs r3, #1 + 80044bc: f884 302d strb.w r3, [r4, #45] ; 0x2d + 80044c0: 2000 movs r0, #0 + 80044c2: e002 b.n 80044ca + 80044c4: 4b02 ldr r3, [pc, #8] ; (80044d0 ) + 80044c6: 22ff movs r2, #255 ; 0xff + 80044c8: 625a str r2, [r3, #36] ; 0x24 + 80044ca: bd38 pop {r3, r4, r5, pc} + 80044cc: 2001 movs r0, #1 + 80044ce: e7fc b.n 80044ca + 80044d0: 40002800 .word 0x40002800 + +080044d4 : + 80044d4: 2300 movs r3, #0 + 80044d6: 2809 cmp r0, #9 + 80044d8: d803 bhi.n 80044e2 + 80044da: ea40 1003 orr.w r0, r0, r3, lsl #4 + 80044de: b2c0 uxtb r0, r0 + 80044e0: 4770 bx lr + 80044e2: 380a subs r0, #10 + 80044e4: 3301 adds r3, #1 + 80044e6: b2c0 uxtb r0, r0 + 80044e8: e7f5 b.n 80044d6 + ... + +080044ec : + 80044ec: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} + 80044f0: f890 302c ldrb.w r3, [r0, #44] ; 0x2c + 80044f4: 2b01 cmp r3, #1 + 80044f6: 4605 mov r5, r0 + 80044f8: f04f 0002 mov.w r0, #2 + 80044fc: d069 beq.n 80045d2 + 80044fe: 2301 movs r3, #1 + 8004500: f885 302c strb.w r3, [r5, #44] ; 0x2c + 8004504: 4b4e ldr r3, [pc, #312] ; (8004640 ) + 8004506: f885 002d strb.w r0, [r5, #45] ; 0x2d + 800450a: 68de ldr r6, [r3, #12] + 800450c: f406 7640 and.w r6, r6, #768 ; 0x300 + 8004510: f5b6 7f80 cmp.w r6, #256 ; 0x100 + 8004514: d078 beq.n 8004608 + 8004516: 694c ldr r4, [r1, #20] + 8004518: 7808 ldrb r0, [r1, #0] + 800451a: f891 9001 ldrb.w r9, [r1, #1] + 800451e: f891 a002 ldrb.w sl, [r1, #2] + 8004522: f891 7024 ldrb.w r7, [r1, #36] ; 0x24 + 8004526: 2a00 cmp r2, #0 + 8004528: d155 bne.n 80045d6 + 800452a: 699b ldr r3, [r3, #24] + 800452c: f013 0340 ands.w r3, r3, #64 ; 0x40 + 8004530: bf08 it eq + 8004532: 70cb strbeq r3, [r1, #3] + 8004534: f7ff ffce bl 80044d4 + 8004538: 4680 mov r8, r0 + 800453a: 4648 mov r0, r9 + 800453c: f7ff ffca bl 80044d4 + 8004540: 4602 mov r2, r0 + 8004542: 4650 mov r0, sl + 8004544: f7ff ffc6 bl 80044d4 + 8004548: 4681 mov r9, r0 + 800454a: 4638 mov r0, r7 + 800454c: f7ff ffc2 bl 80044d4 + 8004550: 6a0b ldr r3, [r1, #32] + 8004552: 78cf ldrb r7, [r1, #3] + 8004554: 4323 orrs r3, r4 + 8004556: ea43 5387 orr.w r3, r3, r7, lsl #22 + 800455a: ea43 0309 orr.w r3, r3, r9 + 800455e: ea43 4308 orr.w r3, r3, r8, lsl #16 + 8004562: ea43 2302 orr.w r3, r3, r2, lsl #8 + 8004566: ea43 6300 orr.w r3, r3, r0, lsl #24 + 800456a: 4a35 ldr r2, [pc, #212] ; (8004640 ) + 800456c: 20ca movs r0, #202 ; 0xca + 800456e: 6250 str r0, [r2, #36] ; 0x24 + 8004570: 2053 movs r0, #83 ; 0x53 + 8004572: 6250 str r0, [r2, #36] ; 0x24 + 8004574: 6a8c ldr r4, [r1, #40] ; 0x28 + 8004576: 6988 ldr r0, [r1, #24] + 8004578: f5b4 7f80 cmp.w r4, #256 ; 0x100 + 800457c: 6994 ldr r4, [r2, #24] + 800457e: d145 bne.n 800460c + 8004580: f424 5488 bic.w r4, r4, #4352 ; 0x1100 + 8004584: 6194 str r4, [r2, #24] + 8004586: 2401 movs r4, #1 + 8004588: 65d4 str r4, [r2, #92] ; 0x5c + 800458a: f5b6 7f80 cmp.w r6, #256 ; 0x100 + 800458e: bf09 itett eq + 8004590: 69cb ldreq r3, [r1, #28] + 8004592: 6413 strne r3, [r2, #64] ; 0x40 + 8004594: 4303 orreq r3, r0 + 8004596: 6453 streq r3, [r2, #68] ; 0x44 + 8004598: bf18 it ne + 800459a: 6450 strne r0, [r2, #68] ; 0x44 + 800459c: 4b28 ldr r3, [pc, #160] ; (8004640 ) + 800459e: 684a ldr r2, [r1, #4] + 80045a0: 671a str r2, [r3, #112] ; 0x70 + 80045a2: 6b2a ldr r2, [r5, #48] ; 0x30 + 80045a4: f042 0201 orr.w r2, r2, #1 + 80045a8: 632a str r2, [r5, #48] ; 0x30 + 80045aa: 699a ldr r2, [r3, #24] + 80045ac: f442 5288 orr.w r2, r2, #4352 ; 0x1100 + 80045b0: 619a str r2, [r3, #24] + 80045b2: 4a24 ldr r2, [pc, #144] ; (8004644 ) + 80045b4: f8d2 3080 ldr.w r3, [r2, #128] ; 0x80 + 80045b8: f443 3300 orr.w r3, r3, #131072 ; 0x20000 + 80045bc: f8c2 3080 str.w r3, [r2, #128] ; 0x80 + 80045c0: 4b1f ldr r3, [pc, #124] ; (8004640 ) + 80045c2: 22ff movs r2, #255 ; 0xff + 80045c4: 625a str r2, [r3, #36] ; 0x24 + 80045c6: 2000 movs r0, #0 + 80045c8: 2301 movs r3, #1 + 80045ca: f885 302d strb.w r3, [r5, #45] ; 0x2d + 80045ce: f885 002c strb.w r0, [r5, #44] ; 0x2c + 80045d2: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 80045d6: f1b4 3f80 cmp.w r4, #2155905152 ; 0x80808080 + 80045da: d007 beq.n 80045ec + 80045dc: f5b4 0f00 cmp.w r4, #8388608 ; 0x800000 + 80045e0: d004 beq.n 80045ec + 80045e2: 699b ldr r3, [r3, #24] + 80045e4: f013 0340 ands.w r3, r3, #64 ; 0x40 + 80045e8: bf08 it eq + 80045ea: 70cb strbeq r3, [r1, #3] + 80045ec: 6a0b ldr r3, [r1, #32] + 80045ee: 78ca ldrb r2, [r1, #3] + 80045f0: 431c orrs r4, r3 + 80045f2: ea44 040a orr.w r4, r4, sl + 80045f6: ea44 4300 orr.w r3, r4, r0, lsl #16 + 80045fa: ea43 2309 orr.w r3, r3, r9, lsl #8 + 80045fe: ea43 5382 orr.w r3, r3, r2, lsl #22 + 8004602: ea43 6307 orr.w r3, r3, r7, lsl #24 + 8004606: e7b0 b.n 800456a + 8004608: 2300 movs r3, #0 + 800460a: e7ae b.n 800456a + 800460c: f424 5408 bic.w r4, r4, #8704 ; 0x2200 + 8004610: 6194 str r4, [r2, #24] + 8004612: 2402 movs r4, #2 + 8004614: 65d4 str r4, [r2, #92] ; 0x5c + 8004616: f5b6 7f80 cmp.w r6, #256 ; 0x100 + 800461a: bf09 itett eq + 800461c: 69cb ldreq r3, [r1, #28] + 800461e: 6493 strne r3, [r2, #72] ; 0x48 + 8004620: 4303 orreq r3, r0 + 8004622: 64d3 streq r3, [r2, #76] ; 0x4c + 8004624: bf18 it ne + 8004626: 64d0 strne r0, [r2, #76] ; 0x4c + 8004628: 4b05 ldr r3, [pc, #20] ; (8004640 ) + 800462a: 684a ldr r2, [r1, #4] + 800462c: 675a str r2, [r3, #116] ; 0x74 + 800462e: 6b2a ldr r2, [r5, #48] ; 0x30 + 8004630: f042 0202 orr.w r2, r2, #2 + 8004634: 632a str r2, [r5, #48] ; 0x30 + 8004636: 699a ldr r2, [r3, #24] + 8004638: f442 5208 orr.w r2, r2, #8704 ; 0x2200 + 800463c: e7b8 b.n 80045b0 + 800463e: bf00 nop + 8004640: 40002800 .word 0x40002800 + 8004644: 58000800 .word 0x58000800 + +08004648 : + 8004648: f890 202c ldrb.w r2, [r0, #44] ; 0x2c + 800464c: 2a01 cmp r2, #1 + 800464e: 4603 mov r3, r0 + 8004650: f04f 0002 mov.w r0, #2 + 8004654: d012 beq.n 800467c + 8004656: 4a0a ldr r2, [pc, #40] ; (8004680 ) + 8004658: f883 002d strb.w r0, [r3, #45] ; 0x2d + 800465c: 21ca movs r1, #202 ; 0xca + 800465e: 6251 str r1, [r2, #36] ; 0x24 + 8004660: 2153 movs r1, #83 ; 0x53 + 8004662: 6251 str r1, [r2, #36] ; 0x24 + 8004664: 6991 ldr r1, [r2, #24] + 8004666: f041 0120 orr.w r1, r1, #32 + 800466a: 6191 str r1, [r2, #24] + 800466c: 21ff movs r1, #255 ; 0xff + 800466e: 6251 str r1, [r2, #36] ; 0x24 + 8004670: 2000 movs r0, #0 + 8004672: 2201 movs r2, #1 + 8004674: f883 202d strb.w r2, [r3, #45] ; 0x2d + 8004678: f883 002c strb.w r0, [r3, #44] ; 0x2c + 800467c: 4770 bx lr + 800467e: bf00 nop + 8004680: 40002800 .word 0x40002800 + +08004684 : + 8004684: f890 202c ldrb.w r2, [r0, #44] ; 0x2c + 8004688: 2a01 cmp r2, #1 + 800468a: 4603 mov r3, r0 + 800468c: f04f 0002 mov.w r0, #2 + 8004690: d019 beq.n 80046c6 + 8004692: 4a0d ldr r2, [pc, #52] ; (80046c8 ) + 8004694: f883 002d strb.w r0, [r3, #45] ; 0x2d + 8004698: 21ca movs r1, #202 ; 0xca + 800469a: 6251 str r1, [r2, #36] ; 0x24 + 800469c: 2153 movs r1, #83 ; 0x53 + 800469e: 6251 str r1, [r2, #36] ; 0x24 + 80046a0: 6991 ldr r1, [r2, #24] + 80046a2: 480a ldr r0, [pc, #40] ; (80046cc ) + 80046a4: f041 0180 orr.w r1, r1, #128 ; 0x80 + 80046a8: 6191 str r1, [r2, #24] + 80046aa: f8d0 1080 ldr.w r1, [r0, #128] ; 0x80 + 80046ae: f441 2180 orr.w r1, r1, #262144 ; 0x40000 + 80046b2: f8c0 1080 str.w r1, [r0, #128] ; 0x80 + 80046b6: 21ff movs r1, #255 ; 0xff + 80046b8: 6251 str r1, [r2, #36] ; 0x24 + 80046ba: 2000 movs r0, #0 + 80046bc: 2201 movs r2, #1 + 80046be: f883 202d strb.w r2, [r3, #45] ; 0x2d + 80046c2: f883 002c strb.w r0, [r3, #44] ; 0x2c + 80046c6: 4770 bx lr + 80046c8: 40002800 .word 0x40002800 + 80046cc: 58000800 .word 0x58000800 + +080046d0 : + 80046d0: 4b06 ldr r3, [pc, #24] ; (80046ec ) + 80046d2: 6d5a ldr r2, [r3, #84] ; 0x54 + 80046d4: 0652 lsls r2, r2, #25 + 80046d6: b510 push {r4, lr} + 80046d8: 4604 mov r4, r0 + 80046da: d503 bpl.n 80046e4 + 80046dc: 2240 movs r2, #64 ; 0x40 + 80046de: 65da str r2, [r3, #92] ; 0x5c + 80046e0: f7fd fa1e bl 8001b20 + 80046e4: 2301 movs r3, #1 + 80046e6: f884 302d strb.w r3, [r4, #45] ; 0x2d + 80046ea: bd10 pop {r4, pc} 80046ec: 40002800 .word 0x40002800 -080046f0 : - 80046f0: b538 push {r3, r4, r5, lr} - 80046f2: 4c0a ldr r4, [pc, #40] ; (800471c ) - 80046f4: 68e3 ldr r3, [r4, #12] - 80046f6: f023 0320 bic.w r3, r3, #32 - 80046fa: 60e3 str r3, [r4, #12] - 80046fc: f7fd f8d2 bl 80018a4 - 8004700: 4605 mov r5, r0 - 8004702: 68e3 ldr r3, [r4, #12] - 8004704: 069b lsls r3, r3, #26 - 8004706: d501 bpl.n 800470c - 8004708: 2000 movs r0, #0 - 800470a: bd38 pop {r3, r4, r5, pc} - 800470c: f7fd f8ca bl 80018a4 - 8004710: 1b40 subs r0, r0, r5 - 8004712: f5b0 7f7a cmp.w r0, #1000 ; 0x3e8 - 8004716: d9f4 bls.n 8004702 - 8004718: 2003 movs r0, #3 - 800471a: e7f6 b.n 800470a - 800471c: 40002800 .word 0x40002800 +080046f0 : + 80046f0: 4770 bx lr -08004720 : - 8004720: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8004724: 4d11 ldr r5, [pc, #68] ; (800476c ) - 8004726: 68ec ldr r4, [r5, #12] - 8004728: f014 0440 ands.w r4, r4, #64 ; 0x40 - 800472c: 4607 mov r7, r0 - 800472e: d11a bne.n 8004766 - 8004730: 68eb ldr r3, [r5, #12] - 8004732: f043 0380 orr.w r3, r3, #128 ; 0x80 - 8004736: 60eb str r3, [r5, #12] - 8004738: f7fd f8b4 bl 80018a4 - 800473c: f04f 0803 mov.w r8, #3 - 8004740: 4606 mov r6, r0 - 8004742: 68eb ldr r3, [r5, #12] - 8004744: 065b lsls r3, r3, #25 - 8004746: d401 bmi.n 800474c - 8004748: 2c03 cmp r4, #3 - 800474a: d102 bne.n 8004752 - 800474c: 4620 mov r0, r4 - 800474e: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8004752: f7fd f8a7 bl 80018a4 - 8004756: 1b80 subs r0, r0, r6 - 8004758: f5b0 7f7a cmp.w r0, #1000 ; 0x3e8 - 800475c: bf84 itt hi - 800475e: f887 802d strbhi.w r8, [r7, #45] ; 0x2d - 8004762: 2403 movhi r4, #3 - 8004764: e7ed b.n 8004742 - 8004766: 2400 movs r4, #0 - 8004768: e7f0 b.n 800474c - 800476a: bf00 nop - 800476c: 40002800 .word 0x40002800 +080046f2 : + 80046f2: 0089 lsls r1, r1, #2 + 80046f4: f101 4180 add.w r1, r1, #1073741824 ; 0x40000000 + 80046f8: f501 4131 add.w r1, r1, #45312 ; 0xb100 + 80046fc: 600a str r2, [r1, #0] + 80046fe: 4770 bx lr -08004770 : - 8004770: b538 push {r3, r4, r5, lr} - 8004772: 4c0f ldr r4, [pc, #60] ; (80047b0 ) - 8004774: 68e3 ldr r3, [r4, #12] - 8004776: f023 0380 bic.w r3, r3, #128 ; 0x80 - 800477a: 60e3 str r3, [r4, #12] - 800477c: 69a3 ldr r3, [r4, #24] - 800477e: 069b lsls r3, r3, #26 - 8004780: 4605 mov r5, r0 - 8004782: d406 bmi.n 8004792 - 8004784: f7ff ffb4 bl 80046f0 - 8004788: b110 cbz r0, 8004790 - 800478a: 2003 movs r0, #3 - 800478c: f885 002d strb.w r0, [r5, #45] ; 0x2d - 8004790: bd38 pop {r3, r4, r5, pc} - 8004792: 69a3 ldr r3, [r4, #24] - 8004794: f023 0320 bic.w r3, r3, #32 - 8004798: 61a3 str r3, [r4, #24] - 800479a: f7ff ffa9 bl 80046f0 - 800479e: b110 cbz r0, 80047a6 - 80047a0: 2003 movs r0, #3 - 80047a2: f885 002d strb.w r0, [r5, #45] ; 0x2d - 80047a6: 69a3 ldr r3, [r4, #24] - 80047a8: f043 0320 orr.w r3, r3, #32 - 80047ac: 61a3 str r3, [r4, #24] - 80047ae: e7ef b.n 8004790 - 80047b0: 40002800 .word 0x40002800 - -080047b4 : - 80047b4: b538 push {r3, r4, r5, lr} - 80047b6: 4604 mov r4, r0 - 80047b8: 2800 cmp r0, #0 - 80047ba: d04b beq.n 8004854 - 80047bc: f890 302d ldrb.w r3, [r0, #45] ; 0x2d - 80047c0: f003 02ff and.w r2, r3, #255 ; 0xff - 80047c4: b91b cbnz r3, 80047ce - 80047c6: f880 202c strb.w r2, [r0, #44] ; 0x2c - 80047ca: f7fc fed7 bl 800157c - 80047ce: 2302 movs r3, #2 - 80047d0: 4d21 ldr r5, [pc, #132] ; (8004858 ) - 80047d2: f884 302d strb.w r3, [r4, #45] ; 0x2d - 80047d6: 68eb ldr r3, [r5, #12] - 80047d8: 06db lsls r3, r3, #27 - 80047da: d432 bmi.n 8004842 - 80047dc: 23ca movs r3, #202 ; 0xca - 80047de: 626b str r3, [r5, #36] ; 0x24 - 80047e0: 2353 movs r3, #83 ; 0x53 - 80047e2: 626b str r3, [r5, #36] ; 0x24 - 80047e4: 4620 mov r0, r4 - 80047e6: f7ff ff9b bl 8004720 - 80047ea: bb78 cbnz r0, 800484c - 80047ec: 69ab ldr r3, [r5, #24] - 80047ee: f023 638e bic.w r3, r3, #74448896 ; 0x4700000 - 80047f2: f023 0340 bic.w r3, r3, #64 ; 0x40 - 80047f6: 61ab str r3, [r5, #24] - 80047f8: 6921 ldr r1, [r4, #16] - 80047fa: 6863 ldr r3, [r4, #4] - 80047fc: 69aa ldr r2, [r5, #24] - 80047fe: 430b orrs r3, r1 - 8004800: 4313 orrs r3, r2 - 8004802: 69a2 ldr r2, [r4, #24] - 8004804: 4313 orrs r3, r2 - 8004806: 61ab str r3, [r5, #24] - 8004808: e9d4 2302 ldrd r2, r3, [r4, #8] - 800480c: ea43 4302 orr.w r3, r3, r2, lsl #16 - 8004810: 612b str r3, [r5, #16] - 8004812: e9d4 3109 ldrd r3, r1, [r4, #36] ; 0x24 - 8004816: 68ea ldr r2, [r5, #12] - 8004818: 430b orrs r3, r1 - 800481a: f422 52f8 bic.w r2, r2, #7936 ; 0x1f00 - 800481e: 4313 orrs r3, r2 - 8004820: 60eb str r3, [r5, #12] - 8004822: 4620 mov r0, r4 - 8004824: f7ff ffa4 bl 8004770 - 8004828: b980 cbnz r0, 800484c - 800482a: e9d4 1307 ldrd r1, r3, [r4, #28] - 800482e: 69aa ldr r2, [r5, #24] - 8004830: 430b orrs r3, r1 - 8004832: f022 4260 bic.w r2, r2, #3758096384 ; 0xe0000000 - 8004836: 4313 orrs r3, r2 - 8004838: 6962 ldr r2, [r4, #20] - 800483a: 4313 orrs r3, r2 - 800483c: 61ab str r3, [r5, #24] - 800483e: 23ff movs r3, #255 ; 0xff - 8004840: 626b str r3, [r5, #36] ; 0x24 - 8004842: 2301 movs r3, #1 - 8004844: f884 302d strb.w r3, [r4, #45] ; 0x2d - 8004848: 2000 movs r0, #0 - 800484a: e002 b.n 8004852 - 800484c: 4b02 ldr r3, [pc, #8] ; (8004858 ) - 800484e: 22ff movs r2, #255 ; 0xff - 8004850: 625a str r2, [r3, #36] ; 0x24 - 8004852: bd38 pop {r3, r4, r5, pc} - 8004854: 2001 movs r0, #1 - 8004856: e7fc b.n 8004852 - 8004858: 40002800 .word 0x40002800 - -0800485c : - 800485c: 2300 movs r3, #0 - 800485e: 2809 cmp r0, #9 - 8004860: d803 bhi.n 800486a - 8004862: ea40 1003 orr.w r0, r0, r3, lsl #4 - 8004866: b2c0 uxtb r0, r0 - 8004868: 4770 bx lr - 800486a: 380a subs r0, #10 - 800486c: 3301 adds r3, #1 - 800486e: b2c0 uxtb r0, r0 - 8004870: e7f5 b.n 800485e +08004700 : + 8004700: 0089 lsls r1, r1, #2 + 8004702: f101 4180 add.w r1, r1, #1073741824 ; 0x40000000 + 8004706: f501 4131 add.w r1, r1, #45312 ; 0xb100 + 800470a: 6808 ldr r0, [r1, #0] + 800470c: 4770 bx lr ... -08004874 : - 8004874: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 8004878: f890 302c ldrb.w r3, [r0, #44] ; 0x2c - 800487c: 2b01 cmp r3, #1 - 800487e: 4605 mov r5, r0 - 8004880: f04f 0002 mov.w r0, #2 - 8004884: d069 beq.n 800495a - 8004886: 2301 movs r3, #1 - 8004888: f885 302c strb.w r3, [r5, #44] ; 0x2c - 800488c: 4b4e ldr r3, [pc, #312] ; (80049c8 ) - 800488e: f885 002d strb.w r0, [r5, #45] ; 0x2d - 8004892: 68de ldr r6, [r3, #12] - 8004894: f406 7640 and.w r6, r6, #768 ; 0x300 - 8004898: f5b6 7f80 cmp.w r6, #256 ; 0x100 - 800489c: d078 beq.n 8004990 - 800489e: 694c ldr r4, [r1, #20] - 80048a0: 7808 ldrb r0, [r1, #0] - 80048a2: f891 9001 ldrb.w r9, [r1, #1] - 80048a6: f891 a002 ldrb.w sl, [r1, #2] - 80048aa: f891 7024 ldrb.w r7, [r1, #36] ; 0x24 - 80048ae: 2a00 cmp r2, #0 - 80048b0: d155 bne.n 800495e - 80048b2: 699b ldr r3, [r3, #24] - 80048b4: f013 0340 ands.w r3, r3, #64 ; 0x40 - 80048b8: bf08 it eq - 80048ba: 70cb strbeq r3, [r1, #3] - 80048bc: f7ff ffce bl 800485c - 80048c0: 4680 mov r8, r0 - 80048c2: 4648 mov r0, r9 - 80048c4: f7ff ffca bl 800485c - 80048c8: 4602 mov r2, r0 - 80048ca: 4650 mov r0, sl - 80048cc: f7ff ffc6 bl 800485c - 80048d0: 4681 mov r9, r0 - 80048d2: 4638 mov r0, r7 - 80048d4: f7ff ffc2 bl 800485c - 80048d8: 6a0b ldr r3, [r1, #32] - 80048da: 78cf ldrb r7, [r1, #3] - 80048dc: 4323 orrs r3, r4 - 80048de: ea43 5387 orr.w r3, r3, r7, lsl #22 - 80048e2: ea43 0309 orr.w r3, r3, r9 - 80048e6: ea43 4308 orr.w r3, r3, r8, lsl #16 - 80048ea: ea43 2302 orr.w r3, r3, r2, lsl #8 - 80048ee: ea43 6300 orr.w r3, r3, r0, lsl #24 - 80048f2: 4a35 ldr r2, [pc, #212] ; (80049c8 ) - 80048f4: 20ca movs r0, #202 ; 0xca - 80048f6: 6250 str r0, [r2, #36] ; 0x24 - 80048f8: 2053 movs r0, #83 ; 0x53 - 80048fa: 6250 str r0, [r2, #36] ; 0x24 - 80048fc: 6a8c ldr r4, [r1, #40] ; 0x28 - 80048fe: 6988 ldr r0, [r1, #24] - 8004900: f5b4 7f80 cmp.w r4, #256 ; 0x100 - 8004904: 6994 ldr r4, [r2, #24] - 8004906: d145 bne.n 8004994 - 8004908: f424 5488 bic.w r4, r4, #4352 ; 0x1100 - 800490c: 6194 str r4, [r2, #24] - 800490e: 2401 movs r4, #1 - 8004910: 65d4 str r4, [r2, #92] ; 0x5c - 8004912: f5b6 7f80 cmp.w r6, #256 ; 0x100 - 8004916: bf09 itett eq - 8004918: 69cb ldreq r3, [r1, #28] - 800491a: 6413 strne r3, [r2, #64] ; 0x40 - 800491c: 4303 orreq r3, r0 - 800491e: 6453 streq r3, [r2, #68] ; 0x44 - 8004920: bf18 it ne - 8004922: 6450 strne r0, [r2, #68] ; 0x44 - 8004924: 4b28 ldr r3, [pc, #160] ; (80049c8 ) - 8004926: 684a ldr r2, [r1, #4] - 8004928: 671a str r2, [r3, #112] ; 0x70 - 800492a: 6b2a ldr r2, [r5, #48] ; 0x30 - 800492c: f042 0201 orr.w r2, r2, #1 - 8004930: 632a str r2, [r5, #48] ; 0x30 - 8004932: 699a ldr r2, [r3, #24] - 8004934: f442 5288 orr.w r2, r2, #4352 ; 0x1100 - 8004938: 619a str r2, [r3, #24] - 800493a: 4a24 ldr r2, [pc, #144] ; (80049cc ) - 800493c: f8d2 3080 ldr.w r3, [r2, #128] ; 0x80 - 8004940: f443 3300 orr.w r3, r3, #131072 ; 0x20000 - 8004944: f8c2 3080 str.w r3, [r2, #128] ; 0x80 - 8004948: 4b1f ldr r3, [pc, #124] ; (80049c8 ) - 800494a: 22ff movs r2, #255 ; 0xff - 800494c: 625a str r2, [r3, #36] ; 0x24 - 800494e: 2000 movs r0, #0 - 8004950: 2301 movs r3, #1 - 8004952: f885 302d strb.w r3, [r5, #45] ; 0x2d - 8004956: f885 002c strb.w r0, [r5, #44] ; 0x2c - 800495a: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 800495e: f1b4 3f80 cmp.w r4, #2155905152 ; 0x80808080 - 8004962: d007 beq.n 8004974 - 8004964: f5b4 0f00 cmp.w r4, #8388608 ; 0x800000 - 8004968: d004 beq.n 8004974 - 800496a: 699b ldr r3, [r3, #24] - 800496c: f013 0340 ands.w r3, r3, #64 ; 0x40 - 8004970: bf08 it eq - 8004972: 70cb strbeq r3, [r1, #3] - 8004974: 6a0b ldr r3, [r1, #32] - 8004976: 78ca ldrb r2, [r1, #3] - 8004978: 431c orrs r4, r3 - 800497a: ea44 040a orr.w r4, r4, sl - 800497e: ea44 4300 orr.w r3, r4, r0, lsl #16 - 8004982: ea43 2309 orr.w r3, r3, r9, lsl #8 - 8004986: ea43 5382 orr.w r3, r3, r2, lsl #22 - 800498a: ea43 6307 orr.w r3, r3, r7, lsl #24 - 800498e: e7b0 b.n 80048f2 - 8004990: 2300 movs r3, #0 - 8004992: e7ae b.n 80048f2 - 8004994: f424 5408 bic.w r4, r4, #8704 ; 0x2200 - 8004998: 6194 str r4, [r2, #24] - 800499a: 2402 movs r4, #2 - 800499c: 65d4 str r4, [r2, #92] ; 0x5c - 800499e: f5b6 7f80 cmp.w r6, #256 ; 0x100 - 80049a2: bf09 itett eq - 80049a4: 69cb ldreq r3, [r1, #28] - 80049a6: 6493 strne r3, [r2, #72] ; 0x48 - 80049a8: 4303 orreq r3, r0 - 80049aa: 64d3 streq r3, [r2, #76] ; 0x4c - 80049ac: bf18 it ne - 80049ae: 64d0 strne r0, [r2, #76] ; 0x4c - 80049b0: 4b05 ldr r3, [pc, #20] ; (80049c8 ) - 80049b2: 684a ldr r2, [r1, #4] - 80049b4: 675a str r2, [r3, #116] ; 0x74 - 80049b6: 6b2a ldr r2, [r5, #48] ; 0x30 - 80049b8: f042 0202 orr.w r2, r2, #2 - 80049bc: 632a str r2, [r5, #48] ; 0x30 - 80049be: 699a ldr r2, [r3, #24] - 80049c0: f442 5208 orr.w r2, r2, #8704 ; 0x2200 - 80049c4: e7b8 b.n 8004938 - 80049c6: bf00 nop - 80049c8: 40002800 .word 0x40002800 - 80049cc: 58000800 .word 0x58000800 +08004710 : + 8004710: 4a03 ldr r2, [pc, #12] ; (8004720 ) + 8004712: f8d2 3090 ldr.w r3, [r2, #144] ; 0x90 + 8004716: f443 4300 orr.w r3, r3, #32768 ; 0x8000 + 800471a: f8c2 3090 str.w r3, [r2, #144] ; 0x90 + 800471e: 4770 bx lr + 8004720: 58000400 .word 0x58000400 -080049d0 : - 80049d0: f890 202c ldrb.w r2, [r0, #44] ; 0x2c - 80049d4: 2a01 cmp r2, #1 - 80049d6: 4603 mov r3, r0 - 80049d8: f04f 0002 mov.w r0, #2 - 80049dc: d012 beq.n 8004a04 - 80049de: 4a0a ldr r2, [pc, #40] ; (8004a08 ) - 80049e0: f883 002d strb.w r0, [r3, #45] ; 0x2d - 80049e4: 21ca movs r1, #202 ; 0xca - 80049e6: 6251 str r1, [r2, #36] ; 0x24 - 80049e8: 2153 movs r1, #83 ; 0x53 - 80049ea: 6251 str r1, [r2, #36] ; 0x24 - 80049ec: 6991 ldr r1, [r2, #24] - 80049ee: f041 0120 orr.w r1, r1, #32 - 80049f2: 6191 str r1, [r2, #24] - 80049f4: 21ff movs r1, #255 ; 0xff - 80049f6: 6251 str r1, [r2, #36] ; 0x24 - 80049f8: 2000 movs r0, #0 - 80049fa: 2201 movs r2, #1 - 80049fc: f883 202d strb.w r2, [r3, #45] ; 0x2d - 8004a00: f883 002c strb.w r0, [r3, #44] ; 0x2c - 8004a04: 4770 bx lr - 8004a06: bf00 nop - 8004a08: 40002800 .word 0x40002800 +08004724 : + 8004724: 4a03 ldr r2, [pc, #12] ; (8004734 ) + 8004726: f8d2 3090 ldr.w r3, [r2, #144] ; 0x90 + 800472a: f423 4300 bic.w r3, r3, #32768 ; 0x8000 + 800472e: f8c2 3090 str.w r3, [r2, #144] ; 0x90 + 8004732: 4770 bx lr + 8004734: 58000400 .word 0x58000400 -08004a0c : - 8004a0c: f890 202c ldrb.w r2, [r0, #44] ; 0x2c - 8004a10: 2a01 cmp r2, #1 - 8004a12: 4603 mov r3, r0 - 8004a14: f04f 0002 mov.w r0, #2 - 8004a18: d019 beq.n 8004a4e - 8004a1a: 4a0d ldr r2, [pc, #52] ; (8004a50 ) - 8004a1c: f883 002d strb.w r0, [r3, #45] ; 0x2d - 8004a20: 21ca movs r1, #202 ; 0xca - 8004a22: 6251 str r1, [r2, #36] ; 0x24 - 8004a24: 2153 movs r1, #83 ; 0x53 - 8004a26: 6251 str r1, [r2, #36] ; 0x24 - 8004a28: 6991 ldr r1, [r2, #24] - 8004a2a: 480a ldr r0, [pc, #40] ; (8004a54 ) - 8004a2c: f041 0180 orr.w r1, r1, #128 ; 0x80 - 8004a30: 6191 str r1, [r2, #24] - 8004a32: f8d0 1080 ldr.w r1, [r0, #128] ; 0x80 - 8004a36: f441 2180 orr.w r1, r1, #262144 ; 0x40000 - 8004a3a: f8c0 1080 str.w r1, [r0, #128] ; 0x80 - 8004a3e: 21ff movs r1, #255 ; 0xff - 8004a40: 6251 str r1, [r2, #36] ; 0x24 - 8004a42: 2000 movs r0, #0 - 8004a44: 2201 movs r2, #1 - 8004a46: f883 202d strb.w r2, [r3, #45] ; 0x2d - 8004a4a: f883 002c strb.w r0, [r3, #44] ; 0x2c - 8004a4e: 4770 bx lr - 8004a50: 40002800 .word 0x40002800 - 8004a54: 58000800 .word 0x58000800 +08004738 : + 8004738: 4b07 ldr r3, [pc, #28] ; (8004758 ) + 800473a: 681a ldr r2, [r3, #0] + 800473c: f022 0240 bic.w r2, r2, #64 ; 0x40 + 8004740: 601a str r2, [r3, #0] + 8004742: f440 7041 orr.w r0, r0, #772 ; 0x304 + 8004746: f44f 52b8 mov.w r2, #5888 ; 0x1700 + 800474a: 6018 str r0, [r3, #0] + 800474c: 605a str r2, [r3, #4] + 800474e: 681a ldr r2, [r3, #0] + 8004750: f042 0240 orr.w r2, r2, #64 ; 0x40 + 8004754: 601a str r2, [r3, #0] + 8004756: 4770 bx lr + 8004758: 58010000 .word 0x58010000 -08004a58 : - 8004a58: 4b06 ldr r3, [pc, #24] ; (8004a74 ) - 8004a5a: 6d5a ldr r2, [r3, #84] ; 0x54 - 8004a5c: 0652 lsls r2, r2, #25 - 8004a5e: b510 push {r4, lr} - 8004a60: 4604 mov r4, r0 - 8004a62: d503 bpl.n 8004a6c - 8004a64: 2240 movs r2, #64 ; 0x40 - 8004a66: 65da str r2, [r3, #92] ; 0x5c - 8004a68: f7fd f872 bl 8001b50 - 8004a6c: 2301 movs r3, #1 - 8004a6e: f884 302d strb.w r3, [r4, #45] ; 0x2d - 8004a72: bd10 pop {r4, pc} - 8004a74: 40002800 .word 0x40002800 +0800475c : + 800475c: b537 push {r0, r1, r2, r4, r5, lr} + 800475e: 4605 mov r5, r0 + 8004760: 2800 cmp r0, #0 + 8004762: d04e beq.n 8004802 + 8004764: 7983 ldrb r3, [r0, #6] + 8004766: f003 04ff and.w r4, r3, #255 ; 0xff + 800476a: b16b cbz r3, 8004788 + 800476c: 2c03 cmp r4, #3 + 800476e: d00b beq.n 8004788 + 8004770: 4b25 ldr r3, [pc, #148] ; (8004808 ) + 8004772: f44f 6200 mov.w r2, #2048 ; 0x800 + 8004776: 619a str r2, [r3, #24] + 8004778: 6828 ldr r0, [r5, #0] + 800477a: f7ff ffdd bl 8004738 + 800477e: 2400 movs r4, #0 + 8004780: 2301 movs r3, #1 + 8004782: 712b strb r3, [r5, #4] + 8004784: 60ac str r4, [r5, #8] + 8004786: e02f b.n 80047e8 + 8004788: 2300 movs r3, #0 + 800478a: 716b strb r3, [r5, #5] + 800478c: 4628 mov r0, r5 + 800478e: f7fc ff89 bl 80016a4 + 8004792: 4a1e ldr r2, [pc, #120] ; (800480c ) + 8004794: f8d2 3090 ldr.w r3, [r2, #144] ; 0x90 + 8004798: f443 5380 orr.w r3, r3, #4096 ; 0x1000 + 800479c: f8c2 3090 str.w r3, [r2, #144] ; 0x90 + 80047a0: 2c00 cmp r4, #0 + 80047a2: d1e5 bne.n 8004770 + 80047a4: 2302 movs r3, #2 + 80047a6: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 80047aa: 71ab strb r3, [r5, #6] + 80047ac: f8d2 3094 ldr.w r3, [r2, #148] ; 0x94 + 80047b0: f423 4300 bic.w r3, r3, #32768 ; 0x8000 + 80047b4: f8c2 3094 str.w r3, [r2, #148] ; 0x94 + 80047b8: 4b15 ldr r3, [pc, #84] ; (8004810 ) + 80047ba: 681b ldr r3, [r3, #0] + 80047bc: 211c movs r1, #28 + 80047be: 434b muls r3, r1 + 80047c0: 0cdb lsrs r3, r3, #19 + 80047c2: 2164 movs r1, #100 ; 0x64 + 80047c4: 434b muls r3, r1 + 80047c6: 9301 str r3, [sp, #4] + 80047c8: 9b01 ldr r3, [sp, #4] + 80047ca: b993 cbnz r3, 80047f2 + 80047cc: 2401 movs r4, #1 + 80047ce: 60ac str r4, [r5, #8] + 80047d0: f7ff ff9e bl 8004710 + 80047d4: 4b0c ldr r3, [pc, #48] ; (8004808 ) + 80047d6: 689a ldr r2, [r3, #8] + 80047d8: f442 6200 orr.w r2, r2, #2048 ; 0x800 + 80047dc: 609a str r2, [r3, #8] + 80047de: f44f 6200 mov.w r2, #2048 ; 0x800 + 80047e2: 619a str r2, [r3, #24] + 80047e4: 2c00 cmp r4, #0 + 80047e6: d0c7 beq.n 8004778 + 80047e8: 2301 movs r3, #1 + 80047ea: 71ab strb r3, [r5, #6] + 80047ec: 4620 mov r0, r4 + 80047ee: b003 add sp, #12 + 80047f0: bd30 pop {r4, r5, pc} + 80047f2: 9b01 ldr r3, [sp, #4] + 80047f4: 3b01 subs r3, #1 + 80047f6: 9301 str r3, [sp, #4] + 80047f8: f8d2 3094 ldr.w r3, [r2, #148] ; 0x94 + 80047fc: 045b lsls r3, r3, #17 + 80047fe: d4e3 bmi.n 80047c8 + 8004800: e7e6 b.n 80047d0 + 8004802: 2401 movs r4, #1 + 8004804: e7f2 b.n 80047ec + 8004806: bf00 nop + 8004808: 58000400 .word 0x58000400 + 800480c: 58000800 .word 0x58000800 + 8004810: 20000074 .word 0x20000074 -08004a78 : - 8004a78: 4770 bx lr +08004814 : + 8004814: b537 push {r0, r1, r2, r4, r5, lr} + 8004816: 4d17 ldr r5, [pc, #92] ; (8004874 ) + 8004818: 682b ldr r3, [r5, #0] + 800481a: 4602 mov r2, r0 + 800481c: 201c movs r0, #28 + 800481e: 4343 muls r3, r0 + 8004820: 0cdb lsrs r3, r3, #19 + 8004822: 2064 movs r0, #100 ; 0x64 + 8004824: 4343 muls r3, r0 + 8004826: 4814 ldr r0, [pc, #80] ; (8004878 ) + 8004828: 9301 str r3, [sp, #4] + 800482a: 9b01 ldr r3, [sp, #4] + 800482c: b993 cbnz r3, 8004854 + 800482e: 2001 movs r0, #1 + 8004830: 6090 str r0, [r2, #8] + 8004832: 4c11 ldr r4, [pc, #68] ; (8004878 ) + 8004834: 7321 strb r1, [r4, #12] + 8004836: 682b ldr r3, [r5, #0] + 8004838: 211c movs r1, #28 + 800483a: 434b muls r3, r1 + 800483c: 0cdb lsrs r3, r3, #19 + 800483e: 2164 movs r1, #100 ; 0x64 + 8004840: 434b muls r3, r1 + 8004842: 9301 str r3, [sp, #4] + 8004844: 9b01 ldr r3, [sp, #4] + 8004846: b96b cbnz r3, 8004864 + 8004848: 2001 movs r0, #1 + 800484a: 6090 str r0, [r2, #8] + 800484c: 4b0a ldr r3, [pc, #40] ; (8004878 ) + 800484e: 68db ldr r3, [r3, #12] + 8004850: b003 add sp, #12 + 8004852: bd30 pop {r4, r5, pc} + 8004854: 9b01 ldr r3, [sp, #4] + 8004856: 3b01 subs r3, #1 + 8004858: 9301 str r3, [sp, #4] + 800485a: 6883 ldr r3, [r0, #8] + 800485c: 079c lsls r4, r3, #30 + 800485e: d5e4 bpl.n 800482a + 8004860: 2000 movs r0, #0 + 8004862: e7e6 b.n 8004832 + 8004864: 9b01 ldr r3, [sp, #4] + 8004866: 3b01 subs r3, #1 + 8004868: 9301 str r3, [sp, #4] + 800486a: 68a3 ldr r3, [r4, #8] + 800486c: 07db lsls r3, r3, #31 + 800486e: d5e9 bpl.n 8004844 + 8004870: e7ec b.n 800484c + 8004872: bf00 nop + 8004874: 20000074 .word 0x20000074 + 8004878: 58010000 .word 0x58010000 -08004a7a : - 8004a7a: 0089 lsls r1, r1, #2 - 8004a7c: f101 4180 add.w r1, r1, #1073741824 ; 0x40000000 - 8004a80: f501 4131 add.w r1, r1, #45312 ; 0xb100 - 8004a84: 600a str r2, [r1, #0] - 8004a86: 4770 bx lr +0800487c : + 800487c: b537 push {r0, r1, r2, r4, r5, lr} + 800487e: 4d18 ldr r5, [pc, #96] ; (80048e0 ) + 8004880: 682b ldr r3, [r5, #0] + 8004882: 4602 mov r2, r0 + 8004884: 201c movs r0, #28 + 8004886: 4343 muls r3, r0 + 8004888: 0cdb lsrs r3, r3, #19 + 800488a: 2064 movs r0, #100 ; 0x64 + 800488c: 4343 muls r3, r0 + 800488e: 4815 ldr r0, [pc, #84] ; (80048e4 ) + 8004890: 9301 str r3, [sp, #4] + 8004892: 9b01 ldr r3, [sp, #4] + 8004894: b9a3 cbnz r3, 80048c0 + 8004896: 2001 movs r0, #1 + 8004898: 6090 str r0, [r2, #8] + 800489a: 4c12 ldr r4, [pc, #72] ; (80048e4 ) + 800489c: 23ff movs r3, #255 ; 0xff + 800489e: 7323 strb r3, [r4, #12] + 80048a0: 682b ldr r3, [r5, #0] + 80048a2: 251c movs r5, #28 + 80048a4: 436b muls r3, r5 + 80048a6: 0cdb lsrs r3, r3, #19 + 80048a8: 2564 movs r5, #100 ; 0x64 + 80048aa: 436b muls r3, r5 + 80048ac: 9301 str r3, [sp, #4] + 80048ae: 9b01 ldr r3, [sp, #4] + 80048b0: b973 cbnz r3, 80048d0 + 80048b2: 2001 movs r0, #1 + 80048b4: 6090 str r0, [r2, #8] + 80048b6: 4b0b ldr r3, [pc, #44] ; (80048e4 ) + 80048b8: 68db ldr r3, [r3, #12] + 80048ba: 700b strb r3, [r1, #0] + 80048bc: b003 add sp, #12 + 80048be: bd30 pop {r4, r5, pc} + 80048c0: 9b01 ldr r3, [sp, #4] + 80048c2: 3b01 subs r3, #1 + 80048c4: 9301 str r3, [sp, #4] + 80048c6: 6883 ldr r3, [r0, #8] + 80048c8: 079c lsls r4, r3, #30 + 80048ca: d5e2 bpl.n 8004892 + 80048cc: 2000 movs r0, #0 + 80048ce: e7e4 b.n 800489a + 80048d0: 9b01 ldr r3, [sp, #4] + 80048d2: 3b01 subs r3, #1 + 80048d4: 9301 str r3, [sp, #4] + 80048d6: 68a3 ldr r3, [r4, #8] + 80048d8: 07db lsls r3, r3, #31 + 80048da: d5e8 bpl.n 80048ae + 80048dc: e7eb b.n 80048b6 + 80048de: bf00 nop + 80048e0: 20000074 .word 0x20000074 + 80048e4: 58010000 .word 0x58010000 -08004a88 : - 8004a88: 0089 lsls r1, r1, #2 - 8004a8a: f101 4180 add.w r1, r1, #1073741824 ; 0x40000000 - 8004a8e: f501 4131 add.w r1, r1, #45312 ; 0xb100 - 8004a92: 6808 ldr r0, [r1, #0] - 8004a94: 4770 bx lr +080048e8 : + 80048e8: 4b0f ldr r3, [pc, #60] ; (8004928 ) + 80048ea: b513 push {r0, r1, r4, lr} + 80048ec: 681b ldr r3, [r3, #0] + 80048ee: 4c0f ldr r4, [pc, #60] ; (800492c ) + 80048f0: 2218 movs r2, #24 + 80048f2: 4353 muls r3, r2 + 80048f4: 0d1b lsrs r3, r3, #20 + 80048f6: 2264 movs r2, #100 ; 0x64 + 80048f8: 4353 muls r3, r2 + 80048fa: 4601 mov r1, r0 + 80048fc: 9301 str r3, [sp, #4] + 80048fe: 6962 ldr r2, [r4, #20] + 8004900: 9b01 ldr r3, [sp, #4] + 8004902: f002 0204 and.w r2, r2, #4 + 8004906: b923 cbnz r3, 8004912 + 8004908: 2302 movs r3, #2 + 800490a: 608b str r3, [r1, #8] + 800490c: 2001 movs r0, #1 + 800490e: b002 add sp, #8 + 8004910: bd10 pop {r4, pc} + 8004912: 9b01 ldr r3, [sp, #4] + 8004914: 3b01 subs r3, #1 + 8004916: 9301 str r3, [sp, #4] + 8004918: 6960 ldr r0, [r4, #20] + 800491a: f010 0002 ands.w r0, r0, #2 + 800491e: d0f6 beq.n 800490e + 8004920: 2a00 cmp r2, #0 + 8004922: d1ec bne.n 80048fe + 8004924: 4610 mov r0, r2 + 8004926: e7f2 b.n 800490e + 8004928: 20000074 .word 0x20000074 + 800492c: 58000400 .word 0x58000400 + +08004930 : + 8004930: b507 push {r0, r1, r2, lr} + 8004932: 7903 ldrb r3, [r0, #4] + 8004934: 2b01 cmp r3, #1 + 8004936: d10f bne.n 8004958 + 8004938: 4b0a ldr r3, [pc, #40] ; (8004964 ) + 800493a: 681b ldr r3, [r3, #0] + 800493c: 2218 movs r2, #24 + 800493e: 4353 muls r3, r2 + 8004940: 0c1b lsrs r3, r3, #16 + 8004942: 9301 str r3, [sp, #4] + 8004944: f7ff feee bl 8004724 + 8004948: 9b01 ldr r3, [sp, #4] + 800494a: 3b01 subs r3, #1 + 800494c: 9301 str r3, [sp, #4] + 800494e: 9b01 ldr r3, [sp, #4] + 8004950: 2b00 cmp r3, #0 + 8004952: d1f9 bne.n 8004948 + 8004954: f7ff fedc bl 8004710 + 8004958: b003 add sp, #12 + 800495a: f85d eb04 ldr.w lr, [sp], #4 + 800495e: f7ff bfc3 b.w 80048e8 + 8004962: bf00 nop + 8004964: 20000074 .word 0x20000074 + +08004968 : + 8004968: b5f8 push {r3, r4, r5, r6, r7, lr} + 800496a: 461e mov r6, r3 + 800496c: 7983 ldrb r3, [r0, #6] + 800496e: 2b01 cmp r3, #1 + 8004970: 4615 mov r5, r2 + 8004972: 4604 mov r4, r0 + 8004974: 460f mov r7, r1 + 8004976: b2da uxtb r2, r3 + 8004978: d12d bne.n 80049d6 + 800497a: 7943 ldrb r3, [r0, #5] + 800497c: 2b01 cmp r3, #1 + 800497e: d02a beq.n 80049d6 + 8004980: 2302 movs r3, #2 + 8004982: 7142 strb r2, [r0, #5] + 8004984: 7183 strb r3, [r0, #6] + 8004986: f7ff ffd3 bl 8004930 + 800498a: 210d movs r1, #13 + 800498c: 4620 mov r0, r4 + 800498e: f7ff fec9 bl 8004724 + 8004992: f7ff ff3f bl 8004814 + 8004996: 0a39 lsrs r1, r7, #8 + 8004998: 4620 mov r0, r4 + 800499a: f7ff ff3b bl 8004814 + 800499e: b2f9 uxtb r1, r7 + 80049a0: 4620 mov r0, r4 + 80049a2: f7ff ff37 bl 8004814 + 80049a6: 442e add r6, r5 + 80049a8: 42b5 cmp r5, r6 + 80049aa: d10e bne.n 80049ca + 80049ac: 4620 mov r0, r4 + 80049ae: f7ff feaf bl 8004710 + 80049b2: f7ff ff99 bl 80048e8 + 80049b6: 68a0 ldr r0, [r4, #8] + 80049b8: 2301 movs r3, #1 + 80049ba: 3800 subs r0, #0 + 80049bc: 71a3 strb r3, [r4, #6] + 80049be: f04f 0300 mov.w r3, #0 + 80049c2: bf18 it ne + 80049c4: 2001 movne r0, #1 + 80049c6: 7163 strb r3, [r4, #5] + 80049c8: bdf8 pop {r3, r4, r5, r6, r7, pc} + 80049ca: f815 1b01 ldrb.w r1, [r5], #1 + 80049ce: 4620 mov r0, r4 + 80049d0: f7ff ff20 bl 8004814 + 80049d4: e7e8 b.n 80049a8 + 80049d6: 2002 movs r0, #2 + 80049d8: e7f6 b.n 80049c8 + +080049da : + 80049da: b5f8 push {r3, r4, r5, r6, r7, lr} + 80049dc: 461e mov r6, r3 + 80049de: 7983 ldrb r3, [r0, #6] + 80049e0: 2b01 cmp r3, #1 + 80049e2: 4615 mov r5, r2 + 80049e4: 4604 mov r4, r0 + 80049e6: 460f mov r7, r1 + 80049e8: b2da uxtb r2, r3 + 80049ea: d12f bne.n 8004a4c + 80049ec: 7943 ldrb r3, [r0, #5] + 80049ee: 2b01 cmp r3, #1 + 80049f0: d02c beq.n 8004a4c + 80049f2: 7142 strb r2, [r0, #5] + 80049f4: f7ff ff9c bl 8004930 + 80049f8: 211d movs r1, #29 + 80049fa: 4620 mov r0, r4 + 80049fc: f7ff fe92 bl 8004724 + 8004a00: f7ff ff08 bl 8004814 + 8004a04: 0a39 lsrs r1, r7, #8 + 8004a06: 4620 mov r0, r4 + 8004a08: f7ff ff04 bl 8004814 + 8004a0c: b2f9 uxtb r1, r7 + 8004a0e: 4620 mov r0, r4 + 8004a10: f7ff ff00 bl 8004814 + 8004a14: 2100 movs r1, #0 + 8004a16: 4620 mov r0, r4 + 8004a18: f7ff fefc bl 8004814 + 8004a1c: 442e add r6, r5 + 8004a1e: 42b5 cmp r5, r6 + 8004a20: d10e bne.n 8004a40 + 8004a22: 4620 mov r0, r4 + 8004a24: f7ff fe74 bl 8004710 + 8004a28: f7ff ff5e bl 80048e8 + 8004a2c: 68a0 ldr r0, [r4, #8] + 8004a2e: 2301 movs r3, #1 + 8004a30: 3800 subs r0, #0 + 8004a32: 71a3 strb r3, [r4, #6] + 8004a34: f04f 0300 mov.w r3, #0 + 8004a38: bf18 it ne + 8004a3a: 2001 movne r0, #1 + 8004a3c: 7163 strb r3, [r4, #5] + 8004a3e: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8004a40: 4629 mov r1, r5 + 8004a42: 4620 mov r0, r4 + 8004a44: f7ff ff1a bl 800487c + 8004a48: 3501 adds r5, #1 + 8004a4a: e7e8 b.n 8004a1e + 8004a4c: 2002 movs r0, #2 + 8004a4e: e7f6 b.n 8004a3e + +08004a50 : + 8004a50: b5f8 push {r3, r4, r5, r6, r7, lr} + 8004a52: 461f mov r7, r3 + 8004a54: 7983 ldrb r3, [r0, #6] + 8004a56: 2b01 cmp r3, #1 + 8004a58: 4615 mov r5, r2 + 8004a5a: 4604 mov r4, r0 + 8004a5c: 460e mov r6, r1 + 8004a5e: b2da uxtb r2, r3 + 8004a60: d12c bne.n 8004abc + 8004a62: 7943 ldrb r3, [r0, #5] + 8004a64: 2b01 cmp r3, #1 + 8004a66: d029 beq.n 8004abc + 8004a68: 7142 strb r2, [r0, #5] + 8004a6a: f7ff ff61 bl 8004930 + 8004a6e: f006 03ef and.w r3, r6, #239 ; 0xef + 8004a72: f1a3 0284 sub.w r2, r3, #132 ; 0x84 + 8004a76: 4253 negs r3, r2 + 8004a78: 4153 adcs r3, r2 + 8004a7a: 7123 strb r3, [r4, #4] + 8004a7c: 4631 mov r1, r6 + 8004a7e: 4620 mov r0, r4 + 8004a80: f7ff fe50 bl 8004724 + 8004a84: f7ff fec6 bl 8004814 + 8004a88: 442f add r7, r5 + 8004a8a: 42af cmp r7, r5 + 8004a8c: d110 bne.n 8004ab0 + 8004a8e: f7ff fe3f bl 8004710 + 8004a92: 2e84 cmp r6, #132 ; 0x84 + 8004a94: d002 beq.n 8004a9c + 8004a96: 4620 mov r0, r4 + 8004a98: f7ff ff26 bl 80048e8 + 8004a9c: 68a0 ldr r0, [r4, #8] + 8004a9e: 2301 movs r3, #1 + 8004aa0: 3800 subs r0, #0 + 8004aa2: 71a3 strb r3, [r4, #6] + 8004aa4: f04f 0300 mov.w r3, #0 + 8004aa8: bf18 it ne + 8004aaa: 2001 movne r0, #1 + 8004aac: 7163 strb r3, [r4, #5] + 8004aae: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8004ab0: f815 1b01 ldrb.w r1, [r5], #1 + 8004ab4: 4620 mov r0, r4 + 8004ab6: f7ff fead bl 8004814 + 8004aba: e7e6 b.n 8004a8a + 8004abc: 2002 movs r0, #2 + 8004abe: e7f6 b.n 8004aae + +08004ac0 : + 8004ac0: b5f8 push {r3, r4, r5, r6, r7, lr} + 8004ac2: 461e mov r6, r3 + 8004ac4: 7983 ldrb r3, [r0, #6] + 8004ac6: 2b01 cmp r3, #1 + 8004ac8: 4615 mov r5, r2 + 8004aca: 4604 mov r4, r0 + 8004acc: 460f mov r7, r1 + 8004ace: b2da uxtb r2, r3 + 8004ad0: d127 bne.n 8004b22 + 8004ad2: 7943 ldrb r3, [r0, #5] + 8004ad4: 2b01 cmp r3, #1 + 8004ad6: d024 beq.n 8004b22 + 8004ad8: 7142 strb r2, [r0, #5] + 8004ada: f7ff ff29 bl 8004930 + 8004ade: 4639 mov r1, r7 + 8004ae0: 4620 mov r0, r4 + 8004ae2: f7ff fe1f bl 8004724 + 8004ae6: f7ff fe95 bl 8004814 + 8004aea: 2100 movs r1, #0 + 8004aec: 4620 mov r0, r4 + 8004aee: f7ff fe91 bl 8004814 + 8004af2: 442e add r6, r5 + 8004af4: 42b5 cmp r5, r6 + 8004af6: d10e bne.n 8004b16 + 8004af8: 4620 mov r0, r4 + 8004afa: f7ff fe09 bl 8004710 + 8004afe: f7ff fef3 bl 80048e8 + 8004b02: 68a0 ldr r0, [r4, #8] + 8004b04: 2301 movs r3, #1 + 8004b06: 3800 subs r0, #0 + 8004b08: 71a3 strb r3, [r4, #6] + 8004b0a: f04f 0300 mov.w r3, #0 + 8004b0e: bf18 it ne + 8004b10: 2001 movne r0, #1 + 8004b12: 7163 strb r3, [r4, #5] + 8004b14: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8004b16: 4629 mov r1, r5 + 8004b18: 4620 mov r0, r4 + 8004b1a: f7ff feaf bl 800487c + 8004b1e: 3501 adds r5, #1 + 8004b20: e7e8 b.n 8004af4 + 8004b22: 2002 movs r0, #2 + 8004b24: e7f6 b.n 8004b14 + +08004b26 : + 8004b26: b537 push {r0, r1, r2, r4, r5, lr} + 8004b28: 2300 movs r3, #0 + 8004b2a: f8ad 3004 strh.w r3, [sp, #4] + 8004b2e: aa01 add r2, sp, #4 + 8004b30: 2302 movs r3, #2 + 8004b32: 2112 movs r1, #18 + 8004b34: 4605 mov r5, r0 + 8004b36: f7ff ffc3 bl 8004ac0 + 8004b3a: f8bd 4004 ldrh.w r4, [sp, #4] + 8004b3e: 2302 movs r3, #2 + 8004b40: ba64 rev16 r4, r4 + 8004b42: aa01 add r2, sp, #4 + 8004b44: b2a4 uxth r4, r4 + 8004b46: 4619 mov r1, r3 + 8004b48: 4628 mov r0, r5 + 8004b4a: f7ff ff81 bl 8004a50 + 8004b4e: 07e2 lsls r2, r4, #31 + 8004b50: d502 bpl.n 8004b58 + 8004b52: 4628 mov r0, r5 + 8004b54: f009 fb68 bl 800e228 + 8004b58: 07a3 lsls r3, r4, #30 + 8004b5a: d502 bpl.n 8004b62 + 8004b5c: 4628 mov r0, r5 + 8004b5e: f009 fb69 bl 800e234 + 8004b62: 0760 lsls r0, r4, #29 + 8004b64: d502 bpl.n 8004b6c + 8004b66: 4628 mov r0, r5 + 8004b68: f009 fb8e bl 800e288 + 8004b6c: 0721 lsls r1, r4, #28 + 8004b6e: d502 bpl.n 8004b76 + 8004b70: 4628 mov r0, r5 + 8004b72: f009 fb8f bl 800e294 + 8004b76: 06e2 lsls r2, r4, #27 + 8004b78: d502 bpl.n 8004b80 + 8004b7a: 4628 mov r0, r5 + 8004b7c: f009 fb90 bl 800e2a0 + 8004b80: 06a3 lsls r3, r4, #26 + 8004b82: d502 bpl.n 8004b8a + 8004b84: 4628 mov r0, r5 + 8004b86: f009 fb79 bl 800e27c + 8004b8a: 0660 lsls r0, r4, #25 + 8004b8c: d502 bpl.n 8004b94 + 8004b8e: 4628 mov r0, r5 + 8004b90: f009 fb56 bl 800e240 + 8004b94: 0621 lsls r1, r4, #24 + 8004b96: d506 bpl.n 8004ba6 + 8004b98: f414 7180 ands.w r1, r4, #256 ; 0x100 + 8004b9c: bf18 it ne + 8004b9e: 2101 movne r1, #1 + 8004ba0: 4628 mov r0, r5 + 8004ba2: f009 fb53 bl 800e24c + 8004ba6: 05a2 lsls r2, r4, #22 + 8004ba8: d502 bpl.n 8004bb0 + 8004baa: 4628 mov r0, r5 + 8004bac: f009 fb5e bl 800e26c + 8004bb0: 0463 lsls r3, r4, #17 + 8004bb2: d502 bpl.n 8004bba + 8004bb4: 4628 mov r0, r5 + 8004bb6: f009 fb79 bl 800e2ac + 8004bba: b003 add sp, #12 + 8004bbc: bd30 pop {r4, r5, pc} + +08004bbe : + 8004bbe: b5f8 push {r3, r4, r5, r6, r7, lr} + 8004bc0: 461e mov r6, r3 + 8004bc2: 7983 ldrb r3, [r0, #6] + 8004bc4: 2b01 cmp r3, #1 + 8004bc6: 4615 mov r5, r2 + 8004bc8: 4604 mov r4, r0 + 8004bca: 460f mov r7, r1 + 8004bcc: b2da uxtb r2, r3 + 8004bce: d127 bne.n 8004c20 + 8004bd0: 7943 ldrb r3, [r0, #5] + 8004bd2: 2b01 cmp r3, #1 + 8004bd4: d024 beq.n 8004c20 + 8004bd6: 7142 strb r2, [r0, #5] + 8004bd8: f7ff feaa bl 8004930 + 8004bdc: 210e movs r1, #14 + 8004bde: 4620 mov r0, r4 + 8004be0: f7ff fda0 bl 8004724 + 8004be4: f7ff fe16 bl 8004814 + 8004be8: 4639 mov r1, r7 + 8004bea: 4620 mov r0, r4 + 8004bec: f7ff fe12 bl 8004814 + 8004bf0: 442e add r6, r5 + 8004bf2: 42b5 cmp r5, r6 + 8004bf4: d10e bne.n 8004c14 + 8004bf6: 4620 mov r0, r4 + 8004bf8: f7ff fd8a bl 8004710 + 8004bfc: f7ff fe74 bl 80048e8 + 8004c00: 68a0 ldr r0, [r4, #8] + 8004c02: 2301 movs r3, #1 + 8004c04: 3800 subs r0, #0 + 8004c06: 71a3 strb r3, [r4, #6] + 8004c08: f04f 0300 mov.w r3, #0 + 8004c0c: bf18 it ne + 8004c0e: 2001 movne r0, #1 + 8004c10: 7163 strb r3, [r4, #5] + 8004c12: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8004c14: f815 1b01 ldrb.w r1, [r5], #1 + 8004c18: 4620 mov r0, r4 + 8004c1a: f7ff fdfb bl 8004814 + 8004c1e: e7e8 b.n 8004bf2 + 8004c20: 2002 movs r0, #2 + 8004c22: e7f6 b.n 8004c12 + +08004c24 : + 8004c24: b5f8 push {r3, r4, r5, r6, r7, lr} + 8004c26: 461e mov r6, r3 + 8004c28: 7983 ldrb r3, [r0, #6] + 8004c2a: 2b01 cmp r3, #1 + 8004c2c: 4615 mov r5, r2 + 8004c2e: 4604 mov r4, r0 + 8004c30: 460f mov r7, r1 + 8004c32: b2da uxtb r2, r3 + 8004c34: d12b bne.n 8004c8e + 8004c36: 7943 ldrb r3, [r0, #5] + 8004c38: 2b01 cmp r3, #1 + 8004c3a: d028 beq.n 8004c8e + 8004c3c: 7142 strb r2, [r0, #5] + 8004c3e: f7ff fe77 bl 8004930 + 8004c42: 211e movs r1, #30 + 8004c44: 4620 mov r0, r4 + 8004c46: f7ff fd6d bl 8004724 + 8004c4a: f7ff fde3 bl 8004814 + 8004c4e: 4639 mov r1, r7 + 8004c50: 4620 mov r0, r4 + 8004c52: f7ff fddf bl 8004814 + 8004c56: 2100 movs r1, #0 + 8004c58: 4620 mov r0, r4 + 8004c5a: f7ff fddb bl 8004814 + 8004c5e: 442e add r6, r5 + 8004c60: 42b5 cmp r5, r6 + 8004c62: d10e bne.n 8004c82 + 8004c64: 4620 mov r0, r4 + 8004c66: f7ff fd53 bl 8004710 + 8004c6a: f7ff fe3d bl 80048e8 + 8004c6e: 68a0 ldr r0, [r4, #8] + 8004c70: 2301 movs r3, #1 + 8004c72: 3800 subs r0, #0 + 8004c74: 71a3 strb r3, [r4, #6] + 8004c76: f04f 0300 mov.w r3, #0 + 8004c7a: bf18 it ne + 8004c7c: 2001 movne r0, #1 + 8004c7e: 7163 strb r3, [r4, #5] + 8004c80: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8004c82: 4629 mov r1, r5 + 8004c84: 4620 mov r0, r4 + 8004c86: f7ff fdf9 bl 800487c + 8004c8a: 3501 adds r5, #1 + 8004c8c: e7e8 b.n 8004c60 + 8004c8e: 2002 movs r0, #2 + 8004c90: e7f6 b.n 8004c80 + +08004c92 : + 8004c92: 6802 ldr r2, [r0, #0] + 8004c94: e852 3f00 ldrex r3, [r2] + 8004c98: f023 03c0 bic.w r3, r3, #192 ; 0xc0 + 8004c9c: e842 3100 strex r1, r3, [r2] + 8004ca0: 6802 ldr r2, [r0, #0] + 8004ca2: 2900 cmp r1, #0 + 8004ca4: d1f5 bne.n 8004c92 + 8004ca6: f102 0308 add.w r3, r2, #8 + 8004caa: e853 3f00 ldrex r3, [r3] + 8004cae: f423 0300 bic.w r3, r3, #8388608 ; 0x800000 + 8004cb2: f102 0c08 add.w ip, r2, #8 + 8004cb6: e84c 3100 strex r1, r3, [ip] + 8004cba: 2900 cmp r1, #0 + 8004cbc: d1f3 bne.n 8004ca6 + 8004cbe: 2320 movs r3, #32 + 8004cc0: f8c0 3088 str.w r3, [r0, #136] ; 0x88 + 8004cc4: 4770 bx lr ... -08004a98 : - 8004a98: 4a03 ldr r2, [pc, #12] ; (8004aa8 ) - 8004a9a: f8d2 3090 ldr.w r3, [r2, #144] ; 0x90 - 8004a9e: f443 4300 orr.w r3, r3, #32768 ; 0x8000 - 8004aa2: f8c2 3090 str.w r3, [r2, #144] ; 0x90 - 8004aa6: 4770 bx lr - 8004aa8: 58000400 .word 0x58000400 +08004cc8 : + 8004cc8: b510 push {r4, lr} + 8004cca: 6802 ldr r2, [r0, #0] + 8004ccc: e852 3f00 ldrex r3, [r2] + 8004cd0: f423 7390 bic.w r3, r3, #288 ; 0x120 + 8004cd4: e842 3100 strex r1, r3, [r2] + 8004cd8: 6802 ldr r2, [r0, #0] + 8004cda: 2900 cmp r1, #0 + 8004cdc: d1f5 bne.n 8004cca + 8004cde: 4c0f ldr r4, [pc, #60] ; (8004d1c ) + 8004ce0: f102 0308 add.w r3, r2, #8 + 8004ce4: e853 3f00 ldrex r3, [r3] + 8004ce8: 4023 ands r3, r4 + 8004cea: f102 0c08 add.w ip, r2, #8 + 8004cee: e84c 3100 strex r1, r3, [ip] + 8004cf2: 2900 cmp r1, #0 + 8004cf4: d1f4 bne.n 8004ce0 + 8004cf6: 6ec3 ldr r3, [r0, #108] ; 0x6c + 8004cf8: 2b01 cmp r3, #1 + 8004cfa: d107 bne.n 8004d0c + 8004cfc: e852 3f00 ldrex r3, [r2] + 8004d00: f023 0310 bic.w r3, r3, #16 + 8004d04: e842 3100 strex r1, r3, [r2] + 8004d08: 2900 cmp r1, #0 + 8004d0a: d1f7 bne.n 8004cfc + 8004d0c: 2320 movs r3, #32 + 8004d0e: f8c0 308c str.w r3, [r0, #140] ; 0x8c + 8004d12: 2300 movs r3, #0 + 8004d14: 66c3 str r3, [r0, #108] ; 0x6c + 8004d16: 6743 str r3, [r0, #116] ; 0x74 + 8004d18: bd10 pop {r4, pc} + 8004d1a: bf00 nop + 8004d1c: effffffe .word 0xeffffffe -08004aac : - 8004aac: 4a03 ldr r2, [pc, #12] ; (8004abc ) - 8004aae: f8d2 3090 ldr.w r3, [r2, #144] ; 0x90 - 8004ab2: f423 4300 bic.w r3, r3, #32768 ; 0x8000 - 8004ab6: f8c2 3090 str.w r3, [r2, #144] ; 0x90 - 8004aba: 4770 bx lr - 8004abc: 58000400 .word 0x58000400 +08004d20 : + 8004d20: b5f8 push {r3, r4, r5, r6, r7, lr} + 8004d22: 4604 mov r4, r0 + 8004d24: 4613 mov r3, r2 + 8004d26: f8d4 5088 ldr.w r5, [r4, #136] ; 0x88 + 8004d2a: 2d20 cmp r5, #32 + 8004d2c: d132 bne.n 8004d94 + 8004d2e: b1f1 cbz r1, 8004d6e + 8004d30: b1ea cbz r2, 8004d6e + 8004d32: 6fe0 ldr r0, [r4, #124] ; 0x7c + 8004d34: f8a4 2056 strh.w r2, [r4, #86] ; 0x56 + 8004d38: f8a4 2054 strh.w r2, [r4, #84] ; 0x54 + 8004d3c: 2600 movs r6, #0 + 8004d3e: 2221 movs r2, #33 ; 0x21 + 8004d40: f8c4 6090 str.w r6, [r4, #144] ; 0x90 + 8004d44: 6521 str r1, [r4, #80] ; 0x50 + 8004d46: f8c4 2088 str.w r2, [r4, #136] ; 0x88 + 8004d4a: 6822 ldr r2, [r4, #0] + 8004d4c: b188 cbz r0, 8004d72 + 8004d4e: 4f12 ldr r7, [pc, #72] ; (8004d98 ) + 8004d50: 62c7 str r7, [r0, #44] ; 0x2c + 8004d52: 4f12 ldr r7, [pc, #72] ; (8004d9c ) + 8004d54: 6307 str r7, [r0, #48] ; 0x30 + 8004d56: 4f12 ldr r7, [pc, #72] ; (8004da0 ) + 8004d58: 3228 adds r2, #40 ; 0x28 + 8004d5a: e9c0 760d strd r7, r6, [r0, #52] ; 0x34 + 8004d5e: f7fe f95f bl 8003020 + 8004d62: b130 cbz r0, 8004d72 + 8004d64: 2310 movs r3, #16 + 8004d66: f8c4 3090 str.w r3, [r4, #144] ; 0x90 + 8004d6a: f8c4 5088 str.w r5, [r4, #136] ; 0x88 + 8004d6e: 2001 movs r0, #1 + 8004d70: e00f b.n 8004d92 + 8004d72: 6823 ldr r3, [r4, #0] + 8004d74: 2240 movs r2, #64 ; 0x40 + 8004d76: 621a str r2, [r3, #32] + 8004d78: 6822 ldr r2, [r4, #0] + 8004d7a: f102 0308 add.w r3, r2, #8 + 8004d7e: e853 3f00 ldrex r3, [r3] + 8004d82: f043 0380 orr.w r3, r3, #128 ; 0x80 + 8004d86: f102 0108 add.w r1, r2, #8 + 8004d8a: e841 3000 strex r0, r3, [r1] + 8004d8e: 2800 cmp r0, #0 + 8004d90: d1f3 bne.n 8004d7a + 8004d92: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8004d94: 2002 movs r0, #2 + 8004d96: e7fc b.n 8004d92 + 8004d98: 08004da5 .word 0x08004da5 + 8004d9c: 08004ded .word 0x08004ded + 8004da0: 08004df9 .word 0x08004df9 -08004ac0 : - 8004ac0: 4b07 ldr r3, [pc, #28] ; (8004ae0 ) - 8004ac2: 681a ldr r2, [r3, #0] - 8004ac4: f022 0240 bic.w r2, r2, #64 ; 0x40 - 8004ac8: 601a str r2, [r3, #0] - 8004aca: f440 7041 orr.w r0, r0, #772 ; 0x304 - 8004ace: f44f 52b8 mov.w r2, #5888 ; 0x1700 - 8004ad2: 6018 str r0, [r3, #0] - 8004ad4: 605a str r2, [r3, #4] - 8004ad6: 681a ldr r2, [r3, #0] - 8004ad8: f042 0240 orr.w r2, r2, #64 ; 0x40 - 8004adc: 601a str r2, [r3, #0] - 8004ade: 4770 bx lr - 8004ae0: 58010000 .word 0x58010000 +08004da4 : + 8004da4: b508 push {r3, lr} + 8004da6: 4603 mov r3, r0 + 8004da8: 6a80 ldr r0, [r0, #40] ; 0x28 + 8004daa: 681b ldr r3, [r3, #0] + 8004dac: 681b ldr r3, [r3, #0] + 8004dae: f013 0320 ands.w r3, r3, #32 + 8004db2: d117 bne.n 8004de4 + 8004db4: f8a0 3056 strh.w r3, [r0, #86] ; 0x56 + 8004db8: 6802 ldr r2, [r0, #0] + 8004dba: f102 0308 add.w r3, r2, #8 + 8004dbe: e853 3f00 ldrex r3, [r3] + 8004dc2: f023 0380 bic.w r3, r3, #128 ; 0x80 + 8004dc6: 3208 adds r2, #8 + 8004dc8: e842 3100 strex r1, r3, [r2] + 8004dcc: 6802 ldr r2, [r0, #0] + 8004dce: 2900 cmp r1, #0 + 8004dd0: d1f2 bne.n 8004db8 + 8004dd2: e852 3f00 ldrex r3, [r2] + 8004dd6: f043 0340 orr.w r3, r3, #64 ; 0x40 + 8004dda: e842 3100 strex r1, r3, [r2] + 8004dde: 2900 cmp r1, #0 + 8004de0: d1f7 bne.n 8004dd2 + 8004de2: bd08 pop {r3, pc} + 8004de4: f7fc ffd6 bl 8001d94 + 8004de8: e7fb b.n 8004de2 -08004ae4 : - 8004ae4: b537 push {r0, r1, r2, r4, r5, lr} - 8004ae6: 4605 mov r5, r0 - 8004ae8: 2800 cmp r0, #0 - 8004aea: d04e beq.n 8004b8a - 8004aec: 7983 ldrb r3, [r0, #6] - 8004aee: f003 04ff and.w r4, r3, #255 ; 0xff - 8004af2: b16b cbz r3, 8004b10 - 8004af4: 2c03 cmp r4, #3 - 8004af6: d00b beq.n 8004b10 - 8004af8: 4b25 ldr r3, [pc, #148] ; (8004b90 ) - 8004afa: f44f 6200 mov.w r2, #2048 ; 0x800 - 8004afe: 619a str r2, [r3, #24] - 8004b00: 6828 ldr r0, [r5, #0] - 8004b02: f7ff ffdd bl 8004ac0 - 8004b06: 2400 movs r4, #0 - 8004b08: 2301 movs r3, #1 - 8004b0a: 712b strb r3, [r5, #4] - 8004b0c: 60ac str r4, [r5, #8] - 8004b0e: e02f b.n 8004b70 - 8004b10: 2300 movs r3, #0 - 8004b12: 716b strb r3, [r5, #5] - 8004b14: 4628 mov r0, r5 - 8004b16: f7fc fddd bl 80016d4 - 8004b1a: 4a1e ldr r2, [pc, #120] ; (8004b94 ) - 8004b1c: f8d2 3090 ldr.w r3, [r2, #144] ; 0x90 - 8004b20: f443 5380 orr.w r3, r3, #4096 ; 0x1000 - 8004b24: f8c2 3090 str.w r3, [r2, #144] ; 0x90 - 8004b28: 2c00 cmp r4, #0 - 8004b2a: d1e5 bne.n 8004af8 - 8004b2c: 2302 movs r3, #2 - 8004b2e: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8004b32: 71ab strb r3, [r5, #6] - 8004b34: f8d2 3094 ldr.w r3, [r2, #148] ; 0x94 - 8004b38: f423 4300 bic.w r3, r3, #32768 ; 0x8000 - 8004b3c: f8c2 3094 str.w r3, [r2, #148] ; 0x94 - 8004b40: 4b15 ldr r3, [pc, #84] ; (8004b98 ) - 8004b42: 681b ldr r3, [r3, #0] - 8004b44: 211c movs r1, #28 - 8004b46: 434b muls r3, r1 - 8004b48: 0cdb lsrs r3, r3, #19 - 8004b4a: 2164 movs r1, #100 ; 0x64 - 8004b4c: 434b muls r3, r1 - 8004b4e: 9301 str r3, [sp, #4] - 8004b50: 9b01 ldr r3, [sp, #4] - 8004b52: b993 cbnz r3, 8004b7a - 8004b54: 2401 movs r4, #1 - 8004b56: 60ac str r4, [r5, #8] - 8004b58: f7ff ff9e bl 8004a98 - 8004b5c: 4b0c ldr r3, [pc, #48] ; (8004b90 ) - 8004b5e: 689a ldr r2, [r3, #8] - 8004b60: f442 6200 orr.w r2, r2, #2048 ; 0x800 - 8004b64: 609a str r2, [r3, #8] - 8004b66: f44f 6200 mov.w r2, #2048 ; 0x800 - 8004b6a: 619a str r2, [r3, #24] - 8004b6c: 2c00 cmp r4, #0 - 8004b6e: d0c7 beq.n 8004b00 - 8004b70: 2301 movs r3, #1 - 8004b72: 71ab strb r3, [r5, #6] - 8004b74: 4620 mov r0, r4 - 8004b76: b003 add sp, #12 - 8004b78: bd30 pop {r4, r5, pc} - 8004b7a: 9b01 ldr r3, [sp, #4] - 8004b7c: 3b01 subs r3, #1 - 8004b7e: 9301 str r3, [sp, #4] - 8004b80: f8d2 3094 ldr.w r3, [r2, #148] ; 0x94 - 8004b84: 045b lsls r3, r3, #17 - 8004b86: d4e3 bmi.n 8004b50 - 8004b88: e7e6 b.n 8004b58 - 8004b8a: 2401 movs r4, #1 - 8004b8c: e7f2 b.n 8004b74 - 8004b8e: bf00 nop - 8004b90: 58000400 .word 0x58000400 - 8004b94: 58000800 .word 0x58000800 - 8004b98: 20000074 .word 0x20000074 +08004dea : + 8004dea: 4770 bx lr -08004b9c : - 8004b9c: b537 push {r0, r1, r2, r4, r5, lr} - 8004b9e: 4d17 ldr r5, [pc, #92] ; (8004bfc ) - 8004ba0: 682b ldr r3, [r5, #0] - 8004ba2: 4602 mov r2, r0 - 8004ba4: 201c movs r0, #28 - 8004ba6: 4343 muls r3, r0 - 8004ba8: 0cdb lsrs r3, r3, #19 - 8004baa: 2064 movs r0, #100 ; 0x64 - 8004bac: 4343 muls r3, r0 - 8004bae: 4814 ldr r0, [pc, #80] ; (8004c00 ) - 8004bb0: 9301 str r3, [sp, #4] - 8004bb2: 9b01 ldr r3, [sp, #4] - 8004bb4: b993 cbnz r3, 8004bdc - 8004bb6: 2001 movs r0, #1 - 8004bb8: 6090 str r0, [r2, #8] - 8004bba: 4c11 ldr r4, [pc, #68] ; (8004c00 ) - 8004bbc: 7321 strb r1, [r4, #12] - 8004bbe: 682b ldr r3, [r5, #0] - 8004bc0: 211c movs r1, #28 - 8004bc2: 434b muls r3, r1 - 8004bc4: 0cdb lsrs r3, r3, #19 - 8004bc6: 2164 movs r1, #100 ; 0x64 - 8004bc8: 434b muls r3, r1 - 8004bca: 9301 str r3, [sp, #4] - 8004bcc: 9b01 ldr r3, [sp, #4] - 8004bce: b96b cbnz r3, 8004bec - 8004bd0: 2001 movs r0, #1 - 8004bd2: 6090 str r0, [r2, #8] - 8004bd4: 4b0a ldr r3, [pc, #40] ; (8004c00 ) - 8004bd6: 68db ldr r3, [r3, #12] - 8004bd8: b003 add sp, #12 - 8004bda: bd30 pop {r4, r5, pc} - 8004bdc: 9b01 ldr r3, [sp, #4] - 8004bde: 3b01 subs r3, #1 - 8004be0: 9301 str r3, [sp, #4] - 8004be2: 6883 ldr r3, [r0, #8] - 8004be4: 079c lsls r4, r3, #30 - 8004be6: d5e4 bpl.n 8004bb2 - 8004be8: 2000 movs r0, #0 - 8004bea: e7e6 b.n 8004bba - 8004bec: 9b01 ldr r3, [sp, #4] - 8004bee: 3b01 subs r3, #1 - 8004bf0: 9301 str r3, [sp, #4] - 8004bf2: 68a3 ldr r3, [r4, #8] - 8004bf4: 07db lsls r3, r3, #31 - 8004bf6: d5e9 bpl.n 8004bcc - 8004bf8: e7ec b.n 8004bd4 - 8004bfa: bf00 nop - 8004bfc: 20000074 .word 0x20000074 - 8004c00: 58010000 .word 0x58010000 +08004dec : + 8004dec: b508 push {r3, lr} + 8004dee: 6a80 ldr r0, [r0, #40] ; 0x28 + 8004df0: f7ff fffb bl 8004dea + 8004df4: bd08 pop {r3, pc} -08004c04 : - 8004c04: b537 push {r0, r1, r2, r4, r5, lr} - 8004c06: 4d18 ldr r5, [pc, #96] ; (8004c68 ) - 8004c08: 682b ldr r3, [r5, #0] - 8004c0a: 4602 mov r2, r0 - 8004c0c: 201c movs r0, #28 - 8004c0e: 4343 muls r3, r0 - 8004c10: 0cdb lsrs r3, r3, #19 - 8004c12: 2064 movs r0, #100 ; 0x64 - 8004c14: 4343 muls r3, r0 - 8004c16: 4815 ldr r0, [pc, #84] ; (8004c6c ) - 8004c18: 9301 str r3, [sp, #4] - 8004c1a: 9b01 ldr r3, [sp, #4] - 8004c1c: b9a3 cbnz r3, 8004c48 - 8004c1e: 2001 movs r0, #1 - 8004c20: 6090 str r0, [r2, #8] - 8004c22: 4c12 ldr r4, [pc, #72] ; (8004c6c ) - 8004c24: 23ff movs r3, #255 ; 0xff - 8004c26: 7323 strb r3, [r4, #12] - 8004c28: 682b ldr r3, [r5, #0] - 8004c2a: 251c movs r5, #28 - 8004c2c: 436b muls r3, r5 - 8004c2e: 0cdb lsrs r3, r3, #19 - 8004c30: 2564 movs r5, #100 ; 0x64 - 8004c32: 436b muls r3, r5 - 8004c34: 9301 str r3, [sp, #4] - 8004c36: 9b01 ldr r3, [sp, #4] - 8004c38: b973 cbnz r3, 8004c58 - 8004c3a: 2001 movs r0, #1 - 8004c3c: 6090 str r0, [r2, #8] - 8004c3e: 4b0b ldr r3, [pc, #44] ; (8004c6c ) - 8004c40: 68db ldr r3, [r3, #12] - 8004c42: 700b strb r3, [r1, #0] - 8004c44: b003 add sp, #12 - 8004c46: bd30 pop {r4, r5, pc} - 8004c48: 9b01 ldr r3, [sp, #4] - 8004c4a: 3b01 subs r3, #1 - 8004c4c: 9301 str r3, [sp, #4] - 8004c4e: 6883 ldr r3, [r0, #8] - 8004c50: 079c lsls r4, r3, #30 - 8004c52: d5e2 bpl.n 8004c1a - 8004c54: 2000 movs r0, #0 - 8004c56: e7e4 b.n 8004c22 - 8004c58: 9b01 ldr r3, [sp, #4] - 8004c5a: 3b01 subs r3, #1 - 8004c5c: 9301 str r3, [sp, #4] - 8004c5e: 68a3 ldr r3, [r4, #8] - 8004c60: 07db lsls r3, r3, #31 - 8004c62: d5e8 bpl.n 8004c36 - 8004c64: e7eb b.n 8004c3e - 8004c66: bf00 nop - 8004c68: 20000074 .word 0x20000074 - 8004c6c: 58010000 .word 0x58010000 +08004df6 : + 8004df6: 4770 bx lr -08004c70 : - 8004c70: 4b0f ldr r3, [pc, #60] ; (8004cb0 ) - 8004c72: b513 push {r0, r1, r4, lr} - 8004c74: 681b ldr r3, [r3, #0] - 8004c76: 4c0f ldr r4, [pc, #60] ; (8004cb4 ) - 8004c78: 2218 movs r2, #24 - 8004c7a: 4353 muls r3, r2 - 8004c7c: 0d1b lsrs r3, r3, #20 - 8004c7e: 2264 movs r2, #100 ; 0x64 - 8004c80: 4353 muls r3, r2 - 8004c82: 4601 mov r1, r0 - 8004c84: 9301 str r3, [sp, #4] - 8004c86: 6962 ldr r2, [r4, #20] - 8004c88: 9b01 ldr r3, [sp, #4] - 8004c8a: f002 0204 and.w r2, r2, #4 - 8004c8e: b923 cbnz r3, 8004c9a - 8004c90: 2302 movs r3, #2 - 8004c92: 608b str r3, [r1, #8] - 8004c94: 2001 movs r0, #1 - 8004c96: b002 add sp, #8 - 8004c98: bd10 pop {r4, pc} - 8004c9a: 9b01 ldr r3, [sp, #4] - 8004c9c: 3b01 subs r3, #1 - 8004c9e: 9301 str r3, [sp, #4] - 8004ca0: 6960 ldr r0, [r4, #20] - 8004ca2: f010 0002 ands.w r0, r0, #2 - 8004ca6: d0f6 beq.n 8004c96 - 8004ca8: 2a00 cmp r2, #0 - 8004caa: d1ec bne.n 8004c86 - 8004cac: 4610 mov r0, r2 - 8004cae: e7f2 b.n 8004c96 - 8004cb0: 20000074 .word 0x20000074 - 8004cb4: 58000400 .word 0x58000400 +08004df8 : + 8004df8: 6a80 ldr r0, [r0, #40] ; 0x28 + 8004dfa: b538 push {r3, r4, r5, lr} + 8004dfc: 6804 ldr r4, [r0, #0] + 8004dfe: f8d0 3088 ldr.w r3, [r0, #136] ; 0x88 + 8004e02: f8d0 508c ldr.w r5, [r0, #140] ; 0x8c + 8004e06: 68a2 ldr r2, [r4, #8] + 8004e08: 0612 lsls r2, r2, #24 + 8004e0a: d506 bpl.n 8004e1a + 8004e0c: 2b21 cmp r3, #33 ; 0x21 + 8004e0e: d104 bne.n 8004e1a + 8004e10: 2300 movs r3, #0 + 8004e12: f8a0 3056 strh.w r3, [r0, #86] ; 0x56 + 8004e16: f7ff ff3c bl 8004c92 + 8004e1a: 68a3 ldr r3, [r4, #8] + 8004e1c: 065b lsls r3, r3, #25 + 8004e1e: d506 bpl.n 8004e2e + 8004e20: 2d22 cmp r5, #34 ; 0x22 + 8004e22: d104 bne.n 8004e2e + 8004e24: 2300 movs r3, #0 + 8004e26: f8a0 305e strh.w r3, [r0, #94] ; 0x5e + 8004e2a: f7ff ff4d bl 8004cc8 + 8004e2e: f8d0 3090 ldr.w r3, [r0, #144] ; 0x90 + 8004e32: f043 0310 orr.w r3, r3, #16 + 8004e36: f8c0 3090 str.w r3, [r0, #144] ; 0x90 + 8004e3a: f7ff ffdc bl 8004df6 + 8004e3e: bd38 pop {r3, r4, r5, pc} -08004cb8 : - 8004cb8: b507 push {r0, r1, r2, lr} - 8004cba: 7903 ldrb r3, [r0, #4] - 8004cbc: 2b01 cmp r3, #1 - 8004cbe: d10f bne.n 8004ce0 - 8004cc0: 4b0a ldr r3, [pc, #40] ; (8004cec ) - 8004cc2: 681b ldr r3, [r3, #0] - 8004cc4: 2218 movs r2, #24 - 8004cc6: 4353 muls r3, r2 - 8004cc8: 0c1b lsrs r3, r3, #16 - 8004cca: 9301 str r3, [sp, #4] - 8004ccc: f7ff feee bl 8004aac - 8004cd0: 9b01 ldr r3, [sp, #4] - 8004cd2: 3b01 subs r3, #1 - 8004cd4: 9301 str r3, [sp, #4] - 8004cd6: 9b01 ldr r3, [sp, #4] - 8004cd8: 2b00 cmp r3, #0 - 8004cda: d1f9 bne.n 8004cd0 - 8004cdc: f7ff fedc bl 8004a98 - 8004ce0: b003 add sp, #12 - 8004ce2: f85d eb04 ldr.w lr, [sp], #4 - 8004ce6: f7ff bfc3 b.w 8004c70 - 8004cea: bf00 nop - 8004cec: 20000074 .word 0x20000074 +08004e40 : + 8004e40: b508 push {r3, lr} + 8004e42: 6a80 ldr r0, [r0, #40] ; 0x28 + 8004e44: 2300 movs r3, #0 + 8004e46: f8a0 305e strh.w r3, [r0, #94] ; 0x5e + 8004e4a: f8a0 3056 strh.w r3, [r0, #86] ; 0x56 + 8004e4e: f7ff ffd2 bl 8004df6 + 8004e52: bd08 pop {r3, pc} -08004cf0 : - 8004cf0: b5f8 push {r3, r4, r5, r6, r7, lr} - 8004cf2: 461e mov r6, r3 - 8004cf4: 7983 ldrb r3, [r0, #6] - 8004cf6: 2b01 cmp r3, #1 - 8004cf8: 4615 mov r5, r2 - 8004cfa: 4604 mov r4, r0 - 8004cfc: 460f mov r7, r1 - 8004cfe: b2da uxtb r2, r3 - 8004d00: d12d bne.n 8004d5e - 8004d02: 7943 ldrb r3, [r0, #5] - 8004d04: 2b01 cmp r3, #1 - 8004d06: d02a beq.n 8004d5e - 8004d08: 2302 movs r3, #2 - 8004d0a: 7142 strb r2, [r0, #5] - 8004d0c: 7183 strb r3, [r0, #6] - 8004d0e: f7ff ffd3 bl 8004cb8 - 8004d12: 210d movs r1, #13 - 8004d14: 4620 mov r0, r4 - 8004d16: f7ff fec9 bl 8004aac - 8004d1a: f7ff ff3f bl 8004b9c - 8004d1e: 0a39 lsrs r1, r7, #8 - 8004d20: 4620 mov r0, r4 - 8004d22: f7ff ff3b bl 8004b9c - 8004d26: b2f9 uxtb r1, r7 - 8004d28: 4620 mov r0, r4 - 8004d2a: f7ff ff37 bl 8004b9c - 8004d2e: 442e add r6, r5 - 8004d30: 42b5 cmp r5, r6 - 8004d32: d10e bne.n 8004d52 - 8004d34: 4620 mov r0, r4 - 8004d36: f7ff feaf bl 8004a98 - 8004d3a: f7ff ff99 bl 8004c70 - 8004d3e: 68a0 ldr r0, [r4, #8] - 8004d40: 2301 movs r3, #1 - 8004d42: 3800 subs r0, #0 - 8004d44: 71a3 strb r3, [r4, #6] - 8004d46: f04f 0300 mov.w r3, #0 - 8004d4a: bf18 it ne - 8004d4c: 2001 movne r0, #1 - 8004d4e: 7163 strb r3, [r4, #5] - 8004d50: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8004d52: f815 1b01 ldrb.w r1, [r5], #1 - 8004d56: 4620 mov r0, r4 - 8004d58: f7ff ff20 bl 8004b9c - 8004d5c: e7e8 b.n 8004d30 - 8004d5e: 2002 movs r0, #2 - 8004d60: e7f6 b.n 8004d50 - -08004d62 : - 8004d62: b5f8 push {r3, r4, r5, r6, r7, lr} - 8004d64: 461e mov r6, r3 - 8004d66: 7983 ldrb r3, [r0, #6] - 8004d68: 2b01 cmp r3, #1 - 8004d6a: 4615 mov r5, r2 - 8004d6c: 4604 mov r4, r0 - 8004d6e: 460f mov r7, r1 - 8004d70: b2da uxtb r2, r3 - 8004d72: d12f bne.n 8004dd4 - 8004d74: 7943 ldrb r3, [r0, #5] - 8004d76: 2b01 cmp r3, #1 - 8004d78: d02c beq.n 8004dd4 - 8004d7a: 7142 strb r2, [r0, #5] - 8004d7c: f7ff ff9c bl 8004cb8 - 8004d80: 211d movs r1, #29 - 8004d82: 4620 mov r0, r4 - 8004d84: f7ff fe92 bl 8004aac - 8004d88: f7ff ff08 bl 8004b9c - 8004d8c: 0a39 lsrs r1, r7, #8 - 8004d8e: 4620 mov r0, r4 - 8004d90: f7ff ff04 bl 8004b9c - 8004d94: b2f9 uxtb r1, r7 - 8004d96: 4620 mov r0, r4 - 8004d98: f7ff ff00 bl 8004b9c - 8004d9c: 2100 movs r1, #0 - 8004d9e: 4620 mov r0, r4 - 8004da0: f7ff fefc bl 8004b9c - 8004da4: 442e add r6, r5 - 8004da6: 42b5 cmp r5, r6 - 8004da8: d10e bne.n 8004dc8 - 8004daa: 4620 mov r0, r4 - 8004dac: f7ff fe74 bl 8004a98 - 8004db0: f7ff ff5e bl 8004c70 - 8004db4: 68a0 ldr r0, [r4, #8] - 8004db6: 2301 movs r3, #1 - 8004db8: 3800 subs r0, #0 - 8004dba: 71a3 strb r3, [r4, #6] - 8004dbc: f04f 0300 mov.w r3, #0 - 8004dc0: bf18 it ne - 8004dc2: 2001 movne r0, #1 - 8004dc4: 7163 strb r3, [r4, #5] - 8004dc6: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8004dc8: 4629 mov r1, r5 - 8004dca: 4620 mov r0, r4 - 8004dcc: f7ff ff1a bl 8004c04 - 8004dd0: 3501 adds r5, #1 - 8004dd2: e7e8 b.n 8004da6 - 8004dd4: 2002 movs r0, #2 - 8004dd6: e7f6 b.n 8004dc6 - -08004dd8 : - 8004dd8: b5f8 push {r3, r4, r5, r6, r7, lr} - 8004dda: 461f mov r7, r3 - 8004ddc: 7983 ldrb r3, [r0, #6] - 8004dde: 2b01 cmp r3, #1 - 8004de0: 4615 mov r5, r2 - 8004de2: 4604 mov r4, r0 - 8004de4: 460e mov r6, r1 - 8004de6: b2da uxtb r2, r3 - 8004de8: d12c bne.n 8004e44 - 8004dea: 7943 ldrb r3, [r0, #5] - 8004dec: 2b01 cmp r3, #1 - 8004dee: d029 beq.n 8004e44 - 8004df0: 7142 strb r2, [r0, #5] - 8004df2: f7ff ff61 bl 8004cb8 - 8004df6: f006 03ef and.w r3, r6, #239 ; 0xef - 8004dfa: f1a3 0284 sub.w r2, r3, #132 ; 0x84 - 8004dfe: 4253 negs r3, r2 - 8004e00: 4153 adcs r3, r2 - 8004e02: 7123 strb r3, [r4, #4] - 8004e04: 4631 mov r1, r6 - 8004e06: 4620 mov r0, r4 - 8004e08: f7ff fe50 bl 8004aac - 8004e0c: f7ff fec6 bl 8004b9c - 8004e10: 442f add r7, r5 - 8004e12: 42af cmp r7, r5 - 8004e14: d110 bne.n 8004e38 - 8004e16: f7ff fe3f bl 8004a98 - 8004e1a: 2e84 cmp r6, #132 ; 0x84 - 8004e1c: d002 beq.n 8004e24 - 8004e1e: 4620 mov r0, r4 - 8004e20: f7ff ff26 bl 8004c70 - 8004e24: 68a0 ldr r0, [r4, #8] - 8004e26: 2301 movs r3, #1 - 8004e28: 3800 subs r0, #0 - 8004e2a: 71a3 strb r3, [r4, #6] - 8004e2c: f04f 0300 mov.w r3, #0 - 8004e30: bf18 it ne - 8004e32: 2001 movne r0, #1 - 8004e34: 7163 strb r3, [r4, #5] - 8004e36: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8004e38: f815 1b01 ldrb.w r1, [r5], #1 - 8004e3c: 4620 mov r0, r4 - 8004e3e: f7ff fead bl 8004b9c - 8004e42: e7e6 b.n 8004e12 - 8004e44: 2002 movs r0, #2 - 8004e46: e7f6 b.n 8004e36 - -08004e48 : - 8004e48: b5f8 push {r3, r4, r5, r6, r7, lr} - 8004e4a: 461e mov r6, r3 - 8004e4c: 7983 ldrb r3, [r0, #6] - 8004e4e: 2b01 cmp r3, #1 - 8004e50: 4615 mov r5, r2 - 8004e52: 4604 mov r4, r0 - 8004e54: 460f mov r7, r1 - 8004e56: b2da uxtb r2, r3 - 8004e58: d127 bne.n 8004eaa - 8004e5a: 7943 ldrb r3, [r0, #5] - 8004e5c: 2b01 cmp r3, #1 - 8004e5e: d024 beq.n 8004eaa - 8004e60: 7142 strb r2, [r0, #5] - 8004e62: f7ff ff29 bl 8004cb8 - 8004e66: 4639 mov r1, r7 - 8004e68: 4620 mov r0, r4 - 8004e6a: f7ff fe1f bl 8004aac - 8004e6e: f7ff fe95 bl 8004b9c - 8004e72: 2100 movs r1, #0 - 8004e74: 4620 mov r0, r4 - 8004e76: f7ff fe91 bl 8004b9c - 8004e7a: 442e add r6, r5 - 8004e7c: 42b5 cmp r5, r6 - 8004e7e: d10e bne.n 8004e9e - 8004e80: 4620 mov r0, r4 - 8004e82: f7ff fe09 bl 8004a98 - 8004e86: f7ff fef3 bl 8004c70 - 8004e8a: 68a0 ldr r0, [r4, #8] - 8004e8c: 2301 movs r3, #1 - 8004e8e: 3800 subs r0, #0 - 8004e90: 71a3 strb r3, [r4, #6] - 8004e92: f04f 0300 mov.w r3, #0 - 8004e96: bf18 it ne - 8004e98: 2001 movne r0, #1 - 8004e9a: 7163 strb r3, [r4, #5] - 8004e9c: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8004e9e: 4629 mov r1, r5 - 8004ea0: 4620 mov r0, r4 - 8004ea2: f7ff feaf bl 8004c04 - 8004ea6: 3501 adds r5, #1 - 8004ea8: e7e8 b.n 8004e7c - 8004eaa: 2002 movs r0, #2 - 8004eac: e7f6 b.n 8004e9c - -08004eae : - 8004eae: b537 push {r0, r1, r2, r4, r5, lr} - 8004eb0: 2300 movs r3, #0 - 8004eb2: f8ad 3004 strh.w r3, [sp, #4] - 8004eb6: aa01 add r2, sp, #4 - 8004eb8: 2302 movs r3, #2 - 8004eba: 2112 movs r1, #18 - 8004ebc: 4605 mov r5, r0 - 8004ebe: f7ff ffc3 bl 8004e48 - 8004ec2: f8bd 4004 ldrh.w r4, [sp, #4] - 8004ec6: 2302 movs r3, #2 - 8004ec8: ba64 rev16 r4, r4 - 8004eca: aa01 add r2, sp, #4 - 8004ecc: b2a4 uxth r4, r4 - 8004ece: 4619 mov r1, r3 - 8004ed0: 4628 mov r0, r5 - 8004ed2: f7ff ff81 bl 8004dd8 - 8004ed6: 07e2 lsls r2, r4, #31 - 8004ed8: d502 bpl.n 8004ee0 - 8004eda: 4628 mov r0, r5 - 8004edc: f009 fb88 bl 800e5f0 - 8004ee0: 07a3 lsls r3, r4, #30 - 8004ee2: d502 bpl.n 8004eea - 8004ee4: 4628 mov r0, r5 - 8004ee6: f009 fb89 bl 800e5fc - 8004eea: 0760 lsls r0, r4, #29 - 8004eec: d502 bpl.n 8004ef4 - 8004eee: 4628 mov r0, r5 - 8004ef0: f009 fbae bl 800e650 - 8004ef4: 0721 lsls r1, r4, #28 - 8004ef6: d502 bpl.n 8004efe - 8004ef8: 4628 mov r0, r5 - 8004efa: f009 fbaf bl 800e65c - 8004efe: 06e2 lsls r2, r4, #27 - 8004f00: d502 bpl.n 8004f08 - 8004f02: 4628 mov r0, r5 - 8004f04: f009 fbb0 bl 800e668 - 8004f08: 06a3 lsls r3, r4, #26 - 8004f0a: d502 bpl.n 8004f12 - 8004f0c: 4628 mov r0, r5 - 8004f0e: f009 fb99 bl 800e644 - 8004f12: 0660 lsls r0, r4, #25 - 8004f14: d502 bpl.n 8004f1c - 8004f16: 4628 mov r0, r5 - 8004f18: f009 fb76 bl 800e608 - 8004f1c: 0621 lsls r1, r4, #24 - 8004f1e: d506 bpl.n 8004f2e - 8004f20: f414 7180 ands.w r1, r4, #256 ; 0x100 - 8004f24: bf18 it ne - 8004f26: 2101 movne r1, #1 - 8004f28: 4628 mov r0, r5 - 8004f2a: f009 fb73 bl 800e614 - 8004f2e: 05a2 lsls r2, r4, #22 - 8004f30: d502 bpl.n 8004f38 - 8004f32: 4628 mov r0, r5 - 8004f34: f009 fb7e bl 800e634 - 8004f38: 0463 lsls r3, r4, #17 - 8004f3a: d502 bpl.n 8004f42 - 8004f3c: 4628 mov r0, r5 - 8004f3e: f009 fb99 bl 800e674 - 8004f42: b003 add sp, #12 - 8004f44: bd30 pop {r4, r5, pc} - -08004f46 : - 8004f46: b5f8 push {r3, r4, r5, r6, r7, lr} - 8004f48: 461e mov r6, r3 - 8004f4a: 7983 ldrb r3, [r0, #6] - 8004f4c: 2b01 cmp r3, #1 - 8004f4e: 4615 mov r5, r2 - 8004f50: 4604 mov r4, r0 - 8004f52: 460f mov r7, r1 - 8004f54: b2da uxtb r2, r3 - 8004f56: d127 bne.n 8004fa8 - 8004f58: 7943 ldrb r3, [r0, #5] - 8004f5a: 2b01 cmp r3, #1 - 8004f5c: d024 beq.n 8004fa8 - 8004f5e: 7142 strb r2, [r0, #5] - 8004f60: f7ff feaa bl 8004cb8 - 8004f64: 210e movs r1, #14 - 8004f66: 4620 mov r0, r4 - 8004f68: f7ff fda0 bl 8004aac - 8004f6c: f7ff fe16 bl 8004b9c - 8004f70: 4639 mov r1, r7 - 8004f72: 4620 mov r0, r4 - 8004f74: f7ff fe12 bl 8004b9c - 8004f78: 442e add r6, r5 - 8004f7a: 42b5 cmp r5, r6 - 8004f7c: d10e bne.n 8004f9c - 8004f7e: 4620 mov r0, r4 - 8004f80: f7ff fd8a bl 8004a98 - 8004f84: f7ff fe74 bl 8004c70 - 8004f88: 68a0 ldr r0, [r4, #8] - 8004f8a: 2301 movs r3, #1 - 8004f8c: 3800 subs r0, #0 - 8004f8e: 71a3 strb r3, [r4, #6] - 8004f90: f04f 0300 mov.w r3, #0 - 8004f94: bf18 it ne - 8004f96: 2001 movne r0, #1 - 8004f98: 7163 strb r3, [r4, #5] - 8004f9a: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8004f9c: f815 1b01 ldrb.w r1, [r5], #1 - 8004fa0: 4620 mov r0, r4 - 8004fa2: f7ff fdfb bl 8004b9c - 8004fa6: e7e8 b.n 8004f7a - 8004fa8: 2002 movs r0, #2 - 8004faa: e7f6 b.n 8004f9a - -08004fac : - 8004fac: b5f8 push {r3, r4, r5, r6, r7, lr} - 8004fae: 461e mov r6, r3 - 8004fb0: 7983 ldrb r3, [r0, #6] - 8004fb2: 2b01 cmp r3, #1 - 8004fb4: 4615 mov r5, r2 - 8004fb6: 4604 mov r4, r0 - 8004fb8: 460f mov r7, r1 - 8004fba: b2da uxtb r2, r3 - 8004fbc: d12b bne.n 8005016 - 8004fbe: 7943 ldrb r3, [r0, #5] - 8004fc0: 2b01 cmp r3, #1 - 8004fc2: d028 beq.n 8005016 - 8004fc4: 7142 strb r2, [r0, #5] - 8004fc6: f7ff fe77 bl 8004cb8 - 8004fca: 211e movs r1, #30 - 8004fcc: 4620 mov r0, r4 - 8004fce: f7ff fd6d bl 8004aac - 8004fd2: f7ff fde3 bl 8004b9c - 8004fd6: 4639 mov r1, r7 - 8004fd8: 4620 mov r0, r4 - 8004fda: f7ff fddf bl 8004b9c - 8004fde: 2100 movs r1, #0 - 8004fe0: 4620 mov r0, r4 - 8004fe2: f7ff fddb bl 8004b9c - 8004fe6: 442e add r6, r5 - 8004fe8: 42b5 cmp r5, r6 - 8004fea: d10e bne.n 800500a - 8004fec: 4620 mov r0, r4 - 8004fee: f7ff fd53 bl 8004a98 - 8004ff2: f7ff fe3d bl 8004c70 - 8004ff6: 68a0 ldr r0, [r4, #8] - 8004ff8: 2301 movs r3, #1 - 8004ffa: 3800 subs r0, #0 - 8004ffc: 71a3 strb r3, [r4, #6] - 8004ffe: f04f 0300 mov.w r3, #0 - 8005002: bf18 it ne - 8005004: 2001 movne r0, #1 - 8005006: 7163 strb r3, [r4, #5] - 8005008: bdf8 pop {r3, r4, r5, r6, r7, pc} - 800500a: 4629 mov r1, r5 - 800500c: 4620 mov r0, r4 - 800500e: f7ff fdf9 bl 8004c04 - 8005012: 3501 adds r5, #1 - 8005014: e7e8 b.n 8004fe8 - 8005016: 2002 movs r0, #2 - 8005018: e7f6 b.n 8005008 - -0800501a : - 800501a: 6802 ldr r2, [r0, #0] - 800501c: e852 3f00 ldrex r3, [r2] - 8005020: f023 03c0 bic.w r3, r3, #192 ; 0xc0 - 8005024: e842 3100 strex r1, r3, [r2] - 8005028: 6802 ldr r2, [r0, #0] - 800502a: 2900 cmp r1, #0 - 800502c: d1f5 bne.n 800501a - 800502e: f102 0308 add.w r3, r2, #8 - 8005032: e853 3f00 ldrex r3, [r3] - 8005036: f423 0300 bic.w r3, r3, #8388608 ; 0x800000 - 800503a: f102 0c08 add.w ip, r2, #8 - 800503e: e84c 3100 strex r1, r3, [ip] - 8005042: 2900 cmp r1, #0 - 8005044: d1f3 bne.n 800502e - 8005046: 2320 movs r3, #32 - 8005048: f8c0 3088 str.w r3, [r0, #136] ; 0x88 - 800504c: 4770 bx lr +08004e54 : + 8004e54: 4770 bx lr ... -08005050 : - 8005050: b510 push {r4, lr} - 8005052: 6802 ldr r2, [r0, #0] - 8005054: e852 3f00 ldrex r3, [r2] - 8005058: f423 7390 bic.w r3, r3, #288 ; 0x120 - 800505c: e842 3100 strex r1, r3, [r2] - 8005060: 6802 ldr r2, [r0, #0] - 8005062: 2900 cmp r1, #0 - 8005064: d1f5 bne.n 8005052 - 8005066: 4c0f ldr r4, [pc, #60] ; (80050a4 ) - 8005068: f102 0308 add.w r3, r2, #8 - 800506c: e853 3f00 ldrex r3, [r3] - 8005070: 4023 ands r3, r4 - 8005072: f102 0c08 add.w ip, r2, #8 - 8005076: e84c 3100 strex r1, r3, [ip] - 800507a: 2900 cmp r1, #0 - 800507c: d1f4 bne.n 8005068 - 800507e: 6ec3 ldr r3, [r0, #108] ; 0x6c - 8005080: 2b01 cmp r3, #1 - 8005082: d107 bne.n 8005094 - 8005084: e852 3f00 ldrex r3, [r2] - 8005088: f023 0310 bic.w r3, r3, #16 - 800508c: e842 3100 strex r1, r3, [r2] - 8005090: 2900 cmp r1, #0 - 8005092: d1f7 bne.n 8005084 - 8005094: 2320 movs r3, #32 - 8005096: f8c0 308c str.w r3, [r0, #140] ; 0x8c - 800509a: 2300 movs r3, #0 - 800509c: 66c3 str r3, [r0, #108] ; 0x6c - 800509e: 6743 str r3, [r0, #116] ; 0x74 - 80050a0: bd10 pop {r4, pc} - 80050a2: bf00 nop - 80050a4: effffffe .word 0xeffffffe +08004e58 : + 8004e58: 6803 ldr r3, [r0, #0] + 8004e5a: 69d9 ldr r1, [r3, #28] + 8004e5c: 681a ldr r2, [r3, #0] + 8004e5e: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8004e62: f640 060f movw r6, #2063 ; 0x80f + 8004e66: 4231 tst r1, r6 + 8004e68: 689d ldr r5, [r3, #8] + 8004e6a: 4604 mov r4, r0 + 8004e6c: d110 bne.n 8004e90 + 8004e6e: 068e lsls r6, r1, #26 + 8004e70: f140 8097 bpl.w 8004fa2 + 8004e74: f002 0620 and.w r6, r2, #32 + 8004e78: f005 5780 and.w r7, r5, #268435456 ; 0x10000000 + 8004e7c: 433e orrs r6, r7 + 8004e7e: f000 8090 beq.w 8004fa2 + 8004e82: 6f43 ldr r3, [r0, #116] ; 0x74 + 8004e84: 2b00 cmp r3, #0 + 8004e86: f000 8085 beq.w 8004f94 + 8004e8a: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 8004e8e: 4718 bx r3 + 8004e90: 4eab ldr r6, [pc, #684] ; (8005140 ) + 8004e92: 48ac ldr r0, [pc, #688] ; (8005144 ) + 8004e94: 402e ands r6, r5 + 8004e96: 4010 ands r0, r2 + 8004e98: 4330 orrs r0, r6 + 8004e9a: f000 8082 beq.w 8004fa2 + 8004e9e: 07cf lsls r7, r1, #31 + 8004ea0: d509 bpl.n 8004eb6 + 8004ea2: 05d0 lsls r0, r2, #23 + 8004ea4: d507 bpl.n 8004eb6 + 8004ea6: 2001 movs r0, #1 + 8004ea8: 6218 str r0, [r3, #32] + 8004eaa: f8d4 0090 ldr.w r0, [r4, #144] ; 0x90 + 8004eae: f040 0001 orr.w r0, r0, #1 + 8004eb2: f8c4 0090 str.w r0, [r4, #144] ; 0x90 + 8004eb6: 078f lsls r7, r1, #30 + 8004eb8: d509 bpl.n 8004ece + 8004eba: 07e8 lsls r0, r5, #31 + 8004ebc: d507 bpl.n 8004ece + 8004ebe: 2002 movs r0, #2 + 8004ec0: 6218 str r0, [r3, #32] + 8004ec2: f8d4 0090 ldr.w r0, [r4, #144] ; 0x90 + 8004ec6: f040 0004 orr.w r0, r0, #4 + 8004eca: f8c4 0090 str.w r0, [r4, #144] ; 0x90 + 8004ece: 074f lsls r7, r1, #29 + 8004ed0: d509 bpl.n 8004ee6 + 8004ed2: 07e8 lsls r0, r5, #31 + 8004ed4: d507 bpl.n 8004ee6 + 8004ed6: 2004 movs r0, #4 + 8004ed8: 6218 str r0, [r3, #32] + 8004eda: f8d4 0090 ldr.w r0, [r4, #144] ; 0x90 + 8004ede: f040 0002 orr.w r0, r0, #2 + 8004ee2: f8c4 0090 str.w r0, [r4, #144] ; 0x90 + 8004ee6: 070f lsls r7, r1, #28 + 8004ee8: d50b bpl.n 8004f02 + 8004eea: f002 0020 and.w r0, r2, #32 + 8004eee: 4330 orrs r0, r6 + 8004ef0: d007 beq.n 8004f02 + 8004ef2: 2008 movs r0, #8 + 8004ef4: 6218 str r0, [r3, #32] + 8004ef6: f8d4 0090 ldr.w r0, [r4, #144] ; 0x90 + 8004efa: f040 0008 orr.w r0, r0, #8 + 8004efe: f8c4 0090 str.w r0, [r4, #144] ; 0x90 + 8004f02: 050e lsls r6, r1, #20 + 8004f04: d50a bpl.n 8004f1c + 8004f06: 0150 lsls r0, r2, #5 + 8004f08: d508 bpl.n 8004f1c + 8004f0a: f44f 6000 mov.w r0, #2048 ; 0x800 + 8004f0e: 6218 str r0, [r3, #32] + 8004f10: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 + 8004f14: f043 0320 orr.w r3, r3, #32 + 8004f18: f8c4 3090 str.w r3, [r4, #144] ; 0x90 + 8004f1c: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 + 8004f20: 2b00 cmp r3, #0 + 8004f22: d037 beq.n 8004f94 + 8004f24: 068b lsls r3, r1, #26 + 8004f26: d509 bpl.n 8004f3c + 8004f28: f002 0220 and.w r2, r2, #32 + 8004f2c: f005 5580 and.w r5, r5, #268435456 ; 0x10000000 + 8004f30: 432a orrs r2, r5 + 8004f32: d003 beq.n 8004f3c + 8004f34: 6f63 ldr r3, [r4, #116] ; 0x74 + 8004f36: b10b cbz r3, 8004f3c + 8004f38: 4620 mov r0, r4 + 8004f3a: 4798 blx r3 + 8004f3c: 6826 ldr r6, [r4, #0] + 8004f3e: f8d4 2090 ldr.w r2, [r4, #144] ; 0x90 + 8004f42: 68b3 ldr r3, [r6, #8] + 8004f44: f002 0228 and.w r2, r2, #40 ; 0x28 + 8004f48: f003 0340 and.w r3, r3, #64 ; 0x40 + 8004f4c: ea53 0502 orrs.w r5, r3, r2 + 8004f50: 4620 mov r0, r4 + 8004f52: d021 beq.n 8004f98 + 8004f54: f7ff feb8 bl 8004cc8 + 8004f58: 68b3 ldr r3, [r6, #8] + 8004f5a: 065f lsls r7, r3, #25 + 8004f5c: d517 bpl.n 8004f8e + 8004f5e: 6822 ldr r2, [r4, #0] + 8004f60: f102 0308 add.w r3, r2, #8 + 8004f64: e853 3f00 ldrex r3, [r3] + 8004f68: f023 0340 bic.w r3, r3, #64 ; 0x40 + 8004f6c: 3208 adds r2, #8 + 8004f6e: e842 3100 strex r1, r3, [r2] + 8004f72: 2900 cmp r1, #0 + 8004f74: d1f3 bne.n 8004f5e + 8004f76: f8d4 0080 ldr.w r0, [r4, #128] ; 0x80 + 8004f7a: b140 cbz r0, 8004f8e + 8004f7c: 4b72 ldr r3, [pc, #456] ; (8005148 ) + 8004f7e: 6383 str r3, [r0, #56] ; 0x38 + 8004f80: f7fe f8c7 bl 8003112 + 8004f84: b130 cbz r0, 8004f94 + 8004f86: f8d4 0080 ldr.w r0, [r4, #128] ; 0x80 + 8004f8a: 6b83 ldr r3, [r0, #56] ; 0x38 + 8004f8c: e77d b.n 8004e8a + 8004f8e: 4620 mov r0, r4 + 8004f90: f7ff ff31 bl 8004df6 + 8004f94: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8004f98: f7ff ff2d bl 8004df6 + 8004f9c: f8c4 5090 str.w r5, [r4, #144] ; 0x90 + 8004fa0: e7f8 b.n 8004f94 + 8004fa2: 6ee0 ldr r0, [r4, #108] ; 0x6c + 8004fa4: 2801 cmp r0, #1 + 8004fa6: f040 8089 bne.w 80050bc + 8004faa: 06ce lsls r6, r1, #27 + 8004fac: f140 8086 bpl.w 80050bc + 8004fb0: 06d0 lsls r0, r2, #27 + 8004fb2: f140 8083 bpl.w 80050bc + 8004fb6: 2210 movs r2, #16 + 8004fb8: 621a str r2, [r3, #32] + 8004fba: 689a ldr r2, [r3, #8] + 8004fbc: 0651 lsls r1, r2, #25 + 8004fbe: d54b bpl.n 8005058 + 8004fc0: f8d4 2080 ldr.w r2, [r4, #128] ; 0x80 + 8004fc4: 6811 ldr r1, [r2, #0] + 8004fc6: 684a ldr r2, [r1, #4] + 8004fc8: b292 uxth r2, r2 + 8004fca: 2a00 cmp r2, #0 + 8004fcc: d0e2 beq.n 8004f94 + 8004fce: f8b4 005c ldrh.w r0, [r4, #92] ; 0x5c + 8004fd2: 4290 cmp r0, r2 + 8004fd4: d9de bls.n 8004f94 + 8004fd6: f8a4 205e strh.w r2, [r4, #94] ; 0x5e + 8004fda: 680a ldr r2, [r1, #0] + 8004fdc: 0692 lsls r2, r2, #26 + 8004fde: d42f bmi.n 8005040 + 8004fe0: e853 2f00 ldrex r2, [r3] + 8004fe4: f422 7280 bic.w r2, r2, #256 ; 0x100 + 8004fe8: e843 2100 strex r1, r2, [r3] + 8004fec: 2900 cmp r1, #0 + 8004fee: d1f7 bne.n 8004fe0 + 8004ff0: f103 0208 add.w r2, r3, #8 + 8004ff4: e852 2f00 ldrex r2, [r2] + 8004ff8: f022 0201 bic.w r2, r2, #1 + 8004ffc: f103 0008 add.w r0, r3, #8 + 8005000: e840 2100 strex r1, r2, [r0] + 8005004: 2900 cmp r1, #0 + 8005006: d1f3 bne.n 8004ff0 + 8005008: f103 0208 add.w r2, r3, #8 + 800500c: e852 2f00 ldrex r2, [r2] + 8005010: f022 0240 bic.w r2, r2, #64 ; 0x40 + 8005014: f103 0008 add.w r0, r3, #8 + 8005018: e840 2100 strex r1, r2, [r0] + 800501c: 2900 cmp r1, #0 + 800501e: d1f3 bne.n 8005008 + 8005020: 2220 movs r2, #32 + 8005022: f8c4 208c str.w r2, [r4, #140] ; 0x8c + 8005026: 66e1 str r1, [r4, #108] ; 0x6c + 8005028: e853 2f00 ldrex r2, [r3] + 800502c: f022 0210 bic.w r2, r2, #16 + 8005030: e843 2100 strex r1, r2, [r3] + 8005034: 2900 cmp r1, #0 + 8005036: d1f7 bne.n 8005028 + 8005038: f8d4 0080 ldr.w r0, [r4, #128] ; 0x80 + 800503c: f7fe f834 bl 80030a8 + 8005040: 2302 movs r3, #2 + 8005042: 6723 str r3, [r4, #112] ; 0x70 + 8005044: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e + 8005048: f8b4 105c ldrh.w r1, [r4, #92] ; 0x5c + 800504c: 1ac9 subs r1, r1, r3 + 800504e: b289 uxth r1, r1 + 8005050: 4620 mov r0, r4 + 8005052: f7ff feff bl 8004e54 + 8005056: e79d b.n 8004f94 + 8005058: f8b4 205e ldrh.w r2, [r4, #94] ; 0x5e + 800505c: f8b4 005e ldrh.w r0, [r4, #94] ; 0x5e + 8005060: f8b4 105c ldrh.w r1, [r4, #92] ; 0x5c + 8005064: b280 uxth r0, r0 + 8005066: b292 uxth r2, r2 + 8005068: 2800 cmp r0, #0 + 800506a: d093 beq.n 8004f94 + 800506c: 1a89 subs r1, r1, r2 + 800506e: b289 uxth r1, r1 + 8005070: 2900 cmp r1, #0 + 8005072: d08f beq.n 8004f94 + 8005074: e853 2f00 ldrex r2, [r3] + 8005078: f422 7290 bic.w r2, r2, #288 ; 0x120 + 800507c: e843 2000 strex r0, r2, [r3] + 8005080: 2800 cmp r0, #0 + 8005082: d1f7 bne.n 8005074 + 8005084: 4d31 ldr r5, [pc, #196] ; (800514c ) + 8005086: f103 0208 add.w r2, r3, #8 + 800508a: e852 2f00 ldrex r2, [r2] + 800508e: 402a ands r2, r5 + 8005090: f103 0608 add.w r6, r3, #8 + 8005094: e846 2000 strex r0, r2, [r6] + 8005098: 2800 cmp r0, #0 + 800509a: d1f4 bne.n 8005086 + 800509c: 2220 movs r2, #32 + 800509e: f8c4 208c str.w r2, [r4, #140] ; 0x8c + 80050a2: 6760 str r0, [r4, #116] ; 0x74 + 80050a4: 66e0 str r0, [r4, #108] ; 0x6c + 80050a6: e853 2f00 ldrex r2, [r3] + 80050aa: f022 0210 bic.w r2, r2, #16 + 80050ae: e843 2000 strex r0, r2, [r3] + 80050b2: 2800 cmp r0, #0 + 80050b4: d1f7 bne.n 80050a6 + 80050b6: 2302 movs r3, #2 + 80050b8: 6723 str r3, [r4, #112] ; 0x70 + 80050ba: e7c9 b.n 8005050 + 80050bc: 02cf lsls r7, r1, #11 + 80050be: d509 bpl.n 80050d4 + 80050c0: 026e lsls r6, r5, #9 + 80050c2: d507 bpl.n 80050d4 + 80050c4: f44f 1280 mov.w r2, #1048576 ; 0x100000 + 80050c8: 4620 mov r0, r4 + 80050ca: 621a str r2, [r3, #32] + 80050cc: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 80050d0: f000 bda0 b.w 8005c14 + 80050d4: 0608 lsls r0, r1, #24 + 80050d6: d50b bpl.n 80050f0 + 80050d8: f002 0080 and.w r0, r2, #128 ; 0x80 + 80050dc: f405 0500 and.w r5, r5, #8388608 ; 0x800000 + 80050e0: 4328 orrs r0, r5 + 80050e2: d005 beq.n 80050f0 + 80050e4: 6fa3 ldr r3, [r4, #120] ; 0x78 + 80050e6: 2b00 cmp r3, #0 + 80050e8: f43f af54 beq.w 8004f94 + 80050ec: 4620 mov r0, r4 + 80050ee: e6cc b.n 8004e8a + 80050f0: 064f lsls r7, r1, #25 + 80050f2: d511 bpl.n 8005118 + 80050f4: 0656 lsls r6, r2, #25 + 80050f6: d50f bpl.n 8005118 + 80050f8: e853 2f00 ldrex r2, [r3] + 80050fc: f022 0240 bic.w r2, r2, #64 ; 0x40 + 8005100: e843 2100 strex r1, r2, [r3] + 8005104: 2900 cmp r1, #0 + 8005106: d1f7 bne.n 80050f8 + 8005108: 2320 movs r3, #32 + 800510a: f8c4 3088 str.w r3, [r4, #136] ; 0x88 + 800510e: 67a1 str r1, [r4, #120] ; 0x78 + 8005110: 4620 mov r0, r4 + 8005112: f7fc fe3f bl 8001d94 + 8005116: e73d b.n 8004f94 + 8005118: 020d lsls r5, r1, #8 + 800511a: d506 bpl.n 800512a + 800511c: 0050 lsls r0, r2, #1 + 800511e: d504 bpl.n 800512a + 8005120: 4620 mov r0, r4 + 8005122: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 8005126: f000 bd77 b.w 8005c18 + 800512a: 01cb lsls r3, r1, #7 + 800512c: f57f af32 bpl.w 8004f94 + 8005130: 2a00 cmp r2, #0 + 8005132: f6bf af2f bge.w 8004f94 + 8005136: 4620 mov r0, r4 + 8005138: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 800513c: f000 bd6b b.w 8005c16 + 8005140: 10000001 .word 0x10000001 + 8005144: 04000120 .word 0x04000120 + 8005148: 08004e41 .word 0x08004e41 + 800514c: effffffe .word 0xeffffffe -080050a8 : - 80050a8: b5f8 push {r3, r4, r5, r6, r7, lr} - 80050aa: 4604 mov r4, r0 - 80050ac: 4613 mov r3, r2 - 80050ae: f8d4 5088 ldr.w r5, [r4, #136] ; 0x88 - 80050b2: 2d20 cmp r5, #32 - 80050b4: d132 bne.n 800511c - 80050b6: b1f1 cbz r1, 80050f6 - 80050b8: b1ea cbz r2, 80050f6 - 80050ba: 6fe0 ldr r0, [r4, #124] ; 0x7c - 80050bc: f8a4 2056 strh.w r2, [r4, #86] ; 0x56 - 80050c0: f8a4 2054 strh.w r2, [r4, #84] ; 0x54 - 80050c4: 2600 movs r6, #0 - 80050c6: 2221 movs r2, #33 ; 0x21 - 80050c8: f8c4 6090 str.w r6, [r4, #144] ; 0x90 - 80050cc: 6521 str r1, [r4, #80] ; 0x50 - 80050ce: f8c4 2088 str.w r2, [r4, #136] ; 0x88 - 80050d2: 6822 ldr r2, [r4, #0] - 80050d4: b188 cbz r0, 80050fa - 80050d6: 4f12 ldr r7, [pc, #72] ; (8005120 ) - 80050d8: 62c7 str r7, [r0, #44] ; 0x2c - 80050da: 4f12 ldr r7, [pc, #72] ; (8005124 ) - 80050dc: 6307 str r7, [r0, #48] ; 0x30 - 80050de: 4f12 ldr r7, [pc, #72] ; (8005128 ) - 80050e0: 3228 adds r2, #40 ; 0x28 - 80050e2: e9c0 760d strd r7, r6, [r0, #52] ; 0x34 - 80050e6: f7fe f95f bl 80033a8 - 80050ea: b130 cbz r0, 80050fa - 80050ec: 2310 movs r3, #16 - 80050ee: f8c4 3090 str.w r3, [r4, #144] ; 0x90 - 80050f2: f8c4 5088 str.w r5, [r4, #136] ; 0x88 - 80050f6: 2001 movs r0, #1 - 80050f8: e00f b.n 800511a - 80050fa: 6823 ldr r3, [r4, #0] - 80050fc: 2240 movs r2, #64 ; 0x40 - 80050fe: 621a str r2, [r3, #32] - 8005100: 6822 ldr r2, [r4, #0] - 8005102: f102 0308 add.w r3, r2, #8 - 8005106: e853 3f00 ldrex r3, [r3] - 800510a: f043 0380 orr.w r3, r3, #128 ; 0x80 - 800510e: f102 0108 add.w r1, r2, #8 - 8005112: e841 3000 strex r0, r3, [r1] - 8005116: 2800 cmp r0, #0 - 8005118: d1f3 bne.n 8005102 - 800511a: bdf8 pop {r3, r4, r5, r6, r7, pc} - 800511c: 2002 movs r0, #2 - 800511e: e7fc b.n 800511a - 8005120: 0800512d .word 0x0800512d - 8005124: 08005175 .word 0x08005175 - 8005128: 08005181 .word 0x08005181 +08005150 : + 8005150: f8d0 208c ldr.w r2, [r0, #140] ; 0x8c + 8005154: f8b0 1060 ldrh.w r1, [r0, #96] ; 0x60 + 8005158: 2a22 cmp r2, #34 ; 0x22 + 800515a: b508 push {r3, lr} + 800515c: 6803 ldr r3, [r0, #0] + 800515e: d155 bne.n 800520c + 8005160: 6a5b ldr r3, [r3, #36] ; 0x24 + 8005162: 6d82 ldr r2, [r0, #88] ; 0x58 + 8005164: 400b ands r3, r1 + 8005166: 7013 strb r3, [r2, #0] + 8005168: 6d83 ldr r3, [r0, #88] ; 0x58 + 800516a: 3301 adds r3, #1 + 800516c: 6583 str r3, [r0, #88] ; 0x58 + 800516e: f8b0 305e ldrh.w r3, [r0, #94] ; 0x5e + 8005172: 3b01 subs r3, #1 + 8005174: b29b uxth r3, r3 + 8005176: f8a0 305e strh.w r3, [r0, #94] ; 0x5e + 800517a: f8b0 305e ldrh.w r3, [r0, #94] ; 0x5e + 800517e: b29b uxth r3, r3 + 8005180: 2b00 cmp r3, #0 + 8005182: d142 bne.n 800520a + 8005184: 6802 ldr r2, [r0, #0] + 8005186: e852 3f00 ldrex r3, [r2] + 800518a: f423 7390 bic.w r3, r3, #288 ; 0x120 + 800518e: e842 3100 strex r1, r3, [r2] + 8005192: 6803 ldr r3, [r0, #0] + 8005194: 2900 cmp r1, #0 + 8005196: d1f5 bne.n 8005184 + 8005198: f103 0208 add.w r2, r3, #8 + 800519c: e852 2f00 ldrex r2, [r2] + 80051a0: f022 0201 bic.w r2, r2, #1 + 80051a4: f103 0c08 add.w ip, r3, #8 + 80051a8: e84c 2100 strex r1, r2, [ip] + 80051ac: 2900 cmp r1, #0 + 80051ae: d1f3 bne.n 8005198 + 80051b0: 2220 movs r2, #32 + 80051b2: f8c0 208c str.w r2, [r0, #140] ; 0x8c + 80051b6: 4a18 ldr r2, [pc, #96] ; (8005218 ) + 80051b8: 6741 str r1, [r0, #116] ; 0x74 + 80051ba: 4293 cmp r3, r2 + 80051bc: 6701 str r1, [r0, #112] ; 0x70 + 80051be: d105 bne.n 80051cc + 80051c0: 6ec2 ldr r2, [r0, #108] ; 0x6c + 80051c2: 2a01 cmp r2, #1 + 80051c4: d00e beq.n 80051e4 + 80051c6: f7fc fdf3 bl 8001db0 + 80051ca: e01e b.n 800520a + 80051cc: 685a ldr r2, [r3, #4] + 80051ce: 0211 lsls r1, r2, #8 + 80051d0: d5f6 bpl.n 80051c0 + 80051d2: e853 2f00 ldrex r2, [r3] + 80051d6: f022 6280 bic.w r2, r2, #67108864 ; 0x4000000 + 80051da: e843 2100 strex r1, r2, [r3] + 80051de: 2900 cmp r1, #0 + 80051e0: d1f7 bne.n 80051d2 + 80051e2: e7ed b.n 80051c0 + 80051e4: 2200 movs r2, #0 + 80051e6: 66c2 str r2, [r0, #108] ; 0x6c + 80051e8: e853 2f00 ldrex r2, [r3] + 80051ec: f022 0210 bic.w r2, r2, #16 + 80051f0: e843 2100 strex r1, r2, [r3] + 80051f4: 2900 cmp r1, #0 + 80051f6: d1f7 bne.n 80051e8 + 80051f8: 69da ldr r2, [r3, #28] + 80051fa: f8b0 105c ldrh.w r1, [r0, #92] ; 0x5c + 80051fe: 06d2 lsls r2, r2, #27 + 8005200: bf44 itt mi + 8005202: 2210 movmi r2, #16 + 8005204: 621a strmi r2, [r3, #32] + 8005206: f7ff fe25 bl 8004e54 + 800520a: bd08 pop {r3, pc} + 800520c: 699a ldr r2, [r3, #24] + 800520e: f042 0208 orr.w r2, r2, #8 + 8005212: 619a str r2, [r3, #24] + 8005214: e7f9 b.n 800520a + 8005216: bf00 nop + 8005218: 40008000 .word 0x40008000 -0800512c : - 800512c: b508 push {r3, lr} - 800512e: 4603 mov r3, r0 - 8005130: 6a80 ldr r0, [r0, #40] ; 0x28 - 8005132: 681b ldr r3, [r3, #0] - 8005134: 681b ldr r3, [r3, #0] - 8005136: f013 0320 ands.w r3, r3, #32 - 800513a: d117 bne.n 800516c - 800513c: f8a0 3056 strh.w r3, [r0, #86] ; 0x56 - 8005140: 6802 ldr r2, [r0, #0] - 8005142: f102 0308 add.w r3, r2, #8 - 8005146: e853 3f00 ldrex r3, [r3] - 800514a: f023 0380 bic.w r3, r3, #128 ; 0x80 - 800514e: 3208 adds r2, #8 - 8005150: e842 3100 strex r1, r3, [r2] - 8005154: 6802 ldr r2, [r0, #0] - 8005156: 2900 cmp r1, #0 - 8005158: d1f2 bne.n 8005140 - 800515a: e852 3f00 ldrex r3, [r2] - 800515e: f043 0340 orr.w r3, r3, #64 ; 0x40 - 8005162: e842 3100 strex r1, r3, [r2] - 8005166: 2900 cmp r1, #0 - 8005168: d1f7 bne.n 800515a - 800516a: bd08 pop {r3, pc} - 800516c: f7fc fe30 bl 8001dd0 - 8005170: e7fb b.n 800516a +0800521c : + 800521c: f8d0 208c ldr.w r2, [r0, #140] ; 0x8c + 8005220: f8b0 1060 ldrh.w r1, [r0, #96] ; 0x60 + 8005224: 2a22 cmp r2, #34 ; 0x22 + 8005226: b508 push {r3, lr} + 8005228: 6803 ldr r3, [r0, #0] + 800522a: d152 bne.n 80052d2 + 800522c: 6a5a ldr r2, [r3, #36] ; 0x24 + 800522e: 4011 ands r1, r2 + 8005230: 6d82 ldr r2, [r0, #88] ; 0x58 + 8005232: f822 1b02 strh.w r1, [r2], #2 + 8005236: 6582 str r2, [r0, #88] ; 0x58 + 8005238: f8b0 205e ldrh.w r2, [r0, #94] ; 0x5e + 800523c: 3a01 subs r2, #1 + 800523e: b292 uxth r2, r2 + 8005240: f8a0 205e strh.w r2, [r0, #94] ; 0x5e + 8005244: f8b0 205e ldrh.w r2, [r0, #94] ; 0x5e + 8005248: b292 uxth r2, r2 + 800524a: 2a00 cmp r2, #0 + 800524c: d140 bne.n 80052d0 + 800524e: e853 2f00 ldrex r2, [r3] + 8005252: f422 7290 bic.w r2, r2, #288 ; 0x120 + 8005256: e843 2100 strex r1, r2, [r3] + 800525a: 2900 cmp r1, #0 + 800525c: d1f7 bne.n 800524e + 800525e: f103 0208 add.w r2, r3, #8 + 8005262: e852 2f00 ldrex r2, [r2] + 8005266: f022 0201 bic.w r2, r2, #1 + 800526a: f103 0c08 add.w ip, r3, #8 + 800526e: e84c 2100 strex r1, r2, [ip] + 8005272: 2900 cmp r1, #0 + 8005274: d1f3 bne.n 800525e + 8005276: 2220 movs r2, #32 + 8005278: f8c0 208c str.w r2, [r0, #140] ; 0x8c + 800527c: 4a17 ldr r2, [pc, #92] ; (80052dc ) + 800527e: 6741 str r1, [r0, #116] ; 0x74 + 8005280: 4293 cmp r3, r2 + 8005282: 6701 str r1, [r0, #112] ; 0x70 + 8005284: d105 bne.n 8005292 + 8005286: 6ec2 ldr r2, [r0, #108] ; 0x6c + 8005288: 2a01 cmp r2, #1 + 800528a: d00e beq.n 80052aa + 800528c: f7fc fd90 bl 8001db0 + 8005290: e01e b.n 80052d0 + 8005292: 685a ldr r2, [r3, #4] + 8005294: 0211 lsls r1, r2, #8 + 8005296: d5f6 bpl.n 8005286 + 8005298: e853 2f00 ldrex r2, [r3] + 800529c: f022 6280 bic.w r2, r2, #67108864 ; 0x4000000 + 80052a0: e843 2100 strex r1, r2, [r3] + 80052a4: 2900 cmp r1, #0 + 80052a6: d1f7 bne.n 8005298 + 80052a8: e7ed b.n 8005286 + 80052aa: 2200 movs r2, #0 + 80052ac: 66c2 str r2, [r0, #108] ; 0x6c + 80052ae: e853 2f00 ldrex r2, [r3] + 80052b2: f022 0210 bic.w r2, r2, #16 + 80052b6: e843 2100 strex r1, r2, [r3] + 80052ba: 2900 cmp r1, #0 + 80052bc: d1f7 bne.n 80052ae + 80052be: 69da ldr r2, [r3, #28] + 80052c0: f8b0 105c ldrh.w r1, [r0, #92] ; 0x5c + 80052c4: 06d2 lsls r2, r2, #27 + 80052c6: bf44 itt mi + 80052c8: 2210 movmi r2, #16 + 80052ca: 621a strmi r2, [r3, #32] + 80052cc: f7ff fdc2 bl 8004e54 + 80052d0: bd08 pop {r3, pc} + 80052d2: 699a ldr r2, [r3, #24] + 80052d4: f042 0208 orr.w r2, r2, #8 + 80052d8: 619a str r2, [r3, #24] + 80052da: e7f9 b.n 80052d0 + 80052dc: 40008000 .word 0x40008000 -08005172 : - 8005172: 4770 bx lr - -08005174 : - 8005174: b508 push {r3, lr} - 8005176: 6a80 ldr r0, [r0, #40] ; 0x28 - 8005178: f7ff fffb bl 8005172 - 800517c: bd08 pop {r3, pc} - -0800517e : - 800517e: 4770 bx lr - -08005180 : - 8005180: 6a80 ldr r0, [r0, #40] ; 0x28 - 8005182: b538 push {r3, r4, r5, lr} - 8005184: 6804 ldr r4, [r0, #0] - 8005186: f8d0 3088 ldr.w r3, [r0, #136] ; 0x88 - 800518a: f8d0 508c ldr.w r5, [r0, #140] ; 0x8c - 800518e: 68a2 ldr r2, [r4, #8] - 8005190: 0612 lsls r2, r2, #24 - 8005192: d506 bpl.n 80051a2 - 8005194: 2b21 cmp r3, #33 ; 0x21 - 8005196: d104 bne.n 80051a2 - 8005198: 2300 movs r3, #0 - 800519a: f8a0 3056 strh.w r3, [r0, #86] ; 0x56 - 800519e: f7ff ff3c bl 800501a - 80051a2: 68a3 ldr r3, [r4, #8] - 80051a4: 065b lsls r3, r3, #25 - 80051a6: d506 bpl.n 80051b6 - 80051a8: 2d22 cmp r5, #34 ; 0x22 - 80051aa: d104 bne.n 80051b6 - 80051ac: 2300 movs r3, #0 - 80051ae: f8a0 305e strh.w r3, [r0, #94] ; 0x5e - 80051b2: f7ff ff4d bl 8005050 - 80051b6: f8d0 3090 ldr.w r3, [r0, #144] ; 0x90 - 80051ba: f043 0310 orr.w r3, r3, #16 - 80051be: f8c0 3090 str.w r3, [r0, #144] ; 0x90 - 80051c2: f7ff ffdc bl 800517e - 80051c6: bd38 pop {r3, r4, r5, pc} - -080051c8 : - 80051c8: b508 push {r3, lr} - 80051ca: 6a80 ldr r0, [r0, #40] ; 0x28 - 80051cc: 2300 movs r3, #0 - 80051ce: f8a0 305e strh.w r3, [r0, #94] ; 0x5e - 80051d2: f8a0 3056 strh.w r3, [r0, #86] ; 0x56 - 80051d6: f7ff ffd2 bl 800517e - 80051da: bd08 pop {r3, pc} - -080051dc : - 80051dc: 4770 bx lr - ... - -080051e0 : - 80051e0: 6803 ldr r3, [r0, #0] - 80051e2: 69d9 ldr r1, [r3, #28] - 80051e4: 681a ldr r2, [r3, #0] - 80051e6: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 80051ea: f640 060f movw r6, #2063 ; 0x80f - 80051ee: 4231 tst r1, r6 - 80051f0: 689d ldr r5, [r3, #8] - 80051f2: 4604 mov r4, r0 - 80051f4: d110 bne.n 8005218 - 80051f6: 068e lsls r6, r1, #26 - 80051f8: f140 8097 bpl.w 800532a - 80051fc: f002 0620 and.w r6, r2, #32 - 8005200: f005 5780 and.w r7, r5, #268435456 ; 0x10000000 - 8005204: 433e orrs r6, r7 - 8005206: f000 8090 beq.w 800532a - 800520a: 6f43 ldr r3, [r0, #116] ; 0x74 - 800520c: 2b00 cmp r3, #0 - 800520e: f000 8085 beq.w 800531c - 8005212: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 8005216: 4718 bx r3 - 8005218: 4eab ldr r6, [pc, #684] ; (80054c8 ) - 800521a: 48ac ldr r0, [pc, #688] ; (80054cc ) - 800521c: 402e ands r6, r5 - 800521e: 4010 ands r0, r2 - 8005220: 4330 orrs r0, r6 - 8005222: f000 8082 beq.w 800532a - 8005226: 07cf lsls r7, r1, #31 - 8005228: d509 bpl.n 800523e - 800522a: 05d0 lsls r0, r2, #23 - 800522c: d507 bpl.n 800523e - 800522e: 2001 movs r0, #1 - 8005230: 6218 str r0, [r3, #32] - 8005232: f8d4 0090 ldr.w r0, [r4, #144] ; 0x90 - 8005236: f040 0001 orr.w r0, r0, #1 - 800523a: f8c4 0090 str.w r0, [r4, #144] ; 0x90 - 800523e: 078f lsls r7, r1, #30 - 8005240: d509 bpl.n 8005256 - 8005242: 07e8 lsls r0, r5, #31 - 8005244: d507 bpl.n 8005256 - 8005246: 2002 movs r0, #2 - 8005248: 6218 str r0, [r3, #32] - 800524a: f8d4 0090 ldr.w r0, [r4, #144] ; 0x90 - 800524e: f040 0004 orr.w r0, r0, #4 - 8005252: f8c4 0090 str.w r0, [r4, #144] ; 0x90 - 8005256: 074f lsls r7, r1, #29 - 8005258: d509 bpl.n 800526e - 800525a: 07e8 lsls r0, r5, #31 - 800525c: d507 bpl.n 800526e - 800525e: 2004 movs r0, #4 - 8005260: 6218 str r0, [r3, #32] - 8005262: f8d4 0090 ldr.w r0, [r4, #144] ; 0x90 - 8005266: f040 0002 orr.w r0, r0, #2 - 800526a: f8c4 0090 str.w r0, [r4, #144] ; 0x90 - 800526e: 070f lsls r7, r1, #28 - 8005270: d50b bpl.n 800528a - 8005272: f002 0020 and.w r0, r2, #32 - 8005276: 4330 orrs r0, r6 - 8005278: d007 beq.n 800528a - 800527a: 2008 movs r0, #8 - 800527c: 6218 str r0, [r3, #32] - 800527e: f8d4 0090 ldr.w r0, [r4, #144] ; 0x90 - 8005282: f040 0008 orr.w r0, r0, #8 - 8005286: f8c4 0090 str.w r0, [r4, #144] ; 0x90 - 800528a: 050e lsls r6, r1, #20 - 800528c: d50a bpl.n 80052a4 - 800528e: 0150 lsls r0, r2, #5 - 8005290: d508 bpl.n 80052a4 - 8005292: f44f 6000 mov.w r0, #2048 ; 0x800 - 8005296: 6218 str r0, [r3, #32] - 8005298: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 - 800529c: f043 0320 orr.w r3, r3, #32 - 80052a0: f8c4 3090 str.w r3, [r4, #144] ; 0x90 - 80052a4: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 - 80052a8: 2b00 cmp r3, #0 - 80052aa: d037 beq.n 800531c - 80052ac: 068b lsls r3, r1, #26 - 80052ae: d509 bpl.n 80052c4 - 80052b0: f002 0220 and.w r2, r2, #32 - 80052b4: f005 5580 and.w r5, r5, #268435456 ; 0x10000000 - 80052b8: 432a orrs r2, r5 - 80052ba: d003 beq.n 80052c4 - 80052bc: 6f63 ldr r3, [r4, #116] ; 0x74 - 80052be: b10b cbz r3, 80052c4 - 80052c0: 4620 mov r0, r4 - 80052c2: 4798 blx r3 - 80052c4: 6826 ldr r6, [r4, #0] - 80052c6: f8d4 2090 ldr.w r2, [r4, #144] ; 0x90 - 80052ca: 68b3 ldr r3, [r6, #8] - 80052cc: f002 0228 and.w r2, r2, #40 ; 0x28 - 80052d0: f003 0340 and.w r3, r3, #64 ; 0x40 - 80052d4: ea53 0502 orrs.w r5, r3, r2 - 80052d8: 4620 mov r0, r4 - 80052da: d021 beq.n 8005320 - 80052dc: f7ff feb8 bl 8005050 - 80052e0: 68b3 ldr r3, [r6, #8] - 80052e2: 065f lsls r7, r3, #25 - 80052e4: d517 bpl.n 8005316 - 80052e6: 6822 ldr r2, [r4, #0] - 80052e8: f102 0308 add.w r3, r2, #8 - 80052ec: e853 3f00 ldrex r3, [r3] - 80052f0: f023 0340 bic.w r3, r3, #64 ; 0x40 - 80052f4: 3208 adds r2, #8 - 80052f6: e842 3100 strex r1, r3, [r2] - 80052fa: 2900 cmp r1, #0 - 80052fc: d1f3 bne.n 80052e6 - 80052fe: f8d4 0080 ldr.w r0, [r4, #128] ; 0x80 - 8005302: b140 cbz r0, 8005316 - 8005304: 4b72 ldr r3, [pc, #456] ; (80054d0 ) - 8005306: 6383 str r3, [r0, #56] ; 0x38 - 8005308: f7fe f8c7 bl 800349a - 800530c: b130 cbz r0, 800531c - 800530e: f8d4 0080 ldr.w r0, [r4, #128] ; 0x80 - 8005312: 6b83 ldr r3, [r0, #56] ; 0x38 - 8005314: e77d b.n 8005212 - 8005316: 4620 mov r0, r4 - 8005318: f7ff ff31 bl 800517e - 800531c: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8005320: f7ff ff2d bl 800517e - 8005324: f8c4 5090 str.w r5, [r4, #144] ; 0x90 - 8005328: e7f8 b.n 800531c - 800532a: 6ee0 ldr r0, [r4, #108] ; 0x6c - 800532c: 2801 cmp r0, #1 - 800532e: f040 8089 bne.w 8005444 - 8005332: 06ce lsls r6, r1, #27 - 8005334: f140 8086 bpl.w 8005444 - 8005338: 06d0 lsls r0, r2, #27 - 800533a: f140 8083 bpl.w 8005444 - 800533e: 2210 movs r2, #16 - 8005340: 621a str r2, [r3, #32] - 8005342: 689a ldr r2, [r3, #8] - 8005344: 0651 lsls r1, r2, #25 - 8005346: d54b bpl.n 80053e0 - 8005348: f8d4 2080 ldr.w r2, [r4, #128] ; 0x80 - 800534c: 6811 ldr r1, [r2, #0] - 800534e: 684a ldr r2, [r1, #4] - 8005350: b292 uxth r2, r2 - 8005352: 2a00 cmp r2, #0 - 8005354: d0e2 beq.n 800531c - 8005356: f8b4 005c ldrh.w r0, [r4, #92] ; 0x5c - 800535a: 4290 cmp r0, r2 - 800535c: d9de bls.n 800531c - 800535e: f8a4 205e strh.w r2, [r4, #94] ; 0x5e - 8005362: 680a ldr r2, [r1, #0] - 8005364: 0692 lsls r2, r2, #26 - 8005366: d42f bmi.n 80053c8 - 8005368: e853 2f00 ldrex r2, [r3] - 800536c: f422 7280 bic.w r2, r2, #256 ; 0x100 - 8005370: e843 2100 strex r1, r2, [r3] - 8005374: 2900 cmp r1, #0 - 8005376: d1f7 bne.n 8005368 - 8005378: f103 0208 add.w r2, r3, #8 - 800537c: e852 2f00 ldrex r2, [r2] - 8005380: f022 0201 bic.w r2, r2, #1 - 8005384: f103 0008 add.w r0, r3, #8 - 8005388: e840 2100 strex r1, r2, [r0] - 800538c: 2900 cmp r1, #0 - 800538e: d1f3 bne.n 8005378 - 8005390: f103 0208 add.w r2, r3, #8 - 8005394: e852 2f00 ldrex r2, [r2] - 8005398: f022 0240 bic.w r2, r2, #64 ; 0x40 - 800539c: f103 0008 add.w r0, r3, #8 - 80053a0: e840 2100 strex r1, r2, [r0] - 80053a4: 2900 cmp r1, #0 - 80053a6: d1f3 bne.n 8005390 - 80053a8: 2220 movs r2, #32 - 80053aa: f8c4 208c str.w r2, [r4, #140] ; 0x8c - 80053ae: 66e1 str r1, [r4, #108] ; 0x6c - 80053b0: e853 2f00 ldrex r2, [r3] - 80053b4: f022 0210 bic.w r2, r2, #16 - 80053b8: e843 2100 strex r1, r2, [r3] - 80053bc: 2900 cmp r1, #0 - 80053be: d1f7 bne.n 80053b0 - 80053c0: f8d4 0080 ldr.w r0, [r4, #128] ; 0x80 - 80053c4: f7fe f834 bl 8003430 - 80053c8: 2302 movs r3, #2 - 80053ca: 6723 str r3, [r4, #112] ; 0x70 - 80053cc: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e - 80053d0: f8b4 105c ldrh.w r1, [r4, #92] ; 0x5c - 80053d4: 1ac9 subs r1, r1, r3 - 80053d6: b289 uxth r1, r1 - 80053d8: 4620 mov r0, r4 - 80053da: f7ff feff bl 80051dc - 80053de: e79d b.n 800531c - 80053e0: f8b4 205e ldrh.w r2, [r4, #94] ; 0x5e - 80053e4: f8b4 005e ldrh.w r0, [r4, #94] ; 0x5e - 80053e8: f8b4 105c ldrh.w r1, [r4, #92] ; 0x5c - 80053ec: b280 uxth r0, r0 - 80053ee: b292 uxth r2, r2 - 80053f0: 2800 cmp r0, #0 - 80053f2: d093 beq.n 800531c - 80053f4: 1a89 subs r1, r1, r2 - 80053f6: b289 uxth r1, r1 - 80053f8: 2900 cmp r1, #0 - 80053fa: d08f beq.n 800531c - 80053fc: e853 2f00 ldrex r2, [r3] - 8005400: f422 7290 bic.w r2, r2, #288 ; 0x120 - 8005404: e843 2000 strex r0, r2, [r3] +080052e0 : + 80052e0: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 80052e4: 6803 ldr r3, [r0, #0] + 80052e6: f8b0 8060 ldrh.w r8, [r0, #96] ; 0x60 + 80052ea: 69df ldr r7, [r3, #28] + 80052ec: 681a ldr r2, [r3, #0] + 80052ee: 689d ldr r5, [r3, #8] + 80052f0: f8d0 108c ldr.w r1, [r0, #140] ; 0x8c + 80052f4: 9201 str r2, [sp, #4] + 80052f6: 2922 cmp r1, #34 ; 0x22 + 80052f8: 4604 mov r4, r0 + 80052fa: f040 80b4 bne.w 8005466 + 80052fe: f8b0 9068 ldrh.w r9, [r0, #104] ; 0x68 + 8005302: f8df a16c ldr.w sl, [pc, #364] ; 8005470 + 8005306: f8df b16c ldr.w fp, [pc, #364] ; 8005474 + 800530a: 2600 movs r6, #0 + 800530c: f1b9 0f00 cmp.w r9, #0 + 8005310: d001 beq.n 8005316 + 8005312: 06bb lsls r3, r7, #26 + 8005314: d421 bmi.n 800535a + 8005316: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e + 800531a: b29b uxth r3, r3 + 800531c: b1d3 cbz r3, 8005354 + 800531e: f8b4 2068 ldrh.w r2, [r4, #104] ; 0x68 + 8005322: 429a cmp r2, r3 + 8005324: d916 bls.n 8005354 + 8005326: 6822 ldr r2, [r4, #0] + 8005328: f102 0308 add.w r3, r2, #8 + 800532c: e853 3f00 ldrex r3, [r3] + 8005330: f023 5380 bic.w r3, r3, #268435456 ; 0x10000000 + 8005334: 3208 adds r2, #8 + 8005336: e842 3100 strex r1, r3, [r2] + 800533a: 6822 ldr r2, [r4, #0] + 800533c: 2900 cmp r1, #0 + 800533e: d1f2 bne.n 8005326 + 8005340: 4b4d ldr r3, [pc, #308] ; (8005478 ) + 8005342: 6763 str r3, [r4, #116] ; 0x74 + 8005344: e852 3f00 ldrex r3, [r2] + 8005348: f043 0320 orr.w r3, r3, #32 + 800534c: e842 3100 strex r1, r3, [r2] + 8005350: 2900 cmp r1, #0 + 8005352: d1f7 bne.n 8005344 + 8005354: b003 add sp, #12 + 8005356: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800535a: 6823 ldr r3, [r4, #0] + 800535c: 6da2 ldr r2, [r4, #88] ; 0x58 + 800535e: 6a5b ldr r3, [r3, #36] ; 0x24 + 8005360: ea03 0308 and.w r3, r3, r8 + 8005364: 7013 strb r3, [r2, #0] + 8005366: 6da3 ldr r3, [r4, #88] ; 0x58 + 8005368: 3301 adds r3, #1 + 800536a: 65a3 str r3, [r4, #88] ; 0x58 + 800536c: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e + 8005370: 3b01 subs r3, #1 + 8005372: b29b uxth r3, r3 + 8005374: f8a4 305e strh.w r3, [r4, #94] ; 0x5e + 8005378: 6823 ldr r3, [r4, #0] + 800537a: 69df ldr r7, [r3, #28] + 800537c: 0778 lsls r0, r7, #29 + 800537e: d02c beq.n 80053da + 8005380: 07f9 lsls r1, r7, #31 + 8005382: d50a bpl.n 800539a + 8005384: 9a01 ldr r2, [sp, #4] + 8005386: 05d2 lsls r2, r2, #23 + 8005388: d507 bpl.n 800539a + 800538a: 2101 movs r1, #1 + 800538c: 6219 str r1, [r3, #32] + 800538e: f8d4 1090 ldr.w r1, [r4, #144] ; 0x90 + 8005392: f041 0101 orr.w r1, r1, #1 + 8005396: f8c4 1090 str.w r1, [r4, #144] ; 0x90 + 800539a: 07b8 lsls r0, r7, #30 + 800539c: d509 bpl.n 80053b2 + 800539e: 07e9 lsls r1, r5, #31 + 80053a0: d507 bpl.n 80053b2 + 80053a2: 2102 movs r1, #2 + 80053a4: 6219 str r1, [r3, #32] + 80053a6: f8d4 1090 ldr.w r1, [r4, #144] ; 0x90 + 80053aa: f041 0104 orr.w r1, r1, #4 + 80053ae: f8c4 1090 str.w r1, [r4, #144] ; 0x90 + 80053b2: 077a lsls r2, r7, #29 + 80053b4: d509 bpl.n 80053ca + 80053b6: 07e8 lsls r0, r5, #31 + 80053b8: d507 bpl.n 80053ca + 80053ba: 2104 movs r1, #4 + 80053bc: 6219 str r1, [r3, #32] + 80053be: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 + 80053c2: f043 0302 orr.w r3, r3, #2 + 80053c6: f8c4 3090 str.w r3, [r4, #144] ; 0x90 + 80053ca: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 + 80053ce: b123 cbz r3, 80053da + 80053d0: 4620 mov r0, r4 + 80053d2: f7ff fd10 bl 8004df6 + 80053d6: f8c4 6090 str.w r6, [r4, #144] ; 0x90 + 80053da: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e + 80053de: b29b uxth r3, r3 + 80053e0: 2b00 cmp r3, #0 + 80053e2: d193 bne.n 800530c + 80053e4: 6821 ldr r1, [r4, #0] + 80053e6: e851 3f00 ldrex r3, [r1] + 80053ea: f423 7380 bic.w r3, r3, #256 ; 0x100 + 80053ee: e841 3000 strex r0, r3, [r1] + 80053f2: 6823 ldr r3, [r4, #0] + 80053f4: 2800 cmp r0, #0 + 80053f6: d1f5 bne.n 80053e4 + 80053f8: f103 0208 add.w r2, r3, #8 + 80053fc: e852 1f00 ldrex r1, [r2] + 8005400: ea01 010a and.w r1, r1, sl + 8005404: e842 1000 strex r0, r1, [r2] 8005408: 2800 cmp r0, #0 - 800540a: d1f7 bne.n 80053fc - 800540c: 4d31 ldr r5, [pc, #196] ; (80054d4 ) - 800540e: f103 0208 add.w r2, r3, #8 - 8005412: e852 2f00 ldrex r2, [r2] - 8005416: 402a ands r2, r5 - 8005418: f103 0608 add.w r6, r3, #8 - 800541c: e846 2000 strex r0, r2, [r6] - 8005420: 2800 cmp r0, #0 - 8005422: d1f4 bne.n 800540e - 8005424: 2220 movs r2, #32 - 8005426: f8c4 208c str.w r2, [r4, #140] ; 0x8c - 800542a: 6760 str r0, [r4, #116] ; 0x74 - 800542c: 66e0 str r0, [r4, #108] ; 0x6c - 800542e: e853 2f00 ldrex r2, [r3] - 8005432: f022 0210 bic.w r2, r2, #16 - 8005436: e843 2000 strex r0, r2, [r3] - 800543a: 2800 cmp r0, #0 - 800543c: d1f7 bne.n 800542e - 800543e: 2302 movs r3, #2 - 8005440: 6723 str r3, [r4, #112] ; 0x70 - 8005442: e7c9 b.n 80053d8 - 8005444: 02cf lsls r7, r1, #11 - 8005446: d509 bpl.n 800545c - 8005448: 026e lsls r6, r5, #9 - 800544a: d507 bpl.n 800545c - 800544c: f44f 1280 mov.w r2, #1048576 ; 0x100000 - 8005450: 4620 mov r0, r4 - 8005452: 621a str r2, [r3, #32] - 8005454: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 8005458: f000 bda0 b.w 8005f9c - 800545c: 0608 lsls r0, r1, #24 - 800545e: d50b bpl.n 8005478 - 8005460: f002 0080 and.w r0, r2, #128 ; 0x80 - 8005464: f405 0500 and.w r5, r5, #8388608 ; 0x800000 - 8005468: 4328 orrs r0, r5 - 800546a: d005 beq.n 8005478 - 800546c: 6fa3 ldr r3, [r4, #120] ; 0x78 - 800546e: 2b00 cmp r3, #0 - 8005470: f43f af54 beq.w 800531c - 8005474: 4620 mov r0, r4 - 8005476: e6cc b.n 8005212 - 8005478: 064f lsls r7, r1, #25 - 800547a: d511 bpl.n 80054a0 - 800547c: 0656 lsls r6, r2, #25 - 800547e: d50f bpl.n 80054a0 - 8005480: e853 2f00 ldrex r2, [r3] - 8005484: f022 0240 bic.w r2, r2, #64 ; 0x40 - 8005488: e843 2100 strex r1, r2, [r3] - 800548c: 2900 cmp r1, #0 - 800548e: d1f7 bne.n 8005480 - 8005490: 2320 movs r3, #32 - 8005492: f8c4 3088 str.w r3, [r4, #136] ; 0x88 - 8005496: 67a1 str r1, [r4, #120] ; 0x78 - 8005498: 4620 mov r0, r4 - 800549a: f7fc fc99 bl 8001dd0 - 800549e: e73d b.n 800531c - 80054a0: 020d lsls r5, r1, #8 - 80054a2: d506 bpl.n 80054b2 - 80054a4: 0050 lsls r0, r2, #1 - 80054a6: d504 bpl.n 80054b2 - 80054a8: 4620 mov r0, r4 - 80054aa: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 80054ae: f000 bd77 b.w 8005fa0 - 80054b2: 01cb lsls r3, r1, #7 - 80054b4: f57f af32 bpl.w 800531c - 80054b8: 2a00 cmp r2, #0 - 80054ba: f6bf af2f bge.w 800531c - 80054be: 4620 mov r0, r4 - 80054c0: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 80054c4: f000 bd6b b.w 8005f9e - 80054c8: 10000001 .word 0x10000001 - 80054cc: 04000120 .word 0x04000120 - 80054d0: 080051c9 .word 0x080051c9 - 80054d4: effffffe .word 0xeffffffe + 800540a: d1f5 bne.n 80053f8 + 800540c: 2120 movs r1, #32 + 800540e: 455b cmp r3, fp + 8005410: f8c4 108c str.w r1, [r4, #140] ; 0x8c + 8005414: 6760 str r0, [r4, #116] ; 0x74 + 8005416: 6720 str r0, [r4, #112] ; 0x70 + 8005418: d00a beq.n 8005430 + 800541a: 6859 ldr r1, [r3, #4] + 800541c: 0209 lsls r1, r1, #8 + 800541e: d507 bpl.n 8005430 + 8005420: e853 1f00 ldrex r1, [r3] + 8005424: f021 6180 bic.w r1, r1, #67108864 ; 0x4000000 + 8005428: e843 1000 strex r0, r1, [r3] + 800542c: 2800 cmp r0, #0 + 800542e: d1f7 bne.n 8005420 + 8005430: 6ee1 ldr r1, [r4, #108] ; 0x6c + 8005432: 2901 cmp r1, #1 + 8005434: d113 bne.n 800545e + 8005436: 66e6 str r6, [r4, #108] ; 0x6c + 8005438: e853 1f00 ldrex r1, [r3] + 800543c: f021 0110 bic.w r1, r1, #16 + 8005440: e843 1000 strex r0, r1, [r3] + 8005444: 2800 cmp r0, #0 + 8005446: d1f7 bne.n 8005438 + 8005448: 69d9 ldr r1, [r3, #28] + 800544a: 06ca lsls r2, r1, #27 + 800544c: bf44 itt mi + 800544e: 2110 movmi r1, #16 + 8005450: 6219 strmi r1, [r3, #32] + 8005452: 4620 mov r0, r4 + 8005454: f8b4 105c ldrh.w r1, [r4, #92] ; 0x5c + 8005458: f7ff fcfc bl 8004e54 + 800545c: e756 b.n 800530c + 800545e: 4620 mov r0, r4 + 8005460: f7fc fca6 bl 8001db0 + 8005464: e752 b.n 800530c + 8005466: 699a ldr r2, [r3, #24] + 8005468: f042 0208 orr.w r2, r2, #8 + 800546c: 619a str r2, [r3, #24] + 800546e: e771 b.n 8005354 + 8005470: effffffe .word 0xeffffffe + 8005474: 40008000 .word 0x40008000 + 8005478: 08005151 .word 0x08005151 -080054d8 : - 80054d8: f8d0 208c ldr.w r2, [r0, #140] ; 0x8c - 80054dc: f8b0 1060 ldrh.w r1, [r0, #96] ; 0x60 - 80054e0: 2a22 cmp r2, #34 ; 0x22 - 80054e2: b508 push {r3, lr} - 80054e4: 6803 ldr r3, [r0, #0] - 80054e6: d155 bne.n 8005594 - 80054e8: 6a5b ldr r3, [r3, #36] ; 0x24 - 80054ea: 6d82 ldr r2, [r0, #88] ; 0x58 - 80054ec: 400b ands r3, r1 - 80054ee: 7013 strb r3, [r2, #0] - 80054f0: 6d83 ldr r3, [r0, #88] ; 0x58 - 80054f2: 3301 adds r3, #1 - 80054f4: 6583 str r3, [r0, #88] ; 0x58 - 80054f6: f8b0 305e ldrh.w r3, [r0, #94] ; 0x5e - 80054fa: 3b01 subs r3, #1 - 80054fc: b29b uxth r3, r3 - 80054fe: f8a0 305e strh.w r3, [r0, #94] ; 0x5e - 8005502: f8b0 305e ldrh.w r3, [r0, #94] ; 0x5e - 8005506: b29b uxth r3, r3 - 8005508: 2b00 cmp r3, #0 - 800550a: d142 bne.n 8005592 - 800550c: 6802 ldr r2, [r0, #0] - 800550e: e852 3f00 ldrex r3, [r2] - 8005512: f423 7390 bic.w r3, r3, #288 ; 0x120 - 8005516: e842 3100 strex r1, r3, [r2] - 800551a: 6803 ldr r3, [r0, #0] - 800551c: 2900 cmp r1, #0 - 800551e: d1f5 bne.n 800550c - 8005520: f103 0208 add.w r2, r3, #8 - 8005524: e852 2f00 ldrex r2, [r2] - 8005528: f022 0201 bic.w r2, r2, #1 - 800552c: f103 0c08 add.w ip, r3, #8 - 8005530: e84c 2100 strex r1, r2, [ip] - 8005534: 2900 cmp r1, #0 - 8005536: d1f3 bne.n 8005520 - 8005538: 2220 movs r2, #32 - 800553a: f8c0 208c str.w r2, [r0, #140] ; 0x8c - 800553e: 4a18 ldr r2, [pc, #96] ; (80055a0 ) - 8005540: 6741 str r1, [r0, #116] ; 0x74 - 8005542: 4293 cmp r3, r2 - 8005544: 6701 str r1, [r0, #112] ; 0x70 - 8005546: d105 bne.n 8005554 - 8005548: 6ec2 ldr r2, [r0, #108] ; 0x6c - 800554a: 2a01 cmp r2, #1 - 800554c: d00e beq.n 800556c - 800554e: f7fc fc4d bl 8001dec - 8005552: e01e b.n 8005592 - 8005554: 685a ldr r2, [r3, #4] - 8005556: 0211 lsls r1, r2, #8 - 8005558: d5f6 bpl.n 8005548 - 800555a: e853 2f00 ldrex r2, [r3] - 800555e: f022 6280 bic.w r2, r2, #67108864 ; 0x4000000 - 8005562: e843 2100 strex r1, r2, [r3] - 8005566: 2900 cmp r1, #0 - 8005568: d1f7 bne.n 800555a - 800556a: e7ed b.n 8005548 - 800556c: 2200 movs r2, #0 - 800556e: 66c2 str r2, [r0, #108] ; 0x6c - 8005570: e853 2f00 ldrex r2, [r3] - 8005574: f022 0210 bic.w r2, r2, #16 - 8005578: e843 2100 strex r1, r2, [r3] - 800557c: 2900 cmp r1, #0 - 800557e: d1f7 bne.n 8005570 - 8005580: 69da ldr r2, [r3, #28] - 8005582: f8b0 105c ldrh.w r1, [r0, #92] ; 0x5c - 8005586: 06d2 lsls r2, r2, #27 - 8005588: bf44 itt mi - 800558a: 2210 movmi r2, #16 - 800558c: 621a strmi r2, [r3, #32] - 800558e: f7ff fe25 bl 80051dc - 8005592: bd08 pop {r3, pc} - 8005594: 699a ldr r2, [r3, #24] - 8005596: f042 0208 orr.w r2, r2, #8 - 800559a: 619a str r2, [r3, #24] - 800559c: e7f9 b.n 8005592 - 800559e: bf00 nop - 80055a0: 40008000 .word 0x40008000 +0800547c : + 800547c: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8005480: 6803 ldr r3, [r0, #0] + 8005482: f8b0 8060 ldrh.w r8, [r0, #96] ; 0x60 + 8005486: 69df ldr r7, [r3, #28] + 8005488: 681a ldr r2, [r3, #0] + 800548a: 689d ldr r5, [r3, #8] + 800548c: f8d0 108c ldr.w r1, [r0, #140] ; 0x8c + 8005490: 9201 str r2, [sp, #4] + 8005492: 2922 cmp r1, #34 ; 0x22 + 8005494: 4604 mov r4, r0 + 8005496: f040 80b2 bne.w 80055fe + 800549a: f8b0 9068 ldrh.w r9, [r0, #104] ; 0x68 + 800549e: f8df a168 ldr.w sl, [pc, #360] ; 8005608 + 80054a2: f8df b168 ldr.w fp, [pc, #360] ; 800560c + 80054a6: 2600 movs r6, #0 + 80054a8: f1b9 0f00 cmp.w r9, #0 + 80054ac: d001 beq.n 80054b2 + 80054ae: 06bb lsls r3, r7, #26 + 80054b0: d421 bmi.n 80054f6 + 80054b2: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e + 80054b6: b29b uxth r3, r3 + 80054b8: b1d3 cbz r3, 80054f0 + 80054ba: f8b4 2068 ldrh.w r2, [r4, #104] ; 0x68 + 80054be: 429a cmp r2, r3 + 80054c0: d916 bls.n 80054f0 + 80054c2: 6822 ldr r2, [r4, #0] + 80054c4: f102 0308 add.w r3, r2, #8 + 80054c8: e853 3f00 ldrex r3, [r3] + 80054cc: f023 5380 bic.w r3, r3, #268435456 ; 0x10000000 + 80054d0: 3208 adds r2, #8 + 80054d2: e842 3100 strex r1, r3, [r2] + 80054d6: 6822 ldr r2, [r4, #0] + 80054d8: 2900 cmp r1, #0 + 80054da: d1f2 bne.n 80054c2 + 80054dc: 4b4c ldr r3, [pc, #304] ; (8005610 ) + 80054de: 6763 str r3, [r4, #116] ; 0x74 + 80054e0: e852 3f00 ldrex r3, [r2] + 80054e4: f043 0320 orr.w r3, r3, #32 + 80054e8: e842 3100 strex r1, r3, [r2] + 80054ec: 2900 cmp r1, #0 + 80054ee: d1f7 bne.n 80054e0 + 80054f0: b003 add sp, #12 + 80054f2: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 80054f6: 6823 ldr r3, [r4, #0] + 80054f8: 6da2 ldr r2, [r4, #88] ; 0x58 + 80054fa: 6a59 ldr r1, [r3, #36] ; 0x24 + 80054fc: ea08 0101 and.w r1, r8, r1 + 8005500: f822 1b02 strh.w r1, [r2], #2 + 8005504: 65a2 str r2, [r4, #88] ; 0x58 + 8005506: f8b4 205e ldrh.w r2, [r4, #94] ; 0x5e + 800550a: 3a01 subs r2, #1 + 800550c: b292 uxth r2, r2 + 800550e: f8a4 205e strh.w r2, [r4, #94] ; 0x5e + 8005512: 69df ldr r7, [r3, #28] + 8005514: 0778 lsls r0, r7, #29 + 8005516: d02c beq.n 8005572 + 8005518: 07f9 lsls r1, r7, #31 + 800551a: d50a bpl.n 8005532 + 800551c: 9a01 ldr r2, [sp, #4] + 800551e: 05d2 lsls r2, r2, #23 + 8005520: d507 bpl.n 8005532 + 8005522: 2101 movs r1, #1 + 8005524: 6219 str r1, [r3, #32] + 8005526: f8d4 1090 ldr.w r1, [r4, #144] ; 0x90 + 800552a: f041 0101 orr.w r1, r1, #1 + 800552e: f8c4 1090 str.w r1, [r4, #144] ; 0x90 + 8005532: 07b8 lsls r0, r7, #30 + 8005534: d509 bpl.n 800554a + 8005536: 07e9 lsls r1, r5, #31 + 8005538: d507 bpl.n 800554a + 800553a: 2102 movs r1, #2 + 800553c: 6219 str r1, [r3, #32] + 800553e: f8d4 1090 ldr.w r1, [r4, #144] ; 0x90 + 8005542: f041 0104 orr.w r1, r1, #4 + 8005546: f8c4 1090 str.w r1, [r4, #144] ; 0x90 + 800554a: 077a lsls r2, r7, #29 + 800554c: d509 bpl.n 8005562 + 800554e: 07e8 lsls r0, r5, #31 + 8005550: d507 bpl.n 8005562 + 8005552: 2104 movs r1, #4 + 8005554: 6219 str r1, [r3, #32] + 8005556: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 + 800555a: f043 0302 orr.w r3, r3, #2 + 800555e: f8c4 3090 str.w r3, [r4, #144] ; 0x90 + 8005562: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 + 8005566: b123 cbz r3, 8005572 + 8005568: 4620 mov r0, r4 + 800556a: f7ff fc44 bl 8004df6 + 800556e: f8c4 6090 str.w r6, [r4, #144] ; 0x90 + 8005572: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e + 8005576: b29b uxth r3, r3 + 8005578: 2b00 cmp r3, #0 + 800557a: d195 bne.n 80054a8 + 800557c: 6821 ldr r1, [r4, #0] + 800557e: e851 3f00 ldrex r3, [r1] + 8005582: f423 7380 bic.w r3, r3, #256 ; 0x100 + 8005586: e841 3000 strex r0, r3, [r1] + 800558a: 6823 ldr r3, [r4, #0] + 800558c: 2800 cmp r0, #0 + 800558e: d1f5 bne.n 800557c + 8005590: f103 0208 add.w r2, r3, #8 + 8005594: e852 1f00 ldrex r1, [r2] + 8005598: ea01 010a and.w r1, r1, sl + 800559c: e842 1000 strex r0, r1, [r2] + 80055a0: 2800 cmp r0, #0 + 80055a2: d1f5 bne.n 8005590 + 80055a4: 2120 movs r1, #32 + 80055a6: 455b cmp r3, fp + 80055a8: f8c4 108c str.w r1, [r4, #140] ; 0x8c + 80055ac: 6760 str r0, [r4, #116] ; 0x74 + 80055ae: 6720 str r0, [r4, #112] ; 0x70 + 80055b0: d00a beq.n 80055c8 + 80055b2: 6859 ldr r1, [r3, #4] + 80055b4: 0209 lsls r1, r1, #8 + 80055b6: d507 bpl.n 80055c8 + 80055b8: e853 1f00 ldrex r1, [r3] + 80055bc: f021 6180 bic.w r1, r1, #67108864 ; 0x4000000 + 80055c0: e843 1000 strex r0, r1, [r3] + 80055c4: 2800 cmp r0, #0 + 80055c6: d1f7 bne.n 80055b8 + 80055c8: 6ee1 ldr r1, [r4, #108] ; 0x6c + 80055ca: 2901 cmp r1, #1 + 80055cc: d113 bne.n 80055f6 + 80055ce: 66e6 str r6, [r4, #108] ; 0x6c + 80055d0: e853 1f00 ldrex r1, [r3] + 80055d4: f021 0110 bic.w r1, r1, #16 + 80055d8: e843 1000 strex r0, r1, [r3] + 80055dc: 2800 cmp r0, #0 + 80055de: d1f7 bne.n 80055d0 + 80055e0: 69d9 ldr r1, [r3, #28] + 80055e2: 06ca lsls r2, r1, #27 + 80055e4: bf44 itt mi + 80055e6: 2110 movmi r1, #16 + 80055e8: 6219 strmi r1, [r3, #32] + 80055ea: 4620 mov r0, r4 + 80055ec: f8b4 105c ldrh.w r1, [r4, #92] ; 0x5c + 80055f0: f7ff fc30 bl 8004e54 + 80055f4: e758 b.n 80054a8 + 80055f6: 4620 mov r0, r4 + 80055f8: f7fc fbda bl 8001db0 + 80055fc: e754 b.n 80054a8 + 80055fe: 699a ldr r2, [r3, #24] + 8005600: f042 0208 orr.w r2, r2, #8 + 8005604: 619a str r2, [r3, #24] + 8005606: e773 b.n 80054f0 + 8005608: effffffe .word 0xeffffffe + 800560c: 40008000 .word 0x40008000 + 8005610: 0800521d .word 0x0800521d -080055a4 : - 80055a4: f8d0 208c ldr.w r2, [r0, #140] ; 0x8c - 80055a8: f8b0 1060 ldrh.w r1, [r0, #96] ; 0x60 - 80055ac: 2a22 cmp r2, #34 ; 0x22 - 80055ae: b508 push {r3, lr} - 80055b0: 6803 ldr r3, [r0, #0] - 80055b2: d152 bne.n 800565a - 80055b4: 6a5a ldr r2, [r3, #36] ; 0x24 - 80055b6: 4011 ands r1, r2 - 80055b8: 6d82 ldr r2, [r0, #88] ; 0x58 - 80055ba: f822 1b02 strh.w r1, [r2], #2 - 80055be: 6582 str r2, [r0, #88] ; 0x58 - 80055c0: f8b0 205e ldrh.w r2, [r0, #94] ; 0x5e - 80055c4: 3a01 subs r2, #1 - 80055c6: b292 uxth r2, r2 - 80055c8: f8a0 205e strh.w r2, [r0, #94] ; 0x5e - 80055cc: f8b0 205e ldrh.w r2, [r0, #94] ; 0x5e - 80055d0: b292 uxth r2, r2 - 80055d2: 2a00 cmp r2, #0 - 80055d4: d140 bne.n 8005658 - 80055d6: e853 2f00 ldrex r2, [r3] - 80055da: f422 7290 bic.w r2, r2, #288 ; 0x120 - 80055de: e843 2100 strex r1, r2, [r3] - 80055e2: 2900 cmp r1, #0 - 80055e4: d1f7 bne.n 80055d6 - 80055e6: f103 0208 add.w r2, r3, #8 - 80055ea: e852 2f00 ldrex r2, [r2] - 80055ee: f022 0201 bic.w r2, r2, #1 - 80055f2: f103 0c08 add.w ip, r3, #8 - 80055f6: e84c 2100 strex r1, r2, [ip] - 80055fa: 2900 cmp r1, #0 - 80055fc: d1f3 bne.n 80055e6 - 80055fe: 2220 movs r2, #32 - 8005600: f8c0 208c str.w r2, [r0, #140] ; 0x8c - 8005604: 4a17 ldr r2, [pc, #92] ; (8005664 ) - 8005606: 6741 str r1, [r0, #116] ; 0x74 - 8005608: 4293 cmp r3, r2 - 800560a: 6701 str r1, [r0, #112] ; 0x70 - 800560c: d105 bne.n 800561a - 800560e: 6ec2 ldr r2, [r0, #108] ; 0x6c - 8005610: 2a01 cmp r2, #1 - 8005612: d00e beq.n 8005632 - 8005614: f7fc fbea bl 8001dec - 8005618: e01e b.n 8005658 - 800561a: 685a ldr r2, [r3, #4] - 800561c: 0211 lsls r1, r2, #8 - 800561e: d5f6 bpl.n 800560e - 8005620: e853 2f00 ldrex r2, [r3] - 8005624: f022 6280 bic.w r2, r2, #67108864 ; 0x4000000 - 8005628: e843 2100 strex r1, r2, [r3] - 800562c: 2900 cmp r1, #0 - 800562e: d1f7 bne.n 8005620 - 8005630: e7ed b.n 800560e - 8005632: 2200 movs r2, #0 - 8005634: 66c2 str r2, [r0, #108] ; 0x6c - 8005636: e853 2f00 ldrex r2, [r3] - 800563a: f022 0210 bic.w r2, r2, #16 - 800563e: e843 2100 strex r1, r2, [r3] - 8005642: 2900 cmp r1, #0 - 8005644: d1f7 bne.n 8005636 - 8005646: 69da ldr r2, [r3, #28] - 8005648: f8b0 105c ldrh.w r1, [r0, #92] ; 0x5c - 800564c: 06d2 lsls r2, r2, #27 - 800564e: bf44 itt mi - 8005650: 2210 movmi r2, #16 - 8005652: 621a strmi r2, [r3, #32] - 8005654: f7ff fdc2 bl 80051dc - 8005658: bd08 pop {r3, pc} - 800565a: 699a ldr r2, [r3, #24] - 800565c: f042 0208 orr.w r2, r2, #8 - 8005660: 619a str r2, [r3, #24] - 8005662: e7f9 b.n 8005658 - 8005664: 40008000 .word 0x40008000 +08005614 : + 8005614: b538 push {r3, r4, r5, lr} + 8005616: 4604 mov r4, r0 + 8005618: 6803 ldr r3, [r0, #0] + 800561a: 6921 ldr r1, [r4, #16] + 800561c: 68a2 ldr r2, [r4, #8] + 800561e: 681d ldr r5, [r3, #0] + 8005620: 69c0 ldr r0, [r0, #28] + 8005622: 430a orrs r2, r1 + 8005624: 6961 ldr r1, [r4, #20] + 8005626: 430a orrs r2, r1 + 8005628: 497d ldr r1, [pc, #500] ; (8005820 ) + 800562a: 4302 orrs r2, r0 + 800562c: 4029 ands r1, r5 + 800562e: 430a orrs r2, r1 + 8005630: 601a str r2, [r3, #0] + 8005632: 685a ldr r2, [r3, #4] + 8005634: 68e1 ldr r1, [r4, #12] + 8005636: f422 5240 bic.w r2, r2, #12288 ; 0x3000 + 800563a: 430a orrs r2, r1 + 800563c: 605a str r2, [r3, #4] + 800563e: 4a79 ldr r2, [pc, #484] ; (8005824 ) + 8005640: 69a1 ldr r1, [r4, #24] + 8005642: 4293 cmp r3, r2 + 8005644: bf1c itt ne + 8005646: 6a22 ldrne r2, [r4, #32] + 8005648: 4311 orrne r1, r2 + 800564a: 689a ldr r2, [r3, #8] + 800564c: f022 426e bic.w r2, r2, #3992977408 ; 0xee000000 + 8005650: f422 6230 bic.w r2, r2, #2816 ; 0xb00 + 8005654: 430a orrs r2, r1 + 8005656: 609a str r2, [r3, #8] + 8005658: 6ada ldr r2, [r3, #44] ; 0x2c + 800565a: 6a61 ldr r1, [r4, #36] ; 0x24 + 800565c: f022 020f bic.w r2, r2, #15 + 8005660: 430a orrs r2, r1 + 8005662: 62da str r2, [r3, #44] ; 0x2c + 8005664: 4a70 ldr r2, [pc, #448] ; (8005828 ) + 8005666: 4293 cmp r3, r2 + 8005668: d11c bne.n 80056a4 + 800566a: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 800566e: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 + 8005672: f003 0303 and.w r3, r3, #3 + 8005676: f443 3340 orr.w r3, r3, #196608 ; 0x30000 + 800567a: f5a3 3340 sub.w r3, r3, #196608 ; 0x30000 + 800567e: 3b01 subs r3, #1 + 8005680: 2b02 cmp r3, #2 + 8005682: f200 80c7 bhi.w 8005814 + 8005686: 4a69 ldr r2, [pc, #420] ; (800582c ) + 8005688: 5c9b ldrb r3, [r3, r2] + 800568a: f5b0 4f00 cmp.w r0, #32768 ; 0x8000 + 800568e: f040 8089 bne.w 80057a4 + 8005692: 2b08 cmp r3, #8 + 8005694: d824 bhi.n 80056e0 + 8005696: e8df f003 tbb [pc, r3] + 800569a: c061 .short 0xc061 + 800569c: 23802383 .word 0x23802383 + 80056a0: 2323 .short 0x2323 + 80056a2: 65 .byte 0x65 + 80056a3: 00 .byte 0x00 + 80056a4: 4a62 ldr r2, [pc, #392] ; (8005830 ) + 80056a6: 4293 cmp r3, r2 + 80056a8: d109 bne.n 80056be + 80056aa: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 80056ae: 4a61 ldr r2, [pc, #388] ; (8005834 ) + 80056b0: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 + 80056b4: f003 030c and.w r3, r3, #12 + 80056b8: f443 2340 orr.w r3, r3, #786432 ; 0xc0000 + 80056bc: e7e4 b.n 8005688 + 80056be: 4a59 ldr r2, [pc, #356] ; (8005824 ) + 80056c0: 4293 cmp r3, r2 + 80056c2: d10d bne.n 80056e0 + 80056c4: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 80056c8: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 + 80056cc: f403 6340 and.w r3, r3, #3072 ; 0xc00 + 80056d0: f5b3 6f00 cmp.w r3, #2048 ; 0x800 + 80056d4: d01a beq.n 800570c + 80056d6: d805 bhi.n 80056e4 + 80056d8: b153 cbz r3, 80056f0 + 80056da: f5b3 6f80 cmp.w r3, #1024 ; 0x400 + 80056de: d012 beq.n 8005706 + 80056e0: 2001 movs r0, #1 + 80056e2: e009 b.n 80056f8 + 80056e4: f5b3 6f40 cmp.w r3, #3072 ; 0xc00 + 80056e8: d1fa bne.n 80056e0 + 80056ea: f44f 4000 mov.w r0, #32768 ; 0x8000 + 80056ee: e00e b.n 800570e + 80056f0: f7fe fcd2 bl 8004098 + 80056f4: b958 cbnz r0, 800570e + 80056f6: 2000 movs r0, #0 + 80056f8: f04f 1301 mov.w r3, #65537 ; 0x10001 + 80056fc: 66a3 str r3, [r4, #104] ; 0x68 + 80056fe: 2300 movs r3, #0 + 8005700: e9c4 331d strd r3, r3, [r4, #116] ; 0x74 + 8005704: bd38 pop {r3, r4, r5, pc} + 8005706: f7fe f8cf bl 80038a8 + 800570a: e7f3 b.n 80056f4 + 800570c: 484a ldr r0, [pc, #296] ; (8005838 ) + 800570e: 6865 ldr r5, [r4, #4] + 8005710: 4b4a ldr r3, [pc, #296] ; (800583c ) + 8005712: 6a62 ldr r2, [r4, #36] ; 0x24 + 8005714: eb05 0145 add.w r1, r5, r5, lsl #1 + 8005718: f833 2012 ldrh.w r2, [r3, r2, lsl #1] + 800571c: fbb0 f3f2 udiv r3, r0, r2 + 8005720: 4299 cmp r1, r3 + 8005722: d8dd bhi.n 80056e0 + 8005724: ebb3 3f05 cmp.w r3, r5, lsl #12 + 8005728: d8da bhi.n 80056e0 + 800572a: 2300 movs r3, #0 + 800572c: 4619 mov r1, r3 + 800572e: f7fb fa3b bl 8000ba8 <__aeabi_uldivmod> + 8005732: 0209 lsls r1, r1, #8 + 8005734: ea41 6110 orr.w r1, r1, r0, lsr #24 + 8005738: 086b lsrs r3, r5, #1 + 800573a: 0200 lsls r0, r0, #8 + 800573c: 18c0 adds r0, r0, r3 + 800573e: 462a mov r2, r5 + 8005740: f04f 0300 mov.w r3, #0 + 8005744: f141 0100 adc.w r1, r1, #0 + 8005748: f7fb fa2e bl 8000ba8 <__aeabi_uldivmod> + 800574c: 4b3c ldr r3, [pc, #240] ; (8005840 ) + 800574e: f5a0 7240 sub.w r2, r0, #768 ; 0x300 + 8005752: 429a cmp r2, r3 + 8005754: d8c4 bhi.n 80056e0 + 8005756: 6823 ldr r3, [r4, #0] + 8005758: 60d8 str r0, [r3, #12] + 800575a: e7cc b.n 80056f6 + 800575c: f7fe fc9c bl 8004098 + 8005760: 2800 cmp r0, #0 + 8005762: d0c8 beq.n 80056f6 + 8005764: 6861 ldr r1, [r4, #4] + 8005766: 4b35 ldr r3, [pc, #212] ; (800583c ) + 8005768: 6a62 ldr r2, [r4, #36] ; 0x24 + 800576a: f833 2012 ldrh.w r2, [r3, r2, lsl #1] + 800576e: fbb0 f2f2 udiv r2, r0, r2 + 8005772: 084b lsrs r3, r1, #1 + 8005774: eb03 0342 add.w r3, r3, r2, lsl #1 + 8005778: f64f 72ef movw r2, #65519 ; 0xffef + 800577c: fbb3 f3f1 udiv r3, r3, r1 + 8005780: f1a3 0110 sub.w r1, r3, #16 + 8005784: 4291 cmp r1, r2 + 8005786: d8ab bhi.n 80056e0 + 8005788: f023 020f bic.w r2, r3, #15 + 800578c: 6821 ldr r1, [r4, #0] + 800578e: b292 uxth r2, r2 + 8005790: f3c3 0342 ubfx r3, r3, #1, #3 + 8005794: 4313 orrs r3, r2 + 8005796: 60cb str r3, [r1, #12] + 8005798: e7ad b.n 80056f6 + 800579a: f7fe f885 bl 80038a8 + 800579e: e7df b.n 8005760 + 80057a0: 4825 ldr r0, [pc, #148] ; (8005838 ) + 80057a2: e7df b.n 8005764 + 80057a4: 2b08 cmp r3, #8 + 80057a6: d89b bhi.n 80056e0 + 80057a8: a201 add r2, pc, #4 ; (adr r2, 80057b0 ) + 80057aa: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 80057ae: bf00 nop + 80057b0: 080057f9 .word 0x080057f9 + 80057b4: 08005805 .word 0x08005805 + 80057b8: 08005811 .word 0x08005811 + 80057bc: 080056e1 .word 0x080056e1 + 80057c0: 0800580b .word 0x0800580b + 80057c4: 080056e1 .word 0x080056e1 + 80057c8: 080056e1 .word 0x080056e1 + 80057cc: 080056e1 .word 0x080056e1 + 80057d0: 080057d5 .word 0x080057d5 + 80057d4: f44f 4000 mov.w r0, #32768 ; 0x8000 + 80057d8: 6863 ldr r3, [r4, #4] + 80057da: 6a61 ldr r1, [r4, #36] ; 0x24 + 80057dc: 4a17 ldr r2, [pc, #92] ; (800583c ) + 80057de: f832 2011 ldrh.w r2, [r2, r1, lsl #1] + 80057e2: fbb0 f0f2 udiv r0, r0, r2 + 80057e6: eb00 0053 add.w r0, r0, r3, lsr #1 + 80057ea: fbb0 f0f3 udiv r0, r0, r3 + 80057ee: f64f 73ef movw r3, #65519 ; 0xffef + 80057f2: f1a0 0210 sub.w r2, r0, #16 + 80057f6: e7ac b.n 8005752 + 80057f8: f7fe fc4e bl 8004098 + 80057fc: 2800 cmp r0, #0 + 80057fe: f43f af7a beq.w 80056f6 + 8005802: e7e9 b.n 80057d8 + 8005804: f7fe fc58 bl 80040b8 + 8005808: e7f8 b.n 80057fc + 800580a: f7fe f84d bl 80038a8 + 800580e: e7f5 b.n 80057fc + 8005810: 4809 ldr r0, [pc, #36] ; (8005838 ) + 8005812: e7e1 b.n 80057d8 + 8005814: f5b0 4f00 cmp.w r0, #32768 ; 0x8000 + 8005818: d1f4 bne.n 8005804 + 800581a: f7fe fc4d bl 80040b8 + 800581e: e79f b.n 8005760 + 8005820: cfff69f3 .word 0xcfff69f3 + 8005824: 40008000 .word 0x40008000 + 8005828: 40013800 .word 0x40013800 + 800582c: 0800f250 .word 0x0800f250 + 8005830: 40004400 .word 0x40004400 + 8005834: 07f4f253 .word 0x07f4f253 + 8005838: 00f42400 .word 0x00f42400 + 800583c: 0800f260 .word 0x0800f260 + 8005840: 000ffcff .word 0x000ffcff -08005668 : - 8005668: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800566c: 6803 ldr r3, [r0, #0] - 800566e: f8b0 8060 ldrh.w r8, [r0, #96] ; 0x60 - 8005672: 69df ldr r7, [r3, #28] - 8005674: 681a ldr r2, [r3, #0] - 8005676: 689d ldr r5, [r3, #8] - 8005678: f8d0 108c ldr.w r1, [r0, #140] ; 0x8c - 800567c: 9201 str r2, [sp, #4] - 800567e: 2922 cmp r1, #34 ; 0x22 - 8005680: 4604 mov r4, r0 - 8005682: f040 80b4 bne.w 80057ee - 8005686: f8b0 9068 ldrh.w r9, [r0, #104] ; 0x68 - 800568a: f8df a16c ldr.w sl, [pc, #364] ; 80057f8 - 800568e: f8df b16c ldr.w fp, [pc, #364] ; 80057fc - 8005692: 2600 movs r6, #0 - 8005694: f1b9 0f00 cmp.w r9, #0 - 8005698: d001 beq.n 800569e - 800569a: 06bb lsls r3, r7, #26 - 800569c: d421 bmi.n 80056e2 - 800569e: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e - 80056a2: b29b uxth r3, r3 - 80056a4: b1d3 cbz r3, 80056dc - 80056a6: f8b4 2068 ldrh.w r2, [r4, #104] ; 0x68 - 80056aa: 429a cmp r2, r3 - 80056ac: d916 bls.n 80056dc - 80056ae: 6822 ldr r2, [r4, #0] - 80056b0: f102 0308 add.w r3, r2, #8 - 80056b4: e853 3f00 ldrex r3, [r3] - 80056b8: f023 5380 bic.w r3, r3, #268435456 ; 0x10000000 - 80056bc: 3208 adds r2, #8 - 80056be: e842 3100 strex r1, r3, [r2] - 80056c2: 6822 ldr r2, [r4, #0] - 80056c4: 2900 cmp r1, #0 - 80056c6: d1f2 bne.n 80056ae - 80056c8: 4b4d ldr r3, [pc, #308] ; (8005800 ) - 80056ca: 6763 str r3, [r4, #116] ; 0x74 - 80056cc: e852 3f00 ldrex r3, [r2] - 80056d0: f043 0320 orr.w r3, r3, #32 - 80056d4: e842 3100 strex r1, r3, [r2] - 80056d8: 2900 cmp r1, #0 - 80056da: d1f7 bne.n 80056cc - 80056dc: b003 add sp, #12 - 80056de: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 80056e2: 6823 ldr r3, [r4, #0] - 80056e4: 6da2 ldr r2, [r4, #88] ; 0x58 - 80056e6: 6a5b ldr r3, [r3, #36] ; 0x24 - 80056e8: ea03 0308 and.w r3, r3, r8 - 80056ec: 7013 strb r3, [r2, #0] - 80056ee: 6da3 ldr r3, [r4, #88] ; 0x58 - 80056f0: 3301 adds r3, #1 - 80056f2: 65a3 str r3, [r4, #88] ; 0x58 - 80056f4: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e - 80056f8: 3b01 subs r3, #1 - 80056fa: b29b uxth r3, r3 - 80056fc: f8a4 305e strh.w r3, [r4, #94] ; 0x5e - 8005700: 6823 ldr r3, [r4, #0] - 8005702: 69df ldr r7, [r3, #28] - 8005704: 0778 lsls r0, r7, #29 - 8005706: d02c beq.n 8005762 - 8005708: 07f9 lsls r1, r7, #31 - 800570a: d50a bpl.n 8005722 - 800570c: 9a01 ldr r2, [sp, #4] - 800570e: 05d2 lsls r2, r2, #23 - 8005710: d507 bpl.n 8005722 - 8005712: 2101 movs r1, #1 - 8005714: 6219 str r1, [r3, #32] - 8005716: f8d4 1090 ldr.w r1, [r4, #144] ; 0x90 - 800571a: f041 0101 orr.w r1, r1, #1 - 800571e: f8c4 1090 str.w r1, [r4, #144] ; 0x90 - 8005722: 07b8 lsls r0, r7, #30 - 8005724: d509 bpl.n 800573a - 8005726: 07e9 lsls r1, r5, #31 - 8005728: d507 bpl.n 800573a - 800572a: 2102 movs r1, #2 - 800572c: 6219 str r1, [r3, #32] - 800572e: f8d4 1090 ldr.w r1, [r4, #144] ; 0x90 - 8005732: f041 0104 orr.w r1, r1, #4 - 8005736: f8c4 1090 str.w r1, [r4, #144] ; 0x90 - 800573a: 077a lsls r2, r7, #29 - 800573c: d509 bpl.n 8005752 - 800573e: 07e8 lsls r0, r5, #31 - 8005740: d507 bpl.n 8005752 - 8005742: 2104 movs r1, #4 - 8005744: 6219 str r1, [r3, #32] - 8005746: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 - 800574a: f043 0302 orr.w r3, r3, #2 - 800574e: f8c4 3090 str.w r3, [r4, #144] ; 0x90 - 8005752: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 - 8005756: b123 cbz r3, 8005762 - 8005758: 4620 mov r0, r4 - 800575a: f7ff fd10 bl 800517e - 800575e: f8c4 6090 str.w r6, [r4, #144] ; 0x90 - 8005762: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e - 8005766: b29b uxth r3, r3 - 8005768: 2b00 cmp r3, #0 - 800576a: d193 bne.n 8005694 - 800576c: 6821 ldr r1, [r4, #0] - 800576e: e851 3f00 ldrex r3, [r1] - 8005772: f423 7380 bic.w r3, r3, #256 ; 0x100 - 8005776: e841 3000 strex r0, r3, [r1] - 800577a: 6823 ldr r3, [r4, #0] - 800577c: 2800 cmp r0, #0 - 800577e: d1f5 bne.n 800576c - 8005780: f103 0208 add.w r2, r3, #8 - 8005784: e852 1f00 ldrex r1, [r2] - 8005788: ea01 010a and.w r1, r1, sl - 800578c: e842 1000 strex r0, r1, [r2] - 8005790: 2800 cmp r0, #0 - 8005792: d1f5 bne.n 8005780 - 8005794: 2120 movs r1, #32 - 8005796: 455b cmp r3, fp - 8005798: f8c4 108c str.w r1, [r4, #140] ; 0x8c - 800579c: 6760 str r0, [r4, #116] ; 0x74 - 800579e: 6720 str r0, [r4, #112] ; 0x70 - 80057a0: d00a beq.n 80057b8 - 80057a2: 6859 ldr r1, [r3, #4] - 80057a4: 0209 lsls r1, r1, #8 - 80057a6: d507 bpl.n 80057b8 - 80057a8: e853 1f00 ldrex r1, [r3] - 80057ac: f021 6180 bic.w r1, r1, #67108864 ; 0x4000000 - 80057b0: e843 1000 strex r0, r1, [r3] - 80057b4: 2800 cmp r0, #0 - 80057b6: d1f7 bne.n 80057a8 - 80057b8: 6ee1 ldr r1, [r4, #108] ; 0x6c - 80057ba: 2901 cmp r1, #1 - 80057bc: d113 bne.n 80057e6 - 80057be: 66e6 str r6, [r4, #108] ; 0x6c - 80057c0: e853 1f00 ldrex r1, [r3] - 80057c4: f021 0110 bic.w r1, r1, #16 - 80057c8: e843 1000 strex r0, r1, [r3] - 80057cc: 2800 cmp r0, #0 - 80057ce: d1f7 bne.n 80057c0 - 80057d0: 69d9 ldr r1, [r3, #28] - 80057d2: 06ca lsls r2, r1, #27 - 80057d4: bf44 itt mi - 80057d6: 2110 movmi r1, #16 - 80057d8: 6219 strmi r1, [r3, #32] - 80057da: 4620 mov r0, r4 - 80057dc: f8b4 105c ldrh.w r1, [r4, #92] ; 0x5c - 80057e0: f7ff fcfc bl 80051dc - 80057e4: e756 b.n 8005694 - 80057e6: 4620 mov r0, r4 - 80057e8: f7fc fb00 bl 8001dec - 80057ec: e752 b.n 8005694 - 80057ee: 699a ldr r2, [r3, #24] - 80057f0: f042 0208 orr.w r2, r2, #8 - 80057f4: 619a str r2, [r3, #24] - 80057f6: e771 b.n 80056dc - 80057f8: effffffe .word 0xeffffffe - 80057fc: 40008000 .word 0x40008000 - 8005800: 080054d9 .word 0x080054d9 +08005844 : + 8005844: 6a83 ldr r3, [r0, #40] ; 0x28 + 8005846: 07da lsls r2, r3, #31 + 8005848: b510 push {r4, lr} + 800584a: d506 bpl.n 800585a + 800584c: 6801 ldr r1, [r0, #0] + 800584e: 6ac4 ldr r4, [r0, #44] ; 0x2c + 8005850: 684a ldr r2, [r1, #4] + 8005852: f422 3200 bic.w r2, r2, #131072 ; 0x20000 + 8005856: 4322 orrs r2, r4 + 8005858: 604a str r2, [r1, #4] + 800585a: 079c lsls r4, r3, #30 + 800585c: d506 bpl.n 800586c + 800585e: 6801 ldr r1, [r0, #0] + 8005860: 6b04 ldr r4, [r0, #48] ; 0x30 + 8005862: 684a ldr r2, [r1, #4] + 8005864: f422 3280 bic.w r2, r2, #65536 ; 0x10000 + 8005868: 4322 orrs r2, r4 + 800586a: 604a str r2, [r1, #4] + 800586c: 0759 lsls r1, r3, #29 + 800586e: d506 bpl.n 800587e + 8005870: 6801 ldr r1, [r0, #0] + 8005872: 6b44 ldr r4, [r0, #52] ; 0x34 + 8005874: 684a ldr r2, [r1, #4] + 8005876: f422 2280 bic.w r2, r2, #262144 ; 0x40000 + 800587a: 4322 orrs r2, r4 + 800587c: 604a str r2, [r1, #4] + 800587e: 071a lsls r2, r3, #28 + 8005880: d506 bpl.n 8005890 + 8005882: 6801 ldr r1, [r0, #0] + 8005884: 6b84 ldr r4, [r0, #56] ; 0x38 + 8005886: 684a ldr r2, [r1, #4] + 8005888: f422 4200 bic.w r2, r2, #32768 ; 0x8000 + 800588c: 4322 orrs r2, r4 + 800588e: 604a str r2, [r1, #4] + 8005890: 06dc lsls r4, r3, #27 + 8005892: d506 bpl.n 80058a2 + 8005894: 6801 ldr r1, [r0, #0] + 8005896: 6bc4 ldr r4, [r0, #60] ; 0x3c + 8005898: 688a ldr r2, [r1, #8] + 800589a: f422 5280 bic.w r2, r2, #4096 ; 0x1000 + 800589e: 4322 orrs r2, r4 + 80058a0: 608a str r2, [r1, #8] + 80058a2: 0699 lsls r1, r3, #26 + 80058a4: d506 bpl.n 80058b4 + 80058a6: 6801 ldr r1, [r0, #0] + 80058a8: 6c04 ldr r4, [r0, #64] ; 0x40 + 80058aa: 688a ldr r2, [r1, #8] + 80058ac: f422 5200 bic.w r2, r2, #8192 ; 0x2000 + 80058b0: 4322 orrs r2, r4 + 80058b2: 608a str r2, [r1, #8] + 80058b4: 065a lsls r2, r3, #25 + 80058b6: d50f bpl.n 80058d8 + 80058b8: 6801 ldr r1, [r0, #0] + 80058ba: 6c44 ldr r4, [r0, #68] ; 0x44 + 80058bc: 684a ldr r2, [r1, #4] + 80058be: f422 1280 bic.w r2, r2, #1048576 ; 0x100000 + 80058c2: 4322 orrs r2, r4 + 80058c4: f5b4 1f80 cmp.w r4, #1048576 ; 0x100000 + 80058c8: 604a str r2, [r1, #4] + 80058ca: d105 bne.n 80058d8 + 80058cc: 684a ldr r2, [r1, #4] + 80058ce: 6c84 ldr r4, [r0, #72] ; 0x48 + 80058d0: f422 02c0 bic.w r2, r2, #6291456 ; 0x600000 + 80058d4: 4322 orrs r2, r4 + 80058d6: 604a str r2, [r1, #4] + 80058d8: 061b lsls r3, r3, #24 + 80058da: d506 bpl.n 80058ea + 80058dc: 6802 ldr r2, [r0, #0] + 80058de: 6cc1 ldr r1, [r0, #76] ; 0x4c + 80058e0: 6853 ldr r3, [r2, #4] + 80058e2: f423 2300 bic.w r3, r3, #524288 ; 0x80000 + 80058e6: 430b orrs r3, r1 + 80058e8: 6053 str r3, [r2, #4] + 80058ea: bd10 pop {r4, pc} -08005804 : - 8005804: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8005808: 6803 ldr r3, [r0, #0] - 800580a: f8b0 8060 ldrh.w r8, [r0, #96] ; 0x60 - 800580e: 69df ldr r7, [r3, #28] - 8005810: 681a ldr r2, [r3, #0] - 8005812: 689d ldr r5, [r3, #8] - 8005814: f8d0 108c ldr.w r1, [r0, #140] ; 0x8c - 8005818: 9201 str r2, [sp, #4] - 800581a: 2922 cmp r1, #34 ; 0x22 - 800581c: 4604 mov r4, r0 - 800581e: f040 80b2 bne.w 8005986 - 8005822: f8b0 9068 ldrh.w r9, [r0, #104] ; 0x68 - 8005826: f8df a168 ldr.w sl, [pc, #360] ; 8005990 - 800582a: f8df b168 ldr.w fp, [pc, #360] ; 8005994 - 800582e: 2600 movs r6, #0 - 8005830: f1b9 0f00 cmp.w r9, #0 - 8005834: d001 beq.n 800583a - 8005836: 06bb lsls r3, r7, #26 - 8005838: d421 bmi.n 800587e - 800583a: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e - 800583e: b29b uxth r3, r3 - 8005840: b1d3 cbz r3, 8005878 - 8005842: f8b4 2068 ldrh.w r2, [r4, #104] ; 0x68 - 8005846: 429a cmp r2, r3 - 8005848: d916 bls.n 8005878 - 800584a: 6822 ldr r2, [r4, #0] - 800584c: f102 0308 add.w r3, r2, #8 - 8005850: e853 3f00 ldrex r3, [r3] - 8005854: f023 5380 bic.w r3, r3, #268435456 ; 0x10000000 - 8005858: 3208 adds r2, #8 - 800585a: e842 3100 strex r1, r3, [r2] - 800585e: 6822 ldr r2, [r4, #0] - 8005860: 2900 cmp r1, #0 - 8005862: d1f2 bne.n 800584a - 8005864: 4b4c ldr r3, [pc, #304] ; (8005998 ) - 8005866: 6763 str r3, [r4, #116] ; 0x74 - 8005868: e852 3f00 ldrex r3, [r2] - 800586c: f043 0320 orr.w r3, r3, #32 - 8005870: e842 3100 strex r1, r3, [r2] - 8005874: 2900 cmp r1, #0 - 8005876: d1f7 bne.n 8005868 - 8005878: b003 add sp, #12 - 800587a: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800587e: 6823 ldr r3, [r4, #0] - 8005880: 6da2 ldr r2, [r4, #88] ; 0x58 - 8005882: 6a59 ldr r1, [r3, #36] ; 0x24 - 8005884: ea08 0101 and.w r1, r8, r1 - 8005888: f822 1b02 strh.w r1, [r2], #2 - 800588c: 65a2 str r2, [r4, #88] ; 0x58 - 800588e: f8b4 205e ldrh.w r2, [r4, #94] ; 0x5e - 8005892: 3a01 subs r2, #1 - 8005894: b292 uxth r2, r2 - 8005896: f8a4 205e strh.w r2, [r4, #94] ; 0x5e - 800589a: 69df ldr r7, [r3, #28] - 800589c: 0778 lsls r0, r7, #29 - 800589e: d02c beq.n 80058fa - 80058a0: 07f9 lsls r1, r7, #31 - 80058a2: d50a bpl.n 80058ba - 80058a4: 9a01 ldr r2, [sp, #4] - 80058a6: 05d2 lsls r2, r2, #23 - 80058a8: d507 bpl.n 80058ba - 80058aa: 2101 movs r1, #1 - 80058ac: 6219 str r1, [r3, #32] - 80058ae: f8d4 1090 ldr.w r1, [r4, #144] ; 0x90 - 80058b2: f041 0101 orr.w r1, r1, #1 - 80058b6: f8c4 1090 str.w r1, [r4, #144] ; 0x90 - 80058ba: 07b8 lsls r0, r7, #30 - 80058bc: d509 bpl.n 80058d2 - 80058be: 07e9 lsls r1, r5, #31 - 80058c0: d507 bpl.n 80058d2 - 80058c2: 2102 movs r1, #2 - 80058c4: 6219 str r1, [r3, #32] - 80058c6: f8d4 1090 ldr.w r1, [r4, #144] ; 0x90 - 80058ca: f041 0104 orr.w r1, r1, #4 - 80058ce: f8c4 1090 str.w r1, [r4, #144] ; 0x90 - 80058d2: 077a lsls r2, r7, #29 - 80058d4: d509 bpl.n 80058ea - 80058d6: 07e8 lsls r0, r5, #31 - 80058d8: d507 bpl.n 80058ea - 80058da: 2104 movs r1, #4 - 80058dc: 6219 str r1, [r3, #32] - 80058de: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 - 80058e2: f043 0302 orr.w r3, r3, #2 - 80058e6: f8c4 3090 str.w r3, [r4, #144] ; 0x90 - 80058ea: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 - 80058ee: b123 cbz r3, 80058fa - 80058f0: 4620 mov r0, r4 - 80058f2: f7ff fc44 bl 800517e - 80058f6: f8c4 6090 str.w r6, [r4, #144] ; 0x90 - 80058fa: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e - 80058fe: b29b uxth r3, r3 - 8005900: 2b00 cmp r3, #0 - 8005902: d195 bne.n 8005830 - 8005904: 6821 ldr r1, [r4, #0] - 8005906: e851 3f00 ldrex r3, [r1] - 800590a: f423 7380 bic.w r3, r3, #256 ; 0x100 - 800590e: e841 3000 strex r0, r3, [r1] - 8005912: 6823 ldr r3, [r4, #0] - 8005914: 2800 cmp r0, #0 - 8005916: d1f5 bne.n 8005904 - 8005918: f103 0208 add.w r2, r3, #8 - 800591c: e852 1f00 ldrex r1, [r2] - 8005920: ea01 010a and.w r1, r1, sl - 8005924: e842 1000 strex r0, r1, [r2] - 8005928: 2800 cmp r0, #0 - 800592a: d1f5 bne.n 8005918 - 800592c: 2120 movs r1, #32 - 800592e: 455b cmp r3, fp - 8005930: f8c4 108c str.w r1, [r4, #140] ; 0x8c - 8005934: 6760 str r0, [r4, #116] ; 0x74 - 8005936: 6720 str r0, [r4, #112] ; 0x70 - 8005938: d00a beq.n 8005950 - 800593a: 6859 ldr r1, [r3, #4] - 800593c: 0209 lsls r1, r1, #8 - 800593e: d507 bpl.n 8005950 - 8005940: e853 1f00 ldrex r1, [r3] - 8005944: f021 6180 bic.w r1, r1, #67108864 ; 0x4000000 - 8005948: e843 1000 strex r0, r1, [r3] - 800594c: 2800 cmp r0, #0 - 800594e: d1f7 bne.n 8005940 - 8005950: 6ee1 ldr r1, [r4, #108] ; 0x6c - 8005952: 2901 cmp r1, #1 - 8005954: d113 bne.n 800597e - 8005956: 66e6 str r6, [r4, #108] ; 0x6c - 8005958: e853 1f00 ldrex r1, [r3] - 800595c: f021 0110 bic.w r1, r1, #16 - 8005960: e843 1000 strex r0, r1, [r3] - 8005964: 2800 cmp r0, #0 - 8005966: d1f7 bne.n 8005958 - 8005968: 69d9 ldr r1, [r3, #28] - 800596a: 06ca lsls r2, r1, #27 - 800596c: bf44 itt mi - 800596e: 2110 movmi r1, #16 - 8005970: 6219 strmi r1, [r3, #32] - 8005972: 4620 mov r0, r4 - 8005974: f8b4 105c ldrh.w r1, [r4, #92] ; 0x5c - 8005978: f7ff fc30 bl 80051dc - 800597c: e758 b.n 8005830 - 800597e: 4620 mov r0, r4 - 8005980: f7fc fa34 bl 8001dec - 8005984: e754 b.n 8005830 - 8005986: 699a ldr r2, [r3, #24] - 8005988: f042 0208 orr.w r2, r2, #8 - 800598c: 619a str r2, [r3, #24] - 800598e: e773 b.n 8005878 - 8005990: effffffe .word 0xeffffffe - 8005994: 40008000 .word 0x40008000 - 8005998: 080055a5 .word 0x080055a5 +080058ec : + 80058ec: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 80058f0: f8dd 8018 ldr.w r8, [sp, #24] + 80058f4: 4604 mov r4, r0 + 80058f6: 460e mov r6, r1 + 80058f8: 4615 mov r5, r2 + 80058fa: 461f mov r7, r3 + 80058fc: 6822 ldr r2, [r4, #0] + 80058fe: 69d3 ldr r3, [r2, #28] + 8005900: ea36 0303 bics.w r3, r6, r3 + 8005904: bf0c ite eq + 8005906: 2301 moveq r3, #1 + 8005908: 2300 movne r3, #0 + 800590a: 42ab cmp r3, r5 + 800590c: d001 beq.n 8005912 + 800590e: 2000 movs r0, #0 + 8005910: e027 b.n 8005962 + 8005912: f1b8 3fff cmp.w r8, #4294967295 + 8005916: d0f2 beq.n 80058fe + 8005918: f7fb ffac bl 8001874 + 800591c: 1bc0 subs r0, r0, r7 + 800591e: 4540 cmp r0, r8 + 8005920: 6820 ldr r0, [r4, #0] + 8005922: d802 bhi.n 800592a + 8005924: f1b8 0f00 cmp.w r8, #0 + 8005928: d11d bne.n 8005966 + 800592a: e850 3f00 ldrex r3, [r0] + 800592e: f423 73d0 bic.w r3, r3, #416 ; 0x1a0 + 8005932: e840 3200 strex r2, r3, [r0] + 8005936: 2a00 cmp r2, #0 + 8005938: d1f7 bne.n 800592a + 800593a: f100 0308 add.w r3, r0, #8 + 800593e: e853 3f00 ldrex r3, [r3] + 8005942: f023 0301 bic.w r3, r3, #1 + 8005946: f100 0108 add.w r1, r0, #8 + 800594a: e841 3200 strex r2, r3, [r1] + 800594e: 2a00 cmp r2, #0 + 8005950: d1f3 bne.n 800593a + 8005952: 2320 movs r3, #32 + 8005954: f8c4 3088 str.w r3, [r4, #136] ; 0x88 + 8005958: f8c4 308c str.w r3, [r4, #140] ; 0x8c + 800595c: f884 2084 strb.w r2, [r4, #132] ; 0x84 + 8005960: 2003 movs r0, #3 + 8005962: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8005966: 6803 ldr r3, [r0, #0] + 8005968: 075a lsls r2, r3, #29 + 800596a: d5c7 bpl.n 80058fc + 800596c: 69c3 ldr r3, [r0, #28] + 800596e: 051b lsls r3, r3, #20 + 8005970: d5c4 bpl.n 80058fc + 8005972: f44f 6300 mov.w r3, #2048 ; 0x800 + 8005976: 6203 str r3, [r0, #32] + 8005978: e850 3f00 ldrex r3, [r0] + 800597c: f423 73d0 bic.w r3, r3, #416 ; 0x1a0 + 8005980: e840 3200 strex r2, r3, [r0] + 8005984: 2a00 cmp r2, #0 + 8005986: d1f7 bne.n 8005978 + 8005988: f100 0308 add.w r3, r0, #8 + 800598c: e853 3f00 ldrex r3, [r3] + 8005990: f023 0301 bic.w r3, r3, #1 + 8005994: f100 0108 add.w r1, r0, #8 + 8005998: e841 3200 strex r2, r3, [r1] + 800599c: 2a00 cmp r2, #0 + 800599e: d1f3 bne.n 8005988 + 80059a0: 2320 movs r3, #32 + 80059a2: f8c4 3088 str.w r3, [r4, #136] ; 0x88 + 80059a6: f8c4 308c str.w r3, [r4, #140] ; 0x8c + 80059aa: f8c4 3090 str.w r3, [r4, #144] ; 0x90 + 80059ae: e7d5 b.n 800595c -0800599c : - 800599c: b538 push {r3, r4, r5, lr} - 800599e: 4604 mov r4, r0 - 80059a0: 6803 ldr r3, [r0, #0] - 80059a2: 6921 ldr r1, [r4, #16] - 80059a4: 68a2 ldr r2, [r4, #8] - 80059a6: 681d ldr r5, [r3, #0] - 80059a8: 69c0 ldr r0, [r0, #28] - 80059aa: 430a orrs r2, r1 - 80059ac: 6961 ldr r1, [r4, #20] - 80059ae: 430a orrs r2, r1 - 80059b0: 497d ldr r1, [pc, #500] ; (8005ba8 ) - 80059b2: 4302 orrs r2, r0 - 80059b4: 4029 ands r1, r5 - 80059b6: 430a orrs r2, r1 - 80059b8: 601a str r2, [r3, #0] - 80059ba: 685a ldr r2, [r3, #4] - 80059bc: 68e1 ldr r1, [r4, #12] - 80059be: f422 5240 bic.w r2, r2, #12288 ; 0x3000 - 80059c2: 430a orrs r2, r1 - 80059c4: 605a str r2, [r3, #4] - 80059c6: 4a79 ldr r2, [pc, #484] ; (8005bac ) - 80059c8: 69a1 ldr r1, [r4, #24] - 80059ca: 4293 cmp r3, r2 - 80059cc: bf1c itt ne - 80059ce: 6a22 ldrne r2, [r4, #32] - 80059d0: 4311 orrne r1, r2 - 80059d2: 689a ldr r2, [r3, #8] - 80059d4: f022 426e bic.w r2, r2, #3992977408 ; 0xee000000 - 80059d8: f422 6230 bic.w r2, r2, #2816 ; 0xb00 - 80059dc: 430a orrs r2, r1 - 80059de: 609a str r2, [r3, #8] - 80059e0: 6ada ldr r2, [r3, #44] ; 0x2c - 80059e2: 6a61 ldr r1, [r4, #36] ; 0x24 - 80059e4: f022 020f bic.w r2, r2, #15 - 80059e8: 430a orrs r2, r1 - 80059ea: 62da str r2, [r3, #44] ; 0x2c - 80059ec: 4a70 ldr r2, [pc, #448] ; (8005bb0 ) - 80059ee: 4293 cmp r3, r2 - 80059f0: d11c bne.n 8005a2c - 80059f2: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 80059f6: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 - 80059fa: f003 0303 and.w r3, r3, #3 - 80059fe: f443 3340 orr.w r3, r3, #196608 ; 0x30000 - 8005a02: f5a3 3340 sub.w r3, r3, #196608 ; 0x30000 - 8005a06: 3b01 subs r3, #1 - 8005a08: 2b02 cmp r3, #2 - 8005a0a: f200 80c7 bhi.w 8005b9c - 8005a0e: 4a69 ldr r2, [pc, #420] ; (8005bb4 ) - 8005a10: 5c9b ldrb r3, [r3, r2] - 8005a12: f5b0 4f00 cmp.w r0, #32768 ; 0x8000 - 8005a16: f040 8089 bne.w 8005b2c - 8005a1a: 2b08 cmp r3, #8 - 8005a1c: d824 bhi.n 8005a68 - 8005a1e: e8df f003 tbb [pc, r3] - 8005a22: c061 .short 0xc061 - 8005a24: 23802383 .word 0x23802383 - 8005a28: 2323 .short 0x2323 - 8005a2a: 65 .byte 0x65 - 8005a2b: 00 .byte 0x00 - 8005a2c: 4a62 ldr r2, [pc, #392] ; (8005bb8 ) - 8005a2e: 4293 cmp r3, r2 - 8005a30: d109 bne.n 8005a46 - 8005a32: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8005a36: 4a61 ldr r2, [pc, #388] ; (8005bbc ) - 8005a38: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 - 8005a3c: f003 030c and.w r3, r3, #12 - 8005a40: f443 2340 orr.w r3, r3, #786432 ; 0xc0000 - 8005a44: e7e4 b.n 8005a10 - 8005a46: 4a59 ldr r2, [pc, #356] ; (8005bac ) - 8005a48: 4293 cmp r3, r2 - 8005a4a: d10d bne.n 8005a68 - 8005a4c: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8005a50: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 - 8005a54: f403 6340 and.w r3, r3, #3072 ; 0xc00 - 8005a58: f5b3 6f00 cmp.w r3, #2048 ; 0x800 - 8005a5c: d01a beq.n 8005a94 - 8005a5e: d805 bhi.n 8005a6c - 8005a60: b153 cbz r3, 8005a78 - 8005a62: f5b3 6f80 cmp.w r3, #1024 ; 0x400 - 8005a66: d012 beq.n 8005a8e - 8005a68: 2001 movs r0, #1 - 8005a6a: e009 b.n 8005a80 - 8005a6c: f5b3 6f40 cmp.w r3, #3072 ; 0xc00 - 8005a70: d1fa bne.n 8005a68 - 8005a72: f44f 4000 mov.w r0, #32768 ; 0x8000 - 8005a76: e00e b.n 8005a96 - 8005a78: f7fe fcd2 bl 8004420 - 8005a7c: b958 cbnz r0, 8005a96 - 8005a7e: 2000 movs r0, #0 - 8005a80: f04f 1301 mov.w r3, #65537 ; 0x10001 - 8005a84: 66a3 str r3, [r4, #104] ; 0x68 +080059b0 : + 80059b0: b573 push {r0, r1, r4, r5, r6, lr} + 80059b2: 4604 mov r4, r0 + 80059b4: 2600 movs r6, #0 + 80059b6: f8c0 6090 str.w r6, [r0, #144] ; 0x90 + 80059ba: f7fb ff5b bl 8001874 + 80059be: 6823 ldr r3, [r4, #0] + 80059c0: 681b ldr r3, [r3, #0] + 80059c2: 071a lsls r2, r3, #28 + 80059c4: 4605 mov r5, r0 + 80059c6: d419 bmi.n 80059fc + 80059c8: 6823 ldr r3, [r4, #0] + 80059ca: 681b ldr r3, [r3, #0] + 80059cc: 075b lsls r3, r3, #29 + 80059ce: d50a bpl.n 80059e6 + 80059d0: f06f 437e mvn.w r3, #4261412864 ; 0xfe000000 + 80059d4: 9300 str r3, [sp, #0] + 80059d6: 2200 movs r2, #0 + 80059d8: 462b mov r3, r5 + 80059da: f44f 0180 mov.w r1, #4194304 ; 0x400000 + 80059de: 4620 mov r0, r4 + 80059e0: f7ff ff84 bl 80058ec + 80059e4: b9b0 cbnz r0, 8005a14 + 80059e6: 2000 movs r0, #0 + 80059e8: 2320 movs r3, #32 + 80059ea: f8c4 3088 str.w r3, [r4, #136] ; 0x88 + 80059ee: f884 0084 strb.w r0, [r4, #132] ; 0x84 + 80059f2: f8c4 308c str.w r3, [r4, #140] ; 0x8c + 80059f6: 66e0 str r0, [r4, #108] ; 0x6c + 80059f8: 6720 str r0, [r4, #112] ; 0x70 + 80059fa: e00c b.n 8005a16 + 80059fc: f06f 437e mvn.w r3, #4261412864 ; 0xfe000000 + 8005a00: 9300 str r3, [sp, #0] + 8005a02: 4632 mov r2, r6 + 8005a04: 4603 mov r3, r0 + 8005a06: f44f 1100 mov.w r1, #2097152 ; 0x200000 + 8005a0a: 4620 mov r0, r4 + 8005a0c: f7ff ff6e bl 80058ec + 8005a10: 2800 cmp r0, #0 + 8005a12: d0d9 beq.n 80059c8 + 8005a14: 2003 movs r0, #3 + 8005a16: b002 add sp, #8 + 8005a18: bd70 pop {r4, r5, r6, pc} + +08005a1a : + 8005a1a: b510 push {r4, lr} + 8005a1c: 4604 mov r4, r0 + 8005a1e: b350 cbz r0, 8005a76 + 8005a20: f8d0 3088 ldr.w r3, [r0, #136] ; 0x88 + 8005a24: b91b cbnz r3, 8005a2e + 8005a26: f880 3084 strb.w r3, [r0, #132] ; 0x84 + 8005a2a: f7fc f8b5 bl 8001b98 + 8005a2e: 6822 ldr r2, [r4, #0] + 8005a30: 2324 movs r3, #36 ; 0x24 + 8005a32: f8c4 3088 str.w r3, [r4, #136] ; 0x88 + 8005a36: 6813 ldr r3, [r2, #0] + 8005a38: f023 0301 bic.w r3, r3, #1 + 8005a3c: 6013 str r3, [r2, #0] + 8005a3e: 4620 mov r0, r4 + 8005a40: f7ff fde8 bl 8005614 + 8005a44: 2801 cmp r0, #1 + 8005a46: d016 beq.n 8005a76 + 8005a48: 6aa3 ldr r3, [r4, #40] ; 0x28 + 8005a4a: b113 cbz r3, 8005a52 + 8005a4c: 4620 mov r0, r4 + 8005a4e: f7ff fef9 bl 8005844 + 8005a52: 6823 ldr r3, [r4, #0] + 8005a54: 685a ldr r2, [r3, #4] + 8005a56: f422 4290 bic.w r2, r2, #18432 ; 0x4800 + 8005a5a: 605a str r2, [r3, #4] + 8005a5c: 689a ldr r2, [r3, #8] + 8005a5e: f022 022a bic.w r2, r2, #42 ; 0x2a + 8005a62: 609a str r2, [r3, #8] + 8005a64: 681a ldr r2, [r3, #0] + 8005a66: f042 0201 orr.w r2, r2, #1 + 8005a6a: 4620 mov r0, r4 + 8005a6c: 601a str r2, [r3, #0] + 8005a6e: e8bd 4010 ldmia.w sp!, {r4, lr} + 8005a72: f7ff bf9d b.w 80059b0 + 8005a76: 2001 movs r0, #1 + 8005a78: bd10 pop {r4, pc} + ... + +08005a7c : + 8005a7c: b530 push {r4, r5, lr} + 8005a7e: 6581 str r1, [r0, #88] ; 0x58 + 8005a80: 6881 ldr r1, [r0, #8] + 8005a82: f8a0 205c strh.w r2, [r0, #92] ; 0x5c 8005a86: 2300 movs r3, #0 - 8005a88: e9c4 331d strd r3, r3, [r4, #116] ; 0x74 - 8005a8c: bd38 pop {r3, r4, r5, pc} - 8005a8e: f7fe f8cf bl 8003c30 - 8005a92: e7f3 b.n 8005a7c - 8005a94: 484a ldr r0, [pc, #296] ; (8005bc0 ) - 8005a96: 6865 ldr r5, [r4, #4] - 8005a98: 4b4a ldr r3, [pc, #296] ; (8005bc4 ) - 8005a9a: 6a62 ldr r2, [r4, #36] ; 0x24 - 8005a9c: eb05 0145 add.w r1, r5, r5, lsl #1 - 8005aa0: f833 2012 ldrh.w r2, [r3, r2, lsl #1] - 8005aa4: fbb0 f3f2 udiv r3, r0, r2 - 8005aa8: 4299 cmp r1, r3 - 8005aaa: d8dd bhi.n 8005a68 - 8005aac: ebb3 3f05 cmp.w r3, r5, lsl #12 - 8005ab0: d8da bhi.n 8005a68 - 8005ab2: 2300 movs r3, #0 - 8005ab4: 4619 mov r1, r3 - 8005ab6: f7fb f877 bl 8000ba8 <__aeabi_uldivmod> - 8005aba: 0209 lsls r1, r1, #8 - 8005abc: ea41 6110 orr.w r1, r1, r0, lsr #24 - 8005ac0: 086b lsrs r3, r5, #1 - 8005ac2: 0200 lsls r0, r0, #8 - 8005ac4: 18c0 adds r0, r0, r3 - 8005ac6: 462a mov r2, r5 - 8005ac8: f04f 0300 mov.w r3, #0 - 8005acc: f141 0100 adc.w r1, r1, #0 - 8005ad0: f7fb f86a bl 8000ba8 <__aeabi_uldivmod> - 8005ad4: 4b3c ldr r3, [pc, #240] ; (8005bc8 ) - 8005ad6: f5a0 7240 sub.w r2, r0, #768 ; 0x300 - 8005ada: 429a cmp r2, r3 - 8005adc: d8c4 bhi.n 8005a68 - 8005ade: 6823 ldr r3, [r4, #0] - 8005ae0: 60d8 str r0, [r3, #12] - 8005ae2: e7cc b.n 8005a7e - 8005ae4: f7fe fc9c bl 8004420 - 8005ae8: 2800 cmp r0, #0 - 8005aea: d0c8 beq.n 8005a7e - 8005aec: 6861 ldr r1, [r4, #4] - 8005aee: 4b35 ldr r3, [pc, #212] ; (8005bc4 ) - 8005af0: 6a62 ldr r2, [r4, #36] ; 0x24 - 8005af2: f833 2012 ldrh.w r2, [r3, r2, lsl #1] - 8005af6: fbb0 f2f2 udiv r2, r0, r2 - 8005afa: 084b lsrs r3, r1, #1 - 8005afc: eb03 0342 add.w r3, r3, r2, lsl #1 - 8005b00: f64f 72ef movw r2, #65519 ; 0xffef - 8005b04: fbb3 f3f1 udiv r3, r3, r1 - 8005b08: f1a3 0110 sub.w r1, r3, #16 - 8005b0c: 4291 cmp r1, r2 - 8005b0e: d8ab bhi.n 8005a68 - 8005b10: f023 020f bic.w r2, r3, #15 - 8005b14: 6821 ldr r1, [r4, #0] - 8005b16: b292 uxth r2, r2 - 8005b18: f3c3 0342 ubfx r3, r3, #1, #3 - 8005b1c: 4313 orrs r3, r2 - 8005b1e: 60cb str r3, [r1, #12] - 8005b20: e7ad b.n 8005a7e - 8005b22: f7fe f885 bl 8003c30 - 8005b26: e7df b.n 8005ae8 - 8005b28: 4825 ldr r0, [pc, #148] ; (8005bc0 ) - 8005b2a: e7df b.n 8005aec - 8005b2c: 2b08 cmp r3, #8 - 8005b2e: d89b bhi.n 8005a68 - 8005b30: a201 add r2, pc, #4 ; (adr r2, 8005b38 ) - 8005b32: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 8005b36: bf00 nop - 8005b38: 08005b81 .word 0x08005b81 - 8005b3c: 08005b8d .word 0x08005b8d - 8005b40: 08005b99 .word 0x08005b99 - 8005b44: 08005a69 .word 0x08005a69 - 8005b48: 08005b93 .word 0x08005b93 - 8005b4c: 08005a69 .word 0x08005a69 - 8005b50: 08005a69 .word 0x08005a69 - 8005b54: 08005a69 .word 0x08005a69 - 8005b58: 08005b5d .word 0x08005b5d - 8005b5c: f44f 4000 mov.w r0, #32768 ; 0x8000 - 8005b60: 6863 ldr r3, [r4, #4] - 8005b62: 6a61 ldr r1, [r4, #36] ; 0x24 - 8005b64: 4a17 ldr r2, [pc, #92] ; (8005bc4 ) - 8005b66: f832 2011 ldrh.w r2, [r2, r1, lsl #1] - 8005b6a: fbb0 f0f2 udiv r0, r0, r2 - 8005b6e: eb00 0053 add.w r0, r0, r3, lsr #1 - 8005b72: fbb0 f0f3 udiv r0, r0, r3 - 8005b76: f64f 73ef movw r3, #65519 ; 0xffef - 8005b7a: f1a0 0210 sub.w r2, r0, #16 - 8005b7e: e7ac b.n 8005ada - 8005b80: f7fe fc4e bl 8004420 - 8005b84: 2800 cmp r0, #0 - 8005b86: f43f af7a beq.w 8005a7e - 8005b8a: e7e9 b.n 8005b60 - 8005b8c: f7fe fc58 bl 8004440 - 8005b90: e7f8 b.n 8005b84 - 8005b92: f7fe f84d bl 8003c30 - 8005b96: e7f5 b.n 8005b84 - 8005b98: 4809 ldr r0, [pc, #36] ; (8005bc0 ) - 8005b9a: e7e1 b.n 8005b60 - 8005b9c: f5b0 4f00 cmp.w r0, #32768 ; 0x8000 - 8005ba0: d1f4 bne.n 8005b8c - 8005ba2: f7fe fc4d bl 8004440 - 8005ba6: e79f b.n 8005ae8 - 8005ba8: cfff69f3 .word 0xcfff69f3 - 8005bac: 40008000 .word 0x40008000 - 8005bb0: 40013800 .word 0x40013800 - 8005bb4: 0800fa14 .word 0x0800fa14 - 8005bb8: 40004400 .word 0x40004400 - 8005bbc: 07f4fa17 .word 0x07f4fa17 - 8005bc0: 00f42400 .word 0x00f42400 - 8005bc4: 0800fa24 .word 0x0800fa24 - 8005bc8: 000ffcff .word 0x000ffcff + 8005a88: f5b1 5f80 cmp.w r1, #4096 ; 0x1000 + 8005a8c: f8a0 205e strh.w r2, [r0, #94] ; 0x5e + 8005a90: 6743 str r3, [r0, #116] ; 0x74 + 8005a92: d135 bne.n 8005b00 + 8005a94: 6903 ldr r3, [r0, #16] + 8005a96: 2b00 cmp r3, #0 + 8005a98: f240 13ff movw r3, #511 ; 0x1ff + 8005a9c: bf18 it ne + 8005a9e: 23ff movne r3, #255 ; 0xff + 8005aa0: f8a0 3060 strh.w r3, [r0, #96] ; 0x60 + 8005aa4: 2300 movs r3, #0 + 8005aa6: f8c0 3090 str.w r3, [r0, #144] ; 0x90 + 8005aaa: 2322 movs r3, #34 ; 0x22 + 8005aac: f8c0 308c str.w r3, [r0, #140] ; 0x8c + 8005ab0: 6801 ldr r1, [r0, #0] + 8005ab2: f101 0308 add.w r3, r1, #8 + 8005ab6: e853 3f00 ldrex r3, [r3] + 8005aba: f043 0301 orr.w r3, r3, #1 + 8005abe: 3108 adds r1, #8 + 8005ac0: e841 3400 strex r4, r3, [r1] + 8005ac4: 6803 ldr r3, [r0, #0] + 8005ac6: 2c00 cmp r4, #0 + 8005ac8: d1f2 bne.n 8005ab0 + 8005aca: 6e45 ldr r5, [r0, #100] ; 0x64 + 8005acc: 6884 ldr r4, [r0, #8] + 8005ace: 6901 ldr r1, [r0, #16] + 8005ad0: f1b5 5f00 cmp.w r5, #536870912 ; 0x20000000 + 8005ad4: d134 bne.n 8005b40 + 8005ad6: f8b0 5068 ldrh.w r5, [r0, #104] ; 0x68 + 8005ada: 4295 cmp r5, r2 + 8005adc: d830 bhi.n 8005b40 + 8005ade: f5b4 5f80 cmp.w r4, #4096 ; 0x1000 + 8005ae2: d11d bne.n 8005b20 + 8005ae4: 4a25 ldr r2, [pc, #148] ; (8005b7c ) + 8005ae6: 4c26 ldr r4, [pc, #152] ; (8005b80 ) + 8005ae8: 2900 cmp r1, #0 + 8005aea: bf18 it ne + 8005aec: 4622 movne r2, r4 + 8005aee: 6742 str r2, [r0, #116] ; 0x74 + 8005af0: b1c1 cbz r1, 8005b24 + 8005af2: e853 2f00 ldrex r2, [r3] + 8005af6: f442 7280 orr.w r2, r2, #256 ; 0x100 + 8005afa: e843 2100 strex r1, r2, [r3] + 8005afe: e7f7 b.n 8005af0 + 8005b00: b929 cbnz r1, 8005b0e + 8005b02: 6903 ldr r3, [r0, #16] + 8005b04: 2b00 cmp r3, #0 + 8005b06: bf14 ite ne + 8005b08: 237f movne r3, #127 ; 0x7f + 8005b0a: 23ff moveq r3, #255 ; 0xff + 8005b0c: e7c8 b.n 8005aa0 + 8005b0e: f1b1 5f80 cmp.w r1, #268435456 ; 0x10000000 + 8005b12: d1c5 bne.n 8005aa0 + 8005b14: 6903 ldr r3, [r0, #16] + 8005b16: 2b00 cmp r3, #0 + 8005b18: bf0c ite eq + 8005b1a: 237f moveq r3, #127 ; 0x7f + 8005b1c: 233f movne r3, #63 ; 0x3f + 8005b1e: e7bf b.n 8005aa0 + 8005b20: 4a17 ldr r2, [pc, #92] ; (8005b80 ) + 8005b22: e7e4 b.n 8005aee + 8005b24: f103 0208 add.w r2, r3, #8 + 8005b28: e852 2f00 ldrex r2, [r2] + 8005b2c: f042 5280 orr.w r2, r2, #268435456 ; 0x10000000 + 8005b30: f103 0008 add.w r0, r3, #8 + 8005b34: e840 2100 strex r1, r2, [r0] + 8005b38: 2900 cmp r1, #0 + 8005b3a: d1f3 bne.n 8005b24 + 8005b3c: 2000 movs r0, #0 + 8005b3e: bd30 pop {r4, r5, pc} + 8005b40: f5b4 5f80 cmp.w r4, #4096 ; 0x1000 + 8005b44: d10f bne.n 8005b66 + 8005b46: 4a0f ldr r2, [pc, #60] ; (8005b84 ) + 8005b48: 4c0f ldr r4, [pc, #60] ; (8005b88 ) + 8005b4a: 2900 cmp r1, #0 + 8005b4c: bf18 it ne + 8005b4e: 4622 movne r2, r4 + 8005b50: 6742 str r2, [r0, #116] ; 0x74 + 8005b52: b151 cbz r1, 8005b6a + 8005b54: e853 2f00 ldrex r2, [r3] + 8005b58: f442 7290 orr.w r2, r2, #288 ; 0x120 + 8005b5c: e843 2100 strex r1, r2, [r3] + 8005b60: 2900 cmp r1, #0 + 8005b62: d1f7 bne.n 8005b54 + 8005b64: e7ea b.n 8005b3c + 8005b66: 4a08 ldr r2, [pc, #32] ; (8005b88 ) + 8005b68: e7f2 b.n 8005b50 + 8005b6a: e853 2f00 ldrex r2, [r3] + 8005b6e: f042 0220 orr.w r2, r2, #32 + 8005b72: e843 2100 strex r1, r2, [r3] + 8005b76: 2900 cmp r1, #0 + 8005b78: d1f7 bne.n 8005b6a + 8005b7a: e7df b.n 8005b3c + 8005b7c: 0800547d .word 0x0800547d + 8005b80: 080052e1 .word 0x080052e1 + 8005b84: 0800521d .word 0x0800521d + 8005b88: 08005151 .word 0x08005151 -08005bcc : - 8005bcc: 6a83 ldr r3, [r0, #40] ; 0x28 - 8005bce: 07da lsls r2, r3, #31 - 8005bd0: b510 push {r4, lr} - 8005bd2: d506 bpl.n 8005be2 - 8005bd4: 6801 ldr r1, [r0, #0] - 8005bd6: 6ac4 ldr r4, [r0, #44] ; 0x2c - 8005bd8: 684a ldr r2, [r1, #4] - 8005bda: f422 3200 bic.w r2, r2, #131072 ; 0x20000 - 8005bde: 4322 orrs r2, r4 - 8005be0: 604a str r2, [r1, #4] - 8005be2: 079c lsls r4, r3, #30 - 8005be4: d506 bpl.n 8005bf4 - 8005be6: 6801 ldr r1, [r0, #0] - 8005be8: 6b04 ldr r4, [r0, #48] ; 0x30 - 8005bea: 684a ldr r2, [r1, #4] - 8005bec: f422 3280 bic.w r2, r2, #65536 ; 0x10000 - 8005bf0: 4322 orrs r2, r4 - 8005bf2: 604a str r2, [r1, #4] - 8005bf4: 0759 lsls r1, r3, #29 - 8005bf6: d506 bpl.n 8005c06 - 8005bf8: 6801 ldr r1, [r0, #0] - 8005bfa: 6b44 ldr r4, [r0, #52] ; 0x34 - 8005bfc: 684a ldr r2, [r1, #4] - 8005bfe: f422 2280 bic.w r2, r2, #262144 ; 0x40000 - 8005c02: 4322 orrs r2, r4 - 8005c04: 604a str r2, [r1, #4] - 8005c06: 071a lsls r2, r3, #28 - 8005c08: d506 bpl.n 8005c18 - 8005c0a: 6801 ldr r1, [r0, #0] - 8005c0c: 6b84 ldr r4, [r0, #56] ; 0x38 - 8005c0e: 684a ldr r2, [r1, #4] - 8005c10: f422 4200 bic.w r2, r2, #32768 ; 0x8000 - 8005c14: 4322 orrs r2, r4 - 8005c16: 604a str r2, [r1, #4] - 8005c18: 06dc lsls r4, r3, #27 - 8005c1a: d506 bpl.n 8005c2a - 8005c1c: 6801 ldr r1, [r0, #0] - 8005c1e: 6bc4 ldr r4, [r0, #60] ; 0x3c - 8005c20: 688a ldr r2, [r1, #8] - 8005c22: f422 5280 bic.w r2, r2, #4096 ; 0x1000 - 8005c26: 4322 orrs r2, r4 - 8005c28: 608a str r2, [r1, #8] - 8005c2a: 0699 lsls r1, r3, #26 - 8005c2c: d506 bpl.n 8005c3c - 8005c2e: 6801 ldr r1, [r0, #0] - 8005c30: 6c04 ldr r4, [r0, #64] ; 0x40 - 8005c32: 688a ldr r2, [r1, #8] - 8005c34: f422 5200 bic.w r2, r2, #8192 ; 0x2000 - 8005c38: 4322 orrs r2, r4 - 8005c3a: 608a str r2, [r1, #8] - 8005c3c: 065a lsls r2, r3, #25 - 8005c3e: d50f bpl.n 8005c60 - 8005c40: 6801 ldr r1, [r0, #0] - 8005c42: 6c44 ldr r4, [r0, #68] ; 0x44 - 8005c44: 684a ldr r2, [r1, #4] - 8005c46: f422 1280 bic.w r2, r2, #1048576 ; 0x100000 - 8005c4a: 4322 orrs r2, r4 - 8005c4c: f5b4 1f80 cmp.w r4, #1048576 ; 0x100000 - 8005c50: 604a str r2, [r1, #4] - 8005c52: d105 bne.n 8005c60 - 8005c54: 684a ldr r2, [r1, #4] - 8005c56: 6c84 ldr r4, [r0, #72] ; 0x48 - 8005c58: f422 02c0 bic.w r2, r2, #6291456 ; 0x600000 - 8005c5c: 4322 orrs r2, r4 - 8005c5e: 604a str r2, [r1, #4] - 8005c60: 061b lsls r3, r3, #24 - 8005c62: d506 bpl.n 8005c72 - 8005c64: 6802 ldr r2, [r0, #0] - 8005c66: 6cc1 ldr r1, [r0, #76] ; 0x4c - 8005c68: 6853 ldr r3, [r2, #4] - 8005c6a: f423 2300 bic.w r3, r3, #524288 ; 0x80000 - 8005c6e: 430b orrs r3, r1 - 8005c70: 6053 str r3, [r2, #4] - 8005c72: bd10 pop {r4, pc} +08005b8c : + 8005b8c: f8d0 308c ldr.w r3, [r0, #140] ; 0x8c + 8005b90: 2b20 cmp r3, #32 + 8005b92: b430 push {r4, r5} + 8005b94: d115 bne.n 8005bc2 + 8005b96: b1b9 cbz r1, 8005bc8 + 8005b98: b1b2 cbz r2, 8005bc8 + 8005b9a: 2300 movs r3, #0 + 8005b9c: 6804 ldr r4, [r0, #0] + 8005b9e: 66c3 str r3, [r0, #108] ; 0x6c + 8005ba0: 4b0a ldr r3, [pc, #40] ; (8005bcc ) + 8005ba2: 429c cmp r4, r3 + 8005ba4: d00a beq.n 8005bbc + 8005ba6: 6863 ldr r3, [r4, #4] + 8005ba8: 021b lsls r3, r3, #8 + 8005baa: d507 bpl.n 8005bbc + 8005bac: e854 3f00 ldrex r3, [r4] + 8005bb0: f043 6380 orr.w r3, r3, #67108864 ; 0x4000000 + 8005bb4: e844 3500 strex r5, r3, [r4] + 8005bb8: 2d00 cmp r5, #0 + 8005bba: d1f7 bne.n 8005bac + 8005bbc: bc30 pop {r4, r5} + 8005bbe: f7ff bf5d b.w 8005a7c + 8005bc2: 2002 movs r0, #2 + 8005bc4: bc30 pop {r4, r5} + 8005bc6: 4770 bx lr + 8005bc8: 2001 movs r0, #1 + 8005bca: e7fb b.n 8005bc4 + 8005bcc: 40008000 .word 0x40008000 -08005c74 : - 8005c74: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8005c78: f8dd 8018 ldr.w r8, [sp, #24] - 8005c7c: 4604 mov r4, r0 - 8005c7e: 460e mov r6, r1 - 8005c80: 4615 mov r5, r2 - 8005c82: 461f mov r7, r3 - 8005c84: 6822 ldr r2, [r4, #0] - 8005c86: 69d3 ldr r3, [r2, #28] - 8005c88: ea36 0303 bics.w r3, r6, r3 - 8005c8c: bf0c ite eq - 8005c8e: 2301 moveq r3, #1 - 8005c90: 2300 movne r3, #0 - 8005c92: 42ab cmp r3, r5 - 8005c94: d001 beq.n 8005c9a - 8005c96: 2000 movs r0, #0 - 8005c98: e027 b.n 8005cea - 8005c9a: f1b8 3fff cmp.w r8, #4294967295 - 8005c9e: d0f2 beq.n 8005c86 - 8005ca0: f7fb fe00 bl 80018a4 - 8005ca4: 1bc0 subs r0, r0, r7 - 8005ca6: 4540 cmp r0, r8 - 8005ca8: 6820 ldr r0, [r4, #0] - 8005caa: d802 bhi.n 8005cb2 - 8005cac: f1b8 0f00 cmp.w r8, #0 - 8005cb0: d11d bne.n 8005cee - 8005cb2: e850 3f00 ldrex r3, [r0] - 8005cb6: f423 73d0 bic.w r3, r3, #416 ; 0x1a0 - 8005cba: e840 3200 strex r2, r3, [r0] - 8005cbe: 2a00 cmp r2, #0 - 8005cc0: d1f7 bne.n 8005cb2 - 8005cc2: f100 0308 add.w r3, r0, #8 - 8005cc6: e853 3f00 ldrex r3, [r3] - 8005cca: f023 0301 bic.w r3, r3, #1 - 8005cce: f100 0108 add.w r1, r0, #8 - 8005cd2: e841 3200 strex r2, r3, [r1] - 8005cd6: 2a00 cmp r2, #0 - 8005cd8: d1f3 bne.n 8005cc2 - 8005cda: 2320 movs r3, #32 - 8005cdc: f8c4 3088 str.w r3, [r4, #136] ; 0x88 - 8005ce0: f8c4 308c str.w r3, [r4, #140] ; 0x8c - 8005ce4: f884 2084 strb.w r2, [r4, #132] ; 0x84 - 8005ce8: 2003 movs r0, #3 - 8005cea: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8005cee: 6803 ldr r3, [r0, #0] - 8005cf0: 075a lsls r2, r3, #29 - 8005cf2: d5c7 bpl.n 8005c84 - 8005cf4: 69c3 ldr r3, [r0, #28] - 8005cf6: 051b lsls r3, r3, #20 - 8005cf8: d5c4 bpl.n 8005c84 - 8005cfa: f44f 6300 mov.w r3, #2048 ; 0x800 - 8005cfe: 6203 str r3, [r0, #32] - 8005d00: e850 3f00 ldrex r3, [r0] - 8005d04: f423 73d0 bic.w r3, r3, #416 ; 0x1a0 - 8005d08: e840 3200 strex r2, r3, [r0] - 8005d0c: 2a00 cmp r2, #0 - 8005d0e: d1f7 bne.n 8005d00 - 8005d10: f100 0308 add.w r3, r0, #8 - 8005d14: e853 3f00 ldrex r3, [r3] - 8005d18: f023 0301 bic.w r3, r3, #1 - 8005d1c: f100 0108 add.w r1, r0, #8 - 8005d20: e841 3200 strex r2, r3, [r1] - 8005d24: 2a00 cmp r2, #0 - 8005d26: d1f3 bne.n 8005d10 - 8005d28: 2320 movs r3, #32 - 8005d2a: f8c4 3088 str.w r3, [r4, #136] ; 0x88 - 8005d2e: f8c4 308c str.w r3, [r4, #140] ; 0x8c - 8005d32: f8c4 3090 str.w r3, [r4, #144] ; 0x90 - 8005d36: e7d5 b.n 8005ce4 +08005bd0 : + 8005bd0: 6e43 ldr r3, [r0, #100] ; 0x64 + 8005bd2: b530 push {r4, r5, lr} + 8005bd4: b92b cbnz r3, 8005be2 + 8005bd6: 2301 movs r3, #1 + 8005bd8: f8a0 306a strh.w r3, [r0, #106] ; 0x6a + 8005bdc: f8a0 3068 strh.w r3, [r0, #104] ; 0x68 + 8005be0: bd30 pop {r4, r5, pc} + 8005be2: 6803 ldr r3, [r0, #0] + 8005be4: 4d09 ldr r5, [pc, #36] ; (8005c0c ) + 8005be6: 689a ldr r2, [r3, #8] + 8005be8: 6899 ldr r1, [r3, #8] + 8005bea: 4c09 ldr r4, [pc, #36] ; (8005c10 ) + 8005bec: 0f49 lsrs r1, r1, #29 + 8005bee: f3c2 6242 ubfx r2, r2, #25, #3 + 8005bf2: 5c6b ldrb r3, [r5, r1] + 8005bf4: 5c61 ldrb r1, [r4, r1] + 8005bf6: 00db lsls r3, r3, #3 + 8005bf8: fbb3 f3f1 udiv r3, r3, r1 + 8005bfc: f8a0 306a strh.w r3, [r0, #106] ; 0x6a + 8005c00: 5cab ldrb r3, [r5, r2] + 8005c02: 5ca2 ldrb r2, [r4, r2] + 8005c04: 00db lsls r3, r3, #3 + 8005c06: fbb3 f3f2 udiv r3, r3, r2 + 8005c0a: e7e7 b.n 8005bdc + 8005c0c: 0800f280 .word 0x0800f280 + 8005c10: 0800f278 .word 0x0800f278 -08005d38 : - 8005d38: b573 push {r0, r1, r4, r5, r6, lr} - 8005d3a: 4604 mov r4, r0 - 8005d3c: 2600 movs r6, #0 - 8005d3e: f8c0 6090 str.w r6, [r0, #144] ; 0x90 - 8005d42: f7fb fdaf bl 80018a4 - 8005d46: 6823 ldr r3, [r4, #0] - 8005d48: 681b ldr r3, [r3, #0] - 8005d4a: 071a lsls r2, r3, #28 - 8005d4c: 4605 mov r5, r0 - 8005d4e: d419 bmi.n 8005d84 - 8005d50: 6823 ldr r3, [r4, #0] - 8005d52: 681b ldr r3, [r3, #0] - 8005d54: 075b lsls r3, r3, #29 - 8005d56: d50a bpl.n 8005d6e - 8005d58: f06f 437e mvn.w r3, #4261412864 ; 0xfe000000 - 8005d5c: 9300 str r3, [sp, #0] - 8005d5e: 2200 movs r2, #0 - 8005d60: 462b mov r3, r5 - 8005d62: f44f 0180 mov.w r1, #4194304 ; 0x400000 - 8005d66: 4620 mov r0, r4 - 8005d68: f7ff ff84 bl 8005c74 - 8005d6c: b9b0 cbnz r0, 8005d9c - 8005d6e: 2000 movs r0, #0 - 8005d70: 2320 movs r3, #32 - 8005d72: f8c4 3088 str.w r3, [r4, #136] ; 0x88 - 8005d76: f884 0084 strb.w r0, [r4, #132] ; 0x84 - 8005d7a: f8c4 308c str.w r3, [r4, #140] ; 0x8c - 8005d7e: 66e0 str r0, [r4, #108] ; 0x6c - 8005d80: 6720 str r0, [r4, #112] ; 0x70 - 8005d82: e00c b.n 8005d9e - 8005d84: f06f 437e mvn.w r3, #4261412864 ; 0xfe000000 - 8005d88: 9300 str r3, [sp, #0] - 8005d8a: 4632 mov r2, r6 - 8005d8c: 4603 mov r3, r0 - 8005d8e: f44f 1100 mov.w r1, #2097152 ; 0x200000 - 8005d92: 4620 mov r0, r4 - 8005d94: f7ff ff6e bl 8005c74 - 8005d98: 2800 cmp r0, #0 - 8005d9a: d0d9 beq.n 8005d50 - 8005d9c: 2003 movs r0, #3 - 8005d9e: b002 add sp, #8 - 8005da0: bd70 pop {r4, r5, r6, pc} +08005c14 : + 8005c14: 4770 bx lr -08005da2 : - 8005da2: b510 push {r4, lr} - 8005da4: 4604 mov r4, r0 - 8005da6: b350 cbz r0, 8005dfe - 8005da8: f8d0 3088 ldr.w r3, [r0, #136] ; 0x88 - 8005dac: b91b cbnz r3, 8005db6 - 8005dae: f880 3084 strb.w r3, [r0, #132] ; 0x84 - 8005db2: f7fb ff0f bl 8001bd4 - 8005db6: 6822 ldr r2, [r4, #0] - 8005db8: 2324 movs r3, #36 ; 0x24 - 8005dba: f8c4 3088 str.w r3, [r4, #136] ; 0x88 - 8005dbe: 6813 ldr r3, [r2, #0] - 8005dc0: f023 0301 bic.w r3, r3, #1 - 8005dc4: 6013 str r3, [r2, #0] - 8005dc6: 4620 mov r0, r4 - 8005dc8: f7ff fde8 bl 800599c - 8005dcc: 2801 cmp r0, #1 - 8005dce: d016 beq.n 8005dfe - 8005dd0: 6aa3 ldr r3, [r4, #40] ; 0x28 - 8005dd2: b113 cbz r3, 8005dda - 8005dd4: 4620 mov r0, r4 - 8005dd6: f7ff fef9 bl 8005bcc - 8005dda: 6823 ldr r3, [r4, #0] - 8005ddc: 685a ldr r2, [r3, #4] - 8005dde: f422 4290 bic.w r2, r2, #18432 ; 0x4800 - 8005de2: 605a str r2, [r3, #4] - 8005de4: 689a ldr r2, [r3, #8] - 8005de6: f022 022a bic.w r2, r2, #42 ; 0x2a - 8005dea: 609a str r2, [r3, #8] - 8005dec: 681a ldr r2, [r3, #0] - 8005dee: f042 0201 orr.w r2, r2, #1 - 8005df2: 4620 mov r0, r4 - 8005df4: 601a str r2, [r3, #0] - 8005df6: e8bd 4010 ldmia.w sp!, {r4, lr} - 8005dfa: f7ff bf9d b.w 8005d38 - 8005dfe: 2001 movs r0, #1 - 8005e00: bd10 pop {r4, pc} +08005c16 : + 8005c16: 4770 bx lr + +08005c18 : + 8005c18: 4770 bx lr + +08005c1a : + 8005c1a: b51f push {r0, r1, r2, r3, r4, lr} + 8005c1c: ab04 add r3, sp, #16 + 8005c1e: e903 0006 stmdb r3, {r1, r2} + 8005c22: f890 3084 ldrb.w r3, [r0, #132] ; 0x84 + 8005c26: 2b01 cmp r3, #1 + 8005c28: 4604 mov r4, r0 + 8005c2a: d03a beq.n 8005ca2 + 8005c2c: 2301 movs r3, #1 + 8005c2e: f880 3084 strb.w r3, [r0, #132] ; 0x84 + 8005c32: 2324 movs r3, #36 ; 0x24 + 8005c34: f8c0 3088 str.w r3, [r0, #136] ; 0x88 + 8005c38: 6803 ldr r3, [r0, #0] + 8005c3a: 681a ldr r2, [r3, #0] + 8005c3c: f022 0201 bic.w r2, r2, #1 + 8005c40: 601a str r2, [r3, #0] + 8005c42: 689a ldr r2, [r3, #8] + 8005c44: f422 1240 bic.w r2, r2, #3145728 ; 0x300000 + 8005c48: 430a orrs r2, r1 + 8005c4a: 609a str r2, [r3, #8] + 8005c4c: b971 cbnz r1, 8005c6c + 8005c4e: 685a ldr r2, [r3, #4] + 8005c50: f8bd 000c ldrh.w r0, [sp, #12] + 8005c54: f89d 100e ldrb.w r1, [sp, #14] + 8005c58: f022 0210 bic.w r2, r2, #16 + 8005c5c: 4302 orrs r2, r0 + 8005c5e: 605a str r2, [r3, #4] + 8005c60: 685a ldr r2, [r3, #4] + 8005c62: f022 427f bic.w r2, r2, #4278190080 ; 0xff000000 + 8005c66: ea42 6201 orr.w r2, r2, r1, lsl #24 + 8005c6a: 605a str r2, [r3, #4] + 8005c6c: 681a ldr r2, [r3, #0] + 8005c6e: f042 0201 orr.w r2, r2, #1 + 8005c72: 601a str r2, [r3, #0] + 8005c74: f7fb fdfe bl 8001874 + 8005c78: f06f 427e mvn.w r2, #4261412864 ; 0xfe000000 + 8005c7c: 4603 mov r3, r0 + 8005c7e: 9200 str r2, [sp, #0] + 8005c80: f44f 0180 mov.w r1, #4194304 ; 0x400000 + 8005c84: 2200 movs r2, #0 + 8005c86: 4620 mov r0, r4 + 8005c88: f7ff fe30 bl 80058ec + 8005c8c: b938 cbnz r0, 8005c9e + 8005c8e: 2320 movs r3, #32 + 8005c90: f8c4 3088 str.w r3, [r4, #136] ; 0x88 + 8005c94: 2300 movs r3, #0 + 8005c96: f884 3084 strb.w r3, [r4, #132] ; 0x84 + 8005c9a: b004 add sp, #16 + 8005c9c: bd10 pop {r4, pc} + 8005c9e: 2003 movs r0, #3 + 8005ca0: e7f8 b.n 8005c94 + 8005ca2: 2002 movs r0, #2 + 8005ca4: e7f9 b.n 8005c9a + +08005ca6 : + 8005ca6: f890 3084 ldrb.w r3, [r0, #132] ; 0x84 + 8005caa: 2b01 cmp r3, #1 + 8005cac: d00f beq.n 8005cce + 8005cae: 2301 movs r3, #1 + 8005cb0: f880 3084 strb.w r3, [r0, #132] ; 0x84 + 8005cb4: 6801 ldr r1, [r0, #0] + 8005cb6: e851 2f00 ldrex r2, [r1] + 8005cba: f042 0202 orr.w r2, r2, #2 + 8005cbe: e841 2300 strex r3, r2, [r1] + 8005cc2: 2b00 cmp r3, #0 + 8005cc4: d1f6 bne.n 8005cb4 + 8005cc6: f880 3084 strb.w r3, [r0, #132] ; 0x84 + 8005cca: 4618 mov r0, r3 + 8005ccc: 4770 bx lr + 8005cce: 2002 movs r0, #2 + 8005cd0: 4770 bx lr + +08005cd2 : + 8005cd2: b510 push {r4, lr} + 8005cd4: f890 3084 ldrb.w r3, [r0, #132] ; 0x84 + 8005cd8: 2b01 cmp r3, #1 + 8005cda: 4604 mov r4, r0 + 8005cdc: d017 beq.n 8005d0e + 8005cde: 2324 movs r3, #36 ; 0x24 + 8005ce0: f8c0 3088 str.w r3, [r0, #136] ; 0x88 + 8005ce4: 6803 ldr r3, [r0, #0] + 8005ce6: 681a ldr r2, [r3, #0] + 8005ce8: 6819 ldr r1, [r3, #0] + 8005cea: f021 0101 bic.w r1, r1, #1 + 8005cee: 6019 str r1, [r3, #0] + 8005cf0: f042 5200 orr.w r2, r2, #536870912 ; 0x20000000 + 8005cf4: f04f 5100 mov.w r1, #536870912 ; 0x20000000 + 8005cf8: 6641 str r1, [r0, #100] ; 0x64 + 8005cfa: 601a str r2, [r3, #0] + 8005cfc: f7ff ff68 bl 8005bd0 + 8005d00: 2320 movs r3, #32 + 8005d02: f8c0 3088 str.w r3, [r0, #136] ; 0x88 + 8005d06: 2000 movs r0, #0 + 8005d08: f884 0084 strb.w r0, [r4, #132] ; 0x84 + 8005d0c: bd10 pop {r4, pc} + 8005d0e: 2002 movs r0, #2 + 8005d10: e7fc b.n 8005d0c + +08005d12 : + 8005d12: b570 push {r4, r5, r6, lr} + 8005d14: f890 3084 ldrb.w r3, [r0, #132] ; 0x84 + 8005d18: 2b01 cmp r3, #1 + 8005d1a: 4604 mov r4, r0 + 8005d1c: d017 beq.n 8005d4e + 8005d1e: 6805 ldr r5, [r0, #0] + 8005d20: 2324 movs r3, #36 ; 0x24 + 8005d22: f8c0 3088 str.w r3, [r0, #136] ; 0x88 + 8005d26: 682e ldr r6, [r5, #0] + 8005d28: 682b ldr r3, [r5, #0] + 8005d2a: f023 0301 bic.w r3, r3, #1 + 8005d2e: 602b str r3, [r5, #0] + 8005d30: 68ab ldr r3, [r5, #8] + 8005d32: f023 4360 bic.w r3, r3, #3758096384 ; 0xe0000000 + 8005d36: 4319 orrs r1, r3 + 8005d38: 60a9 str r1, [r5, #8] + 8005d3a: f7ff ff49 bl 8005bd0 + 8005d3e: 2320 movs r3, #32 + 8005d40: 602e str r6, [r5, #0] + 8005d42: f8c0 3088 str.w r3, [r0, #136] ; 0x88 + 8005d46: 2000 movs r0, #0 + 8005d48: f884 0084 strb.w r0, [r4, #132] ; 0x84 + 8005d4c: bd70 pop {r4, r5, r6, pc} + 8005d4e: 2002 movs r0, #2 + 8005d50: e7fc b.n 8005d4c ... -08005e04 : - 8005e04: b530 push {r4, r5, lr} - 8005e06: 6581 str r1, [r0, #88] ; 0x58 - 8005e08: 6881 ldr r1, [r0, #8] - 8005e0a: f8a0 205c strh.w r2, [r0, #92] ; 0x5c - 8005e0e: 2300 movs r3, #0 - 8005e10: f5b1 5f80 cmp.w r1, #4096 ; 0x1000 - 8005e14: f8a0 205e strh.w r2, [r0, #94] ; 0x5e - 8005e18: 6743 str r3, [r0, #116] ; 0x74 - 8005e1a: d135 bne.n 8005e88 - 8005e1c: 6903 ldr r3, [r0, #16] - 8005e1e: 2b00 cmp r3, #0 - 8005e20: f240 13ff movw r3, #511 ; 0x1ff - 8005e24: bf18 it ne - 8005e26: 23ff movne r3, #255 ; 0xff - 8005e28: f8a0 3060 strh.w r3, [r0, #96] ; 0x60 - 8005e2c: 2300 movs r3, #0 - 8005e2e: f8c0 3090 str.w r3, [r0, #144] ; 0x90 - 8005e32: 2322 movs r3, #34 ; 0x22 - 8005e34: f8c0 308c str.w r3, [r0, #140] ; 0x8c - 8005e38: 6801 ldr r1, [r0, #0] - 8005e3a: f101 0308 add.w r3, r1, #8 - 8005e3e: e853 3f00 ldrex r3, [r3] - 8005e42: f043 0301 orr.w r3, r3, #1 - 8005e46: 3108 adds r1, #8 - 8005e48: e841 3400 strex r4, r3, [r1] - 8005e4c: 6803 ldr r3, [r0, #0] - 8005e4e: 2c00 cmp r4, #0 - 8005e50: d1f2 bne.n 8005e38 - 8005e52: 6e45 ldr r5, [r0, #100] ; 0x64 - 8005e54: 6884 ldr r4, [r0, #8] - 8005e56: 6901 ldr r1, [r0, #16] - 8005e58: f1b5 5f00 cmp.w r5, #536870912 ; 0x20000000 - 8005e5c: d134 bne.n 8005ec8 - 8005e5e: f8b0 5068 ldrh.w r5, [r0, #104] ; 0x68 - 8005e62: 4295 cmp r5, r2 - 8005e64: d830 bhi.n 8005ec8 - 8005e66: f5b4 5f80 cmp.w r4, #4096 ; 0x1000 - 8005e6a: d11d bne.n 8005ea8 - 8005e6c: 4a25 ldr r2, [pc, #148] ; (8005f04 ) - 8005e6e: 4c26 ldr r4, [pc, #152] ; (8005f08 ) - 8005e70: 2900 cmp r1, #0 - 8005e72: bf18 it ne - 8005e74: 4622 movne r2, r4 - 8005e76: 6742 str r2, [r0, #116] ; 0x74 - 8005e78: b1c1 cbz r1, 8005eac - 8005e7a: e853 2f00 ldrex r2, [r3] - 8005e7e: f442 7280 orr.w r2, r2, #256 ; 0x100 - 8005e82: e843 2100 strex r1, r2, [r3] - 8005e86: e7f7 b.n 8005e78 - 8005e88: b929 cbnz r1, 8005e96 - 8005e8a: 6903 ldr r3, [r0, #16] - 8005e8c: 2b00 cmp r3, #0 - 8005e8e: bf14 ite ne - 8005e90: 237f movne r3, #127 ; 0x7f - 8005e92: 23ff moveq r3, #255 ; 0xff - 8005e94: e7c8 b.n 8005e28 - 8005e96: f1b1 5f80 cmp.w r1, #268435456 ; 0x10000000 - 8005e9a: d1c5 bne.n 8005e28 - 8005e9c: 6903 ldr r3, [r0, #16] - 8005e9e: 2b00 cmp r3, #0 - 8005ea0: bf0c ite eq - 8005ea2: 237f moveq r3, #127 ; 0x7f - 8005ea4: 233f movne r3, #63 ; 0x3f - 8005ea6: e7bf b.n 8005e28 - 8005ea8: 4a17 ldr r2, [pc, #92] ; (8005f08 ) - 8005eaa: e7e4 b.n 8005e76 - 8005eac: f103 0208 add.w r2, r3, #8 - 8005eb0: e852 2f00 ldrex r2, [r2] - 8005eb4: f042 5280 orr.w r2, r2, #268435456 ; 0x10000000 - 8005eb8: f103 0008 add.w r0, r3, #8 - 8005ebc: e840 2100 strex r1, r2, [r0] - 8005ec0: 2900 cmp r1, #0 - 8005ec2: d1f3 bne.n 8005eac - 8005ec4: 2000 movs r0, #0 - 8005ec6: bd30 pop {r4, r5, pc} - 8005ec8: f5b4 5f80 cmp.w r4, #4096 ; 0x1000 - 8005ecc: d10f bne.n 8005eee - 8005ece: 4a0f ldr r2, [pc, #60] ; (8005f0c ) - 8005ed0: 4c0f ldr r4, [pc, #60] ; (8005f10 ) - 8005ed2: 2900 cmp r1, #0 - 8005ed4: bf18 it ne - 8005ed6: 4622 movne r2, r4 - 8005ed8: 6742 str r2, [r0, #116] ; 0x74 - 8005eda: b151 cbz r1, 8005ef2 - 8005edc: e853 2f00 ldrex r2, [r3] - 8005ee0: f442 7290 orr.w r2, r2, #288 ; 0x120 - 8005ee4: e843 2100 strex r1, r2, [r3] - 8005ee8: 2900 cmp r1, #0 - 8005eea: d1f7 bne.n 8005edc - 8005eec: e7ea b.n 8005ec4 - 8005eee: 4a08 ldr r2, [pc, #32] ; (8005f10 ) - 8005ef0: e7f2 b.n 8005ed8 - 8005ef2: e853 2f00 ldrex r2, [r3] - 8005ef6: f042 0220 orr.w r2, r2, #32 - 8005efa: e843 2100 strex r1, r2, [r3] - 8005efe: 2900 cmp r1, #0 - 8005f00: d1f7 bne.n 8005ef2 - 8005f02: e7df b.n 8005ec4 - 8005f04: 08005805 .word 0x08005805 - 8005f08: 08005669 .word 0x08005669 - 8005f0c: 080055a5 .word 0x080055a5 - 8005f10: 080054d9 .word 0x080054d9 +08005d54 : + 8005d54: b538 push {r3, r4, r5, lr} + 8005d56: 4d08 ldr r5, [pc, #32] ; (8005d78 ) + 8005d58: 2405 movs r4, #5 + 8005d5a: f855 3b04 ldr.w r3, [r5], #4 + 8005d5e: b92b cbnz r3, 8005d6c + 8005d60: 3c01 subs r4, #1 + 8005d62: f014 04ff ands.w r4, r4, #255 ; 0xff + 8005d66: d1f8 bne.n 8005d5a + 8005d68: 4620 mov r0, r4 + 8005d6a: bd38 pop {r3, r4, r5, pc} + 8005d6c: 68db ldr r3, [r3, #12] + 8005d6e: 4798 blx r3 + 8005d70: 2800 cmp r0, #0 + 8005d72: d0f5 beq.n 8005d60 + 8005d74: e7f9 b.n 8005d6a + 8005d76: bf00 nop + 8005d78: 20000584 .word 0x20000584 -08005f14 : - 8005f14: f8d0 308c ldr.w r3, [r0, #140] ; 0x8c - 8005f18: 2b20 cmp r3, #32 - 8005f1a: b430 push {r4, r5} - 8005f1c: d115 bne.n 8005f4a - 8005f1e: b1b9 cbz r1, 8005f50 - 8005f20: b1b2 cbz r2, 8005f50 - 8005f22: 2300 movs r3, #0 - 8005f24: 6804 ldr r4, [r0, #0] - 8005f26: 66c3 str r3, [r0, #108] ; 0x6c - 8005f28: 4b0a ldr r3, [pc, #40] ; (8005f54 ) - 8005f2a: 429c cmp r4, r3 - 8005f2c: d00a beq.n 8005f44 - 8005f2e: 6863 ldr r3, [r4, #4] - 8005f30: 021b lsls r3, r3, #8 - 8005f32: d507 bpl.n 8005f44 - 8005f34: e854 3f00 ldrex r3, [r4] - 8005f38: f043 6380 orr.w r3, r3, #67108864 ; 0x4000000 - 8005f3c: e844 3500 strex r5, r3, [r4] - 8005f40: 2d00 cmp r5, #0 - 8005f42: d1f7 bne.n 8005f34 - 8005f44: bc30 pop {r4, r5} - 8005f46: f7ff bf5d b.w 8005e04 - 8005f4a: 2002 movs r0, #2 - 8005f4c: bc30 pop {r4, r5} - 8005f4e: 4770 bx lr - 8005f50: 2001 movs r0, #1 - 8005f52: e7fb b.n 8005f4c - 8005f54: 40008000 .word 0x40008000 +08005d7c : + 8005d7c: 4b03 ldr r3, [pc, #12] ; (8005d8c ) + 8005d7e: 70d8 strb r0, [r3, #3] + 8005d80: 4b03 ldr r3, [pc, #12] ; (8005d90 ) + 8005d82: 681b ldr r3, [r3, #0] + 8005d84: 6c1b ldr r3, [r3, #64] ; 0x40 + 8005d86: b103 cbz r3, 8005d8a + 8005d88: 4718 bx r3 + 8005d8a: 4770 bx lr + 8005d8c: 20000598 .word 0x20000598 + 8005d90: 20000580 .word 0x20000580 -08005f58 : - 8005f58: 6e43 ldr r3, [r0, #100] ; 0x64 - 8005f5a: b530 push {r4, r5, lr} - 8005f5c: b92b cbnz r3, 8005f6a - 8005f5e: 2301 movs r3, #1 - 8005f60: f8a0 306a strh.w r3, [r0, #106] ; 0x6a - 8005f64: f8a0 3068 strh.w r3, [r0, #104] ; 0x68 - 8005f68: bd30 pop {r4, r5, pc} - 8005f6a: 6803 ldr r3, [r0, #0] - 8005f6c: 4d09 ldr r5, [pc, #36] ; (8005f94 ) - 8005f6e: 689a ldr r2, [r3, #8] - 8005f70: 6899 ldr r1, [r3, #8] - 8005f72: 4c09 ldr r4, [pc, #36] ; (8005f98 ) - 8005f74: 0f49 lsrs r1, r1, #29 - 8005f76: f3c2 6242 ubfx r2, r2, #25, #3 - 8005f7a: 5c6b ldrb r3, [r5, r1] - 8005f7c: 5c61 ldrb r1, [r4, r1] - 8005f7e: 00db lsls r3, r3, #3 - 8005f80: fbb3 f3f1 udiv r3, r3, r1 - 8005f84: f8a0 306a strh.w r3, [r0, #106] ; 0x6a - 8005f88: 5cab ldrb r3, [r5, r2] - 8005f8a: 5ca2 ldrb r2, [r4, r2] - 8005f8c: 00db lsls r3, r3, #3 - 8005f8e: fbb3 f3f2 udiv r3, r3, r2 - 8005f92: e7e7 b.n 8005f64 - 8005f94: 0800fa44 .word 0x0800fa44 - 8005f98: 0800fa3c .word 0x0800fa3c +08005d94 : + 8005d94: 4b03 ldr r3, [pc, #12] ; (8005da4 ) + 8005d96: 7418 strb r0, [r3, #16] + 8005d98: 4b03 ldr r3, [pc, #12] ; (8005da8 ) + 8005d9a: 681b ldr r3, [r3, #0] + 8005d9c: 6c5b ldr r3, [r3, #68] ; 0x44 + 8005d9e: b103 cbz r3, 8005da2 + 8005da0: 4718 bx r3 + 8005da2: 4770 bx lr + 8005da4: 20000598 .word 0x20000598 + 8005da8: 20000580 .word 0x20000580 -08005f9c : - 8005f9c: 4770 bx lr +08005dac : + 8005dac: b5f0 push {r4, r5, r6, r7, lr} + 8005dae: 4d31 ldr r5, [pc, #196] ; (8005e74 ) + 8005db0: 4b31 ldr r3, [pc, #196] ; (8005e78 ) + 8005db2: f995 2004 ldrsb.w r2, [r5, #4] + 8005db6: 4e31 ldr r6, [pc, #196] ; (8005e7c ) + 8005db8: b091 sub sp, #68 ; 0x44 + 8005dba: 460c mov r4, r1 + 8005dbc: 2701 movs r7, #1 + 8005dbe: f995 1005 ldrsb.w r1, [r5, #5] + 8005dc2: f88d 7004 strb.w r7, [sp, #4] + 8005dc6: 2802 cmp r0, #2 + 8005dc8: f88d 2009 strb.w r2, [sp, #9] + 8005dcc: f88d 100a strb.w r1, [sp, #10] + 8005dd0: d110 bne.n 8005df4 + 8005dd2: f88d 0008 strb.w r0, [sp, #8] + 8005dd6: 71d8 strb r0, [r3, #7] + 8005dd8: 721c strb r4, [r3, #8] + 8005dda: f002 fd9f bl 800891c + 8005dde: 7833 ldrb r3, [r6, #0] + 8005de0: b103 cbz r3, 8005de4 + 8005de2: b114 cbz r4, 8005dea + 8005de4: a801 add r0, sp, #4 + 8005de6: f003 fa03 bl 80091f0 + 8005dea: 4b25 ldr r3, [pc, #148] ; (8005e80 ) + 8005dec: 9a05 ldr r2, [sp, #20] + 8005dee: 601a str r2, [r3, #0] + 8005df0: b011 add sp, #68 ; 0x44 + 8005df2: bdf0 pop {r4, r5, r6, r7, pc} + 8005df4: 7159 strb r1, [r3, #5] + 8005df6: f44f 7180 mov.w r1, #256 ; 0x100 + 8005dfa: 711a strb r2, [r3, #4] + 8005dfc: 80d9 strh r1, [r3, #6] + 8005dfe: 721c strb r4, [r3, #8] + 8005e00: 7833 ldrb r3, [r6, #0] + 8005e02: f88d 7008 strb.w r7, [sp, #8] + 8005e06: bb53 cbnz r3, 8005e5e + 8005e08: 231f movs r3, #31 + 8005e0a: a806 add r0, sp, #24 + 8005e0c: f88d 201c strb.w r2, [sp, #28] + 8005e10: f88d 3018 strb.w r3, [sp, #24] + 8005e14: f002 ff64 bl 8008ce0 + 8005e18: 2320 movs r3, #32 + 8005e1a: f88d 3018 strb.w r3, [sp, #24] + 8005e1e: a806 add r0, sp, #24 + 8005e20: 792b ldrb r3, [r5, #4] + 8005e22: f88d 301c strb.w r3, [sp, #28] + 8005e26: f002 ff5b bl 8008ce0 + 8005e2a: 2322 movs r3, #34 ; 0x22 + 8005e2c: f88d 3018 strb.w r3, [sp, #24] + 8005e30: a806 add r0, sp, #24 + 8005e32: 796b ldrb r3, [r5, #5] + 8005e34: f88d 301c strb.w r3, [sp, #28] + 8005e38: f002 ff52 bl 8008ce0 + 8005e3c: 2321 movs r3, #33 ; 0x21 + 8005e3e: f88d 3018 strb.w r3, [sp, #24] + 8005e42: a806 add r0, sp, #24 + 8005e44: 796b ldrb r3, [r5, #5] + 8005e46: f88d 301c strb.w r3, [sp, #28] + 8005e4a: f002 ff49 bl 8008ce0 + 8005e4e: 2329 movs r3, #41 ; 0x29 + 8005e50: f88d 3018 strb.w r3, [sp, #24] + 8005e54: a806 add r0, sp, #24 + 8005e56: 4b0b ldr r3, [pc, #44] ; (8005e84 ) + 8005e58: 9307 str r3, [sp, #28] + 8005e5a: f002 ff41 bl 8008ce0 + 8005e5e: f002 fd5d bl 800891c + 8005e62: 2301 movs r3, #1 + 8005e64: a806 add r0, sp, #24 + 8005e66: f88d 3018 strb.w r3, [sp, #24] + 8005e6a: f88d 301c strb.w r3, [sp, #28] + 8005e6e: f002 ff37 bl 8008ce0 + 8005e72: e7b4 b.n 8005dde + 8005e74: 20000598 .word 0x20000598 + 8005e78: 2000007c .word 0x2000007c + 8005e7c: 20000574 .word 0x20000574 + 8005e80: 20000578 .word 0x20000578 + 8005e84: 01000400 .word 0x01000400 -08005f9e : - 8005f9e: 4770 bx lr +08005e88 : + 8005e88: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} + 8005e8a: 2309 movs r3, #9 + 8005e8c: a801 add r0, sp, #4 + 8005e8e: f88d 3004 strb.w r3, [sp, #4] + 8005e92: f003 f9ad bl 80091f0 + 8005e96: 3800 subs r0, #0 + 8005e98: 4b04 ldr r3, [pc, #16] ; (8005eac ) + 8005e9a: 9a05 ldr r2, [sp, #20] + 8005e9c: 601a str r2, [r3, #0] + 8005e9e: bf18 it ne + 8005ea0: 2001 movne r0, #1 + 8005ea2: 4240 negs r0, r0 + 8005ea4: b007 add sp, #28 + 8005ea6: f85d fb04 ldr.w pc, [sp], #4 + 8005eaa: bf00 nop + 8005eac: 20000578 .word 0x20000578 -08005fa0 : - 8005fa0: 4770 bx lr +08005eb0 : + 8005eb0: b570 push {r4, r5, r6, lr} + 8005eb2: 4604 mov r4, r0 + 8005eb4: 460b mov r3, r1 + 8005eb6: 4913 ldr r1, [pc, #76] ; (8005f04 ) + 8005eb8: 7862 ldrb r2, [r4, #1] + 8005eba: 704a strb r2, [r1, #1] + 8005ebc: 2000 movs r0, #0 + 8005ebe: 78a2 ldrb r2, [r4, #2] + 8005ec0: 720a strb r2, [r1, #8] + 8005ec2: 7008 strb r0, [r1, #0] + 8005ec4: 881a ldrh r2, [r3, #0] + 8005ec6: 724a strb r2, [r1, #9] + 8005ec8: 789a ldrb r2, [r3, #2] + 8005eca: 728a strb r2, [r1, #10] + 8005ecc: 78db ldrb r3, [r3, #3] + 8005ece: 740b strb r3, [r1, #16] + 8005ed0: 6863 ldr r3, [r4, #4] + 8005ed2: 60cb str r3, [r1, #12] + 8005ed4: 4b0c ldr r3, [pc, #48] ; (8005f08 ) + 8005ed6: 681b ldr r3, [r3, #0] + 8005ed8: 6ada ldr r2, [r3, #44] ; 0x2c + 8005eda: b12a cbz r2, 8005ee8 + 8005edc: 7823 ldrb r3, [r4, #0] + 8005ede: f003 03fb and.w r3, r3, #251 ; 0xfb + 8005ee2: 2b0a cmp r3, #10 + 8005ee4: d000 beq.n 8005ee8 + 8005ee6: 4790 blx r2 + 8005ee8: 4e08 ldr r6, [pc, #32] ; (8005f0c ) + 8005eea: 2505 movs r5, #5 + 8005eec: f856 3b04 ldr.w r3, [r6], #4 + 8005ef0: b11b cbz r3, 8005efa + 8005ef2: 6a5b ldr r3, [r3, #36] ; 0x24 + 8005ef4: b10b cbz r3, 8005efa + 8005ef6: 4620 mov r0, r4 + 8005ef8: 4798 blx r3 + 8005efa: 3d01 subs r5, #1 + 8005efc: f015 05ff ands.w r5, r5, #255 ; 0xff + 8005f00: d1f4 bne.n 8005eec + 8005f02: bd70 pop {r4, r5, r6, pc} + 8005f04: 20000088 .word 0x20000088 + 8005f08: 20000580 .word 0x20000580 + 8005f0c: 20000584 .word 0x20000584 -08005fa2 : - 8005fa2: b51f push {r0, r1, r2, r3, r4, lr} - 8005fa4: ab04 add r3, sp, #16 - 8005fa6: e903 0006 stmdb r3, {r1, r2} - 8005faa: f890 3084 ldrb.w r3, [r0, #132] ; 0x84 - 8005fae: 2b01 cmp r3, #1 - 8005fb0: 4604 mov r4, r0 - 8005fb2: d03a beq.n 800602a - 8005fb4: 2301 movs r3, #1 - 8005fb6: f880 3084 strb.w r3, [r0, #132] ; 0x84 - 8005fba: 2324 movs r3, #36 ; 0x24 - 8005fbc: f8c0 3088 str.w r3, [r0, #136] ; 0x88 - 8005fc0: 6803 ldr r3, [r0, #0] - 8005fc2: 681a ldr r2, [r3, #0] - 8005fc4: f022 0201 bic.w r2, r2, #1 - 8005fc8: 601a str r2, [r3, #0] - 8005fca: 689a ldr r2, [r3, #8] - 8005fcc: f422 1240 bic.w r2, r2, #3145728 ; 0x300000 - 8005fd0: 430a orrs r2, r1 - 8005fd2: 609a str r2, [r3, #8] - 8005fd4: b971 cbnz r1, 8005ff4 - 8005fd6: 685a ldr r2, [r3, #4] - 8005fd8: f8bd 000c ldrh.w r0, [sp, #12] - 8005fdc: f89d 100e ldrb.w r1, [sp, #14] - 8005fe0: f022 0210 bic.w r2, r2, #16 - 8005fe4: 4302 orrs r2, r0 - 8005fe6: 605a str r2, [r3, #4] - 8005fe8: 685a ldr r2, [r3, #4] - 8005fea: f022 427f bic.w r2, r2, #4278190080 ; 0xff000000 - 8005fee: ea42 6201 orr.w r2, r2, r1, lsl #24 - 8005ff2: 605a str r2, [r3, #4] - 8005ff4: 681a ldr r2, [r3, #0] - 8005ff6: f042 0201 orr.w r2, r2, #1 - 8005ffa: 601a str r2, [r3, #0] - 8005ffc: f7fb fc52 bl 80018a4 - 8006000: f06f 427e mvn.w r2, #4261412864 ; 0xfe000000 - 8006004: 4603 mov r3, r0 - 8006006: 9200 str r2, [sp, #0] - 8006008: f44f 0180 mov.w r1, #4194304 ; 0x400000 - 800600c: 2200 movs r2, #0 - 800600e: 4620 mov r0, r4 - 8006010: f7ff fe30 bl 8005c74 - 8006014: b938 cbnz r0, 8006026 - 8006016: 2320 movs r3, #32 - 8006018: f8c4 3088 str.w r3, [r4, #136] ; 0x88 - 800601c: 2300 movs r3, #0 - 800601e: f884 3084 strb.w r3, [r4, #132] ; 0x84 - 8006022: b004 add sp, #16 - 8006024: bd10 pop {r4, pc} - 8006026: 2003 movs r0, #3 - 8006028: e7f8 b.n 800601c - 800602a: 2002 movs r0, #2 - 800602c: e7f9 b.n 8006022 +08005f10 : + 8005f10: b570 push {r4, r5, r6, lr} + 8005f12: 4604 mov r4, r0 + 8005f14: 4810 ldr r0, [pc, #64] ; (8005f58 ) + 8005f16: 2301 movs r3, #1 + 8005f18: 7003 strb r3, [r0, #0] + 8005f1a: 7863 ldrb r3, [r4, #1] + 8005f1c: 7043 strb r3, [r0, #1] + 8005f1e: 78a3 ldrb r3, [r4, #2] + 8005f20: 7283 strb r3, [r0, #10] + 8005f22: 68e3 ldr r3, [r4, #12] + 8005f24: 60c3 str r3, [r0, #12] + 8005f26: 78e3 ldrb r3, [r4, #3] + 8005f28: 7603 strb r3, [r0, #24] + 8005f2a: 6923 ldr r3, [r4, #16] + 8005f2c: 7643 strb r3, [r0, #25] + 8005f2e: 7923 ldrb r3, [r4, #4] + 8005f30: 7243 strb r3, [r0, #9] + 8005f32: 4b0a ldr r3, [pc, #40] ; (8005f5c ) + 8005f34: 681b ldr r3, [r3, #0] + 8005f36: 6a9b ldr r3, [r3, #40] ; 0x28 + 8005f38: b103 cbz r3, 8005f3c + 8005f3a: 4798 blx r3 + 8005f3c: 4e08 ldr r6, [pc, #32] ; (8005f60 ) + 8005f3e: 2505 movs r5, #5 + 8005f40: f856 3b04 ldr.w r3, [r6], #4 + 8005f44: b11b cbz r3, 8005f4e + 8005f46: 699b ldr r3, [r3, #24] + 8005f48: b10b cbz r3, 8005f4e + 8005f4a: 4620 mov r0, r4 + 8005f4c: 4798 blx r3 + 8005f4e: 3d01 subs r5, #1 + 8005f50: f015 05ff ands.w r5, r5, #255 ; 0xff + 8005f54: d1f4 bne.n 8005f40 + 8005f56: bd70 pop {r4, r5, r6, pc} + 8005f58: 2000009c .word 0x2000009c + 8005f5c: 20000580 .word 0x20000580 + 8005f60: 20000584 .word 0x20000584 -0800602e : - 800602e: f890 3084 ldrb.w r3, [r0, #132] ; 0x84 - 8006032: 2b01 cmp r3, #1 - 8006034: d00f beq.n 8006056 - 8006036: 2301 movs r3, #1 - 8006038: f880 3084 strb.w r3, [r0, #132] ; 0x84 - 800603c: 6801 ldr r1, [r0, #0] - 800603e: e851 2f00 ldrex r2, [r1] - 8006042: f042 0202 orr.w r2, r2, #2 - 8006046: e841 2300 strex r3, r2, [r1] - 800604a: 2b00 cmp r3, #0 - 800604c: d1f6 bne.n 800603c - 800604e: f880 3084 strb.w r3, [r0, #132] ; 0x84 - 8006052: 4618 mov r0, r3 - 8006054: 4770 bx lr - 8006056: 2002 movs r0, #2 - 8006058: 4770 bx lr +08005f64 : + 8005f64: 4b01 ldr r3, [pc, #4] ; (8005f6c ) + 8005f66: 6818 ldr r0, [r3, #0] + 8005f68: 4770 bx lr + 8005f6a: bf00 nop + 8005f6c: 20000578 .word 0x20000578 -0800605a : - 800605a: b510 push {r4, lr} - 800605c: f890 3084 ldrb.w r3, [r0, #132] ; 0x84 - 8006060: 2b01 cmp r3, #1 - 8006062: 4604 mov r4, r0 - 8006064: d017 beq.n 8006096 - 8006066: 2324 movs r3, #36 ; 0x24 - 8006068: f8c0 3088 str.w r3, [r0, #136] ; 0x88 - 800606c: 6803 ldr r3, [r0, #0] - 800606e: 681a ldr r2, [r3, #0] - 8006070: 6819 ldr r1, [r3, #0] - 8006072: f021 0101 bic.w r1, r1, #1 - 8006076: 6019 str r1, [r3, #0] - 8006078: f042 5200 orr.w r2, r2, #536870912 ; 0x20000000 - 800607c: f04f 5100 mov.w r1, #536870912 ; 0x20000000 - 8006080: 6641 str r1, [r0, #100] ; 0x64 - 8006082: 601a str r2, [r3, #0] - 8006084: f7ff ff68 bl 8005f58 - 8006088: 2320 movs r3, #32 - 800608a: f8c0 3088 str.w r3, [r0, #136] ; 0x88 - 800608e: 2000 movs r0, #0 - 8006090: f884 0084 strb.w r0, [r4, #132] ; 0x84 - 8006094: bd10 pop {r4, pc} - 8006096: 2002 movs r0, #2 - 8006098: e7fc b.n 8006094 - -0800609a : - 800609a: b570 push {r4, r5, r6, lr} - 800609c: f890 3084 ldrb.w r3, [r0, #132] ; 0x84 - 80060a0: 2b01 cmp r3, #1 - 80060a2: 4604 mov r4, r0 - 80060a4: d017 beq.n 80060d6 - 80060a6: 6805 ldr r5, [r0, #0] - 80060a8: 2324 movs r3, #36 ; 0x24 - 80060aa: f8c0 3088 str.w r3, [r0, #136] ; 0x88 - 80060ae: 682e ldr r6, [r5, #0] - 80060b0: 682b ldr r3, [r5, #0] - 80060b2: f023 0301 bic.w r3, r3, #1 - 80060b6: 602b str r3, [r5, #0] - 80060b8: 68ab ldr r3, [r5, #8] - 80060ba: f023 4360 bic.w r3, r3, #3758096384 ; 0xe0000000 - 80060be: 4319 orrs r1, r3 - 80060c0: 60a9 str r1, [r5, #8] - 80060c2: f7ff ff49 bl 8005f58 - 80060c6: 2320 movs r3, #32 - 80060c8: 602e str r6, [r5, #0] - 80060ca: f8c0 3088 str.w r3, [r0, #136] ; 0x88 - 80060ce: 2000 movs r0, #0 - 80060d0: f884 0084 strb.w r0, [r4, #132] ; 0x84 - 80060d4: bd70 pop {r4, r5, r6, pc} - 80060d6: 2002 movs r0, #2 - 80060d8: e7fc b.n 80060d4 - -080060da : - 80060da: b570 push {r4, r5, r6, lr} - 80060dc: f890 3084 ldrb.w r3, [r0, #132] ; 0x84 - 80060e0: 2b01 cmp r3, #1 - 80060e2: 4604 mov r4, r0 - 80060e4: d017 beq.n 8006116 - 80060e6: 6805 ldr r5, [r0, #0] - 80060e8: 2324 movs r3, #36 ; 0x24 - 80060ea: f8c0 3088 str.w r3, [r0, #136] ; 0x88 - 80060ee: 682e ldr r6, [r5, #0] - 80060f0: 682b ldr r3, [r5, #0] - 80060f2: f023 0301 bic.w r3, r3, #1 - 80060f6: 602b str r3, [r5, #0] - 80060f8: 68ab ldr r3, [r5, #8] - 80060fa: f023 6360 bic.w r3, r3, #234881024 ; 0xe000000 - 80060fe: 4319 orrs r1, r3 - 8006100: 60a9 str r1, [r5, #8] - 8006102: f7ff ff29 bl 8005f58 - 8006106: 2320 movs r3, #32 - 8006108: 602e str r6, [r5, #0] - 800610a: f8c0 3088 str.w r3, [r0, #136] ; 0x88 - 800610e: 2000 movs r0, #0 - 8006110: f884 0084 strb.w r0, [r4, #132] ; 0x84 - 8006114: bd70 pop {r4, r5, r6, pc} - 8006116: 2002 movs r0, #2 - 8006118: e7fc b.n 8006114 +08005f70 : + 8005f70: b500 push {lr} + 8005f72: b08b sub sp, #44 ; 0x2c + 8005f74: 2301 movs r3, #1 + 8005f76: 4668 mov r0, sp + 8005f78: f88d 3000 strb.w r3, [sp] + 8005f7c: f002 fd88 bl 8008a90 + 8005f80: b938 cbnz r0, 8005f92 + 8005f82: f89d 0004 ldrb.w r0, [sp, #4] + 8005f86: 3800 subs r0, #0 + 8005f88: bf18 it ne + 8005f8a: 2001 movne r0, #1 + 8005f8c: b00b add sp, #44 ; 0x2c + 8005f8e: f85d fb04 ldr.w pc, [sp], #4 + 8005f92: 2000 movs r0, #0 + 8005f94: e7fa b.n 8005f8c ... -0800611c : - 800611c: b538 push {r3, r4, r5, lr} - 800611e: 4d08 ldr r5, [pc, #32] ; (8006140 ) - 8006120: 2405 movs r4, #5 - 8006122: f855 3b04 ldr.w r3, [r5], #4 - 8006126: b92b cbnz r3, 8006134 - 8006128: 3c01 subs r4, #1 - 800612a: f014 04ff ands.w r4, r4, #255 ; 0xff - 800612e: d1f8 bne.n 8006122 - 8006130: 4620 mov r0, r4 - 8006132: bd38 pop {r3, r4, r5, pc} - 8006134: 68db ldr r3, [r3, #12] - 8006136: 4798 blx r3 - 8006138: 2800 cmp r0, #0 - 800613a: d0f5 beq.n 8006128 - 800613c: e7f9 b.n 8006132 - 800613e: bf00 nop - 8006140: 20000584 .word 0x20000584 +08005f98 : + 8005f98: b508 push {r3, lr} + 8005f9a: f001 fe73 bl 8007c84 + 8005f9e: b948 cbnz r0, 8005fb4 + 8005fa0: f7ff ffe6 bl 8005f70 + 8005fa4: 2801 cmp r0, #1 + 8005fa6: d006 beq.n 8005fb6 + 8005fa8: 4b05 ldr r3, [pc, #20] ; (8005fc0 ) + 8005faa: 79d8 ldrb r0, [r3, #7] + 8005fac: 7a19 ldrb r1, [r3, #8] + 8005fae: f7ff fefd bl 8005dac + 8005fb2: 2001 movs r0, #1 + 8005fb4: bd08 pop {r3, pc} + 8005fb6: e8bd 4008 ldmia.w sp!, {r3, lr} + 8005fba: f7ff becb b.w 8005d54 + 8005fbe: bf00 nop + 8005fc0: 2000007c .word 0x2000007c -08006144 : - 8006144: 4b03 ldr r3, [pc, #12] ; (8006154 ) - 8006146: 70d8 strb r0, [r3, #3] - 8006148: 4b03 ldr r3, [pc, #12] ; (8006158 ) - 800614a: 681b ldr r3, [r3, #0] - 800614c: 6c1b ldr r3, [r3, #64] ; 0x40 - 800614e: b103 cbz r3, 8006152 - 8006150: 4718 bx r3 - 8006152: 4770 bx lr - 8006154: 20000598 .word 0x20000598 - 8006158: 20000580 .word 0x20000580 +08005fc4 : + 8005fc4: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8005fc8: b086 sub sp, #24 + 8005fca: 4605 mov r5, r0 + 8005fcc: 460e mov r6, r1 + 8005fce: 4617 mov r7, r2 + 8005fd0: f001 fe58 bl 8007c84 + 8005fd4: 2800 cmp r0, #0 + 8005fd6: d17f bne.n 80060d8 + 8005fd8: f001 fe6c bl 8007cb4 + 8005fdc: 4604 mov r4, r0 + 8005fde: b940 cbnz r0, 8005ff2 + 8005fe0: f7ff ffc6 bl 8005f70 + 8005fe4: 2801 cmp r0, #1 + 8005fe6: d007 beq.n 8005ff8 + 8005fe8: 4b3d ldr r3, [pc, #244] ; (80060e0 ) + 8005fea: 7a19 ldrb r1, [r3, #8] + 8005fec: 79d8 ldrb r0, [r3, #7] + 8005fee: f7ff fedd bl 8005dac + 8005ff2: f06f 0402 mvn.w r4, #2 + 8005ff6: e062 b.n 80060be + 8005ff8: f8df 80e8 ldr.w r8, [pc, #232] ; 80060e4 + 8005ffc: f888 6008 strb.w r6, [r8, #8] + 8006000: 3e00 subs r6, #0 + 8006002: bf18 it ne + 8006004: 2601 movne r6, #1 + 8006006: f88d 6004 strb.w r6, [sp, #4] + 800600a: 4e37 ldr r6, [pc, #220] ; (80060e8 ) + 800600c: 7868 ldrb r0, [r5, #1] + 800600e: 7933 ldrb r3, [r6, #4] + 8006010: f88d 3012 strb.w r3, [sp, #18] + 8006014: 4669 mov r1, sp + 8006016: f002 fcd9 bl 80089cc + 800601a: 2800 cmp r0, #0 + 800601c: d03e beq.n 800609c + 800601e: f88d 4004 strb.w r4, [sp, #4] + 8006022: 9403 str r4, [sp, #12] + 8006024: f8ad 4010 strh.w r4, [sp, #16] + 8006028: f06f 0406 mvn.w r4, #6 + 800602c: e895 0003 ldmia.w r5, {r0, r1} + 8006030: 4b2e ldr r3, [pc, #184] ; (80060ec ) + 8006032: e883 0003 stmia.w r3, {r0, r1} + 8006036: 7933 ldrb r3, [r6, #4] + 8006038: f888 300a strb.w r3, [r8, #10] + 800603c: 4639 mov r1, r7 + 800603e: a801 add r0, sp, #4 + 8006040: f003 f9da bl 80093f8 + 8006044: 4b2a ldr r3, [pc, #168] ; (80060f0 ) + 8006046: 9a05 ldr r2, [sp, #20] + 8006048: 601a str r2, [r3, #0] + 800604a: 2811 cmp r0, #17 + 800604c: d841 bhi.n 80060d2 + 800604e: a301 add r3, pc, #4 ; (adr r3, 8006054 ) + 8006050: f853 f020 ldr.w pc, [r3, r0, lsl #2] + 8006054: 080060b3 .word 0x080060b3 + 8006058: 080060d9 .word 0x080060d9 + 800605c: 080060d3 .word 0x080060d3 + 8006060: 080060d3 .word 0x080060d3 + 8006064: 080060d3 .word 0x080060d3 + 8006068: 080060d3 .word 0x080060d3 + 800606c: 080060d3 .word 0x080060d3 + 8006070: 08005ff3 .word 0x08005ff3 + 8006074: 080060d3 .word 0x080060d3 + 8006078: 080060d3 .word 0x080060d3 + 800607c: 080060d3 .word 0x080060d3 + 8006080: 080060cd .word 0x080060cd + 8006084: 080060d3 .word 0x080060d3 + 8006088: 080060d3 .word 0x080060d3 + 800608c: 080060d9 .word 0x080060d9 + 8006090: 080060d9 .word 0x080060d9 + 8006094: 080060d9 .word 0x080060d9 + 8006098: 080060c7 .word 0x080060c7 + 800609c: 782b ldrb r3, [r5, #0] + 800609e: f88d 3008 strb.w r3, [sp, #8] + 80060a2: 786b ldrb r3, [r5, #1] + 80060a4: f8ad 3010 strh.w r3, [sp, #16] + 80060a8: 686b ldr r3, [r5, #4] + 80060aa: 9303 str r3, [sp, #12] + 80060ac: f04f 34ff mov.w r4, #4294967295 + 80060b0: e7bc b.n 800602c + 80060b2: 4b10 ldr r3, [pc, #64] ; (80060f4 ) + 80060b4: 2200 movs r2, #0 + 80060b6: 701a strb r2, [r3, #0] + 80060b8: 1de3 adds r3, r4, #7 + 80060ba: bf18 it ne + 80060bc: 4614 movne r4, r2 + 80060be: 4620 mov r0, r4 + 80060c0: b006 add sp, #24 + 80060c2: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 80060c6: f06f 0404 mvn.w r4, #4 + 80060ca: e7f8 b.n 80060be + 80060cc: f06f 0405 mvn.w r4, #5 + 80060d0: e7f5 b.n 80060be + 80060d2: f04f 34ff mov.w r4, #4294967295 + 80060d6: e7f2 b.n 80060be + 80060d8: f06f 0401 mvn.w r4, #1 + 80060dc: e7ef b.n 80060be + 80060de: bf00 nop + 80060e0: 2000007c .word 0x2000007c + 80060e4: 2000009c .word 0x2000009c + 80060e8: 20000598 .word 0x20000598 + 80060ec: 200000ac .word 0x200000ac + 80060f0: 20000578 .word 0x20000578 + 80060f4: 2000057c .word 0x2000057c -0800615c : - 800615c: 4b03 ldr r3, [pc, #12] ; (800616c ) - 800615e: 7418 strb r0, [r3, #16] - 8006160: 4b03 ldr r3, [pc, #12] ; (8006170 ) - 8006162: 681b ldr r3, [r3, #0] - 8006164: 6c5b ldr r3, [r3, #68] ; 0x44 - 8006166: b103 cbz r3, 800616a - 8006168: 4718 bx r3 - 800616a: 4770 bx lr - 800616c: 20000598 .word 0x20000598 - 8006170: 20000580 .word 0x20000580 +080060f8 : + 80060f8: b537 push {r0, r1, r2, r4, r5, lr} + 80060fa: f001 fde5 bl 8007cc8 + 80060fe: 4d14 ldr r5, [pc, #80] ; (8006150 ) + 8006100: 2405 movs r4, #5 + 8006102: f855 3b04 ldr.w r3, [r5], #4 + 8006106: b15b cbz r3, 8006120 + 8006108: 691b ldr r3, [r3, #16] + 800610a: b14b cbz r3, 8006120 + 800610c: f855 3c04 ldr.w r3, [r5, #-4] + 8006110: 689b ldr r3, [r3, #8] + 8006112: b12b cbz r3, 8006120 + 8006114: 4798 blx r3 + 8006116: b118 cbz r0, 8006120 + 8006118: f855 3c04 ldr.w r3, [r5, #-4] + 800611c: 691b ldr r3, [r3, #16] + 800611e: 4798 blx r3 + 8006120: 3c01 subs r4, #1 + 8006122: f014 04ff ands.w r4, r4, #255 ; 0xff + 8006126: d1ec bne.n 8006102 + 8006128: f7ff fe14 bl 8005d54 + 800612c: b968 cbnz r0, 800614a + 800612e: 4d09 ldr r5, [pc, #36] ; (8006154 ) + 8006130: 782b ldrb r3, [r5, #0] + 8006132: b153 cbz r3, 800614a + 8006134: 4b08 ldr r3, [pc, #32] ; (8006158 ) + 8006136: f8ad 4000 strh.w r4, [sp] + 800613a: 78d9 ldrb r1, [r3, #3] + 800613c: 9401 str r4, [sp, #4] + 800613e: 4622 mov r2, r4 + 8006140: 4668 mov r0, sp + 8006142: f7ff ff3f bl 8005fc4 + 8006146: b900 cbnz r0, 800614a + 8006148: 702c strb r4, [r5, #0] + 800614a: b003 add sp, #12 + 800614c: bd30 pop {r4, r5, pc} + 800614e: bf00 nop + 8006150: 20000584 .word 0x20000584 + 8006154: 2000057c .word 0x2000057c + 8006158: 20000598 .word 0x20000598 -08006174 : - 8006174: b5f0 push {r4, r5, r6, r7, lr} - 8006176: 4d31 ldr r5, [pc, #196] ; (800623c ) - 8006178: 4b31 ldr r3, [pc, #196] ; (8006240 ) - 800617a: f995 2004 ldrsb.w r2, [r5, #4] - 800617e: 4e31 ldr r6, [pc, #196] ; (8006244 ) - 8006180: b091 sub sp, #68 ; 0x44 - 8006182: 460c mov r4, r1 - 8006184: 2701 movs r7, #1 - 8006186: f995 1005 ldrsb.w r1, [r5, #5] - 800618a: f88d 7004 strb.w r7, [sp, #4] - 800618e: 2802 cmp r0, #2 - 8006190: f88d 2009 strb.w r2, [sp, #9] - 8006194: f88d 100a strb.w r1, [sp, #10] - 8006198: d110 bne.n 80061bc - 800619a: f88d 0008 strb.w r0, [sp, #8] - 800619e: 71d8 strb r0, [r3, #7] - 80061a0: 721c strb r4, [r3, #8] - 80061a2: f002 fd9f bl 8008ce4 - 80061a6: 7833 ldrb r3, [r6, #0] - 80061a8: b103 cbz r3, 80061ac - 80061aa: b114 cbz r4, 80061b2 - 80061ac: a801 add r0, sp, #4 - 80061ae: f003 fa03 bl 80095b8 - 80061b2: 4b25 ldr r3, [pc, #148] ; (8006248 ) - 80061b4: 9a05 ldr r2, [sp, #20] - 80061b6: 601a str r2, [r3, #0] - 80061b8: b011 add sp, #68 ; 0x44 - 80061ba: bdf0 pop {r4, r5, r6, r7, pc} - 80061bc: 7159 strb r1, [r3, #5] - 80061be: f44f 7180 mov.w r1, #256 ; 0x100 - 80061c2: 711a strb r2, [r3, #4] - 80061c4: 80d9 strh r1, [r3, #6] - 80061c6: 721c strb r4, [r3, #8] - 80061c8: 7833 ldrb r3, [r6, #0] - 80061ca: f88d 7008 strb.w r7, [sp, #8] - 80061ce: bb53 cbnz r3, 8006226 - 80061d0: 231f movs r3, #31 - 80061d2: a806 add r0, sp, #24 - 80061d4: f88d 201c strb.w r2, [sp, #28] - 80061d8: f88d 3018 strb.w r3, [sp, #24] - 80061dc: f002 ff64 bl 80090a8 - 80061e0: 2320 movs r3, #32 - 80061e2: f88d 3018 strb.w r3, [sp, #24] - 80061e6: a806 add r0, sp, #24 - 80061e8: 792b ldrb r3, [r5, #4] - 80061ea: f88d 301c strb.w r3, [sp, #28] - 80061ee: f002 ff5b bl 80090a8 - 80061f2: 2322 movs r3, #34 ; 0x22 - 80061f4: f88d 3018 strb.w r3, [sp, #24] - 80061f8: a806 add r0, sp, #24 - 80061fa: 796b ldrb r3, [r5, #5] - 80061fc: f88d 301c strb.w r3, [sp, #28] - 8006200: f002 ff52 bl 80090a8 - 8006204: 2321 movs r3, #33 ; 0x21 - 8006206: f88d 3018 strb.w r3, [sp, #24] - 800620a: a806 add r0, sp, #24 - 800620c: 796b ldrb r3, [r5, #5] - 800620e: f88d 301c strb.w r3, [sp, #28] - 8006212: f002 ff49 bl 80090a8 - 8006216: 2329 movs r3, #41 ; 0x29 - 8006218: f88d 3018 strb.w r3, [sp, #24] - 800621c: a806 add r0, sp, #24 - 800621e: 4b0b ldr r3, [pc, #44] ; (800624c ) - 8006220: 9307 str r3, [sp, #28] - 8006222: f002 ff41 bl 80090a8 - 8006226: f002 fd5d bl 8008ce4 - 800622a: 2301 movs r3, #1 - 800622c: a806 add r0, sp, #24 - 800622e: f88d 3018 strb.w r3, [sp, #24] - 8006232: f88d 301c strb.w r3, [sp, #28] - 8006236: f002 ff37 bl 80090a8 - 800623a: e7b4 b.n 80061a6 - 800623c: 20000598 .word 0x20000598 - 8006240: 2000007c .word 0x2000007c - 8006244: 20000574 .word 0x20000574 - 8006248: 20000578 .word 0x20000578 - 800624c: 01000400 .word 0x01000400 +0800615c : + 800615c: b530 push {r4, r5, lr} + 800615e: b08b sub sp, #44 ; 0x2c + 8006160: 4605 mov r5, r0 + 8006162: f001 fd8f bl 8007c84 + 8006166: 4604 mov r4, r0 + 8006168: 2800 cmp r0, #0 + 800616a: d139 bne.n 80061e0 + 800616c: f7ff ff00 bl 8005f70 + 8006170: 2801 cmp r0, #1 + 8006172: d138 bne.n 80061e6 + 8006174: 4668 mov r0, sp + 8006176: f88d 4000 strb.w r4, [sp] + 800617a: f002 fc89 bl 8008a90 + 800617e: b110 cbz r0, 8006186 + 8006180: f04f 30ff mov.w r0, #4294967295 + 8006184: e004 b.n 8006190 + 8006186: f89d 3004 ldrb.w r3, [sp, #4] + 800618a: 42ab cmp r3, r5 + 800618c: d102 bne.n 8006194 + 800618e: 2000 movs r0, #0 + 8006190: b00b add sp, #44 ; 0x2c + 8006192: bd30 pop {r4, r5, pc} + 8006194: 2d01 cmp r5, #1 + 8006196: d0f3 beq.n 8006180 + 8006198: 2d02 cmp r5, #2 + 800619a: d011 beq.n 80061c0 + 800619c: 2d00 cmp r5, #0 + 800619e: d1f7 bne.n 8006190 + 80061a0: 2b00 cmp r3, #0 + 80061a2: d0f4 beq.n 800618e + 80061a4: 4668 mov r0, sp + 80061a6: f88d 5004 strb.w r5, [sp, #4] + 80061aa: f002 fd99 bl 8008ce0 + 80061ae: 2800 cmp r0, #0 + 80061b0: d1e6 bne.n 8006180 + 80061b2: 4b0e ldr r3, [pc, #56] ; (80061ec ) + 80061b4: 681b ldr r3, [r3, #0] + 80061b6: 6b1b ldr r3, [r3, #48] ; 0x30 + 80061b8: 2b00 cmp r3, #0 + 80061ba: d0e8 beq.n 800618e + 80061bc: 4798 blx r3 + 80061be: e7e6 b.n 800618e + 80061c0: 2b00 cmp r3, #0 + 80061c2: d1dd bne.n 8006180 + 80061c4: 4668 mov r0, sp + 80061c6: f88d 5004 strb.w r5, [sp, #4] + 80061ca: f002 fd89 bl 8008ce0 + 80061ce: 2800 cmp r0, #0 + 80061d0: d1d6 bne.n 8006180 + 80061d2: 4b06 ldr r3, [pc, #24] ; (80061ec ) + 80061d4: 681b ldr r3, [r3, #0] + 80061d6: 6b1b ldr r3, [r3, #48] ; 0x30 + 80061d8: 2b00 cmp r3, #0 + 80061da: d0d8 beq.n 800618e + 80061dc: 4628 mov r0, r5 + 80061de: e7ed b.n 80061bc + 80061e0: f06f 0001 mvn.w r0, #1 + 80061e4: e7d4 b.n 8006190 + 80061e6: f06f 0002 mvn.w r0, #2 + 80061ea: e7d1 b.n 8006190 + 80061ec: 20000580 .word 0x20000580 -08006250 : - 8006250: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} - 8006252: 2309 movs r3, #9 - 8006254: a801 add r0, sp, #4 - 8006256: f88d 3004 strb.w r3, [sp, #4] - 800625a: f003 f9ad bl 80095b8 - 800625e: 3800 subs r0, #0 - 8006260: 4b04 ldr r3, [pc, #16] ; (8006274 ) - 8006262: 9a05 ldr r2, [sp, #20] - 8006264: 601a str r2, [r3, #0] - 8006266: bf18 it ne - 8006268: 2001 movne r0, #1 - 800626a: 4240 negs r0, r0 - 800626c: b007 add sp, #28 - 800626e: f85d fb04 ldr.w pc, [sp], #4 - 8006272: bf00 nop - 8006274: 20000578 .word 0x20000578 +080061f0 : + 80061f0: b510 push {r4, lr} + 80061f2: 4604 mov r4, r0 + 80061f4: b08a sub sp, #40 ; 0x28 + 80061f6: b918 cbnz r0, 8006200 + 80061f8: f04f 30ff mov.w r0, #4294967295 + 80061fc: b00a add sp, #40 ; 0x28 + 80061fe: bd10 pop {r4, pc} + 8006200: 2300 movs r3, #0 + 8006202: 4668 mov r0, sp + 8006204: f88d 3000 strb.w r3, [sp] + 8006208: f002 fc42 bl 8008a90 + 800620c: 2800 cmp r0, #0 + 800620e: d1f3 bne.n 80061f8 + 8006210: f89d 3004 ldrb.w r3, [sp, #4] + 8006214: 7023 strb r3, [r4, #0] + 8006216: e7f1 b.n 80061fc -08006278 : - 8006278: b570 push {r4, r5, r6, lr} - 800627a: 4604 mov r4, r0 - 800627c: 460b mov r3, r1 - 800627e: 4913 ldr r1, [pc, #76] ; (80062cc ) - 8006280: 7862 ldrb r2, [r4, #1] - 8006282: 704a strb r2, [r1, #1] - 8006284: 2000 movs r0, #0 - 8006286: 78a2 ldrb r2, [r4, #2] - 8006288: 720a strb r2, [r1, #8] - 800628a: 7008 strb r0, [r1, #0] - 800628c: 881a ldrh r2, [r3, #0] - 800628e: 724a strb r2, [r1, #9] - 8006290: 789a ldrb r2, [r3, #2] - 8006292: 728a strb r2, [r1, #10] - 8006294: 78db ldrb r3, [r3, #3] - 8006296: 740b strb r3, [r1, #16] - 8006298: 6863 ldr r3, [r4, #4] - 800629a: 60cb str r3, [r1, #12] - 800629c: 4b0c ldr r3, [pc, #48] ; (80062d0 ) - 800629e: 681b ldr r3, [r3, #0] - 80062a0: 6ada ldr r2, [r3, #44] ; 0x2c - 80062a2: b12a cbz r2, 80062b0 - 80062a4: 7823 ldrb r3, [r4, #0] - 80062a6: f003 03fb and.w r3, r3, #251 ; 0xfb - 80062aa: 2b0a cmp r3, #10 - 80062ac: d000 beq.n 80062b0 - 80062ae: 4790 blx r2 - 80062b0: 4e08 ldr r6, [pc, #32] ; (80062d4 ) - 80062b2: 2505 movs r5, #5 - 80062b4: f856 3b04 ldr.w r3, [r6], #4 - 80062b8: b11b cbz r3, 80062c2 - 80062ba: 6a5b ldr r3, [r3, #36] ; 0x24 - 80062bc: b10b cbz r3, 80062c2 - 80062be: 4620 mov r0, r4 - 80062c0: 4798 blx r3 - 80062c2: 3d01 subs r5, #1 - 80062c4: f015 05ff ands.w r5, r5, #255 ; 0xff - 80062c8: d1f4 bne.n 80062b4 - 80062ca: bd70 pop {r4, r5, r6, pc} - 80062cc: 20000088 .word 0x20000088 - 80062d0: 20000580 .word 0x20000580 - 80062d4: 20000584 .word 0x20000584 +08006218 : + 8006218: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} + 800621a: 2200 movs r2, #0 + 800621c: 460b mov r3, r1 + 800621e: 4920 ldr r1, [pc, #128] ; (80062a0 ) + 8006220: f88d 2007 strb.w r2, [sp, #7] + 8006224: 2201 movs r2, #1 + 8006226: 700a strb r2, [r1, #0] + 8006228: 7842 ldrb r2, [r0, #1] + 800622a: 704a strb r2, [r1, #1] + 800622c: 4604 mov r4, r0 + 800622e: 2a00 cmp r2, #0 + 8006230: d133 bne.n 800629a + 8006232: 7902 ldrb r2, [r0, #4] + 8006234: 720a strb r2, [r1, #8] + 8006236: 881a ldrh r2, [r3, #0] + 8006238: 724a strb r2, [r1, #9] + 800623a: 789a ldrb r2, [r3, #2] + 800623c: 728a strb r2, [r1, #10] + 800623e: 78db ldrb r3, [r3, #3] + 8006240: 740b strb r3, [r1, #16] + 8006242: 6903 ldr r3, [r0, #16] + 8006244: 60cb str r3, [r1, #12] + 8006246: 78c3 ldrb r3, [r0, #3] + 8006248: 4d16 ldr r5, [pc, #88] ; (80062a4 ) + 800624a: f88d 3008 strb.w r3, [sp, #8] + 800624e: 7b03 ldrb r3, [r0, #12] + 8006250: f88d 3009 strb.w r3, [sp, #9] + 8006254: 6883 ldr r3, [r0, #8] + 8006256: 9303 str r3, [sp, #12] + 8006258: 682b ldr r3, [r5, #0] + 800625a: 6adb ldr r3, [r3, #44] ; 0x2c + 800625c: b10b cbz r3, 8006262 + 800625e: a802 add r0, sp, #8 + 8006260: 4798 blx r3 + 8006262: 682b ldr r3, [r5, #0] + 8006264: 6b9b ldr r3, [r3, #56] ; 0x38 + 8006266: b113 cbz r3, 800626e + 8006268: 7e22 ldrb r2, [r4, #24] + 800626a: b102 cbz r2, 800626e + 800626c: 4798 blx r3 + 800626e: 4e0e ldr r6, [pc, #56] ; (80062a8 ) + 8006270: 2505 movs r5, #5 + 8006272: f856 3b04 ldr.w r3, [r6], #4 + 8006276: b11b cbz r3, 8006280 + 8006278: 69db ldr r3, [r3, #28] + 800627a: b10b cbz r3, 8006280 + 800627c: 4620 mov r0, r4 + 800627e: 4798 blx r3 + 8006280: 3d01 subs r5, #1 + 8006282: f015 05ff ands.w r5, r5, #255 ; 0xff + 8006286: d1f4 bne.n 8006272 + 8006288: f10d 0007 add.w r0, sp, #7 + 800628c: f7ff ffb0 bl 80061f0 + 8006290: 7963 ldrb r3, [r4, #5] + 8006292: b113 cbz r3, 800629a + 8006294: 4b05 ldr r3, [pc, #20] ; (80062ac ) + 8006296: 2201 movs r2, #1 + 8006298: 701a strb r2, [r3, #0] + 800629a: b004 add sp, #16 + 800629c: bd70 pop {r4, r5, r6, pc} + 800629e: bf00 nop + 80062a0: 20000088 .word 0x20000088 + 80062a4: 20000580 .word 0x20000580 + 80062a8: 20000584 .word 0x20000584 + 80062ac: 2000057c .word 0x2000057c -080062d8 : - 80062d8: b570 push {r4, r5, r6, lr} - 80062da: 4604 mov r4, r0 - 80062dc: 4810 ldr r0, [pc, #64] ; (8006320 ) - 80062de: 2301 movs r3, #1 - 80062e0: 7003 strb r3, [r0, #0] - 80062e2: 7863 ldrb r3, [r4, #1] - 80062e4: 7043 strb r3, [r0, #1] - 80062e6: 78a3 ldrb r3, [r4, #2] - 80062e8: 7283 strb r3, [r0, #10] - 80062ea: 68e3 ldr r3, [r4, #12] - 80062ec: 60c3 str r3, [r0, #12] - 80062ee: 78e3 ldrb r3, [r4, #3] - 80062f0: 7603 strb r3, [r0, #24] - 80062f2: 6923 ldr r3, [r4, #16] - 80062f4: 7643 strb r3, [r0, #25] - 80062f6: 7923 ldrb r3, [r4, #4] - 80062f8: 7243 strb r3, [r0, #9] - 80062fa: 4b0a ldr r3, [pc, #40] ; (8006324 ) - 80062fc: 681b ldr r3, [r3, #0] - 80062fe: 6a9b ldr r3, [r3, #40] ; 0x28 - 8006300: b103 cbz r3, 8006304 - 8006302: 4798 blx r3 - 8006304: 4e08 ldr r6, [pc, #32] ; (8006328 ) - 8006306: 2505 movs r5, #5 - 8006308: f856 3b04 ldr.w r3, [r6], #4 - 800630c: b11b cbz r3, 8006316 - 800630e: 699b ldr r3, [r3, #24] - 8006310: b10b cbz r3, 8006316 - 8006312: 4620 mov r0, r4 - 8006314: 4798 blx r3 - 8006316: 3d01 subs r5, #1 - 8006318: f015 05ff ands.w r5, r5, #255 ; 0xff - 800631c: d1f4 bne.n 8006308 - 800631e: bd70 pop {r4, r5, r6, pc} - 8006320: 2000009c .word 0x2000009c - 8006324: 20000580 .word 0x20000580 - 8006328: 20000584 .word 0x20000584 +080062b0 : + 80062b0: b510 push {r4, lr} + 80062b2: 4604 mov r4, r0 + 80062b4: b08a sub sp, #40 ; 0x28 + 80062b6: b918 cbnz r0, 80062c0 + 80062b8: f04f 30ff mov.w r0, #4294967295 + 80062bc: b00a add sp, #40 ; 0x28 + 80062be: bd10 pop {r4, pc} + 80062c0: 2320 movs r3, #32 + 80062c2: 4668 mov r0, sp + 80062c4: f88d 3000 strb.w r3, [sp] + 80062c8: f002 fbe2 bl 8008a90 + 80062cc: 2800 cmp r0, #0 + 80062ce: d1f3 bne.n 80062b8 + 80062d0: 4a02 ldr r2, [pc, #8] ; (80062dc ) + 80062d2: f99d 3004 ldrsb.w r3, [sp, #4] + 80062d6: 7023 strb r3, [r4, #0] + 80062d8: 7113 strb r3, [r2, #4] + 80062da: e7ef b.n 80062bc + 80062dc: 20000598 .word 0x20000598 -0800632c : - 800632c: 4b01 ldr r3, [pc, #4] ; (8006334 ) - 800632e: 6818 ldr r0, [r3, #0] - 8006330: 4770 bx lr - 8006332: bf00 nop - 8006334: 20000578 .word 0x20000578 +080062e0 : + 80062e0: b500 push {lr} + 80062e2: b08b sub sp, #44 ; 0x2c + 80062e4: 2323 movs r3, #35 ; 0x23 + 80062e6: 9001 str r0, [sp, #4] + 80062e8: 4668 mov r0, sp + 80062ea: f88d 3000 strb.w r3, [sp] + 80062ee: f002 fcf7 bl 8008ce0 + 80062f2: 3800 subs r0, #0 + 80062f4: bf18 it ne + 80062f6: 2001 movne r0, #1 + 80062f8: 4240 negs r0, r0 + 80062fa: b00b add sp, #44 ; 0x2c + 80062fc: f85d fb04 ldr.w pc, [sp], #4 -08006338 : - 8006338: b500 push {lr} - 800633a: b08b sub sp, #44 ; 0x2c - 800633c: 2301 movs r3, #1 - 800633e: 4668 mov r0, sp - 8006340: f88d 3000 strb.w r3, [sp] - 8006344: f002 fd88 bl 8008e58 - 8006348: b938 cbnz r0, 800635a - 800634a: f89d 0004 ldrb.w r0, [sp, #4] - 800634e: 3800 subs r0, #0 - 8006350: bf18 it ne - 8006352: 2001 movne r0, #1 - 8006354: b00b add sp, #44 ; 0x2c - 8006356: f85d fb04 ldr.w pc, [sp], #4 - 800635a: 2000 movs r0, #0 - 800635c: e7fa b.n 8006354 - ... - -08006360 : - 8006360: b508 push {r3, lr} - 8006362: f001 fe73 bl 800804c - 8006366: b948 cbnz r0, 800637c - 8006368: f7ff ffe6 bl 8006338 - 800636c: 2801 cmp r0, #1 - 800636e: d006 beq.n 800637e - 8006370: 4b05 ldr r3, [pc, #20] ; (8006388 ) - 8006372: 79d8 ldrb r0, [r3, #7] - 8006374: 7a19 ldrb r1, [r3, #8] - 8006376: f7ff fefd bl 8006174 - 800637a: 2001 movs r0, #1 - 800637c: bd08 pop {r3, pc} - 800637e: e8bd 4008 ldmia.w sp!, {r3, lr} - 8006382: f7ff becb b.w 800611c - 8006386: bf00 nop - 8006388: 2000007c .word 0x2000007c - -0800638c : - 800638c: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8006390: b086 sub sp, #24 +08006300 : + 8006300: b570 push {r4, r5, r6, lr} + 8006302: 4c65 ldr r4, [pc, #404] ; (8006498 ) + 8006304: 4601 mov r1, r0 + 8006306: b08e sub sp, #56 ; 0x38 + 8006308: 2218 movs r2, #24 + 800630a: 4620 mov r0, r4 + 800630c: f006 f8fe bl 800c50c + 8006310: 4b62 ldr r3, [pc, #392] ; (800649c ) + 8006312: 2200 movs r2, #0 + 8006314: 701a strb r2, [r3, #0] + 8006316: f7fc f803 bl 8002320 + 800631a: 7823 ldrb r3, [r4, #0] + 800631c: 6840 ldr r0, [r0, #4] + 800631e: 2201 movs r2, #1 + 8006320: fa02 f103 lsl.w r1, r2, r3 + 8006324: 4001 ands r1, r0 + 8006326: d104 bne.n 8006332 + 8006328: 4b5d ldr r3, [pc, #372] ; (80064a0 ) + 800632a: 4608 mov r0, r1 + 800632c: f008 f8e4 bl 800e4f8 + 8006330: e7fe b.n 8006330 + 8006332: 495c ldr r1, [pc, #368] ; (80064a4 ) + 8006334: 485c ldr r0, [pc, #368] ; (80064a8 ) + 8006336: 461a mov r2, r3 + 8006338: f002 f932 bl 80085a0 + 800633c: b118 cbz r0, 8006346 + 800633e: f04f 30ff mov.w r0, #4294967295 + 8006342: b00e add sp, #56 ; 0x38 + 8006344: bd70 pop {r4, r5, r6, pc} + 8006346: 2327 movs r3, #39 ; 0x27 + 8006348: a804 add r0, sp, #16 + 800634a: f88d 3010 strb.w r3, [sp, #16] + 800634e: f002 fcc7 bl 8008ce0 + 8006352: 4e56 ldr r6, [pc, #344] ; (80064ac ) + 8006354: 4d56 ldr r5, [pc, #344] ; (80064b0 ) + 8006356: 2800 cmp r0, #0 + 8006358: d170 bne.n 800643c + 800635a: 2301 movs r3, #1 + 800635c: 7033 strb r3, [r6, #0] + 800635e: 682b ldr r3, [r5, #0] + 8006360: 69db ldr r3, [r3, #28] + 8006362: b10b cbz r3, 8006368 + 8006364: 2000 movs r0, #0 + 8006366: 4798 blx r3 + 8006368: 2327 movs r3, #39 ; 0x27 + 800636a: a804 add r0, sp, #16 + 800636c: f88d 3010 strb.w r3, [sp, #16] + 8006370: f002 fb8e bl 8008a90 + 8006374: 9b05 ldr r3, [sp, #20] + 8006376: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 + 800637a: 7022 strb r2, [r4, #0] + 800637c: f893 2118 ldrb.w r2, [r3, #280] ; 0x118 + 8006380: f893 311a ldrb.w r3, [r3, #282] ; 0x11a + 8006384: 7062 strb r2, [r4, #1] + 8006386: 70a3 strb r3, [r4, #2] + 8006388: 4b46 ldr r3, [pc, #280] ; (80064a4 ) + 800638a: e9d3 0102 ldrd r0, r1, [r3, #8] + 800638e: f005 ffaf bl 800c2f0 8006392: 4605 mov r5, r0 - 8006394: 460e mov r6, r1 - 8006396: 4617 mov r7, r2 - 8006398: f001 fe58 bl 800804c - 800639c: 2800 cmp r0, #0 - 800639e: d17f bne.n 80064a0 - 80063a0: f001 fe6c bl 800807c - 80063a4: 4604 mov r4, r0 - 80063a6: b940 cbnz r0, 80063ba - 80063a8: f7ff ffc6 bl 8006338 - 80063ac: 2801 cmp r0, #1 - 80063ae: d007 beq.n 80063c0 - 80063b0: 4b3d ldr r3, [pc, #244] ; (80064a8 ) - 80063b2: 7a19 ldrb r1, [r3, #8] - 80063b4: 79d8 ldrb r0, [r3, #7] - 80063b6: f7ff fedd bl 8006174 - 80063ba: f06f 0402 mvn.w r4, #2 - 80063be: e062 b.n 8006486 - 80063c0: f8df 80e8 ldr.w r8, [pc, #232] ; 80064ac - 80063c4: f888 6008 strb.w r6, [r8, #8] - 80063c8: 3e00 subs r6, #0 - 80063ca: bf18 it ne - 80063cc: 2601 movne r6, #1 - 80063ce: f88d 6004 strb.w r6, [sp, #4] - 80063d2: 4e37 ldr r6, [pc, #220] ; (80064b0 ) - 80063d4: 7868 ldrb r0, [r5, #1] - 80063d6: 7933 ldrb r3, [r6, #4] - 80063d8: f88d 3012 strb.w r3, [sp, #18] - 80063dc: 4669 mov r1, sp - 80063de: f002 fcd9 bl 8008d94 - 80063e2: 2800 cmp r0, #0 - 80063e4: d03e beq.n 8006464 - 80063e6: f88d 4004 strb.w r4, [sp, #4] - 80063ea: 9403 str r4, [sp, #12] - 80063ec: f8ad 4010 strh.w r4, [sp, #16] - 80063f0: f06f 0406 mvn.w r4, #6 - 80063f4: e895 0003 ldmia.w r5, {r0, r1} - 80063f8: 4b2e ldr r3, [pc, #184] ; (80064b4 ) - 80063fa: e883 0003 stmia.w r3, {r0, r1} - 80063fe: 7933 ldrb r3, [r6, #4] - 8006400: f888 300a strb.w r3, [r8, #10] - 8006404: 4639 mov r1, r7 - 8006406: a801 add r0, sp, #4 - 8006408: f003 f9da bl 80097c0 - 800640c: 4b2a ldr r3, [pc, #168] ; (80064b8 ) - 800640e: 9a05 ldr r2, [sp, #20] - 8006410: 601a str r2, [r3, #0] - 8006412: 2811 cmp r0, #17 - 8006414: d841 bhi.n 800649a - 8006416: a301 add r3, pc, #4 ; (adr r3, 800641c ) - 8006418: f853 f020 ldr.w pc, [r3, r0, lsl #2] - 800641c: 0800647b .word 0x0800647b - 8006420: 080064a1 .word 0x080064a1 - 8006424: 0800649b .word 0x0800649b - 8006428: 0800649b .word 0x0800649b - 800642c: 0800649b .word 0x0800649b - 8006430: 0800649b .word 0x0800649b - 8006434: 0800649b .word 0x0800649b - 8006438: 080063bb .word 0x080063bb - 800643c: 0800649b .word 0x0800649b - 8006440: 0800649b .word 0x0800649b - 8006444: 0800649b .word 0x0800649b - 8006448: 08006495 .word 0x08006495 - 800644c: 0800649b .word 0x0800649b - 8006450: 0800649b .word 0x0800649b - 8006454: 080064a1 .word 0x080064a1 - 8006458: 080064a1 .word 0x080064a1 - 800645c: 080064a1 .word 0x080064a1 - 8006460: 0800648f .word 0x0800648f - 8006464: 782b ldrb r3, [r5, #0] - 8006466: f88d 3008 strb.w r3, [sp, #8] - 800646a: 786b ldrb r3, [r5, #1] - 800646c: f8ad 3010 strh.w r3, [sp, #16] - 8006470: 686b ldr r3, [r5, #4] - 8006472: 9303 str r3, [sp, #12] - 8006474: f04f 34ff mov.w r4, #4294967295 - 8006478: e7bc b.n 80063f4 - 800647a: 4b10 ldr r3, [pc, #64] ; (80064bc ) - 800647c: 2200 movs r2, #0 - 800647e: 701a strb r2, [r3, #0] - 8006480: 1de3 adds r3, r4, #7 - 8006482: bf18 it ne - 8006484: 4614 movne r4, r2 - 8006486: 4620 mov r0, r4 - 8006488: b006 add sp, #24 - 800648a: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800648e: f06f 0404 mvn.w r4, #4 - 8006492: e7f8 b.n 8006486 - 8006494: f06f 0405 mvn.w r4, #5 - 8006498: e7f5 b.n 8006486 - 800649a: f04f 34ff mov.w r4, #4294967295 - 800649e: e7f2 b.n 8006486 - 80064a0: f06f 0401 mvn.w r4, #1 - 80064a4: e7ef b.n 8006486 - 80064a6: bf00 nop - 80064a8: 2000007c .word 0x2000007c - 80064ac: 2000009c .word 0x2000009c - 80064b0: 20000598 .word 0x20000598 - 80064b4: 200000ac .word 0x200000ac - 80064b8: 20000578 .word 0x20000578 - 80064bc: 2000057c .word 0x2000057c + 8006394: 2800 cmp r0, #0 + 8006396: d1d2 bne.n 800633e + 8006398: 4e46 ldr r6, [pc, #280] ; (80064b4 ) + 800639a: 2306 movs r3, #6 + 800639c: a804 add r0, sp, #16 + 800639e: f88d 3010 strb.w r3, [sp, #16] + 80063a2: f002 fb75 bl 8008a90 + 80063a6: 9b05 ldr r3, [sp, #20] + 80063a8: 6173 str r3, [r6, #20] + 80063aa: a804 add r0, sp, #16 + 80063ac: f002 fc98 bl 8008ce0 + 80063b0: 2302 movs r3, #2 + 80063b2: a804 add r0, sp, #16 + 80063b4: f88d 3010 strb.w r3, [sp, #16] + 80063b8: 9605 str r6, [sp, #20] + 80063ba: f002 fb69 bl 8008a90 + 80063be: 3608 adds r6, #8 + 80063c0: 2303 movs r3, #3 + 80063c2: a804 add r0, sp, #16 + 80063c4: f88d 3010 strb.w r3, [sp, #16] + 80063c8: 9605 str r6, [sp, #20] + 80063ca: f002 fb61 bl 8008a90 + 80063ce: 260f movs r6, #15 + 80063d0: f006 f852 bl 800c478 + 80063d4: 2301 movs r3, #1 + 80063d6: a804 add r0, sp, #16 + 80063d8: f88d 3014 strb.w r3, [sp, #20] + 80063dc: f88d 6010 strb.w r6, [sp, #16] + 80063e0: f002 fc7e bl 8008ce0 + 80063e4: 2310 movs r3, #16 + 80063e6: eb0d 0003 add.w r0, sp, r3 + 80063ea: f88d 3010 strb.w r3, [sp, #16] + 80063ee: f88d 5014 strb.w r5, [sp, #20] + 80063f2: f002 fc75 bl 8008ce0 + 80063f6: 2304 movs r3, #4 + 80063f8: f88d 3010 strb.w r3, [sp, #16] + 80063fc: a804 add r0, sp, #16 + 80063fe: 78a3 ldrb r3, [r4, #2] + 8006400: f88d 3014 strb.w r3, [sp, #20] + 8006404: f002 fc6c bl 8008ce0 + 8006408: 233a movs r3, #58 ; 0x3a + 800640a: f88d 3010 strb.w r3, [sp, #16] + 800640e: a804 add r0, sp, #16 + 8006410: 6963 ldr r3, [r4, #20] + 8006412: 9305 str r3, [sp, #20] + 8006414: f002 fc64 bl 8008ce0 + 8006418: a902 add r1, sp, #8 + 800641a: 7820 ldrb r0, [r4, #0] + 800641c: f88d 6008 strb.w r6, [sp, #8] + 8006420: f004 f8e8 bl 800a5f4 + 8006424: 3800 subs r0, #0 + 8006426: bf18 it ne + 8006428: 2001 movne r0, #1 + 800642a: 71e0 strb r0, [r4, #7] + 800642c: 2014 movs r0, #20 + 800642e: f7ff ff57 bl 80062e0 + 8006432: 79e0 ldrb r0, [r4, #7] + 8006434: f003 f9a4 bl 8009780 + 8006438: 4628 mov r0, r5 + 800643a: e782 b.n 8006342 + 800643c: 2328 movs r3, #40 ; 0x28 + 800643e: f88d 3010 strb.w r3, [sp, #16] + 8006442: 682b ldr r3, [r5, #0] + 8006444: 691b ldr r3, [r3, #16] + 8006446: b143 cbz r3, 800645a + 8006448: a804 add r0, sp, #16 + 800644a: f002 fb21 bl 8008a90 + 800644e: 682b ldr r3, [r5, #0] + 8006450: 9805 ldr r0, [sp, #20] + 8006452: 691b ldr r3, [r3, #16] + 8006454: f240 51c4 movw r1, #1476 ; 0x5c4 + 8006458: 4798 blx r3 + 800645a: 2327 movs r3, #39 ; 0x27 + 800645c: a804 add r0, sp, #16 + 800645e: f88d 3010 strb.w r3, [sp, #16] + 8006462: f002 fc3d bl 8008ce0 + 8006466: b950 cbnz r0, 800647e + 8006468: 2301 movs r3, #1 + 800646a: a804 add r0, sp, #16 + 800646c: f88d 3010 strb.w r3, [sp, #16] + 8006470: f002 fb0e bl 8008a90 + 8006474: f89d 3014 ldrb.w r3, [sp, #20] + 8006478: 2b00 cmp r3, #0 + 800647a: f47f af6e bne.w 800635a + 800647e: 7833 ldrb r3, [r6, #0] + 8006480: 2b00 cmp r3, #0 + 8006482: f47f af6c bne.w 800635e + 8006486: 2205 movs r2, #5 + 8006488: a804 add r0, sp, #16 + 800648a: f88d 2010 strb.w r2, [sp, #16] + 800648e: 9305 str r3, [sp, #20] + 8006490: f002 fc26 bl 8008ce0 + 8006494: e778 b.n 8006388 + 8006496: bf00 nop + 8006498: 20000598 .word 0x20000598 + 800649c: 2000057c .word 0x2000057c + 80064a0: 0800f288 .word 0x0800f288 + 80064a4: 200005c0 .word 0x200005c0 + 80064a8: 200005d8 .word 0x200005d8 + 80064ac: 20000574 .word 0x20000574 + 80064b0: 20000580 .word 0x20000580 + 80064b4: 2000055c .word 0x2000055c -080064c0 : - 80064c0: b537 push {r0, r1, r2, r4, r5, lr} - 80064c2: f001 fde5 bl 8008090 - 80064c6: 4d14 ldr r5, [pc, #80] ; (8006518 ) - 80064c8: 2405 movs r4, #5 - 80064ca: f855 3b04 ldr.w r3, [r5], #4 - 80064ce: b15b cbz r3, 80064e8 - 80064d0: 691b ldr r3, [r3, #16] - 80064d2: b14b cbz r3, 80064e8 - 80064d4: f855 3c04 ldr.w r3, [r5, #-4] - 80064d8: 689b ldr r3, [r3, #8] - 80064da: b12b cbz r3, 80064e8 - 80064dc: 4798 blx r3 - 80064de: b118 cbz r0, 80064e8 - 80064e0: f855 3c04 ldr.w r3, [r5, #-4] - 80064e4: 691b ldr r3, [r3, #16] - 80064e6: 4798 blx r3 - 80064e8: 3c01 subs r4, #1 - 80064ea: f014 04ff ands.w r4, r4, #255 ; 0xff - 80064ee: d1ec bne.n 80064ca - 80064f0: f7ff fe14 bl 800611c - 80064f4: b968 cbnz r0, 8006512 - 80064f6: 4d09 ldr r5, [pc, #36] ; (800651c ) - 80064f8: 782b ldrb r3, [r5, #0] - 80064fa: b153 cbz r3, 8006512 - 80064fc: 4b08 ldr r3, [pc, #32] ; (8006520 ) - 80064fe: f8ad 4000 strh.w r4, [sp] - 8006502: 78d9 ldrb r1, [r3, #3] - 8006504: 9401 str r4, [sp, #4] - 8006506: 4622 mov r2, r4 - 8006508: 4668 mov r0, sp - 800650a: f7ff ff3f bl 800638c - 800650e: b900 cbnz r0, 8006512 - 8006510: 702c strb r4, [r5, #0] - 8006512: b003 add sp, #12 - 8006514: bd30 pop {r4, r5, pc} - 8006516: bf00 nop - 8006518: 20000584 .word 0x20000584 - 800651c: 2000057c .word 0x2000057c - 8006520: 20000598 .word 0x20000598 +080064b8 : + 80064b8: b537 push {r0, r1, r2, r4, r5, lr} + 80064ba: 2300 movs r3, #0 + 80064bc: 460d mov r5, r1 + 80064be: 9301 str r3, [sp, #4] + 80064c0: 4604 mov r4, r0 + 80064c2: b9d0 cbnz r0, 80064fa + 80064c4: f000 fba8 bl 8006c18 + 80064c8: 9001 str r0, [sp, #4] + 80064ca: 9b01 ldr r3, [sp, #4] + 80064cc: b1d3 cbz r3, 8006504 + 80064ce: 4a0f ldr r2, [pc, #60] ; (800650c ) + 80064d0: f842 3024 str.w r3, [r2, r4, lsl #2] + 80064d4: 4a0e ldr r2, [pc, #56] ; (8006510 ) + 80064d6: 629a str r2, [r3, #40] ; 0x28 + 80064d8: 4a0e ldr r2, [pc, #56] ; (8006514 ) + 80064da: 6812 ldr r2, [r2, #0] + 80064dc: 6b91 ldr r1, [r2, #56] ; 0x38 + 80064de: 6319 str r1, [r3, #48] ; 0x30 + 80064e0: 6c91 ldr r1, [r2, #72] ; 0x48 + 80064e2: 6359 str r1, [r3, #52] ; 0x34 + 80064e4: 6992 ldr r2, [r2, #24] + 80064e6: 490c ldr r1, [pc, #48] ; (8006518 ) + 80064e8: 62d9 str r1, [r3, #44] ; 0x2c + 80064ea: 615a str r2, [r3, #20] + 80064ec: 4628 mov r0, r5 + 80064ee: 685b ldr r3, [r3, #4] + 80064f0: 490a ldr r1, [pc, #40] ; (800651c ) + 80064f2: 22f2 movs r2, #242 ; 0xf2 + 80064f4: 4798 blx r3 + 80064f6: 2000 movs r0, #0 + 80064f8: e006 b.n 8006508 + 80064fa: a901 add r1, sp, #4 + 80064fc: f000 fb92 bl 8006c24 + 8006500: 2800 cmp r0, #0 + 8006502: d0e2 beq.n 80064ca + 8006504: f04f 30ff mov.w r0, #4294967295 + 8006508: b003 add sp, #12 + 800650a: bd30 pop {r4, r5, pc} + 800650c: 20000584 .word 0x20000584 + 8006510: 08005dad .word 0x08005dad + 8006514: 20000580 .word 0x20000580 + 8006518: 08005e89 .word 0x08005e89 + 800651c: 20000468 .word 0x20000468 -08006524 : - 8006524: b530 push {r4, r5, lr} - 8006526: b08b sub sp, #44 ; 0x2c - 8006528: 4605 mov r5, r0 - 800652a: f001 fd8f bl 800804c - 800652e: 4604 mov r4, r0 - 8006530: 2800 cmp r0, #0 - 8006532: d139 bne.n 80065a8 - 8006534: f7ff ff00 bl 8006338 - 8006538: 2801 cmp r0, #1 - 800653a: d138 bne.n 80065ae - 800653c: 4668 mov r0, sp - 800653e: f88d 4000 strb.w r4, [sp] - 8006542: f002 fc89 bl 8008e58 - 8006546: b110 cbz r0, 800654e - 8006548: f04f 30ff mov.w r0, #4294967295 - 800654c: e004 b.n 8006558 - 800654e: f89d 3004 ldrb.w r3, [sp, #4] - 8006552: 42ab cmp r3, r5 - 8006554: d102 bne.n 800655c - 8006556: 2000 movs r0, #0 - 8006558: b00b add sp, #44 ; 0x2c - 800655a: bd30 pop {r4, r5, pc} - 800655c: 2d01 cmp r5, #1 - 800655e: d0f3 beq.n 8006548 - 8006560: 2d02 cmp r5, #2 - 8006562: d011 beq.n 8006588 - 8006564: 2d00 cmp r5, #0 - 8006566: d1f7 bne.n 8006558 - 8006568: 2b00 cmp r3, #0 - 800656a: d0f4 beq.n 8006556 - 800656c: 4668 mov r0, sp - 800656e: f88d 5004 strb.w r5, [sp, #4] - 8006572: f002 fd99 bl 80090a8 - 8006576: 2800 cmp r0, #0 - 8006578: d1e6 bne.n 8006548 - 800657a: 4b0e ldr r3, [pc, #56] ; (80065b4 ) - 800657c: 681b ldr r3, [r3, #0] - 800657e: 6b1b ldr r3, [r3, #48] ; 0x30 - 8006580: 2b00 cmp r3, #0 - 8006582: d0e8 beq.n 8006556 - 8006584: 4798 blx r3 - 8006586: e7e6 b.n 8006556 - 8006588: 2b00 cmp r3, #0 - 800658a: d1dd bne.n 8006548 - 800658c: 4668 mov r0, sp - 800658e: f88d 5004 strb.w r5, [sp, #4] - 8006592: f002 fd89 bl 80090a8 - 8006596: 2800 cmp r0, #0 - 8006598: d1d6 bne.n 8006548 - 800659a: 4b06 ldr r3, [pc, #24] ; (80065b4 ) - 800659c: 681b ldr r3, [r3, #0] - 800659e: 6b1b ldr r3, [r3, #48] ; 0x30 - 80065a0: 2b00 cmp r3, #0 - 80065a2: d0d8 beq.n 8006556 - 80065a4: 4628 mov r0, r5 - 80065a6: e7ed b.n 8006584 - 80065a8: f06f 0001 mvn.w r0, #1 - 80065ac: e7d4 b.n 8006558 - 80065ae: f06f 0002 mvn.w r0, #2 - 80065b2: e7d1 b.n 8006558 - 80065b4: 20000580 .word 0x20000580 +08006520 : + 8006520: 4b19 ldr r3, [pc, #100] ; (8006588 ) + 8006522: b507 push {r0, r1, r2, lr} + 8006524: 6018 str r0, [r3, #0] + 8006526: 4b19 ldr r3, [pc, #100] ; (800658c ) + 8006528: 4a19 ldr r2, [pc, #100] ; (8006590 ) + 800652a: 601a str r2, [r3, #0] + 800652c: 4a19 ldr r2, [pc, #100] ; (8006594 ) + 800652e: 605a str r2, [r3, #4] + 8006530: 4a19 ldr r2, [pc, #100] ; (8006598 ) + 8006532: 609a str r2, [r3, #8] + 8006534: 4a19 ldr r2, [pc, #100] ; (800659c ) + 8006536: 60da str r2, [r3, #12] + 8006538: 4b19 ldr r3, [pc, #100] ; (80065a0 ) + 800653a: 6802 ldr r2, [r0, #0] + 800653c: 601a str r2, [r3, #0] + 800653e: 6842 ldr r2, [r0, #4] + 8006540: 605a str r2, [r3, #4] + 8006542: 6882 ldr r2, [r0, #8] + 8006544: 609a str r2, [r3, #8] + 8006546: 68c2 ldr r2, [r0, #12] + 8006548: 60da str r2, [r3, #12] + 800654a: 4a16 ldr r2, [pc, #88] ; (80065a4 ) + 800654c: 611a str r2, [r3, #16] + 800654e: 6982 ldr r2, [r0, #24] + 8006550: 615a str r2, [r3, #20] + 8006552: 4b15 ldr r3, [pc, #84] ; (80065a8 ) + 8006554: 6bc2 ldr r2, [r0, #60] ; 0x3c + 8006556: 605a str r2, [r3, #4] + 8006558: 4a14 ldr r2, [pc, #80] ; (80065ac ) + 800655a: 9101 str r1, [sp, #4] + 800655c: 6019 str r1, [r3, #0] + 800655e: 609a str r2, [r3, #8] + 8006560: 4619 mov r1, r3 + 8006562: 4a13 ldr r2, [pc, #76] ; (80065b0 ) + 8006564: 60da str r2, [r3, #12] + 8006566: 2000 movs r0, #0 + 8006568: f7ff ffa6 bl 80064b8 + 800656c: b948 cbnz r0, 8006582 + 800656e: a801 add r0, sp, #4 + 8006570: f000 fb56 bl 8006c20 + 8006574: 3800 subs r0, #0 + 8006576: bf18 it ne + 8006578: 2001 movne r0, #1 + 800657a: 4240 negs r0, r0 + 800657c: b003 add sp, #12 + 800657e: f85d fb04 ldr.w pc, [sp], #4 + 8006582: f04f 30ff mov.w r0, #4294967295 + 8006586: e7f9 b.n 800657c + 8006588: 20000580 .word 0x20000580 + 800658c: 200005d8 .word 0x200005d8 + 8006590: 08005f11 .word 0x08005f11 + 8006594: 08006219 .word 0x08006219 + 8006598: 08006631 .word 0x08006631 + 800659c: 08005eb1 .word 0x08005eb1 + 80065a0: 200005c0 .word 0x200005c0 + 80065a4: 0800a5a5 .word 0x0800a5a5 + 80065a8: 200005b0 .word 0x200005b0 + 80065ac: 08005d7d .word 0x08005d7d + 80065b0: 08005d95 .word 0x08005d95 -080065b8 : - 80065b8: b510 push {r4, lr} - 80065ba: 4604 mov r4, r0 - 80065bc: b08a sub sp, #40 ; 0x28 - 80065be: b918 cbnz r0, 80065c8 - 80065c0: f04f 30ff mov.w r0, #4294967295 - 80065c4: b00a add sp, #40 ; 0x28 - 80065c6: bd10 pop {r4, pc} - 80065c8: 2300 movs r3, #0 - 80065ca: 4668 mov r0, sp - 80065cc: f88d 3000 strb.w r3, [sp] - 80065d0: f002 fc42 bl 8008e58 - 80065d4: 2800 cmp r0, #0 - 80065d6: d1f3 bne.n 80065c0 - 80065d8: f89d 3004 ldrb.w r3, [sp, #4] - 80065dc: 7023 strb r3, [r4, #0] - 80065de: e7f1 b.n 80065c4 +080065b4 : + 80065b4: b151 cbz r1, 80065cc + 80065b6: b118 cbz r0, 80065c0 + 80065b8: 2801 cmp r0, #1 + 80065ba: d004 beq.n 80065c6 + 80065bc: 2000 movs r0, #0 + 80065be: 4770 bx lr + 80065c0: 4b04 ldr r3, [pc, #16] ; (80065d4 ) + 80065c2: 600b str r3, [r1, #0] + 80065c4: 4770 bx lr + 80065c6: 4b04 ldr r3, [pc, #16] ; (80065d8 ) + 80065c8: 600b str r3, [r1, #0] + 80065ca: e7f7 b.n 80065bc + 80065cc: f04f 30ff mov.w r0, #4294967295 + 80065d0: 4770 bx lr + 80065d2: bf00 nop + 80065d4: 01000400 .word 0x01000400 + 80065d8: 02010001 .word 0x02010001 -080065e0 : - 80065e0: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} - 80065e2: 2200 movs r2, #0 - 80065e4: 460b mov r3, r1 - 80065e6: 4920 ldr r1, [pc, #128] ; (8006668 ) - 80065e8: f88d 2007 strb.w r2, [sp, #7] - 80065ec: 2201 movs r2, #1 - 80065ee: 700a strb r2, [r1, #0] - 80065f0: 7842 ldrb r2, [r0, #1] - 80065f2: 704a strb r2, [r1, #1] - 80065f4: 4604 mov r4, r0 - 80065f6: 2a00 cmp r2, #0 - 80065f8: d133 bne.n 8006662 - 80065fa: 7902 ldrb r2, [r0, #4] - 80065fc: 720a strb r2, [r1, #8] - 80065fe: 881a ldrh r2, [r3, #0] - 8006600: 724a strb r2, [r1, #9] - 8006602: 789a ldrb r2, [r3, #2] - 8006604: 728a strb r2, [r1, #10] - 8006606: 78db ldrb r3, [r3, #3] - 8006608: 740b strb r3, [r1, #16] - 800660a: 6903 ldr r3, [r0, #16] - 800660c: 60cb str r3, [r1, #12] - 800660e: 78c3 ldrb r3, [r0, #3] - 8006610: 4d16 ldr r5, [pc, #88] ; (800666c ) - 8006612: f88d 3008 strb.w r3, [sp, #8] - 8006616: 7b03 ldrb r3, [r0, #12] - 8006618: f88d 3009 strb.w r3, [sp, #9] - 800661c: 6883 ldr r3, [r0, #8] - 800661e: 9303 str r3, [sp, #12] - 8006620: 682b ldr r3, [r5, #0] - 8006622: 6adb ldr r3, [r3, #44] ; 0x2c - 8006624: b10b cbz r3, 800662a - 8006626: a802 add r0, sp, #8 - 8006628: 4798 blx r3 - 800662a: 682b ldr r3, [r5, #0] - 800662c: 6b9b ldr r3, [r3, #56] ; 0x38 - 800662e: b113 cbz r3, 8006636 - 8006630: 7e22 ldrb r2, [r4, #24] - 8006632: b102 cbz r2, 8006636 - 8006634: 4798 blx r3 - 8006636: 4e0e ldr r6, [pc, #56] ; (8006670 ) - 8006638: 2505 movs r5, #5 - 800663a: f856 3b04 ldr.w r3, [r6], #4 - 800663e: b11b cbz r3, 8006648 - 8006640: 69db ldr r3, [r3, #28] - 8006642: b10b cbz r3, 8006648 - 8006644: 4620 mov r0, r4 - 8006646: 4798 blx r3 - 8006648: 3d01 subs r5, #1 - 800664a: f015 05ff ands.w r5, r5, #255 ; 0xff - 800664e: d1f4 bne.n 800663a - 8006650: f10d 0007 add.w r0, sp, #7 - 8006654: f7ff ffb0 bl 80065b8 - 8006658: 7963 ldrb r3, [r4, #5] - 800665a: b113 cbz r3, 8006662 - 800665c: 4b05 ldr r3, [pc, #20] ; (8006674 ) - 800665e: 2201 movs r2, #1 - 8006660: 701a strb r2, [r3, #0] - 8006662: b004 add sp, #16 - 8006664: bd70 pop {r4, r5, r6, pc} - 8006666: bf00 nop - 8006668: 20000088 .word 0x20000088 - 800666c: 20000580 .word 0x20000580 - 8006670: 20000584 .word 0x20000584 - 8006674: 2000057c .word 0x2000057c +080065dc : + 80065dc: b508 push {r3, lr} + 80065de: f003 f8eb bl 80097b8 + 80065e2: 2800 cmp r0, #0 + 80065e4: bf14 ite ne + 80065e6: f06f 0001 mvnne.w r0, #1 + 80065ea: 2000 moveq r0, #0 + 80065ec: bd08 pop {r3, pc} -08006678 : - 8006678: b510 push {r4, lr} - 800667a: 4604 mov r4, r0 - 800667c: b08a sub sp, #40 ; 0x28 - 800667e: b918 cbnz r0, 8006688 - 8006680: f04f 30ff mov.w r0, #4294967295 - 8006684: b00a add sp, #40 ; 0x28 - 8006686: bd10 pop {r4, pc} - 8006688: 2320 movs r3, #32 - 800668a: 4668 mov r0, sp - 800668c: f88d 3000 strb.w r3, [sp] - 8006690: f002 fbe2 bl 8008e58 - 8006694: 2800 cmp r0, #0 - 8006696: d1f3 bne.n 8006680 - 8006698: 4a02 ldr r2, [pc, #8] ; (80066a4 ) - 800669a: f99d 3004 ldrsb.w r3, [sp, #4] - 800669e: 7023 strb r3, [r4, #0] - 80066a0: 7113 strb r3, [r2, #4] - 80066a2: e7ef b.n 8006684 - 80066a4: 20000598 .word 0x20000598 +080065ee : + 80065ee: b508 push {r3, lr} + 80065f0: f002 f9bc bl 800896c + 80065f4: 2800 cmp r0, #0 + 80065f6: bf14 ite ne + 80065f8: f06f 0001 mvnne.w r0, #1 + 80065fc: 2000 moveq r0, #0 + 80065fe: bd08 pop {r3, pc} -080066a8 : - 80066a8: b500 push {lr} - 80066aa: b08b sub sp, #44 ; 0x2c - 80066ac: 2323 movs r3, #35 ; 0x23 - 80066ae: 9001 str r0, [sp, #4] - 80066b0: 4668 mov r0, sp - 80066b2: f88d 3000 strb.w r3, [sp] - 80066b6: f002 fcf7 bl 80090a8 - 80066ba: 3800 subs r0, #0 - 80066bc: bf18 it ne - 80066be: 2001 movne r0, #1 - 80066c0: 4240 negs r0, r0 - 80066c2: b00b add sp, #44 ; 0x2c - 80066c4: f85d fb04 ldr.w pc, [sp], #4 +08006600 : + 8006600: b510 push {r4, lr} + 8006602: 4604 mov r4, r0 + 8006604: b08a sub sp, #40 ; 0x28 + 8006606: b918 cbnz r0, 8006610 + 8006608: f04f 30ff mov.w r0, #4294967295 + 800660c: b00a add sp, #40 ; 0x28 + 800660e: bd10 pop {r4, pc} + 8006610: 2321 movs r3, #33 ; 0x21 + 8006612: 4668 mov r0, sp + 8006614: f88d 3000 strb.w r3, [sp] + 8006618: f002 fa3a bl 8008a90 + 800661c: 2800 cmp r0, #0 + 800661e: d1f3 bne.n 8006608 + 8006620: 4a02 ldr r2, [pc, #8] ; (800662c ) + 8006622: f99d 3004 ldrsb.w r3, [sp, #4] + 8006626: 7023 strb r3, [r4, #0] + 8006628: 7153 strb r3, [r2, #5] + 800662a: e7ef b.n 800660c + 800662c: 20000598 .word 0x20000598 -080066c8 : - 80066c8: b570 push {r4, r5, r6, lr} - 80066ca: 4c65 ldr r4, [pc, #404] ; (8006860 ) - 80066cc: 4601 mov r1, r0 - 80066ce: b08e sub sp, #56 ; 0x38 - 80066d0: 2218 movs r2, #24 - 80066d2: 4620 mov r0, r4 - 80066d4: f006 f8fe bl 800c8d4 - 80066d8: 4b62 ldr r3, [pc, #392] ; (8006864 ) - 80066da: 2200 movs r2, #0 - 80066dc: 701a strb r2, [r3, #0] - 80066de: f7fb ffe3 bl 80026a8 - 80066e2: 7823 ldrb r3, [r4, #0] - 80066e4: 6840 ldr r0, [r0, #4] - 80066e6: 2201 movs r2, #1 - 80066e8: fa02 f103 lsl.w r1, r2, r3 - 80066ec: 4001 ands r1, r0 - 80066ee: d104 bne.n 80066fa - 80066f0: 4b5d ldr r3, [pc, #372] ; (8006868 ) - 80066f2: 4608 mov r0, r1 - 80066f4: f008 f8e4 bl 800e8c0 - 80066f8: e7fe b.n 80066f8 - 80066fa: 495c ldr r1, [pc, #368] ; (800686c ) - 80066fc: 485c ldr r0, [pc, #368] ; (8006870 ) - 80066fe: 461a mov r2, r3 - 8006700: f002 f932 bl 8008968 - 8006704: b118 cbz r0, 800670e - 8006706: f04f 30ff mov.w r0, #4294967295 - 800670a: b00e add sp, #56 ; 0x38 - 800670c: bd70 pop {r4, r5, r6, pc} - 800670e: 2327 movs r3, #39 ; 0x27 - 8006710: a804 add r0, sp, #16 - 8006712: f88d 3010 strb.w r3, [sp, #16] - 8006716: f002 fcc7 bl 80090a8 - 800671a: 4e56 ldr r6, [pc, #344] ; (8006874 ) - 800671c: 4d56 ldr r5, [pc, #344] ; (8006878 ) - 800671e: 2800 cmp r0, #0 - 8006720: d170 bne.n 8006804 - 8006722: 2301 movs r3, #1 - 8006724: 7033 strb r3, [r6, #0] - 8006726: 682b ldr r3, [r5, #0] - 8006728: 69db ldr r3, [r3, #28] - 800672a: b10b cbz r3, 8006730 - 800672c: 2000 movs r0, #0 - 800672e: 4798 blx r3 - 8006730: 2327 movs r3, #39 ; 0x27 - 8006732: a804 add r0, sp, #16 - 8006734: f88d 3010 strb.w r3, [sp, #16] - 8006738: f002 fb8e bl 8008e58 - 800673c: 9b05 ldr r3, [sp, #20] - 800673e: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 - 8006742: 7022 strb r2, [r4, #0] - 8006744: f893 2118 ldrb.w r2, [r3, #280] ; 0x118 - 8006748: f893 311a ldrb.w r3, [r3, #282] ; 0x11a - 800674c: 7062 strb r2, [r4, #1] - 800674e: 70a3 strb r3, [r4, #2] - 8006750: 4b46 ldr r3, [pc, #280] ; (800686c ) - 8006752: e9d3 0102 ldrd r0, r1, [r3, #8] - 8006756: f005 ffaf bl 800c6b8 - 800675a: 4605 mov r5, r0 - 800675c: 2800 cmp r0, #0 - 800675e: d1d2 bne.n 8006706 - 8006760: 4e46 ldr r6, [pc, #280] ; (800687c ) - 8006762: 2306 movs r3, #6 - 8006764: a804 add r0, sp, #16 - 8006766: f88d 3010 strb.w r3, [sp, #16] - 800676a: f002 fb75 bl 8008e58 - 800676e: 9b05 ldr r3, [sp, #20] - 8006770: 6173 str r3, [r6, #20] - 8006772: a804 add r0, sp, #16 - 8006774: f002 fc98 bl 80090a8 - 8006778: 2302 movs r3, #2 - 800677a: a804 add r0, sp, #16 - 800677c: f88d 3010 strb.w r3, [sp, #16] - 8006780: 9605 str r6, [sp, #20] - 8006782: f002 fb69 bl 8008e58 - 8006786: 3608 adds r6, #8 - 8006788: 2303 movs r3, #3 - 800678a: a804 add r0, sp, #16 - 800678c: f88d 3010 strb.w r3, [sp, #16] - 8006790: 9605 str r6, [sp, #20] - 8006792: f002 fb61 bl 8008e58 - 8006796: 260f movs r6, #15 - 8006798: f006 f852 bl 800c840 - 800679c: 2301 movs r3, #1 - 800679e: a804 add r0, sp, #16 - 80067a0: f88d 3014 strb.w r3, [sp, #20] - 80067a4: f88d 6010 strb.w r6, [sp, #16] - 80067a8: f002 fc7e bl 80090a8 - 80067ac: 2310 movs r3, #16 - 80067ae: eb0d 0003 add.w r0, sp, r3 - 80067b2: f88d 3010 strb.w r3, [sp, #16] - 80067b6: f88d 5014 strb.w r5, [sp, #20] - 80067ba: f002 fc75 bl 80090a8 - 80067be: 2304 movs r3, #4 - 80067c0: f88d 3010 strb.w r3, [sp, #16] - 80067c4: a804 add r0, sp, #16 - 80067c6: 78a3 ldrb r3, [r4, #2] - 80067c8: f88d 3014 strb.w r3, [sp, #20] - 80067cc: f002 fc6c bl 80090a8 - 80067d0: 233a movs r3, #58 ; 0x3a - 80067d2: f88d 3010 strb.w r3, [sp, #16] - 80067d6: a804 add r0, sp, #16 - 80067d8: 6963 ldr r3, [r4, #20] - 80067da: 9305 str r3, [sp, #20] - 80067dc: f002 fc64 bl 80090a8 - 80067e0: a902 add r1, sp, #8 - 80067e2: 7820 ldrb r0, [r4, #0] - 80067e4: f88d 6008 strb.w r6, [sp, #8] - 80067e8: f004 f8e8 bl 800a9bc - 80067ec: 3800 subs r0, #0 - 80067ee: bf18 it ne - 80067f0: 2001 movne r0, #1 - 80067f2: 71e0 strb r0, [r4, #7] - 80067f4: 2014 movs r0, #20 - 80067f6: f7ff ff57 bl 80066a8 - 80067fa: 79e0 ldrb r0, [r4, #7] - 80067fc: f003 f9a4 bl 8009b48 - 8006800: 4628 mov r0, r5 - 8006802: e782 b.n 800670a - 8006804: 2328 movs r3, #40 ; 0x28 - 8006806: f88d 3010 strb.w r3, [sp, #16] - 800680a: 682b ldr r3, [r5, #0] - 800680c: 691b ldr r3, [r3, #16] - 800680e: b143 cbz r3, 8006822 - 8006810: a804 add r0, sp, #16 - 8006812: f002 fb21 bl 8008e58 - 8006816: 682b ldr r3, [r5, #0] - 8006818: 9805 ldr r0, [sp, #20] - 800681a: 691b ldr r3, [r3, #16] - 800681c: f240 51c4 movw r1, #1476 ; 0x5c4 - 8006820: 4798 blx r3 - 8006822: 2327 movs r3, #39 ; 0x27 - 8006824: a804 add r0, sp, #16 - 8006826: f88d 3010 strb.w r3, [sp, #16] - 800682a: f002 fc3d bl 80090a8 - 800682e: b950 cbnz r0, 8006846 - 8006830: 2301 movs r3, #1 - 8006832: a804 add r0, sp, #16 - 8006834: f88d 3010 strb.w r3, [sp, #16] - 8006838: f002 fb0e bl 8008e58 - 800683c: f89d 3014 ldrb.w r3, [sp, #20] - 8006840: 2b00 cmp r3, #0 - 8006842: f47f af6e bne.w 8006722 - 8006846: 7833 ldrb r3, [r6, #0] - 8006848: 2b00 cmp r3, #0 - 800684a: f47f af6c bne.w 8006726 - 800684e: 2205 movs r2, #5 - 8006850: a804 add r0, sp, #16 - 8006852: f88d 2010 strb.w r2, [sp, #16] - 8006856: 9305 str r3, [sp, #20] - 8006858: f002 fc26 bl 80090a8 - 800685c: e778 b.n 8006750 - 800685e: bf00 nop - 8006860: 20000598 .word 0x20000598 - 8006864: 2000057c .word 0x2000057c - 8006868: 0800fa4c .word 0x0800fa4c - 800686c: 200005c0 .word 0x200005c0 - 8006870: 200005d8 .word 0x200005d8 - 8006874: 20000574 .word 0x20000574 - 8006878: 20000580 .word 0x20000580 - 800687c: 2000055c .word 0x2000055c +08006630 : + 8006630: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8006634: 4d2e ldr r5, [pc, #184] ; (80066f0 ) + 8006636: 4f2f ldr r7, [pc, #188] ; (80066f4 ) + 8006638: 2300 movs r3, #0 + 800663a: 702b strb r3, [r5, #0] + 800663c: 7843 ldrb r3, [r0, #1] + 800663e: 706b strb r3, [r5, #1] + 8006640: 683b ldr r3, [r7, #0] + 8006642: 6a9b ldr r3, [r3, #40] ; 0x28 + 8006644: b08a sub sp, #40 ; 0x28 + 8006646: 4604 mov r4, r0 + 8006648: b10b cbz r3, 800664e + 800664a: 4628 mov r0, r5 + 800664c: 4798 blx r3 + 800664e: f8df 80a8 ldr.w r8, [pc, #168] ; 80066f8 + 8006652: 2605 movs r6, #5 + 8006654: f858 3b04 ldr.w r3, [r8], #4 + 8006658: b11b cbz r3, 8006662 + 800665a: 6a1b ldr r3, [r3, #32] + 800665c: b10b cbz r3, 8006662 + 800665e: 4620 mov r0, r4 + 8006660: 4798 blx r3 + 8006662: 3e01 subs r6, #1 + 8006664: f016 06ff ands.w r6, r6, #255 ; 0xff + 8006668: d1f4 bne.n 8006654 + 800666a: 7823 ldrb r3, [r4, #0] + 800666c: 2b05 cmp r3, #5 + 800666e: d02f beq.n 80066d0 + 8006670: 2b0b cmp r3, #11 + 8006672: d035 beq.n 80066e0 + 8006674: 2b01 cmp r3, #1 + 8006676: d125 bne.n 80066c4 + 8006678: 4c20 ldr r4, [pc, #128] ; (80066fc ) + 800667a: 2306 movs r3, #6 + 800667c: 4668 mov r0, sp + 800667e: f88d 3000 strb.w r3, [sp] + 8006682: f002 fa05 bl 8008a90 + 8006686: 9901 ldr r1, [sp, #4] + 8006688: 79e0 ldrb r0, [r4, #7] + 800668a: f005 fe77 bl 800c37c + 800668e: b910 cbnz r0, 8006696 + 8006690: 4b1b ldr r3, [pc, #108] ; (8006700 ) + 8006692: 9a01 ldr r2, [sp, #4] + 8006694: 615a str r2, [r3, #20] + 8006696: 481b ldr r0, [pc, #108] ; (8006704 ) + 8006698: f7ff fe0a bl 80062b0 + 800669c: 481a ldr r0, [pc, #104] ; (8006708 ) + 800669e: f7ff ffaf bl 8006600 + 80066a2: 786b ldrb r3, [r5, #1] + 80066a4: b98b cbnz r3, 80066ca + 80066a6: 71a3 strb r3, [r4, #6] + 80066a8: 4b18 ldr r3, [pc, #96] ; (800670c ) + 80066aa: 7858 ldrb r0, [r3, #1] + 80066ac: f7ff fd56 bl 800615c + 80066b0: 683b ldr r3, [r7, #0] + 80066b2: 6a5b ldr r3, [r3, #36] ; 0x24 + 80066b4: b10b cbz r3, 80066ba + 80066b6: 4811 ldr r0, [pc, #68] ; (80066fc ) + 80066b8: 4798 blx r3 + 80066ba: 786b ldrb r3, [r5, #1] + 80066bc: b913 cbnz r3, 80066c4 + 80066be: 79e0 ldrb r0, [r4, #7] + 80066c0: f005 feec bl 800c49c + 80066c4: b00a add sp, #40 ; 0x28 + 80066c6: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 80066ca: 23ff movs r3, #255 ; 0xff + 80066cc: 71a3 strb r3, [r4, #6] + 80066ce: e7ef b.n 80066b0 + 80066d0: 4b0f ldr r3, [pc, #60] ; (8006710 ) + 80066d2: 2201 movs r2, #1 + 80066d4: 745a strb r2, [r3, #17] + 80066d6: 7a22 ldrb r2, [r4, #8] + 80066d8: 749a strb r2, [r3, #18] + 80066da: 7a62 ldrb r2, [r4, #9] + 80066dc: 74da strb r2, [r3, #19] + 80066de: e7f1 b.n 80066c4 + 80066e0: 7863 ldrb r3, [r4, #1] + 80066e2: 2b00 cmp r3, #0 + 80066e4: d0ee beq.n 80066c4 + 80066e6: b00a add sp, #40 ; 0x28 + 80066e8: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 80066ec: f7ff bbcc b.w 8005e88 + 80066f0: 2000009c .word 0x2000009c + 80066f4: 20000580 .word 0x20000580 + 80066f8: 20000584 .word 0x20000584 + 80066fc: 2000007c .word 0x2000007c + 8006700: 2000055c .word 0x2000055c + 8006704: 20000080 .word 0x20000080 + 8006708: 20000081 .word 0x20000081 + 800670c: 20000598 .word 0x20000598 + 8006710: 20000088 .word 0x20000088 -08006880 : - 8006880: b537 push {r0, r1, r2, r4, r5, lr} - 8006882: 2300 movs r3, #0 - 8006884: 460d mov r5, r1 - 8006886: 9301 str r3, [sp, #4] - 8006888: 4604 mov r4, r0 - 800688a: b9d0 cbnz r0, 80068c2 - 800688c: f000 fba8 bl 8006fe0 - 8006890: 9001 str r0, [sp, #4] - 8006892: 9b01 ldr r3, [sp, #4] - 8006894: b1d3 cbz r3, 80068cc - 8006896: 4a0f ldr r2, [pc, #60] ; (80068d4 ) - 8006898: f842 3024 str.w r3, [r2, r4, lsl #2] - 800689c: 4a0e ldr r2, [pc, #56] ; (80068d8 ) - 800689e: 629a str r2, [r3, #40] ; 0x28 - 80068a0: 4a0e ldr r2, [pc, #56] ; (80068dc ) - 80068a2: 6812 ldr r2, [r2, #0] - 80068a4: 6b91 ldr r1, [r2, #56] ; 0x38 - 80068a6: 6319 str r1, [r3, #48] ; 0x30 - 80068a8: 6c91 ldr r1, [r2, #72] ; 0x48 - 80068aa: 6359 str r1, [r3, #52] ; 0x34 - 80068ac: 6992 ldr r2, [r2, #24] - 80068ae: 490c ldr r1, [pc, #48] ; (80068e0 ) - 80068b0: 62d9 str r1, [r3, #44] ; 0x2c - 80068b2: 615a str r2, [r3, #20] - 80068b4: 4628 mov r0, r5 - 80068b6: 685b ldr r3, [r3, #4] - 80068b8: 490a ldr r1, [pc, #40] ; (80068e4 ) - 80068ba: 22f2 movs r2, #242 ; 0xf2 - 80068bc: 4798 blx r3 - 80068be: 2000 movs r0, #0 - 80068c0: e006 b.n 80068d0 - 80068c2: a901 add r1, sp, #4 - 80068c4: f000 fb92 bl 8006fec - 80068c8: 2800 cmp r0, #0 - 80068ca: d0e2 beq.n 8006892 - 80068cc: f04f 30ff mov.w r0, #4294967295 - 80068d0: b003 add sp, #12 - 80068d2: bd30 pop {r4, r5, pc} - 80068d4: 20000584 .word 0x20000584 - 80068d8: 08006175 .word 0x08006175 - 80068dc: 20000580 .word 0x20000580 - 80068e0: 08006251 .word 0x08006251 - 80068e4: 20000468 .word 0x20000468 +08006714 : + 8006714: b530 push {r4, r5, lr} + 8006716: b08b sub sp, #44 ; 0x2c + 8006718: f7ff ff69 bl 80065ee + 800671c: 4604 mov r4, r0 + 800671e: b9f0 cbnz r0, 800675e + 8006720: f003 ff48 bl 800a5b4 + 8006724: 1c83 adds r3, r0, #2 + 8006726: d01d beq.n 8006764 + 8006728: b9f8 cbnz r0, 800676a + 800672a: 4d13 ldr r5, [pc, #76] ; (8006778 ) + 800672c: 682b ldr r3, [r5, #0] + 800672e: 695b ldr r3, [r3, #20] + 8006730: b1db cbz r3, 800676a + 8006732: 2327 movs r3, #39 ; 0x27 + 8006734: 4668 mov r0, sp + 8006736: f88d 3000 strb.w r3, [sp] + 800673a: f002 f9a9 bl 8008a90 + 800673e: 682b ldr r3, [r5, #0] + 8006740: 9801 ldr r0, [sp, #4] + 8006742: 695b ldr r3, [r3, #20] + 8006744: f44f 61b9 mov.w r1, #1480 ; 0x5c8 + 8006748: 4798 blx r3 + 800674a: f003 ff45 bl 800a5d8 + 800674e: b978 cbnz r0, 8006770 + 8006750: b92c cbnz r4, 800675e + 8006752: 4b09 ldr r3, [pc, #36] ; (8006778 ) + 8006754: 681b ldr r3, [r3, #0] + 8006756: 69db ldr r3, [r3, #28] + 8006758: b10b cbz r3, 800675e + 800675a: 2001 movs r0, #1 + 800675c: 4798 blx r3 + 800675e: 4620 mov r0, r4 + 8006760: b00b add sp, #44 ; 0x2c + 8006762: bd30 pop {r4, r5, pc} + 8006764: f06f 0407 mvn.w r4, #7 + 8006768: e7ef b.n 800674a + 800676a: f04f 34ff mov.w r4, #4294967295 + 800676e: e7ec b.n 800674a + 8006770: f04f 34ff mov.w r4, #4294967295 + 8006774: e7f3 b.n 800675e + 8006776: bf00 nop + 8006778: 20000580 .word 0x20000580 -080068e8 : - 80068e8: 4b19 ldr r3, [pc, #100] ; (8006950 ) - 80068ea: b507 push {r0, r1, r2, lr} - 80068ec: 6018 str r0, [r3, #0] - 80068ee: 4b19 ldr r3, [pc, #100] ; (8006954 ) - 80068f0: 4a19 ldr r2, [pc, #100] ; (8006958 ) - 80068f2: 601a str r2, [r3, #0] - 80068f4: 4a19 ldr r2, [pc, #100] ; (800695c ) - 80068f6: 605a str r2, [r3, #4] - 80068f8: 4a19 ldr r2, [pc, #100] ; (8006960 ) - 80068fa: 609a str r2, [r3, #8] - 80068fc: 4a19 ldr r2, [pc, #100] ; (8006964 ) - 80068fe: 60da str r2, [r3, #12] - 8006900: 4b19 ldr r3, [pc, #100] ; (8006968 ) - 8006902: 6802 ldr r2, [r0, #0] - 8006904: 601a str r2, [r3, #0] - 8006906: 6842 ldr r2, [r0, #4] - 8006908: 605a str r2, [r3, #4] - 800690a: 6882 ldr r2, [r0, #8] - 800690c: 609a str r2, [r3, #8] - 800690e: 68c2 ldr r2, [r0, #12] - 8006910: 60da str r2, [r3, #12] - 8006912: 4a16 ldr r2, [pc, #88] ; (800696c ) - 8006914: 611a str r2, [r3, #16] - 8006916: 6982 ldr r2, [r0, #24] - 8006918: 615a str r2, [r3, #20] - 800691a: 4b15 ldr r3, [pc, #84] ; (8006970 ) - 800691c: 6bc2 ldr r2, [r0, #60] ; 0x3c - 800691e: 605a str r2, [r3, #4] - 8006920: 4a14 ldr r2, [pc, #80] ; (8006974 ) - 8006922: 9101 str r1, [sp, #4] - 8006924: 6019 str r1, [r3, #0] - 8006926: 609a str r2, [r3, #8] - 8006928: 4619 mov r1, r3 - 800692a: 4a13 ldr r2, [pc, #76] ; (8006978 ) - 800692c: 60da str r2, [r3, #12] - 800692e: 2000 movs r0, #0 - 8006930: f7ff ffa6 bl 8006880 - 8006934: b948 cbnz r0, 800694a - 8006936: a801 add r0, sp, #4 - 8006938: f000 fb56 bl 8006fe8 - 800693c: 3800 subs r0, #0 - 800693e: bf18 it ne - 8006940: 2001 movne r0, #1 - 8006942: 4240 negs r0, r0 - 8006944: b003 add sp, #12 - 8006946: f85d fb04 ldr.w pc, [sp], #4 - 800694a: f04f 30ff mov.w r0, #4294967295 - 800694e: e7f9 b.n 8006944 - 8006950: 20000580 .word 0x20000580 - 8006954: 200005d8 .word 0x200005d8 - 8006958: 080062d9 .word 0x080062d9 - 800695c: 080065e1 .word 0x080065e1 - 8006960: 080069f9 .word 0x080069f9 - 8006964: 08006279 .word 0x08006279 - 8006968: 200005c0 .word 0x200005c0 - 800696c: 0800a96d .word 0x0800a96d - 8006970: 200005b0 .word 0x200005b0 - 8006974: 08006145 .word 0x08006145 - 8006978: 0800615d .word 0x0800615d +0800677c : + 800677c: 4b01 ldr r3, [pc, #4] ; (8006784 ) + 800677e: 7818 ldrb r0, [r3, #0] + 8006780: 4770 bx lr + 8006782: bf00 nop + 8006784: 200005ec .word 0x200005ec -0800697c : - 800697c: b151 cbz r1, 8006994 - 800697e: b118 cbz r0, 8006988 - 8006980: 2801 cmp r0, #1 - 8006982: d004 beq.n 800698e - 8006984: 2000 movs r0, #0 - 8006986: 4770 bx lr - 8006988: 4b04 ldr r3, [pc, #16] ; (800699c ) - 800698a: 600b str r3, [r1, #0] - 800698c: 4770 bx lr - 800698e: 4b04 ldr r3, [pc, #16] ; (80069a0 ) - 8006990: 600b str r3, [r1, #0] - 8006992: e7f7 b.n 8006984 - 8006994: f04f 30ff mov.w r0, #4294967295 - 8006998: 4770 bx lr - 800699a: bf00 nop - 800699c: 01000400 .word 0x01000400 - 80069a0: 02010001 .word 0x02010001 +08006788 : + 8006788: 4b01 ldr r3, [pc, #4] ; (8006790 ) + 800678a: 7858 ldrb r0, [r3, #1] + 800678c: 4770 bx lr + 800678e: bf00 nop + 8006790: 200005ec .word 0x200005ec -080069a4 : - 80069a4: b508 push {r3, lr} - 80069a6: f003 f8eb bl 8009b80 - 80069aa: 2800 cmp r0, #0 - 80069ac: bf14 ite ne - 80069ae: f06f 0001 mvnne.w r0, #1 - 80069b2: 2000 moveq r0, #0 - 80069b4: bd08 pop {r3, pc} - -080069b6 : - 80069b6: b508 push {r3, lr} - 80069b8: f002 f9bc bl 8008d34 - 80069bc: 2800 cmp r0, #0 - 80069be: bf14 ite ne - 80069c0: f06f 0001 mvnne.w r0, #1 - 80069c4: 2000 moveq r0, #0 - 80069c6: bd08 pop {r3, pc} - -080069c8 : - 80069c8: b510 push {r4, lr} - 80069ca: 4604 mov r4, r0 - 80069cc: b08a sub sp, #40 ; 0x28 - 80069ce: b918 cbnz r0, 80069d8 - 80069d0: f04f 30ff mov.w r0, #4294967295 - 80069d4: b00a add sp, #40 ; 0x28 - 80069d6: bd10 pop {r4, pc} - 80069d8: 2321 movs r3, #33 ; 0x21 - 80069da: 4668 mov r0, sp - 80069dc: f88d 3000 strb.w r3, [sp] - 80069e0: f002 fa3a bl 8008e58 - 80069e4: 2800 cmp r0, #0 - 80069e6: d1f3 bne.n 80069d0 - 80069e8: 4a02 ldr r2, [pc, #8] ; (80069f4 ) - 80069ea: f99d 3004 ldrsb.w r3, [sp, #4] - 80069ee: 7023 strb r3, [r4, #0] - 80069f0: 7153 strb r3, [r2, #5] - 80069f2: e7ef b.n 80069d4 - 80069f4: 20000598 .word 0x20000598 - -080069f8 : - 80069f8: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 80069fc: 4d2e ldr r5, [pc, #184] ; (8006ab8 ) - 80069fe: 4f2f ldr r7, [pc, #188] ; (8006abc ) - 8006a00: 2300 movs r3, #0 - 8006a02: 702b strb r3, [r5, #0] - 8006a04: 7843 ldrb r3, [r0, #1] - 8006a06: 706b strb r3, [r5, #1] - 8006a08: 683b ldr r3, [r7, #0] - 8006a0a: 6a9b ldr r3, [r3, #40] ; 0x28 - 8006a0c: b08a sub sp, #40 ; 0x28 - 8006a0e: 4604 mov r4, r0 - 8006a10: b10b cbz r3, 8006a16 - 8006a12: 4628 mov r0, r5 - 8006a14: 4798 blx r3 - 8006a16: f8df 80a8 ldr.w r8, [pc, #168] ; 8006ac0 - 8006a1a: 2605 movs r6, #5 - 8006a1c: f858 3b04 ldr.w r3, [r8], #4 - 8006a20: b11b cbz r3, 8006a2a - 8006a22: 6a1b ldr r3, [r3, #32] - 8006a24: b10b cbz r3, 8006a2a - 8006a26: 4620 mov r0, r4 - 8006a28: 4798 blx r3 - 8006a2a: 3e01 subs r6, #1 - 8006a2c: f016 06ff ands.w r6, r6, #255 ; 0xff - 8006a30: d1f4 bne.n 8006a1c - 8006a32: 7823 ldrb r3, [r4, #0] - 8006a34: 2b05 cmp r3, #5 - 8006a36: d02f beq.n 8006a98 - 8006a38: 2b0b cmp r3, #11 - 8006a3a: d035 beq.n 8006aa8 - 8006a3c: 2b01 cmp r3, #1 - 8006a3e: d125 bne.n 8006a8c - 8006a40: 4c20 ldr r4, [pc, #128] ; (8006ac4 ) - 8006a42: 2306 movs r3, #6 - 8006a44: 4668 mov r0, sp - 8006a46: f88d 3000 strb.w r3, [sp] - 8006a4a: f002 fa05 bl 8008e58 - 8006a4e: 9901 ldr r1, [sp, #4] - 8006a50: 79e0 ldrb r0, [r4, #7] - 8006a52: f005 fe77 bl 800c744 - 8006a56: b910 cbnz r0, 8006a5e - 8006a58: 4b1b ldr r3, [pc, #108] ; (8006ac8 ) - 8006a5a: 9a01 ldr r2, [sp, #4] - 8006a5c: 615a str r2, [r3, #20] - 8006a5e: 481b ldr r0, [pc, #108] ; (8006acc ) - 8006a60: f7ff fe0a bl 8006678 - 8006a64: 481a ldr r0, [pc, #104] ; (8006ad0 ) - 8006a66: f7ff ffaf bl 80069c8 - 8006a6a: 786b ldrb r3, [r5, #1] - 8006a6c: b98b cbnz r3, 8006a92 - 8006a6e: 71a3 strb r3, [r4, #6] - 8006a70: 4b18 ldr r3, [pc, #96] ; (8006ad4 ) - 8006a72: 7858 ldrb r0, [r3, #1] - 8006a74: f7ff fd56 bl 8006524 - 8006a78: 683b ldr r3, [r7, #0] - 8006a7a: 6a5b ldr r3, [r3, #36] ; 0x24 - 8006a7c: b10b cbz r3, 8006a82 - 8006a7e: 4811 ldr r0, [pc, #68] ; (8006ac4 ) - 8006a80: 4798 blx r3 - 8006a82: 786b ldrb r3, [r5, #1] - 8006a84: b913 cbnz r3, 8006a8c - 8006a86: 79e0 ldrb r0, [r4, #7] - 8006a88: f005 feec bl 800c864 - 8006a8c: b00a add sp, #40 ; 0x28 - 8006a8e: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8006a92: 23ff movs r3, #255 ; 0xff - 8006a94: 71a3 strb r3, [r4, #6] - 8006a96: e7ef b.n 8006a78 - 8006a98: 4b0f ldr r3, [pc, #60] ; (8006ad8 ) - 8006a9a: 2201 movs r2, #1 - 8006a9c: 745a strb r2, [r3, #17] - 8006a9e: 7a22 ldrb r2, [r4, #8] - 8006aa0: 749a strb r2, [r3, #18] - 8006aa2: 7a62 ldrb r2, [r4, #9] - 8006aa4: 74da strb r2, [r3, #19] - 8006aa6: e7f1 b.n 8006a8c - 8006aa8: 7863 ldrb r3, [r4, #1] - 8006aaa: 2b00 cmp r3, #0 - 8006aac: d0ee beq.n 8006a8c - 8006aae: b00a add sp, #40 ; 0x28 - 8006ab0: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 8006ab4: f7ff bbcc b.w 8006250 - 8006ab8: 2000009c .word 0x2000009c - 8006abc: 20000580 .word 0x20000580 - 8006ac0: 20000584 .word 0x20000584 - 8006ac4: 2000007c .word 0x2000007c - 8006ac8: 2000055c .word 0x2000055c - 8006acc: 20000080 .word 0x20000080 - 8006ad0: 20000081 .word 0x20000081 - 8006ad4: 20000598 .word 0x20000598 - 8006ad8: 20000088 .word 0x20000088 - -08006adc : - 8006adc: b530 push {r4, r5, lr} - 8006ade: b08b sub sp, #44 ; 0x2c - 8006ae0: f7ff ff69 bl 80069b6 - 8006ae4: 4604 mov r4, r0 - 8006ae6: b9f0 cbnz r0, 8006b26 - 8006ae8: f003 ff48 bl 800a97c - 8006aec: 1c83 adds r3, r0, #2 - 8006aee: d01d beq.n 8006b2c - 8006af0: b9f8 cbnz r0, 8006b32 - 8006af2: 4d13 ldr r5, [pc, #76] ; (8006b40 ) - 8006af4: 682b ldr r3, [r5, #0] - 8006af6: 695b ldr r3, [r3, #20] - 8006af8: b1db cbz r3, 8006b32 - 8006afa: 2327 movs r3, #39 ; 0x27 - 8006afc: 4668 mov r0, sp - 8006afe: f88d 3000 strb.w r3, [sp] - 8006b02: f002 f9a9 bl 8008e58 - 8006b06: 682b ldr r3, [r5, #0] - 8006b08: 9801 ldr r0, [sp, #4] - 8006b0a: 695b ldr r3, [r3, #20] - 8006b0c: f44f 61b9 mov.w r1, #1480 ; 0x5c8 - 8006b10: 4798 blx r3 - 8006b12: f003 ff45 bl 800a9a0 - 8006b16: b978 cbnz r0, 8006b38 - 8006b18: b92c cbnz r4, 8006b26 - 8006b1a: 4b09 ldr r3, [pc, #36] ; (8006b40 ) - 8006b1c: 681b ldr r3, [r3, #0] - 8006b1e: 69db ldr r3, [r3, #28] - 8006b20: b10b cbz r3, 8006b26 - 8006b22: 2001 movs r0, #1 - 8006b24: 4798 blx r3 - 8006b26: 4620 mov r0, r4 - 8006b28: b00b add sp, #44 ; 0x2c - 8006b2a: bd30 pop {r4, r5, pc} - 8006b2c: f06f 0407 mvn.w r4, #7 - 8006b30: e7ef b.n 8006b12 - 8006b32: f04f 34ff mov.w r4, #4294967295 - 8006b36: e7ec b.n 8006b12 - 8006b38: f04f 34ff mov.w r4, #4294967295 - 8006b3c: e7f3 b.n 8006b26 - 8006b3e: bf00 nop - 8006b40: 20000580 .word 0x20000580 - -08006b44 : - 8006b44: 4b01 ldr r3, [pc, #4] ; (8006b4c ) - 8006b46: 7818 ldrb r0, [r3, #0] - 8006b48: 4770 bx lr - 8006b4a: bf00 nop - 8006b4c: 200005ec .word 0x200005ec - -08006b50 : - 8006b50: 4b01 ldr r3, [pc, #4] ; (8006b58 ) - 8006b52: 7858 ldrb r0, [r3, #1] - 8006b54: 4770 bx lr - 8006b56: bf00 nop - 8006b58: 200005ec .word 0x200005ec - -08006b5c : - 8006b5c: 4770 bx lr +08006794 : + 8006794: 4770 bx lr ... -08006b60 : - 8006b60: 4b04 ldr r3, [pc, #16] ; (8006b74 ) - 8006b62: 7a9a ldrb r2, [r3, #10] - 8006b64: b10a cbz r2, 8006b6a - 8006b66: 2201 movs r2, #1 - 8006b68: 705a strb r2, [r3, #1] - 8006b6a: 4b03 ldr r3, [pc, #12] ; (8006b78 ) - 8006b6c: 695b ldr r3, [r3, #20] - 8006b6e: b103 cbz r3, 8006b72 - 8006b70: 4718 bx r3 - 8006b72: 4770 bx lr - 8006b74: 200005ec .word 0x200005ec - 8006b78: 200000b8 .word 0x200000b8 +08006798 : + 8006798: 4b04 ldr r3, [pc, #16] ; (80067ac ) + 800679a: 7a9a ldrb r2, [r3, #10] + 800679c: b10a cbz r2, 80067a2 + 800679e: 2201 movs r2, #1 + 80067a0: 705a strb r2, [r3, #1] + 80067a2: 4b03 ldr r3, [pc, #12] ; (80067b0 ) + 80067a4: 695b ldr r3, [r3, #20] + 80067a6: b103 cbz r3, 80067aa + 80067a8: 4718 bx r3 + 80067aa: 4770 bx lr + 80067ac: 200005ec .word 0x200005ec + 80067b0: 200000b8 .word 0x200000b8 -08006b7c : - 8006b7c: b573 push {r0, r1, r4, r5, r6, lr} - 8006b7e: 4c22 ldr r4, [pc, #136] ; (8006c08 ) - 8006b80: 7863 ldrb r3, [r4, #1] - 8006b82: 2b00 cmp r3, #0 - 8006b84: d033 beq.n 8006bee - 8006b86: f008 f985 bl 800ee94 - 8006b8a: 6866 ldr r6, [r4, #4] - 8006b8c: 4605 mov r5, r0 - 8006b8e: f7ff fbcd bl 800632c - 8006b92: 4406 add r6, r0 - 8006b94: 42ae cmp r6, r5 - 8006b96: d214 bcs.n 8006bc2 - 8006b98: 7aa3 ldrb r3, [r4, #10] - 8006b9a: b193 cbz r3, 8006bc2 - 8006b9c: 22e0 movs r2, #224 ; 0xe0 - 8006b9e: f88d 2000 strb.w r2, [sp] - 8006ba2: f88d 3001 strb.w r3, [sp, #1] - 8006ba6: 7a21 ldrb r1, [r4, #8] - 8006ba8: 68e3 ldr r3, [r4, #12] - 8006baa: 9301 str r3, [sp, #4] - 8006bac: 2201 movs r2, #1 - 8006bae: 4668 mov r0, sp - 8006bb0: f7ff fbec bl 800638c - 8006bb4: b108 cbz r0, 8006bba - 8006bb6: 3007 adds r0, #7 - 8006bb8: d110 bne.n 8006bdc - 8006bba: 2300 movs r3, #0 - 8006bbc: 7063 strb r3, [r4, #1] - 8006bbe: 72a3 strb r3, [r4, #10] - 8006bc0: 6065 str r5, [r4, #4] - 8006bc2: f894 3034 ldrb.w r3, [r4, #52] ; 0x34 - 8006bc6: b1eb cbz r3, 8006c04 - 8006bc8: 2300 movs r3, #0 - 8006bca: f884 3034 strb.w r3, [r4, #52] ; 0x34 - 8006bce: 4b0f ldr r3, [pc, #60] ; (8006c0c ) - 8006bd0: 6b5b ldr r3, [r3, #52] ; 0x34 - 8006bd2: b1bb cbz r3, 8006c04 - 8006bd4: b002 add sp, #8 - 8006bd6: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 8006bda: 4718 bx r3 - 8006bdc: f240 51dc movw r1, #1500 ; 0x5dc - 8006be0: 480b ldr r0, [pc, #44] ; (8006c10 ) - 8006be2: f008 fa23 bl 800f02c - 8006be6: 480a ldr r0, [pc, #40] ; (8006c10 ) - 8006be8: f008 f9e6 bl 800efb8 - 8006bec: e7e8 b.n 8006bc0 - 8006bee: f894 2035 ldrb.w r2, [r4, #53] ; 0x35 - 8006bf2: 2a00 cmp r2, #0 - 8006bf4: d0e5 beq.n 8006bc2 - 8006bf6: f894 0036 ldrb.w r0, [r4, #54] ; 0x36 - 8006bfa: f884 3035 strb.w r3, [r4, #53] ; 0x35 - 8006bfe: f7ff fc91 bl 8006524 - 8006c02: e7de b.n 8006bc2 - 8006c04: b002 add sp, #8 - 8006c06: bd70 pop {r4, r5, r6, pc} - 8006c08: 200005ec .word 0x200005ec - 8006c0c: 200000b8 .word 0x200000b8 +080067b4 : + 80067b4: b573 push {r0, r1, r4, r5, r6, lr} + 80067b6: 4c22 ldr r4, [pc, #136] ; (8006840 ) + 80067b8: 7863 ldrb r3, [r4, #1] + 80067ba: 2b00 cmp r3, #0 + 80067bc: d033 beq.n 8006826 + 80067be: f008 f985 bl 800eacc + 80067c2: 6866 ldr r6, [r4, #4] + 80067c4: 4605 mov r5, r0 + 80067c6: f7ff fbcd bl 8005f64 + 80067ca: 4406 add r6, r0 + 80067cc: 42ae cmp r6, r5 + 80067ce: d214 bcs.n 80067fa + 80067d0: 7aa3 ldrb r3, [r4, #10] + 80067d2: b193 cbz r3, 80067fa + 80067d4: 22e0 movs r2, #224 ; 0xe0 + 80067d6: f88d 2000 strb.w r2, [sp] + 80067da: f88d 3001 strb.w r3, [sp, #1] + 80067de: 7a21 ldrb r1, [r4, #8] + 80067e0: 68e3 ldr r3, [r4, #12] + 80067e2: 9301 str r3, [sp, #4] + 80067e4: 2201 movs r2, #1 + 80067e6: 4668 mov r0, sp + 80067e8: f7ff fbec bl 8005fc4 + 80067ec: b108 cbz r0, 80067f2 + 80067ee: 3007 adds r0, #7 + 80067f0: d110 bne.n 8006814 + 80067f2: 2300 movs r3, #0 + 80067f4: 7063 strb r3, [r4, #1] + 80067f6: 72a3 strb r3, [r4, #10] + 80067f8: 6065 str r5, [r4, #4] + 80067fa: f894 3034 ldrb.w r3, [r4, #52] ; 0x34 + 80067fe: b1eb cbz r3, 800683c + 8006800: 2300 movs r3, #0 + 8006802: f884 3034 strb.w r3, [r4, #52] ; 0x34 + 8006806: 4b0f ldr r3, [pc, #60] ; (8006844 ) + 8006808: 6b5b ldr r3, [r3, #52] ; 0x34 + 800680a: b1bb cbz r3, 800683c + 800680c: b002 add sp, #8 + 800680e: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 8006812: 4718 bx r3 + 8006814: f240 51dc movw r1, #1500 ; 0x5dc + 8006818: 480b ldr r0, [pc, #44] ; (8006848 ) + 800681a: f008 fa23 bl 800ec64 + 800681e: 480a ldr r0, [pc, #40] ; (8006848 ) + 8006820: f008 f9e6 bl 800ebf0 + 8006824: e7e8 b.n 80067f8 + 8006826: f894 2035 ldrb.w r2, [r4, #53] ; 0x35 + 800682a: 2a00 cmp r2, #0 + 800682c: d0e5 beq.n 80067fa + 800682e: f894 0036 ldrb.w r0, [r4, #54] ; 0x36 + 8006832: f884 3035 strb.w r3, [r4, #53] ; 0x35 + 8006836: f7ff fc91 bl 800615c + 800683a: e7de b.n 80067fa + 800683c: b002 add sp, #8 + 800683e: bd70 pop {r4, r5, r6, pc} + 8006840: 200005ec .word 0x200005ec + 8006844: 200000b8 .word 0x200000b8 + 8006848: 20000624 .word 0x20000624 + +0800684c : + 800684c: b537 push {r0, r1, r2, r4, r5, lr} + 800684e: 4d10 ldr r5, [pc, #64] ; (8006890 ) + 8006850: 4c10 ldr r4, [pc, #64] ; (8006894 ) + 8006852: b1c8 cbz r0, 8006888 + 8006854: b1c1 cbz r1, 8006888 + 8006856: 2301 movs r3, #1 + 8006858: 7262 strb r2, [r4, #9] + 800685a: 2200 movs r2, #0 + 800685c: 6028 str r0, [r5, #0] + 800685e: 60e1 str r1, [r4, #12] + 8006860: 7023 strb r3, [r4, #0] + 8006862: 480d ldr r0, [pc, #52] ; (8006898 ) + 8006864: 4b0d ldr r3, [pc, #52] ; (800689c ) + 8006866: 9200 str r2, [sp, #0] + 8006868: f04f 31ff mov.w r1, #4294967295 + 800686c: f008 f914 bl 800ea98 + 8006870: 2500 movs r5, #0 + 8006872: 480b ldr r0, [pc, #44] ; (80068a0 ) + 8006874: 8225 strh r5, [r4, #16] + 8006876: 2220 movs r2, #32 + 8006878: 4629 mov r1, r5 + 800687a: f005 fe5b bl 800c534 + 800687e: 7065 strb r5, [r4, #1] + 8006880: 74a5 strb r5, [r4, #18] + 8006882: 86a5 strh r5, [r4, #52] ; 0x34 + 8006884: b003 add sp, #12 + 8006886: bd30 pop {r4, r5, pc} + 8006888: 2300 movs r3, #0 + 800688a: 602b str r3, [r5, #0] + 800688c: 7023 strb r3, [r4, #0] + 800688e: e7ef b.n 8006870 + 8006890: 200005e8 .word 0x200005e8 + 8006894: 200005ec .word 0x200005ec + 8006898: 20000624 .word 0x20000624 + 800689c: 08006799 .word 0x08006799 + 80068a0: 20000600 .word 0x20000600 + +080068a4 : + 80068a4: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} + 80068a8: 4c8e ldr r4, [pc, #568] ; (8006ae4 ) + 80068aa: 7823 ldrb r3, [r4, #0] + 80068ac: b08c sub sp, #48 ; 0x30 + 80068ae: 2b00 cmp r3, #0 + 80068b0: d056 beq.n 8006960 + 80068b2: 78c2 ldrb r2, [r0, #3] + 80068b4: b90a cbnz r2, 80068ba + 80068b6: 7b83 ldrb r3, [r0, #14] + 80068b8: b113 cbz r3, 80068c0 + 80068ba: 8a23 ldrh r3, [r4, #16] + 80068bc: 3301 adds r3, #1 + 80068be: 8223 strh r3, [r4, #16] + 80068c0: 7b43 ldrb r3, [r0, #13] + 80068c2: 2b00 cmp r3, #0 + 80068c4: d04c beq.n 8006960 + 80068c6: 2ae0 cmp r2, #224 ; 0xe0 + 80068c8: d14a bne.n 8006960 + 80068ca: 2300 movs r3, #0 + 80068cc: 72a3 strb r3, [r4, #10] + 80068ce: 6887 ldr r7, [r0, #8] + 80068d0: f897 8000 ldrb.w r8, [r7] + 80068d4: f1b8 0f22 cmp.w r8, #34 ; 0x22 + 80068d8: d827 bhi.n 800692a + 80068da: f1b8 0f22 cmp.w r8, #34 ; 0x22 + 80068de: d830 bhi.n 8006942 + 80068e0: e8df f018 tbh [pc, r8, lsl #1] + 80068e4: 00fb0041 .word 0x00fb0041 + 80068e8: 005a0052 .word 0x005a0052 + 80068ec: 006e0061 .word 0x006e0061 + 80068f0: 008e0075 .word 0x008e0075 + 80068f4: 00b4009d .word 0x00b4009d + 80068f8: 002f00c7 .word 0x002f00c7 + 80068fc: 002f002f .word 0x002f002f + 8006900: 002f002f .word 0x002f002f + 8006904: 002f002f .word 0x002f002f + 8006908: 002f002f .word 0x002f002f + 800690c: 002f002f .word 0x002f002f + 8006910: 002f002f .word 0x002f002f + 8006914: 002f002f .word 0x002f002f + 8006918: 002f002f .word 0x002f002f + 800691c: 002f002f .word 0x002f002f + 8006920: 002f002f .word 0x002f002f + 8006924: 00d000c9 .word 0x00d000c9 + 8006928: 00d4 .short 0x00d4 + 800692a: f1b8 0f7e cmp.w r8, #126 ; 0x7e + 800692e: f000 80cc beq.w 8006aca + 8006932: f1b8 0f7f cmp.w r8, #127 ; 0x7f + 8006936: f000 80df beq.w 8006af8 + 800693a: f1b8 0f7d cmp.w r8, #125 ; 0x7d + 800693e: f000 80ab beq.w 8006a98 + 8006942: 7aa5 ldrb r5, [r4, #10] + 8006944: 2d00 cmp r5, #0 + 8006946: f000 815b beq.w 8006c00 + 800694a: 4c67 ldr r4, [pc, #412] ; (8006ae8 ) + 800694c: 7a63 ldrb r3, [r4, #9] + 800694e: b93b cbnz r3, 8006960 + 8006950: f44f 717a mov.w r1, #1000 ; 0x3e8 + 8006954: 4620 mov r0, r4 + 8006956: f008 f985 bl 800ec64 + 800695a: 4620 mov r0, r4 + 800695c: f008 f948 bl 800ebf0 + 8006960: b00c add sp, #48 ; 0x30 + 8006962: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 8006966: 68e3 ldr r3, [r4, #12] + 8006968: 2201 movs r2, #1 + 800696a: 2100 movs r1, #0 + 800696c: 72a2 strb r2, [r4, #10] + 800696e: 7019 strb r1, [r3, #0] + 8006970: 7aa3 ldrb r3, [r4, #10] + 8006972: 68e1 ldr r1, [r4, #12] + 8006974: 1898 adds r0, r3, r2 + 8006976: 72a0 strb r0, [r4, #10] + 8006978: 2006 movs r0, #6 + 800697a: 54c8 strb r0, [r1, r3] + 800697c: 7aa3 ldrb r3, [r4, #10] + 800697e: 68e1 ldr r1, [r4, #12] + 8006980: 1898 adds r0, r3, r2 + 8006982: 72a0 strb r0, [r4, #10] + 8006984: 54ca strb r2, [r1, r3] + 8006986: e7dc b.n 8006942 + 8006988: 4b58 ldr r3, [pc, #352] ; (8006aec ) + 800698a: 6a9b ldr r3, [r3, #40] ; 0x28 + 800698c: 2b00 cmp r3, #0 + 800698e: d0d8 beq.n 8006942 + 8006990: 2101 movs r1, #1 + 8006992: 2002 movs r0, #2 + 8006994: 4798 blx r3 + 8006996: e7d4 b.n 8006942 + 8006998: 787b ldrb r3, [r7, #1] + 800699a: f884 3036 strb.w r3, [r4, #54] ; 0x36 + 800699e: 2301 movs r3, #1 + 80069a0: f884 3035 strb.w r3, [r4, #53] ; 0x35 + 80069a4: e7cd b.n 8006942 + 80069a6: 2304 movs r3, #4 + 80069a8: f88d 3004 strb.w r3, [sp, #4] + 80069ac: 787b ldrb r3, [r7, #1] + 80069ae: 3b00 subs r3, #0 + 80069b0: bf18 it ne + 80069b2: 2301 movne r3, #1 + 80069b4: a801 add r0, sp, #4 + 80069b6: f88d 3008 strb.w r3, [sp, #8] + 80069ba: f002 f991 bl 8008ce0 + 80069be: e7c0 b.n 8006942 + 80069c0: 7878 ldrb r0, [r7, #1] + 80069c2: 3800 subs r0, #0 + 80069c4: bf18 it ne + 80069c6: 2001 movne r0, #1 + 80069c8: f002 feda bl 8009780 + 80069cc: e7b9 b.n 8006942 + 80069ce: 4e48 ldr r6, [pc, #288] ; (8006af0 ) + 80069d0: ce0f ldmia r6!, {r0, r1, r2, r3} + 80069d2: ad01 add r5, sp, #4 + 80069d4: c50f stmia r5!, {r0, r1, r2, r3} + 80069d6: ce0f ldmia r6!, {r0, r1, r2, r3} + 80069d8: c50f stmia r5!, {r0, r1, r2, r3} + 80069da: e896 0007 ldmia.w r6, {r0, r1, r2} + 80069de: e885 0007 stmia.w r5, {r0, r1, r2} + 80069e2: 787b ldrb r3, [r7, #1] + 80069e4: 2b0a cmp r3, #10 + 80069e6: d8ac bhi.n 8006942 + 80069e8: 4a42 ldr r2, [pc, #264] ; (8006af4 ) + 80069ea: 6812 ldr r2, [r2, #0] + 80069ec: 6852 ldr r2, [r2, #4] + 80069ee: 2a00 cmp r2, #0 + 80069f0: d0a7 beq.n 8006942 + 80069f2: a90c add r1, sp, #48 ; 0x30 + 80069f4: eb01 0383 add.w r3, r1, r3, lsl #2 + 80069f8: f853 0c2c ldr.w r0, [r3, #-44] + 80069fc: 4790 blx r2 + 80069fe: e7a0 b.n 8006942 + 8006a00: 7878 ldrb r0, [r7, #1] + 8006a02: 1e43 subs r3, r0, #1 + 8006a04: 2b01 cmp r3, #1 + 8006a06: d89c bhi.n 8006942 + 8006a08: 4b3a ldr r3, [pc, #232] ; (8006af4 ) + 8006a0a: 3801 subs r0, #1 + 8006a0c: 681b ldr r3, [r3, #0] + 8006a0e: bf18 it ne + 8006a10: 2001 movne r0, #1 + 8006a12: 7220 strb r0, [r4, #8] + 8006a14: 689b ldr r3, [r3, #8] + 8006a16: 2b00 cmp r3, #0 + 8006a18: d093 beq.n 8006942 + 8006a1a: 4798 blx r3 + 8006a1c: e791 b.n 8006942 + 8006a1e: 68e2 ldr r2, [r4, #12] + 8006a20: 2301 movs r3, #1 + 8006a22: 2108 movs r1, #8 + 8006a24: 72a3 strb r3, [r4, #10] + 8006a26: 7011 strb r1, [r2, #0] + 8006a28: 7a62 ldrb r2, [r4, #9] + 8006a2a: 7b05 ldrb r5, [r0, #12] + 8006a2c: 7aa1 ldrb r1, [r4, #10] + 8006a2e: 42aa cmp r2, r5 + 8006a30: bf28 it cs + 8006a32: 462a movcs r2, r5 + 8006a34: 4293 cmp r3, r2 + 8006a36: d284 bcs.n 8006942 + 8006a38: 6885 ldr r5, [r0, #8] + 8006a3a: 1c5a adds r2, r3, #1 + 8006a3c: 5ceb ldrb r3, [r5, r3] + 8006a3e: 68e5 ldr r5, [r4, #12] + 8006a40: 3301 adds r3, #1 + 8006a42: 1c4e adds r6, r1, #1 + 8006a44: 72a6 strb r6, [r4, #10] + 8006a46: 546b strb r3, [r5, r1] + 8006a48: b2d3 uxtb r3, r2 + 8006a4a: e7ed b.n 8006a28 + 8006a4c: 68e3 ldr r3, [r4, #12] + 8006a4e: 2201 movs r2, #1 + 8006a50: 72a2 strb r2, [r4, #10] + 8006a52: 2209 movs r2, #9 + 8006a54: 701a strb r2, [r3, #0] + 8006a56: 7aa3 ldrb r3, [r4, #10] + 8006a58: 68e2 ldr r2, [r4, #12] + 8006a5a: 8a21 ldrh r1, [r4, #16] + 8006a5c: 1c58 adds r0, r3, #1 + 8006a5e: 72a0 strb r0, [r4, #10] + 8006a60: 54d1 strb r1, [r2, r3] + 8006a62: 7aa2 ldrb r2, [r4, #10] + 8006a64: 8a23 ldrh r3, [r4, #16] + 8006a66: 68e1 ldr r1, [r4, #12] + 8006a68: 0a1b lsrs r3, r3, #8 + 8006a6a: 1c50 adds r0, r2, #1 + 8006a6c: 72a0 strb r0, [r4, #10] + 8006a6e: 548b strb r3, [r1, r2] + 8006a70: e767 b.n 8006942 + 8006a72: 8223 strh r3, [r4, #16] + 8006a74: e765 b.n 8006942 + 8006a76: 2305 movs r3, #5 + 8006a78: f88d 3004 strb.w r3, [sp, #4] + 8006a7c: a801 add r0, sp, #4 + 8006a7e: f002 fbb7 bl 80091f0 + 8006a82: e75e b.n 8006942 + 8006a84: 4b19 ldr r3, [pc, #100] ; (8006aec ) + 8006a86: 6adb ldr r3, [r3, #44] ; 0x2c + 8006a88: 4798 blx r3 + 8006a8a: e75a b.n 8006942 + 8006a8c: 4b19 ldr r3, [pc, #100] ; (8006af4 ) + 8006a8e: 7878 ldrb r0, [r7, #1] + 8006a90: 681b ldr r3, [r3, #0] + 8006a92: 7560 strb r0, [r4, #21] + 8006a94: 68db ldr r3, [r3, #12] + 8006a96: e7be b.n 8006a16 + 8006a98: 7b03 ldrb r3, [r0, #12] + 8006a9a: 2b07 cmp r3, #7 + 8006a9c: f47f af51 bne.w 8006942 + 8006aa0: 2306 movs r3, #6 + 8006aa2: f88d 3004 strb.w r3, [sp, #4] + 8006aa6: f8b7 3001 ldrh.w r3, [r7, #1] + 8006aaa: f8ad 3008 strh.w r3, [sp, #8] + 8006aae: 797b ldrb r3, [r7, #5] + 8006ab0: 793a ldrb r2, [r7, #4] + 8006ab2: 041b lsls r3, r3, #16 + 8006ab4: ea43 2302 orr.w r3, r3, r2, lsl #8 + 8006ab8: 78fa ldrb r2, [r7, #3] + 8006aba: 4313 orrs r3, r2 + 8006abc: 2264 movs r2, #100 ; 0x64 + 8006abe: 4353 muls r3, r2 + 8006ac0: 9303 str r3, [sp, #12] + 8006ac2: 79bb ldrb r3, [r7, #6] + 8006ac4: f88d 3010 strb.w r3, [sp, #16] + 8006ac8: e7d8 b.n 8006a7c + 8006aca: 223b movs r2, #59 ; 0x3b + 8006acc: a801 add r0, sp, #4 + 8006ace: f88d 2004 strb.w r2, [sp, #4] + 8006ad2: f88d 3008 strb.w r3, [sp, #8] + 8006ad6: f002 f903 bl 8008ce0 + 8006ada: 2301 movs r3, #1 + 8006adc: f884 3034 strb.w r3, [r4, #52] ; 0x34 + 8006ae0: e72f b.n 8006942 + 8006ae2: bf00 nop + 8006ae4: 200005ec .word 0x200005ec + 8006ae8: 20000624 .word 0x20000624 + 8006aec: 200000b8 .word 0x200000b8 + 8006af0: 0800f0d4 .word 0x0800f0d4 + 8006af4: 200005e8 .word 0x200005e8 + 8006af8: 232a movs r3, #42 ; 0x2a + 8006afa: a801 add r0, sp, #4 + 8006afc: f88d 3004 strb.w r3, [sp, #4] + 8006b00: f001 ffc6 bl 8008a90 + 8006b04: f894 900a ldrb.w r9, [r4, #10] + 8006b08: 68e6 ldr r6, [r4, #12] + 8006b0a: f89d 0008 ldrb.w r0, [sp, #8] + 8006b0e: f89d 5009 ldrb.w r5, [sp, #9] + 8006b12: f89d 700a ldrb.w r7, [sp, #10] + 8006b16: f89d c00b ldrb.w ip, [sp, #11] + 8006b1a: f89d 300d ldrb.w r3, [sp, #13] + 8006b1e: f89d 200e ldrb.w r2, [sp, #14] + 8006b22: f89d 100f ldrb.w r1, [sp, #15] + 8006b26: f89d e00c ldrb.w lr, [sp, #12] + 8006b2a: f109 0a01 add.w sl, r9, #1 + 8006b2e: f884 a00a strb.w sl, [r4, #10] + 8006b32: f806 8009 strb.w r8, [r6, r9] + 8006b36: 4e35 ldr r6, [pc, #212] ; (8006c0c ) + 8006b38: f894 900a ldrb.w r9, [r4, #10] + 8006b3c: 6836 ldr r6, [r6, #0] + 8006b3e: f8d4 800c ldr.w r8, [r4, #12] + 8006b42: f109 0a01 add.w sl, r9, #1 + 8006b46: f884 a00a strb.w sl, [r4, #10] + 8006b4a: f896 a003 ldrb.w sl, [r6, #3] + 8006b4e: f808 a009 strb.w sl, [r8, r9] + 8006b52: f894 900a ldrb.w r9, [r4, #10] + 8006b56: f8d4 800c ldr.w r8, [r4, #12] + 8006b5a: f109 0a01 add.w sl, r9, #1 + 8006b5e: f884 a00a strb.w sl, [r4, #10] + 8006b62: f896 a002 ldrb.w sl, [r6, #2] + 8006b66: f808 a009 strb.w sl, [r8, r9] + 8006b6a: f894 900a ldrb.w r9, [r4, #10] + 8006b6e: f8d4 800c ldr.w r8, [r4, #12] + 8006b72: f109 0a01 add.w sl, r9, #1 + 8006b76: f884 a00a strb.w sl, [r4, #10] + 8006b7a: f896 a001 ldrb.w sl, [r6, #1] + 8006b7e: f808 a009 strb.w sl, [r8, r9] + 8006b82: f894 900a ldrb.w r9, [r4, #10] + 8006b86: f109 0a01 add.w sl, r9, #1 + 8006b8a: f884 a00a strb.w sl, [r4, #10] + 8006b8e: f896 8000 ldrb.w r8, [r6] + 8006b92: 68e6 ldr r6, [r4, #12] + 8006b94: f806 8009 strb.w r8, [r6, r9] + 8006b98: f894 800a ldrb.w r8, [r4, #10] + 8006b9c: 68e6 ldr r6, [r4, #12] + 8006b9e: f108 0901 add.w r9, r8, #1 + 8006ba2: f884 900a strb.w r9, [r4, #10] + 8006ba6: f806 c008 strb.w ip, [r6, r8] + 8006baa: f894 c00a ldrb.w ip, [r4, #10] + 8006bae: 68e6 ldr r6, [r4, #12] + 8006bb0: f10c 0801 add.w r8, ip, #1 + 8006bb4: f884 800a strb.w r8, [r4, #10] + 8006bb8: f806 700c strb.w r7, [r6, ip] + 8006bbc: 7aa7 ldrb r7, [r4, #10] + 8006bbe: 68e6 ldr r6, [r4, #12] + 8006bc0: f107 0c01 add.w ip, r7, #1 + 8006bc4: f884 c00a strb.w ip, [r4, #10] + 8006bc8: 55f5 strb r5, [r6, r7] + 8006bca: 7aa5 ldrb r5, [r4, #10] + 8006bcc: 68e6 ldr r6, [r4, #12] + 8006bce: 1c6f adds r7, r5, #1 + 8006bd0: 72a7 strb r7, [r4, #10] + 8006bd2: 5570 strb r0, [r6, r5] + 8006bd4: 7aa0 ldrb r0, [r4, #10] + 8006bd6: 68e5 ldr r5, [r4, #12] + 8006bd8: 1c46 adds r6, r0, #1 + 8006bda: 72a6 strb r6, [r4, #10] + 8006bdc: 5429 strb r1, [r5, r0] + 8006bde: 7aa1 ldrb r1, [r4, #10] + 8006be0: 68e0 ldr r0, [r4, #12] + 8006be2: 1c4d adds r5, r1, #1 + 8006be4: 72a5 strb r5, [r4, #10] + 8006be6: 5442 strb r2, [r0, r1] + 8006be8: 7aa2 ldrb r2, [r4, #10] + 8006bea: 68e1 ldr r1, [r4, #12] + 8006bec: 1c50 adds r0, r2, #1 + 8006bee: 72a0 strb r0, [r4, #10] + 8006bf0: 548b strb r3, [r1, r2] + 8006bf2: 7aa3 ldrb r3, [r4, #10] + 8006bf4: 68e2 ldr r2, [r4, #12] + 8006bf6: 1c59 adds r1, r3, #1 + 8006bf8: 72a1 strb r1, [r4, #10] + 8006bfa: f802 e003 strb.w lr, [r2, r3] + 8006bfe: e6a0 b.n 8006942 + 8006c00: 4803 ldr r0, [pc, #12] ; (8006c10 ) + 8006c02: f007 ffa7 bl 800eb54 + 8006c06: 7065 strb r5, [r4, #1] + 8006c08: e6aa b.n 8006960 + 8006c0a: bf00 nop + 8006c0c: 200005e8 .word 0x200005e8 8006c10: 20000624 .word 0x20000624 -08006c14 : - 8006c14: b537 push {r0, r1, r2, r4, r5, lr} - 8006c16: 4d10 ldr r5, [pc, #64] ; (8006c58 ) - 8006c18: 4c10 ldr r4, [pc, #64] ; (8006c5c ) - 8006c1a: b1c8 cbz r0, 8006c50 - 8006c1c: b1c1 cbz r1, 8006c50 - 8006c1e: 2301 movs r3, #1 - 8006c20: 7262 strb r2, [r4, #9] - 8006c22: 2200 movs r2, #0 - 8006c24: 6028 str r0, [r5, #0] - 8006c26: 60e1 str r1, [r4, #12] - 8006c28: 7023 strb r3, [r4, #0] - 8006c2a: 480d ldr r0, [pc, #52] ; (8006c60 ) - 8006c2c: 4b0d ldr r3, [pc, #52] ; (8006c64 ) - 8006c2e: 9200 str r2, [sp, #0] - 8006c30: f04f 31ff mov.w r1, #4294967295 - 8006c34: f008 f914 bl 800ee60 - 8006c38: 2500 movs r5, #0 - 8006c3a: 480b ldr r0, [pc, #44] ; (8006c68 ) - 8006c3c: 8225 strh r5, [r4, #16] - 8006c3e: 2220 movs r2, #32 - 8006c40: 4629 mov r1, r5 - 8006c42: f005 fe5b bl 800c8fc - 8006c46: 7065 strb r5, [r4, #1] - 8006c48: 74a5 strb r5, [r4, #18] - 8006c4a: 86a5 strh r5, [r4, #52] ; 0x34 - 8006c4c: b003 add sp, #12 - 8006c4e: bd30 pop {r4, r5, pc} - 8006c50: 2300 movs r3, #0 - 8006c52: 602b str r3, [r5, #0] - 8006c54: 7023 strb r3, [r4, #0] - 8006c56: e7ef b.n 8006c38 - 8006c58: 200005e8 .word 0x200005e8 - 8006c5c: 200005ec .word 0x200005ec - 8006c60: 20000624 .word 0x20000624 - 8006c64: 08006b61 .word 0x08006b61 - 8006c68: 20000600 .word 0x20000600 - -08006c6c : - 8006c6c: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 8006c70: 4c8e ldr r4, [pc, #568] ; (8006eac ) - 8006c72: 7823 ldrb r3, [r4, #0] - 8006c74: b08c sub sp, #48 ; 0x30 - 8006c76: 2b00 cmp r3, #0 - 8006c78: d056 beq.n 8006d28 - 8006c7a: 78c2 ldrb r2, [r0, #3] - 8006c7c: b90a cbnz r2, 8006c82 - 8006c7e: 7b83 ldrb r3, [r0, #14] - 8006c80: b113 cbz r3, 8006c88 - 8006c82: 8a23 ldrh r3, [r4, #16] - 8006c84: 3301 adds r3, #1 - 8006c86: 8223 strh r3, [r4, #16] - 8006c88: 7b43 ldrb r3, [r0, #13] - 8006c8a: 2b00 cmp r3, #0 - 8006c8c: d04c beq.n 8006d28 - 8006c8e: 2ae0 cmp r2, #224 ; 0xe0 - 8006c90: d14a bne.n 8006d28 - 8006c92: 2300 movs r3, #0 - 8006c94: 72a3 strb r3, [r4, #10] - 8006c96: 6887 ldr r7, [r0, #8] - 8006c98: f897 8000 ldrb.w r8, [r7] - 8006c9c: f1b8 0f22 cmp.w r8, #34 ; 0x22 - 8006ca0: d827 bhi.n 8006cf2 - 8006ca2: f1b8 0f22 cmp.w r8, #34 ; 0x22 - 8006ca6: d830 bhi.n 8006d0a - 8006ca8: e8df f018 tbh [pc, r8, lsl #1] - 8006cac: 00fb0041 .word 0x00fb0041 - 8006cb0: 005a0052 .word 0x005a0052 - 8006cb4: 006e0061 .word 0x006e0061 - 8006cb8: 008e0075 .word 0x008e0075 - 8006cbc: 00b4009d .word 0x00b4009d - 8006cc0: 002f00c7 .word 0x002f00c7 - 8006cc4: 002f002f .word 0x002f002f - 8006cc8: 002f002f .word 0x002f002f - 8006ccc: 002f002f .word 0x002f002f - 8006cd0: 002f002f .word 0x002f002f - 8006cd4: 002f002f .word 0x002f002f - 8006cd8: 002f002f .word 0x002f002f - 8006cdc: 002f002f .word 0x002f002f - 8006ce0: 002f002f .word 0x002f002f - 8006ce4: 002f002f .word 0x002f002f - 8006ce8: 002f002f .word 0x002f002f - 8006cec: 00d000c9 .word 0x00d000c9 - 8006cf0: 00d4 .short 0x00d4 - 8006cf2: f1b8 0f7e cmp.w r8, #126 ; 0x7e - 8006cf6: f000 80cc beq.w 8006e92 - 8006cfa: f1b8 0f7f cmp.w r8, #127 ; 0x7f - 8006cfe: f000 80df beq.w 8006ec0 - 8006d02: f1b8 0f7d cmp.w r8, #125 ; 0x7d - 8006d06: f000 80ab beq.w 8006e60 - 8006d0a: 7aa5 ldrb r5, [r4, #10] - 8006d0c: 2d00 cmp r5, #0 - 8006d0e: f000 815b beq.w 8006fc8 - 8006d12: 4c67 ldr r4, [pc, #412] ; (8006eb0 ) - 8006d14: 7a63 ldrb r3, [r4, #9] - 8006d16: b93b cbnz r3, 8006d28 - 8006d18: f44f 717a mov.w r1, #1000 ; 0x3e8 - 8006d1c: 4620 mov r0, r4 - 8006d1e: f008 f985 bl 800f02c - 8006d22: 4620 mov r0, r4 - 8006d24: f008 f948 bl 800efb8 - 8006d28: b00c add sp, #48 ; 0x30 - 8006d2a: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 8006d2e: 68e3 ldr r3, [r4, #12] - 8006d30: 2201 movs r2, #1 - 8006d32: 2100 movs r1, #0 - 8006d34: 72a2 strb r2, [r4, #10] - 8006d36: 7019 strb r1, [r3, #0] - 8006d38: 7aa3 ldrb r3, [r4, #10] - 8006d3a: 68e1 ldr r1, [r4, #12] - 8006d3c: 1898 adds r0, r3, r2 - 8006d3e: 72a0 strb r0, [r4, #10] - 8006d40: 2006 movs r0, #6 - 8006d42: 54c8 strb r0, [r1, r3] - 8006d44: 7aa3 ldrb r3, [r4, #10] - 8006d46: 68e1 ldr r1, [r4, #12] - 8006d48: 1898 adds r0, r3, r2 - 8006d4a: 72a0 strb r0, [r4, #10] - 8006d4c: 54ca strb r2, [r1, r3] - 8006d4e: e7dc b.n 8006d0a - 8006d50: 4b58 ldr r3, [pc, #352] ; (8006eb4 ) - 8006d52: 6a9b ldr r3, [r3, #40] ; 0x28 - 8006d54: 2b00 cmp r3, #0 - 8006d56: d0d8 beq.n 8006d0a - 8006d58: 2101 movs r1, #1 - 8006d5a: 2002 movs r0, #2 - 8006d5c: 4798 blx r3 - 8006d5e: e7d4 b.n 8006d0a - 8006d60: 787b ldrb r3, [r7, #1] - 8006d62: f884 3036 strb.w r3, [r4, #54] ; 0x36 - 8006d66: 2301 movs r3, #1 - 8006d68: f884 3035 strb.w r3, [r4, #53] ; 0x35 - 8006d6c: e7cd b.n 8006d0a - 8006d6e: 2304 movs r3, #4 - 8006d70: f88d 3004 strb.w r3, [sp, #4] - 8006d74: 787b ldrb r3, [r7, #1] - 8006d76: 3b00 subs r3, #0 - 8006d78: bf18 it ne - 8006d7a: 2301 movne r3, #1 - 8006d7c: a801 add r0, sp, #4 - 8006d7e: f88d 3008 strb.w r3, [sp, #8] - 8006d82: f002 f991 bl 80090a8 - 8006d86: e7c0 b.n 8006d0a - 8006d88: 7878 ldrb r0, [r7, #1] - 8006d8a: 3800 subs r0, #0 - 8006d8c: bf18 it ne - 8006d8e: 2001 movne r0, #1 - 8006d90: f002 feda bl 8009b48 - 8006d94: e7b9 b.n 8006d0a - 8006d96: 4e48 ldr r6, [pc, #288] ; (8006eb8 ) - 8006d98: ce0f ldmia r6!, {r0, r1, r2, r3} - 8006d9a: ad01 add r5, sp, #4 - 8006d9c: c50f stmia r5!, {r0, r1, r2, r3} - 8006d9e: ce0f ldmia r6!, {r0, r1, r2, r3} - 8006da0: c50f stmia r5!, {r0, r1, r2, r3} - 8006da2: e896 0007 ldmia.w r6, {r0, r1, r2} - 8006da6: e885 0007 stmia.w r5, {r0, r1, r2} - 8006daa: 787b ldrb r3, [r7, #1] - 8006dac: 2b0a cmp r3, #10 - 8006dae: d8ac bhi.n 8006d0a - 8006db0: 4a42 ldr r2, [pc, #264] ; (8006ebc ) - 8006db2: 6812 ldr r2, [r2, #0] - 8006db4: 6852 ldr r2, [r2, #4] - 8006db6: 2a00 cmp r2, #0 - 8006db8: d0a7 beq.n 8006d0a - 8006dba: a90c add r1, sp, #48 ; 0x30 - 8006dbc: eb01 0383 add.w r3, r1, r3, lsl #2 - 8006dc0: f853 0c2c ldr.w r0, [r3, #-44] - 8006dc4: 4790 blx r2 - 8006dc6: e7a0 b.n 8006d0a - 8006dc8: 7878 ldrb r0, [r7, #1] - 8006dca: 1e43 subs r3, r0, #1 - 8006dcc: 2b01 cmp r3, #1 - 8006dce: d89c bhi.n 8006d0a - 8006dd0: 4b3a ldr r3, [pc, #232] ; (8006ebc ) - 8006dd2: 3801 subs r0, #1 - 8006dd4: 681b ldr r3, [r3, #0] - 8006dd6: bf18 it ne - 8006dd8: 2001 movne r0, #1 - 8006dda: 7220 strb r0, [r4, #8] - 8006ddc: 689b ldr r3, [r3, #8] - 8006dde: 2b00 cmp r3, #0 - 8006de0: d093 beq.n 8006d0a - 8006de2: 4798 blx r3 - 8006de4: e791 b.n 8006d0a - 8006de6: 68e2 ldr r2, [r4, #12] - 8006de8: 2301 movs r3, #1 - 8006dea: 2108 movs r1, #8 - 8006dec: 72a3 strb r3, [r4, #10] - 8006dee: 7011 strb r1, [r2, #0] - 8006df0: 7a62 ldrb r2, [r4, #9] - 8006df2: 7b05 ldrb r5, [r0, #12] - 8006df4: 7aa1 ldrb r1, [r4, #10] - 8006df6: 42aa cmp r2, r5 - 8006df8: bf28 it cs - 8006dfa: 462a movcs r2, r5 - 8006dfc: 4293 cmp r3, r2 - 8006dfe: d284 bcs.n 8006d0a - 8006e00: 6885 ldr r5, [r0, #8] - 8006e02: 1c5a adds r2, r3, #1 - 8006e04: 5ceb ldrb r3, [r5, r3] - 8006e06: 68e5 ldr r5, [r4, #12] - 8006e08: 3301 adds r3, #1 - 8006e0a: 1c4e adds r6, r1, #1 - 8006e0c: 72a6 strb r6, [r4, #10] - 8006e0e: 546b strb r3, [r5, r1] - 8006e10: b2d3 uxtb r3, r2 - 8006e12: e7ed b.n 8006df0 - 8006e14: 68e3 ldr r3, [r4, #12] - 8006e16: 2201 movs r2, #1 - 8006e18: 72a2 strb r2, [r4, #10] - 8006e1a: 2209 movs r2, #9 - 8006e1c: 701a strb r2, [r3, #0] - 8006e1e: 7aa3 ldrb r3, [r4, #10] - 8006e20: 68e2 ldr r2, [r4, #12] - 8006e22: 8a21 ldrh r1, [r4, #16] - 8006e24: 1c58 adds r0, r3, #1 - 8006e26: 72a0 strb r0, [r4, #10] - 8006e28: 54d1 strb r1, [r2, r3] - 8006e2a: 7aa2 ldrb r2, [r4, #10] - 8006e2c: 8a23 ldrh r3, [r4, #16] - 8006e2e: 68e1 ldr r1, [r4, #12] - 8006e30: 0a1b lsrs r3, r3, #8 - 8006e32: 1c50 adds r0, r2, #1 - 8006e34: 72a0 strb r0, [r4, #10] - 8006e36: 548b strb r3, [r1, r2] - 8006e38: e767 b.n 8006d0a - 8006e3a: 8223 strh r3, [r4, #16] - 8006e3c: e765 b.n 8006d0a - 8006e3e: 2305 movs r3, #5 - 8006e40: f88d 3004 strb.w r3, [sp, #4] - 8006e44: a801 add r0, sp, #4 - 8006e46: f002 fbb7 bl 80095b8 - 8006e4a: e75e b.n 8006d0a - 8006e4c: 4b19 ldr r3, [pc, #100] ; (8006eb4 ) - 8006e4e: 6adb ldr r3, [r3, #44] ; 0x2c - 8006e50: 4798 blx r3 - 8006e52: e75a b.n 8006d0a - 8006e54: 4b19 ldr r3, [pc, #100] ; (8006ebc ) - 8006e56: 7878 ldrb r0, [r7, #1] - 8006e58: 681b ldr r3, [r3, #0] - 8006e5a: 7560 strb r0, [r4, #21] - 8006e5c: 68db ldr r3, [r3, #12] - 8006e5e: e7be b.n 8006dde - 8006e60: 7b03 ldrb r3, [r0, #12] - 8006e62: 2b07 cmp r3, #7 - 8006e64: f47f af51 bne.w 8006d0a - 8006e68: 2306 movs r3, #6 - 8006e6a: f88d 3004 strb.w r3, [sp, #4] - 8006e6e: f8b7 3001 ldrh.w r3, [r7, #1] - 8006e72: f8ad 3008 strh.w r3, [sp, #8] - 8006e76: 797b ldrb r3, [r7, #5] - 8006e78: 793a ldrb r2, [r7, #4] - 8006e7a: 041b lsls r3, r3, #16 - 8006e7c: ea43 2302 orr.w r3, r3, r2, lsl #8 - 8006e80: 78fa ldrb r2, [r7, #3] - 8006e82: 4313 orrs r3, r2 - 8006e84: 2264 movs r2, #100 ; 0x64 - 8006e86: 4353 muls r3, r2 - 8006e88: 9303 str r3, [sp, #12] - 8006e8a: 79bb ldrb r3, [r7, #6] - 8006e8c: f88d 3010 strb.w r3, [sp, #16] - 8006e90: e7d8 b.n 8006e44 - 8006e92: 223b movs r2, #59 ; 0x3b - 8006e94: a801 add r0, sp, #4 - 8006e96: f88d 2004 strb.w r2, [sp, #4] - 8006e9a: f88d 3008 strb.w r3, [sp, #8] - 8006e9e: f002 f903 bl 80090a8 - 8006ea2: 2301 movs r3, #1 - 8006ea4: f884 3034 strb.w r3, [r4, #52] ; 0x34 - 8006ea8: e72f b.n 8006d0a - 8006eaa: bf00 nop - 8006eac: 200005ec .word 0x200005ec - 8006eb0: 20000624 .word 0x20000624 - 8006eb4: 200000b8 .word 0x200000b8 - 8006eb8: 0800f49c .word 0x0800f49c - 8006ebc: 200005e8 .word 0x200005e8 - 8006ec0: 232a movs r3, #42 ; 0x2a - 8006ec2: a801 add r0, sp, #4 - 8006ec4: f88d 3004 strb.w r3, [sp, #4] - 8006ec8: f001 ffc6 bl 8008e58 - 8006ecc: f894 900a ldrb.w r9, [r4, #10] - 8006ed0: 68e6 ldr r6, [r4, #12] - 8006ed2: f89d 0008 ldrb.w r0, [sp, #8] - 8006ed6: f89d 5009 ldrb.w r5, [sp, #9] - 8006eda: f89d 700a ldrb.w r7, [sp, #10] - 8006ede: f89d c00b ldrb.w ip, [sp, #11] - 8006ee2: f89d 300d ldrb.w r3, [sp, #13] - 8006ee6: f89d 200e ldrb.w r2, [sp, #14] - 8006eea: f89d 100f ldrb.w r1, [sp, #15] - 8006eee: f89d e00c ldrb.w lr, [sp, #12] - 8006ef2: f109 0a01 add.w sl, r9, #1 - 8006ef6: f884 a00a strb.w sl, [r4, #10] - 8006efa: f806 8009 strb.w r8, [r6, r9] - 8006efe: 4e35 ldr r6, [pc, #212] ; (8006fd4 ) - 8006f00: f894 900a ldrb.w r9, [r4, #10] - 8006f04: 6836 ldr r6, [r6, #0] - 8006f06: f8d4 800c ldr.w r8, [r4, #12] - 8006f0a: f109 0a01 add.w sl, r9, #1 - 8006f0e: f884 a00a strb.w sl, [r4, #10] - 8006f12: f896 a003 ldrb.w sl, [r6, #3] - 8006f16: f808 a009 strb.w sl, [r8, r9] - 8006f1a: f894 900a ldrb.w r9, [r4, #10] - 8006f1e: f8d4 800c ldr.w r8, [r4, #12] - 8006f22: f109 0a01 add.w sl, r9, #1 - 8006f26: f884 a00a strb.w sl, [r4, #10] - 8006f2a: f896 a002 ldrb.w sl, [r6, #2] - 8006f2e: f808 a009 strb.w sl, [r8, r9] - 8006f32: f894 900a ldrb.w r9, [r4, #10] - 8006f36: f8d4 800c ldr.w r8, [r4, #12] - 8006f3a: f109 0a01 add.w sl, r9, #1 - 8006f3e: f884 a00a strb.w sl, [r4, #10] - 8006f42: f896 a001 ldrb.w sl, [r6, #1] - 8006f46: f808 a009 strb.w sl, [r8, r9] - 8006f4a: f894 900a ldrb.w r9, [r4, #10] - 8006f4e: f109 0a01 add.w sl, r9, #1 - 8006f52: f884 a00a strb.w sl, [r4, #10] - 8006f56: f896 8000 ldrb.w r8, [r6] - 8006f5a: 68e6 ldr r6, [r4, #12] - 8006f5c: f806 8009 strb.w r8, [r6, r9] - 8006f60: f894 800a ldrb.w r8, [r4, #10] - 8006f64: 68e6 ldr r6, [r4, #12] - 8006f66: f108 0901 add.w r9, r8, #1 - 8006f6a: f884 900a strb.w r9, [r4, #10] - 8006f6e: f806 c008 strb.w ip, [r6, r8] - 8006f72: f894 c00a ldrb.w ip, [r4, #10] - 8006f76: 68e6 ldr r6, [r4, #12] - 8006f78: f10c 0801 add.w r8, ip, #1 - 8006f7c: f884 800a strb.w r8, [r4, #10] - 8006f80: f806 700c strb.w r7, [r6, ip] - 8006f84: 7aa7 ldrb r7, [r4, #10] - 8006f86: 68e6 ldr r6, [r4, #12] - 8006f88: f107 0c01 add.w ip, r7, #1 - 8006f8c: f884 c00a strb.w ip, [r4, #10] - 8006f90: 55f5 strb r5, [r6, r7] - 8006f92: 7aa5 ldrb r5, [r4, #10] - 8006f94: 68e6 ldr r6, [r4, #12] - 8006f96: 1c6f adds r7, r5, #1 - 8006f98: 72a7 strb r7, [r4, #10] - 8006f9a: 5570 strb r0, [r6, r5] - 8006f9c: 7aa0 ldrb r0, [r4, #10] - 8006f9e: 68e5 ldr r5, [r4, #12] - 8006fa0: 1c46 adds r6, r0, #1 - 8006fa2: 72a6 strb r6, [r4, #10] - 8006fa4: 5429 strb r1, [r5, r0] - 8006fa6: 7aa1 ldrb r1, [r4, #10] - 8006fa8: 68e0 ldr r0, [r4, #12] - 8006faa: 1c4d adds r5, r1, #1 - 8006fac: 72a5 strb r5, [r4, #10] - 8006fae: 5442 strb r2, [r0, r1] - 8006fb0: 7aa2 ldrb r2, [r4, #10] - 8006fb2: 68e1 ldr r1, [r4, #12] - 8006fb4: 1c50 adds r0, r2, #1 - 8006fb6: 72a0 strb r0, [r4, #10] - 8006fb8: 548b strb r3, [r1, r2] - 8006fba: 7aa3 ldrb r3, [r4, #10] - 8006fbc: 68e2 ldr r2, [r4, #12] - 8006fbe: 1c59 adds r1, r3, #1 - 8006fc0: 72a1 strb r1, [r4, #10] - 8006fc2: f802 e003 strb.w lr, [r2, r3] - 8006fc6: e6a0 b.n 8006d0a - 8006fc8: 4803 ldr r0, [pc, #12] ; (8006fd8 ) - 8006fca: f007 ffa7 bl 800ef1c - 8006fce: 7065 strb r5, [r4, #1] - 8006fd0: e6aa b.n 8006d28 - 8006fd2: bf00 nop - 8006fd4: 200005e8 .word 0x200005e8 - 8006fd8: 20000624 .word 0x20000624 - -08006fdc : - 8006fdc: 4770 bx lr +08006c14 : + 8006c14: 4770 bx lr ... -08006fe0 : - 8006fe0: 4800 ldr r0, [pc, #0] ; (8006fe4 ) - 8006fe2: 4770 bx lr - 8006fe4: 200000b8 .word 0x200000b8 +08006c18 : + 8006c18: 4800 ldr r0, [pc, #0] ; (8006c1c ) + 8006c1a: 4770 bx lr + 8006c1c: 200000b8 .word 0x200000b8 -08006fe8 : - 8006fe8: 2000 movs r0, #0 - 8006fea: 4770 bx lr +08006c20 : + 8006c20: 2000 movs r0, #0 + 8006c22: 4770 bx lr -08006fec : - 8006fec: f04f 30ff mov.w r0, #4294967295 - 8006ff0: 4770 bx lr +08006c24 : + 8006c24: f04f 30ff mov.w r0, #4294967295 + 8006c28: 4770 bx lr ... -08006ff4 : - 8006ff4: 4b04 ldr r3, [pc, #16] ; (8007008 ) - 8006ff6: 4a05 ldr r2, [pc, #20] ; (800700c ) - 8006ff8: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 - 8006ffc: 2b02 cmp r3, #2 - 8006ffe: bf18 it ne - 8007000: 2306 movne r3, #6 - 8007002: f882 3490 strb.w r3, [r2, #1168] ; 0x490 - 8007006: 4770 bx lr - 8007008: 20000c00 .word 0x20000c00 - 800700c: 200011c8 .word 0x200011c8 +08006c2c : + 8006c2c: 4b04 ldr r3, [pc, #16] ; (8006c40 ) + 8006c2e: 4a05 ldr r2, [pc, #20] ; (8006c44 ) + 8006c30: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 + 8006c34: 2b02 cmp r3, #2 + 8006c36: bf18 it ne + 8006c38: 2306 movne r3, #6 + 8006c3a: f882 3490 strb.w r3, [r2, #1168] ; 0x490 + 8006c3e: 4770 bx lr + 8006c40: 20000c00 .word 0x20000c00 + 8006c44: 200011c8 .word 0x200011c8 -08007010 : - 8007010: 4b03 ldr r3, [pc, #12] ; (8007020 ) - 8007012: f8d3 3348 ldr.w r3, [r3, #840] ; 0x348 - 8007016: b113 cbz r3, 800701e - 8007018: 695b ldr r3, [r3, #20] - 800701a: b103 cbz r3, 800701e - 800701c: 4718 bx r3 - 800701e: 4770 bx lr - 8007020: 200011c8 .word 0x200011c8 +08006c48 : + 8006c48: 4b03 ldr r3, [pc, #12] ; (8006c58 ) + 8006c4a: f8d3 3348 ldr.w r3, [r3, #840] ; 0x348 + 8006c4e: b113 cbz r3, 8006c56 + 8006c50: 695b ldr r3, [r3, #20] + 8006c52: b103 cbz r3, 8006c56 + 8006c54: 4718 bx r3 + 8006c56: 4770 bx lr + 8006c58: 200011c8 .word 0x200011c8 -08007024 : - 8007024: 4a03 ldr r2, [pc, #12] ; (8007034 ) - 8007026: 7813 ldrb r3, [r2, #0] - 8007028: f043 0304 orr.w r3, r3, #4 - 800702c: 7013 strb r3, [r2, #0] - 800702e: f7ff bfef b.w 8007010 - 8007032: bf00 nop - 8007034: 200011c4 .word 0x200011c4 +08006c5c : + 8006c5c: 4a03 ldr r2, [pc, #12] ; (8006c6c ) + 8006c5e: 7813 ldrb r3, [r2, #0] + 8006c60: f043 0304 orr.w r3, r3, #4 + 8006c64: 7013 strb r3, [r2, #0] + 8006c66: f7ff bfef b.w 8006c48 + 8006c6a: bf00 nop + 8006c6c: 200011c4 .word 0x200011c4 -08007038 : - 8007038: b51f push {r0, r1, r2, r3, r4, lr} - 800703a: 4b0a ldr r3, [pc, #40] ; (8007064 ) - 800703c: f88d 0009 strb.w r0, [sp, #9] - 8007040: f893 207c ldrb.w r2, [r3, #124] ; 0x7c - 8007044: f88d 200a strb.w r2, [sp, #10] - 8007048: f893 208c ldrb.w r2, [r3, #140] ; 0x8c - 800704c: f893 0048 ldrb.w r0, [r3, #72] ; 0x48 - 8007050: 320d adds r2, #13 - 8007052: a902 add r1, sp, #8 - 8007054: f88d 2008 strb.w r2, [sp, #8] - 8007058: f003 fcb0 bl 800a9bc - 800705c: b2c0 uxtb r0, r0 - 800705e: b005 add sp, #20 - 8007060: f85d fb04 ldr.w pc, [sp], #4 - 8007064: 20000c00 .word 0x20000c00 +08006c70 : + 8006c70: b51f push {r0, r1, r2, r3, r4, lr} + 8006c72: 4b0a ldr r3, [pc, #40] ; (8006c9c ) + 8006c74: f88d 0009 strb.w r0, [sp, #9] + 8006c78: f893 207c ldrb.w r2, [r3, #124] ; 0x7c + 8006c7c: f88d 200a strb.w r2, [sp, #10] + 8006c80: f893 208c ldrb.w r2, [r3, #140] ; 0x8c + 8006c84: f893 0048 ldrb.w r0, [r3, #72] ; 0x48 + 8006c88: 320d adds r2, #13 + 8006c8a: a902 add r1, sp, #8 + 8006c8c: f88d 2008 strb.w r2, [sp, #8] + 8006c90: f003 fcb0 bl 800a5f4 + 8006c94: b2c0 uxtb r0, r0 + 8006c96: b005 add sp, #20 + 8006c98: f85d fb04 ldr.w pc, [sp], #4 + 8006c9c: 20000c00 .word 0x20000c00 -08007068 : - 8007068: b510 push {r4, lr} - 800706a: 4c07 ldr r4, [pc, #28] ; (8007088 ) - 800706c: f504 6080 add.w r0, r4, #1024 ; 0x400 - 8007070: f007 ff54 bl 800ef1c - 8007074: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a - 8007078: b113 cbz r3, 8007080 - 800707a: 2301 movs r3, #1 - 800707c: f884 3419 strb.w r3, [r4, #1049] ; 0x419 - 8007080: e8bd 4010 ldmia.w sp!, {r4, lr} - 8007084: f7ff bfc4 b.w 8007010 - 8007088: 200011c8 .word 0x200011c8 +08006ca0 : + 8006ca0: b510 push {r4, lr} + 8006ca2: 4c07 ldr r4, [pc, #28] ; (8006cc0 ) + 8006ca4: f504 6080 add.w r0, r4, #1024 ; 0x400 + 8006ca8: f007 ff54 bl 800eb54 + 8006cac: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a + 8006cb0: b113 cbz r3, 8006cb8 + 8006cb2: 2301 movs r3, #1 + 8006cb4: f884 3419 strb.w r3, [r4, #1049] ; 0x419 + 8006cb8: e8bd 4010 ldmia.w sp!, {r4, lr} + 8006cbc: f7ff bfc4 b.w 8006c48 + 8006cc0: 200011c8 .word 0x200011c8 -0800708c : - 800708c: b510 push {r4, lr} - 800708e: 4c0c ldr r4, [pc, #48] ; (80070c0 ) - 8007090: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 - 8007094: f043 0380 orr.w r3, r3, #128 ; 0x80 - 8007098: f8c4 3340 str.w r3, [r4, #832] ; 0x340 - 800709c: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a - 80070a0: b113 cbz r3, 80070a8 - 80070a2: 2000 movs r0, #0 - 80070a4: f7ff ffe0 bl 8007068 - 80070a8: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 80070ac: f023 0312 bic.w r3, r3, #18 - 80070b0: f043 0312 orr.w r3, r3, #18 - 80070b4: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 80070b8: e8bd 4010 ldmia.w sp!, {r4, lr} - 80070bc: f7ff bf9a b.w 8006ff4 - 80070c0: 200011c8 .word 0x200011c8 +08006cc4 : + 8006cc4: b510 push {r4, lr} + 8006cc6: 4c0c ldr r4, [pc, #48] ; (8006cf8 ) + 8006cc8: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 + 8006ccc: f043 0380 orr.w r3, r3, #128 ; 0x80 + 8006cd0: f8c4 3340 str.w r3, [r4, #832] ; 0x340 + 8006cd4: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a + 8006cd8: b113 cbz r3, 8006ce0 + 8006cda: 2000 movs r0, #0 + 8006cdc: f7ff ffe0 bl 8006ca0 + 8006ce0: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8006ce4: f023 0312 bic.w r3, r3, #18 + 8006ce8: f043 0312 orr.w r3, r3, #18 + 8006cec: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8006cf0: e8bd 4010 ldmia.w sp!, {r4, lr} + 8006cf4: f7ff bf9a b.w 8006c2c + 8006cf8: 200011c8 .word 0x200011c8 -080070c4 : - 80070c4: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 80070c8: f8df 80ac ldr.w r8, [pc, #172] ; 8007178 - 80070cc: f898 3118 ldrb.w r3, [r8, #280] ; 0x118 - 80070d0: 2b02 cmp r3, #2 - 80070d2: 4606 mov r6, r0 - 80070d4: 460d mov r5, r1 - 80070d6: d002 beq.n 80070de - 80070d8: 4b28 ldr r3, [pc, #160] ; (800717c ) - 80070da: 6adb ldr r3, [r3, #44] ; 0x2c - 80070dc: 4798 blx r3 - 80070de: f002 fde9 bl 8009cb4 - 80070e2: 4604 mov r4, r0 - 80070e4: b128 cbz r0, 80070f2 - 80070e6: 2002 movs r0, #2 - 80070e8: f002 fdda bl 8009ca0 - 80070ec: 2000 movs r0, #0 - 80070ee: f002 fddc bl 8009caa - 80070f2: f898 3118 ldrb.w r3, [r8, #280] ; 0x118 - 80070f6: 2b01 cmp r3, #1 - 80070f8: d117 bne.n 800712a - 80070fa: f002 fddd bl 8009cb8 - 80070fe: 4607 mov r7, r0 - 8007100: b130 cbz r0, 8007110 - 8007102: 2000 movs r0, #0 - 8007104: f002 fdcd bl 8009ca2 - 8007108: 2000 movs r0, #0 - 800710a: f002 fdcf bl 8009cac - 800710e: 463c mov r4, r7 - 8007110: f002 fdd4 bl 8009cbc - 8007114: b148 cbz r0, 800712a - 8007116: 2000 movs r0, #0 - 8007118: f002 fdc4 bl 8009ca4 - 800711c: 2000 movs r0, #0 - 800711e: f002 fdc6 bl 8009cae - 8007122: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 8007126: f7ff bf65 b.w 8006ff4 - 800712a: 2c00 cmp r4, #0 - 800712c: d1f9 bne.n 8007122 - 800712e: 4c14 ldr r4, [pc, #80] ; (8007180 ) - 8007130: f894 2490 ldrb.w r2, [r4, #1168] ; 0x490 - 8007134: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a - 8007138: b9ba cbnz r2, 800716a - 800713a: b10b cbz r3, 8007140 - 800713c: f884 6441 strb.w r6, [r4, #1089] ; 0x441 - 8007140: 4630 mov r0, r6 - 8007142: f002 ff65 bl 800a010 - 8007146: f8d8 002c ldr.w r0, [r8, #44] ; 0x2c - 800714a: f007 fead bl 800eea8 - 800714e: f8d4 33b4 ldr.w r3, [r4, #948] ; 0x3b4 - 8007152: 4298 cmp r0, r3 - 8007154: d3e5 bcc.n 8007122 - 8007156: 480b ldr r0, [pc, #44] ; (8007184 ) - 8007158: f007 fee0 bl 800ef1c - 800715c: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 8007160: f043 0310 orr.w r3, r3, #16 - 8007164: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 8007168: e7db b.n 8007122 - 800716a: b10b cbz r3, 8007170 - 800716c: f884 5441 strb.w r5, [r4, #1089] ; 0x441 - 8007170: 4628 mov r0, r5 - 8007172: f002 ff4d bl 800a010 - 8007176: e7f1 b.n 800715c - 8007178: 20000c00 .word 0x20000c00 - 800717c: 080101cc .word 0x080101cc - 8007180: 200011c8 .word 0x200011c8 - 8007184: 20001560 .word 0x20001560 +08006cfc : + 8006cfc: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8006d00: f8df 80ac ldr.w r8, [pc, #172] ; 8006db0 + 8006d04: f898 3118 ldrb.w r3, [r8, #280] ; 0x118 + 8006d08: 2b02 cmp r3, #2 + 8006d0a: 4606 mov r6, r0 + 8006d0c: 460d mov r5, r1 + 8006d0e: d002 beq.n 8006d16 + 8006d10: 4b28 ldr r3, [pc, #160] ; (8006db4 ) + 8006d12: 6adb ldr r3, [r3, #44] ; 0x2c + 8006d14: 4798 blx r3 + 8006d16: f002 fde9 bl 80098ec + 8006d1a: 4604 mov r4, r0 + 8006d1c: b128 cbz r0, 8006d2a + 8006d1e: 2002 movs r0, #2 + 8006d20: f002 fdda bl 80098d8 + 8006d24: 2000 movs r0, #0 + 8006d26: f002 fddc bl 80098e2 + 8006d2a: f898 3118 ldrb.w r3, [r8, #280] ; 0x118 + 8006d2e: 2b01 cmp r3, #1 + 8006d30: d117 bne.n 8006d62 + 8006d32: f002 fddd bl 80098f0 + 8006d36: 4607 mov r7, r0 + 8006d38: b130 cbz r0, 8006d48 + 8006d3a: 2000 movs r0, #0 + 8006d3c: f002 fdcd bl 80098da + 8006d40: 2000 movs r0, #0 + 8006d42: f002 fdcf bl 80098e4 + 8006d46: 463c mov r4, r7 + 8006d48: f002 fdd4 bl 80098f4 + 8006d4c: b148 cbz r0, 8006d62 + 8006d4e: 2000 movs r0, #0 + 8006d50: f002 fdc4 bl 80098dc + 8006d54: 2000 movs r0, #0 + 8006d56: f002 fdc6 bl 80098e6 + 8006d5a: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 8006d5e: f7ff bf65 b.w 8006c2c + 8006d62: 2c00 cmp r4, #0 + 8006d64: d1f9 bne.n 8006d5a + 8006d66: 4c14 ldr r4, [pc, #80] ; (8006db8 ) + 8006d68: f894 2490 ldrb.w r2, [r4, #1168] ; 0x490 + 8006d6c: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a + 8006d70: b9ba cbnz r2, 8006da2 + 8006d72: b10b cbz r3, 8006d78 + 8006d74: f884 6441 strb.w r6, [r4, #1089] ; 0x441 + 8006d78: 4630 mov r0, r6 + 8006d7a: f002 ff65 bl 8009c48 + 8006d7e: f8d8 002c ldr.w r0, [r8, #44] ; 0x2c + 8006d82: f007 fead bl 800eae0 + 8006d86: f8d4 33b4 ldr.w r3, [r4, #948] ; 0x3b4 + 8006d8a: 4298 cmp r0, r3 + 8006d8c: d3e5 bcc.n 8006d5a + 8006d8e: 480b ldr r0, [pc, #44] ; (8006dbc ) + 8006d90: f007 fee0 bl 800eb54 + 8006d94: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8006d98: f043 0310 orr.w r3, r3, #16 + 8006d9c: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8006da0: e7db b.n 8006d5a + 8006da2: b10b cbz r3, 8006da8 + 8006da4: f884 5441 strb.w r5, [r4, #1089] ; 0x441 + 8006da8: 4628 mov r0, r5 + 8006daa: f002 ff4d bl 8009c48 + 8006dae: e7f1 b.n 8006d94 + 8006db0: 20000c00 .word 0x20000c00 + 8006db4: 0800fa0c .word 0x0800fa0c + 8006db8: 200011c8 .word 0x200011c8 + 8006dbc: 20001560 .word 0x20001560 -08007188 : - 8007188: b573 push {r0, r1, r4, r5, r6, lr} - 800718a: 4c16 ldr r4, [pc, #88] ; (80071e4 ) - 800718c: 4d16 ldr r5, [pc, #88] ; (80071e8 ) - 800718e: f504 767a add.w r6, r4, #1000 ; 0x3e8 - 8007192: 6ceb ldr r3, [r5, #76] ; 0x4c - 8007194: f895 2050 ldrb.w r2, [r5, #80] ; 0x50 - 8007198: f995 1078 ldrsb.w r1, [r5, #120] ; 0x78 - 800719c: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 80071a0: 9600 str r6, [sp, #0] - 80071a2: f003 fc31 bl 800aa08 - 80071a6: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 - 80071aa: f884 33fc strb.w r3, [r4, #1020] ; 0x3fc - 80071ae: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 80071b2: f240 2301 movw r3, #513 ; 0x201 - 80071b6: f204 4224 addw r2, r4, #1060 ; 0x424 - 80071ba: 4631 mov r1, r6 - 80071bc: f8a4 33fa strh.w r3, [r4, #1018] ; 0x3fa - 80071c0: f003 fc2e bl 800aa20 - 80071c4: b158 cbz r0, 80071de - 80071c6: f894 3424 ldrb.w r3, [r4, #1060] ; 0x424 - 80071ca: f884 346a strb.w r3, [r4, #1130] ; 0x46a - 80071ce: 4b07 ldr r3, [pc, #28] ; (80071ec ) - 80071d0: 2000 movs r0, #0 - 80071d2: 6b5b ldr r3, [r3, #52] ; 0x34 - 80071d4: 4798 blx r3 - 80071d6: f894 33fb ldrb.w r3, [r4, #1019] ; 0x3fb - 80071da: f884 3490 strb.w r3, [r4, #1168] ; 0x490 - 80071de: b002 add sp, #8 - 80071e0: bd70 pop {r4, r5, r6, pc} - 80071e2: bf00 nop - 80071e4: 200011c8 .word 0x200011c8 - 80071e8: 20000c00 .word 0x20000c00 - 80071ec: 080101cc .word 0x080101cc +08006dc0 : + 8006dc0: b573 push {r0, r1, r4, r5, r6, lr} + 8006dc2: 4c16 ldr r4, [pc, #88] ; (8006e1c ) + 8006dc4: 4d16 ldr r5, [pc, #88] ; (8006e20 ) + 8006dc6: f504 767a add.w r6, r4, #1000 ; 0x3e8 + 8006dca: 6ceb ldr r3, [r5, #76] ; 0x4c + 8006dcc: f895 2050 ldrb.w r2, [r5, #80] ; 0x50 + 8006dd0: f995 1078 ldrsb.w r1, [r5, #120] ; 0x78 + 8006dd4: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 8006dd8: 9600 str r6, [sp, #0] + 8006dda: f003 fc31 bl 800a640 + 8006dde: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 + 8006de2: f884 33fc strb.w r3, [r4, #1020] ; 0x3fc + 8006de6: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 8006dea: f240 2301 movw r3, #513 ; 0x201 + 8006dee: f204 4224 addw r2, r4, #1060 ; 0x424 + 8006df2: 4631 mov r1, r6 + 8006df4: f8a4 33fa strh.w r3, [r4, #1018] ; 0x3fa + 8006df8: f003 fc2e bl 800a658 + 8006dfc: b158 cbz r0, 8006e16 + 8006dfe: f894 3424 ldrb.w r3, [r4, #1060] ; 0x424 + 8006e02: f884 346a strb.w r3, [r4, #1130] ; 0x46a + 8006e06: 4b07 ldr r3, [pc, #28] ; (8006e24 ) + 8006e08: 2000 movs r0, #0 + 8006e0a: 6b5b ldr r3, [r3, #52] ; 0x34 + 8006e0c: 4798 blx r3 + 8006e0e: f894 33fb ldrb.w r3, [r4, #1019] ; 0x3fb + 8006e12: f884 3490 strb.w r3, [r4, #1168] ; 0x490 + 8006e16: b002 add sp, #8 + 8006e18: bd70 pop {r4, r5, r6, pc} + 8006e1a: bf00 nop + 8006e1c: 200011c8 .word 0x200011c8 + 8006e20: 20000c00 .word 0x20000c00 + 8006e24: 0800fa0c .word 0x0800fa0c -080071f0 : - 80071f0: 4a07 ldr r2, [pc, #28] ; (8007210 ) - 80071f2: b510 push {r4, lr} - 80071f4: 7813 ldrb r3, [r2, #0] - 80071f6: f043 0302 orr.w r3, r3, #2 - 80071fa: 7013 strb r3, [r2, #0] - 80071fc: f7ff ff08 bl 8007010 - 8007200: e8bd 4010 ldmia.w sp!, {r4, lr} - 8007204: 4b03 ldr r3, [pc, #12] ; (8007214 ) - 8007206: 2201 movs r2, #1 - 8007208: 2100 movs r1, #0 - 800720a: 2002 movs r0, #2 - 800720c: f007 bb58 b.w 800e8c0 - 8007210: 200011c4 .word 0x200011c4 - 8007214: 0800fa95 .word 0x0800fa95 +08006e28 : + 8006e28: 4a07 ldr r2, [pc, #28] ; (8006e48 ) + 8006e2a: b510 push {r4, lr} + 8006e2c: 7813 ldrb r3, [r2, #0] + 8006e2e: f043 0302 orr.w r3, r3, #2 + 8006e32: 7013 strb r3, [r2, #0] + 8006e34: f7ff ff08 bl 8006c48 + 8006e38: e8bd 4010 ldmia.w sp!, {r4, lr} + 8006e3c: 4b03 ldr r3, [pc, #12] ; (8006e4c ) + 8006e3e: 2201 movs r2, #1 + 8006e40: 2100 movs r1, #0 + 8006e42: 2002 movs r0, #2 + 8006e44: f007 bb58 b.w 800e4f8 + 8006e48: 200011c4 .word 0x200011c4 + 8006e4c: 0800f2d1 .word 0x0800f2d1 -08007218 : - 8007218: 4a07 ldr r2, [pc, #28] ; (8007238 ) - 800721a: b510 push {r4, lr} - 800721c: 7813 ldrb r3, [r2, #0] - 800721e: f043 0308 orr.w r3, r3, #8 - 8007222: 7013 strb r3, [r2, #0] - 8007224: f7ff fef4 bl 8007010 - 8007228: e8bd 4010 ldmia.w sp!, {r4, lr} - 800722c: 4b03 ldr r3, [pc, #12] ; (800723c ) - 800722e: 2201 movs r2, #1 - 8007230: 2100 movs r1, #0 - 8007232: 2002 movs r0, #2 - 8007234: f007 bb44 b.w 800e8c0 - 8007238: 200011c4 .word 0x200011c4 - 800723c: 0800faa5 .word 0x0800faa5 +08006e50 : + 8006e50: 4a07 ldr r2, [pc, #28] ; (8006e70 ) + 8006e52: b510 push {r4, lr} + 8006e54: 7813 ldrb r3, [r2, #0] + 8006e56: f043 0308 orr.w r3, r3, #8 + 8006e5a: 7013 strb r3, [r2, #0] + 8006e5c: f7ff fef4 bl 8006c48 + 8006e60: e8bd 4010 ldmia.w sp!, {r4, lr} + 8006e64: 4b03 ldr r3, [pc, #12] ; (8006e74 ) + 8006e66: 2201 movs r2, #1 + 8006e68: 2100 movs r1, #0 + 8006e6a: 2002 movs r0, #2 + 8006e6c: f007 bb44 b.w 800e4f8 + 8006e70: 200011c4 .word 0x200011c4 + 8006e74: 0800f2e1 .word 0x0800f2e1 -08007240 : - 8007240: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8007244: 460f mov r7, r1 - 8007246: 4616 mov r6, r2 - 8007248: 461d mov r5, r3 - 800724a: 4680 mov r8, r0 - 800724c: f007 fe22 bl 800ee94 - 8007250: 4a0b ldr r2, [pc, #44] ; (8007280 ) - 8007252: 4c0c ldr r4, [pc, #48] ; (8007284 ) - 8007254: 7813 ldrb r3, [r2, #0] - 8007256: 8127 strh r7, [r4, #8] - 8007258: f023 0311 bic.w r3, r3, #17 - 800725c: f043 0311 orr.w r3, r3, #17 - 8007260: 7013 strb r3, [r2, #0] - 8007262: e9c4 0800 strd r0, r8, [r4] - 8007266: 8166 strh r6, [r4, #10] - 8007268: 7325 strb r5, [r4, #12] - 800726a: f7ff fed1 bl 8007010 - 800726e: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 8007272: 4b05 ldr r3, [pc, #20] ; (8007288 ) - 8007274: 2201 movs r2, #1 - 8007276: 2100 movs r1, #0 - 8007278: 2002 movs r0, #2 - 800727a: f007 bb21 b.w 800e8c0 - 800727e: bf00 nop - 8007280: 200011c4 .word 0x200011c4 - 8007284: 20001774 .word 0x20001774 - 8007288: 0800fab5 .word 0x0800fab5 +08006e78 : + 8006e78: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8006e7c: 460f mov r7, r1 + 8006e7e: 4616 mov r6, r2 + 8006e80: 461d mov r5, r3 + 8006e82: 4680 mov r8, r0 + 8006e84: f007 fe22 bl 800eacc + 8006e88: 4a0b ldr r2, [pc, #44] ; (8006eb8 ) + 8006e8a: 4c0c ldr r4, [pc, #48] ; (8006ebc ) + 8006e8c: 7813 ldrb r3, [r2, #0] + 8006e8e: 8127 strh r7, [r4, #8] + 8006e90: f023 0311 bic.w r3, r3, #17 + 8006e94: f043 0311 orr.w r3, r3, #17 + 8006e98: 7013 strb r3, [r2, #0] + 8006e9a: e9c4 0800 strd r0, r8, [r4] + 8006e9e: 8166 strh r6, [r4, #10] + 8006ea0: 7325 strb r5, [r4, #12] + 8006ea2: f7ff fed1 bl 8006c48 + 8006ea6: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 8006eaa: 4b05 ldr r3, [pc, #20] ; (8006ec0 ) + 8006eac: 2201 movs r2, #1 + 8006eae: 2100 movs r1, #0 + 8006eb0: 2002 movs r0, #2 + 8006eb2: f007 bb21 b.w 800e4f8 + 8006eb6: bf00 nop + 8006eb8: 200011c4 .word 0x200011c4 + 8006ebc: 20001774 .word 0x20001774 + 8006ec0: 0800f2f1 .word 0x0800f2f1 -0800728c : - 800728c: b513 push {r0, r1, r4, lr} - 800728e: f007 fe01 bl 800ee94 - 8007292: 4b0d ldr r3, [pc, #52] ; (80072c8 ) - 8007294: 466c mov r4, sp - 8007296: 6018 str r0, [r3, #0] - 8007298: 4620 mov r0, r4 - 800729a: f007 fd4f bl 800ed3c - 800729e: e894 0003 ldmia.w r4, {r0, r1} - 80072a2: 4a0a ldr r2, [pc, #40] ; (80072cc ) - 80072a4: 4b0a ldr r3, [pc, #40] ; (80072d0 ) - 80072a6: e883 0003 stmia.w r3, {r0, r1} - 80072aa: 7813 ldrb r3, [r2, #0] - 80072ac: f043 0320 orr.w r3, r3, #32 - 80072b0: 7013 strb r3, [r2, #0] - 80072b2: f7ff fead bl 8007010 - 80072b6: 4b07 ldr r3, [pc, #28] ; (80072d4 ) - 80072b8: 2201 movs r2, #1 - 80072ba: 2100 movs r1, #0 - 80072bc: 2002 movs r0, #2 - 80072be: b002 add sp, #8 - 80072c0: e8bd 4010 ldmia.w sp!, {r4, lr} - 80072c4: f007 bafc b.w 800e8c0 - 80072c8: 20001784 .word 0x20001784 - 80072cc: 200011c4 .word 0x200011c4 - 80072d0: 20001500 .word 0x20001500 - 80072d4: 0800fac2 .word 0x0800fac2 +08006ec4 : + 8006ec4: b513 push {r0, r1, r4, lr} + 8006ec6: f007 fe01 bl 800eacc + 8006eca: 4b0d ldr r3, [pc, #52] ; (8006f00 ) + 8006ecc: 466c mov r4, sp + 8006ece: 6018 str r0, [r3, #0] + 8006ed0: 4620 mov r0, r4 + 8006ed2: f007 fd4f bl 800e974 + 8006ed6: e894 0003 ldmia.w r4, {r0, r1} + 8006eda: 4a0a ldr r2, [pc, #40] ; (8006f04 ) + 8006edc: 4b0a ldr r3, [pc, #40] ; (8006f08 ) + 8006ede: e883 0003 stmia.w r3, {r0, r1} + 8006ee2: 7813 ldrb r3, [r2, #0] + 8006ee4: f043 0320 orr.w r3, r3, #32 + 8006ee8: 7013 strb r3, [r2, #0] + 8006eea: f7ff fead bl 8006c48 + 8006eee: 4b07 ldr r3, [pc, #28] ; (8006f0c ) + 8006ef0: 2201 movs r2, #1 + 8006ef2: 2100 movs r1, #0 + 8006ef4: 2002 movs r0, #2 + 8006ef6: b002 add sp, #8 + 8006ef8: e8bd 4010 ldmia.w sp!, {r4, lr} + 8006efc: f007 bafc b.w 800e4f8 + 8006f00: 20001784 .word 0x20001784 + 8006f04: 200011c4 .word 0x200011c4 + 8006f08: 20001500 .word 0x20001500 + 8006f0c: 0800f2fe .word 0x0800f2fe -080072d8 : - 80072d8: b5f8 push {r3, r4, r5, r6, r7, lr} - 80072da: 4d33 ldr r5, [pc, #204] ; (80073a8 ) - 80072dc: f895 4118 ldrb.w r4, [r5, #280] ; 0x118 - 80072e0: 2c01 cmp r4, #1 - 80072e2: 4606 mov r6, r0 - 80072e4: d04b beq.n 800737e - 80072e6: 2c02 cmp r4, #2 - 80072e8: d051 beq.n 800738e - 80072ea: b964 cbnz r4, 8007306 - 80072ec: b938 cbnz r0, 80072fe - 80072ee: e9d5 011b ldrd r0, r1, [r5, #108] ; 0x6c - 80072f2: f105 0374 add.w r3, r5, #116 ; 0x74 - 80072f6: e883 0003 stmia.w r3, {r0, r1} - 80072fa: 4620 mov r0, r4 - 80072fc: bdf8 pop {r3, r4, r5, r6, r7, pc} - 80072fe: 2801 cmp r0, #1 - 8007300: d03d beq.n 800737e - 8007302: 2802 cmp r0, #2 - 8007304: d001 beq.n 800730a - 8007306: 2403 movs r4, #3 - 8007308: e7f7 b.n 80072fa - 800730a: 4f28 ldr r7, [pc, #160] ; (80073ac ) - 800730c: f885 0118 strb.w r0, [r5, #280] ; 0x118 - 8007310: f507 7e74 add.w lr, r7, #976 ; 0x3d0 - 8007314: e8be 000f ldmia.w lr!, {r0, r1, r2, r3} - 8007318: f507 7c7a add.w ip, r7, #1000 ; 0x3e8 - 800731c: e8ac 000f stmia.w ip!, {r0, r1, r2, r3} - 8007320: e89e 0003 ldmia.w lr, {r0, r1} - 8007324: f895 30e9 ldrb.w r3, [r5, #233] ; 0xe9 - 8007328: e88c 0003 stmia.w ip, {r0, r1} - 800732c: f887 63fb strb.w r6, [r7, #1019] ; 0x3fb - 8007330: b1e3 cbz r3, 800736c - 8007332: f895 3100 ldrb.w r3, [r5, #256] ; 0x100 - 8007336: 2b02 cmp r3, #2 - 8007338: d118 bne.n 800736c - 800733a: f8d5 3104 ldr.w r3, [r5, #260] ; 0x104 - 800733e: 676b str r3, [r5, #116] ; 0x74 - 8007340: f8c7 33ec str.w r3, [r7, #1004] ; 0x3ec - 8007344: f895 307d ldrb.w r3, [r5, #125] ; 0x7d - 8007348: f895 2108 ldrb.w r2, [r5, #264] ; 0x108 - 800734c: f887 33f8 strb.w r3, [r7, #1016] ; 0x3f8 - 8007350: f895 308c ldrb.w r3, [r5, #140] ; 0x8c - 8007354: f885 2078 strb.w r2, [r5, #120] ; 0x78 - 8007358: f887 33f9 strb.w r3, [r7, #1017] ; 0x3f9 - 800735c: f897 241b ldrb.w r2, [r7, #1051] ; 0x41b - 8007360: f887 23e8 strb.w r2, [r7, #1000] ; 0x3e8 - 8007364: f240 3301 movw r3, #769 ; 0x301 - 8007368: f8a7 33fa strh.w r3, [r7, #1018] ; 0x3fa - 800736c: 2300 movs r3, #0 - 800736e: f887 341a strb.w r3, [r7, #1050] ; 0x41a - 8007372: 4b0f ldr r3, [pc, #60] ; (80073b0 ) - 8007374: 6adb ldr r3, [r3, #44] ; 0x2c - 8007376: 4798 blx r3 - 8007378: f7ff ff06 bl 8007188 - 800737c: e7bd b.n 80072fa - 800737e: f002 fca4 bl 8009cca - 8007382: 4604 mov r4, r0 - 8007384: 2800 cmp r0, #0 - 8007386: d1b8 bne.n 80072fa - 8007388: f885 6118 strb.w r6, [r5, #280] ; 0x118 - 800738c: e7b5 b.n 80072fa - 800738e: 2800 cmp r0, #0 - 8007390: d1b9 bne.n 8007306 - 8007392: 4b06 ldr r3, [pc, #24] ; (80073ac ) - 8007394: f885 0118 strb.w r0, [r5, #280] ; 0x118 - 8007398: 2206 movs r2, #6 - 800739a: f883 2490 strb.w r2, [r3, #1168] ; 0x490 - 800739e: 4b04 ldr r3, [pc, #16] ; (80073b0 ) - 80073a0: 6adb ldr r3, [r3, #44] ; 0x2c - 80073a2: 4798 blx r3 - 80073a4: 4634 mov r4, r6 - 80073a6: e7a8 b.n 80072fa - 80073a8: 20000c00 .word 0x20000c00 - 80073ac: 200011c8 .word 0x200011c8 - 80073b0: 080101cc .word 0x080101cc +08006f10 : + 8006f10: b5f8 push {r3, r4, r5, r6, r7, lr} + 8006f12: 4d33 ldr r5, [pc, #204] ; (8006fe0 ) + 8006f14: f895 4118 ldrb.w r4, [r5, #280] ; 0x118 + 8006f18: 2c01 cmp r4, #1 + 8006f1a: 4606 mov r6, r0 + 8006f1c: d04b beq.n 8006fb6 + 8006f1e: 2c02 cmp r4, #2 + 8006f20: d051 beq.n 8006fc6 + 8006f22: b964 cbnz r4, 8006f3e + 8006f24: b938 cbnz r0, 8006f36 + 8006f26: e9d5 011b ldrd r0, r1, [r5, #108] ; 0x6c + 8006f2a: f105 0374 add.w r3, r5, #116 ; 0x74 + 8006f2e: e883 0003 stmia.w r3, {r0, r1} + 8006f32: 4620 mov r0, r4 + 8006f34: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8006f36: 2801 cmp r0, #1 + 8006f38: d03d beq.n 8006fb6 + 8006f3a: 2802 cmp r0, #2 + 8006f3c: d001 beq.n 8006f42 + 8006f3e: 2403 movs r4, #3 + 8006f40: e7f7 b.n 8006f32 + 8006f42: 4f28 ldr r7, [pc, #160] ; (8006fe4 ) + 8006f44: f885 0118 strb.w r0, [r5, #280] ; 0x118 + 8006f48: f507 7e74 add.w lr, r7, #976 ; 0x3d0 + 8006f4c: e8be 000f ldmia.w lr!, {r0, r1, r2, r3} + 8006f50: f507 7c7a add.w ip, r7, #1000 ; 0x3e8 + 8006f54: e8ac 000f stmia.w ip!, {r0, r1, r2, r3} + 8006f58: e89e 0003 ldmia.w lr, {r0, r1} + 8006f5c: f895 30e9 ldrb.w r3, [r5, #233] ; 0xe9 + 8006f60: e88c 0003 stmia.w ip, {r0, r1} + 8006f64: f887 63fb strb.w r6, [r7, #1019] ; 0x3fb + 8006f68: b1e3 cbz r3, 8006fa4 + 8006f6a: f895 3100 ldrb.w r3, [r5, #256] ; 0x100 + 8006f6e: 2b02 cmp r3, #2 + 8006f70: d118 bne.n 8006fa4 + 8006f72: f8d5 3104 ldr.w r3, [r5, #260] ; 0x104 + 8006f76: 676b str r3, [r5, #116] ; 0x74 + 8006f78: f8c7 33ec str.w r3, [r7, #1004] ; 0x3ec + 8006f7c: f895 307d ldrb.w r3, [r5, #125] ; 0x7d + 8006f80: f895 2108 ldrb.w r2, [r5, #264] ; 0x108 + 8006f84: f887 33f8 strb.w r3, [r7, #1016] ; 0x3f8 + 8006f88: f895 308c ldrb.w r3, [r5, #140] ; 0x8c + 8006f8c: f885 2078 strb.w r2, [r5, #120] ; 0x78 + 8006f90: f887 33f9 strb.w r3, [r7, #1017] ; 0x3f9 + 8006f94: f897 241b ldrb.w r2, [r7, #1051] ; 0x41b + 8006f98: f887 23e8 strb.w r2, [r7, #1000] ; 0x3e8 + 8006f9c: f240 3301 movw r3, #769 ; 0x301 + 8006fa0: f8a7 33fa strh.w r3, [r7, #1018] ; 0x3fa + 8006fa4: 2300 movs r3, #0 + 8006fa6: f887 341a strb.w r3, [r7, #1050] ; 0x41a + 8006faa: 4b0f ldr r3, [pc, #60] ; (8006fe8 ) + 8006fac: 6adb ldr r3, [r3, #44] ; 0x2c + 8006fae: 4798 blx r3 + 8006fb0: f7ff ff06 bl 8006dc0 + 8006fb4: e7bd b.n 8006f32 + 8006fb6: f002 fca4 bl 8009902 + 8006fba: 4604 mov r4, r0 + 8006fbc: 2800 cmp r0, #0 + 8006fbe: d1b8 bne.n 8006f32 + 8006fc0: f885 6118 strb.w r6, [r5, #280] ; 0x118 + 8006fc4: e7b5 b.n 8006f32 + 8006fc6: 2800 cmp r0, #0 + 8006fc8: d1b9 bne.n 8006f3e + 8006fca: 4b06 ldr r3, [pc, #24] ; (8006fe4 ) + 8006fcc: f885 0118 strb.w r0, [r5, #280] ; 0x118 + 8006fd0: 2206 movs r2, #6 + 8006fd2: f883 2490 strb.w r2, [r3, #1168] ; 0x490 + 8006fd6: 4b04 ldr r3, [pc, #16] ; (8006fe8 ) + 8006fd8: 6adb ldr r3, [r3, #44] ; 0x2c + 8006fda: 4798 blx r3 + 8006fdc: 4634 mov r4, r6 + 8006fde: e7a8 b.n 8006f32 + 8006fe0: 20000c00 .word 0x20000c00 + 8006fe4: 200011c8 .word 0x200011c8 + 8006fe8: 0800fa0c .word 0x0800fa0c -080073b4 : - 80073b4: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 80073b8: b092 sub sp, #72 ; 0x48 - 80073ba: 4606 mov r6, r0 - 80073bc: f002 fc7a bl 8009cb4 - 80073c0: 2800 cmp r0, #0 - 80073c2: f040 8159 bne.w 8007678 - 80073c6: 4dad ldr r5, [pc, #692] ; (800767c ) - 80073c8: f895 3118 ldrb.w r3, [r5, #280] ; 0x118 - 80073cc: 2b01 cmp r3, #1 - 80073ce: d009 beq.n 80073e4 - 80073d0: 6b2b ldr r3, [r5, #48] ; 0x30 - 80073d2: 4cab ldr r4, [pc, #684] ; (8007680 ) - 80073d4: b193 cbz r3, 80073fc - 80073d6: f894 3104 ldrb.w r3, [r4, #260] ; 0x104 - 80073da: b1bb cbz r3, 800740c - 80073dc: 2b04 cmp r3, #4 - 80073de: d06f beq.n 80074c0 - 80073e0: 2003 movs r0, #3 - 80073e2: e003 b.n 80073ec - 80073e4: f002 fc68 bl 8009cb8 - 80073e8: b118 cbz r0, 80073f2 - 80073ea: 200f movs r0, #15 - 80073ec: b012 add sp, #72 ; 0x48 - 80073ee: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 80073f2: f002 fc63 bl 8009cbc - 80073f6: 2800 cmp r0, #0 - 80073f8: d0ea beq.n 80073d0 - 80073fa: e7f6 b.n 80073ea - 80073fc: f8b5 3120 ldrh.w r3, [r5, #288] ; 0x120 - 8007400: f8d4 241c ldr.w r2, [r4, #1052] ; 0x41c - 8007404: 3b01 subs r3, #1 - 8007406: 4353 muls r3, r2 - 8007408: 632b str r3, [r5, #48] ; 0x30 - 800740a: e7e4 b.n 80073d6 - 800740c: 489d ldr r0, [pc, #628] ; (8007684 ) - 800740e: f003 fa0c bl 800a82a - 8007412: 2800 cmp r0, #0 - 8007414: f040 812c bne.w 8007670 - 8007418: f894 310c ldrb.w r3, [r4, #268] ; 0x10c - 800741c: 8023 strh r3, [r4, #0] - 800741e: 6b2b ldr r3, [r5, #48] ; 0x30 - 8007420: 930c str r3, [sp, #48] ; 0x30 - 8007422: f10d 0818 add.w r8, sp, #24 - 8007426: f895 3039 ldrb.w r3, [r5, #57] ; 0x39 - 800742a: f88d 3038 strb.w r3, [sp, #56] ; 0x38 - 800742e: 4640 mov r0, r8 - 8007430: f895 311c ldrb.w r3, [r5, #284] ; 0x11c - 8007434: f88d 303a strb.w r3, [sp, #58] ; 0x3a - 8007438: f007 fca6 bl 800ed88 - 800743c: f8d5 3128 ldr.w r3, [r5, #296] ; 0x128 - 8007440: 9300 str r3, [sp, #0] - 8007442: af02 add r7, sp, #8 - 8007444: e898 0006 ldmia.w r8, {r1, r2} - 8007448: f8d5 3124 ldr.w r3, [r5, #292] ; 0x124 - 800744c: 4638 mov r0, r7 - 800744e: f007 fc32 bl 800ecb6 - 8007452: e897 0003 ldmia.w r7, {r0, r1} - 8007456: ab0f add r3, sp, #60 ; 0x3c - 8007458: e883 0003 stmia.w r3, {r0, r1} - 800745c: 6aeb ldr r3, [r5, #44] ; 0x2c - 800745e: 930d str r3, [sp, #52] ; 0x34 - 8007460: 2300 movs r3, #0 - 8007462: f88d 3044 strb.w r3, [sp, #68] ; 0x44 - 8007466: 8823 ldrh r3, [r4, #0] - 8007468: f8ad 3046 strh.w r3, [sp, #70] ; 0x46 - 800746c: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 - 8007470: 2201 movs r2, #1 - 8007472: f88d 2039 strb.w r2, [sp, #57] ; 0x39 - 8007476: b91b cbnz r3, 8007480 - 8007478: f88d 2044 strb.w r2, [sp, #68] ; 0x44 - 800747c: f88d 3039 strb.w r3, [sp, #57] ; 0x39 - 8007480: 4b81 ldr r3, [pc, #516] ; (8007688 ) - 8007482: 9300 str r3, [sp, #0] - 8007484: 4b81 ldr r3, [pc, #516] ; (800768c ) - 8007486: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 800748a: f1a3 0279 sub.w r2, r3, #121 ; 0x79 - 800748e: a90c add r1, sp, #48 ; 0x30 - 8007490: f003 fb09 bl 800aaa6 - 8007494: b1c0 cbz r0, 80074c8 - 8007496: 280b cmp r0, #11 - 8007498: d1a8 bne.n 80073ec - 800749a: f8d4 1494 ldr.w r1, [r4, #1172] ; 0x494 - 800749e: b199 cbz r1, 80074c8 - 80074a0: 2e00 cmp r6, #0 - 80074a2: d0a3 beq.n 80073ec - 80074a4: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 - 80074a8: 4879 ldr r0, [pc, #484] ; (8007690 ) - 80074aa: f043 0320 orr.w r3, r3, #32 - 80074ae: f8c4 3340 str.w r3, [r4, #832] ; 0x340 - 80074b2: f007 fdbb bl 800f02c - 80074b6: 4876 ldr r0, [pc, #472] ; (8007690 ) - 80074b8: f007 fd7e bl 800efb8 - 80074bc: 2000 movs r0, #0 - 80074be: e795 b.n 80073ec - 80074c0: 4870 ldr r0, [pc, #448] ; (8007684 ) - 80074c2: f003 f9e6 bl 800a892 - 80074c6: e7a4 b.n 8007412 - 80074c8: f895 7048 ldrb.w r7, [r5, #72] ; 0x48 - 80074cc: f995 3069 ldrsb.w r3, [r5, #105] ; 0x69 - 80074d0: f995 2039 ldrsb.w r2, [r5, #57] ; 0x39 - 80074d4: f895 107d ldrb.w r1, [r5, #125] ; 0x7d - 80074d8: 4e6e ldr r6, [pc, #440] ; (8007694 ) - 80074da: 4638 mov r0, r7 - 80074dc: f003 faf0 bl 800aac0 - 80074e0: 9600 str r6, [sp, #0] - 80074e2: b241 sxtb r1, r0 - 80074e4: 6ceb ldr r3, [r5, #76] ; 0x4c - 80074e6: f895 2050 ldrb.w r2, [r5, #80] ; 0x50 - 80074ea: 4638 mov r0, r7 - 80074ec: 3618 adds r6, #24 - 80074ee: f003 fa8b bl 800aa08 - 80074f2: 9600 str r6, [sp, #0] - 80074f4: 6ceb ldr r3, [r5, #76] ; 0x4c - 80074f6: f895 2050 ldrb.w r2, [r5, #80] ; 0x50 - 80074fa: f995 1070 ldrsb.w r1, [r5, #112] ; 0x70 - 80074fe: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 8007502: f003 fa81 bl 800aa08 - 8007506: f8d4 13c4 ldr.w r1, [r4, #964] ; 0x3c4 - 800750a: 6dab ldr r3, [r5, #88] ; 0x58 - 800750c: f8d4 23dc ldr.w r2, [r4, #988] ; 0x3dc - 8007510: 440b add r3, r1 - 8007512: f8c4 33b0 str.w r3, [r4, #944] ; 0x3b0 - 8007516: 6deb ldr r3, [r5, #92] ; 0x5c - 8007518: 4413 add r3, r2 - 800751a: f8c4 33b4 str.w r3, [r4, #948] ; 0x3b4 - 800751e: f894 3104 ldrb.w r3, [r4, #260] ; 0x104 - 8007522: 2b04 cmp r3, #4 - 8007524: d007 beq.n 8007536 - 8007526: 6e2b ldr r3, [r5, #96] ; 0x60 - 8007528: 440b add r3, r1 - 800752a: f8c4 33b0 str.w r3, [r4, #944] ; 0x3b0 - 800752e: 6e6b ldr r3, [r5, #100] ; 0x64 - 8007530: 4413 add r3, r2 - 8007532: f8c4 33b4 str.w r3, [r4, #948] ; 0x3b4 - 8007536: 2300 movs r3, #0 - 8007538: 9308 str r3, [sp, #32] - 800753a: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 - 800753e: b183 cbz r3, 8007562 - 8007540: a808 add r0, sp, #32 - 8007542: f002 fc95 bl 8009e70 - 8007546: 2800 cmp r0, #0 - 8007548: d14e bne.n 80075e8 - 800754a: f995 0039 ldrsb.w r0, [r5, #57] ; 0x39 - 800754e: f894 6237 ldrb.w r6, [r4, #567] ; 0x237 - 8007552: f89d 7020 ldrb.w r7, [sp, #32] - 8007556: f7ff fd6f bl 8007038 - 800755a: 443e add r6, r7 - 800755c: b280 uxth r0, r0 - 800755e: 42b0 cmp r0, r6 - 8007560: d340 bcc.n 80075e4 - 8007562: 2300 movs r3, #0 - 8007564: f88d 3013 strb.w r3, [sp, #19] - 8007568: f895 3039 ldrb.w r3, [r5, #57] ; 0x39 - 800756c: f88d 3021 strb.w r3, [sp, #33] ; 0x21 - 8007570: f895 3038 ldrb.w r3, [r5, #56] ; 0x38 - 8007574: f88d 3022 strb.w r3, [sp, #34] ; 0x22 - 8007578: f8d5 3080 ldr.w r3, [r5, #128] ; 0x80 - 800757c: 9309 str r3, [sp, #36] ; 0x24 - 800757e: f8d5 3084 ldr.w r3, [r5, #132] ; 0x84 - 8007582: 930a str r3, [sp, #40] ; 0x28 - 8007584: 8823 ldrh r3, [r4, #0] - 8007586: f8ad 302c strh.w r3, [sp, #44] ; 0x2c - 800758a: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 - 800758e: f894 641b ldrb.w r6, [r4, #1051] ; 0x41b - 8007592: f88d 302e strb.w r3, [sp, #46] ; 0x2e - 8007596: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 800759a: 4b3f ldr r3, [pc, #252] ; (8007698 ) - 800759c: f88d 6020 strb.w r6, [sp, #32] - 80075a0: f10d 0213 add.w r2, sp, #19 - 80075a4: a908 add r1, sp, #32 - 80075a6: f003 fa43 bl 800aa30 - 80075aa: 2301 movs r3, #1 - 80075ac: f884 3441 strb.w r3, [r4, #1089] ; 0x441 - 80075b0: f895 3039 ldrb.w r3, [r5, #57] ; 0x39 - 80075b4: f884 3442 strb.w r3, [r4, #1090] ; 0x442 - 80075b8: f89d 3013 ldrb.w r3, [sp, #19] - 80075bc: f884 3443 strb.w r3, [r4, #1091] ; 0x443 - 80075c0: f8d4 341c ldr.w r3, [r4, #1052] ; 0x41c - 80075c4: f8c4 6450 str.w r6, [r4, #1104] ; 0x450 - 80075c8: f8c4 3448 str.w r3, [r4, #1096] ; 0x448 - 80075cc: f8c4 3458 str.w r3, [r4, #1112] ; 0x458 - 80075d0: f002 fb76 bl 8009cc0 - 80075d4: b150 cbz r0, 80075ec - 80075d6: f8d4 041c ldr.w r0, [r4, #1052] ; 0x41c - 80075da: f002 fb83 bl 8009ce4 - 80075de: b128 cbz r0, 80075ec - 80075e0: 2010 movs r0, #16 - 80075e2: e703 b.n 80073ec - 80075e4: 2008 movs r0, #8 - 80075e6: e701 b.n 80073ec - 80075e8: 2013 movs r0, #19 - 80075ea: e6ff b.n 80073ec - 80075ec: f895 3118 ldrb.w r3, [r5, #280] ; 0x118 - 80075f0: 2b01 cmp r3, #1 - 80075f2: d101 bne.n 80075f8 - 80075f4: f002 fb78 bl 8009ce8 - 80075f8: f002 fb65 bl 8009cc6 - 80075fc: 2300 movs r3, #0 - 80075fe: 9305 str r3, [sp, #20] - 8007600: f894 3104 ldrb.w r3, [r4, #260] ; 0x104 - 8007604: f995 5039 ldrsb.w r5, [r5, #57] ; 0x39 - 8007608: f894 641b ldrb.w r6, [r4, #1051] ; 0x41b - 800760c: b19b cbz r3, 8007636 - 800760e: 2b04 cmp r3, #4 - 8007610: f47f aee6 bne.w 80073e0 - 8007614: a805 add r0, sp, #20 - 8007616: f002 fe67 bl 800a2e8 - 800761a: bb58 cbnz r0, 8007674 - 800761c: f894 3418 ldrb.w r3, [r4, #1048] ; 0x418 - 8007620: b113 cbz r3, 8007628 - 8007622: 9b05 ldr r3, [sp, #20] - 8007624: 3b01 subs r3, #1 - 8007626: 9305 str r3, [sp, #20] - 8007628: 4b16 ldr r3, [pc, #88] ; (8007684 ) - 800762a: 9805 ldr r0, [sp, #20] - 800762c: 4632 mov r2, r6 - 800762e: b2e9 uxtb r1, r5 - 8007630: f002 fec0 bl 800a3b4 - 8007634: e002 b.n 800763c - 8007636: 4813 ldr r0, [pc, #76] ; (8007684 ) - 8007638: f002 fe90 bl 800a35c - 800763c: b9c0 cbnz r0, 8007670 - 800763e: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 - 8007642: f894 110c ldrb.w r1, [r4, #268] ; 0x10c - 8007646: 8021 strh r1, [r4, #0] - 8007648: f043 0302 orr.w r3, r3, #2 - 800764c: f8c4 3340 str.w r3, [r4, #832] ; 0x340 - 8007650: f894 3418 ldrb.w r3, [r4, #1048] ; 0x418 - 8007654: 4811 ldr r0, [pc, #68] ; (800769c ) - 8007656: 3301 adds r3, #1 - 8007658: b2db uxtb r3, r3 - 800765a: f884 3418 strb.w r3, [r4, #1048] ; 0x418 - 800765e: f884 3445 strb.w r3, [r4, #1093] ; 0x445 - 8007662: 4b0f ldr r3, [pc, #60] ; (80076a0 ) - 8007664: 2500 movs r5, #0 - 8007666: 6a9b ldr r3, [r3, #40] ; 0x28 - 8007668: f8c4 5498 str.w r5, [r4, #1176] ; 0x498 - 800766c: 4798 blx r3 - 800766e: e725 b.n 80074bc - 8007670: 2011 movs r0, #17 - 8007672: e6bb b.n 80073ec - 8007674: 2012 movs r0, #18 - 8007676: e6b9 b.n 80073ec - 8007678: 200e movs r0, #14 - 800767a: e6b7 b.n 80073ec - 800767c: 20000c00 .word 0x20000c00 - 8007680: 200011c8 .word 0x200011c8 - 8007684: 200012d0 .word 0x200012d0 - 8007688: 20000c30 .word 0x20000c30 - 800768c: 2000165c .word 0x2000165c - 8007690: 20001530 .word 0x20001530 - 8007694: 20001580 .word 0x20001580 - 8007698: 200015e4 .word 0x200015e4 - 800769c: 200011ca .word 0x200011ca - 80076a0: 080101cc .word 0x080101cc +08006fec : + 8006fec: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8006ff0: b092 sub sp, #72 ; 0x48 + 8006ff2: 4606 mov r6, r0 + 8006ff4: f002 fc7a bl 80098ec + 8006ff8: 2800 cmp r0, #0 + 8006ffa: f040 8159 bne.w 80072b0 + 8006ffe: 4dad ldr r5, [pc, #692] ; (80072b4 ) + 8007000: f895 3118 ldrb.w r3, [r5, #280] ; 0x118 + 8007004: 2b01 cmp r3, #1 + 8007006: d009 beq.n 800701c + 8007008: 6b2b ldr r3, [r5, #48] ; 0x30 + 800700a: 4cab ldr r4, [pc, #684] ; (80072b8 ) + 800700c: b193 cbz r3, 8007034 + 800700e: f894 3104 ldrb.w r3, [r4, #260] ; 0x104 + 8007012: b1bb cbz r3, 8007044 + 8007014: 2b04 cmp r3, #4 + 8007016: d06f beq.n 80070f8 + 8007018: 2003 movs r0, #3 + 800701a: e003 b.n 8007024 + 800701c: f002 fc68 bl 80098f0 + 8007020: b118 cbz r0, 800702a + 8007022: 200f movs r0, #15 + 8007024: b012 add sp, #72 ; 0x48 + 8007026: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800702a: f002 fc63 bl 80098f4 + 800702e: 2800 cmp r0, #0 + 8007030: d0ea beq.n 8007008 + 8007032: e7f6 b.n 8007022 + 8007034: f8b5 3120 ldrh.w r3, [r5, #288] ; 0x120 + 8007038: f8d4 241c ldr.w r2, [r4, #1052] ; 0x41c + 800703c: 3b01 subs r3, #1 + 800703e: 4353 muls r3, r2 + 8007040: 632b str r3, [r5, #48] ; 0x30 + 8007042: e7e4 b.n 800700e + 8007044: 489d ldr r0, [pc, #628] ; (80072bc ) + 8007046: f003 fa0c bl 800a462 + 800704a: 2800 cmp r0, #0 + 800704c: f040 812c bne.w 80072a8 + 8007050: f894 310c ldrb.w r3, [r4, #268] ; 0x10c + 8007054: 8023 strh r3, [r4, #0] + 8007056: 6b2b ldr r3, [r5, #48] ; 0x30 + 8007058: 930c str r3, [sp, #48] ; 0x30 + 800705a: f10d 0818 add.w r8, sp, #24 + 800705e: f895 3039 ldrb.w r3, [r5, #57] ; 0x39 + 8007062: f88d 3038 strb.w r3, [sp, #56] ; 0x38 + 8007066: 4640 mov r0, r8 + 8007068: f895 311c ldrb.w r3, [r5, #284] ; 0x11c + 800706c: f88d 303a strb.w r3, [sp, #58] ; 0x3a + 8007070: f007 fca6 bl 800e9c0 + 8007074: f8d5 3128 ldr.w r3, [r5, #296] ; 0x128 + 8007078: 9300 str r3, [sp, #0] + 800707a: af02 add r7, sp, #8 + 800707c: e898 0006 ldmia.w r8, {r1, r2} + 8007080: f8d5 3124 ldr.w r3, [r5, #292] ; 0x124 + 8007084: 4638 mov r0, r7 + 8007086: f007 fc32 bl 800e8ee + 800708a: e897 0003 ldmia.w r7, {r0, r1} + 800708e: ab0f add r3, sp, #60 ; 0x3c + 8007090: e883 0003 stmia.w r3, {r0, r1} + 8007094: 6aeb ldr r3, [r5, #44] ; 0x2c + 8007096: 930d str r3, [sp, #52] ; 0x34 + 8007098: 2300 movs r3, #0 + 800709a: f88d 3044 strb.w r3, [sp, #68] ; 0x44 + 800709e: 8823 ldrh r3, [r4, #0] + 80070a0: f8ad 3046 strh.w r3, [sp, #70] ; 0x46 + 80070a4: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 + 80070a8: 2201 movs r2, #1 + 80070aa: f88d 2039 strb.w r2, [sp, #57] ; 0x39 + 80070ae: b91b cbnz r3, 80070b8 + 80070b0: f88d 2044 strb.w r2, [sp, #68] ; 0x44 + 80070b4: f88d 3039 strb.w r3, [sp, #57] ; 0x39 + 80070b8: 4b81 ldr r3, [pc, #516] ; (80072c0 ) + 80070ba: 9300 str r3, [sp, #0] + 80070bc: 4b81 ldr r3, [pc, #516] ; (80072c4 ) + 80070be: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 80070c2: f1a3 0279 sub.w r2, r3, #121 ; 0x79 + 80070c6: a90c add r1, sp, #48 ; 0x30 + 80070c8: f003 fb09 bl 800a6de + 80070cc: b1c0 cbz r0, 8007100 + 80070ce: 280b cmp r0, #11 + 80070d0: d1a8 bne.n 8007024 + 80070d2: f8d4 1494 ldr.w r1, [r4, #1172] ; 0x494 + 80070d6: b199 cbz r1, 8007100 + 80070d8: 2e00 cmp r6, #0 + 80070da: d0a3 beq.n 8007024 + 80070dc: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 + 80070e0: 4879 ldr r0, [pc, #484] ; (80072c8 ) + 80070e2: f043 0320 orr.w r3, r3, #32 + 80070e6: f8c4 3340 str.w r3, [r4, #832] ; 0x340 + 80070ea: f007 fdbb bl 800ec64 + 80070ee: 4876 ldr r0, [pc, #472] ; (80072c8 ) + 80070f0: f007 fd7e bl 800ebf0 + 80070f4: 2000 movs r0, #0 + 80070f6: e795 b.n 8007024 + 80070f8: 4870 ldr r0, [pc, #448] ; (80072bc ) + 80070fa: f003 f9e6 bl 800a4ca + 80070fe: e7a4 b.n 800704a + 8007100: f895 7048 ldrb.w r7, [r5, #72] ; 0x48 + 8007104: f995 3069 ldrsb.w r3, [r5, #105] ; 0x69 + 8007108: f995 2039 ldrsb.w r2, [r5, #57] ; 0x39 + 800710c: f895 107d ldrb.w r1, [r5, #125] ; 0x7d + 8007110: 4e6e ldr r6, [pc, #440] ; (80072cc ) + 8007112: 4638 mov r0, r7 + 8007114: f003 faf0 bl 800a6f8 + 8007118: 9600 str r6, [sp, #0] + 800711a: b241 sxtb r1, r0 + 800711c: 6ceb ldr r3, [r5, #76] ; 0x4c + 800711e: f895 2050 ldrb.w r2, [r5, #80] ; 0x50 + 8007122: 4638 mov r0, r7 + 8007124: 3618 adds r6, #24 + 8007126: f003 fa8b bl 800a640 + 800712a: 9600 str r6, [sp, #0] + 800712c: 6ceb ldr r3, [r5, #76] ; 0x4c + 800712e: f895 2050 ldrb.w r2, [r5, #80] ; 0x50 + 8007132: f995 1070 ldrsb.w r1, [r5, #112] ; 0x70 + 8007136: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 800713a: f003 fa81 bl 800a640 + 800713e: f8d4 13c4 ldr.w r1, [r4, #964] ; 0x3c4 + 8007142: 6dab ldr r3, [r5, #88] ; 0x58 + 8007144: f8d4 23dc ldr.w r2, [r4, #988] ; 0x3dc + 8007148: 440b add r3, r1 + 800714a: f8c4 33b0 str.w r3, [r4, #944] ; 0x3b0 + 800714e: 6deb ldr r3, [r5, #92] ; 0x5c + 8007150: 4413 add r3, r2 + 8007152: f8c4 33b4 str.w r3, [r4, #948] ; 0x3b4 + 8007156: f894 3104 ldrb.w r3, [r4, #260] ; 0x104 + 800715a: 2b04 cmp r3, #4 + 800715c: d007 beq.n 800716e + 800715e: 6e2b ldr r3, [r5, #96] ; 0x60 + 8007160: 440b add r3, r1 + 8007162: f8c4 33b0 str.w r3, [r4, #944] ; 0x3b0 + 8007166: 6e6b ldr r3, [r5, #100] ; 0x64 + 8007168: 4413 add r3, r2 + 800716a: f8c4 33b4 str.w r3, [r4, #948] ; 0x3b4 + 800716e: 2300 movs r3, #0 + 8007170: 9308 str r3, [sp, #32] + 8007172: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 + 8007176: b183 cbz r3, 800719a + 8007178: a808 add r0, sp, #32 + 800717a: f002 fc95 bl 8009aa8 + 800717e: 2800 cmp r0, #0 + 8007180: d14e bne.n 8007220 + 8007182: f995 0039 ldrsb.w r0, [r5, #57] ; 0x39 + 8007186: f894 6237 ldrb.w r6, [r4, #567] ; 0x237 + 800718a: f89d 7020 ldrb.w r7, [sp, #32] + 800718e: f7ff fd6f bl 8006c70 + 8007192: 443e add r6, r7 + 8007194: b280 uxth r0, r0 + 8007196: 42b0 cmp r0, r6 + 8007198: d340 bcc.n 800721c + 800719a: 2300 movs r3, #0 + 800719c: f88d 3013 strb.w r3, [sp, #19] + 80071a0: f895 3039 ldrb.w r3, [r5, #57] ; 0x39 + 80071a4: f88d 3021 strb.w r3, [sp, #33] ; 0x21 + 80071a8: f895 3038 ldrb.w r3, [r5, #56] ; 0x38 + 80071ac: f88d 3022 strb.w r3, [sp, #34] ; 0x22 + 80071b0: f8d5 3080 ldr.w r3, [r5, #128] ; 0x80 + 80071b4: 9309 str r3, [sp, #36] ; 0x24 + 80071b6: f8d5 3084 ldr.w r3, [r5, #132] ; 0x84 + 80071ba: 930a str r3, [sp, #40] ; 0x28 + 80071bc: 8823 ldrh r3, [r4, #0] + 80071be: f8ad 302c strh.w r3, [sp, #44] ; 0x2c + 80071c2: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 + 80071c6: f894 641b ldrb.w r6, [r4, #1051] ; 0x41b + 80071ca: f88d 302e strb.w r3, [sp, #46] ; 0x2e + 80071ce: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 80071d2: 4b3f ldr r3, [pc, #252] ; (80072d0 ) + 80071d4: f88d 6020 strb.w r6, [sp, #32] + 80071d8: f10d 0213 add.w r2, sp, #19 + 80071dc: a908 add r1, sp, #32 + 80071de: f003 fa43 bl 800a668 + 80071e2: 2301 movs r3, #1 + 80071e4: f884 3441 strb.w r3, [r4, #1089] ; 0x441 + 80071e8: f895 3039 ldrb.w r3, [r5, #57] ; 0x39 + 80071ec: f884 3442 strb.w r3, [r4, #1090] ; 0x442 + 80071f0: f89d 3013 ldrb.w r3, [sp, #19] + 80071f4: f884 3443 strb.w r3, [r4, #1091] ; 0x443 + 80071f8: f8d4 341c ldr.w r3, [r4, #1052] ; 0x41c + 80071fc: f8c4 6450 str.w r6, [r4, #1104] ; 0x450 + 8007200: f8c4 3448 str.w r3, [r4, #1096] ; 0x448 + 8007204: f8c4 3458 str.w r3, [r4, #1112] ; 0x458 + 8007208: f002 fb76 bl 80098f8 + 800720c: b150 cbz r0, 8007224 + 800720e: f8d4 041c ldr.w r0, [r4, #1052] ; 0x41c + 8007212: f002 fb83 bl 800991c + 8007216: b128 cbz r0, 8007224 + 8007218: 2010 movs r0, #16 + 800721a: e703 b.n 8007024 + 800721c: 2008 movs r0, #8 + 800721e: e701 b.n 8007024 + 8007220: 2013 movs r0, #19 + 8007222: e6ff b.n 8007024 + 8007224: f895 3118 ldrb.w r3, [r5, #280] ; 0x118 + 8007228: 2b01 cmp r3, #1 + 800722a: d101 bne.n 8007230 + 800722c: f002 fb78 bl 8009920 + 8007230: f002 fb65 bl 80098fe + 8007234: 2300 movs r3, #0 + 8007236: 9305 str r3, [sp, #20] + 8007238: f894 3104 ldrb.w r3, [r4, #260] ; 0x104 + 800723c: f995 5039 ldrsb.w r5, [r5, #57] ; 0x39 + 8007240: f894 641b ldrb.w r6, [r4, #1051] ; 0x41b + 8007244: b19b cbz r3, 800726e + 8007246: 2b04 cmp r3, #4 + 8007248: f47f aee6 bne.w 8007018 + 800724c: a805 add r0, sp, #20 + 800724e: f002 fe67 bl 8009f20 + 8007252: bb58 cbnz r0, 80072ac + 8007254: f894 3418 ldrb.w r3, [r4, #1048] ; 0x418 + 8007258: b113 cbz r3, 8007260 + 800725a: 9b05 ldr r3, [sp, #20] + 800725c: 3b01 subs r3, #1 + 800725e: 9305 str r3, [sp, #20] + 8007260: 4b16 ldr r3, [pc, #88] ; (80072bc ) + 8007262: 9805 ldr r0, [sp, #20] + 8007264: 4632 mov r2, r6 + 8007266: b2e9 uxtb r1, r5 + 8007268: f002 fec0 bl 8009fec + 800726c: e002 b.n 8007274 + 800726e: 4813 ldr r0, [pc, #76] ; (80072bc ) + 8007270: f002 fe90 bl 8009f94 + 8007274: b9c0 cbnz r0, 80072a8 + 8007276: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 + 800727a: f894 110c ldrb.w r1, [r4, #268] ; 0x10c + 800727e: 8021 strh r1, [r4, #0] + 8007280: f043 0302 orr.w r3, r3, #2 + 8007284: f8c4 3340 str.w r3, [r4, #832] ; 0x340 + 8007288: f894 3418 ldrb.w r3, [r4, #1048] ; 0x418 + 800728c: 4811 ldr r0, [pc, #68] ; (80072d4 ) + 800728e: 3301 adds r3, #1 + 8007290: b2db uxtb r3, r3 + 8007292: f884 3418 strb.w r3, [r4, #1048] ; 0x418 + 8007296: f884 3445 strb.w r3, [r4, #1093] ; 0x445 + 800729a: 4b0f ldr r3, [pc, #60] ; (80072d8 ) + 800729c: 2500 movs r5, #0 + 800729e: 6a9b ldr r3, [r3, #40] ; 0x28 + 80072a0: f8c4 5498 str.w r5, [r4, #1176] ; 0x498 + 80072a4: 4798 blx r3 + 80072a6: e725 b.n 80070f4 + 80072a8: 2011 movs r0, #17 + 80072aa: e6bb b.n 8007024 + 80072ac: 2012 movs r0, #18 + 80072ae: e6b9 b.n 8007024 + 80072b0: 200e movs r0, #14 + 80072b2: e6b7 b.n 8007024 + 80072b4: 20000c00 .word 0x20000c00 + 80072b8: 200011c8 .word 0x200011c8 + 80072bc: 200012d0 .word 0x200012d0 + 80072c0: 20000c30 .word 0x20000c30 + 80072c4: 2000165c .word 0x2000165c + 80072c8: 20001530 .word 0x20001530 + 80072cc: 20001580 .word 0x20001580 + 80072d0: 200015e4 .word 0x200015e4 + 80072d4: 200011ca .word 0x200011ca + 80072d8: 0800fa0c .word 0x0800fa0c -080076a4 : - 80076a4: b5f0 push {r4, r5, r6, r7, lr} - 80076a6: 4c50 ldr r4, [pc, #320] ; (80077e8 ) - 80076a8: 4e50 ldr r6, [pc, #320] ; (80077ec ) - 80076aa: f8b4 20dc ldrh.w r2, [r4, #220] ; 0xdc - 80076ae: 8722 strh r2, [r4, #56] ; 0x38 - 80076b0: e9d4 012d ldrd r0, r1, [r4, #180] ; 0xb4 - 80076b4: f894 20b1 ldrb.w r2, [r4, #177] ; 0xb1 - 80076b8: f884 2069 strb.w r2, [r4, #105] ; 0x69 - 80076bc: f104 026c add.w r2, r4, #108 ; 0x6c - 80076c0: e882 0003 stmia.w r2, {r0, r1} - 80076c4: e9d4 012f ldrd r0, r1, [r4, #188] ; 0xbc - 80076c8: f104 0274 add.w r2, r4, #116 ; 0x74 - 80076cc: e882 0003 stmia.w r2, {r0, r1} - 80076d0: f8b4 20c4 ldrh.w r2, [r4, #196] ; 0xc4 - 80076d4: f8a4 207c strh.w r2, [r4, #124] ; 0x7c - 80076d8: b091 sub sp, #68 ; 0x44 - 80076da: f8d4 20cc ldr.w r2, [r4, #204] ; 0xcc - 80076de: f8d4 10c8 ldr.w r1, [r4, #200] ; 0xc8 - 80076e2: f8c4 2084 str.w r2, [r4, #132] ; 0x84 - 80076e6: 2500 movs r5, #0 - 80076e8: f8d4 20d0 ldr.w r2, [r4, #208] ; 0xd0 - 80076ec: f8c4 2088 str.w r2, [r4, #136] ; 0x88 - 80076f0: 2301 movs r3, #1 - 80076f2: f8a4 3120 strh.w r3, [r4, #288] ; 0x120 - 80076f6: f8c4 1080 str.w r1, [r4, #128] ; 0x80 - 80076fa: f884 5130 strb.w r5, [r4, #304] ; 0x130 - 80076fe: 62a5 str r5, [r4, #40] ; 0x28 - 8007700: f884 511b strb.w r5, [r4, #283] ; 0x11b - 8007704: f884 503a strb.w r5, [r4, #58] ; 0x3a - 8007708: f884 511d strb.w r5, [r4, #285] ; 0x11d - 800770c: f884 511e strb.w r5, [r4, #286] ; 0x11e - 8007710: f8c4 5134 str.w r5, [r4, #308] ; 0x134 - 8007714: f8c6 5498 str.w r5, [r6, #1176] ; 0x498 - 8007718: f8a6 5418 strh.w r5, [r6, #1048] ; 0x418 - 800771c: f886 541a strb.w r5, [r6, #1050] ; 0x41a - 8007720: f8a4 5138 strh.w r5, [r4, #312] ; 0x138 - 8007724: f88d 3018 strb.w r3, [sp, #24] - 8007728: f504 7309 add.w r3, r4, #548 ; 0x224 - 800772c: 9303 str r3, [sp, #12] - 800772e: f504 730a add.w r3, r4, #552 ; 0x228 - 8007732: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8007736: f8a4 5146 strh.w r5, [r4, #326] ; 0x146 - 800773a: 9304 str r3, [sp, #16] - 800773c: a903 add r1, sp, #12 - 800773e: 4b2c ldr r3, [pc, #176] ; (80077f0 ) - 8007740: f884 5145 strb.w r5, [r4, #325] ; 0x145 - 8007744: e9c4 554f strd r5, r5, [r4, #316] ; 0x13c - 8007748: 9305 str r3, [sp, #20] - 800774a: f003 f945 bl 800a9d8 - 800774e: 6ee3 ldr r3, [r4, #108] ; 0x6c - 8007750: f8c6 33d4 str.w r3, [r6, #980] ; 0x3d4 - 8007754: f894 307d ldrb.w r3, [r4, #125] ; 0x7d - 8007758: f886 33e0 strb.w r3, [r6, #992] ; 0x3e0 - 800775c: f894 308c ldrb.w r3, [r4, #140] ; 0x8c - 8007760: f886 33e1 strb.w r3, [r6, #993] ; 0x3e1 - 8007764: f44f 7380 mov.w r3, #256 ; 0x100 - 8007768: f8a6 33e2 strh.w r3, [r6, #994] ; 0x3e2 - 800776c: f886 53d0 strb.w r5, [r6, #976] ; 0x3d0 - 8007770: f894 3130 ldrb.w r3, [r4, #304] ; 0x130 - 8007774: f886 33e4 strb.w r3, [r6, #996] ; 0x3e4 - 8007778: f506 7774 add.w r7, r6, #976 ; 0x3d0 - 800777c: cf0f ldmia r7!, {r0, r1, r2, r3} - 800777e: f506 747a add.w r4, r6, #1000 ; 0x3e8 - 8007782: c40f stmia r4!, {r0, r1, r2, r3} - 8007784: e897 0003 ldmia.w r7, {r0, r1} - 8007788: f240 2301 movw r3, #513 ; 0x201 - 800778c: e884 0003 stmia.w r4, {r0, r1} - 8007790: f8a6 33fa strh.w r3, [r6, #1018] ; 0x3fa - 8007794: f8d6 3348 ldr.w r3, [r6, #840] ; 0x348 - 8007798: f886 541b strb.w r5, [r6, #1051] ; 0x41b - 800779c: e9cd 5501 strd r5, r5, [sp, #4] - 80077a0: b11b cbz r3, 80077aa - 80077a2: 685a ldr r2, [r3, #4] - 80077a4: 695b ldr r3, [r3, #20] - 80077a6: 9201 str r2, [sp, #4] - 80077a8: 9302 str r3, [sp, #8] - 80077aa: 4b12 ldr r3, [pc, #72] ; (80077f4 ) - 80077ac: 9307 str r3, [sp, #28] - 80077ae: f1a3 0248 sub.w r2, r3, #72 ; 0x48 - 80077b2: 9208 str r2, [sp, #32] - 80077b4: f1a3 0214 sub.w r2, r3, #20 - 80077b8: 9209 str r2, [sp, #36] ; 0x24 - 80077ba: 4a0f ldr r2, [pc, #60] ; (80077f8 ) - 80077bc: 920b str r2, [sp, #44] ; 0x2c - 80077be: 3329 adds r3, #41 ; 0x29 - 80077c0: 930a str r3, [sp, #40] ; 0x28 - 80077c2: f1a2 039c sub.w r3, r2, #156 ; 0x9c - 80077c6: 930c str r3, [sp, #48] ; 0x30 - 80077c8: f1a2 0398 sub.w r3, r2, #152 ; 0x98 - 80077cc: 930d str r3, [sp, #52] ; 0x34 - 80077ce: 1d13 adds r3, r2, #4 - 80077d0: 930e str r3, [sp, #56] ; 0x38 - 80077d2: a901 add r1, sp, #4 - 80077d4: f102 034c add.w r3, r2, #76 ; 0x4c - 80077d8: a807 add r0, sp, #28 - 80077da: f502 6299 add.w r2, r2, #1224 ; 0x4c8 - 80077de: 930f str r3, [sp, #60] ; 0x3c - 80077e0: f002 fa5d bl 8009c9e - 80077e4: b011 add sp, #68 ; 0x44 - 80077e6: bdf0 pop {r4, r5, r6, r7, pc} - 80077e8: 20000c00 .word 0x20000c00 - 80077ec: 200011c8 .word 0x200011c8 - 80077f0: 200016e4 .word 0x200016e4 - 80077f4: 20001630 .word 0x20001630 - 80077f8: 20000ce4 .word 0x20000ce4 +080072dc : + 80072dc: b5f0 push {r4, r5, r6, r7, lr} + 80072de: 4c50 ldr r4, [pc, #320] ; (8007420 ) + 80072e0: 4e50 ldr r6, [pc, #320] ; (8007424 ) + 80072e2: f8b4 20dc ldrh.w r2, [r4, #220] ; 0xdc + 80072e6: 8722 strh r2, [r4, #56] ; 0x38 + 80072e8: e9d4 012d ldrd r0, r1, [r4, #180] ; 0xb4 + 80072ec: f894 20b1 ldrb.w r2, [r4, #177] ; 0xb1 + 80072f0: f884 2069 strb.w r2, [r4, #105] ; 0x69 + 80072f4: f104 026c add.w r2, r4, #108 ; 0x6c + 80072f8: e882 0003 stmia.w r2, {r0, r1} + 80072fc: e9d4 012f ldrd r0, r1, [r4, #188] ; 0xbc + 8007300: f104 0274 add.w r2, r4, #116 ; 0x74 + 8007304: e882 0003 stmia.w r2, {r0, r1} + 8007308: f8b4 20c4 ldrh.w r2, [r4, #196] ; 0xc4 + 800730c: f8a4 207c strh.w r2, [r4, #124] ; 0x7c + 8007310: b091 sub sp, #68 ; 0x44 + 8007312: f8d4 20cc ldr.w r2, [r4, #204] ; 0xcc + 8007316: f8d4 10c8 ldr.w r1, [r4, #200] ; 0xc8 + 800731a: f8c4 2084 str.w r2, [r4, #132] ; 0x84 + 800731e: 2500 movs r5, #0 + 8007320: f8d4 20d0 ldr.w r2, [r4, #208] ; 0xd0 + 8007324: f8c4 2088 str.w r2, [r4, #136] ; 0x88 + 8007328: 2301 movs r3, #1 + 800732a: f8a4 3120 strh.w r3, [r4, #288] ; 0x120 + 800732e: f8c4 1080 str.w r1, [r4, #128] ; 0x80 + 8007332: f884 5130 strb.w r5, [r4, #304] ; 0x130 + 8007336: 62a5 str r5, [r4, #40] ; 0x28 + 8007338: f884 511b strb.w r5, [r4, #283] ; 0x11b + 800733c: f884 503a strb.w r5, [r4, #58] ; 0x3a + 8007340: f884 511d strb.w r5, [r4, #285] ; 0x11d + 8007344: f884 511e strb.w r5, [r4, #286] ; 0x11e + 8007348: f8c4 5134 str.w r5, [r4, #308] ; 0x134 + 800734c: f8c6 5498 str.w r5, [r6, #1176] ; 0x498 + 8007350: f8a6 5418 strh.w r5, [r6, #1048] ; 0x418 + 8007354: f886 541a strb.w r5, [r6, #1050] ; 0x41a + 8007358: f8a4 5138 strh.w r5, [r4, #312] ; 0x138 + 800735c: f88d 3018 strb.w r3, [sp, #24] + 8007360: f504 7309 add.w r3, r4, #548 ; 0x224 + 8007364: 9303 str r3, [sp, #12] + 8007366: f504 730a add.w r3, r4, #552 ; 0x228 + 800736a: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 800736e: f8a4 5146 strh.w r5, [r4, #326] ; 0x146 + 8007372: 9304 str r3, [sp, #16] + 8007374: a903 add r1, sp, #12 + 8007376: 4b2c ldr r3, [pc, #176] ; (8007428 ) + 8007378: f884 5145 strb.w r5, [r4, #325] ; 0x145 + 800737c: e9c4 554f strd r5, r5, [r4, #316] ; 0x13c + 8007380: 9305 str r3, [sp, #20] + 8007382: f003 f945 bl 800a610 + 8007386: 6ee3 ldr r3, [r4, #108] ; 0x6c + 8007388: f8c6 33d4 str.w r3, [r6, #980] ; 0x3d4 + 800738c: f894 307d ldrb.w r3, [r4, #125] ; 0x7d + 8007390: f886 33e0 strb.w r3, [r6, #992] ; 0x3e0 + 8007394: f894 308c ldrb.w r3, [r4, #140] ; 0x8c + 8007398: f886 33e1 strb.w r3, [r6, #993] ; 0x3e1 + 800739c: f44f 7380 mov.w r3, #256 ; 0x100 + 80073a0: f8a6 33e2 strh.w r3, [r6, #994] ; 0x3e2 + 80073a4: f886 53d0 strb.w r5, [r6, #976] ; 0x3d0 + 80073a8: f894 3130 ldrb.w r3, [r4, #304] ; 0x130 + 80073ac: f886 33e4 strb.w r3, [r6, #996] ; 0x3e4 + 80073b0: f506 7774 add.w r7, r6, #976 ; 0x3d0 + 80073b4: cf0f ldmia r7!, {r0, r1, r2, r3} + 80073b6: f506 747a add.w r4, r6, #1000 ; 0x3e8 + 80073ba: c40f stmia r4!, {r0, r1, r2, r3} + 80073bc: e897 0003 ldmia.w r7, {r0, r1} + 80073c0: f240 2301 movw r3, #513 ; 0x201 + 80073c4: e884 0003 stmia.w r4, {r0, r1} + 80073c8: f8a6 33fa strh.w r3, [r6, #1018] ; 0x3fa + 80073cc: f8d6 3348 ldr.w r3, [r6, #840] ; 0x348 + 80073d0: f886 541b strb.w r5, [r6, #1051] ; 0x41b + 80073d4: e9cd 5501 strd r5, r5, [sp, #4] + 80073d8: b11b cbz r3, 80073e2 + 80073da: 685a ldr r2, [r3, #4] + 80073dc: 695b ldr r3, [r3, #20] + 80073de: 9201 str r2, [sp, #4] + 80073e0: 9302 str r3, [sp, #8] + 80073e2: 4b12 ldr r3, [pc, #72] ; (800742c ) + 80073e4: 9307 str r3, [sp, #28] + 80073e6: f1a3 0248 sub.w r2, r3, #72 ; 0x48 + 80073ea: 9208 str r2, [sp, #32] + 80073ec: f1a3 0214 sub.w r2, r3, #20 + 80073f0: 9209 str r2, [sp, #36] ; 0x24 + 80073f2: 4a0f ldr r2, [pc, #60] ; (8007430 ) + 80073f4: 920b str r2, [sp, #44] ; 0x2c + 80073f6: 3329 adds r3, #41 ; 0x29 + 80073f8: 930a str r3, [sp, #40] ; 0x28 + 80073fa: f1a2 039c sub.w r3, r2, #156 ; 0x9c + 80073fe: 930c str r3, [sp, #48] ; 0x30 + 8007400: f1a2 0398 sub.w r3, r2, #152 ; 0x98 + 8007404: 930d str r3, [sp, #52] ; 0x34 + 8007406: 1d13 adds r3, r2, #4 + 8007408: 930e str r3, [sp, #56] ; 0x38 + 800740a: a901 add r1, sp, #4 + 800740c: f102 034c add.w r3, r2, #76 ; 0x4c + 8007410: a807 add r0, sp, #28 + 8007412: f502 6299 add.w r2, r2, #1224 ; 0x4c8 + 8007416: 930f str r3, [sp, #60] ; 0x3c + 8007418: f002 fa5d bl 80098d6 + 800741c: b011 add sp, #68 ; 0x44 + 800741e: bdf0 pop {r4, r5, r6, r7, pc} + 8007420: 20000c00 .word 0x20000c00 + 8007424: 200011c8 .word 0x200011c8 + 8007428: 200016e4 .word 0x200016e4 + 800742c: 20001630 .word 0x20001630 + 8007430: 20000ce4 .word 0x20000ce4 -080077fc : - 80077fc: b5f8 push {r3, r4, r5, r6, r7, lr} - 80077fe: 4f0d ldr r7, [pc, #52] ; (8007834 ) - 8007800: 4c0d ldr r4, [pc, #52] ; (8007838 ) - 8007802: 4e0e ldr r6, [pc, #56] ; (800783c ) - 8007804: 460d mov r5, r1 - 8007806: f007 fb89 bl 800ef1c - 800780a: 6b3b ldr r3, [r7, #48] ; 0x30 - 800780c: 4798 blx r3 - 800780e: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 8007812: f204 4224 addw r2, r4, #1060 ; 0x424 - 8007816: 4629 mov r1, r5 - 8007818: f003 f902 bl 800aa20 - 800781c: b148 cbz r0, 8007832 - 800781e: f894 3424 ldrb.w r3, [r4, #1060] ; 0x424 - 8007822: f884 346a strb.w r3, [r4, #1130] ; 0x46a - 8007826: 6d70 ldr r0, [r6, #84] ; 0x54 - 8007828: 6b7b ldr r3, [r7, #52] ; 0x34 - 800782a: 4798 blx r3 - 800782c: 7ceb ldrb r3, [r5, #19] - 800782e: f884 3490 strb.w r3, [r4, #1168] ; 0x490 - 8007832: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8007834: 080101cc .word 0x080101cc - 8007838: 200011c8 .word 0x200011c8 - 800783c: 20000c00 .word 0x20000c00 +08007434 : + 8007434: b5f8 push {r3, r4, r5, r6, r7, lr} + 8007436: 4f0d ldr r7, [pc, #52] ; (800746c ) + 8007438: 4c0d ldr r4, [pc, #52] ; (8007470 ) + 800743a: 4e0e ldr r6, [pc, #56] ; (8007474 ) + 800743c: 460d mov r5, r1 + 800743e: f007 fb89 bl 800eb54 + 8007442: 6b3b ldr r3, [r7, #48] ; 0x30 + 8007444: 4798 blx r3 + 8007446: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 800744a: f204 4224 addw r2, r4, #1060 ; 0x424 + 800744e: 4629 mov r1, r5 + 8007450: f003 f902 bl 800a658 + 8007454: b148 cbz r0, 800746a + 8007456: f894 3424 ldrb.w r3, [r4, #1060] ; 0x424 + 800745a: f884 346a strb.w r3, [r4, #1130] ; 0x46a + 800745e: 6d70 ldr r0, [r6, #84] ; 0x54 + 8007460: 6b7b ldr r3, [r7, #52] ; 0x34 + 8007462: 4798 blx r3 + 8007464: 7ceb ldrb r3, [r5, #19] + 8007466: f884 3490 strb.w r3, [r4, #1168] ; 0x490 + 800746a: bdf8 pop {r3, r4, r5, r6, r7, pc} + 800746c: 0800fa0c .word 0x0800fa0c + 8007470: 200011c8 .word 0x200011c8 + 8007474: 20000c00 .word 0x20000c00 -08007840 : - 8007840: 480f ldr r0, [pc, #60] ; (8007880 ) - 8007842: f890 341b ldrb.w r3, [r0, #1051] ; 0x41b - 8007846: f880 33b8 strb.w r3, [r0, #952] ; 0x3b8 - 800784a: 4b0e ldr r3, [pc, #56] ; (8007884 ) - 800784c: f893 2069 ldrb.w r2, [r3, #105] ; 0x69 - 8007850: f880 23bb strb.w r2, [r0, #955] ; 0x3bb - 8007854: f893 207d ldrb.w r2, [r3, #125] ; 0x7d - 8007858: f880 23c8 strb.w r2, [r0, #968] ; 0x3c8 - 800785c: f893 208c ldrb.w r2, [r3, #140] ; 0x8c - 8007860: f880 23c9 strb.w r2, [r0, #969] ; 0x3c9 - 8007864: f893 3130 ldrb.w r3, [r3, #304] ; 0x130 - 8007868: f880 33cc strb.w r3, [r0, #972] ; 0x3cc - 800786c: 2200 movs r2, #0 - 800786e: f8a0 23ca strh.w r2, [r0, #970] ; 0x3ca - 8007872: f500 716e add.w r1, r0, #952 ; 0x3b8 - 8007876: f500 7060 add.w r0, r0, #896 ; 0x380 - 800787a: f7ff bfbf b.w 80077fc - 800787e: bf00 nop - 8007880: 200011c8 .word 0x200011c8 - 8007884: 20000c00 .word 0x20000c00 +08007478 : + 8007478: 480f ldr r0, [pc, #60] ; (80074b8 ) + 800747a: f890 341b ldrb.w r3, [r0, #1051] ; 0x41b + 800747e: f880 33b8 strb.w r3, [r0, #952] ; 0x3b8 + 8007482: 4b0e ldr r3, [pc, #56] ; (80074bc ) + 8007484: f893 2069 ldrb.w r2, [r3, #105] ; 0x69 + 8007488: f880 23bb strb.w r2, [r0, #955] ; 0x3bb + 800748c: f893 207d ldrb.w r2, [r3, #125] ; 0x7d + 8007490: f880 23c8 strb.w r2, [r0, #968] ; 0x3c8 + 8007494: f893 208c ldrb.w r2, [r3, #140] ; 0x8c + 8007498: f880 23c9 strb.w r2, [r0, #969] ; 0x3c9 + 800749c: f893 3130 ldrb.w r3, [r3, #304] ; 0x130 + 80074a0: f880 33cc strb.w r3, [r0, #972] ; 0x3cc + 80074a4: 2200 movs r2, #0 + 80074a6: f8a0 23ca strh.w r2, [r0, #970] ; 0x3ca + 80074aa: f500 716e add.w r1, r0, #952 ; 0x3b8 + 80074ae: f500 7060 add.w r0, r0, #896 ; 0x380 + 80074b2: f7ff bfbf b.w 8007434 + 80074b6: bf00 nop + 80074b8: 200011c8 .word 0x200011c8 + 80074bc: 20000c00 .word 0x20000c00 -08007888 : - 8007888: 4811 ldr r0, [pc, #68] ; (80078d0 ) - 800788a: f890 3490 ldrb.w r3, [r0, #1168] ; 0x490 - 800788e: b1eb cbz r3, 80078cc - 8007890: f890 341b ldrb.w r3, [r0, #1051] ; 0x41b - 8007894: f880 33d0 strb.w r3, [r0, #976] ; 0x3d0 - 8007898: 4b0e ldr r3, [pc, #56] ; (80078d4 ) - 800789a: 6eda ldr r2, [r3, #108] ; 0x6c - 800789c: f8c0 23d4 str.w r2, [r0, #980] ; 0x3d4 - 80078a0: f893 207d ldrb.w r2, [r3, #125] ; 0x7d - 80078a4: f880 23e0 strb.w r2, [r0, #992] ; 0x3e0 - 80078a8: f893 208c ldrb.w r2, [r3, #140] ; 0x8c - 80078ac: f880 23e1 strb.w r2, [r0, #993] ; 0x3e1 - 80078b0: f893 3130 ldrb.w r3, [r3, #304] ; 0x130 - 80078b4: f880 33e4 strb.w r3, [r0, #996] ; 0x3e4 - 80078b8: f44f 7280 mov.w r2, #256 ; 0x100 - 80078bc: f8a0 23e2 strh.w r2, [r0, #994] ; 0x3e2 - 80078c0: f500 7174 add.w r1, r0, #976 ; 0x3d0 - 80078c4: f500 7066 add.w r0, r0, #920 ; 0x398 - 80078c8: f7ff bf98 b.w 80077fc - 80078cc: 4770 bx lr - 80078ce: bf00 nop - 80078d0: 200011c8 .word 0x200011c8 - 80078d4: 20000c00 .word 0x20000c00 +080074c0 : + 80074c0: 4811 ldr r0, [pc, #68] ; (8007508 ) + 80074c2: f890 3490 ldrb.w r3, [r0, #1168] ; 0x490 + 80074c6: b1eb cbz r3, 8007504 + 80074c8: f890 341b ldrb.w r3, [r0, #1051] ; 0x41b + 80074cc: f880 33d0 strb.w r3, [r0, #976] ; 0x3d0 + 80074d0: 4b0e ldr r3, [pc, #56] ; (800750c ) + 80074d2: 6eda ldr r2, [r3, #108] ; 0x6c + 80074d4: f8c0 23d4 str.w r2, [r0, #980] ; 0x3d4 + 80074d8: f893 207d ldrb.w r2, [r3, #125] ; 0x7d + 80074dc: f880 23e0 strb.w r2, [r0, #992] ; 0x3e0 + 80074e0: f893 208c ldrb.w r2, [r3, #140] ; 0x8c + 80074e4: f880 23e1 strb.w r2, [r0, #993] ; 0x3e1 + 80074e8: f893 3130 ldrb.w r3, [r3, #304] ; 0x130 + 80074ec: f880 33e4 strb.w r3, [r0, #996] ; 0x3e4 + 80074f0: f44f 7280 mov.w r2, #256 ; 0x100 + 80074f4: f8a0 23e2 strh.w r2, [r0, #994] ; 0x3e2 + 80074f8: f500 7174 add.w r1, r0, #976 ; 0x3d0 + 80074fc: f500 7066 add.w r0, r0, #920 ; 0x398 + 8007500: f7ff bf98 b.w 8007434 + 8007504: 4770 bx lr + 8007506: bf00 nop + 8007508: 200011c8 .word 0x200011c8 + 800750c: 20000c00 .word 0x20000c00 -080078d8 : - 80078d8: b570 push {r4, r5, r6, lr} - 80078da: 4c34 ldr r4, [pc, #208] ; (80079ac ) - 80078dc: 2124 movs r1, #36 ; 0x24 - 80078de: 4620 mov r0, r4 - 80078e0: f005 f80e bl 800c900 - 80078e4: 6a63 ldr r3, [r4, #36] ; 0x24 - 80078e6: 4298 cmp r0, r3 - 80078e8: bf18 it ne - 80078ea: 6260 strne r0, [r4, #36] ; 0x24 - 80078ec: f04f 011c mov.w r1, #28 - 80078f0: 482f ldr r0, [pc, #188] ; (80079b0 ) - 80078f2: bf14 ite ne - 80078f4: 2501 movne r5, #1 - 80078f6: 2500 moveq r5, #0 - 80078f8: f005 f802 bl 800c900 - 80078fc: 6c63 ldr r3, [r4, #68] ; 0x44 - 80078fe: 4298 cmp r0, r3 - 8007900: bf18 it ne - 8007902: 6460 strne r0, [r4, #68] ; 0x44 - 8007904: f44f 7180 mov.w r1, #256 ; 0x100 - 8007908: 482a ldr r0, [pc, #168] ; (80079b4 ) - 800790a: bf18 it ne - 800790c: f045 0502 orrne.w r5, r5, #2 - 8007910: f004 fff6 bl 800c900 - 8007914: f8d4 3148 ldr.w r3, [r4, #328] ; 0x148 - 8007918: 4298 cmp r0, r3 - 800791a: bf18 it ne - 800791c: f8c4 0148 strne.w r0, [r4, #328] ; 0x148 - 8007920: f04f 01d4 mov.w r1, #212 ; 0xd4 - 8007924: 4824 ldr r0, [pc, #144] ; (80079b8 ) - 8007926: bf18 it ne - 8007928: f045 0504 orrne.w r5, r5, #4 - 800792c: f004 ffe8 bl 800c900 - 8007930: f8d4 3220 ldr.w r3, [r4, #544] ; 0x220 - 8007934: 4298 cmp r0, r3 - 8007936: bf18 it ne - 8007938: f8c4 0220 strne.w r0, [r4, #544] ; 0x220 - 800793c: f04f 0100 mov.w r1, #0 - 8007940: 481e ldr r0, [pc, #120] ; (80079bc ) - 8007942: bf18 it ne - 8007944: f045 0508 orrne.w r5, r5, #8 - 8007948: f004 ffda bl 800c900 - 800794c: f8d4 3224 ldr.w r3, [r4, #548] ; 0x224 - 8007950: 4298 cmp r0, r3 - 8007952: bf18 it ne - 8007954: f8c4 0224 strne.w r0, [r4, #548] ; 0x224 - 8007958: f44f 7160 mov.w r1, #896 ; 0x380 - 800795c: 4818 ldr r0, [pc, #96] ; (80079c0 ) - 800795e: bf18 it ne - 8007960: f045 0510 orrne.w r5, r5, #16 - 8007964: f004 ffcc bl 800c900 - 8007968: f8d4 35a8 ldr.w r3, [r4, #1448] ; 0x5a8 - 800796c: 4298 cmp r0, r3 - 800796e: bf18 it ne - 8007970: f8c4 05a8 strne.w r0, [r4, #1448] ; 0x5a8 - 8007974: f04f 0114 mov.w r1, #20 - 8007978: 4812 ldr r0, [pc, #72] ; (80079c4 ) - 800797a: bf18 it ne - 800797c: f045 0520 orrne.w r5, r5, #32 - 8007980: f004 ffbe bl 800c900 - 8007984: f8d4 35c0 ldr.w r3, [r4, #1472] ; 0x5c0 - 8007988: 4298 cmp r0, r3 - 800798a: 4b0f ldr r3, [pc, #60] ; (80079c8 ) - 800798c: bf18 it ne - 800798e: f8c4 05c0 strne.w r0, [r4, #1472] ; 0x5c0 - 8007992: f8d3 3348 ldr.w r3, [r3, #840] ; 0x348 - 8007996: bf18 it ne - 8007998: f045 0540 orrne.w r5, r5, #64 ; 0x40 - 800799c: b12b cbz r3, 80079aa - 800799e: 691b ldr r3, [r3, #16] - 80079a0: b11b cbz r3, 80079aa - 80079a2: 4628 mov r0, r5 - 80079a4: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 80079a8: 4718 bx r3 - 80079aa: bd70 pop {r4, r5, r6, pc} - 80079ac: 20000c00 .word 0x20000c00 - 80079b0: 20000c28 .word 0x20000c28 - 80079b4: 20000c48 .word 0x20000c48 - 80079b8: 20000d4c .word 0x20000d4c - 80079bc: 20000e24 .word 0x20000e24 - 80079c0: 20000e28 .word 0x20000e28 - 80079c4: 200011ac .word 0x200011ac - 80079c8: 200011c8 .word 0x200011c8 +08007510 : + 8007510: b570 push {r4, r5, r6, lr} + 8007512: 4c34 ldr r4, [pc, #208] ; (80075e4 ) + 8007514: 2124 movs r1, #36 ; 0x24 + 8007516: 4620 mov r0, r4 + 8007518: f005 f80e bl 800c538 + 800751c: 6a63 ldr r3, [r4, #36] ; 0x24 + 800751e: 4298 cmp r0, r3 + 8007520: bf18 it ne + 8007522: 6260 strne r0, [r4, #36] ; 0x24 + 8007524: f04f 011c mov.w r1, #28 + 8007528: 482f ldr r0, [pc, #188] ; (80075e8 ) + 800752a: bf14 ite ne + 800752c: 2501 movne r5, #1 + 800752e: 2500 moveq r5, #0 + 8007530: f005 f802 bl 800c538 + 8007534: 6c63 ldr r3, [r4, #68] ; 0x44 + 8007536: 4298 cmp r0, r3 + 8007538: bf18 it ne + 800753a: 6460 strne r0, [r4, #68] ; 0x44 + 800753c: f44f 7180 mov.w r1, #256 ; 0x100 + 8007540: 482a ldr r0, [pc, #168] ; (80075ec ) + 8007542: bf18 it ne + 8007544: f045 0502 orrne.w r5, r5, #2 + 8007548: f004 fff6 bl 800c538 + 800754c: f8d4 3148 ldr.w r3, [r4, #328] ; 0x148 + 8007550: 4298 cmp r0, r3 + 8007552: bf18 it ne + 8007554: f8c4 0148 strne.w r0, [r4, #328] ; 0x148 + 8007558: f04f 01d4 mov.w r1, #212 ; 0xd4 + 800755c: 4824 ldr r0, [pc, #144] ; (80075f0 ) + 800755e: bf18 it ne + 8007560: f045 0504 orrne.w r5, r5, #4 + 8007564: f004 ffe8 bl 800c538 + 8007568: f8d4 3220 ldr.w r3, [r4, #544] ; 0x220 + 800756c: 4298 cmp r0, r3 + 800756e: bf18 it ne + 8007570: f8c4 0220 strne.w r0, [r4, #544] ; 0x220 + 8007574: f04f 0100 mov.w r1, #0 + 8007578: 481e ldr r0, [pc, #120] ; (80075f4 ) + 800757a: bf18 it ne + 800757c: f045 0508 orrne.w r5, r5, #8 + 8007580: f004 ffda bl 800c538 + 8007584: f8d4 3224 ldr.w r3, [r4, #548] ; 0x224 + 8007588: 4298 cmp r0, r3 + 800758a: bf18 it ne + 800758c: f8c4 0224 strne.w r0, [r4, #548] ; 0x224 + 8007590: f44f 7160 mov.w r1, #896 ; 0x380 + 8007594: 4818 ldr r0, [pc, #96] ; (80075f8 ) + 8007596: bf18 it ne + 8007598: f045 0510 orrne.w r5, r5, #16 + 800759c: f004 ffcc bl 800c538 + 80075a0: f8d4 35a8 ldr.w r3, [r4, #1448] ; 0x5a8 + 80075a4: 4298 cmp r0, r3 + 80075a6: bf18 it ne + 80075a8: f8c4 05a8 strne.w r0, [r4, #1448] ; 0x5a8 + 80075ac: f04f 0114 mov.w r1, #20 + 80075b0: 4812 ldr r0, [pc, #72] ; (80075fc ) + 80075b2: bf18 it ne + 80075b4: f045 0520 orrne.w r5, r5, #32 + 80075b8: f004 ffbe bl 800c538 + 80075bc: f8d4 35c0 ldr.w r3, [r4, #1472] ; 0x5c0 + 80075c0: 4298 cmp r0, r3 + 80075c2: 4b0f ldr r3, [pc, #60] ; (8007600 ) + 80075c4: bf18 it ne + 80075c6: f8c4 05c0 strne.w r0, [r4, #1472] ; 0x5c0 + 80075ca: f8d3 3348 ldr.w r3, [r3, #840] ; 0x348 + 80075ce: bf18 it ne + 80075d0: f045 0540 orrne.w r5, r5, #64 ; 0x40 + 80075d4: b12b cbz r3, 80075e2 + 80075d6: 691b ldr r3, [r3, #16] + 80075d8: b11b cbz r3, 80075e2 + 80075da: 4628 mov r0, r5 + 80075dc: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 80075e0: 4718 bx r3 + 80075e2: bd70 pop {r4, r5, r6, pc} + 80075e4: 20000c00 .word 0x20000c00 + 80075e8: 20000c28 .word 0x20000c28 + 80075ec: 20000c48 .word 0x20000c48 + 80075f0: 20000d4c .word 0x20000d4c + 80075f4: 20000e24 .word 0x20000e24 + 80075f8: 20000e28 .word 0x20000e28 + 80075fc: 200011ac .word 0x200011ac + 8007600: 200011c8 .word 0x200011c8 -080079cc : - 80079cc: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 80079d0: b091 sub sp, #68 ; 0x44 - 80079d2: f04f 0800 mov.w r8, #0 - 80079d6: 2b01 cmp r3, #1 - 80079d8: 4605 mov r5, r0 - 80079da: 460f mov r7, r1 - 80079dc: 9202 str r2, [sp, #8] - 80079de: f88d 8015 strb.w r8, [sp, #21] - 80079e2: f8ad 8018 strh.w r8, [sp, #24] - 80079e6: d803 bhi.n 80079f0 - 80079e8: 4ec8 ldr r6, [pc, #800] ; (8007d0c ) - 80079ea: 46c1 mov r9, r8 - 80079ec: 45b9 cmp r9, r7 - 80079ee: d302 bcc.n 80079f6 - 80079f0: b011 add sp, #68 ; 0x44 - 80079f2: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 80079f6: f815 0009 ldrb.w r0, [r5, r9] - 80079fa: f002 fa77 bl 8009eec - 80079fe: 4448 add r0, r9 - 8007a00: 42b8 cmp r0, r7 - 8007a02: dcf5 bgt.n 80079f0 - 8007a04: f815 3009 ldrb.w r3, [r5, r9] - 8007a08: f109 0401 add.w r4, r9, #1 - 8007a0c: 3b02 subs r3, #2 - 8007a0e: b2e4 uxtb r4, r4 - 8007a10: 2b11 cmp r3, #17 - 8007a12: d8ed bhi.n 80079f0 - 8007a14: a201 add r2, pc, #4 ; (adr r2, 8007a1c ) - 8007a16: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 8007a1a: bf00 nop - 8007a1c: 08007a65 .word 0x08007a65 - 8007a20: 08007a97 .word 0x08007a97 - 8007a24: 08007b97 .word 0x08007b97 - 8007a28: 08007bc1 .word 0x08007bc1 - 8007a2c: 08007c49 .word 0x08007c49 - 8007a30: 08007c71 .word 0x08007c71 - 8007a34: 08007ce3 .word 0x08007ce3 - 8007a38: 08007d15 .word 0x08007d15 - 8007a3c: 08007d91 .word 0x08007d91 - 8007a40: 080079f1 .word 0x080079f1 - 8007a44: 080079f1 .word 0x080079f1 - 8007a48: 08007def .word 0x08007def - 8007a4c: 080079f1 .word 0x080079f1 - 8007a50: 080079f1 .word 0x080079f1 - 8007a54: 08007ead .word 0x08007ead - 8007a58: 08007ed5 .word 0x08007ed5 - 8007a5c: 08007f19 .word 0x08007f19 - 8007a60: 08007f57 .word 0x08007f57 - 8007a64: 2005 movs r0, #5 - 8007a66: f002 faed bl 800a044 - 8007a6a: b190 cbz r0, 8007a92 - 8007a6c: 2105 movs r1, #5 - 8007a6e: 2000 movs r0, #0 - 8007a70: f002 faac bl 8009fcc - 8007a74: 5d2a ldrb r2, [r5, r4] - 8007a76: 4ba6 ldr r3, [pc, #664] ; (8007d10 ) - 8007a78: f109 0403 add.w r4, r9, #3 - 8007a7c: f109 0902 add.w r9, r9, #2 - 8007a80: fa5f f989 uxtb.w r9, r9 - 8007a84: f883 245c strb.w r2, [r3, #1116] ; 0x45c - 8007a88: f815 2009 ldrb.w r2, [r5, r9] - 8007a8c: f883 245d strb.w r2, [r3, #1117] ; 0x45d - 8007a90: b2e4 uxtb r4, r4 - 8007a92: 46a1 mov r9, r4 - 8007a94: e7aa b.n 80079ec - 8007a96: 2300 movs r3, #0 - 8007a98: f88d 3016 strb.w r3, [sp, #22] - 8007a9c: f88d 3017 strb.w r3, [sp, #23] - 8007aa0: f88d 301c strb.w r3, [sp, #28] - 8007aa4: f88d 3020 strb.w r3, [sp, #32] - 8007aa8: f1b8 0f00 cmp.w r8, #0 - 8007aac: d16c bne.n 8007b88 - 8007aae: f04f 0805 mov.w r8, #5 - 8007ab2: f896 207c ldrb.w r2, [r6, #124] ; 0x7c - 8007ab6: f88d 2039 strb.w r2, [sp, #57] ; 0x39 - 8007aba: 1e63 subs r3, r4, #1 - 8007abc: f896 2039 ldrb.w r2, [r6, #57] ; 0x39 - 8007ac0: f88d 203b strb.w r2, [sp, #59] ; 0x3b - 8007ac4: 442b add r3, r5 - 8007ac6: f896 2038 ldrb.w r2, [r6, #56] ; 0x38 - 8007aca: 930d str r3, [sp, #52] ; 0x34 - 8007acc: f88d 203c strb.w r2, [sp, #60] ; 0x3c - 8007ad0: f896 311a ldrb.w r3, [r6, #282] ; 0x11a - 8007ad4: f896 2068 ldrb.w r2, [r6, #104] ; 0x68 - 8007ad8: f88d 203d strb.w r2, [sp, #61] ; 0x3d - 8007adc: f8d6 212c ldr.w r2, [r6, #300] ; 0x12c - 8007ae0: f88d 303a strb.w r3, [sp, #58] ; 0x3a - 8007ae4: 920c str r2, [sp, #48] ; 0x30 - 8007ae6: b373 cbz r3, 8007b46 - 8007ae8: 1c7b adds r3, r7, #1 - 8007aea: 1b1b subs r3, r3, r4 - 8007aec: b2db uxtb r3, r3 - 8007aee: f88d 3038 strb.w r3, [sp, #56] ; 0x38 - 8007af2: ab08 add r3, sp, #32 - 8007af4: 9301 str r3, [sp, #4] - 8007af6: ab07 add r3, sp, #28 - 8007af8: 9300 str r3, [sp, #0] - 8007afa: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 8007afe: f10d 0317 add.w r3, sp, #23 - 8007b02: f10d 0216 add.w r2, sp, #22 - 8007b06: a90c add r1, sp, #48 ; 0x30 - 8007b08: f002 ff9e bl 800aa48 - 8007b0c: f88d 0015 strb.w r0, [sp, #21] - 8007b10: f000 0007 and.w r0, r0, #7 - 8007b14: 2807 cmp r0, #7 - 8007b16: d113 bne.n 8007b40 - 8007b18: f996 2039 ldrsb.w r2, [r6, #57] ; 0x39 - 8007b1c: f99d 3016 ldrsb.w r3, [sp, #22] - 8007b20: f886 3039 strb.w r3, [r6, #57] ; 0x39 - 8007b24: 429a cmp r2, r3 - 8007b26: f89d 3017 ldrb.w r3, [sp, #23] - 8007b2a: f886 3038 strb.w r3, [r6, #56] ; 0x38 - 8007b2e: bfb8 it lt - 8007b30: 2201 movlt r2, #1 - 8007b32: f89d 301c ldrb.w r3, [sp, #28] - 8007b36: bfb8 it lt - 8007b38: f886 211d strblt.w r2, [r6, #285] ; 0x11d - 8007b3c: f886 3068 strb.w r3, [r6, #104] ; 0x68 - 8007b40: f04f 0900 mov.w r9, #0 - 8007b44: e009 b.n 8007b5a - 8007b46: 2305 movs r3, #5 - 8007b48: e7d1 b.n 8007aee - 8007b4a: 2201 movs r2, #1 - 8007b4c: f10d 0115 add.w r1, sp, #21 - 8007b50: 2003 movs r0, #3 - 8007b52: f002 f8db bl 8009d0c - 8007b56: f109 0901 add.w r9, r9, #1 - 8007b5a: fa5f f289 uxtb.w r2, r9 - 8007b5e: f89d 3020 ldrb.w r3, [sp, #32] - 8007b62: fbb3 f1f8 udiv r1, r3, r8 - 8007b66: 4291 cmp r1, r2 - 8007b68: d8ef bhi.n 8007b4a - 8007b6a: 4423 add r3, r4 - 8007b6c: b2dc uxtb r4, r3 - 8007b6e: 1e63 subs r3, r4, #1 - 8007b70: b2db uxtb r3, r3 - 8007b72: 429f cmp r7, r3 - 8007b74: d90d bls.n 8007b92 - 8007b76: 5cea ldrb r2, [r5, r3] - 8007b78: 2a03 cmp r2, #3 - 8007b7a: d09a beq.n 8007ab2 - 8007b7c: 42a7 cmp r7, r4 - 8007b7e: bf88 it hi - 8007b80: 461c movhi r4, r3 - 8007b82: f04f 0801 mov.w r8, #1 - 8007b86: e784 b.n 8007a92 - 8007b88: f109 0905 add.w r9, r9, #5 - 8007b8c: fa5f f489 uxtb.w r4, r9 - 8007b90: e7f7 b.n 8007b82 - 8007b92: 461c mov r4, r3 - 8007b94: e7f5 b.n 8007b82 - 8007b96: 5d2b ldrb r3, [r5, r4] - 8007b98: 2201 movs r2, #1 - 8007b9a: f003 030f and.w r3, r3, #15 - 8007b9e: f109 0902 add.w r9, r9, #2 - 8007ba2: f886 311b strb.w r3, [r6, #283] ; 0x11b - 8007ba6: fa02 f303 lsl.w r3, r2, r3 - 8007baa: fa5f f989 uxtb.w r9, r9 - 8007bae: f8a6 3120 strh.w r3, [r6, #288] ; 0x120 - 8007bb2: 2200 movs r2, #0 - 8007bb4: a906 add r1, sp, #24 - 8007bb6: 2004 movs r0, #4 - 8007bb8: f002 f8a8 bl 8009d0c - 8007bbc: 464c mov r4, r9 - 8007bbe: e768 b.n 8007a92 - 8007bc0: 2307 movs r3, #7 - 8007bc2: f88d 3015 strb.w r3, [sp, #21] - 8007bc6: 5d2b ldrb r3, [r5, r4] - 8007bc8: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 8007bcc: f3c3 1202 ubfx r2, r3, #4, #3 - 8007bd0: f003 030f and.w r3, r3, #15 - 8007bd4: f88d 3030 strb.w r3, [sp, #48] ; 0x30 - 8007bd8: f109 0303 add.w r3, r9, #3 - 8007bdc: b2db uxtb r3, r3 - 8007bde: f88d 2031 strb.w r2, [sp, #49] ; 0x31 - 8007be2: 5cea ldrb r2, [r5, r3] - 8007be4: f109 0304 add.w r3, r9, #4 - 8007be8: b2db uxtb r3, r3 - 8007bea: f109 0405 add.w r4, r9, #5 - 8007bee: 5ceb ldrb r3, [r5, r3] - 8007bf0: f109 0902 add.w r9, r9, #2 - 8007bf4: fa5f f989 uxtb.w r9, r9 - 8007bf8: 041b lsls r3, r3, #16 - 8007bfa: ea43 2302 orr.w r3, r3, r2, lsl #8 - 8007bfe: f815 2009 ldrb.w r2, [r5, r9] - 8007c02: 4313 orrs r3, r2 - 8007c04: 2264 movs r2, #100 ; 0x64 - 8007c06: 4353 muls r3, r2 - 8007c08: a90c add r1, sp, #48 ; 0x30 - 8007c0a: 930d str r3, [sp, #52] ; 0x34 - 8007c0c: f002 ff2b bl 800aa66 - 8007c10: f000 0307 and.w r3, r0, #7 - 8007c14: 2b07 cmp r3, #7 - 8007c16: b2e4 uxtb r4, r4 - 8007c18: f88d 0015 strb.w r0, [sp, #21] - 8007c1c: d10c bne.n 8007c38 - 8007c1e: f89d 3030 ldrb.w r3, [sp, #48] ; 0x30 - 8007c22: f886 3070 strb.w r3, [r6, #112] ; 0x70 - 8007c26: f886 3078 strb.w r3, [r6, #120] ; 0x78 - 8007c2a: 9b0d ldr r3, [sp, #52] ; 0x34 - 8007c2c: 66f3 str r3, [r6, #108] ; 0x6c - 8007c2e: 6773 str r3, [r6, #116] ; 0x74 - 8007c30: f89d 3031 ldrb.w r3, [sp, #49] ; 0x31 - 8007c34: f886 3069 strb.w r3, [r6, #105] ; 0x69 - 8007c38: f88d 0018 strb.w r0, [sp, #24] - 8007c3c: 2201 movs r2, #1 - 8007c3e: a906 add r1, sp, #24 - 8007c40: 2005 movs r0, #5 - 8007c42: f002 f863 bl 8009d0c - 8007c46: e724 b.n 8007a92 - 8007c48: 4b31 ldr r3, [pc, #196] ; (8007d10 ) - 8007c4a: f8d3 3348 ldr.w r3, [r3, #840] ; 0x348 - 8007c4e: b16b cbz r3, 8007c6c - 8007c50: 681b ldr r3, [r3, #0] - 8007c52: b15b cbz r3, 8007c6c - 8007c54: 4798 blx r3 - 8007c56: 9b02 ldr r3, [sp, #8] - 8007c58: f88d 0018 strb.w r0, [sp, #24] - 8007c5c: f003 033f and.w r3, r3, #63 ; 0x3f - 8007c60: f88d 3019 strb.w r3, [sp, #25] - 8007c64: 2202 movs r2, #2 - 8007c66: a906 add r1, sp, #24 - 8007c68: 2006 movs r0, #6 - 8007c6a: e7ea b.n 8007c42 - 8007c6c: 20ff movs r0, #255 ; 0xff - 8007c6e: e7f2 b.n 8007c56 - 8007c70: 2303 movs r3, #3 - 8007c72: f88d 3015 strb.w r3, [sp, #21] - 8007c76: 5d2b ldrb r3, [r5, r4] - 8007c78: f88d 3024 strb.w r3, [sp, #36] ; 0x24 - 8007c7c: ab0c add r3, sp, #48 ; 0x30 - 8007c7e: 9308 str r3, [sp, #32] - 8007c80: f109 0303 add.w r3, r9, #3 - 8007c84: b2db uxtb r3, r3 - 8007c86: f109 0406 add.w r4, r9, #6 - 8007c8a: 5cea ldrb r2, [r5, r3] - 8007c8c: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 8007c90: f109 0304 add.w r3, r9, #4 - 8007c94: b2db uxtb r3, r3 - 8007c96: a908 add r1, sp, #32 - 8007c98: 5ceb ldrb r3, [r5, r3] - 8007c9a: 041b lsls r3, r3, #16 - 8007c9c: ea43 2302 orr.w r3, r3, r2, lsl #8 - 8007ca0: f109 0202 add.w r2, r9, #2 - 8007ca4: b2d2 uxtb r2, r2 - 8007ca6: f109 0905 add.w r9, r9, #5 - 8007caa: 5caa ldrb r2, [r5, r2] - 8007cac: 4313 orrs r3, r2 - 8007cae: 2264 movs r2, #100 ; 0x64 - 8007cb0: 4353 muls r3, r2 - 8007cb2: fa5f f989 uxtb.w r9, r9 - 8007cb6: 930c str r3, [sp, #48] ; 0x30 - 8007cb8: 2300 movs r3, #0 - 8007cba: 930d str r3, [sp, #52] ; 0x34 - 8007cbc: f815 3009 ldrb.w r3, [r5, r9] - 8007cc0: f88d 3038 strb.w r3, [sp, #56] ; 0x38 - 8007cc4: f002 fed5 bl 800aa72 - 8007cc8: b2c3 uxtb r3, r0 - 8007cca: 2800 cmp r0, #0 - 8007ccc: b2e4 uxtb r4, r4 - 8007cce: f88d 3015 strb.w r3, [sp, #21] - 8007cd2: f6ff aede blt.w 8007a92 - 8007cd6: f88d 3018 strb.w r3, [sp, #24] - 8007cda: 2201 movs r2, #1 - 8007cdc: a906 add r1, sp, #24 - 8007cde: 2007 movs r0, #7 - 8007ce0: e7af b.n 8007c42 - 8007ce2: 5d2b ldrb r3, [r5, r4] - 8007ce4: f003 030f and.w r3, r3, #15 - 8007ce8: 2b01 cmp r3, #1 - 8007cea: f44f 727a mov.w r2, #1000 ; 0x3e8 - 8007cee: bf38 it cc - 8007cf0: 2301 movcc r3, #1 - 8007cf2: 4353 muls r3, r2 - 8007cf4: f109 0902 add.w r9, r9, #2 - 8007cf8: 65b3 str r3, [r6, #88] ; 0x58 - 8007cfa: 4413 add r3, r2 - 8007cfc: fa5f f989 uxtb.w r9, r9 - 8007d00: 65f3 str r3, [r6, #92] ; 0x5c - 8007d02: 2200 movs r2, #0 - 8007d04: a906 add r1, sp, #24 - 8007d06: 2008 movs r0, #8 - 8007d08: e756 b.n 8007bb8 - 8007d0a: bf00 nop - 8007d0c: 20000c00 .word 0x20000c00 - 8007d10: 200011c8 .word 0x200011c8 - 8007d14: 5d2b ldrb r3, [r5, r4] - 8007d16: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 8007d1a: f3c3 1240 ubfx r2, r3, #5, #1 - 8007d1e: f88d 201d strb.w r2, [sp, #29] - 8007d22: a907 add r1, sp, #28 - 8007d24: f3c3 1200 ubfx r2, r3, #4, #1 - 8007d28: f003 030f and.w r3, r3, #15 - 8007d2c: f88d 201c strb.w r2, [sp, #28] - 8007d30: f88d 301e strb.w r3, [sp, #30] - 8007d34: f002 fea3 bl 800aa7e - 8007d38: f109 0902 add.w r9, r9, #2 - 8007d3c: 3001 adds r0, #1 - 8007d3e: fa5f f989 uxtb.w r9, r9 - 8007d42: f43f af3b beq.w 8007bbc - 8007d46: f8bd 301c ldrh.w r3, [sp, #28] - 8007d4a: 4a91 ldr r2, [pc, #580] ; (8007f90 ) - 8007d4c: f8a6 307c strh.w r3, [r6, #124] ; 0x7c - 8007d50: f89d 301e ldrb.w r3, [sp, #30] - 8007d54: f89d 401c ldrb.w r4, [sp, #28] - 8007d58: 5cd0 ldrb r0, [r2, r3] - 8007d5a: f7f8 fd37 bl 80007cc <__aeabi_ui2f> - 8007d5e: 2302 movs r3, #2 - 8007d60: f8c6 0080 str.w r0, [r6, #128] ; 0x80 - 8007d64: a90c add r1, sp, #48 ; 0x30 - 8007d66: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 8007d6a: f88d 3030 strb.w r3, [sp, #48] ; 0x30 - 8007d6e: f88d 4032 strb.w r4, [sp, #50] ; 0x32 - 8007d72: f002 fe23 bl 800a9bc - 8007d76: f996 3039 ldrsb.w r3, [r6, #57] ; 0x39 - 8007d7a: 9008 str r0, [sp, #32] - 8007d7c: b240 sxtb r0, r0 - 8007d7e: 4298 cmp r0, r3 - 8007d80: bfb8 it lt - 8007d82: 4618 movlt r0, r3 - 8007d84: f886 0039 strb.w r0, [r6, #57] ; 0x39 - 8007d88: 2200 movs r2, #0 - 8007d8a: a906 add r1, sp, #24 - 8007d8c: 2009 movs r0, #9 - 8007d8e: e713 b.n 8007bb8 - 8007d90: 2303 movs r3, #3 - 8007d92: f88d 3015 strb.w r3, [sp, #21] - 8007d96: 5d2b ldrb r3, [r5, r4] - 8007d98: f88d 3030 strb.w r3, [sp, #48] ; 0x30 - 8007d9c: f109 0303 add.w r3, r9, #3 - 8007da0: b2db uxtb r3, r3 - 8007da2: f109 0405 add.w r4, r9, #5 - 8007da6: 5cea ldrb r2, [r5, r3] - 8007da8: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 8007dac: f109 0304 add.w r3, r9, #4 - 8007db0: b2db uxtb r3, r3 - 8007db2: f109 0902 add.w r9, r9, #2 - 8007db6: 5ceb ldrb r3, [r5, r3] - 8007db8: fa5f f989 uxtb.w r9, r9 - 8007dbc: 041b lsls r3, r3, #16 - 8007dbe: ea43 2302 orr.w r3, r3, r2, lsl #8 - 8007dc2: f815 2009 ldrb.w r2, [r5, r9] - 8007dc6: 4313 orrs r3, r2 - 8007dc8: 2264 movs r2, #100 ; 0x64 - 8007dca: 4353 muls r3, r2 - 8007dcc: a90c add r1, sp, #48 ; 0x30 - 8007dce: 930d str r3, [sp, #52] ; 0x34 - 8007dd0: f002 fe5b bl 800aa8a - 8007dd4: b2c3 uxtb r3, r0 - 8007dd6: 2800 cmp r0, #0 - 8007dd8: b2e4 uxtb r4, r4 - 8007dda: f88d 3015 strb.w r3, [sp, #21] - 8007dde: f6ff ae58 blt.w 8007a92 - 8007de2: f88d 3018 strb.w r3, [sp, #24] - 8007de6: 2201 movs r2, #1 - 8007de8: a906 add r1, sp, #24 - 8007dea: 200a movs r0, #10 - 8007dec: e729 b.n 8007c42 - 8007dee: 2009 movs r0, #9 - 8007df0: f002 f928 bl 800a044 - 8007df4: f8df a19c ldr.w sl, [pc, #412] ; 8007f94 - 8007df8: 2800 cmp r0, #0 - 8007dfa: d054 beq.n 8007ea6 - 8007dfc: 2109 movs r1, #9 - 8007dfe: 2000 movs r0, #0 - 8007e00: f002 f8e4 bl 8009fcc - 8007e04: 2300 movs r3, #0 - 8007e06: f8ad 3026 strh.w r3, [sp, #38] ; 0x26 - 8007e0a: f109 0302 add.w r3, r9, #2 - 8007e0e: b2db uxtb r3, r3 - 8007e10: f44f 717a mov.w r1, #1000 ; 0x3e8 - 8007e14: 5cea ldrb r2, [r5, r3] - 8007e16: f109 0303 add.w r3, r9, #3 - 8007e1a: b2db uxtb r3, r3 - 8007e1c: f10d 0b30 add.w fp, sp, #48 ; 0x30 - 8007e20: 5ceb ldrb r3, [r5, r3] - 8007e22: 041b lsls r3, r3, #16 - 8007e24: ea43 2302 orr.w r3, r3, r2, lsl #8 - 8007e28: 5d2a ldrb r2, [r5, r4] - 8007e2a: 4313 orrs r3, r2 - 8007e2c: f109 0204 add.w r2, r9, #4 - 8007e30: b2d2 uxtb r2, r2 - 8007e32: f109 0406 add.w r4, r9, #6 - 8007e36: f109 0905 add.w r9, r9, #5 - 8007e3a: 5caa ldrb r2, [r5, r2] - 8007e3c: fa5f f989 uxtb.w r9, r9 - 8007e40: ea43 6302 orr.w r3, r3, r2, lsl #24 - 8007e44: f815 2009 ldrb.w r2, [r5, r9] - 8007e48: 9303 str r3, [sp, #12] - 8007e4a: 434a muls r2, r1 - 8007e4c: 1212 asrs r2, r2, #8 - 8007e4e: 4658 mov r0, fp - 8007e50: f8ad 2024 strh.w r2, [sp, #36] ; 0x24 - 8007e54: f006 ff72 bl 800ed3c - 8007e58: 9b03 ldr r3, [sp, #12] - 8007e5a: f103 5396 add.w r3, r3, #314572800 ; 0x12c00000 - 8007e5e: f503 13a9 add.w r3, r3, #1384448 ; 0x152000 - 8007e62: f503 53ec add.w r3, r3, #7552 ; 0x1d80 - 8007e66: 9308 str r3, [sp, #32] - 8007e68: f8da 333c ldr.w r3, [sl, #828] ; 0x33c - 8007e6c: 9300 str r3, [sp, #0] - 8007e6e: f10d 0920 add.w r9, sp, #32 - 8007e72: e899 0006 ldmia.w r9, {r1, r2} - 8007e76: f8da 3338 ldr.w r3, [sl, #824] ; 0x338 - 8007e7a: a80a add r0, sp, #40 ; 0x28 - 8007e7c: f006 ff1b bl 800ecb6 - 8007e80: 9b0b ldr r3, [sp, #44] ; 0x2c - 8007e82: 9300 str r3, [sp, #0] - 8007e84: e89b 0006 ldmia.w fp, {r1, r2} - 8007e88: 9b0a ldr r3, [sp, #40] ; 0x28 - 8007e8a: 4648 mov r0, r9 - 8007e8c: f006 fef8 bl 800ec80 - 8007e90: e899 0003 ldmia.w r9, {r0, r1} - 8007e94: f006 ff2a bl 800ecec - 8007e98: f001 ff21 bl 8009cde - 8007e9c: 2301 movs r3, #1 - 8007e9e: b2e4 uxtb r4, r4 - 8007ea0: f88a 3438 strb.w r3, [sl, #1080] ; 0x438 - 8007ea4: e5f5 b.n 8007a92 - 8007ea6: f88a 0438 strb.w r0, [sl, #1080] ; 0x438 - 8007eaa: e5f2 b.n 8007a92 - 8007eac: 200c movs r0, #12 - 8007eae: f002 f8c9 bl 800a044 - 8007eb2: 2800 cmp r0, #0 - 8007eb4: f43f aded beq.w 8007a92 - 8007eb8: 210c movs r1, #12 - 8007eba: 2000 movs r0, #0 - 8007ebc: f002 f886 bl 8009fcc - 8007ec0: 4b34 ldr r3, [pc, #208] ; (8007f94 ) - 8007ec2: f893 3490 ldrb.w r3, [r3, #1168] ; 0x490 - 8007ec6: 3b04 subs r3, #4 - 8007ec8: 2b01 cmp r3, #1 - 8007eca: f67f ade2 bls.w 8007a92 - 8007ece: f001 ff02 bl 8009cd6 - 8007ed2: e5de b.n 8007a92 - 8007ed4: f109 0302 add.w r3, r9, #2 - 8007ed8: b2db uxtb r3, r3 - 8007eda: 5d2a ldrb r2, [r5, r4] - 8007edc: 5ce9 ldrb r1, [r5, r3] - 8007ede: f109 0303 add.w r3, r9, #3 - 8007ee2: b2db uxtb r3, r3 - 8007ee4: f109 0405 add.w r4, r9, #5 - 8007ee8: 5ceb ldrb r3, [r5, r3] - 8007eea: f109 0904 add.w r9, r9, #4 - 8007eee: fa5f f989 uxtb.w r9, r9 - 8007ef2: 041b lsls r3, r3, #16 - 8007ef4: f815 0009 ldrb.w r0, [r5, r9] - 8007ef8: ea43 2301 orr.w r3, r3, r1, lsl #8 - 8007efc: 4313 orrs r3, r2 - 8007efe: 2164 movs r1, #100 ; 0x64 - 8007f00: 4359 muls r1, r3 - 8007f02: f000 000f and.w r0, r0, #15 - 8007f06: f001 fee7 bl 8009cd8 - 8007f0a: b2e4 uxtb r4, r4 - 8007f0c: f88d 0018 strb.w r0, [sp, #24] - 8007f10: 2201 movs r2, #1 - 8007f12: a906 add r1, sp, #24 - 8007f14: 2011 movs r0, #17 - 8007f16: e694 b.n 8007c42 - 8007f18: 200d movs r0, #13 - 8007f1a: f002 f893 bl 800a044 - 8007f1e: 2800 cmp r0, #0 - 8007f20: f43f adb7 beq.w 8007a92 - 8007f24: 210d movs r1, #13 - 8007f26: 2000 movs r0, #0 - 8007f28: f002 f850 bl 8009fcc - 8007f2c: f109 0302 add.w r3, r9, #2 - 8007f30: b2db uxtb r3, r3 - 8007f32: 4a19 ldr r2, [pc, #100] ; (8007f98 ) - 8007f34: 5ce8 ldrb r0, [r5, r3] - 8007f36: 5d2b ldrb r3, [r5, r4] - 8007f38: 6812 ldr r2, [r2, #0] - 8007f3a: f109 0404 add.w r4, r9, #4 - 8007f3e: f109 0903 add.w r9, r9, #3 - 8007f42: fa5f f989 uxtb.w r9, r9 - 8007f46: ea43 2000 orr.w r0, r3, r0, lsl #8 - 8007f4a: f815 1009 ldrb.w r1, [r5, r9] - 8007f4e: b2e4 uxtb r4, r4 - 8007f50: f001 fec4 bl 8009cdc - 8007f54: e59d b.n 8007a92 - 8007f56: 5d2a ldrb r2, [r5, r4] - 8007f58: f109 0302 add.w r3, r9, #2 - 8007f5c: f109 0404 add.w r4, r9, #4 - 8007f60: f109 0903 add.w r9, r9, #3 - 8007f64: b2db uxtb r3, r3 - 8007f66: fa5f f989 uxtb.w r9, r9 - 8007f6a: 5ce9 ldrb r1, [r5, r3] - 8007f6c: f815 3009 ldrb.w r3, [r5, r9] - 8007f70: 041b lsls r3, r3, #16 - 8007f72: ea43 2301 orr.w r3, r3, r1, lsl #8 - 8007f76: 4313 orrs r3, r2 - 8007f78: 2064 movs r0, #100 ; 0x64 - 8007f7a: 4358 muls r0, r3 - 8007f7c: f001 feb0 bl 8009ce0 - 8007f80: b2e4 uxtb r4, r4 - 8007f82: f88d 0018 strb.w r0, [sp, #24] - 8007f86: 2201 movs r2, #1 - 8007f88: a906 add r1, sp, #24 - 8007f8a: 2013 movs r0, #19 - 8007f8c: e659 b.n 8007c42 - 8007f8e: bf00 nop - 8007f90: 0800facf .word 0x0800facf - 8007f94: 200011c8 .word 0x200011c8 - 8007f98: 20001774 .word 0x20001774 +08007604 : + 8007604: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8007608: b091 sub sp, #68 ; 0x44 + 800760a: f04f 0800 mov.w r8, #0 + 800760e: 2b01 cmp r3, #1 + 8007610: 4605 mov r5, r0 + 8007612: 460f mov r7, r1 + 8007614: 9202 str r2, [sp, #8] + 8007616: f88d 8015 strb.w r8, [sp, #21] + 800761a: f8ad 8018 strh.w r8, [sp, #24] + 800761e: d803 bhi.n 8007628 + 8007620: 4ec8 ldr r6, [pc, #800] ; (8007944 ) + 8007622: 46c1 mov r9, r8 + 8007624: 45b9 cmp r9, r7 + 8007626: d302 bcc.n 800762e + 8007628: b011 add sp, #68 ; 0x44 + 800762a: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800762e: f815 0009 ldrb.w r0, [r5, r9] + 8007632: f002 fa77 bl 8009b24 + 8007636: 4448 add r0, r9 + 8007638: 42b8 cmp r0, r7 + 800763a: dcf5 bgt.n 8007628 + 800763c: f815 3009 ldrb.w r3, [r5, r9] + 8007640: f109 0401 add.w r4, r9, #1 + 8007644: 3b02 subs r3, #2 + 8007646: b2e4 uxtb r4, r4 + 8007648: 2b11 cmp r3, #17 + 800764a: d8ed bhi.n 8007628 + 800764c: a201 add r2, pc, #4 ; (adr r2, 8007654 ) + 800764e: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 8007652: bf00 nop + 8007654: 0800769d .word 0x0800769d + 8007658: 080076cf .word 0x080076cf + 800765c: 080077cf .word 0x080077cf + 8007660: 080077f9 .word 0x080077f9 + 8007664: 08007881 .word 0x08007881 + 8007668: 080078a9 .word 0x080078a9 + 800766c: 0800791b .word 0x0800791b + 8007670: 0800794d .word 0x0800794d + 8007674: 080079c9 .word 0x080079c9 + 8007678: 08007629 .word 0x08007629 + 800767c: 08007629 .word 0x08007629 + 8007680: 08007a27 .word 0x08007a27 + 8007684: 08007629 .word 0x08007629 + 8007688: 08007629 .word 0x08007629 + 800768c: 08007ae5 .word 0x08007ae5 + 8007690: 08007b0d .word 0x08007b0d + 8007694: 08007b51 .word 0x08007b51 + 8007698: 08007b8f .word 0x08007b8f + 800769c: 2005 movs r0, #5 + 800769e: f002 faed bl 8009c7c + 80076a2: b190 cbz r0, 80076ca + 80076a4: 2105 movs r1, #5 + 80076a6: 2000 movs r0, #0 + 80076a8: f002 faac bl 8009c04 + 80076ac: 5d2a ldrb r2, [r5, r4] + 80076ae: 4ba6 ldr r3, [pc, #664] ; (8007948 ) + 80076b0: f109 0403 add.w r4, r9, #3 + 80076b4: f109 0902 add.w r9, r9, #2 + 80076b8: fa5f f989 uxtb.w r9, r9 + 80076bc: f883 245c strb.w r2, [r3, #1116] ; 0x45c + 80076c0: f815 2009 ldrb.w r2, [r5, r9] + 80076c4: f883 245d strb.w r2, [r3, #1117] ; 0x45d + 80076c8: b2e4 uxtb r4, r4 + 80076ca: 46a1 mov r9, r4 + 80076cc: e7aa b.n 8007624 + 80076ce: 2300 movs r3, #0 + 80076d0: f88d 3016 strb.w r3, [sp, #22] + 80076d4: f88d 3017 strb.w r3, [sp, #23] + 80076d8: f88d 301c strb.w r3, [sp, #28] + 80076dc: f88d 3020 strb.w r3, [sp, #32] + 80076e0: f1b8 0f00 cmp.w r8, #0 + 80076e4: d16c bne.n 80077c0 + 80076e6: f04f 0805 mov.w r8, #5 + 80076ea: f896 207c ldrb.w r2, [r6, #124] ; 0x7c + 80076ee: f88d 2039 strb.w r2, [sp, #57] ; 0x39 + 80076f2: 1e63 subs r3, r4, #1 + 80076f4: f896 2039 ldrb.w r2, [r6, #57] ; 0x39 + 80076f8: f88d 203b strb.w r2, [sp, #59] ; 0x3b + 80076fc: 442b add r3, r5 + 80076fe: f896 2038 ldrb.w r2, [r6, #56] ; 0x38 + 8007702: 930d str r3, [sp, #52] ; 0x34 + 8007704: f88d 203c strb.w r2, [sp, #60] ; 0x3c + 8007708: f896 311a ldrb.w r3, [r6, #282] ; 0x11a + 800770c: f896 2068 ldrb.w r2, [r6, #104] ; 0x68 + 8007710: f88d 203d strb.w r2, [sp, #61] ; 0x3d + 8007714: f8d6 212c ldr.w r2, [r6, #300] ; 0x12c + 8007718: f88d 303a strb.w r3, [sp, #58] ; 0x3a + 800771c: 920c str r2, [sp, #48] ; 0x30 + 800771e: b373 cbz r3, 800777e + 8007720: 1c7b adds r3, r7, #1 + 8007722: 1b1b subs r3, r3, r4 + 8007724: b2db uxtb r3, r3 + 8007726: f88d 3038 strb.w r3, [sp, #56] ; 0x38 + 800772a: ab08 add r3, sp, #32 + 800772c: 9301 str r3, [sp, #4] + 800772e: ab07 add r3, sp, #28 + 8007730: 9300 str r3, [sp, #0] + 8007732: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 8007736: f10d 0317 add.w r3, sp, #23 + 800773a: f10d 0216 add.w r2, sp, #22 + 800773e: a90c add r1, sp, #48 ; 0x30 + 8007740: f002 ff9e bl 800a680 + 8007744: f88d 0015 strb.w r0, [sp, #21] + 8007748: f000 0007 and.w r0, r0, #7 + 800774c: 2807 cmp r0, #7 + 800774e: d113 bne.n 8007778 + 8007750: f996 2039 ldrsb.w r2, [r6, #57] ; 0x39 + 8007754: f99d 3016 ldrsb.w r3, [sp, #22] + 8007758: f886 3039 strb.w r3, [r6, #57] ; 0x39 + 800775c: 429a cmp r2, r3 + 800775e: f89d 3017 ldrb.w r3, [sp, #23] + 8007762: f886 3038 strb.w r3, [r6, #56] ; 0x38 + 8007766: bfb8 it lt + 8007768: 2201 movlt r2, #1 + 800776a: f89d 301c ldrb.w r3, [sp, #28] + 800776e: bfb8 it lt + 8007770: f886 211d strblt.w r2, [r6, #285] ; 0x11d + 8007774: f886 3068 strb.w r3, [r6, #104] ; 0x68 + 8007778: f04f 0900 mov.w r9, #0 + 800777c: e009 b.n 8007792 + 800777e: 2305 movs r3, #5 + 8007780: e7d1 b.n 8007726 + 8007782: 2201 movs r2, #1 + 8007784: f10d 0115 add.w r1, sp, #21 + 8007788: 2003 movs r0, #3 + 800778a: f002 f8db bl 8009944 + 800778e: f109 0901 add.w r9, r9, #1 + 8007792: fa5f f289 uxtb.w r2, r9 + 8007796: f89d 3020 ldrb.w r3, [sp, #32] + 800779a: fbb3 f1f8 udiv r1, r3, r8 + 800779e: 4291 cmp r1, r2 + 80077a0: d8ef bhi.n 8007782 + 80077a2: 4423 add r3, r4 + 80077a4: b2dc uxtb r4, r3 + 80077a6: 1e63 subs r3, r4, #1 + 80077a8: b2db uxtb r3, r3 + 80077aa: 429f cmp r7, r3 + 80077ac: d90d bls.n 80077ca + 80077ae: 5cea ldrb r2, [r5, r3] + 80077b0: 2a03 cmp r2, #3 + 80077b2: d09a beq.n 80076ea + 80077b4: 42a7 cmp r7, r4 + 80077b6: bf88 it hi + 80077b8: 461c movhi r4, r3 + 80077ba: f04f 0801 mov.w r8, #1 + 80077be: e784 b.n 80076ca + 80077c0: f109 0905 add.w r9, r9, #5 + 80077c4: fa5f f489 uxtb.w r4, r9 + 80077c8: e7f7 b.n 80077ba + 80077ca: 461c mov r4, r3 + 80077cc: e7f5 b.n 80077ba + 80077ce: 5d2b ldrb r3, [r5, r4] + 80077d0: 2201 movs r2, #1 + 80077d2: f003 030f and.w r3, r3, #15 + 80077d6: f109 0902 add.w r9, r9, #2 + 80077da: f886 311b strb.w r3, [r6, #283] ; 0x11b + 80077de: fa02 f303 lsl.w r3, r2, r3 + 80077e2: fa5f f989 uxtb.w r9, r9 + 80077e6: f8a6 3120 strh.w r3, [r6, #288] ; 0x120 + 80077ea: 2200 movs r2, #0 + 80077ec: a906 add r1, sp, #24 + 80077ee: 2004 movs r0, #4 + 80077f0: f002 f8a8 bl 8009944 + 80077f4: 464c mov r4, r9 + 80077f6: e768 b.n 80076ca + 80077f8: 2307 movs r3, #7 + 80077fa: f88d 3015 strb.w r3, [sp, #21] + 80077fe: 5d2b ldrb r3, [r5, r4] + 8007800: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 8007804: f3c3 1202 ubfx r2, r3, #4, #3 + 8007808: f003 030f and.w r3, r3, #15 + 800780c: f88d 3030 strb.w r3, [sp, #48] ; 0x30 + 8007810: f109 0303 add.w r3, r9, #3 + 8007814: b2db uxtb r3, r3 + 8007816: f88d 2031 strb.w r2, [sp, #49] ; 0x31 + 800781a: 5cea ldrb r2, [r5, r3] + 800781c: f109 0304 add.w r3, r9, #4 + 8007820: b2db uxtb r3, r3 + 8007822: f109 0405 add.w r4, r9, #5 + 8007826: 5ceb ldrb r3, [r5, r3] + 8007828: f109 0902 add.w r9, r9, #2 + 800782c: fa5f f989 uxtb.w r9, r9 + 8007830: 041b lsls r3, r3, #16 + 8007832: ea43 2302 orr.w r3, r3, r2, lsl #8 + 8007836: f815 2009 ldrb.w r2, [r5, r9] + 800783a: 4313 orrs r3, r2 + 800783c: 2264 movs r2, #100 ; 0x64 + 800783e: 4353 muls r3, r2 + 8007840: a90c add r1, sp, #48 ; 0x30 + 8007842: 930d str r3, [sp, #52] ; 0x34 + 8007844: f002 ff2b bl 800a69e + 8007848: f000 0307 and.w r3, r0, #7 + 800784c: 2b07 cmp r3, #7 + 800784e: b2e4 uxtb r4, r4 + 8007850: f88d 0015 strb.w r0, [sp, #21] + 8007854: d10c bne.n 8007870 + 8007856: f89d 3030 ldrb.w r3, [sp, #48] ; 0x30 + 800785a: f886 3070 strb.w r3, [r6, #112] ; 0x70 + 800785e: f886 3078 strb.w r3, [r6, #120] ; 0x78 + 8007862: 9b0d ldr r3, [sp, #52] ; 0x34 + 8007864: 66f3 str r3, [r6, #108] ; 0x6c + 8007866: 6773 str r3, [r6, #116] ; 0x74 + 8007868: f89d 3031 ldrb.w r3, [sp, #49] ; 0x31 + 800786c: f886 3069 strb.w r3, [r6, #105] ; 0x69 + 8007870: f88d 0018 strb.w r0, [sp, #24] + 8007874: 2201 movs r2, #1 + 8007876: a906 add r1, sp, #24 + 8007878: 2005 movs r0, #5 + 800787a: f002 f863 bl 8009944 + 800787e: e724 b.n 80076ca + 8007880: 4b31 ldr r3, [pc, #196] ; (8007948 ) + 8007882: f8d3 3348 ldr.w r3, [r3, #840] ; 0x348 + 8007886: b16b cbz r3, 80078a4 + 8007888: 681b ldr r3, [r3, #0] + 800788a: b15b cbz r3, 80078a4 + 800788c: 4798 blx r3 + 800788e: 9b02 ldr r3, [sp, #8] + 8007890: f88d 0018 strb.w r0, [sp, #24] + 8007894: f003 033f and.w r3, r3, #63 ; 0x3f + 8007898: f88d 3019 strb.w r3, [sp, #25] + 800789c: 2202 movs r2, #2 + 800789e: a906 add r1, sp, #24 + 80078a0: 2006 movs r0, #6 + 80078a2: e7ea b.n 800787a + 80078a4: 20ff movs r0, #255 ; 0xff + 80078a6: e7f2 b.n 800788e + 80078a8: 2303 movs r3, #3 + 80078aa: f88d 3015 strb.w r3, [sp, #21] + 80078ae: 5d2b ldrb r3, [r5, r4] + 80078b0: f88d 3024 strb.w r3, [sp, #36] ; 0x24 + 80078b4: ab0c add r3, sp, #48 ; 0x30 + 80078b6: 9308 str r3, [sp, #32] + 80078b8: f109 0303 add.w r3, r9, #3 + 80078bc: b2db uxtb r3, r3 + 80078be: f109 0406 add.w r4, r9, #6 + 80078c2: 5cea ldrb r2, [r5, r3] + 80078c4: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 80078c8: f109 0304 add.w r3, r9, #4 + 80078cc: b2db uxtb r3, r3 + 80078ce: a908 add r1, sp, #32 + 80078d0: 5ceb ldrb r3, [r5, r3] + 80078d2: 041b lsls r3, r3, #16 + 80078d4: ea43 2302 orr.w r3, r3, r2, lsl #8 + 80078d8: f109 0202 add.w r2, r9, #2 + 80078dc: b2d2 uxtb r2, r2 + 80078de: f109 0905 add.w r9, r9, #5 + 80078e2: 5caa ldrb r2, [r5, r2] + 80078e4: 4313 orrs r3, r2 + 80078e6: 2264 movs r2, #100 ; 0x64 + 80078e8: 4353 muls r3, r2 + 80078ea: fa5f f989 uxtb.w r9, r9 + 80078ee: 930c str r3, [sp, #48] ; 0x30 + 80078f0: 2300 movs r3, #0 + 80078f2: 930d str r3, [sp, #52] ; 0x34 + 80078f4: f815 3009 ldrb.w r3, [r5, r9] + 80078f8: f88d 3038 strb.w r3, [sp, #56] ; 0x38 + 80078fc: f002 fed5 bl 800a6aa + 8007900: b2c3 uxtb r3, r0 + 8007902: 2800 cmp r0, #0 + 8007904: b2e4 uxtb r4, r4 + 8007906: f88d 3015 strb.w r3, [sp, #21] + 800790a: f6ff aede blt.w 80076ca + 800790e: f88d 3018 strb.w r3, [sp, #24] + 8007912: 2201 movs r2, #1 + 8007914: a906 add r1, sp, #24 + 8007916: 2007 movs r0, #7 + 8007918: e7af b.n 800787a + 800791a: 5d2b ldrb r3, [r5, r4] + 800791c: f003 030f and.w r3, r3, #15 + 8007920: 2b01 cmp r3, #1 + 8007922: f44f 727a mov.w r2, #1000 ; 0x3e8 + 8007926: bf38 it cc + 8007928: 2301 movcc r3, #1 + 800792a: 4353 muls r3, r2 + 800792c: f109 0902 add.w r9, r9, #2 + 8007930: 65b3 str r3, [r6, #88] ; 0x58 + 8007932: 4413 add r3, r2 + 8007934: fa5f f989 uxtb.w r9, r9 + 8007938: 65f3 str r3, [r6, #92] ; 0x5c + 800793a: 2200 movs r2, #0 + 800793c: a906 add r1, sp, #24 + 800793e: 2008 movs r0, #8 + 8007940: e756 b.n 80077f0 + 8007942: bf00 nop + 8007944: 20000c00 .word 0x20000c00 + 8007948: 200011c8 .word 0x200011c8 + 800794c: 5d2b ldrb r3, [r5, r4] + 800794e: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 8007952: f3c3 1240 ubfx r2, r3, #5, #1 + 8007956: f88d 201d strb.w r2, [sp, #29] + 800795a: a907 add r1, sp, #28 + 800795c: f3c3 1200 ubfx r2, r3, #4, #1 + 8007960: f003 030f and.w r3, r3, #15 + 8007964: f88d 201c strb.w r2, [sp, #28] + 8007968: f88d 301e strb.w r3, [sp, #30] + 800796c: f002 fea3 bl 800a6b6 + 8007970: f109 0902 add.w r9, r9, #2 + 8007974: 3001 adds r0, #1 + 8007976: fa5f f989 uxtb.w r9, r9 + 800797a: f43f af3b beq.w 80077f4 + 800797e: f8bd 301c ldrh.w r3, [sp, #28] + 8007982: 4a91 ldr r2, [pc, #580] ; (8007bc8 ) + 8007984: f8a6 307c strh.w r3, [r6, #124] ; 0x7c + 8007988: f89d 301e ldrb.w r3, [sp, #30] + 800798c: f89d 401c ldrb.w r4, [sp, #28] + 8007990: 5cd0 ldrb r0, [r2, r3] + 8007992: f7f8 ff1b bl 80007cc <__aeabi_ui2f> + 8007996: 2302 movs r3, #2 + 8007998: f8c6 0080 str.w r0, [r6, #128] ; 0x80 + 800799c: a90c add r1, sp, #48 ; 0x30 + 800799e: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 80079a2: f88d 3030 strb.w r3, [sp, #48] ; 0x30 + 80079a6: f88d 4032 strb.w r4, [sp, #50] ; 0x32 + 80079aa: f002 fe23 bl 800a5f4 + 80079ae: f996 3039 ldrsb.w r3, [r6, #57] ; 0x39 + 80079b2: 9008 str r0, [sp, #32] + 80079b4: b240 sxtb r0, r0 + 80079b6: 4298 cmp r0, r3 + 80079b8: bfb8 it lt + 80079ba: 4618 movlt r0, r3 + 80079bc: f886 0039 strb.w r0, [r6, #57] ; 0x39 + 80079c0: 2200 movs r2, #0 + 80079c2: a906 add r1, sp, #24 + 80079c4: 2009 movs r0, #9 + 80079c6: e713 b.n 80077f0 + 80079c8: 2303 movs r3, #3 + 80079ca: f88d 3015 strb.w r3, [sp, #21] + 80079ce: 5d2b ldrb r3, [r5, r4] + 80079d0: f88d 3030 strb.w r3, [sp, #48] ; 0x30 + 80079d4: f109 0303 add.w r3, r9, #3 + 80079d8: b2db uxtb r3, r3 + 80079da: f109 0405 add.w r4, r9, #5 + 80079de: 5cea ldrb r2, [r5, r3] + 80079e0: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 80079e4: f109 0304 add.w r3, r9, #4 + 80079e8: b2db uxtb r3, r3 + 80079ea: f109 0902 add.w r9, r9, #2 + 80079ee: 5ceb ldrb r3, [r5, r3] + 80079f0: fa5f f989 uxtb.w r9, r9 + 80079f4: 041b lsls r3, r3, #16 + 80079f6: ea43 2302 orr.w r3, r3, r2, lsl #8 + 80079fa: f815 2009 ldrb.w r2, [r5, r9] + 80079fe: 4313 orrs r3, r2 + 8007a00: 2264 movs r2, #100 ; 0x64 + 8007a02: 4353 muls r3, r2 + 8007a04: a90c add r1, sp, #48 ; 0x30 + 8007a06: 930d str r3, [sp, #52] ; 0x34 + 8007a08: f002 fe5b bl 800a6c2 + 8007a0c: b2c3 uxtb r3, r0 + 8007a0e: 2800 cmp r0, #0 + 8007a10: b2e4 uxtb r4, r4 + 8007a12: f88d 3015 strb.w r3, [sp, #21] + 8007a16: f6ff ae58 blt.w 80076ca + 8007a1a: f88d 3018 strb.w r3, [sp, #24] + 8007a1e: 2201 movs r2, #1 + 8007a20: a906 add r1, sp, #24 + 8007a22: 200a movs r0, #10 + 8007a24: e729 b.n 800787a + 8007a26: 2009 movs r0, #9 + 8007a28: f002 f928 bl 8009c7c + 8007a2c: f8df a19c ldr.w sl, [pc, #412] ; 8007bcc + 8007a30: 2800 cmp r0, #0 + 8007a32: d054 beq.n 8007ade + 8007a34: 2109 movs r1, #9 + 8007a36: 2000 movs r0, #0 + 8007a38: f002 f8e4 bl 8009c04 + 8007a3c: 2300 movs r3, #0 + 8007a3e: f8ad 3026 strh.w r3, [sp, #38] ; 0x26 + 8007a42: f109 0302 add.w r3, r9, #2 + 8007a46: b2db uxtb r3, r3 + 8007a48: f44f 717a mov.w r1, #1000 ; 0x3e8 + 8007a4c: 5cea ldrb r2, [r5, r3] + 8007a4e: f109 0303 add.w r3, r9, #3 + 8007a52: b2db uxtb r3, r3 + 8007a54: f10d 0b30 add.w fp, sp, #48 ; 0x30 + 8007a58: 5ceb ldrb r3, [r5, r3] + 8007a5a: 041b lsls r3, r3, #16 + 8007a5c: ea43 2302 orr.w r3, r3, r2, lsl #8 + 8007a60: 5d2a ldrb r2, [r5, r4] + 8007a62: 4313 orrs r3, r2 + 8007a64: f109 0204 add.w r2, r9, #4 + 8007a68: b2d2 uxtb r2, r2 + 8007a6a: f109 0406 add.w r4, r9, #6 + 8007a6e: f109 0905 add.w r9, r9, #5 + 8007a72: 5caa ldrb r2, [r5, r2] + 8007a74: fa5f f989 uxtb.w r9, r9 + 8007a78: ea43 6302 orr.w r3, r3, r2, lsl #24 + 8007a7c: f815 2009 ldrb.w r2, [r5, r9] + 8007a80: 9303 str r3, [sp, #12] + 8007a82: 434a muls r2, r1 + 8007a84: 1212 asrs r2, r2, #8 + 8007a86: 4658 mov r0, fp + 8007a88: f8ad 2024 strh.w r2, [sp, #36] ; 0x24 + 8007a8c: f006 ff72 bl 800e974 + 8007a90: 9b03 ldr r3, [sp, #12] + 8007a92: f103 5396 add.w r3, r3, #314572800 ; 0x12c00000 + 8007a96: f503 13a9 add.w r3, r3, #1384448 ; 0x152000 + 8007a9a: f503 53ec add.w r3, r3, #7552 ; 0x1d80 + 8007a9e: 9308 str r3, [sp, #32] + 8007aa0: f8da 333c ldr.w r3, [sl, #828] ; 0x33c + 8007aa4: 9300 str r3, [sp, #0] + 8007aa6: f10d 0920 add.w r9, sp, #32 + 8007aaa: e899 0006 ldmia.w r9, {r1, r2} + 8007aae: f8da 3338 ldr.w r3, [sl, #824] ; 0x338 + 8007ab2: a80a add r0, sp, #40 ; 0x28 + 8007ab4: f006 ff1b bl 800e8ee + 8007ab8: 9b0b ldr r3, [sp, #44] ; 0x2c + 8007aba: 9300 str r3, [sp, #0] + 8007abc: e89b 0006 ldmia.w fp, {r1, r2} + 8007ac0: 9b0a ldr r3, [sp, #40] ; 0x28 + 8007ac2: 4648 mov r0, r9 + 8007ac4: f006 fef8 bl 800e8b8 + 8007ac8: e899 0003 ldmia.w r9, {r0, r1} + 8007acc: f006 ff2a bl 800e924 + 8007ad0: f001 ff21 bl 8009916 + 8007ad4: 2301 movs r3, #1 + 8007ad6: b2e4 uxtb r4, r4 + 8007ad8: f88a 3438 strb.w r3, [sl, #1080] ; 0x438 + 8007adc: e5f5 b.n 80076ca + 8007ade: f88a 0438 strb.w r0, [sl, #1080] ; 0x438 + 8007ae2: e5f2 b.n 80076ca + 8007ae4: 200c movs r0, #12 + 8007ae6: f002 f8c9 bl 8009c7c + 8007aea: 2800 cmp r0, #0 + 8007aec: f43f aded beq.w 80076ca + 8007af0: 210c movs r1, #12 + 8007af2: 2000 movs r0, #0 + 8007af4: f002 f886 bl 8009c04 + 8007af8: 4b34 ldr r3, [pc, #208] ; (8007bcc ) + 8007afa: f893 3490 ldrb.w r3, [r3, #1168] ; 0x490 + 8007afe: 3b04 subs r3, #4 + 8007b00: 2b01 cmp r3, #1 + 8007b02: f67f ade2 bls.w 80076ca + 8007b06: f001 ff02 bl 800990e + 8007b0a: e5de b.n 80076ca + 8007b0c: f109 0302 add.w r3, r9, #2 + 8007b10: b2db uxtb r3, r3 + 8007b12: 5d2a ldrb r2, [r5, r4] + 8007b14: 5ce9 ldrb r1, [r5, r3] + 8007b16: f109 0303 add.w r3, r9, #3 + 8007b1a: b2db uxtb r3, r3 + 8007b1c: f109 0405 add.w r4, r9, #5 + 8007b20: 5ceb ldrb r3, [r5, r3] + 8007b22: f109 0904 add.w r9, r9, #4 + 8007b26: fa5f f989 uxtb.w r9, r9 + 8007b2a: 041b lsls r3, r3, #16 + 8007b2c: f815 0009 ldrb.w r0, [r5, r9] + 8007b30: ea43 2301 orr.w r3, r3, r1, lsl #8 + 8007b34: 4313 orrs r3, r2 + 8007b36: 2164 movs r1, #100 ; 0x64 + 8007b38: 4359 muls r1, r3 + 8007b3a: f000 000f and.w r0, r0, #15 + 8007b3e: f001 fee7 bl 8009910 + 8007b42: b2e4 uxtb r4, r4 + 8007b44: f88d 0018 strb.w r0, [sp, #24] + 8007b48: 2201 movs r2, #1 + 8007b4a: a906 add r1, sp, #24 + 8007b4c: 2011 movs r0, #17 + 8007b4e: e694 b.n 800787a + 8007b50: 200d movs r0, #13 + 8007b52: f002 f893 bl 8009c7c + 8007b56: 2800 cmp r0, #0 + 8007b58: f43f adb7 beq.w 80076ca + 8007b5c: 210d movs r1, #13 + 8007b5e: 2000 movs r0, #0 + 8007b60: f002 f850 bl 8009c04 + 8007b64: f109 0302 add.w r3, r9, #2 + 8007b68: b2db uxtb r3, r3 + 8007b6a: 4a19 ldr r2, [pc, #100] ; (8007bd0 ) + 8007b6c: 5ce8 ldrb r0, [r5, r3] + 8007b6e: 5d2b ldrb r3, [r5, r4] + 8007b70: 6812 ldr r2, [r2, #0] + 8007b72: f109 0404 add.w r4, r9, #4 + 8007b76: f109 0903 add.w r9, r9, #3 + 8007b7a: fa5f f989 uxtb.w r9, r9 + 8007b7e: ea43 2000 orr.w r0, r3, r0, lsl #8 + 8007b82: f815 1009 ldrb.w r1, [r5, r9] + 8007b86: b2e4 uxtb r4, r4 + 8007b88: f001 fec4 bl 8009914 + 8007b8c: e59d b.n 80076ca + 8007b8e: 5d2a ldrb r2, [r5, r4] + 8007b90: f109 0302 add.w r3, r9, #2 + 8007b94: f109 0404 add.w r4, r9, #4 + 8007b98: f109 0903 add.w r9, r9, #3 + 8007b9c: b2db uxtb r3, r3 + 8007b9e: fa5f f989 uxtb.w r9, r9 + 8007ba2: 5ce9 ldrb r1, [r5, r3] + 8007ba4: f815 3009 ldrb.w r3, [r5, r9] + 8007ba8: 041b lsls r3, r3, #16 + 8007baa: ea43 2301 orr.w r3, r3, r1, lsl #8 + 8007bae: 4313 orrs r3, r2 + 8007bb0: 2064 movs r0, #100 ; 0x64 + 8007bb2: 4358 muls r0, r3 + 8007bb4: f001 feb0 bl 8009918 + 8007bb8: b2e4 uxtb r4, r4 + 8007bba: f88d 0018 strb.w r0, [sp, #24] + 8007bbe: 2201 movs r2, #1 + 8007bc0: a906 add r1, sp, #24 + 8007bc2: 2013 movs r0, #19 + 8007bc4: e659 b.n 800787a + 8007bc6: bf00 nop + 8007bc8: 0800f30b .word 0x0800f30b + 8007bcc: 200011c8 .word 0x200011c8 + 8007bd0: 20001774 .word 0x20001774 -08007f9c : - 8007f9c: 4b0e ldr r3, [pc, #56] ; (8007fd8 ) - 8007f9e: f893 2491 ldrb.w r2, [r3, #1169] ; 0x491 - 8007fa2: 0792 lsls r2, r2, #30 - 8007fa4: d503 bpl.n 8007fae - 8007fa6: f893 248f ldrb.w r2, [r3, #1167] ; 0x48f - 8007faa: 2a01 cmp r2, #1 - 8007fac: d908 bls.n 8007fc0 - 8007fae: 490b ldr r1, [pc, #44] ; (8007fdc ) - 8007fb0: f891 211a ldrb.w r2, [r1, #282] ; 0x11a - 8007fb4: b122 cbz r2, 8007fc0 - 8007fb6: 6a8a ldr r2, [r1, #40] ; 0x28 - 8007fb8: 1c50 adds r0, r2, #1 - 8007fba: bf18 it ne - 8007fbc: 3201 addne r2, #1 - 8007fbe: 628a str r2, [r1, #40] ; 0x28 - 8007fc0: 2200 movs r2, #0 - 8007fc2: f8a3 2418 strh.w r2, [r3, #1048] ; 0x418 - 8007fc6: f883 241a strb.w r2, [r3, #1050] ; 0x41a - 8007fca: f8d3 2340 ldr.w r2, [r3, #832] ; 0x340 - 8007fce: f022 0202 bic.w r2, r2, #2 - 8007fd2: f8c3 2340 str.w r2, [r3, #832] ; 0x340 - 8007fd6: 4770 bx lr - 8007fd8: 200011c8 .word 0x200011c8 - 8007fdc: 20000c00 .word 0x20000c00 +08007bd4 : + 8007bd4: 4b0e ldr r3, [pc, #56] ; (8007c10 ) + 8007bd6: f893 2491 ldrb.w r2, [r3, #1169] ; 0x491 + 8007bda: 0792 lsls r2, r2, #30 + 8007bdc: d503 bpl.n 8007be6 + 8007bde: f893 248f ldrb.w r2, [r3, #1167] ; 0x48f + 8007be2: 2a01 cmp r2, #1 + 8007be4: d908 bls.n 8007bf8 + 8007be6: 490b ldr r1, [pc, #44] ; (8007c14 ) + 8007be8: f891 211a ldrb.w r2, [r1, #282] ; 0x11a + 8007bec: b122 cbz r2, 8007bf8 + 8007bee: 6a8a ldr r2, [r1, #40] ; 0x28 + 8007bf0: 1c50 adds r0, r2, #1 + 8007bf2: bf18 it ne + 8007bf4: 3201 addne r2, #1 + 8007bf6: 628a str r2, [r1, #40] ; 0x28 + 8007bf8: 2200 movs r2, #0 + 8007bfa: f8a3 2418 strh.w r2, [r3, #1048] ; 0x418 + 8007bfe: f883 241a strb.w r2, [r3, #1050] ; 0x41a + 8007c02: f8d3 2340 ldr.w r2, [r3, #832] ; 0x340 + 8007c06: f022 0202 bic.w r2, r2, #2 + 8007c0a: f8c3 2340 str.w r2, [r3, #832] ; 0x340 + 8007c0e: 4770 bx lr + 8007c10: 200011c8 .word 0x200011c8 + 8007c14: 20000c00 .word 0x20000c00 -08007fe0 : - 8007fe0: b570 push {r4, r5, r6, lr} - 8007fe2: 4c18 ldr r4, [pc, #96] ; (8008044 ) - 8007fe4: 4d18 ldr r5, [pc, #96] ; (8008048 ) - 8007fe6: f504 705a add.w r0, r4, #872 ; 0x368 - 8007fea: f006 ff97 bl 800ef1c - 8007fee: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 - 8007ff2: f8d4 0498 ldr.w r0, [r4, #1176] ; 0x498 - 8007ff6: f8d5 6090 ldr.w r6, [r5, #144] ; 0x90 - 8007ffa: f023 0320 bic.w r3, r3, #32 - 8007ffe: f8c4 3340 str.w r3, [r4, #832] ; 0x340 - 8008002: b138 cbz r0, 8008014 - 8008004: f006 ff50 bl 800eea8 - 8008008: 4286 cmp r6, r0 - 800800a: d203 bcs.n 8008014 - 800800c: 2300 movs r3, #0 - 800800e: f885 303a strb.w r3, [r5, #58] ; 0x3a - 8008012: bd70 pop {r4, r5, r6, pc} - 8008014: 2001 movs r0, #1 - 8008016: f7ff f9cd bl 80073b4 - 800801a: 2800 cmp r0, #0 - 800801c: d0f9 beq.n 8008012 - 800801e: 280b cmp r0, #11 - 8008020: d0f7 beq.n 8008012 - 8008022: f895 3039 ldrb.w r3, [r5, #57] ; 0x39 - 8008026: f884 3442 strb.w r3, [r4, #1090] ; 0x442 - 800802a: 2009 movs r0, #9 - 800802c: f894 3418 ldrb.w r3, [r4, #1048] ; 0x418 - 8008030: f884 3445 strb.w r3, [r4, #1093] ; 0x445 - 8008034: f884 0441 strb.w r0, [r4, #1089] ; 0x441 - 8008038: f001 ffea bl 800a010 - 800803c: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 8008040: f7ff bfac b.w 8007f9c - 8008044: 200011c8 .word 0x200011c8 - 8008048: 20000c00 .word 0x20000c00 +08007c18 : + 8007c18: b570 push {r4, r5, r6, lr} + 8007c1a: 4c18 ldr r4, [pc, #96] ; (8007c7c ) + 8007c1c: 4d18 ldr r5, [pc, #96] ; (8007c80 ) + 8007c1e: f504 705a add.w r0, r4, #872 ; 0x368 + 8007c22: f006 ff97 bl 800eb54 + 8007c26: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 + 8007c2a: f8d4 0498 ldr.w r0, [r4, #1176] ; 0x498 + 8007c2e: f8d5 6090 ldr.w r6, [r5, #144] ; 0x90 + 8007c32: f023 0320 bic.w r3, r3, #32 + 8007c36: f8c4 3340 str.w r3, [r4, #832] ; 0x340 + 8007c3a: b138 cbz r0, 8007c4c + 8007c3c: f006 ff50 bl 800eae0 + 8007c40: 4286 cmp r6, r0 + 8007c42: d203 bcs.n 8007c4c + 8007c44: 2300 movs r3, #0 + 8007c46: f885 303a strb.w r3, [r5, #58] ; 0x3a + 8007c4a: bd70 pop {r4, r5, r6, pc} + 8007c4c: 2001 movs r0, #1 + 8007c4e: f7ff f9cd bl 8006fec + 8007c52: 2800 cmp r0, #0 + 8007c54: d0f9 beq.n 8007c4a + 8007c56: 280b cmp r0, #11 + 8007c58: d0f7 beq.n 8007c4a + 8007c5a: f895 3039 ldrb.w r3, [r5, #57] ; 0x39 + 8007c5e: f884 3442 strb.w r3, [r4, #1090] ; 0x442 + 8007c62: 2009 movs r0, #9 + 8007c64: f894 3418 ldrb.w r3, [r4, #1048] ; 0x418 + 8007c68: f884 3445 strb.w r3, [r4, #1093] ; 0x445 + 8007c6c: f884 0441 strb.w r0, [r4, #1089] ; 0x441 + 8007c70: f001 ffea bl 8009c48 + 8007c74: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 8007c78: f7ff bfac b.w 8007bd4 + 8007c7c: 200011c8 .word 0x200011c8 + 8007c80: 20000c00 .word 0x20000c00 -0800804c : - 800804c: 4b09 ldr r3, [pc, #36] ; (8008074 ) - 800804e: f8d3 2340 ldr.w r2, [r3, #832] ; 0x340 - 8008052: 2a01 cmp r2, #1 - 8008054: d00a beq.n 800806c - 8008056: 4908 ldr r1, [pc, #32] ; (8008078 ) - 8008058: 7809 ldrb r1, [r1, #0] - 800805a: 07c9 lsls r1, r1, #31 - 800805c: d408 bmi.n 8008070 - 800805e: b93a cbnz r2, 8008070 - 8008060: f893 0492 ldrb.w r0, [r3, #1170] ; 0x492 - 8008064: 3801 subs r0, #1 - 8008066: bf18 it ne - 8008068: 2001 movne r0, #1 - 800806a: 4770 bx lr - 800806c: 2000 movs r0, #0 - 800806e: 4770 bx lr - 8008070: 2001 movs r0, #1 - 8008072: 4770 bx lr - 8008074: 200011c8 .word 0x200011c8 - 8008078: 200011c4 .word 0x200011c4 +08007c84 : + 8007c84: 4b09 ldr r3, [pc, #36] ; (8007cac ) + 8007c86: f8d3 2340 ldr.w r2, [r3, #832] ; 0x340 + 8007c8a: 2a01 cmp r2, #1 + 8007c8c: d00a beq.n 8007ca4 + 8007c8e: 4908 ldr r1, [pc, #32] ; (8007cb0 ) + 8007c90: 7809 ldrb r1, [r1, #0] + 8007c92: 07c9 lsls r1, r1, #31 + 8007c94: d408 bmi.n 8007ca8 + 8007c96: b93a cbnz r2, 8007ca8 + 8007c98: f893 0492 ldrb.w r0, [r3, #1170] ; 0x492 + 8007c9c: 3801 subs r0, #1 + 8007c9e: bf18 it ne + 8007ca0: 2001 movne r0, #1 + 8007ca2: 4770 bx lr + 8007ca4: 2000 movs r0, #0 + 8007ca6: 4770 bx lr + 8007ca8: 2001 movs r0, #1 + 8007caa: 4770 bx lr + 8007cac: 200011c8 .word 0x200011c8 + 8007cb0: 200011c4 .word 0x200011c4 -0800807c : - 800807c: 4b03 ldr r3, [pc, #12] ; (800808c ) - 800807e: f8d3 0340 ldr.w r0, [r3, #832] ; 0x340 - 8008082: 1e43 subs r3, r0, #1 - 8008084: 4258 negs r0, r3 - 8008086: 4158 adcs r0, r3 - 8008088: 4770 bx lr - 800808a: bf00 nop - 800808c: 200011c8 .word 0x200011c8 +08007cb4 : + 8007cb4: 4b03 ldr r3, [pc, #12] ; (8007cc4 ) + 8007cb6: f8d3 0340 ldr.w r0, [r3, #832] ; 0x340 + 8007cba: 1e43 subs r3, r0, #1 + 8007cbc: 4258 negs r0, r3 + 8007cbe: 4158 adcs r0, r3 + 8007cc0: 4770 bx lr + 8007cc2: bf00 nop + 8007cc4: 200011c8 .word 0x200011c8 -08008090 : - 8008090: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8008094: b0a9 sub sp, #164 ; 0xa4 - 8008096: f3ef 8210 mrs r2, PRIMASK - 800809a: b672 cpsid i - 800809c: f8df 82f4 ldr.w r8, [pc, #756] ; 8008394 - 80080a0: 2100 movs r1, #0 - 80080a2: f8d8 3000 ldr.w r3, [r8] - 80080a6: f8c8 1000 str.w r1, [r8] - 80080aa: f382 8810 msr PRIMASK, r2 - 80080ae: 4cba ldr r4, [pc, #744] ; (8008398 ) - 80080b0: 2b00 cmp r3, #0 - 80080b2: f000 80e4 beq.w 800827e - 80080b6: b2da uxtb r2, r3 - 80080b8: 069b lsls r3, r3, #26 - 80080ba: 9203 str r2, [sp, #12] - 80080bc: d564 bpl.n 8008188 - 80080be: 4db7 ldr r5, [pc, #732] ; (800839c ) - 80080c0: f895 3118 ldrb.w r3, [r5, #280] ; 0x118 - 80080c4: 2b02 cmp r3, #2 - 80080c6: d002 beq.n 80080ce - 80080c8: 4bb5 ldr r3, [pc, #724] ; (80083a0 ) - 80080ca: 6adb ldr r3, [r3, #44] ; 0x2c - 80080cc: 4798 blx r3 - 80080ce: f3ef 8910 mrs r9, PRIMASK - 80080d2: b672 cpsid i - 80080d4: 4fb3 ldr r7, [pc, #716] ; (80083a4 ) - 80080d6: f006 fedd bl 800ee94 - 80080da: 683e ldr r6, [r7, #0] - 80080dc: f8d4 13b0 ldr.w r1, [r4, #944] ; 0x3b0 - 80080e0: 1a36 subs r6, r6, r0 - 80080e2: 4431 add r1, r6 - 80080e4: 48b0 ldr r0, [pc, #704] ; (80083a8 ) - 80080e6: f006 ffa1 bl 800f02c - 80080ea: 48af ldr r0, [pc, #700] ; (80083a8 ) - 80080ec: f006 ff64 bl 800efb8 - 80080f0: f8d4 13b4 ldr.w r1, [r4, #948] ; 0x3b4 - 80080f4: 48ad ldr r0, [pc, #692] ; (80083ac ) - 80080f6: 4431 add r1, r6 - 80080f8: f006 ff98 bl 800f02c - 80080fc: 48ab ldr r0, [pc, #684] ; (80083ac ) - 80080fe: f006 ff5b bl 800efb8 - 8008102: f389 8810 msr PRIMASK, r9 - 8008106: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a - 800810a: 2b00 cmp r3, #0 - 800810c: f000 816d beq.w 80083ea - 8008110: 2315 movs r3, #21 - 8008112: a912 add r1, sp, #72 ; 0x48 - 8008114: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 8008118: f88d 3048 strb.w r3, [sp, #72] ; 0x48 - 800811c: f002 fc4e bl 800a9bc - 8008120: f8d4 13b4 ldr.w r1, [r4, #948] ; 0x3b4 - 8008124: 900f str r0, [sp, #60] ; 0x3c - 8008126: 4401 add r1, r0 - 8008128: 48a1 ldr r0, [pc, #644] ; (80083b0 ) - 800812a: f006 ff7f bl 800f02c - 800812e: 48a0 ldr r0, [pc, #640] ; (80083b0 ) - 8008130: f006 ff42 bl 800efb8 - 8008134: 683b ldr r3, [r7, #0] - 8008136: f894 241b ldrb.w r2, [r4, #1051] ; 0x41b - 800813a: 62eb str r3, [r5, #44] ; 0x2c - 800813c: af0d add r7, sp, #52 ; 0x34 - 800813e: 4638 mov r0, r7 - 8008140: f88d 2070 strb.w r2, [sp, #112] ; 0x70 - 8008144: 931d str r3, [sp, #116] ; 0x74 - 8008146: f006 fe1f bl 800ed88 - 800814a: f8d5 3128 ldr.w r3, [r5, #296] ; 0x128 - 800814e: 9300 str r3, [sp, #0] - 8008150: ae06 add r6, sp, #24 - 8008152: e897 0006 ldmia.w r7, {r1, r2} - 8008156: f8d5 3124 ldr.w r3, [r5, #292] ; 0x124 - 800815a: 4630 mov r0, r6 - 800815c: f006 fdab bl 800ecb6 - 8008160: e896 0003 ldmia.w r6, {r0, r1} - 8008164: ab1f add r3, sp, #124 ; 0x7c - 8008166: e883 0003 stmia.w r3, {r0, r1} - 800816a: f8d4 341c ldr.w r3, [r4, #1052] ; 0x41c - 800816e: 931e str r3, [sp, #120] ; 0x78 - 8008170: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 - 8008174: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 8008178: 3b00 subs r3, #0 - 800817a: bf18 it ne - 800817c: 2301 movne r3, #1 - 800817e: a91c add r1, sp, #112 ; 0x70 - 8008180: f88d 3071 strb.w r3, [sp, #113] ; 0x71 - 8008184: f002 fc23 bl 800a9ce - 8008188: 9b03 ldr r3, [sp, #12] - 800818a: 06df lsls r7, r3, #27 - 800818c: d54b bpl.n 8008226 - 800818e: 4d83 ldr r5, [pc, #524] ; (800839c ) - 8008190: f8df a220 ldr.w sl, [pc, #544] ; 80083b4 - 8008194: f8d5 20e4 ldr.w r2, [r5, #228] ; 0xe4 - 8008198: f9ba 300a ldrsh.w r3, [sl, #10] - 800819c: 9205 str r2, [sp, #20] - 800819e: f898 2000 ldrb.w r2, [r8] - 80081a2: 9304 str r3, [sp, #16] - 80081a4: 2300 movs r3, #0 - 80081a6: f363 0200 bfi r2, r3, #0, #1 - 80081aa: 930a str r3, [sp, #40] ; 0x28 - 80081ac: f888 2000 strb.w r2, [r8] - 80081b0: f884 3444 strb.w r3, [r4, #1092] ; 0x444 - 80081b4: 9a04 ldr r2, [sp, #16] - 80081b6: f8a4 3422 strh.w r3, [r4, #1058] ; 0x422 - 80081ba: f884 3425 strb.w r3, [r4, #1061] ; 0x425 - 80081be: f8c4 3428 str.w r3, [r4, #1064] ; 0x428 - 80081c2: f8a4 342c strh.w r3, [r4, #1068] ; 0x42c - 80081c6: f884 342e strb.w r3, [r4, #1070] ; 0x42e - 80081ca: f8c4 3430 str.w r3, [r4, #1072] ; 0x430 - 80081ce: f884 3420 strb.w r3, [r4, #1056] ; 0x420 - 80081d2: f8c4 3434 str.w r3, [r4, #1076] ; 0x434 - 80081d6: f884 3438 strb.w r3, [r4, #1080] ; 0x438 - 80081da: f8c4 343c str.w r3, [r4, #1084] ; 0x43c - 80081de: 4b70 ldr r3, [pc, #448] ; (80083a0 ) - 80081e0: f99a 900c ldrsb.w r9, [sl, #12] - 80081e4: f8a4 248c strh.w r2, [r4, #1164] ; 0x48c - 80081e8: f894 2490 ldrb.w r2, [r4, #1168] ; 0x490 - 80081ec: 6adb ldr r3, [r3, #44] ; 0x2c - 80081ee: f884 948e strb.w r9, [r4, #1166] ; 0x48e - 80081f2: f884 248f strb.w r2, [r4, #1167] ; 0x48f - 80081f6: f8da 7004 ldr.w r7, [sl, #4] - 80081fa: f8ba 6008 ldrh.w r6, [sl, #8] - 80081fe: 4798 blx r3 - 8008200: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f - 8008204: b913 cbnz r3, 800820c - 8008206: 4869 ldr r0, [pc, #420] ; (80083ac ) - 8008208: f006 fe88 bl 800ef1c - 800820c: 4631 mov r1, r6 - 800820e: 4638 mov r0, r7 - 8008210: f001 fd4e bl 8009cb0 - 8008214: 4683 mov fp, r0 - 8008216: 2800 cmp r0, #0 - 8008218: f000 80ea beq.w 80083f0 - 800821c: 9b04 ldr r3, [sp, #16] - 800821e: f8a4 347e strh.w r3, [r4, #1150] ; 0x47e - 8008222: f884 9480 strb.w r9, [r4, #1152] ; 0x480 - 8008226: 9b03 ldr r3, [sp, #12] - 8008228: 0719 lsls r1, r3, #28 - 800822a: d51a bpl.n 8008262 - 800822c: 4b5b ldr r3, [pc, #364] ; (800839c ) - 800822e: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 - 8008232: 2b02 cmp r3, #2 - 8008234: d002 beq.n 800823c - 8008236: 4b5a ldr r3, [pc, #360] ; (80083a0 ) - 8008238: 6adb ldr r3, [r3, #44] ; 0x2c - 800823a: 4798 blx r3 - 800823c: 2002 movs r0, #2 - 800823e: f7fe fed9 bl 8006ff4 - 8008242: f884 0441 strb.w r0, [r4, #1089] ; 0x441 - 8008246: f001 fee3 bl 800a010 - 800824a: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a - 800824e: b113 cbz r3, 8008256 - 8008250: 2301 movs r3, #1 - 8008252: f884 3419 strb.w r3, [r4, #1049] ; 0x419 - 8008256: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 800825a: f043 0310 orr.w r3, r3, #16 - 800825e: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 8008262: 9b03 ldr r3, [sp, #12] - 8008264: 075a lsls r2, r3, #29 - 8008266: d503 bpl.n 8008270 - 8008268: 2106 movs r1, #6 - 800826a: 2005 movs r0, #5 - 800826c: f7fe ff2a bl 80070c4 - 8008270: 9b03 ldr r3, [sp, #12] - 8008272: 079b lsls r3, r3, #30 - 8008274: d503 bpl.n 800827e - 8008276: 2104 movs r1, #4 - 8008278: 2003 movs r0, #3 - 800827a: f7fe ff23 bl 80070c4 - 800827e: f001 fd35 bl 8009cec - 8008282: f894 2491 ldrb.w r2, [r4, #1169] ; 0x491 - 8008286: 06d7 lsls r7, r2, #27 - 8008288: d55f bpl.n 800834a - 800828a: 2300 movs r3, #0 - 800828c: f884 3492 strb.w r3, [r4, #1170] ; 0x492 - 8008290: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 - 8008294: 061e lsls r6, r3, #24 - 8008296: bf44 itt mi - 8008298: f023 0382 bicmi.w r3, r3, #130 ; 0x82 - 800829c: f8c4 3340 strmi.w r3, [r4, #832] ; 0x340 - 80082a0: f012 0f05 tst.w r2, #5 - 80082a4: f000 82fc beq.w 80088a0 - 80082a8: 200b movs r0, #11 - 80082aa: f001 fecb bl 800a044 - 80082ae: 2800 cmp r0, #0 - 80082b0: f000 82f6 beq.w 80088a0 - 80082b4: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 80082b8: 07dd lsls r5, r3, #31 - 80082ba: f100 82f1 bmi.w 80088a0 - 80082be: 0758 lsls r0, r3, #29 - 80082c0: f140 8308 bpl.w 80088d4 - 80082c4: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 - 80082c8: f023 0302 bic.w r3, r3, #2 - 80082cc: f8c4 3340 str.w r3, [r4, #832] ; 0x340 - 80082d0: f8d4 2340 ldr.w r2, [r4, #832] ; 0x340 - 80082d4: bb82 cbnz r2, 8008338 - 80082d6: f894 5491 ldrb.w r5, [r4, #1169] ; 0x491 - 80082da: f015 0101 ands.w r1, r5, #1 - 80082de: bf1e ittt ne - 80082e0: 462b movne r3, r5 - 80082e2: f362 0300 bfine r3, r2, #0, #1 - 80082e6: f884 3491 strbne.w r3, [r4, #1169] ; 0x491 - 80082ea: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 80082ee: 075e lsls r6, r3, #29 - 80082f0: bf44 itt mi - 80082f2: f36f 0382 bfcmi r3, #2, #1 - 80082f6: f884 3491 strbmi.w r3, [r4, #1169] ; 0x491 - 80082fa: 2301 movs r3, #1 - 80082fc: f884 3492 strb.w r3, [r4, #1170] ; 0x492 - 8008300: b121 cbz r1, 800830c - 8008302: f8d4 3344 ldr.w r3, [r4, #836] ; 0x344 - 8008306: 482c ldr r0, [pc, #176] ; (80083b8 ) - 8008308: 681b ldr r3, [r3, #0] - 800830a: 4798 blx r3 - 800830c: 076d lsls r5, r5, #29 - 800830e: d50b bpl.n 8008328 - 8008310: 482a ldr r0, [pc, #168] ; (80083bc ) - 8008312: f001 fea3 bl 800a05c - 8008316: f001 fed1 bl 800a0bc - 800831a: b128 cbz r0, 8008328 - 800831c: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 8008320: f043 0304 orr.w r3, r3, #4 - 8008324: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 8008328: f001 fcce bl 8009cc8 - 800832c: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 8008330: f36f 1304 bfc r3, #4, #1 - 8008334: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 8008338: 2301 movs r3, #1 - 800833a: f884 3492 strb.w r3, [r4, #1170] ; 0x492 - 800833e: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 8008342: f043 0320 orr.w r3, r3, #32 - 8008346: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 800834a: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 800834e: 0718 lsls r0, r3, #28 - 8008350: d50a bpl.n 8008368 - 8008352: f36f 03c3 bfc r3, #3, #1 - 8008356: 491a ldr r1, [pc, #104] ; (80083c0 ) - 8008358: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 800835c: f8d4 3344 ldr.w r3, [r4, #836] ; 0x344 - 8008360: f1a1 0024 sub.w r0, r1, #36 ; 0x24 - 8008364: 68db ldr r3, [r3, #12] - 8008366: 4798 blx r3 - 8008368: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 800836c: 0799 lsls r1, r3, #30 - 800836e: d50a bpl.n 8008386 - 8008370: f36f 0341 bfc r3, #1, #1 - 8008374: 4912 ldr r1, [pc, #72] ; (80083c0 ) - 8008376: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 800837a: f8d4 3344 ldr.w r3, [r4, #836] ; 0x344 - 800837e: f1a1 006c sub.w r0, r1, #108 ; 0x6c - 8008382: 685b ldr r3, [r3, #4] - 8008384: 4798 blx r3 - 8008386: f894 3490 ldrb.w r3, [r4, #1168] ; 0x490 - 800838a: 2b02 cmp r3, #2 - 800838c: d11a bne.n 80083c4 - 800838e: f7fe fefb bl 8007188 - 8008392: e017 b.n 80083c4 - 8008394: 200011c4 .word 0x200011c4 - 8008398: 200011c8 .word 0x200011c8 - 800839c: 20000c00 .word 0x20000c00 - 80083a0: 080101cc .word 0x080101cc - 80083a4: 20001784 .word 0x20001784 - 80083a8: 20001548 .word 0x20001548 - 80083ac: 20001560 .word 0x20001560 - 80083b0: 200015c8 .word 0x200015c8 - 80083b4: 20001774 .word 0x20001774 - 80083b8: 20001608 .word 0x20001608 - 80083bc: 2000161c .word 0x2000161c - 80083c0: 20001654 .word 0x20001654 - 80083c4: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 80083c8: 069a lsls r2, r3, #26 - 80083ca: f140 82c6 bpl.w 800895a - 80083ce: f36f 1345 bfc r3, #5, #1 - 80083d2: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 80083d6: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 - 80083da: 2b00 cmp r3, #0 - 80083dc: f040 82bd bne.w 800895a - 80083e0: b029 add sp, #164 ; 0xa4 - 80083e2: e8bd 4ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 80083e6: f7ff ba77 b.w 80078d8 - 80083ea: f884 3441 strb.w r3, [r4, #1089] ; 0x441 - 80083ee: e6a1 b.n 8008134 - 80083f0: f895 2118 ldrb.w r2, [r5, #280] ; 0x118 - 80083f4: 2a01 cmp r2, #1 - 80083f6: d10c bne.n 8008412 - 80083f8: f001 fc5e bl 8009cb8 - 80083fc: 4680 mov r8, r0 - 80083fe: b168 cbz r0, 800841c - 8008400: 4658 mov r0, fp - 8008402: f001 fc4e bl 8009ca2 - 8008406: 4658 mov r0, fp - 8008408: f001 fc50 bl 8009cac - 800840c: 2304 movs r3, #4 - 800840e: f884 348f strb.w r3, [r4, #1167] ; 0x48f - 8008412: b97e cbnz r6, 8008434 - 8008414: 2301 movs r3, #1 - 8008416: f884 3421 strb.w r3, [r4, #1057] ; 0x421 - 800841a: e150 b.n 80086be - 800841c: f001 fc4e bl 8009cbc - 8008420: 2800 cmp r0, #0 - 8008422: d0f6 beq.n 8008412 - 8008424: 4640 mov r0, r8 - 8008426: f001 fc3d bl 8009ca4 - 800842a: 4640 mov r0, r8 - 800842c: f001 fc3f bl 8009cae - 8008430: 2305 movs r3, #5 - 8008432: e7ec b.n 800840e - 8008434: 783b ldrb r3, [r7, #0] - 8008436: 9304 str r3, [sp, #16] - 8008438: 095b lsrs r3, r3, #5 - 800843a: 3b01 subs r3, #1 - 800843c: 2b06 cmp r3, #6 - 800843e: f200 8218 bhi.w 8008872 - 8008442: e8df f013 tbh [pc, r3, lsl #1] - 8008446: 0007 .short 0x0007 - 8008448: 00950216 .word 0x00950216 - 800844c: 00920216 .word 0x00920216 - 8008450: 02070216 .word 0x02070216 - 8008454: 2e10 cmp r6, #16 - 8008456: d9dd bls.n 8008414 - 8008458: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 - 800845c: 9712 str r7, [sp, #72] ; 0x48 - 800845e: b2f6 uxtb r6, r6 - 8008460: f88d 604c strb.w r6, [sp, #76] ; 0x4c - 8008464: 2b00 cmp r3, #0 - 8008466: d1d5 bne.n 8008414 - 8008468: a81c add r0, sp, #112 ; 0x70 - 800846a: f004 f95d bl 800c728 - 800846e: aa12 add r2, sp, #72 ; 0x48 - 8008470: a91c add r1, sp, #112 ; 0x70 - 8008472: 20ff movs r0, #255 ; 0xff - 8008474: f002 f8b2 bl 800a5dc - 8008478: f89d 3058 ldrb.w r3, [sp, #88] ; 0x58 - 800847c: f3c3 0303 ubfx r3, r3, #0, #4 - 8008480: 4607 mov r7, r0 - 8008482: f88d 302c strb.w r3, [sp, #44] ; 0x2c - 8008486: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 800848a: f895 307d ldrb.w r3, [r5, #125] ; 0x7d - 800848e: f88d 302d strb.w r3, [sp, #45] ; 0x2d - 8008492: 2207 movs r2, #7 - 8008494: a90b add r1, sp, #44 ; 0x2c - 8008496: f002 faa4 bl 800a9e2 - 800849a: 2f00 cmp r7, #0 - 800849c: d15d bne.n 800855a - 800849e: 2800 cmp r0, #0 - 80084a0: d05b beq.n 800855a - 80084a2: f89d 3053 ldrb.w r3, [sp, #83] ; 0x53 - 80084a6: f89d 2052 ldrb.w r2, [sp, #82] ; 0x52 - 80084aa: 9915 ldr r1, [sp, #84] ; 0x54 - 80084ac: f8c5 10e4 str.w r1, [r5, #228] ; 0xe4 - 80084b0: 041b lsls r3, r3, #16 - 80084b2: ea43 2302 orr.w r3, r3, r2, lsl #8 - 80084b6: f89d 2051 ldrb.w r2, [sp, #81] ; 0x51 - 80084ba: 2002 movs r0, #2 - 80084bc: 4313 orrs r3, r2 - 80084be: f8c5 30e0 str.w r3, [r5, #224] ; 0xe0 - 80084c2: f004 f93f bl 800c744 - 80084c6: f89d 3058 ldrb.w r3, [sp, #88] ; 0x58 - 80084ca: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 80084ce: f885 712e strb.w r7, [r5, #302] ; 0x12e - 80084d2: f3c3 1202 ubfx r2, r3, #4, #3 - 80084d6: f3c3 0303 ubfx r3, r3, #0, #4 - 80084da: f885 3070 strb.w r3, [r5, #112] ; 0x70 - 80084de: f885 3078 strb.w r3, [r5, #120] ; 0x78 - 80084e2: f89d 3059 ldrb.w r3, [sp, #89] ; 0x59 - 80084e6: f885 2069 strb.w r2, [r5, #105] ; 0x69 - 80084ea: 2b01 cmp r3, #1 - 80084ec: bf38 it cc - 80084ee: 2301 movcc r3, #1 - 80084f0: f44f 727a mov.w r2, #1000 ; 0x3e8 - 80084f4: 4353 muls r3, r2 - 80084f6: 65ab str r3, [r5, #88] ; 0x58 - 80084f8: 4413 add r3, r2 - 80084fa: 65eb str r3, [r5, #92] ; 0x5c - 80084fc: f10d 035a add.w r3, sp, #90 ; 0x5a - 8008500: f04f 0801 mov.w r8, #1 - 8008504: 9310 str r3, [sp, #64] ; 0x40 - 8008506: 3e11 subs r6, #17 - 8008508: f894 341b ldrb.w r3, [r4, #1051] ; 0x41b - 800850c: f88d 303c strb.w r3, [sp, #60] ; 0x3c - 8008510: a90f add r1, sp, #60 ; 0x3c - 8008512: f885 8068 strb.w r8, [r5, #104] ; 0x68 - 8008516: f88d 6044 strb.w r6, [sp, #68] ; 0x44 - 800851a: f002 fa6a bl 800a9f2 - 800851e: 2302 movs r3, #2 - 8008520: 4640 mov r0, r8 - 8008522: f885 3130 strb.w r3, [r5, #304] ; 0x130 - 8008526: f001 fd8d bl 800a044 - 800852a: b118 cbz r0, 8008534 - 800852c: 4641 mov r1, r8 - 800852e: 4638 mov r0, r7 - 8008530: f001 fd4c bl 8009fcc - 8008534: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f - 8008538: 2b01 cmp r3, #1 - 800853a: f200 81a8 bhi.w 800888e - 800853e: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a - 8008542: 2b00 cmp r3, #0 - 8008544: f040 819b bne.w 800887e - 8008548: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 800854c: f043 0310 orr.w r3, r3, #16 - 8008550: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 8008554: f7fe fd4e bl 8006ff4 - 8008558: e665 b.n 8008226 - 800855a: 2001 movs r0, #1 - 800855c: f001 fd72 bl 800a044 - 8008560: 2800 cmp r0, #0 - 8008562: d0e7 beq.n 8008534 - 8008564: 2101 movs r1, #1 - 8008566: 2007 movs r0, #7 - 8008568: e7e2 b.n 8008530 - 800856a: 2301 movs r3, #1 - 800856c: f884 3420 strb.w r3, [r4, #1056] ; 0x420 - 8008570: f895 307d ldrb.w r3, [r5, #125] ; 0x7d - 8008574: f88d 302e strb.w r3, [sp, #46] ; 0x2e - 8008578: f894 3424 ldrb.w r3, [r4, #1060] ; 0x424 - 800857c: f88d 302d strb.w r3, [sp, #45] ; 0x2d - 8008580: f895 308c ldrb.w r3, [r5, #140] ; 0x8c - 8008584: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 8008588: 330d adds r3, #13 - 800858a: a90b add r1, sp, #44 ; 0x2c - 800858c: f88d 302c strb.w r3, [sp, #44] ; 0x2c - 8008590: f002 fa14 bl 800a9bc - 8008594: f1a6 030d sub.w r3, r6, #13 - 8008598: b21b sxth r3, r3 - 800859a: 9009 str r0, [sp, #36] ; 0x24 - 800859c: ea23 73e3 bic.w r3, r3, r3, asr #31 - 80085a0: b200 sxth r0, r0 - 80085a2: 4283 cmp r3, r0 - 80085a4: f73f af36 bgt.w 8008414 - 80085a8: 2e0b cmp r6, #11 - 80085aa: f67f af33 bls.w 8008414 - 80085ae: 4bbb ldr r3, [pc, #748] ; (800889c ) - 80085b0: 9325 str r3, [sp, #148] ; 0x94 - 80085b2: a81c add r0, sp, #112 ; 0x70 - 80085b4: 23ff movs r3, #255 ; 0xff - 80085b6: 971c str r7, [sp, #112] ; 0x70 - 80085b8: f88d 6074 strb.w r6, [sp, #116] ; 0x74 - 80085bc: f88d 3098 strb.w r3, [sp, #152] ; 0x98 - 80085c0: f002 f8d8 bl 800a774 - 80085c4: 4607 mov r7, r0 - 80085c6: 2800 cmp r0, #0 - 80085c8: f47f af24 bne.w 8008414 - 80085cc: f895 3118 ldrb.w r3, [r5, #280] ; 0x118 - 80085d0: 2b01 cmp r3, #1 - 80085d2: d113 bne.n 80085fc - 80085d4: f001 fb70 bl 8009cb8 - 80085d8: 2800 cmp r0, #0 - 80085da: d073 beq.n 80086c4 - 80085dc: 4638 mov r0, r7 - 80085de: f001 fb60 bl 8009ca2 - 80085e2: 4638 mov r0, r7 - 80085e4: f001 fb62 bl 8009cac - 80085e8: 2304 movs r3, #4 - 80085ea: f89d 107c ldrb.w r1, [sp, #124] ; 0x7c - 80085ee: 981e ldr r0, [sp, #120] ; 0x78 - 80085f0: f884 348f strb.w r3, [r4, #1167] ; 0x48f - 80085f4: f3c1 1100 ubfx r1, r1, #4, #1 - 80085f8: f001 fb77 bl 8009cea - 80085fc: f89d 307c ldrb.w r3, [sp, #124] ; 0x7c - 8008600: 991e ldr r1, [sp, #120] ; 0x78 - 8008602: f8c4 1434 str.w r1, [r4, #1076] ; 0x434 - 8008606: f013 020f ands.w r2, r3, #15 - 800860a: d003 beq.n 8008614 - 800860c: f89d 0090 ldrb.w r0, [sp, #144] ; 0x90 - 8008610: 2800 cmp r0, #0 - 8008612: d163 bne.n 80086dc - 8008614: f89d 0098 ldrb.w r0, [sp, #152] ; 0x98 - 8008618: 2800 cmp r0, #0 - 800861a: d062 beq.n 80086e2 - 800861c: 2a00 cmp r2, #0 - 800861e: f47f aef9 bne.w 8008414 - 8008622: f89d 2090 ldrb.w r2, [sp, #144] ; 0x90 - 8008626: 2a00 cmp r2, #0 - 8008628: bf0c ite eq - 800862a: f04f 0802 moveq.w r8, #2 - 800862e: f04f 0803 movne.w r8, #3 - 8008632: 2200 movs r2, #0 - 8008634: 920a str r2, [sp, #40] ; 0x28 - 8008636: f8d5 20ec ldr.w r2, [r5, #236] ; 0xec - 800863a: 4291 cmp r1, r2 - 800863c: d154 bne.n 80086e8 - 800863e: f895 10e9 ldrb.w r1, [r5, #233] ; 0xe9 - 8008642: 2900 cmp r1, #0 - 8008644: d050 beq.n 80086e8 - 8008646: f8d5 110c ldr.w r1, [r5, #268] ; 0x10c - 800864a: f895 b0ea ldrb.w fp, [r5, #234] ; 0xea - 800864e: 6809 ldr r1, [r1, #0] - 8008650: 910a str r1, [sp, #40] ; 0x28 - 8008652: f895 1118 ldrb.w r1, [r5, #280] ; 0x118 - 8008656: 2902 cmp r1, #2 - 8008658: d102 bne.n 8008660 - 800865a: 2103 movs r1, #3 - 800865c: f884 148f strb.w r1, [r4, #1167] ; 0x48f - 8008660: f1b8 0f03 cmp.w r8, #3 - 8008664: f47f aed6 bne.w 8008414 - 8008668: f013 0f60 tst.w r3, #96 ; 0x60 - 800866c: f47f aed2 bne.w 8008414 - 8008670: 9205 str r2, [sp, #20] - 8008672: 2701 movs r7, #1 - 8008674: f895 312e ldrb.w r3, [r5, #302] ; 0x12e - 8008678: f1bb 0f00 cmp.w fp, #0 - 800867c: d037 beq.n 80086ee - 800867e: f1bb 0f01 cmp.w fp, #1 - 8008682: d138 bne.n 80086f6 - 8008684: 2b01 cmp r3, #1 - 8008686: d134 bne.n 80086f2 - 8008688: f06f 0609 mvn.w r6, #9 - 800868c: fa46 f608 asr.w r6, r6, r8 - 8008690: f006 0601 and.w r6, r6, #1 - 8008694: f1c6 0602 rsb r6, r6, #2 - 8008698: b2f6 uxtb r6, r6 - 800869a: f8bd 107e ldrh.w r1, [sp, #126] ; 0x7e - 800869e: aa0a add r2, sp, #40 ; 0x28 - 80086a0: 4630 mov r0, r6 - 80086a2: f001 fe2d bl 800a300 - 80086a6: b340 cbz r0, 80086fa - 80086a8: 2807 cmp r0, #7 - 80086aa: bf0c ite eq - 80086ac: 2308 moveq r3, #8 - 80086ae: 2301 movne r3, #1 - 80086b0: f884 3421 strb.w r3, [r4, #1057] ; 0x421 - 80086b4: 9b0a ldr r3, [sp, #40] ; 0x28 - 80086b6: f8c4 3430 str.w r3, [r4, #1072] ; 0x430 - 80086ba: f8c4 346c str.w r3, [r4, #1132] ; 0x46c - 80086be: f7fe fce5 bl 800708c - 80086c2: e5b0 b.n 8008226 - 80086c4: f001 fafa bl 8009cbc - 80086c8: 2800 cmp r0, #0 - 80086ca: d097 beq.n 80085fc - 80086cc: 4638 mov r0, r7 - 80086ce: f001 fae9 bl 8009ca4 - 80086d2: 4638 mov r0, r7 - 80086d4: f001 faeb bl 8009cae - 80086d8: 2305 movs r3, #5 - 80086da: e786 b.n 80085ea - 80086dc: f04f 0800 mov.w r8, #0 - 80086e0: e7a7 b.n 8008632 - 80086e2: f04f 0801 mov.w r8, #1 - 80086e6: e7a4 b.n 8008632 - 80086e8: f04f 0b01 mov.w fp, #1 - 80086ec: e7c2 b.n 8008674 - 80086ee: 2604 movs r6, #4 - 80086f0: e7d3 b.n 800869a - 80086f2: 2603 movs r6, #3 - 80086f4: e7d1 b.n 800869a - 80086f6: 2301 movs r3, #1 - 80086f8: e7da b.n 80086b0 - 80086fa: ab1c add r3, sp, #112 ; 0x70 - 80086fc: 9300 str r3, [sp, #0] - 80086fe: 9905 ldr r1, [sp, #20] - 8008700: 9b0a ldr r3, [sp, #40] ; 0x28 - 8008702: 4632 mov r2, r6 - 8008704: 4658 mov r0, fp - 8008706: f001 febb bl 800a480 - 800870a: b120 cbz r0, 8008716 - 800870c: 2802 cmp r0, #2 - 800870e: bf0c ite eq - 8008710: 230a moveq r3, #10 - 8008712: 230b movne r3, #11 - 8008714: e67f b.n 8008416 - 8008716: 9b0a ldr r3, [sp, #40] ; 0x28 - 8008718: f8c4 3430 str.w r3, [r4, #1072] ; 0x430 - 800871c: f8c4 346c str.w r3, [r4, #1132] ; 0x46c - 8008720: f89d 307c ldrb.w r3, [sp, #124] ; 0x7c - 8008724: f884 0421 strb.w r0, [r4, #1057] ; 0x421 - 8008728: f3c3 1340 ubfx r3, r3, #5, #1 - 800872c: f884 342e strb.w r3, [r4, #1070] ; 0x42e - 8008730: f884 3444 strb.w r3, [r4, #1092] ; 0x444 - 8008734: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f - 8008738: f884 7422 strb.w r7, [r4, #1058] ; 0x422 - 800873c: 2b01 cmp r3, #1 - 800873e: bf9e ittt ls - 8008740: 2201 movls r2, #1 - 8008742: 62a8 strls r0, [r5, #40] ; 0x28 - 8008744: f885 211e strbls.w r2, [r5, #286] ; 0x11e - 8008748: 2f01 cmp r7, #1 - 800874a: f8c4 0428 str.w r0, [r4, #1064] ; 0x428 - 800874e: f884 042c strb.w r0, [r4, #1068] ; 0x42c - 8008752: f884 0441 strb.w r0, [r4, #1089] ; 0x441 - 8008756: d138 bne.n 80087ca - 8008758: 2202 movs r2, #2 - 800875a: f884 2420 strb.w r2, [r4, #1056] ; 0x420 - 800875e: f895 203a ldrb.w r2, [r5, #58] ; 0x3a - 8008762: 2a00 cmp r2, #0 - 8008764: d14a bne.n 80087fc - 8008766: f89d 207c ldrb.w r2, [sp, #124] ; 0x7c - 800876a: 06d6 lsls r6, r2, #27 - 800876c: d446 bmi.n 80087fc - 800876e: 2b01 cmp r3, #1 - 8008770: f894 1440 ldrb.w r1, [r4, #1088] ; 0x440 - 8008774: f89d 207c ldrb.w r2, [sp, #124] ; 0x7c - 8008778: d805 bhi.n 8008786 - 800877a: 2901 cmp r1, #1 - 800877c: d101 bne.n 8008782 - 800877e: 0690 lsls r0, r2, #26 - 8008780: d501 bpl.n 8008786 - 8008782: f001 fb5f bl 8009e44 - 8008786: f1b8 0f02 cmp.w r8, #2 - 800878a: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f - 800878e: d043 beq.n 8008818 - 8008790: f1b8 0f03 cmp.w r8, #3 - 8008794: d00a beq.n 80087ac - 8008796: f89d 107c ldrb.w r1, [sp, #124] ; 0x7c - 800879a: f1b8 0f01 cmp.w r8, #1 - 800879e: 464a mov r2, r9 - 80087a0: f001 010f and.w r1, r1, #15 - 80087a4: a820 add r0, sp, #128 ; 0x80 - 80087a6: d03b beq.n 8008820 - 80087a8: f7ff f910 bl 80079cc - 80087ac: f89d 3090 ldrb.w r3, [sp, #144] ; 0x90 - 80087b0: f884 3423 strb.w r3, [r4, #1059] ; 0x423 - 80087b4: 9b25 ldr r3, [sp, #148] ; 0x94 - 80087b6: f8c4 3428 str.w r3, [r4, #1064] ; 0x428 - 80087ba: f89d 3098 ldrb.w r3, [sp, #152] ; 0x98 - 80087be: f884 342c strb.w r3, [r4, #1068] ; 0x42c - 80087c2: 2301 movs r3, #1 - 80087c4: f884 342d strb.w r3, [r4, #1069] ; 0x42d - 80087c8: e030 b.n 800882c - 80087ca: 9a04 ldr r2, [sp, #16] - 80087cc: f002 02e0 and.w r2, r2, #224 ; 0xe0 - 80087d0: 2aa0 cmp r2, #160 ; 0xa0 - 80087d2: d11b bne.n 800880c - 80087d4: f895 112e ldrb.w r1, [r5, #302] ; 0x12e - 80087d8: 2201 movs r2, #1 - 80087da: f885 203a strb.w r2, [r5, #58] ; 0x3a - 80087de: b909 cbnz r1, 80087e4 - 80087e0: 9927 ldr r1, [sp, #156] ; 0x9c - 80087e2: 6369 str r1, [r5, #52] ; 0x34 - 80087e4: 2b01 cmp r3, #1 - 80087e6: f884 2420 strb.w r2, [r4, #1056] ; 0x420 - 80087ea: d907 bls.n 80087fc - 80087ec: f8d5 2090 ldr.w r2, [r5, #144] ; 0x90 - 80087f0: f8c4 243c str.w r2, [r4, #1084] ; 0x43c - 80087f4: f8da 2000 ldr.w r2, [sl] - 80087f8: f8c4 2498 str.w r2, [r4, #1176] ; 0x498 - 80087fc: f895 2118 ldrb.w r2, [r5, #280] ; 0x118 - 8008800: 2a00 cmp r2, #0 - 8008802: d1b4 bne.n 800876e - 8008804: 2201 movs r2, #1 - 8008806: f884 2425 strb.w r2, [r4, #1061] ; 0x425 - 800880a: e7b0 b.n 800876e - 800880c: 2200 movs r2, #0 - 800880e: f885 203a strb.w r2, [r5, #58] ; 0x3a - 8008812: f884 2420 strb.w r2, [r4, #1056] ; 0x420 - 8008816: e7a6 b.n 8008766 - 8008818: f89d 1098 ldrb.w r1, [sp, #152] ; 0x98 - 800881c: 9825 ldr r0, [sp, #148] ; 0x94 - 800881e: 464a mov r2, r9 - 8008820: f7ff f8d4 bl 80079cc - 8008824: f89d 3090 ldrb.w r3, [sp, #144] ; 0x90 - 8008828: f884 3423 strb.w r3, [r4, #1059] ; 0x423 - 800882c: f89d 2090 ldrb.w r2, [sp, #144] ; 0x90 - 8008830: 2ae0 cmp r2, #224 ; 0xe0 - 8008832: d108 bne.n 8008846 - 8008834: f895 311f ldrb.w r3, [r5, #287] ; 0x11f - 8008838: b92b cbnz r3, 8008846 - 800883a: f884 2423 strb.w r2, [r4, #1059] ; 0x423 - 800883e: f8c4 3428 str.w r3, [r4, #1064] ; 0x428 - 8008842: f8a4 342c strh.w r3, [r4, #1068] ; 0x42c - 8008846: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 800884a: f043 0302 orr.w r3, r3, #2 - 800884e: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 8008852: e66f b.n 8008534 - 8008854: 4d11 ldr r5, [pc, #68] ; (800889c ) - 8008856: 3e01 subs r6, #1 - 8008858: b2b2 uxth r2, r6 - 800885a: 1c79 adds r1, r7, #1 - 800885c: 4628 mov r0, r5 - 800885e: f004 f839 bl 800c8d4 - 8008862: 2303 movs r3, #3 - 8008864: f8a4 3420 strh.w r3, [r4, #1056] ; 0x420 - 8008868: f8c4 5428 str.w r5, [r4, #1064] ; 0x428 - 800886c: f884 642c strb.w r6, [r4, #1068] ; 0x42c - 8008870: e7e9 b.n 8008846 - 8008872: 2301 movs r3, #1 - 8008874: f884 3421 strb.w r3, [r4, #1057] ; 0x421 - 8008878: f7fe fc08 bl 800708c - 800887c: e65a b.n 8008534 - 800887e: f894 3444 ldrb.w r3, [r4, #1092] ; 0x444 - 8008882: 2b00 cmp r3, #0 - 8008884: f43f ae60 beq.w 8008548 - 8008888: 2000 movs r0, #0 - 800888a: f7fe fbed bl 8007068 - 800888e: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f - 8008892: 2b02 cmp r3, #2 - 8008894: f43f ae5e beq.w 8008554 - 8008898: e656 b.n 8008548 - 800889a: bf00 nop - 800889c: 20001400 .word 0x20001400 - 80088a0: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 80088a4: 0759 lsls r1, r3, #29 - 80088a6: d515 bpl.n 80088d4 - 80088a8: 2001 movs r0, #1 - 80088aa: f001 fbcb bl 800a044 - 80088ae: b160 cbz r0, 80088ca - 80088b0: 2001 movs r0, #1 - 80088b2: f001 fb9d bl 8009ff0 - 80088b6: b908 cbnz r0, 80088bc - 80088b8: f884 0418 strb.w r0, [r4, #1048] ; 0x418 - 80088bc: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 - 80088c0: f023 0302 bic.w r3, r3, #2 - 80088c4: f8c4 3340 str.w r3, [r4, #832] ; 0x340 - 80088c8: e004 b.n 80088d4 - 80088ca: 2006 movs r0, #6 - 80088cc: f001 fbba bl 800a044 - 80088d0: 2800 cmp r0, #0 - 80088d2: d1f3 bne.n 80088bc - 80088d4: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 80088d8: 07da lsls r2, r3, #31 - 80088da: f57f acf9 bpl.w 80082d0 - 80088de: f894 2440 ldrb.w r2, [r4, #1088] ; 0x440 - 80088e2: b10a cbz r2, 80088e8 - 80088e4: 2a03 cmp r2, #3 - 80088e6: d118 bne.n 800891a - 80088e8: 4a1d ldr r2, [pc, #116] ; (8008960 ) - 80088ea: f894 1418 ldrb.w r1, [r4, #1048] ; 0x418 - 80088ee: f892 2068 ldrb.w r2, [r2, #104] ; 0x68 - 80088f2: 4291 cmp r1, r2 - 80088f4: d205 bcs.n 8008902 - 80088f6: 079b lsls r3, r3, #30 - 80088f8: d523 bpl.n 8008942 - 80088fa: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f - 80088fe: 2b01 cmp r3, #1 - 8008900: d81f bhi.n 8008942 - 8008902: 4818 ldr r0, [pc, #96] ; (8008964 ) - 8008904: f006 fb0a bl 800ef1c - 8008908: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 - 800890c: f023 0320 bic.w r3, r3, #32 - 8008910: f8c4 3340 str.w r3, [r4, #832] ; 0x340 - 8008914: f7ff fb42 bl 8007f9c - 8008918: e4da b.n 80082d0 - 800891a: 2a01 cmp r2, #1 - 800891c: d111 bne.n 8008942 - 800891e: f894 2419 ldrb.w r2, [r4, #1049] ; 0x419 - 8008922: 2a00 cmp r2, #0 - 8008924: f43f acd4 beq.w 80082d0 - 8008928: 4a0d ldr r2, [pc, #52] ; (8008960 ) - 800892a: f894 1418 ldrb.w r1, [r4, #1048] ; 0x418 - 800892e: f892 2068 ldrb.w r2, [r2, #104] ; 0x68 - 8008932: 4291 cmp r1, r2 - 8008934: d2e5 bcs.n 8008902 - 8008936: 079f lsls r7, r3, #30 - 8008938: d503 bpl.n 8008942 - 800893a: f894 3444 ldrb.w r3, [r4, #1092] ; 0x444 - 800893e: 2b00 cmp r3, #0 - 8008940: d1df bne.n 8008902 - 8008942: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 8008946: 2000 movs r0, #0 - 8008948: f36f 1304 bfc r3, #4, #1 - 800894c: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 8008950: f884 0419 strb.w r0, [r4, #1049] ; 0x419 - 8008954: f7ff fb44 bl 8007fe0 - 8008958: e4ba b.n 80082d0 - 800895a: b029 add sp, #164 ; 0xa4 - 800895c: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8008960: 20000c00 .word 0x20000c00 - 8008964: 20001530 .word 0x20001530 +08007cc8 : + 8007cc8: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8007ccc: b0a9 sub sp, #164 ; 0xa4 + 8007cce: f3ef 8210 mrs r2, PRIMASK + 8007cd2: b672 cpsid i + 8007cd4: f8df 82f4 ldr.w r8, [pc, #756] ; 8007fcc + 8007cd8: 2100 movs r1, #0 + 8007cda: f8d8 3000 ldr.w r3, [r8] + 8007cde: f8c8 1000 str.w r1, [r8] + 8007ce2: f382 8810 msr PRIMASK, r2 + 8007ce6: 4cba ldr r4, [pc, #744] ; (8007fd0 ) + 8007ce8: 2b00 cmp r3, #0 + 8007cea: f000 80e4 beq.w 8007eb6 + 8007cee: b2da uxtb r2, r3 + 8007cf0: 069b lsls r3, r3, #26 + 8007cf2: 9203 str r2, [sp, #12] + 8007cf4: d564 bpl.n 8007dc0 + 8007cf6: 4db7 ldr r5, [pc, #732] ; (8007fd4 ) + 8007cf8: f895 3118 ldrb.w r3, [r5, #280] ; 0x118 + 8007cfc: 2b02 cmp r3, #2 + 8007cfe: d002 beq.n 8007d06 + 8007d00: 4bb5 ldr r3, [pc, #724] ; (8007fd8 ) + 8007d02: 6adb ldr r3, [r3, #44] ; 0x2c + 8007d04: 4798 blx r3 + 8007d06: f3ef 8910 mrs r9, PRIMASK + 8007d0a: b672 cpsid i + 8007d0c: 4fb3 ldr r7, [pc, #716] ; (8007fdc ) + 8007d0e: f006 fedd bl 800eacc + 8007d12: 683e ldr r6, [r7, #0] + 8007d14: f8d4 13b0 ldr.w r1, [r4, #944] ; 0x3b0 + 8007d18: 1a36 subs r6, r6, r0 + 8007d1a: 4431 add r1, r6 + 8007d1c: 48b0 ldr r0, [pc, #704] ; (8007fe0 ) + 8007d1e: f006 ffa1 bl 800ec64 + 8007d22: 48af ldr r0, [pc, #700] ; (8007fe0 ) + 8007d24: f006 ff64 bl 800ebf0 + 8007d28: f8d4 13b4 ldr.w r1, [r4, #948] ; 0x3b4 + 8007d2c: 48ad ldr r0, [pc, #692] ; (8007fe4 ) + 8007d2e: 4431 add r1, r6 + 8007d30: f006 ff98 bl 800ec64 + 8007d34: 48ab ldr r0, [pc, #684] ; (8007fe4 ) + 8007d36: f006 ff5b bl 800ebf0 + 8007d3a: f389 8810 msr PRIMASK, r9 + 8007d3e: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a + 8007d42: 2b00 cmp r3, #0 + 8007d44: f000 816d beq.w 8008022 + 8007d48: 2315 movs r3, #21 + 8007d4a: a912 add r1, sp, #72 ; 0x48 + 8007d4c: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 8007d50: f88d 3048 strb.w r3, [sp, #72] ; 0x48 + 8007d54: f002 fc4e bl 800a5f4 + 8007d58: f8d4 13b4 ldr.w r1, [r4, #948] ; 0x3b4 + 8007d5c: 900f str r0, [sp, #60] ; 0x3c + 8007d5e: 4401 add r1, r0 + 8007d60: 48a1 ldr r0, [pc, #644] ; (8007fe8 ) + 8007d62: f006 ff7f bl 800ec64 + 8007d66: 48a0 ldr r0, [pc, #640] ; (8007fe8 ) + 8007d68: f006 ff42 bl 800ebf0 + 8007d6c: 683b ldr r3, [r7, #0] + 8007d6e: f894 241b ldrb.w r2, [r4, #1051] ; 0x41b + 8007d72: 62eb str r3, [r5, #44] ; 0x2c + 8007d74: af0d add r7, sp, #52 ; 0x34 + 8007d76: 4638 mov r0, r7 + 8007d78: f88d 2070 strb.w r2, [sp, #112] ; 0x70 + 8007d7c: 931d str r3, [sp, #116] ; 0x74 + 8007d7e: f006 fe1f bl 800e9c0 + 8007d82: f8d5 3128 ldr.w r3, [r5, #296] ; 0x128 + 8007d86: 9300 str r3, [sp, #0] + 8007d88: ae06 add r6, sp, #24 + 8007d8a: e897 0006 ldmia.w r7, {r1, r2} + 8007d8e: f8d5 3124 ldr.w r3, [r5, #292] ; 0x124 + 8007d92: 4630 mov r0, r6 + 8007d94: f006 fdab bl 800e8ee + 8007d98: e896 0003 ldmia.w r6, {r0, r1} + 8007d9c: ab1f add r3, sp, #124 ; 0x7c + 8007d9e: e883 0003 stmia.w r3, {r0, r1} + 8007da2: f8d4 341c ldr.w r3, [r4, #1052] ; 0x41c + 8007da6: 931e str r3, [sp, #120] ; 0x78 + 8007da8: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 + 8007dac: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 8007db0: 3b00 subs r3, #0 + 8007db2: bf18 it ne + 8007db4: 2301 movne r3, #1 + 8007db6: a91c add r1, sp, #112 ; 0x70 + 8007db8: f88d 3071 strb.w r3, [sp, #113] ; 0x71 + 8007dbc: f002 fc23 bl 800a606 + 8007dc0: 9b03 ldr r3, [sp, #12] + 8007dc2: 06df lsls r7, r3, #27 + 8007dc4: d54b bpl.n 8007e5e + 8007dc6: 4d83 ldr r5, [pc, #524] ; (8007fd4 ) + 8007dc8: f8df a220 ldr.w sl, [pc, #544] ; 8007fec + 8007dcc: f8d5 20e4 ldr.w r2, [r5, #228] ; 0xe4 + 8007dd0: f9ba 300a ldrsh.w r3, [sl, #10] + 8007dd4: 9205 str r2, [sp, #20] + 8007dd6: f898 2000 ldrb.w r2, [r8] + 8007dda: 9304 str r3, [sp, #16] + 8007ddc: 2300 movs r3, #0 + 8007dde: f363 0200 bfi r2, r3, #0, #1 + 8007de2: 930a str r3, [sp, #40] ; 0x28 + 8007de4: f888 2000 strb.w r2, [r8] + 8007de8: f884 3444 strb.w r3, [r4, #1092] ; 0x444 + 8007dec: 9a04 ldr r2, [sp, #16] + 8007dee: f8a4 3422 strh.w r3, [r4, #1058] ; 0x422 + 8007df2: f884 3425 strb.w r3, [r4, #1061] ; 0x425 + 8007df6: f8c4 3428 str.w r3, [r4, #1064] ; 0x428 + 8007dfa: f8a4 342c strh.w r3, [r4, #1068] ; 0x42c + 8007dfe: f884 342e strb.w r3, [r4, #1070] ; 0x42e + 8007e02: f8c4 3430 str.w r3, [r4, #1072] ; 0x430 + 8007e06: f884 3420 strb.w r3, [r4, #1056] ; 0x420 + 8007e0a: f8c4 3434 str.w r3, [r4, #1076] ; 0x434 + 8007e0e: f884 3438 strb.w r3, [r4, #1080] ; 0x438 + 8007e12: f8c4 343c str.w r3, [r4, #1084] ; 0x43c + 8007e16: 4b70 ldr r3, [pc, #448] ; (8007fd8 ) + 8007e18: f99a 900c ldrsb.w r9, [sl, #12] + 8007e1c: f8a4 248c strh.w r2, [r4, #1164] ; 0x48c + 8007e20: f894 2490 ldrb.w r2, [r4, #1168] ; 0x490 + 8007e24: 6adb ldr r3, [r3, #44] ; 0x2c + 8007e26: f884 948e strb.w r9, [r4, #1166] ; 0x48e + 8007e2a: f884 248f strb.w r2, [r4, #1167] ; 0x48f + 8007e2e: f8da 7004 ldr.w r7, [sl, #4] + 8007e32: f8ba 6008 ldrh.w r6, [sl, #8] + 8007e36: 4798 blx r3 + 8007e38: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f + 8007e3c: b913 cbnz r3, 8007e44 + 8007e3e: 4869 ldr r0, [pc, #420] ; (8007fe4 ) + 8007e40: f006 fe88 bl 800eb54 + 8007e44: 4631 mov r1, r6 + 8007e46: 4638 mov r0, r7 + 8007e48: f001 fd4e bl 80098e8 + 8007e4c: 4683 mov fp, r0 + 8007e4e: 2800 cmp r0, #0 + 8007e50: f000 80ea beq.w 8008028 + 8007e54: 9b04 ldr r3, [sp, #16] + 8007e56: f8a4 347e strh.w r3, [r4, #1150] ; 0x47e + 8007e5a: f884 9480 strb.w r9, [r4, #1152] ; 0x480 + 8007e5e: 9b03 ldr r3, [sp, #12] + 8007e60: 0719 lsls r1, r3, #28 + 8007e62: d51a bpl.n 8007e9a + 8007e64: 4b5b ldr r3, [pc, #364] ; (8007fd4 ) + 8007e66: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 + 8007e6a: 2b02 cmp r3, #2 + 8007e6c: d002 beq.n 8007e74 + 8007e6e: 4b5a ldr r3, [pc, #360] ; (8007fd8 ) + 8007e70: 6adb ldr r3, [r3, #44] ; 0x2c + 8007e72: 4798 blx r3 + 8007e74: 2002 movs r0, #2 + 8007e76: f7fe fed9 bl 8006c2c + 8007e7a: f884 0441 strb.w r0, [r4, #1089] ; 0x441 + 8007e7e: f001 fee3 bl 8009c48 + 8007e82: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a + 8007e86: b113 cbz r3, 8007e8e + 8007e88: 2301 movs r3, #1 + 8007e8a: f884 3419 strb.w r3, [r4, #1049] ; 0x419 + 8007e8e: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8007e92: f043 0310 orr.w r3, r3, #16 + 8007e96: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8007e9a: 9b03 ldr r3, [sp, #12] + 8007e9c: 075a lsls r2, r3, #29 + 8007e9e: d503 bpl.n 8007ea8 + 8007ea0: 2106 movs r1, #6 + 8007ea2: 2005 movs r0, #5 + 8007ea4: f7fe ff2a bl 8006cfc + 8007ea8: 9b03 ldr r3, [sp, #12] + 8007eaa: 079b lsls r3, r3, #30 + 8007eac: d503 bpl.n 8007eb6 + 8007eae: 2104 movs r1, #4 + 8007eb0: 2003 movs r0, #3 + 8007eb2: f7fe ff23 bl 8006cfc + 8007eb6: f001 fd35 bl 8009924 + 8007eba: f894 2491 ldrb.w r2, [r4, #1169] ; 0x491 + 8007ebe: 06d7 lsls r7, r2, #27 + 8007ec0: d55f bpl.n 8007f82 + 8007ec2: 2300 movs r3, #0 + 8007ec4: f884 3492 strb.w r3, [r4, #1170] ; 0x492 + 8007ec8: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 + 8007ecc: 061e lsls r6, r3, #24 + 8007ece: bf44 itt mi + 8007ed0: f023 0382 bicmi.w r3, r3, #130 ; 0x82 + 8007ed4: f8c4 3340 strmi.w r3, [r4, #832] ; 0x340 + 8007ed8: f012 0f05 tst.w r2, #5 + 8007edc: f000 82fc beq.w 80084d8 + 8007ee0: 200b movs r0, #11 + 8007ee2: f001 fecb bl 8009c7c + 8007ee6: 2800 cmp r0, #0 + 8007ee8: f000 82f6 beq.w 80084d8 + 8007eec: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8007ef0: 07dd lsls r5, r3, #31 + 8007ef2: f100 82f1 bmi.w 80084d8 + 8007ef6: 0758 lsls r0, r3, #29 + 8007ef8: f140 8308 bpl.w 800850c + 8007efc: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 + 8007f00: f023 0302 bic.w r3, r3, #2 + 8007f04: f8c4 3340 str.w r3, [r4, #832] ; 0x340 + 8007f08: f8d4 2340 ldr.w r2, [r4, #832] ; 0x340 + 8007f0c: bb82 cbnz r2, 8007f70 + 8007f0e: f894 5491 ldrb.w r5, [r4, #1169] ; 0x491 + 8007f12: f015 0101 ands.w r1, r5, #1 + 8007f16: bf1e ittt ne + 8007f18: 462b movne r3, r5 + 8007f1a: f362 0300 bfine r3, r2, #0, #1 + 8007f1e: f884 3491 strbne.w r3, [r4, #1169] ; 0x491 + 8007f22: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8007f26: 075e lsls r6, r3, #29 + 8007f28: bf44 itt mi + 8007f2a: f36f 0382 bfcmi r3, #2, #1 + 8007f2e: f884 3491 strbmi.w r3, [r4, #1169] ; 0x491 + 8007f32: 2301 movs r3, #1 + 8007f34: f884 3492 strb.w r3, [r4, #1170] ; 0x492 + 8007f38: b121 cbz r1, 8007f44 + 8007f3a: f8d4 3344 ldr.w r3, [r4, #836] ; 0x344 + 8007f3e: 482c ldr r0, [pc, #176] ; (8007ff0 ) + 8007f40: 681b ldr r3, [r3, #0] + 8007f42: 4798 blx r3 + 8007f44: 076d lsls r5, r5, #29 + 8007f46: d50b bpl.n 8007f60 + 8007f48: 482a ldr r0, [pc, #168] ; (8007ff4 ) + 8007f4a: f001 fea3 bl 8009c94 + 8007f4e: f001 fed1 bl 8009cf4 + 8007f52: b128 cbz r0, 8007f60 + 8007f54: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8007f58: f043 0304 orr.w r3, r3, #4 + 8007f5c: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8007f60: f001 fcce bl 8009900 + 8007f64: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8007f68: f36f 1304 bfc r3, #4, #1 + 8007f6c: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8007f70: 2301 movs r3, #1 + 8007f72: f884 3492 strb.w r3, [r4, #1170] ; 0x492 + 8007f76: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8007f7a: f043 0320 orr.w r3, r3, #32 + 8007f7e: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8007f82: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8007f86: 0718 lsls r0, r3, #28 + 8007f88: d50a bpl.n 8007fa0 + 8007f8a: f36f 03c3 bfc r3, #3, #1 + 8007f8e: 491a ldr r1, [pc, #104] ; (8007ff8 ) + 8007f90: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8007f94: f8d4 3344 ldr.w r3, [r4, #836] ; 0x344 + 8007f98: f1a1 0024 sub.w r0, r1, #36 ; 0x24 + 8007f9c: 68db ldr r3, [r3, #12] + 8007f9e: 4798 blx r3 + 8007fa0: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8007fa4: 0799 lsls r1, r3, #30 + 8007fa6: d50a bpl.n 8007fbe + 8007fa8: f36f 0341 bfc r3, #1, #1 + 8007fac: 4912 ldr r1, [pc, #72] ; (8007ff8 ) + 8007fae: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8007fb2: f8d4 3344 ldr.w r3, [r4, #836] ; 0x344 + 8007fb6: f1a1 006c sub.w r0, r1, #108 ; 0x6c + 8007fba: 685b ldr r3, [r3, #4] + 8007fbc: 4798 blx r3 + 8007fbe: f894 3490 ldrb.w r3, [r4, #1168] ; 0x490 + 8007fc2: 2b02 cmp r3, #2 + 8007fc4: d11a bne.n 8007ffc + 8007fc6: f7fe fefb bl 8006dc0 + 8007fca: e017 b.n 8007ffc + 8007fcc: 200011c4 .word 0x200011c4 + 8007fd0: 200011c8 .word 0x200011c8 + 8007fd4: 20000c00 .word 0x20000c00 + 8007fd8: 0800fa0c .word 0x0800fa0c + 8007fdc: 20001784 .word 0x20001784 + 8007fe0: 20001548 .word 0x20001548 + 8007fe4: 20001560 .word 0x20001560 + 8007fe8: 200015c8 .word 0x200015c8 + 8007fec: 20001774 .word 0x20001774 + 8007ff0: 20001608 .word 0x20001608 + 8007ff4: 2000161c .word 0x2000161c + 8007ff8: 20001654 .word 0x20001654 + 8007ffc: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8008000: 069a lsls r2, r3, #26 + 8008002: f140 82c6 bpl.w 8008592 + 8008006: f36f 1345 bfc r3, #5, #1 + 800800a: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 800800e: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 + 8008012: 2b00 cmp r3, #0 + 8008014: f040 82bd bne.w 8008592 + 8008018: b029 add sp, #164 ; 0xa4 + 800801a: e8bd 4ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800801e: f7ff ba77 b.w 8007510 + 8008022: f884 3441 strb.w r3, [r4, #1089] ; 0x441 + 8008026: e6a1 b.n 8007d6c + 8008028: f895 2118 ldrb.w r2, [r5, #280] ; 0x118 + 800802c: 2a01 cmp r2, #1 + 800802e: d10c bne.n 800804a + 8008030: f001 fc5e bl 80098f0 + 8008034: 4680 mov r8, r0 + 8008036: b168 cbz r0, 8008054 + 8008038: 4658 mov r0, fp + 800803a: f001 fc4e bl 80098da + 800803e: 4658 mov r0, fp + 8008040: f001 fc50 bl 80098e4 + 8008044: 2304 movs r3, #4 + 8008046: f884 348f strb.w r3, [r4, #1167] ; 0x48f + 800804a: b97e cbnz r6, 800806c + 800804c: 2301 movs r3, #1 + 800804e: f884 3421 strb.w r3, [r4, #1057] ; 0x421 + 8008052: e150 b.n 80082f6 + 8008054: f001 fc4e bl 80098f4 + 8008058: 2800 cmp r0, #0 + 800805a: d0f6 beq.n 800804a + 800805c: 4640 mov r0, r8 + 800805e: f001 fc3d bl 80098dc + 8008062: 4640 mov r0, r8 + 8008064: f001 fc3f bl 80098e6 + 8008068: 2305 movs r3, #5 + 800806a: e7ec b.n 8008046 + 800806c: 783b ldrb r3, [r7, #0] + 800806e: 9304 str r3, [sp, #16] + 8008070: 095b lsrs r3, r3, #5 + 8008072: 3b01 subs r3, #1 + 8008074: 2b06 cmp r3, #6 + 8008076: f200 8218 bhi.w 80084aa + 800807a: e8df f013 tbh [pc, r3, lsl #1] + 800807e: 0007 .short 0x0007 + 8008080: 00950216 .word 0x00950216 + 8008084: 00920216 .word 0x00920216 + 8008088: 02070216 .word 0x02070216 + 800808c: 2e10 cmp r6, #16 + 800808e: d9dd bls.n 800804c + 8008090: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 + 8008094: 9712 str r7, [sp, #72] ; 0x48 + 8008096: b2f6 uxtb r6, r6 + 8008098: f88d 604c strb.w r6, [sp, #76] ; 0x4c + 800809c: 2b00 cmp r3, #0 + 800809e: d1d5 bne.n 800804c + 80080a0: a81c add r0, sp, #112 ; 0x70 + 80080a2: f004 f95d bl 800c360 + 80080a6: aa12 add r2, sp, #72 ; 0x48 + 80080a8: a91c add r1, sp, #112 ; 0x70 + 80080aa: 20ff movs r0, #255 ; 0xff + 80080ac: f002 f8b2 bl 800a214 + 80080b0: f89d 3058 ldrb.w r3, [sp, #88] ; 0x58 + 80080b4: f3c3 0303 ubfx r3, r3, #0, #4 + 80080b8: 4607 mov r7, r0 + 80080ba: f88d 302c strb.w r3, [sp, #44] ; 0x2c + 80080be: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 80080c2: f895 307d ldrb.w r3, [r5, #125] ; 0x7d + 80080c6: f88d 302d strb.w r3, [sp, #45] ; 0x2d + 80080ca: 2207 movs r2, #7 + 80080cc: a90b add r1, sp, #44 ; 0x2c + 80080ce: f002 faa4 bl 800a61a + 80080d2: 2f00 cmp r7, #0 + 80080d4: d15d bne.n 8008192 + 80080d6: 2800 cmp r0, #0 + 80080d8: d05b beq.n 8008192 + 80080da: f89d 3053 ldrb.w r3, [sp, #83] ; 0x53 + 80080de: f89d 2052 ldrb.w r2, [sp, #82] ; 0x52 + 80080e2: 9915 ldr r1, [sp, #84] ; 0x54 + 80080e4: f8c5 10e4 str.w r1, [r5, #228] ; 0xe4 + 80080e8: 041b lsls r3, r3, #16 + 80080ea: ea43 2302 orr.w r3, r3, r2, lsl #8 + 80080ee: f89d 2051 ldrb.w r2, [sp, #81] ; 0x51 + 80080f2: 2002 movs r0, #2 + 80080f4: 4313 orrs r3, r2 + 80080f6: f8c5 30e0 str.w r3, [r5, #224] ; 0xe0 + 80080fa: f004 f93f bl 800c37c + 80080fe: f89d 3058 ldrb.w r3, [sp, #88] ; 0x58 + 8008102: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 8008106: f885 712e strb.w r7, [r5, #302] ; 0x12e + 800810a: f3c3 1202 ubfx r2, r3, #4, #3 + 800810e: f3c3 0303 ubfx r3, r3, #0, #4 + 8008112: f885 3070 strb.w r3, [r5, #112] ; 0x70 + 8008116: f885 3078 strb.w r3, [r5, #120] ; 0x78 + 800811a: f89d 3059 ldrb.w r3, [sp, #89] ; 0x59 + 800811e: f885 2069 strb.w r2, [r5, #105] ; 0x69 + 8008122: 2b01 cmp r3, #1 + 8008124: bf38 it cc + 8008126: 2301 movcc r3, #1 + 8008128: f44f 727a mov.w r2, #1000 ; 0x3e8 + 800812c: 4353 muls r3, r2 + 800812e: 65ab str r3, [r5, #88] ; 0x58 + 8008130: 4413 add r3, r2 + 8008132: 65eb str r3, [r5, #92] ; 0x5c + 8008134: f10d 035a add.w r3, sp, #90 ; 0x5a + 8008138: f04f 0801 mov.w r8, #1 + 800813c: 9310 str r3, [sp, #64] ; 0x40 + 800813e: 3e11 subs r6, #17 + 8008140: f894 341b ldrb.w r3, [r4, #1051] ; 0x41b + 8008144: f88d 303c strb.w r3, [sp, #60] ; 0x3c + 8008148: a90f add r1, sp, #60 ; 0x3c + 800814a: f885 8068 strb.w r8, [r5, #104] ; 0x68 + 800814e: f88d 6044 strb.w r6, [sp, #68] ; 0x44 + 8008152: f002 fa6a bl 800a62a + 8008156: 2302 movs r3, #2 + 8008158: 4640 mov r0, r8 + 800815a: f885 3130 strb.w r3, [r5, #304] ; 0x130 + 800815e: f001 fd8d bl 8009c7c + 8008162: b118 cbz r0, 800816c + 8008164: 4641 mov r1, r8 + 8008166: 4638 mov r0, r7 + 8008168: f001 fd4c bl 8009c04 + 800816c: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f + 8008170: 2b01 cmp r3, #1 + 8008172: f200 81a8 bhi.w 80084c6 + 8008176: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a + 800817a: 2b00 cmp r3, #0 + 800817c: f040 819b bne.w 80084b6 + 8008180: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8008184: f043 0310 orr.w r3, r3, #16 + 8008188: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 800818c: f7fe fd4e bl 8006c2c + 8008190: e665 b.n 8007e5e + 8008192: 2001 movs r0, #1 + 8008194: f001 fd72 bl 8009c7c + 8008198: 2800 cmp r0, #0 + 800819a: d0e7 beq.n 800816c + 800819c: 2101 movs r1, #1 + 800819e: 2007 movs r0, #7 + 80081a0: e7e2 b.n 8008168 + 80081a2: 2301 movs r3, #1 + 80081a4: f884 3420 strb.w r3, [r4, #1056] ; 0x420 + 80081a8: f895 307d ldrb.w r3, [r5, #125] ; 0x7d + 80081ac: f88d 302e strb.w r3, [sp, #46] ; 0x2e + 80081b0: f894 3424 ldrb.w r3, [r4, #1060] ; 0x424 + 80081b4: f88d 302d strb.w r3, [sp, #45] ; 0x2d + 80081b8: f895 308c ldrb.w r3, [r5, #140] ; 0x8c + 80081bc: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 80081c0: 330d adds r3, #13 + 80081c2: a90b add r1, sp, #44 ; 0x2c + 80081c4: f88d 302c strb.w r3, [sp, #44] ; 0x2c + 80081c8: f002 fa14 bl 800a5f4 + 80081cc: f1a6 030d sub.w r3, r6, #13 + 80081d0: b21b sxth r3, r3 + 80081d2: 9009 str r0, [sp, #36] ; 0x24 + 80081d4: ea23 73e3 bic.w r3, r3, r3, asr #31 + 80081d8: b200 sxth r0, r0 + 80081da: 4283 cmp r3, r0 + 80081dc: f73f af36 bgt.w 800804c + 80081e0: 2e0b cmp r6, #11 + 80081e2: f67f af33 bls.w 800804c + 80081e6: 4bbb ldr r3, [pc, #748] ; (80084d4 ) + 80081e8: 9325 str r3, [sp, #148] ; 0x94 + 80081ea: a81c add r0, sp, #112 ; 0x70 + 80081ec: 23ff movs r3, #255 ; 0xff + 80081ee: 971c str r7, [sp, #112] ; 0x70 + 80081f0: f88d 6074 strb.w r6, [sp, #116] ; 0x74 + 80081f4: f88d 3098 strb.w r3, [sp, #152] ; 0x98 + 80081f8: f002 f8d8 bl 800a3ac + 80081fc: 4607 mov r7, r0 + 80081fe: 2800 cmp r0, #0 + 8008200: f47f af24 bne.w 800804c + 8008204: f895 3118 ldrb.w r3, [r5, #280] ; 0x118 + 8008208: 2b01 cmp r3, #1 + 800820a: d113 bne.n 8008234 + 800820c: f001 fb70 bl 80098f0 + 8008210: 2800 cmp r0, #0 + 8008212: d073 beq.n 80082fc + 8008214: 4638 mov r0, r7 + 8008216: f001 fb60 bl 80098da + 800821a: 4638 mov r0, r7 + 800821c: f001 fb62 bl 80098e4 + 8008220: 2304 movs r3, #4 + 8008222: f89d 107c ldrb.w r1, [sp, #124] ; 0x7c + 8008226: 981e ldr r0, [sp, #120] ; 0x78 + 8008228: f884 348f strb.w r3, [r4, #1167] ; 0x48f + 800822c: f3c1 1100 ubfx r1, r1, #4, #1 + 8008230: f001 fb77 bl 8009922 + 8008234: f89d 307c ldrb.w r3, [sp, #124] ; 0x7c + 8008238: 991e ldr r1, [sp, #120] ; 0x78 + 800823a: f8c4 1434 str.w r1, [r4, #1076] ; 0x434 + 800823e: f013 020f ands.w r2, r3, #15 + 8008242: d003 beq.n 800824c + 8008244: f89d 0090 ldrb.w r0, [sp, #144] ; 0x90 + 8008248: 2800 cmp r0, #0 + 800824a: d163 bne.n 8008314 + 800824c: f89d 0098 ldrb.w r0, [sp, #152] ; 0x98 + 8008250: 2800 cmp r0, #0 + 8008252: d062 beq.n 800831a + 8008254: 2a00 cmp r2, #0 + 8008256: f47f aef9 bne.w 800804c + 800825a: f89d 2090 ldrb.w r2, [sp, #144] ; 0x90 + 800825e: 2a00 cmp r2, #0 + 8008260: bf0c ite eq + 8008262: f04f 0802 moveq.w r8, #2 + 8008266: f04f 0803 movne.w r8, #3 + 800826a: 2200 movs r2, #0 + 800826c: 920a str r2, [sp, #40] ; 0x28 + 800826e: f8d5 20ec ldr.w r2, [r5, #236] ; 0xec + 8008272: 4291 cmp r1, r2 + 8008274: d154 bne.n 8008320 + 8008276: f895 10e9 ldrb.w r1, [r5, #233] ; 0xe9 + 800827a: 2900 cmp r1, #0 + 800827c: d050 beq.n 8008320 + 800827e: f8d5 110c ldr.w r1, [r5, #268] ; 0x10c + 8008282: f895 b0ea ldrb.w fp, [r5, #234] ; 0xea + 8008286: 6809 ldr r1, [r1, #0] + 8008288: 910a str r1, [sp, #40] ; 0x28 + 800828a: f895 1118 ldrb.w r1, [r5, #280] ; 0x118 + 800828e: 2902 cmp r1, #2 + 8008290: d102 bne.n 8008298 + 8008292: 2103 movs r1, #3 + 8008294: f884 148f strb.w r1, [r4, #1167] ; 0x48f + 8008298: f1b8 0f03 cmp.w r8, #3 + 800829c: f47f aed6 bne.w 800804c + 80082a0: f013 0f60 tst.w r3, #96 ; 0x60 + 80082a4: f47f aed2 bne.w 800804c + 80082a8: 9205 str r2, [sp, #20] + 80082aa: 2701 movs r7, #1 + 80082ac: f895 312e ldrb.w r3, [r5, #302] ; 0x12e + 80082b0: f1bb 0f00 cmp.w fp, #0 + 80082b4: d037 beq.n 8008326 + 80082b6: f1bb 0f01 cmp.w fp, #1 + 80082ba: d138 bne.n 800832e + 80082bc: 2b01 cmp r3, #1 + 80082be: d134 bne.n 800832a + 80082c0: f06f 0609 mvn.w r6, #9 + 80082c4: fa46 f608 asr.w r6, r6, r8 + 80082c8: f006 0601 and.w r6, r6, #1 + 80082cc: f1c6 0602 rsb r6, r6, #2 + 80082d0: b2f6 uxtb r6, r6 + 80082d2: f8bd 107e ldrh.w r1, [sp, #126] ; 0x7e + 80082d6: aa0a add r2, sp, #40 ; 0x28 + 80082d8: 4630 mov r0, r6 + 80082da: f001 fe2d bl 8009f38 + 80082de: b340 cbz r0, 8008332 + 80082e0: 2807 cmp r0, #7 + 80082e2: bf0c ite eq + 80082e4: 2308 moveq r3, #8 + 80082e6: 2301 movne r3, #1 + 80082e8: f884 3421 strb.w r3, [r4, #1057] ; 0x421 + 80082ec: 9b0a ldr r3, [sp, #40] ; 0x28 + 80082ee: f8c4 3430 str.w r3, [r4, #1072] ; 0x430 + 80082f2: f8c4 346c str.w r3, [r4, #1132] ; 0x46c + 80082f6: f7fe fce5 bl 8006cc4 + 80082fa: e5b0 b.n 8007e5e + 80082fc: f001 fafa bl 80098f4 + 8008300: 2800 cmp r0, #0 + 8008302: d097 beq.n 8008234 + 8008304: 4638 mov r0, r7 + 8008306: f001 fae9 bl 80098dc + 800830a: 4638 mov r0, r7 + 800830c: f001 faeb bl 80098e6 + 8008310: 2305 movs r3, #5 + 8008312: e786 b.n 8008222 + 8008314: f04f 0800 mov.w r8, #0 + 8008318: e7a7 b.n 800826a + 800831a: f04f 0801 mov.w r8, #1 + 800831e: e7a4 b.n 800826a + 8008320: f04f 0b01 mov.w fp, #1 + 8008324: e7c2 b.n 80082ac + 8008326: 2604 movs r6, #4 + 8008328: e7d3 b.n 80082d2 + 800832a: 2603 movs r6, #3 + 800832c: e7d1 b.n 80082d2 + 800832e: 2301 movs r3, #1 + 8008330: e7da b.n 80082e8 + 8008332: ab1c add r3, sp, #112 ; 0x70 + 8008334: 9300 str r3, [sp, #0] + 8008336: 9905 ldr r1, [sp, #20] + 8008338: 9b0a ldr r3, [sp, #40] ; 0x28 + 800833a: 4632 mov r2, r6 + 800833c: 4658 mov r0, fp + 800833e: f001 febb bl 800a0b8 + 8008342: b120 cbz r0, 800834e + 8008344: 2802 cmp r0, #2 + 8008346: bf0c ite eq + 8008348: 230a moveq r3, #10 + 800834a: 230b movne r3, #11 + 800834c: e67f b.n 800804e + 800834e: 9b0a ldr r3, [sp, #40] ; 0x28 + 8008350: f8c4 3430 str.w r3, [r4, #1072] ; 0x430 + 8008354: f8c4 346c str.w r3, [r4, #1132] ; 0x46c + 8008358: f89d 307c ldrb.w r3, [sp, #124] ; 0x7c + 800835c: f884 0421 strb.w r0, [r4, #1057] ; 0x421 + 8008360: f3c3 1340 ubfx r3, r3, #5, #1 + 8008364: f884 342e strb.w r3, [r4, #1070] ; 0x42e + 8008368: f884 3444 strb.w r3, [r4, #1092] ; 0x444 + 800836c: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f + 8008370: f884 7422 strb.w r7, [r4, #1058] ; 0x422 + 8008374: 2b01 cmp r3, #1 + 8008376: bf9e ittt ls + 8008378: 2201 movls r2, #1 + 800837a: 62a8 strls r0, [r5, #40] ; 0x28 + 800837c: f885 211e strbls.w r2, [r5, #286] ; 0x11e + 8008380: 2f01 cmp r7, #1 + 8008382: f8c4 0428 str.w r0, [r4, #1064] ; 0x428 + 8008386: f884 042c strb.w r0, [r4, #1068] ; 0x42c + 800838a: f884 0441 strb.w r0, [r4, #1089] ; 0x441 + 800838e: d138 bne.n 8008402 + 8008390: 2202 movs r2, #2 + 8008392: f884 2420 strb.w r2, [r4, #1056] ; 0x420 + 8008396: f895 203a ldrb.w r2, [r5, #58] ; 0x3a + 800839a: 2a00 cmp r2, #0 + 800839c: d14a bne.n 8008434 + 800839e: f89d 207c ldrb.w r2, [sp, #124] ; 0x7c + 80083a2: 06d6 lsls r6, r2, #27 + 80083a4: d446 bmi.n 8008434 + 80083a6: 2b01 cmp r3, #1 + 80083a8: f894 1440 ldrb.w r1, [r4, #1088] ; 0x440 + 80083ac: f89d 207c ldrb.w r2, [sp, #124] ; 0x7c + 80083b0: d805 bhi.n 80083be + 80083b2: 2901 cmp r1, #1 + 80083b4: d101 bne.n 80083ba + 80083b6: 0690 lsls r0, r2, #26 + 80083b8: d501 bpl.n 80083be + 80083ba: f001 fb5f bl 8009a7c + 80083be: f1b8 0f02 cmp.w r8, #2 + 80083c2: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f + 80083c6: d043 beq.n 8008450 + 80083c8: f1b8 0f03 cmp.w r8, #3 + 80083cc: d00a beq.n 80083e4 + 80083ce: f89d 107c ldrb.w r1, [sp, #124] ; 0x7c + 80083d2: f1b8 0f01 cmp.w r8, #1 + 80083d6: 464a mov r2, r9 + 80083d8: f001 010f and.w r1, r1, #15 + 80083dc: a820 add r0, sp, #128 ; 0x80 + 80083de: d03b beq.n 8008458 + 80083e0: f7ff f910 bl 8007604 + 80083e4: f89d 3090 ldrb.w r3, [sp, #144] ; 0x90 + 80083e8: f884 3423 strb.w r3, [r4, #1059] ; 0x423 + 80083ec: 9b25 ldr r3, [sp, #148] ; 0x94 + 80083ee: f8c4 3428 str.w r3, [r4, #1064] ; 0x428 + 80083f2: f89d 3098 ldrb.w r3, [sp, #152] ; 0x98 + 80083f6: f884 342c strb.w r3, [r4, #1068] ; 0x42c + 80083fa: 2301 movs r3, #1 + 80083fc: f884 342d strb.w r3, [r4, #1069] ; 0x42d + 8008400: e030 b.n 8008464 + 8008402: 9a04 ldr r2, [sp, #16] + 8008404: f002 02e0 and.w r2, r2, #224 ; 0xe0 + 8008408: 2aa0 cmp r2, #160 ; 0xa0 + 800840a: d11b bne.n 8008444 + 800840c: f895 112e ldrb.w r1, [r5, #302] ; 0x12e + 8008410: 2201 movs r2, #1 + 8008412: f885 203a strb.w r2, [r5, #58] ; 0x3a + 8008416: b909 cbnz r1, 800841c + 8008418: 9927 ldr r1, [sp, #156] ; 0x9c + 800841a: 6369 str r1, [r5, #52] ; 0x34 + 800841c: 2b01 cmp r3, #1 + 800841e: f884 2420 strb.w r2, [r4, #1056] ; 0x420 + 8008422: d907 bls.n 8008434 + 8008424: f8d5 2090 ldr.w r2, [r5, #144] ; 0x90 + 8008428: f8c4 243c str.w r2, [r4, #1084] ; 0x43c + 800842c: f8da 2000 ldr.w r2, [sl] + 8008430: f8c4 2498 str.w r2, [r4, #1176] ; 0x498 + 8008434: f895 2118 ldrb.w r2, [r5, #280] ; 0x118 + 8008438: 2a00 cmp r2, #0 + 800843a: d1b4 bne.n 80083a6 + 800843c: 2201 movs r2, #1 + 800843e: f884 2425 strb.w r2, [r4, #1061] ; 0x425 + 8008442: e7b0 b.n 80083a6 + 8008444: 2200 movs r2, #0 + 8008446: f885 203a strb.w r2, [r5, #58] ; 0x3a + 800844a: f884 2420 strb.w r2, [r4, #1056] ; 0x420 + 800844e: e7a6 b.n 800839e + 8008450: f89d 1098 ldrb.w r1, [sp, #152] ; 0x98 + 8008454: 9825 ldr r0, [sp, #148] ; 0x94 + 8008456: 464a mov r2, r9 + 8008458: f7ff f8d4 bl 8007604 + 800845c: f89d 3090 ldrb.w r3, [sp, #144] ; 0x90 + 8008460: f884 3423 strb.w r3, [r4, #1059] ; 0x423 + 8008464: f89d 2090 ldrb.w r2, [sp, #144] ; 0x90 + 8008468: 2ae0 cmp r2, #224 ; 0xe0 + 800846a: d108 bne.n 800847e + 800846c: f895 311f ldrb.w r3, [r5, #287] ; 0x11f + 8008470: b92b cbnz r3, 800847e + 8008472: f884 2423 strb.w r2, [r4, #1059] ; 0x423 + 8008476: f8c4 3428 str.w r3, [r4, #1064] ; 0x428 + 800847a: f8a4 342c strh.w r3, [r4, #1068] ; 0x42c + 800847e: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8008482: f043 0302 orr.w r3, r3, #2 + 8008486: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 800848a: e66f b.n 800816c + 800848c: 4d11 ldr r5, [pc, #68] ; (80084d4 ) + 800848e: 3e01 subs r6, #1 + 8008490: b2b2 uxth r2, r6 + 8008492: 1c79 adds r1, r7, #1 + 8008494: 4628 mov r0, r5 + 8008496: f004 f839 bl 800c50c + 800849a: 2303 movs r3, #3 + 800849c: f8a4 3420 strh.w r3, [r4, #1056] ; 0x420 + 80084a0: f8c4 5428 str.w r5, [r4, #1064] ; 0x428 + 80084a4: f884 642c strb.w r6, [r4, #1068] ; 0x42c + 80084a8: e7e9 b.n 800847e + 80084aa: 2301 movs r3, #1 + 80084ac: f884 3421 strb.w r3, [r4, #1057] ; 0x421 + 80084b0: f7fe fc08 bl 8006cc4 + 80084b4: e65a b.n 800816c + 80084b6: f894 3444 ldrb.w r3, [r4, #1092] ; 0x444 + 80084ba: 2b00 cmp r3, #0 + 80084bc: f43f ae60 beq.w 8008180 + 80084c0: 2000 movs r0, #0 + 80084c2: f7fe fbed bl 8006ca0 + 80084c6: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f + 80084ca: 2b02 cmp r3, #2 + 80084cc: f43f ae5e beq.w 800818c + 80084d0: e656 b.n 8008180 + 80084d2: bf00 nop + 80084d4: 20001400 .word 0x20001400 + 80084d8: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 80084dc: 0759 lsls r1, r3, #29 + 80084de: d515 bpl.n 800850c + 80084e0: 2001 movs r0, #1 + 80084e2: f001 fbcb bl 8009c7c + 80084e6: b160 cbz r0, 8008502 + 80084e8: 2001 movs r0, #1 + 80084ea: f001 fb9d bl 8009c28 + 80084ee: b908 cbnz r0, 80084f4 + 80084f0: f884 0418 strb.w r0, [r4, #1048] ; 0x418 + 80084f4: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 + 80084f8: f023 0302 bic.w r3, r3, #2 + 80084fc: f8c4 3340 str.w r3, [r4, #832] ; 0x340 + 8008500: e004 b.n 800850c + 8008502: 2006 movs r0, #6 + 8008504: f001 fbba bl 8009c7c + 8008508: 2800 cmp r0, #0 + 800850a: d1f3 bne.n 80084f4 + 800850c: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8008510: 07da lsls r2, r3, #31 + 8008512: f57f acf9 bpl.w 8007f08 + 8008516: f894 2440 ldrb.w r2, [r4, #1088] ; 0x440 + 800851a: b10a cbz r2, 8008520 + 800851c: 2a03 cmp r2, #3 + 800851e: d118 bne.n 8008552 + 8008520: 4a1d ldr r2, [pc, #116] ; (8008598 ) + 8008522: f894 1418 ldrb.w r1, [r4, #1048] ; 0x418 + 8008526: f892 2068 ldrb.w r2, [r2, #104] ; 0x68 + 800852a: 4291 cmp r1, r2 + 800852c: d205 bcs.n 800853a + 800852e: 079b lsls r3, r3, #30 + 8008530: d523 bpl.n 800857a + 8008532: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f + 8008536: 2b01 cmp r3, #1 + 8008538: d81f bhi.n 800857a + 800853a: 4818 ldr r0, [pc, #96] ; (800859c ) + 800853c: f006 fb0a bl 800eb54 + 8008540: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 + 8008544: f023 0320 bic.w r3, r3, #32 + 8008548: f8c4 3340 str.w r3, [r4, #832] ; 0x340 + 800854c: f7ff fb42 bl 8007bd4 + 8008550: e4da b.n 8007f08 + 8008552: 2a01 cmp r2, #1 + 8008554: d111 bne.n 800857a + 8008556: f894 2419 ldrb.w r2, [r4, #1049] ; 0x419 + 800855a: 2a00 cmp r2, #0 + 800855c: f43f acd4 beq.w 8007f08 + 8008560: 4a0d ldr r2, [pc, #52] ; (8008598 ) + 8008562: f894 1418 ldrb.w r1, [r4, #1048] ; 0x418 + 8008566: f892 2068 ldrb.w r2, [r2, #104] ; 0x68 + 800856a: 4291 cmp r1, r2 + 800856c: d2e5 bcs.n 800853a + 800856e: 079f lsls r7, r3, #30 + 8008570: d503 bpl.n 800857a + 8008572: f894 3444 ldrb.w r3, [r4, #1092] ; 0x444 + 8008576: 2b00 cmp r3, #0 + 8008578: d1df bne.n 800853a + 800857a: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 800857e: 2000 movs r0, #0 + 8008580: f36f 1304 bfc r3, #4, #1 + 8008584: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8008588: f884 0419 strb.w r0, [r4, #1049] ; 0x419 + 800858c: f7ff fb44 bl 8007c18 + 8008590: e4ba b.n 8007f08 + 8008592: b029 add sp, #164 ; 0xa4 + 8008594: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8008598: 20000c00 .word 0x20000c00 + 800859c: 20001530 .word 0x20001530 -08008968 : - 8008968: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800896c: 4689 mov r9, r1 - 800896e: b08d sub sp, #52 ; 0x34 - 8008970: 4690 mov r8, r2 - 8008972: 4607 mov r7, r0 - 8008974: 2800 cmp r0, #0 - 8008976: f000 818f beq.w 8008c98 - 800897a: 2900 cmp r1, #0 - 800897c: f000 818c beq.w 8008c98 - 8008980: 6803 ldr r3, [r0, #0] - 8008982: 2b00 cmp r3, #0 - 8008984: f000 8188 beq.w 8008c98 - 8008988: 6843 ldr r3, [r0, #4] - 800898a: 2b00 cmp r3, #0 - 800898c: f000 8184 beq.w 8008c98 - 8008990: 6883 ldr r3, [r0, #8] - 8008992: 2b00 cmp r3, #0 - 8008994: f000 8180 beq.w 8008c98 - 8008998: 68c3 ldr r3, [r0, #12] - 800899a: 2b00 cmp r3, #0 - 800899c: f000 817c beq.w 8008c98 - 80089a0: 4610 mov r0, r2 - 80089a2: f002 f807 bl 800a9b4 - 80089a6: 2800 cmp r0, #0 - 80089a8: f000 8178 beq.w 8008c9c - 80089ac: 4cbd ldr r4, [pc, #756] ; (8008ca4 ) - 80089ae: 4dbe ldr r5, [pc, #760] ; (8008ca8 ) - 80089b0: 4638 mov r0, r7 - 80089b2: f001 fac1 bl 8009f38 - 80089b6: f240 52c4 movw r2, #1476 ; 0x5c4 - 80089ba: 2100 movs r1, #0 - 80089bc: 4620 mov r0, r4 - 80089be: f003 ff9d bl 800c8fc - 80089c2: f240 521c movw r2, #1308 ; 0x51c - 80089c6: 2100 movs r1, #0 - 80089c8: 4628 mov r0, r5 - 80089ca: f003 ff97 bl 800c8fc - 80089ce: 4bb7 ldr r3, [pc, #732] ; (8008cac ) - 80089d0: f8c4 312c str.w r3, [r4, #300] ; 0x12c - 80089d4: f504 7309 add.w r3, r4, #548 ; 0x224 - 80089d8: 9308 str r3, [sp, #32] - 80089da: f504 730a add.w r3, r4, #552 ; 0x228 - 80089de: 2600 movs r6, #0 - 80089e0: 4640 mov r0, r8 - 80089e2: 9309 str r3, [sp, #36] ; 0x24 - 80089e4: a908 add r1, sp, #32 - 80089e6: 4bb2 ldr r3, [pc, #712] ; (8008cb0 ) - 80089e8: f884 8048 strb.w r8, [r4, #72] ; 0x48 - 80089ec: 930a str r3, [sp, #40] ; 0x28 - 80089ee: f884 6118 strb.w r6, [r4, #280] ; 0x118 - 80089f2: f884 608c strb.w r6, [r4, #140] ; 0x8c - 80089f6: f88d 602c strb.w r6, [sp, #44] ; 0x2c - 80089fa: f001 ffed bl 800a9d8 - 80089fe: 230f movs r3, #15 - 8008a00: a906 add r1, sp, #24 - 8008a02: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008a06: f88d 3018 strb.w r3, [sp, #24] - 8008a0a: f001 ffd7 bl 800a9bc - 8008a0e: 1b80 subs r0, r0, r6 - 8008a10: bf18 it ne - 8008a12: 2001 movne r0, #1 - 8008a14: f04f 0b0a mov.w fp, #10 - 8008a18: f884 011c strb.w r0, [r4, #284] ; 0x11c - 8008a1c: a906 add r1, sp, #24 - 8008a1e: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008a22: f88d b018 strb.w fp, [sp, #24] - 8008a26: f001 ffc9 bl 800a9bc - 8008a2a: f04f 0a06 mov.w sl, #6 - 8008a2e: f884 00dc strb.w r0, [r4, #220] ; 0xdc - 8008a32: a906 add r1, sp, #24 - 8008a34: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008a38: f88d a018 strb.w sl, [sp, #24] - 8008a3c: f001 ffbe bl 800a9bc - 8008a40: 2310 movs r3, #16 - 8008a42: f884 00dd strb.w r0, [r4, #221] ; 0xdd - 8008a46: a906 add r1, sp, #24 - 8008a48: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008a4c: f88d 3018 strb.w r3, [sp, #24] - 8008a50: f001 ffb4 bl 800a9bc - 8008a54: 2311 movs r3, #17 - 8008a56: f8c4 009c str.w r0, [r4, #156] ; 0x9c - 8008a5a: a906 add r1, sp, #24 - 8008a5c: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008a60: f88d 3018 strb.w r3, [sp, #24] - 8008a64: f001 ffaa bl 800a9bc - 8008a68: 2312 movs r3, #18 - 8008a6a: f8c4 00a0 str.w r0, [r4, #160] ; 0xa0 - 8008a6e: a906 add r1, sp, #24 - 8008a70: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008a74: f88d 3018 strb.w r3, [sp, #24] - 8008a78: f001 ffa0 bl 800a9bc - 8008a7c: 2313 movs r3, #19 - 8008a7e: f8c4 00a4 str.w r0, [r4, #164] ; 0xa4 - 8008a82: a906 add r1, sp, #24 - 8008a84: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008a88: f88d 3018 strb.w r3, [sp, #24] - 8008a8c: f001 ff96 bl 800a9bc - 8008a90: 2314 movs r3, #20 - 8008a92: f8c4 00a8 str.w r0, [r4, #168] ; 0xa8 - 8008a96: a906 add r1, sp, #24 - 8008a98: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008a9c: f88d 3018 strb.w r3, [sp, #24] - 8008aa0: f001 ff8c bl 800a9bc - 8008aa4: 2316 movs r3, #22 - 8008aa6: f8c4 00ac str.w r0, [r4, #172] ; 0xac - 8008aaa: a906 add r1, sp, #24 - 8008aac: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008ab0: f88d 3018 strb.w r3, [sp, #24] - 8008ab4: f001 ff82 bl 800a9bc - 8008ab8: 2317 movs r3, #23 - 8008aba: f884 00b1 strb.w r0, [r4, #177] ; 0xb1 - 8008abe: a906 add r1, sp, #24 - 8008ac0: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008ac4: f88d 3018 strb.w r3, [sp, #24] - 8008ac8: f001 ff78 bl 800a9bc - 8008acc: 2318 movs r3, #24 - 8008ace: eb0d 0103 add.w r1, sp, r3 - 8008ad2: f8c4 00b4 str.w r0, [r4, #180] ; 0xb4 - 8008ad6: f8c4 00bc str.w r0, [r4, #188] ; 0xbc - 8008ada: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008ade: f88d 3018 strb.w r3, [sp, #24] - 8008ae2: f001 ff6b bl 800a9bc - 8008ae6: b2c0 uxtb r0, r0 - 8008ae8: 231d movs r3, #29 - 8008aea: f884 00b8 strb.w r0, [r4, #184] ; 0xb8 - 8008aee: f884 00c0 strb.w r0, [r4, #192] ; 0xc0 - 8008af2: a906 add r1, sp, #24 - 8008af4: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008af8: f88d 3018 strb.w r3, [sp, #24] - 8008afc: f001 ff5e bl 800a9bc - 8008b00: 231e movs r3, #30 - 8008b02: f884 00c4 strb.w r0, [r4, #196] ; 0xc4 - 8008b06: a906 add r1, sp, #24 - 8008b08: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008b0c: f88d 3018 strb.w r3, [sp, #24] - 8008b10: f001 ff54 bl 800a9bc - 8008b14: 231f movs r3, #31 - 8008b16: f884 00c5 strb.w r0, [r4, #197] ; 0xc5 - 8008b1a: a906 add r1, sp, #24 - 8008b1c: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008b20: f88d 3018 strb.w r3, [sp, #24] - 8008b24: f001 ff4a bl 800a9bc - 8008b28: 2320 movs r3, #32 - 8008b2a: f8c4 00c8 str.w r0, [r4, #200] ; 0xc8 - 8008b2e: a906 add r1, sp, #24 - 8008b30: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008b34: f88d 3018 strb.w r3, [sp, #24] - 8008b38: f001 ff40 bl 800a9bc - 8008b3c: 230b movs r3, #11 - 8008b3e: f8c4 00cc str.w r0, [r4, #204] ; 0xcc - 8008b42: a906 add r1, sp, #24 - 8008b44: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008b48: f88d 3018 strb.w r3, [sp, #24] - 8008b4c: f001 ff36 bl 800a9bc - 8008b50: 230c movs r3, #12 - 8008b52: a906 add r1, sp, #24 - 8008b54: f8a4 00d0 strh.w r0, [r4, #208] ; 0xd0 - 8008b58: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008b5c: f88d 3018 strb.w r3, [sp, #24] - 8008b60: f001 ff2c bl 800a9bc - 8008b64: f8d4 309c ldr.w r3, [r4, #156] ; 0x9c - 8008b68: 6563 str r3, [r4, #84] ; 0x54 - 8008b6a: f8d4 30a0 ldr.w r3, [r4, #160] ; 0xa0 - 8008b6e: 65a3 str r3, [r4, #88] ; 0x58 - 8008b70: f8d4 30a4 ldr.w r3, [r4, #164] ; 0xa4 - 8008b74: 65e3 str r3, [r4, #92] ; 0x5c - 8008b76: f8d4 30a8 ldr.w r3, [r4, #168] ; 0xa8 - 8008b7a: 6623 str r3, [r4, #96] ; 0x60 - 8008b7c: f04f 0801 mov.w r8, #1 - 8008b80: f8d4 30ac ldr.w r3, [r4, #172] ; 0xac - 8008b84: 9005 str r0, [sp, #20] - 8008b86: f8a4 00d2 strh.w r0, [r4, #210] ; 0xd2 - 8008b8a: 6663 str r3, [r4, #100] ; 0x64 - 8008b8c: f884 80b0 strb.w r8, [r4, #176] ; 0xb0 - 8008b90: f8c4 b094 str.w fp, [r4, #148] ; 0x94 - 8008b94: f884 a098 strb.w sl, [r4, #152] ; 0x98 - 8008b98: f8c4 b04c str.w fp, [r4, #76] ; 0x4c - 8008b9c: f884 a050 strb.w sl, [r4, #80] ; 0x50 - 8008ba0: f884 8068 strb.w r8, [r4, #104] ; 0x68 - 8008ba4: f884 811f strb.w r8, [r4, #287] ; 0x11f - 8008ba8: f8c5 9348 str.w r9, [r5, #840] ; 0x348 - 8008bac: f7fe fd7a bl 80076a4 - 8008bb0: 4b40 ldr r3, [pc, #256] ; (8008cb4 ) - 8008bb2: 9600 str r6, [sp, #0] - 8008bb4: 4632 mov r2, r6 - 8008bb6: f04f 31ff mov.w r1, #4294967295 - 8008bba: f505 705a add.w r0, r5, #872 ; 0x368 - 8008bbe: f8c5 7344 str.w r7, [r5, #836] ; 0x344 - 8008bc2: e9c4 660b strd r6, r6, [r4, #44] ; 0x2c - 8008bc6: f884 8119 strb.w r8, [r4, #281] ; 0x119 - 8008bca: f885 6491 strb.w r6, [r5, #1169] ; 0x491 - 8008bce: f8c5 8340 str.w r8, [r5, #832] ; 0x340 - 8008bd2: f006 f945 bl 800ee60 - 8008bd6: 4b38 ldr r3, [pc, #224] ; (8008cb8 ) - 8008bd8: 9600 str r6, [sp, #0] - 8008bda: 4632 mov r2, r6 - 8008bdc: f04f 31ff mov.w r1, #4294967295 - 8008be0: f505 7060 add.w r0, r5, #896 ; 0x380 - 8008be4: f006 f93c bl 800ee60 - 8008be8: 4b34 ldr r3, [pc, #208] ; (8008cbc ) - 8008bea: 9600 str r6, [sp, #0] - 8008bec: 4632 mov r2, r6 - 8008bee: f04f 31ff mov.w r1, #4294967295 - 8008bf2: f505 7066 add.w r0, r5, #920 ; 0x398 - 8008bf6: f006 f933 bl 800ee60 - 8008bfa: af02 add r7, sp, #8 - 8008bfc: 4b30 ldr r3, [pc, #192] ; (8008cc0 ) - 8008bfe: 9600 str r6, [sp, #0] - 8008c00: 4632 mov r2, r6 - 8008c02: f04f 31ff mov.w r1, #4294967295 - 8008c06: f505 6080 add.w r0, r5, #1024 ; 0x400 - 8008c0a: f006 f929 bl 800ee60 - 8008c0e: 4638 mov r0, r7 - 8008c10: f006 f8ba bl 800ed88 - 8008c14: e897 0003 ldmia.w r7, {r0, r1} - 8008c18: f504 7392 add.w r3, r4, #292 ; 0x124 - 8008c1c: e883 0003 stmia.w r3, {r0, r1} - 8008c20: 4b28 ldr r3, [pc, #160] ; (8008cc4 ) - 8008c22: 4f29 ldr r7, [pc, #164] ; (8008cc8 ) - 8008c24: 601e str r6, [r3, #0] - 8008c26: 4b29 ldr r3, [pc, #164] ; (8008ccc ) - 8008c28: f8c5 334c str.w r3, [r5, #844] ; 0x34c - 8008c2c: 4b28 ldr r3, [pc, #160] ; (8008cd0 ) - 8008c2e: f8c5 3354 str.w r3, [r5, #852] ; 0x354 - 8008c32: 4b28 ldr r3, [pc, #160] ; (8008cd4 ) - 8008c34: f8c5 335c str.w r3, [r5, #860] ; 0x35c - 8008c38: 4b27 ldr r3, [pc, #156] ; (8008cd8 ) - 8008c3a: f8c5 3350 str.w r3, [r5, #848] ; 0x350 - 8008c3e: 4b27 ldr r3, [pc, #156] ; (8008cdc ) - 8008c40: f8c5 3358 str.w r3, [r5, #856] ; 0x358 - 8008c44: f505 7053 add.w r0, r5, #844 ; 0x34c - 8008c48: 683b ldr r3, [r7, #0] - 8008c4a: 4798 blx r3 - 8008c4c: f504 70a6 add.w r0, r4, #332 ; 0x14c - 8008c50: f003 fb88 bl 800c364 - 8008c54: b120 cbz r0, 8008c60 - 8008c56: 2611 movs r6, #17 - 8008c58: 4630 mov r0, r6 - 8008c5a: b00d add sp, #52 ; 0x34 - 8008c5c: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8008c60: 4620 mov r0, r4 - 8008c62: f001 fb1d bl 800a2a0 - 8008c66: 2800 cmp r0, #0 - 8008c68: d1f5 bne.n 8008c56 - 8008c6a: f001 f841 bl 8009cf0 - 8008c6e: b9b8 cbnz r0, 8008ca0 - 8008c70: 481b ldr r0, [pc, #108] ; (8008ce0 ) - 8008c72: f001 fb67 bl 800a344 - 8008c76: 4606 mov r6, r0 - 8008c78: 2800 cmp r0, #0 - 8008c7a: d1ec bne.n 8008c56 - 8008c7c: 697b ldr r3, [r7, #20] - 8008c7e: 4798 blx r3 - 8008c80: f003 fe06 bl 800c890 - 8008c84: 6dbb ldr r3, [r7, #88] ; 0x58 - 8008c86: f894 0119 ldrb.w r0, [r4, #281] ; 0x119 - 8008c8a: 4798 blx r3 - 8008c8c: 6afb ldr r3, [r7, #44] ; 0x2c - 8008c8e: 4798 blx r3 - 8008c90: 2301 movs r3, #1 - 8008c92: f885 3492 strb.w r3, [r5, #1170] ; 0x492 - 8008c96: e7df b.n 8008c58 - 8008c98: 2603 movs r6, #3 - 8008c9a: e7dd b.n 8008c58 - 8008c9c: 2609 movs r6, #9 - 8008c9e: e7db b.n 8008c58 - 8008ca0: 2613 movs r6, #19 - 8008ca2: e7d9 b.n 8008c58 - 8008ca4: 20000c00 .word 0x20000c00 - 8008ca8: 200011c8 .word 0x200011c8 - 8008cac: 01000400 .word 0x01000400 - 8008cb0: 200016e4 .word 0x200016e4 - 8008cb4: 08007fe1 .word 0x08007fe1 - 8008cb8: 08007841 .word 0x08007841 - 8008cbc: 08007889 .word 0x08007889 - 8008cc0: 08007069 .word 0x08007069 - 8008cc4: 200011c4 .word 0x200011c4 - 8008cc8: 080101cc .word 0x080101cc - 8008ccc: 0800728d .word 0x0800728d - 8008cd0: 08007241 .word 0x08007241 - 8008cd4: 08007025 .word 0x08007025 - 8008cd8: 08007219 .word 0x08007219 - 8008cdc: 080071f1 .word 0x080071f1 - 8008ce0: 20000ce8 .word 0x20000ce8 +080085a0 : + 80085a0: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 80085a4: 4689 mov r9, r1 + 80085a6: b08d sub sp, #52 ; 0x34 + 80085a8: 4690 mov r8, r2 + 80085aa: 4607 mov r7, r0 + 80085ac: 2800 cmp r0, #0 + 80085ae: f000 818f beq.w 80088d0 + 80085b2: 2900 cmp r1, #0 + 80085b4: f000 818c beq.w 80088d0 + 80085b8: 6803 ldr r3, [r0, #0] + 80085ba: 2b00 cmp r3, #0 + 80085bc: f000 8188 beq.w 80088d0 + 80085c0: 6843 ldr r3, [r0, #4] + 80085c2: 2b00 cmp r3, #0 + 80085c4: f000 8184 beq.w 80088d0 + 80085c8: 6883 ldr r3, [r0, #8] + 80085ca: 2b00 cmp r3, #0 + 80085cc: f000 8180 beq.w 80088d0 + 80085d0: 68c3 ldr r3, [r0, #12] + 80085d2: 2b00 cmp r3, #0 + 80085d4: f000 817c beq.w 80088d0 + 80085d8: 4610 mov r0, r2 + 80085da: f002 f807 bl 800a5ec + 80085de: 2800 cmp r0, #0 + 80085e0: f000 8178 beq.w 80088d4 + 80085e4: 4cbd ldr r4, [pc, #756] ; (80088dc ) + 80085e6: 4dbe ldr r5, [pc, #760] ; (80088e0 ) + 80085e8: 4638 mov r0, r7 + 80085ea: f001 fac1 bl 8009b70 + 80085ee: f240 52c4 movw r2, #1476 ; 0x5c4 + 80085f2: 2100 movs r1, #0 + 80085f4: 4620 mov r0, r4 + 80085f6: f003 ff9d bl 800c534 + 80085fa: f240 521c movw r2, #1308 ; 0x51c + 80085fe: 2100 movs r1, #0 + 8008600: 4628 mov r0, r5 + 8008602: f003 ff97 bl 800c534 + 8008606: 4bb7 ldr r3, [pc, #732] ; (80088e4 ) + 8008608: f8c4 312c str.w r3, [r4, #300] ; 0x12c + 800860c: f504 7309 add.w r3, r4, #548 ; 0x224 + 8008610: 9308 str r3, [sp, #32] + 8008612: f504 730a add.w r3, r4, #552 ; 0x228 + 8008616: 2600 movs r6, #0 + 8008618: 4640 mov r0, r8 + 800861a: 9309 str r3, [sp, #36] ; 0x24 + 800861c: a908 add r1, sp, #32 + 800861e: 4bb2 ldr r3, [pc, #712] ; (80088e8 ) + 8008620: f884 8048 strb.w r8, [r4, #72] ; 0x48 + 8008624: 930a str r3, [sp, #40] ; 0x28 + 8008626: f884 6118 strb.w r6, [r4, #280] ; 0x118 + 800862a: f884 608c strb.w r6, [r4, #140] ; 0x8c + 800862e: f88d 602c strb.w r6, [sp, #44] ; 0x2c + 8008632: f001 ffed bl 800a610 + 8008636: 230f movs r3, #15 + 8008638: a906 add r1, sp, #24 + 800863a: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 800863e: f88d 3018 strb.w r3, [sp, #24] + 8008642: f001 ffd7 bl 800a5f4 + 8008646: 1b80 subs r0, r0, r6 + 8008648: bf18 it ne + 800864a: 2001 movne r0, #1 + 800864c: f04f 0b0a mov.w fp, #10 + 8008650: f884 011c strb.w r0, [r4, #284] ; 0x11c + 8008654: a906 add r1, sp, #24 + 8008656: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 800865a: f88d b018 strb.w fp, [sp, #24] + 800865e: f001 ffc9 bl 800a5f4 + 8008662: f04f 0a06 mov.w sl, #6 + 8008666: f884 00dc strb.w r0, [r4, #220] ; 0xdc + 800866a: a906 add r1, sp, #24 + 800866c: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8008670: f88d a018 strb.w sl, [sp, #24] + 8008674: f001 ffbe bl 800a5f4 + 8008678: 2310 movs r3, #16 + 800867a: f884 00dd strb.w r0, [r4, #221] ; 0xdd + 800867e: a906 add r1, sp, #24 + 8008680: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8008684: f88d 3018 strb.w r3, [sp, #24] + 8008688: f001 ffb4 bl 800a5f4 + 800868c: 2311 movs r3, #17 + 800868e: f8c4 009c str.w r0, [r4, #156] ; 0x9c + 8008692: a906 add r1, sp, #24 + 8008694: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8008698: f88d 3018 strb.w r3, [sp, #24] + 800869c: f001 ffaa bl 800a5f4 + 80086a0: 2312 movs r3, #18 + 80086a2: f8c4 00a0 str.w r0, [r4, #160] ; 0xa0 + 80086a6: a906 add r1, sp, #24 + 80086a8: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 80086ac: f88d 3018 strb.w r3, [sp, #24] + 80086b0: f001 ffa0 bl 800a5f4 + 80086b4: 2313 movs r3, #19 + 80086b6: f8c4 00a4 str.w r0, [r4, #164] ; 0xa4 + 80086ba: a906 add r1, sp, #24 + 80086bc: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 80086c0: f88d 3018 strb.w r3, [sp, #24] + 80086c4: f001 ff96 bl 800a5f4 + 80086c8: 2314 movs r3, #20 + 80086ca: f8c4 00a8 str.w r0, [r4, #168] ; 0xa8 + 80086ce: a906 add r1, sp, #24 + 80086d0: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 80086d4: f88d 3018 strb.w r3, [sp, #24] + 80086d8: f001 ff8c bl 800a5f4 + 80086dc: 2316 movs r3, #22 + 80086de: f8c4 00ac str.w r0, [r4, #172] ; 0xac + 80086e2: a906 add r1, sp, #24 + 80086e4: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 80086e8: f88d 3018 strb.w r3, [sp, #24] + 80086ec: f001 ff82 bl 800a5f4 + 80086f0: 2317 movs r3, #23 + 80086f2: f884 00b1 strb.w r0, [r4, #177] ; 0xb1 + 80086f6: a906 add r1, sp, #24 + 80086f8: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 80086fc: f88d 3018 strb.w r3, [sp, #24] + 8008700: f001 ff78 bl 800a5f4 + 8008704: 2318 movs r3, #24 + 8008706: eb0d 0103 add.w r1, sp, r3 + 800870a: f8c4 00b4 str.w r0, [r4, #180] ; 0xb4 + 800870e: f8c4 00bc str.w r0, [r4, #188] ; 0xbc + 8008712: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8008716: f88d 3018 strb.w r3, [sp, #24] + 800871a: f001 ff6b bl 800a5f4 + 800871e: b2c0 uxtb r0, r0 + 8008720: 231d movs r3, #29 + 8008722: f884 00b8 strb.w r0, [r4, #184] ; 0xb8 + 8008726: f884 00c0 strb.w r0, [r4, #192] ; 0xc0 + 800872a: a906 add r1, sp, #24 + 800872c: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8008730: f88d 3018 strb.w r3, [sp, #24] + 8008734: f001 ff5e bl 800a5f4 + 8008738: 231e movs r3, #30 + 800873a: f884 00c4 strb.w r0, [r4, #196] ; 0xc4 + 800873e: a906 add r1, sp, #24 + 8008740: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8008744: f88d 3018 strb.w r3, [sp, #24] + 8008748: f001 ff54 bl 800a5f4 + 800874c: 231f movs r3, #31 + 800874e: f884 00c5 strb.w r0, [r4, #197] ; 0xc5 + 8008752: a906 add r1, sp, #24 + 8008754: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8008758: f88d 3018 strb.w r3, [sp, #24] + 800875c: f001 ff4a bl 800a5f4 + 8008760: 2320 movs r3, #32 + 8008762: f8c4 00c8 str.w r0, [r4, #200] ; 0xc8 + 8008766: a906 add r1, sp, #24 + 8008768: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 800876c: f88d 3018 strb.w r3, [sp, #24] + 8008770: f001 ff40 bl 800a5f4 + 8008774: 230b movs r3, #11 + 8008776: f8c4 00cc str.w r0, [r4, #204] ; 0xcc + 800877a: a906 add r1, sp, #24 + 800877c: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8008780: f88d 3018 strb.w r3, [sp, #24] + 8008784: f001 ff36 bl 800a5f4 + 8008788: 230c movs r3, #12 + 800878a: a906 add r1, sp, #24 + 800878c: f8a4 00d0 strh.w r0, [r4, #208] ; 0xd0 + 8008790: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8008794: f88d 3018 strb.w r3, [sp, #24] + 8008798: f001 ff2c bl 800a5f4 + 800879c: f8d4 309c ldr.w r3, [r4, #156] ; 0x9c + 80087a0: 6563 str r3, [r4, #84] ; 0x54 + 80087a2: f8d4 30a0 ldr.w r3, [r4, #160] ; 0xa0 + 80087a6: 65a3 str r3, [r4, #88] ; 0x58 + 80087a8: f8d4 30a4 ldr.w r3, [r4, #164] ; 0xa4 + 80087ac: 65e3 str r3, [r4, #92] ; 0x5c + 80087ae: f8d4 30a8 ldr.w r3, [r4, #168] ; 0xa8 + 80087b2: 6623 str r3, [r4, #96] ; 0x60 + 80087b4: f04f 0801 mov.w r8, #1 + 80087b8: f8d4 30ac ldr.w r3, [r4, #172] ; 0xac + 80087bc: 9005 str r0, [sp, #20] + 80087be: f8a4 00d2 strh.w r0, [r4, #210] ; 0xd2 + 80087c2: 6663 str r3, [r4, #100] ; 0x64 + 80087c4: f884 80b0 strb.w r8, [r4, #176] ; 0xb0 + 80087c8: f8c4 b094 str.w fp, [r4, #148] ; 0x94 + 80087cc: f884 a098 strb.w sl, [r4, #152] ; 0x98 + 80087d0: f8c4 b04c str.w fp, [r4, #76] ; 0x4c + 80087d4: f884 a050 strb.w sl, [r4, #80] ; 0x50 + 80087d8: f884 8068 strb.w r8, [r4, #104] ; 0x68 + 80087dc: f884 811f strb.w r8, [r4, #287] ; 0x11f + 80087e0: f8c5 9348 str.w r9, [r5, #840] ; 0x348 + 80087e4: f7fe fd7a bl 80072dc + 80087e8: 4b40 ldr r3, [pc, #256] ; (80088ec ) + 80087ea: 9600 str r6, [sp, #0] + 80087ec: 4632 mov r2, r6 + 80087ee: f04f 31ff mov.w r1, #4294967295 + 80087f2: f505 705a add.w r0, r5, #872 ; 0x368 + 80087f6: f8c5 7344 str.w r7, [r5, #836] ; 0x344 + 80087fa: e9c4 660b strd r6, r6, [r4, #44] ; 0x2c + 80087fe: f884 8119 strb.w r8, [r4, #281] ; 0x119 + 8008802: f885 6491 strb.w r6, [r5, #1169] ; 0x491 + 8008806: f8c5 8340 str.w r8, [r5, #832] ; 0x340 + 800880a: f006 f945 bl 800ea98 + 800880e: 4b38 ldr r3, [pc, #224] ; (80088f0 ) + 8008810: 9600 str r6, [sp, #0] + 8008812: 4632 mov r2, r6 + 8008814: f04f 31ff mov.w r1, #4294967295 + 8008818: f505 7060 add.w r0, r5, #896 ; 0x380 + 800881c: f006 f93c bl 800ea98 + 8008820: 4b34 ldr r3, [pc, #208] ; (80088f4 ) + 8008822: 9600 str r6, [sp, #0] + 8008824: 4632 mov r2, r6 + 8008826: f04f 31ff mov.w r1, #4294967295 + 800882a: f505 7066 add.w r0, r5, #920 ; 0x398 + 800882e: f006 f933 bl 800ea98 + 8008832: af02 add r7, sp, #8 + 8008834: 4b30 ldr r3, [pc, #192] ; (80088f8 ) + 8008836: 9600 str r6, [sp, #0] + 8008838: 4632 mov r2, r6 + 800883a: f04f 31ff mov.w r1, #4294967295 + 800883e: f505 6080 add.w r0, r5, #1024 ; 0x400 + 8008842: f006 f929 bl 800ea98 + 8008846: 4638 mov r0, r7 + 8008848: f006 f8ba bl 800e9c0 + 800884c: e897 0003 ldmia.w r7, {r0, r1} + 8008850: f504 7392 add.w r3, r4, #292 ; 0x124 + 8008854: e883 0003 stmia.w r3, {r0, r1} + 8008858: 4b28 ldr r3, [pc, #160] ; (80088fc ) + 800885a: 4f29 ldr r7, [pc, #164] ; (8008900 ) + 800885c: 601e str r6, [r3, #0] + 800885e: 4b29 ldr r3, [pc, #164] ; (8008904 ) + 8008860: f8c5 334c str.w r3, [r5, #844] ; 0x34c + 8008864: 4b28 ldr r3, [pc, #160] ; (8008908 ) + 8008866: f8c5 3354 str.w r3, [r5, #852] ; 0x354 + 800886a: 4b28 ldr r3, [pc, #160] ; (800890c ) + 800886c: f8c5 335c str.w r3, [r5, #860] ; 0x35c + 8008870: 4b27 ldr r3, [pc, #156] ; (8008910 ) + 8008872: f8c5 3350 str.w r3, [r5, #848] ; 0x350 + 8008876: 4b27 ldr r3, [pc, #156] ; (8008914 ) + 8008878: f8c5 3358 str.w r3, [r5, #856] ; 0x358 + 800887c: f505 7053 add.w r0, r5, #844 ; 0x34c + 8008880: 683b ldr r3, [r7, #0] + 8008882: 4798 blx r3 + 8008884: f504 70a6 add.w r0, r4, #332 ; 0x14c + 8008888: f003 fb88 bl 800bf9c + 800888c: b120 cbz r0, 8008898 + 800888e: 2611 movs r6, #17 + 8008890: 4630 mov r0, r6 + 8008892: b00d add sp, #52 ; 0x34 + 8008894: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8008898: 4620 mov r0, r4 + 800889a: f001 fb1d bl 8009ed8 + 800889e: 2800 cmp r0, #0 + 80088a0: d1f5 bne.n 800888e + 80088a2: f001 f841 bl 8009928 + 80088a6: b9b8 cbnz r0, 80088d8 + 80088a8: 481b ldr r0, [pc, #108] ; (8008918 ) + 80088aa: f001 fb67 bl 8009f7c + 80088ae: 4606 mov r6, r0 + 80088b0: 2800 cmp r0, #0 + 80088b2: d1ec bne.n 800888e + 80088b4: 697b ldr r3, [r7, #20] + 80088b6: 4798 blx r3 + 80088b8: f003 fe06 bl 800c4c8 + 80088bc: 6dbb ldr r3, [r7, #88] ; 0x58 + 80088be: f894 0119 ldrb.w r0, [r4, #281] ; 0x119 + 80088c2: 4798 blx r3 + 80088c4: 6afb ldr r3, [r7, #44] ; 0x2c + 80088c6: 4798 blx r3 + 80088c8: 2301 movs r3, #1 + 80088ca: f885 3492 strb.w r3, [r5, #1170] ; 0x492 + 80088ce: e7df b.n 8008890 + 80088d0: 2603 movs r6, #3 + 80088d2: e7dd b.n 8008890 + 80088d4: 2609 movs r6, #9 + 80088d6: e7db b.n 8008890 + 80088d8: 2613 movs r6, #19 + 80088da: e7d9 b.n 8008890 + 80088dc: 20000c00 .word 0x20000c00 + 80088e0: 200011c8 .word 0x200011c8 + 80088e4: 01000400 .word 0x01000400 + 80088e8: 200016e4 .word 0x200016e4 + 80088ec: 08007c19 .word 0x08007c19 + 80088f0: 08007479 .word 0x08007479 + 80088f4: 080074c1 .word 0x080074c1 + 80088f8: 08006ca1 .word 0x08006ca1 + 80088fc: 200011c4 .word 0x200011c4 + 8008900: 0800fa0c .word 0x0800fa0c + 8008904: 08006ec5 .word 0x08006ec5 + 8008908: 08006e79 .word 0x08006e79 + 800890c: 08006c5d .word 0x08006c5d + 8008910: 08006e51 .word 0x08006e51 + 8008914: 08006e29 .word 0x08006e29 + 8008918: 20000ce8 .word 0x20000ce8 -08008ce4 : - 8008ce4: b508 push {r3, lr} - 8008ce6: 4b03 ldr r3, [pc, #12] ; (8008cf4 ) - 8008ce8: 2000 movs r0, #0 - 8008cea: f8c3 0340 str.w r0, [r3, #832] ; 0x340 - 8008cee: f7fe f981 bl 8006ff4 - 8008cf2: bd08 pop {r3, pc} - 8008cf4: 200011c8 .word 0x200011c8 +0800891c : + 800891c: b508 push {r3, lr} + 800891e: 4b03 ldr r3, [pc, #12] ; (800892c ) + 8008920: 2000 movs r0, #0 + 8008922: f8c3 0340 str.w r0, [r3, #832] ; 0x340 + 8008926: f7fe f981 bl 8006c2c + 800892a: bd08 pop {r3, pc} + 800892c: 200011c8 .word 0x200011c8 -08008cf8 : - 8008cf8: b510 push {r4, lr} - 8008cfa: f7ff f9a7 bl 800804c - 8008cfe: 4c0a ldr r4, [pc, #40] ; (8008d28 ) - 8008d00: b960 cbnz r0, 8008d1c - 8008d02: 4b0a ldr r3, [pc, #40] ; (8008d2c ) - 8008d04: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 - 8008d08: 2b02 cmp r3, #2 - 8008d0a: d102 bne.n 8008d12 - 8008d0c: 4b08 ldr r3, [pc, #32] ; (8008d30 ) - 8008d0e: 6adb ldr r3, [r3, #44] ; 0x2c - 8008d10: 4798 blx r3 - 8008d12: 2301 movs r3, #1 - 8008d14: f8c4 3340 str.w r3, [r4, #832] ; 0x340 - 8008d18: 2000 movs r0, #0 - 8008d1a: bd10 pop {r4, pc} - 8008d1c: f8d4 0340 ldr.w r0, [r4, #832] ; 0x340 - 8008d20: 3801 subs r0, #1 - 8008d22: bf18 it ne - 8008d24: 2001 movne r0, #1 - 8008d26: e7f8 b.n 8008d1a - 8008d28: 200011c8 .word 0x200011c8 - 8008d2c: 20000c00 .word 0x20000c00 - 8008d30: 080101cc .word 0x080101cc +08008930 : + 8008930: b510 push {r4, lr} + 8008932: f7ff f9a7 bl 8007c84 + 8008936: 4c0a ldr r4, [pc, #40] ; (8008960 ) + 8008938: b960 cbnz r0, 8008954 + 800893a: 4b0a ldr r3, [pc, #40] ; (8008964 ) + 800893c: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 + 8008940: 2b02 cmp r3, #2 + 8008942: d102 bne.n 800894a + 8008944: 4b08 ldr r3, [pc, #32] ; (8008968 ) + 8008946: 6adb ldr r3, [r3, #44] ; 0x2c + 8008948: 4798 blx r3 + 800894a: 2301 movs r3, #1 + 800894c: f8c4 3340 str.w r3, [r4, #832] ; 0x340 + 8008950: 2000 movs r0, #0 + 8008952: bd10 pop {r4, pc} + 8008954: f8d4 0340 ldr.w r0, [r4, #832] ; 0x340 + 8008958: 3801 subs r0, #1 + 800895a: bf18 it ne + 800895c: 2001 movne r0, #1 + 800895e: e7f8 b.n 8008952 + 8008960: 200011c8 .word 0x200011c8 + 8008964: 20000c00 .word 0x20000c00 + 8008968: 0800fa0c .word 0x0800fa0c -08008d34 : - 8008d34: b538 push {r3, r4, r5, lr} - 8008d36: 4c13 ldr r4, [pc, #76] ; (8008d84 ) - 8008d38: f504 705a add.w r0, r4, #872 ; 0x368 - 8008d3c: f006 f8ee bl 800ef1c - 8008d40: f504 7060 add.w r0, r4, #896 ; 0x380 - 8008d44: f006 f8ea bl 800ef1c - 8008d48: f504 7066 add.w r0, r4, #920 ; 0x398 - 8008d4c: f006 f8e6 bl 800ef1c - 8008d50: f504 6080 add.w r0, r4, #1024 ; 0x400 - 8008d54: f006 f8e2 bl 800ef1c - 8008d58: f000 ffb5 bl 8009cc6 - 8008d5c: 4b0a ldr r3, [pc, #40] ; (8008d88 ) - 8008d5e: 2500 movs r5, #0 - 8008d60: 6adb ldr r3, [r3, #44] ; 0x2c - 8008d62: 4798 blx r3 - 8008d64: f8c4 5340 str.w r5, [r4, #832] ; 0x340 - 8008d68: f7fe fdb6 bl 80078d8 - 8008d6c: 4907 ldr r1, [pc, #28] ; (8008d8c ) - 8008d6e: 4808 ldr r0, [pc, #32] ; (8008d90 ) - 8008d70: f240 52c4 movw r2, #1476 ; 0x5c4 - 8008d74: f003 fdae bl 800c8d4 - 8008d78: 2301 movs r3, #1 - 8008d7a: f8c4 3340 str.w r3, [r4, #832] ; 0x340 - 8008d7e: 4628 mov r0, r5 - 8008d80: bd38 pop {r3, r4, r5, pc} - 8008d82: bf00 nop - 8008d84: 200011c8 .word 0x200011c8 - 8008d88: 080101cc .word 0x080101cc - 8008d8c: 20000c00 .word 0x20000c00 - 8008d90: 2000063c .word 0x2000063c +0800896c : + 800896c: b538 push {r3, r4, r5, lr} + 800896e: 4c13 ldr r4, [pc, #76] ; (80089bc ) + 8008970: f504 705a add.w r0, r4, #872 ; 0x368 + 8008974: f006 f8ee bl 800eb54 + 8008978: f504 7060 add.w r0, r4, #896 ; 0x380 + 800897c: f006 f8ea bl 800eb54 + 8008980: f504 7066 add.w r0, r4, #920 ; 0x398 + 8008984: f006 f8e6 bl 800eb54 + 8008988: f504 6080 add.w r0, r4, #1024 ; 0x400 + 800898c: f006 f8e2 bl 800eb54 + 8008990: f000 ffb5 bl 80098fe + 8008994: 4b0a ldr r3, [pc, #40] ; (80089c0 ) + 8008996: 2500 movs r5, #0 + 8008998: 6adb ldr r3, [r3, #44] ; 0x2c + 800899a: 4798 blx r3 + 800899c: f8c4 5340 str.w r5, [r4, #832] ; 0x340 + 80089a0: f7fe fdb6 bl 8007510 + 80089a4: 4907 ldr r1, [pc, #28] ; (80089c4 ) + 80089a6: 4808 ldr r0, [pc, #32] ; (80089c8 ) + 80089a8: f240 52c4 movw r2, #1476 ; 0x5c4 + 80089ac: f003 fdae bl 800c50c + 80089b0: 2301 movs r3, #1 + 80089b2: f8c4 3340 str.w r3, [r4, #832] ; 0x340 + 80089b6: 4628 mov r0, r5 + 80089b8: bd38 pop {r3, r4, r5, pc} + 80089ba: bf00 nop + 80089bc: 200011c8 .word 0x200011c8 + 80089c0: 0800fa0c .word 0x0800fa0c + 80089c4: 20000c00 .word 0x20000c00 + 80089c8: 2000063c .word 0x2000063c -08008d94 : - 8008d94: b570 push {r4, r5, r6, lr} - 8008d96: 4b2e ldr r3, [pc, #184] ; (8008e50 ) - 8008d98: b08a sub sp, #40 ; 0x28 - 8008d9a: 4605 mov r5, r0 - 8008d9c: f893 00dd ldrb.w r0, [r3, #221] ; 0xdd - 8008da0: f88d 0009 strb.w r0, [sp, #9] - 8008da4: f893 00dc ldrb.w r0, [r3, #220] ; 0xdc - 8008da8: f88d 000a strb.w r0, [sp, #10] - 8008dac: 4829 ldr r0, [pc, #164] ; (8008e54 ) - 8008dae: 6a9a ldr r2, [r3, #40] ; 0x28 - 8008db0: f890 0418 ldrb.w r0, [r0, #1048] ; 0x418 - 8008db4: 9203 str r2, [sp, #12] - 8008db6: 2600 movs r6, #0 - 8008db8: f88d 000b strb.w r0, [sp, #11] - 8008dbc: 9604 str r6, [sp, #16] - 8008dbe: 460c mov r4, r1 - 8008dc0: 2900 cmp r1, #0 - 8008dc2: d040 beq.n 8008e46 - 8008dc4: 9206 str r2, [sp, #24] - 8008dc6: f8d3 2088 ldr.w r2, [r3, #136] ; 0x88 - 8008dca: 9207 str r2, [sp, #28] - 8008dcc: 8f1a ldrh r2, [r3, #56] ; 0x38 - 8008dce: f893 111a ldrb.w r1, [r3, #282] ; 0x11a - 8008dd2: f88d 1015 strb.w r1, [sp, #21] - 8008dd6: ba52 rev16 r2, r2 - 8008dd8: f8ad 2020 strh.w r2, [sp, #32] - 8008ddc: f893 207c ldrb.w r2, [r3, #124] ; 0x7c - 8008de0: f893 3048 ldrb.w r3, [r3, #72] ; 0x48 - 8008de4: f88d 3024 strb.w r3, [sp, #36] ; 0x24 - 8008de8: ab03 add r3, sp, #12 - 8008dea: f88d 0022 strb.w r0, [sp, #34] ; 0x22 - 8008dee: f88d 2023 strb.w r2, [sp, #35] ; 0x23 - 8008df2: 9300 str r3, [sp, #0] - 8008df4: f10d 020a add.w r2, sp, #10 - 8008df8: f10d 030b add.w r3, sp, #11 - 8008dfc: f10d 0109 add.w r1, sp, #9 - 8008e00: a805 add r0, sp, #20 - 8008e02: f88d 6014 strb.w r6, [sp, #20] - 8008e06: f000 fedd bl 8009bc4 - 8008e0a: f99d 0009 ldrsb.w r0, [sp, #9] - 8008e0e: f7fe f913 bl 8007038 - 8008e12: 7060 strb r0, [r4, #1] - 8008e14: a804 add r0, sp, #16 - 8008e16: f001 f82b bl 8009e70 - 8008e1a: b9b0 cbnz r0, 8008e4a - 8008e1c: 9a04 ldr r2, [sp, #16] - 8008e1e: 2a0f cmp r2, #15 - 8008e20: d80d bhi.n 8008e3e - 8008e22: 7863 ldrb r3, [r4, #1] - 8008e24: 429a cmp r2, r3 - 8008e26: d80a bhi.n 8008e3e - 8008e28: 4415 add r5, r2 - 8008e2a: 42ab cmp r3, r5 - 8008e2c: eba3 0102 sub.w r1, r3, r2 - 8008e30: bf2c ite cs - 8008e32: 2000 movcs r0, #0 - 8008e34: 2001 movcc r0, #1 - 8008e36: 7021 strb r1, [r4, #0] - 8008e38: 00c0 lsls r0, r0, #3 - 8008e3a: b00a add sp, #40 ; 0x28 - 8008e3c: bd70 pop {r4, r5, r6, pc} - 8008e3e: 2300 movs r3, #0 - 8008e40: 7023 strb r3, [r4, #0] - 8008e42: 2008 movs r0, #8 - 8008e44: e7f9 b.n 8008e3a - 8008e46: 2003 movs r0, #3 - 8008e48: e7f7 b.n 8008e3a - 8008e4a: 2013 movs r0, #19 - 8008e4c: e7f5 b.n 8008e3a - 8008e4e: bf00 nop - 8008e50: 20000c00 .word 0x20000c00 - 8008e54: 200011c8 .word 0x200011c8 +080089cc : + 80089cc: b570 push {r4, r5, r6, lr} + 80089ce: 4b2e ldr r3, [pc, #184] ; (8008a88 ) + 80089d0: b08a sub sp, #40 ; 0x28 + 80089d2: 4605 mov r5, r0 + 80089d4: f893 00dd ldrb.w r0, [r3, #221] ; 0xdd + 80089d8: f88d 0009 strb.w r0, [sp, #9] + 80089dc: f893 00dc ldrb.w r0, [r3, #220] ; 0xdc + 80089e0: f88d 000a strb.w r0, [sp, #10] + 80089e4: 4829 ldr r0, [pc, #164] ; (8008a8c ) + 80089e6: 6a9a ldr r2, [r3, #40] ; 0x28 + 80089e8: f890 0418 ldrb.w r0, [r0, #1048] ; 0x418 + 80089ec: 9203 str r2, [sp, #12] + 80089ee: 2600 movs r6, #0 + 80089f0: f88d 000b strb.w r0, [sp, #11] + 80089f4: 9604 str r6, [sp, #16] + 80089f6: 460c mov r4, r1 + 80089f8: 2900 cmp r1, #0 + 80089fa: d040 beq.n 8008a7e + 80089fc: 9206 str r2, [sp, #24] + 80089fe: f8d3 2088 ldr.w r2, [r3, #136] ; 0x88 + 8008a02: 9207 str r2, [sp, #28] + 8008a04: 8f1a ldrh r2, [r3, #56] ; 0x38 + 8008a06: f893 111a ldrb.w r1, [r3, #282] ; 0x11a + 8008a0a: f88d 1015 strb.w r1, [sp, #21] + 8008a0e: ba52 rev16 r2, r2 + 8008a10: f8ad 2020 strh.w r2, [sp, #32] + 8008a14: f893 207c ldrb.w r2, [r3, #124] ; 0x7c + 8008a18: f893 3048 ldrb.w r3, [r3, #72] ; 0x48 + 8008a1c: f88d 3024 strb.w r3, [sp, #36] ; 0x24 + 8008a20: ab03 add r3, sp, #12 + 8008a22: f88d 0022 strb.w r0, [sp, #34] ; 0x22 + 8008a26: f88d 2023 strb.w r2, [sp, #35] ; 0x23 + 8008a2a: 9300 str r3, [sp, #0] + 8008a2c: f10d 020a add.w r2, sp, #10 + 8008a30: f10d 030b add.w r3, sp, #11 + 8008a34: f10d 0109 add.w r1, sp, #9 + 8008a38: a805 add r0, sp, #20 + 8008a3a: f88d 6014 strb.w r6, [sp, #20] + 8008a3e: f000 fedd bl 80097fc + 8008a42: f99d 0009 ldrsb.w r0, [sp, #9] + 8008a46: f7fe f913 bl 8006c70 + 8008a4a: 7060 strb r0, [r4, #1] + 8008a4c: a804 add r0, sp, #16 + 8008a4e: f001 f82b bl 8009aa8 + 8008a52: b9b0 cbnz r0, 8008a82 + 8008a54: 9a04 ldr r2, [sp, #16] + 8008a56: 2a0f cmp r2, #15 + 8008a58: d80d bhi.n 8008a76 + 8008a5a: 7863 ldrb r3, [r4, #1] + 8008a5c: 429a cmp r2, r3 + 8008a5e: d80a bhi.n 8008a76 + 8008a60: 4415 add r5, r2 + 8008a62: 42ab cmp r3, r5 + 8008a64: eba3 0102 sub.w r1, r3, r2 + 8008a68: bf2c ite cs + 8008a6a: 2000 movcs r0, #0 + 8008a6c: 2001 movcc r0, #1 + 8008a6e: 7021 strb r1, [r4, #0] + 8008a70: 00c0 lsls r0, r0, #3 + 8008a72: b00a add sp, #40 ; 0x28 + 8008a74: bd70 pop {r4, r5, r6, pc} + 8008a76: 2300 movs r3, #0 + 8008a78: 7023 strb r3, [r4, #0] + 8008a7a: 2008 movs r0, #8 + 8008a7c: e7f9 b.n 8008a72 + 8008a7e: 2003 movs r0, #3 + 8008a80: e7f7 b.n 8008a72 + 8008a82: 2013 movs r0, #19 + 8008a84: e7f5 b.n 8008a72 + 8008a86: bf00 nop + 8008a88: 20000c00 .word 0x20000c00 + 8008a8c: 200011c8 .word 0x200011c8 -08008e58 : - 8008e58: b51f push {r0, r1, r2, r3, r4, lr} - 8008e5a: 4604 mov r4, r0 - 8008e5c: 2800 cmp r0, #0 - 8008e5e: f000 8112 beq.w 8009086 - 8008e62: 7800 ldrb r0, [r0, #0] - 8008e64: 2841 cmp r0, #65 ; 0x41 - 8008e66: f200 8108 bhi.w 800907a - 8008e6a: e8df f010 tbh [pc, r0, lsl #1] - 8008e6e: 0042 .short 0x0042 - 8008e70: 004d0048 .word 0x004d0048 - 8008e74: 00560052 .word 0x00560052 - 8008e78: 005f005a .word 0x005f005a - 8008e7c: 01060106 .word 0x01060106 - 8008e80: 01060106 .word 0x01060106 - 8008e84: 01060106 .word 0x01060106 - 8008e88: 01060106 .word 0x01060106 - 8008e8c: 006a0066 .word 0x006a0066 - 8008e90: 0079006e .word 0x0079006e - 8008e94: 00830080 .word 0x00830080 - 8008e98: 008b0086 .word 0x008b0086 - 8008e9c: 008d0089 .word 0x008d0089 - 8008ea0: 00940091 .word 0x00940091 - 8008ea4: 009a0097 .word 0x009a0097 - 8008ea8: 00a0009d .word 0x00a0009d - 8008eac: 00b300af .word 0x00b300af - 8008eb0: 00b700bb .word 0x00b700bb - 8008eb4: 00c200bf .word 0x00c200bf - 8008eb8: 00cf00c6 .word 0x00cf00c6 - 8008ebc: 00cd00cb .word 0x00cd00cb - 8008ec0: 00d30106 .word 0x00d30106 - 8008ec4: 01060106 .word 0x01060106 - 8008ec8: 01060106 .word 0x01060106 - 8008ecc: 01060106 .word 0x01060106 - 8008ed0: 01060106 .word 0x01060106 - 8008ed4: 01060106 .word 0x01060106 - 8008ed8: 01060106 .word 0x01060106 - 8008edc: 01060106 .word 0x01060106 - 8008ee0: 00db0106 .word 0x00db0106 - 8008ee4: 00e300df .word 0x00e300df - 8008ee8: 00ec00e8 .word 0x00ec00e8 - 8008eec: 00f400f0 .word 0x00f400f0 - 8008ef0: 00fd .short 0x00fd - 8008ef2: 4b67 ldr r3, [pc, #412] ; (8009090 ) - 8008ef4: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 - 8008ef8: 7123 strb r3, [r4, #4] - 8008efa: b004 add sp, #16 - 8008efc: bd10 pop {r4, pc} - 8008efe: 4b64 ldr r3, [pc, #400] ; (8009090 ) - 8008f00: f893 3130 ldrb.w r3, [r3, #304] ; 0x130 - 8008f04: 7123 strb r3, [r4, #4] - 8008f06: e002 b.n 8008f0e - 8008f08: 6860 ldr r0, [r4, #4] - 8008f0a: f003 fbc7 bl 800c69c - 8008f0e: 2000 movs r0, #0 - 8008f10: e7f3 b.n 8008efa - 8008f12: 6860 ldr r0, [r4, #4] - 8008f14: f003 fc08 bl 800c728 - 8008f18: e7f9 b.n 8008f0e - 8008f1a: 4b5d ldr r3, [pc, #372] ; (8009090 ) - 8008f1c: f893 311a ldrb.w r3, [r3, #282] ; 0x11a - 8008f20: e7f0 b.n 8008f04 - 8008f22: 4b5b ldr r3, [pc, #364] ; (8009090 ) - 8008f24: f8d3 30e0 ldr.w r3, [r3, #224] ; 0xe0 - 8008f28: 6063 str r3, [r4, #4] - 8008f2a: e7f0 b.n 8008f0e - 8008f2c: 4b58 ldr r3, [pc, #352] ; (8009090 ) - 8008f2e: 1d21 adds r1, r4, #4 - 8008f30: f893 0130 ldrb.w r0, [r3, #304] ; 0x130 - 8008f34: f003 fc10 bl 800c758 - 8008f38: e7e9 b.n 8008f0e - 8008f3a: 4b55 ldr r3, [pc, #340] ; (8009090 ) - 8008f3c: f893 3119 ldrb.w r3, [r3, #281] ; 0x119 - 8008f40: e7e0 b.n 8008f04 - 8008f42: 4b53 ldr r3, [pc, #332] ; (8009090 ) - 8008f44: f893 308c ldrb.w r3, [r3, #140] ; 0x8c - 8008f48: e7dc b.n 8008f04 - 8008f4a: 231c movs r3, #28 - 8008f4c: f88d 3008 strb.w r3, [sp, #8] - 8008f50: 4b4f ldr r3, [pc, #316] ; (8009090 ) - 8008f52: a902 add r1, sp, #8 - 8008f54: f893 0048 ldrb.w r0, [r3, #72] ; 0x48 - 8008f58: f001 fd30 bl 800a9bc - 8008f5c: 6060 str r0, [r4, #4] - 8008f5e: e7d6 b.n 8008f0e - 8008f60: 4b4c ldr r3, [pc, #304] ; (8009094 ) - 8008f62: 3404 adds r4, #4 - 8008f64: e893 0003 ldmia.w r3, {r0, r1} - 8008f68: e884 0003 stmia.w r4, {r0, r1} - 8008f6c: e7cf b.n 8008f0e - 8008f6e: 4b4a ldr r3, [pc, #296] ; (8009098 ) - 8008f70: 3404 adds r4, #4 - 8008f72: e7f7 b.n 8008f64 - 8008f74: 4b49 ldr r3, [pc, #292] ; (800909c ) - 8008f76: 3404 adds r4, #4 - 8008f78: e7f4 b.n 8008f64 - 8008f7a: 4b49 ldr r3, [pc, #292] ; (80090a0 ) - 8008f7c: 3404 adds r4, #4 - 8008f7e: e7f1 b.n 8008f64 - 8008f80: 231a movs r3, #26 - 8008f82: e7e3 b.n 8008f4c - 8008f84: 2319 movs r3, #25 - 8008f86: e7e1 b.n 8008f4c - 8008f88: 4b41 ldr r3, [pc, #260] ; (8009090 ) - 8008f8a: f893 3068 ldrb.w r3, [r3, #104] ; 0x68 - 8008f8e: e7b9 b.n 8008f04 - 8008f90: 4b3f ldr r3, [pc, #252] ; (8009090 ) - 8008f92: 6d5b ldr r3, [r3, #84] ; 0x54 - 8008f94: e7c8 b.n 8008f28 - 8008f96: 4b3e ldr r3, [pc, #248] ; (8009090 ) - 8008f98: 6d9b ldr r3, [r3, #88] ; 0x58 - 8008f9a: e7c5 b.n 8008f28 - 8008f9c: 4b3c ldr r3, [pc, #240] ; (8009090 ) - 8008f9e: 6ddb ldr r3, [r3, #92] ; 0x5c - 8008fa0: e7c2 b.n 8008f28 - 8008fa2: 4b3b ldr r3, [pc, #236] ; (8009090 ) - 8008fa4: 6e1b ldr r3, [r3, #96] ; 0x60 - 8008fa6: e7bf b.n 8008f28 - 8008fa8: 4b39 ldr r3, [pc, #228] ; (8009090 ) - 8008faa: 6e5b ldr r3, [r3, #100] ; 0x64 - 8008fac: e7bc b.n 8008f28 - 8008fae: 2302 movs r3, #2 - 8008fb0: f88d 3008 strb.w r3, [sp, #8] - 8008fb4: 4b36 ldr r3, [pc, #216] ; (8009090 ) - 8008fb6: a902 add r1, sp, #8 - 8008fb8: f893 207c ldrb.w r2, [r3, #124] ; 0x7c - 8008fbc: f893 0048 ldrb.w r0, [r3, #72] ; 0x48 - 8008fc0: f88d 200a strb.w r2, [sp, #10] - 8008fc4: f001 fcfa bl 800a9bc - 8008fc8: 7120 strb r0, [r4, #4] - 8008fca: e7a0 b.n 8008f0e - 8008fcc: 4b30 ldr r3, [pc, #192] ; (8009090 ) - 8008fce: f893 30dd ldrb.w r3, [r3, #221] ; 0xdd - 8008fd2: e797 b.n 8008f04 - 8008fd4: 4b2e ldr r3, [pc, #184] ; (8009090 ) - 8008fd6: f893 3039 ldrb.w r3, [r3, #57] ; 0x39 - 8008fda: e793 b.n 8008f04 - 8008fdc: 4b2c ldr r3, [pc, #176] ; (8009090 ) - 8008fde: f893 30dc ldrb.w r3, [r3, #220] ; 0xdc - 8008fe2: e78f b.n 8008f04 - 8008fe4: 4b2a ldr r3, [pc, #168] ; (8009090 ) - 8008fe6: f893 3038 ldrb.w r3, [r3, #56] ; 0x38 - 8008fea: e78b b.n 8008f04 - 8008fec: 4b28 ldr r3, [pc, #160] ; (8009090 ) - 8008fee: 6cdb ldr r3, [r3, #76] ; 0x4c - 8008ff0: e79a b.n 8008f28 - 8008ff2: 4b27 ldr r3, [pc, #156] ; (8009090 ) - 8008ff4: f893 3050 ldrb.w r3, [r3, #80] ; 0x50 - 8008ff8: e784 b.n 8008f04 - 8008ffa: 4b25 ldr r3, [pc, #148] ; (8009090 ) - 8008ffc: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84 - 8009000: 6063 str r3, [r4, #4] - 8009002: e784 b.n 8008f0e - 8009004: 4b22 ldr r3, [pc, #136] ; (8009090 ) - 8009006: e78f b.n 8008f28 - 8009008: 4b26 ldr r3, [pc, #152] ; (80090a4 ) - 800900a: e78d b.n 8008f28 - 800900c: 4b20 ldr r3, [pc, #128] ; (8009090 ) - 800900e: f8d3 30cc ldr.w r3, [r3, #204] ; 0xcc - 8009012: e7f5 b.n 8009000 - 8009014: 4b1e ldr r3, [pc, #120] ; (8009090 ) - 8009016: f8d3 312c ldr.w r3, [r3, #300] ; 0x12c - 800901a: 6063 str r3, [r4, #4] - 800901c: f001 fd5c bl 800aad8 - 8009020: 60a0 str r0, [r4, #8] - 8009022: e774 b.n 8008f0e - 8009024: 4b1a ldr r3, [pc, #104] ; (8009090 ) - 8009026: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 - 800902a: e77d b.n 8008f28 - 800902c: 4b18 ldr r3, [pc, #96] ; (8009090 ) - 800902e: f893 311f ldrb.w r3, [r3, #287] ; 0x11f - 8009032: e767 b.n 8008f04 - 8009034: 4b16 ldr r3, [pc, #88] ; (8009090 ) - 8009036: f8b3 3088 ldrh.w r3, [r3, #136] ; 0x88 - 800903a: 80a3 strh r3, [r4, #4] - 800903c: e767 b.n 8008f0e - 800903e: 4b14 ldr r3, [pc, #80] ; (8009090 ) - 8009040: f8b3 308a ldrh.w r3, [r3, #138] ; 0x8a - 8009044: e7f9 b.n 800903a - 8009046: 4b12 ldr r3, [pc, #72] ; (8009090 ) - 8009048: f8b3 30d0 ldrh.w r3, [r3, #208] ; 0xd0 - 800904c: e7f5 b.n 800903a - 800904e: 4b10 ldr r3, [pc, #64] ; (8009090 ) - 8009050: f8b3 30d2 ldrh.w r3, [r3, #210] ; 0xd2 - 8009054: e7f1 b.n 800903a - 8009056: 4b0e ldr r3, [pc, #56] ; (8009090 ) - 8009058: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 - 800905c: b10a cbz r2, 8009062 - 800905e: 2a06 cmp r2, #6 - 8009060: d113 bne.n 800908a - 8009062: f8b3 35a0 ldrh.w r3, [r3, #1440] ; 0x5a0 - 8009066: e7e8 b.n 800903a - 8009068: 4b09 ldr r3, [pc, #36] ; (8009090 ) - 800906a: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 - 800906e: b10a cbz r2, 8009074 - 8009070: 2a06 cmp r2, #6 - 8009072: d10a bne.n 800908a - 8009074: f8d3 35a4 ldr.w r3, [r3, #1444] ; 0x5a4 - 8009078: e756 b.n 8008f28 - 800907a: 4620 mov r0, r4 - 800907c: b004 add sp, #16 - 800907e: e8bd 4010 ldmia.w sp!, {r4, lr} - 8009082: f000 be24 b.w 8009cce - 8009086: 2003 movs r0, #3 - 8009088: e737 b.n 8008efa - 800908a: 2018 movs r0, #24 - 800908c: e735 b.n 8008efa - 800908e: bf00 nop - 8009090: 20000c00 .word 0x20000c00 - 8009094: 20000c6c .word 0x20000c6c - 8009098: 20000cb4 .word 0x20000cb4 - 800909c: 20000c74 .word 0x20000c74 - 80090a0: 20000cbc .word 0x20000cbc - 80090a4: 2000063c .word 0x2000063c +08008a90 : + 8008a90: b51f push {r0, r1, r2, r3, r4, lr} + 8008a92: 4604 mov r4, r0 + 8008a94: 2800 cmp r0, #0 + 8008a96: f000 8112 beq.w 8008cbe + 8008a9a: 7800 ldrb r0, [r0, #0] + 8008a9c: 2841 cmp r0, #65 ; 0x41 + 8008a9e: f200 8108 bhi.w 8008cb2 + 8008aa2: e8df f010 tbh [pc, r0, lsl #1] + 8008aa6: 0042 .short 0x0042 + 8008aa8: 004d0048 .word 0x004d0048 + 8008aac: 00560052 .word 0x00560052 + 8008ab0: 005f005a .word 0x005f005a + 8008ab4: 01060106 .word 0x01060106 + 8008ab8: 01060106 .word 0x01060106 + 8008abc: 01060106 .word 0x01060106 + 8008ac0: 01060106 .word 0x01060106 + 8008ac4: 006a0066 .word 0x006a0066 + 8008ac8: 0079006e .word 0x0079006e + 8008acc: 00830080 .word 0x00830080 + 8008ad0: 008b0086 .word 0x008b0086 + 8008ad4: 008d0089 .word 0x008d0089 + 8008ad8: 00940091 .word 0x00940091 + 8008adc: 009a0097 .word 0x009a0097 + 8008ae0: 00a0009d .word 0x00a0009d + 8008ae4: 00b300af .word 0x00b300af + 8008ae8: 00b700bb .word 0x00b700bb + 8008aec: 00c200bf .word 0x00c200bf + 8008af0: 00cf00c6 .word 0x00cf00c6 + 8008af4: 00cd00cb .word 0x00cd00cb + 8008af8: 00d30106 .word 0x00d30106 + 8008afc: 01060106 .word 0x01060106 + 8008b00: 01060106 .word 0x01060106 + 8008b04: 01060106 .word 0x01060106 + 8008b08: 01060106 .word 0x01060106 + 8008b0c: 01060106 .word 0x01060106 + 8008b10: 01060106 .word 0x01060106 + 8008b14: 01060106 .word 0x01060106 + 8008b18: 00db0106 .word 0x00db0106 + 8008b1c: 00e300df .word 0x00e300df + 8008b20: 00ec00e8 .word 0x00ec00e8 + 8008b24: 00f400f0 .word 0x00f400f0 + 8008b28: 00fd .short 0x00fd + 8008b2a: 4b67 ldr r3, [pc, #412] ; (8008cc8 ) + 8008b2c: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 + 8008b30: 7123 strb r3, [r4, #4] + 8008b32: b004 add sp, #16 + 8008b34: bd10 pop {r4, pc} + 8008b36: 4b64 ldr r3, [pc, #400] ; (8008cc8 ) + 8008b38: f893 3130 ldrb.w r3, [r3, #304] ; 0x130 + 8008b3c: 7123 strb r3, [r4, #4] + 8008b3e: e002 b.n 8008b46 + 8008b40: 6860 ldr r0, [r4, #4] + 8008b42: f003 fbc7 bl 800c2d4 + 8008b46: 2000 movs r0, #0 + 8008b48: e7f3 b.n 8008b32 + 8008b4a: 6860 ldr r0, [r4, #4] + 8008b4c: f003 fc08 bl 800c360 + 8008b50: e7f9 b.n 8008b46 + 8008b52: 4b5d ldr r3, [pc, #372] ; (8008cc8 ) + 8008b54: f893 311a ldrb.w r3, [r3, #282] ; 0x11a + 8008b58: e7f0 b.n 8008b3c + 8008b5a: 4b5b ldr r3, [pc, #364] ; (8008cc8 ) + 8008b5c: f8d3 30e0 ldr.w r3, [r3, #224] ; 0xe0 + 8008b60: 6063 str r3, [r4, #4] + 8008b62: e7f0 b.n 8008b46 + 8008b64: 4b58 ldr r3, [pc, #352] ; (8008cc8 ) + 8008b66: 1d21 adds r1, r4, #4 + 8008b68: f893 0130 ldrb.w r0, [r3, #304] ; 0x130 + 8008b6c: f003 fc10 bl 800c390 + 8008b70: e7e9 b.n 8008b46 + 8008b72: 4b55 ldr r3, [pc, #340] ; (8008cc8 ) + 8008b74: f893 3119 ldrb.w r3, [r3, #281] ; 0x119 + 8008b78: e7e0 b.n 8008b3c + 8008b7a: 4b53 ldr r3, [pc, #332] ; (8008cc8 ) + 8008b7c: f893 308c ldrb.w r3, [r3, #140] ; 0x8c + 8008b80: e7dc b.n 8008b3c + 8008b82: 231c movs r3, #28 + 8008b84: f88d 3008 strb.w r3, [sp, #8] + 8008b88: 4b4f ldr r3, [pc, #316] ; (8008cc8 ) + 8008b8a: a902 add r1, sp, #8 + 8008b8c: f893 0048 ldrb.w r0, [r3, #72] ; 0x48 + 8008b90: f001 fd30 bl 800a5f4 + 8008b94: 6060 str r0, [r4, #4] + 8008b96: e7d6 b.n 8008b46 + 8008b98: 4b4c ldr r3, [pc, #304] ; (8008ccc ) + 8008b9a: 3404 adds r4, #4 + 8008b9c: e893 0003 ldmia.w r3, {r0, r1} + 8008ba0: e884 0003 stmia.w r4, {r0, r1} + 8008ba4: e7cf b.n 8008b46 + 8008ba6: 4b4a ldr r3, [pc, #296] ; (8008cd0 ) + 8008ba8: 3404 adds r4, #4 + 8008baa: e7f7 b.n 8008b9c + 8008bac: 4b49 ldr r3, [pc, #292] ; (8008cd4 ) + 8008bae: 3404 adds r4, #4 + 8008bb0: e7f4 b.n 8008b9c + 8008bb2: 4b49 ldr r3, [pc, #292] ; (8008cd8 ) + 8008bb4: 3404 adds r4, #4 + 8008bb6: e7f1 b.n 8008b9c + 8008bb8: 231a movs r3, #26 + 8008bba: e7e3 b.n 8008b84 + 8008bbc: 2319 movs r3, #25 + 8008bbe: e7e1 b.n 8008b84 + 8008bc0: 4b41 ldr r3, [pc, #260] ; (8008cc8 ) + 8008bc2: f893 3068 ldrb.w r3, [r3, #104] ; 0x68 + 8008bc6: e7b9 b.n 8008b3c + 8008bc8: 4b3f ldr r3, [pc, #252] ; (8008cc8 ) + 8008bca: 6d5b ldr r3, [r3, #84] ; 0x54 + 8008bcc: e7c8 b.n 8008b60 + 8008bce: 4b3e ldr r3, [pc, #248] ; (8008cc8 ) + 8008bd0: 6d9b ldr r3, [r3, #88] ; 0x58 + 8008bd2: e7c5 b.n 8008b60 + 8008bd4: 4b3c ldr r3, [pc, #240] ; (8008cc8 ) + 8008bd6: 6ddb ldr r3, [r3, #92] ; 0x5c + 8008bd8: e7c2 b.n 8008b60 + 8008bda: 4b3b ldr r3, [pc, #236] ; (8008cc8 ) + 8008bdc: 6e1b ldr r3, [r3, #96] ; 0x60 + 8008bde: e7bf b.n 8008b60 + 8008be0: 4b39 ldr r3, [pc, #228] ; (8008cc8 ) + 8008be2: 6e5b ldr r3, [r3, #100] ; 0x64 + 8008be4: e7bc b.n 8008b60 + 8008be6: 2302 movs r3, #2 + 8008be8: f88d 3008 strb.w r3, [sp, #8] + 8008bec: 4b36 ldr r3, [pc, #216] ; (8008cc8 ) + 8008bee: a902 add r1, sp, #8 + 8008bf0: f893 207c ldrb.w r2, [r3, #124] ; 0x7c + 8008bf4: f893 0048 ldrb.w r0, [r3, #72] ; 0x48 + 8008bf8: f88d 200a strb.w r2, [sp, #10] + 8008bfc: f001 fcfa bl 800a5f4 + 8008c00: 7120 strb r0, [r4, #4] + 8008c02: e7a0 b.n 8008b46 + 8008c04: 4b30 ldr r3, [pc, #192] ; (8008cc8 ) + 8008c06: f893 30dd ldrb.w r3, [r3, #221] ; 0xdd + 8008c0a: e797 b.n 8008b3c + 8008c0c: 4b2e ldr r3, [pc, #184] ; (8008cc8 ) + 8008c0e: f893 3039 ldrb.w r3, [r3, #57] ; 0x39 + 8008c12: e793 b.n 8008b3c + 8008c14: 4b2c ldr r3, [pc, #176] ; (8008cc8 ) + 8008c16: f893 30dc ldrb.w r3, [r3, #220] ; 0xdc + 8008c1a: e78f b.n 8008b3c + 8008c1c: 4b2a ldr r3, [pc, #168] ; (8008cc8 ) + 8008c1e: f893 3038 ldrb.w r3, [r3, #56] ; 0x38 + 8008c22: e78b b.n 8008b3c + 8008c24: 4b28 ldr r3, [pc, #160] ; (8008cc8 ) + 8008c26: 6cdb ldr r3, [r3, #76] ; 0x4c + 8008c28: e79a b.n 8008b60 + 8008c2a: 4b27 ldr r3, [pc, #156] ; (8008cc8 ) + 8008c2c: f893 3050 ldrb.w r3, [r3, #80] ; 0x50 + 8008c30: e784 b.n 8008b3c + 8008c32: 4b25 ldr r3, [pc, #148] ; (8008cc8 ) + 8008c34: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84 + 8008c38: 6063 str r3, [r4, #4] + 8008c3a: e784 b.n 8008b46 + 8008c3c: 4b22 ldr r3, [pc, #136] ; (8008cc8 ) + 8008c3e: e78f b.n 8008b60 + 8008c40: 4b26 ldr r3, [pc, #152] ; (8008cdc ) + 8008c42: e78d b.n 8008b60 + 8008c44: 4b20 ldr r3, [pc, #128] ; (8008cc8 ) + 8008c46: f8d3 30cc ldr.w r3, [r3, #204] ; 0xcc + 8008c4a: e7f5 b.n 8008c38 + 8008c4c: 4b1e ldr r3, [pc, #120] ; (8008cc8 ) + 8008c4e: f8d3 312c ldr.w r3, [r3, #300] ; 0x12c + 8008c52: 6063 str r3, [r4, #4] + 8008c54: f001 fd5c bl 800a710 + 8008c58: 60a0 str r0, [r4, #8] + 8008c5a: e774 b.n 8008b46 + 8008c5c: 4b1a ldr r3, [pc, #104] ; (8008cc8 ) + 8008c5e: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 + 8008c62: e77d b.n 8008b60 + 8008c64: 4b18 ldr r3, [pc, #96] ; (8008cc8 ) + 8008c66: f893 311f ldrb.w r3, [r3, #287] ; 0x11f + 8008c6a: e767 b.n 8008b3c + 8008c6c: 4b16 ldr r3, [pc, #88] ; (8008cc8 ) + 8008c6e: f8b3 3088 ldrh.w r3, [r3, #136] ; 0x88 + 8008c72: 80a3 strh r3, [r4, #4] + 8008c74: e767 b.n 8008b46 + 8008c76: 4b14 ldr r3, [pc, #80] ; (8008cc8 ) + 8008c78: f8b3 308a ldrh.w r3, [r3, #138] ; 0x8a + 8008c7c: e7f9 b.n 8008c72 + 8008c7e: 4b12 ldr r3, [pc, #72] ; (8008cc8 ) + 8008c80: f8b3 30d0 ldrh.w r3, [r3, #208] ; 0xd0 + 8008c84: e7f5 b.n 8008c72 + 8008c86: 4b10 ldr r3, [pc, #64] ; (8008cc8 ) + 8008c88: f8b3 30d2 ldrh.w r3, [r3, #210] ; 0xd2 + 8008c8c: e7f1 b.n 8008c72 + 8008c8e: 4b0e ldr r3, [pc, #56] ; (8008cc8 ) + 8008c90: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 + 8008c94: b10a cbz r2, 8008c9a + 8008c96: 2a06 cmp r2, #6 + 8008c98: d113 bne.n 8008cc2 + 8008c9a: f8b3 35a0 ldrh.w r3, [r3, #1440] ; 0x5a0 + 8008c9e: e7e8 b.n 8008c72 + 8008ca0: 4b09 ldr r3, [pc, #36] ; (8008cc8 ) + 8008ca2: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 + 8008ca6: b10a cbz r2, 8008cac + 8008ca8: 2a06 cmp r2, #6 + 8008caa: d10a bne.n 8008cc2 + 8008cac: f8d3 35a4 ldr.w r3, [r3, #1444] ; 0x5a4 + 8008cb0: e756 b.n 8008b60 + 8008cb2: 4620 mov r0, r4 + 8008cb4: b004 add sp, #16 + 8008cb6: e8bd 4010 ldmia.w sp!, {r4, lr} + 8008cba: f000 be24 b.w 8009906 + 8008cbe: 2003 movs r0, #3 + 8008cc0: e737 b.n 8008b32 + 8008cc2: 2018 movs r0, #24 + 8008cc4: e735 b.n 8008b32 + 8008cc6: bf00 nop + 8008cc8: 20000c00 .word 0x20000c00 + 8008ccc: 20000c6c .word 0x20000c6c + 8008cd0: 20000cb4 .word 0x20000cb4 + 8008cd4: 20000c74 .word 0x20000c74 + 8008cd8: 20000cbc .word 0x20000cbc + 8008cdc: 2000063c .word 0x2000063c -080090a8 : - 80090a8: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} - 80090aa: 4604 mov r4, r0 - 80090ac: b910 cbnz r0, 80090b4 - 80090ae: 2003 movs r0, #3 - 80090b0: b004 add sp, #16 - 80090b2: bd70 pop {r4, r5, r6, pc} - 80090b4: 4da4 ldr r5, [pc, #656] ; (8009348 ) - 80090b6: f8d5 3340 ldr.w r3, [r5, #832] ; 0x340 - 80090ba: 079a lsls r2, r3, #30 - 80090bc: f100 8271 bmi.w 80095a2 - 80090c0: 7802 ldrb r2, [r0, #0] - 80090c2: 2a41 cmp r2, #65 ; 0x41 - 80090c4: f200 826a bhi.w 800959c - 80090c8: e8df f012 tbh [pc, r2, lsl #1] - 80090cc: 00480042 .word 0x00480042 - 80090d0: 005c0056 .word 0x005c0056 - 80090d4: 00650060 .word 0x00650060 - 80090d8: 0077006a .word 0x0077006a - 80090dc: 00880082 .word 0x00880082 - 80090e0: 0094008e .word 0x0094008e - 80090e4: 00a0009a .word 0x00a0009a - 80090e8: 00ac00a6 .word 0x00ac00a6 - 80090ec: 026800b6 .word 0x026800b6 - 80090f0: 00dd00bb .word 0x00dd00bb - 80090f4: 011700f0 .word 0x011700f0 - 80090f8: 012a0139 .word 0x012a0139 - 80090fc: 014d0144 .word 0x014d0144 - 8009100: 01550151 .word 0x01550151 - 8009104: 015d0159 .word 0x015d0159 - 8009108: 01610268 .word 0x01610268 - 800910c: 019b0173 .word 0x019b0173 - 8009110: 01ad0189 .word 0x01ad0189 - 8009114: 01ba01b3 .word 0x01ba01b3 - 8009118: 01c401bf .word 0x01c401bf - 800911c: 022a0268 .word 0x022a0268 - 8009120: 02680268 .word 0x02680268 - 8009124: 02680268 .word 0x02680268 - 8009128: 02680268 .word 0x02680268 - 800912c: 02680268 .word 0x02680268 - 8009130: 02680268 .word 0x02680268 - 8009134: 02680268 .word 0x02680268 - 8009138: 02680268 .word 0x02680268 - 800913c: 02680268 .word 0x02680268 - 8009140: 023b0236 .word 0x023b0236 - 8009144: 02450240 .word 0x02450240 - 8009148: 024f024a .word 0x024f024a - 800914c: 025e0254 .word 0x025e0254 - 8009150: 7900 ldrb r0, [r0, #4] - 8009152: f7fe f8c1 bl 80072d8 - 8009156: 2800 cmp r0, #0 - 8009158: d1aa bne.n 80090b0 - 800915a: e005 b.n 8009168 - 800915c: 7903 ldrb r3, [r0, #4] - 800915e: 2b02 cmp r3, #2 - 8009160: d0a5 beq.n 80090ae - 8009162: 4a7a ldr r2, [pc, #488] ; (800934c ) - 8009164: f882 3130 strb.w r3, [r2, #304] ; 0x130 - 8009168: f895 3491 ldrb.w r3, [r5, #1169] ; 0x491 - 800916c: f043 0320 orr.w r3, r3, #32 - 8009170: f885 3491 strb.w r3, [r5, #1169] ; 0x491 - 8009174: 2000 movs r0, #0 - 8009176: e79b b.n 80090b0 - 8009178: 6840 ldr r0, [r0, #4] - 800917a: f003 fa81 bl 800c680 - 800917e: 2800 cmp r0, #0 - 8009180: d0f2 beq.n 8009168 - 8009182: e794 b.n 80090ae - 8009184: 6840 ldr r0, [r0, #4] - 8009186: f003 fabf bl 800c708 - 800918a: e7f8 b.n 800917e - 800918c: 4b6f ldr r3, [pc, #444] ; (800934c ) - 800918e: 7902 ldrb r2, [r0, #4] - 8009190: f883 211a strb.w r2, [r3, #282] ; 0x11a - 8009194: e7e8 b.n 8009168 - 8009196: 4b6d ldr r3, [pc, #436] ; (800934c ) - 8009198: 6842 ldr r2, [r0, #4] - 800919a: f8c3 20e0 str.w r2, [r3, #224] ; 0xe0 - 800919e: e7e3 b.n 8009168 - 80091a0: 4e6a ldr r6, [pc, #424] ; (800934c ) - 80091a2: 6841 ldr r1, [r0, #4] - 80091a4: f896 0130 ldrb.w r0, [r6, #304] ; 0x130 - 80091a8: f003 facc bl 800c744 - 80091ac: 2800 cmp r0, #0 - 80091ae: f47f af7e bne.w 80090ae - 80091b2: 6863 ldr r3, [r4, #4] - 80091b4: f8c6 30e4 str.w r3, [r6, #228] ; 0xe4 - 80091b8: e7d6 b.n 8009168 - 80091ba: 6841 ldr r1, [r0, #4] - 80091bc: 2900 cmp r1, #0 - 80091be: f43f af76 beq.w 80090ae - 80091c2: 2000 movs r0, #0 - 80091c4: f001 f9ee bl 800a5a4 - 80091c8: 2800 cmp r0, #0 - 80091ca: d0cd beq.n 8009168 - 80091cc: 2011 movs r0, #17 - 80091ce: e76f b.n 80090b0 - 80091d0: 6841 ldr r1, [r0, #4] - 80091d2: 2900 cmp r1, #0 - 80091d4: f43f af6b beq.w 80090ae - 80091d8: 2001 movs r0, #1 - 80091da: e7f3 b.n 80091c4 - 80091dc: 6841 ldr r1, [r0, #4] - 80091de: 2900 cmp r1, #0 - 80091e0: f43f af65 beq.w 80090ae - 80091e4: 2008 movs r0, #8 - 80091e6: e7ed b.n 80091c4 - 80091e8: 6841 ldr r1, [r0, #4] - 80091ea: 2900 cmp r1, #0 - 80091ec: f43f af5f beq.w 80090ae - 80091f0: 2009 movs r0, #9 - 80091f2: e7e7 b.n 80091c4 - 80091f4: 6841 ldr r1, [r0, #4] - 80091f6: 2900 cmp r1, #0 - 80091f8: f43f af59 beq.w 80090ae - 80091fc: 200c movs r0, #12 - 80091fe: e7e1 b.n 80091c4 - 8009200: 6841 ldr r1, [r0, #4] - 8009202: 2900 cmp r1, #0 - 8009204: f43f af53 beq.w 80090ae - 8009208: 200d movs r0, #13 - 800920a: e7db b.n 80091c4 - 800920c: 6841 ldr r1, [r0, #4] - 800920e: 2900 cmp r1, #0 - 8009210: f43f af4d beq.w 80090ae - 8009214: 200e movs r0, #14 - 8009216: e7d5 b.n 80091c4 - 8009218: 6841 ldr r1, [r0, #4] - 800921a: 2900 cmp r1, #0 - 800921c: f43f af47 beq.w 80090ae - 8009220: 200f movs r0, #15 - 8009222: e7cf b.n 80091c4 - 8009224: 4c4a ldr r4, [pc, #296] ; (8009350 ) - 8009226: 4b49 ldr r3, [pc, #292] ; (800934c ) - 8009228: 7900 ldrb r0, [r0, #4] - 800922a: f883 0119 strb.w r0, [r3, #281] ; 0x119 - 800922e: 6da3 ldr r3, [r4, #88] ; 0x58 - 8009230: 4798 blx r3 - 8009232: 6ae3 ldr r3, [r4, #44] ; 0x2c - 8009234: 4798 blx r3 - 8009236: e797 b.n 8009168 - 8009238: 4b44 ldr r3, [pc, #272] ; (800934c ) - 800923a: 7902 ldrb r2, [r0, #4] - 800923c: f883 208c strb.w r2, [r3, #140] ; 0x8c - 8009240: e792 b.n 8009168 - 8009242: 4e42 ldr r6, [pc, #264] ; (800934c ) - 8009244: 7a03 ldrb r3, [r0, #8] - 8009246: f88d 3004 strb.w r3, [sp, #4] - 800924a: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 800924e: f896 307d ldrb.w r3, [r6, #125] ; 0x7d - 8009252: f88d 3005 strb.w r3, [sp, #5] - 8009256: 2207 movs r2, #7 - 8009258: a901 add r1, sp, #4 - 800925a: f001 fbc2 bl 800a9e2 - 800925e: 2800 cmp r0, #0 - 8009260: f43f af25 beq.w 80090ae - 8009264: 6863 ldr r3, [r4, #4] - 8009266: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 800926a: 9301 str r3, [sp, #4] - 800926c: 2200 movs r2, #0 - 800926e: a901 add r1, sp, #4 - 8009270: f001 fbb7 bl 800a9e2 - 8009274: 2800 cmp r0, #0 - 8009276: f43f af1a beq.w 80090ae - 800927a: 366c adds r6, #108 ; 0x6c - 800927c: e9d4 0101 ldrd r0, r1, [r4, #4] - 8009280: e886 0003 stmia.w r6, {r0, r1} - 8009284: e770 b.n 8009168 - 8009286: 4e31 ldr r6, [pc, #196] ; (800934c ) - 8009288: 7a03 ldrb r3, [r0, #8] - 800928a: f88d 3004 strb.w r3, [sp, #4] - 800928e: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 8009292: f896 307d ldrb.w r3, [r6, #125] ; 0x7d - 8009296: f88d 3005 strb.w r3, [sp, #5] - 800929a: 2207 movs r2, #7 - 800929c: a901 add r1, sp, #4 - 800929e: f001 fba0 bl 800a9e2 - 80092a2: 2800 cmp r0, #0 - 80092a4: f43f af03 beq.w 80090ae - 80092a8: 36b4 adds r6, #180 ; 0xb4 - 80092aa: e7e7 b.n 800927c - 80092ac: 4e27 ldr r6, [pc, #156] ; (800934c ) - 80092ae: 7a03 ldrb r3, [r0, #8] - 80092b0: f88d 3004 strb.w r3, [sp, #4] - 80092b4: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 80092b8: f896 307d ldrb.w r3, [r6, #125] ; 0x7d - 80092bc: f88d 3005 strb.w r3, [sp, #5] - 80092c0: 2207 movs r2, #7 - 80092c2: a901 add r1, sp, #4 - 80092c4: f001 fb8d bl 800a9e2 - 80092c8: 2800 cmp r0, #0 - 80092ca: f43f aef0 beq.w 80090ae - 80092ce: e9d4 0101 ldrd r0, r1, [r4, #4] - 80092d2: f106 0374 add.w r3, r6, #116 ; 0x74 - 80092d6: e883 0003 stmia.w r3, {r0, r1} - 80092da: f896 3118 ldrb.w r3, [r6, #280] ; 0x118 - 80092de: 2b02 cmp r3, #2 - 80092e0: f47f af42 bne.w 8009168 - 80092e4: f896 3130 ldrb.w r3, [r6, #304] ; 0x130 - 80092e8: 2b00 cmp r3, #0 - 80092ea: f43f af3d beq.w 8009168 - 80092ee: 4b18 ldr r3, [pc, #96] ; (8009350 ) - 80092f0: 6adb ldr r3, [r3, #44] ; 0x2c - 80092f2: 4798 blx r3 - 80092f4: f7fd ff48 bl 8007188 - 80092f8: e736 b.n 8009168 - 80092fa: 4e14 ldr r6, [pc, #80] ; (800934c ) - 80092fc: 7a03 ldrb r3, [r0, #8] - 80092fe: f88d 3004 strb.w r3, [sp, #4] - 8009302: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 8009306: f896 307d ldrb.w r3, [r6, #125] ; 0x7d - 800930a: f88d 3005 strb.w r3, [sp, #5] - 800930e: 2207 movs r2, #7 - 8009310: a901 add r1, sp, #4 - 8009312: f001 fb66 bl 800a9e2 - 8009316: 2800 cmp r0, #0 - 8009318: f43f aec9 beq.w 80090ae - 800931c: 36bc adds r6, #188 ; 0xbc - 800931e: e7ad b.n 800927c - 8009320: 6843 ldr r3, [r0, #4] - 8009322: 9302 str r3, [sp, #8] - 8009324: 2301 movs r3, #1 - 8009326: f88d 300c strb.w r3, [sp, #12] - 800932a: 4b08 ldr r3, [pc, #32] ; (800934c ) - 800932c: a902 add r1, sp, #8 - 800932e: f893 0048 ldrb.w r0, [r3, #72] ; 0x48 - 8009332: f001 fb63 bl 800a9fc - 8009336: 2800 cmp r0, #0 - 8009338: f47f af16 bne.w 8009168 - 800933c: e6b7 b.n 80090ae - 800933e: 6843 ldr r3, [r0, #4] - 8009340: 9302 str r3, [sp, #8] - 8009342: 2300 movs r3, #0 - 8009344: e7ef b.n 8009326 - 8009346: bf00 nop - 8009348: 200011c8 .word 0x200011c8 - 800934c: 20000c00 .word 0x20000c00 - 8009350: 080101cc .word 0x080101cc - 8009354: 7903 ldrb r3, [r0, #4] - 8009356: 1e5a subs r2, r3, #1 - 8009358: 2a0e cmp r2, #14 - 800935a: f63f aea8 bhi.w 80090ae - 800935e: 4a93 ldr r2, [pc, #588] ; (80095ac ) - 8009360: f882 3068 strb.w r3, [r2, #104] ; 0x68 - 8009364: e700 b.n 8009168 - 8009366: 4b91 ldr r3, [pc, #580] ; (80095ac ) - 8009368: 6842 ldr r2, [r0, #4] - 800936a: 655a str r2, [r3, #84] ; 0x54 - 800936c: e6fc b.n 8009168 - 800936e: 4b8f ldr r3, [pc, #572] ; (80095ac ) - 8009370: 6842 ldr r2, [r0, #4] - 8009372: 659a str r2, [r3, #88] ; 0x58 - 8009374: e6f8 b.n 8009168 - 8009376: 4b8d ldr r3, [pc, #564] ; (80095ac ) - 8009378: 6842 ldr r2, [r0, #4] - 800937a: 65da str r2, [r3, #92] ; 0x5c - 800937c: e6f4 b.n 8009168 - 800937e: 4b8b ldr r3, [pc, #556] ; (80095ac ) - 8009380: 6842 ldr r2, [r0, #4] - 8009382: 661a str r2, [r3, #96] ; 0x60 - 8009384: e6f0 b.n 8009168 - 8009386: 4b89 ldr r3, [pc, #548] ; (80095ac ) - 8009388: 6842 ldr r2, [r0, #4] - 800938a: 665a str r2, [r3, #100] ; 0x64 - 800938c: e6ec b.n 8009168 - 800938e: 4c87 ldr r4, [pc, #540] ; (80095ac ) - 8009390: 7903 ldrb r3, [r0, #4] - 8009392: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8009396: f88d 3004 strb.w r3, [sp, #4] - 800939a: 2206 movs r2, #6 - 800939c: a901 add r1, sp, #4 - 800939e: f001 fb20 bl 800a9e2 - 80093a2: 2800 cmp r0, #0 - 80093a4: f43f ae83 beq.w 80090ae - 80093a8: f89d 3004 ldrb.w r3, [sp, #4] - 80093ac: f884 30dd strb.w r3, [r4, #221] ; 0xdd - 80093b0: e6da b.n 8009168 - 80093b2: 4c7e ldr r4, [pc, #504] ; (80095ac ) - 80093b4: 7903 ldrb r3, [r0, #4] - 80093b6: f88d 3004 strb.w r3, [sp, #4] - 80093ba: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 80093be: f894 307c ldrb.w r3, [r4, #124] ; 0x7c - 80093c2: f88d 3006 strb.w r3, [sp, #6] - 80093c6: 2205 movs r2, #5 - 80093c8: a901 add r1, sp, #4 - 80093ca: f001 fb0a bl 800a9e2 - 80093ce: 2800 cmp r0, #0 - 80093d0: f43f ae6d beq.w 80090ae - 80093d4: f89d 3004 ldrb.w r3, [sp, #4] - 80093d8: f884 3039 strb.w r3, [r4, #57] ; 0x39 - 80093dc: e6c4 b.n 8009168 - 80093de: 4c73 ldr r4, [pc, #460] ; (80095ac ) - 80093e0: 7903 ldrb r3, [r0, #4] - 80093e2: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 80093e6: f88d 3004 strb.w r3, [sp, #4] - 80093ea: 220a movs r2, #10 - 80093ec: a901 add r1, sp, #4 - 80093ee: f001 faf8 bl 800a9e2 - 80093f2: 2800 cmp r0, #0 - 80093f4: f43f ae5b beq.w 80090ae - 80093f8: f89d 3004 ldrb.w r3, [sp, #4] - 80093fc: f884 30dc strb.w r3, [r4, #220] ; 0xdc - 8009400: e6b2 b.n 8009168 - 8009402: 4c6a ldr r4, [pc, #424] ; (80095ac ) - 8009404: 7903 ldrb r3, [r0, #4] - 8009406: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 800940a: f88d 3004 strb.w r3, [sp, #4] - 800940e: 2209 movs r2, #9 - 8009410: a901 add r1, sp, #4 - 8009412: f001 fae6 bl 800a9e2 +08008ce0 : + 8008ce0: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} + 8008ce2: 4604 mov r4, r0 + 8008ce4: b910 cbnz r0, 8008cec + 8008ce6: 2003 movs r0, #3 + 8008ce8: b004 add sp, #16 + 8008cea: bd70 pop {r4, r5, r6, pc} + 8008cec: 4da4 ldr r5, [pc, #656] ; (8008f80 ) + 8008cee: f8d5 3340 ldr.w r3, [r5, #832] ; 0x340 + 8008cf2: 079a lsls r2, r3, #30 + 8008cf4: f100 8271 bmi.w 80091da + 8008cf8: 7802 ldrb r2, [r0, #0] + 8008cfa: 2a41 cmp r2, #65 ; 0x41 + 8008cfc: f200 826a bhi.w 80091d4 + 8008d00: e8df f012 tbh [pc, r2, lsl #1] + 8008d04: 00480042 .word 0x00480042 + 8008d08: 005c0056 .word 0x005c0056 + 8008d0c: 00650060 .word 0x00650060 + 8008d10: 0077006a .word 0x0077006a + 8008d14: 00880082 .word 0x00880082 + 8008d18: 0094008e .word 0x0094008e + 8008d1c: 00a0009a .word 0x00a0009a + 8008d20: 00ac00a6 .word 0x00ac00a6 + 8008d24: 026800b6 .word 0x026800b6 + 8008d28: 00dd00bb .word 0x00dd00bb + 8008d2c: 011700f0 .word 0x011700f0 + 8008d30: 012a0139 .word 0x012a0139 + 8008d34: 014d0144 .word 0x014d0144 + 8008d38: 01550151 .word 0x01550151 + 8008d3c: 015d0159 .word 0x015d0159 + 8008d40: 01610268 .word 0x01610268 + 8008d44: 019b0173 .word 0x019b0173 + 8008d48: 01ad0189 .word 0x01ad0189 + 8008d4c: 01ba01b3 .word 0x01ba01b3 + 8008d50: 01c401bf .word 0x01c401bf + 8008d54: 022a0268 .word 0x022a0268 + 8008d58: 02680268 .word 0x02680268 + 8008d5c: 02680268 .word 0x02680268 + 8008d60: 02680268 .word 0x02680268 + 8008d64: 02680268 .word 0x02680268 + 8008d68: 02680268 .word 0x02680268 + 8008d6c: 02680268 .word 0x02680268 + 8008d70: 02680268 .word 0x02680268 + 8008d74: 02680268 .word 0x02680268 + 8008d78: 023b0236 .word 0x023b0236 + 8008d7c: 02450240 .word 0x02450240 + 8008d80: 024f024a .word 0x024f024a + 8008d84: 025e0254 .word 0x025e0254 + 8008d88: 7900 ldrb r0, [r0, #4] + 8008d8a: f7fe f8c1 bl 8006f10 + 8008d8e: 2800 cmp r0, #0 + 8008d90: d1aa bne.n 8008ce8 + 8008d92: e005 b.n 8008da0 + 8008d94: 7903 ldrb r3, [r0, #4] + 8008d96: 2b02 cmp r3, #2 + 8008d98: d0a5 beq.n 8008ce6 + 8008d9a: 4a7a ldr r2, [pc, #488] ; (8008f84 ) + 8008d9c: f882 3130 strb.w r3, [r2, #304] ; 0x130 + 8008da0: f895 3491 ldrb.w r3, [r5, #1169] ; 0x491 + 8008da4: f043 0320 orr.w r3, r3, #32 + 8008da8: f885 3491 strb.w r3, [r5, #1169] ; 0x491 + 8008dac: 2000 movs r0, #0 + 8008dae: e79b b.n 8008ce8 + 8008db0: 6840 ldr r0, [r0, #4] + 8008db2: f003 fa81 bl 800c2b8 + 8008db6: 2800 cmp r0, #0 + 8008db8: d0f2 beq.n 8008da0 + 8008dba: e794 b.n 8008ce6 + 8008dbc: 6840 ldr r0, [r0, #4] + 8008dbe: f003 fabf bl 800c340 + 8008dc2: e7f8 b.n 8008db6 + 8008dc4: 4b6f ldr r3, [pc, #444] ; (8008f84 ) + 8008dc6: 7902 ldrb r2, [r0, #4] + 8008dc8: f883 211a strb.w r2, [r3, #282] ; 0x11a + 8008dcc: e7e8 b.n 8008da0 + 8008dce: 4b6d ldr r3, [pc, #436] ; (8008f84 ) + 8008dd0: 6842 ldr r2, [r0, #4] + 8008dd2: f8c3 20e0 str.w r2, [r3, #224] ; 0xe0 + 8008dd6: e7e3 b.n 8008da0 + 8008dd8: 4e6a ldr r6, [pc, #424] ; (8008f84 ) + 8008dda: 6841 ldr r1, [r0, #4] + 8008ddc: f896 0130 ldrb.w r0, [r6, #304] ; 0x130 + 8008de0: f003 facc bl 800c37c + 8008de4: 2800 cmp r0, #0 + 8008de6: f47f af7e bne.w 8008ce6 + 8008dea: 6863 ldr r3, [r4, #4] + 8008dec: f8c6 30e4 str.w r3, [r6, #228] ; 0xe4 + 8008df0: e7d6 b.n 8008da0 + 8008df2: 6841 ldr r1, [r0, #4] + 8008df4: 2900 cmp r1, #0 + 8008df6: f43f af76 beq.w 8008ce6 + 8008dfa: 2000 movs r0, #0 + 8008dfc: f001 f9ee bl 800a1dc + 8008e00: 2800 cmp r0, #0 + 8008e02: d0cd beq.n 8008da0 + 8008e04: 2011 movs r0, #17 + 8008e06: e76f b.n 8008ce8 + 8008e08: 6841 ldr r1, [r0, #4] + 8008e0a: 2900 cmp r1, #0 + 8008e0c: f43f af6b beq.w 8008ce6 + 8008e10: 2001 movs r0, #1 + 8008e12: e7f3 b.n 8008dfc + 8008e14: 6841 ldr r1, [r0, #4] + 8008e16: 2900 cmp r1, #0 + 8008e18: f43f af65 beq.w 8008ce6 + 8008e1c: 2008 movs r0, #8 + 8008e1e: e7ed b.n 8008dfc + 8008e20: 6841 ldr r1, [r0, #4] + 8008e22: 2900 cmp r1, #0 + 8008e24: f43f af5f beq.w 8008ce6 + 8008e28: 2009 movs r0, #9 + 8008e2a: e7e7 b.n 8008dfc + 8008e2c: 6841 ldr r1, [r0, #4] + 8008e2e: 2900 cmp r1, #0 + 8008e30: f43f af59 beq.w 8008ce6 + 8008e34: 200c movs r0, #12 + 8008e36: e7e1 b.n 8008dfc + 8008e38: 6841 ldr r1, [r0, #4] + 8008e3a: 2900 cmp r1, #0 + 8008e3c: f43f af53 beq.w 8008ce6 + 8008e40: 200d movs r0, #13 + 8008e42: e7db b.n 8008dfc + 8008e44: 6841 ldr r1, [r0, #4] + 8008e46: 2900 cmp r1, #0 + 8008e48: f43f af4d beq.w 8008ce6 + 8008e4c: 200e movs r0, #14 + 8008e4e: e7d5 b.n 8008dfc + 8008e50: 6841 ldr r1, [r0, #4] + 8008e52: 2900 cmp r1, #0 + 8008e54: f43f af47 beq.w 8008ce6 + 8008e58: 200f movs r0, #15 + 8008e5a: e7cf b.n 8008dfc + 8008e5c: 4c4a ldr r4, [pc, #296] ; (8008f88 ) + 8008e5e: 4b49 ldr r3, [pc, #292] ; (8008f84 ) + 8008e60: 7900 ldrb r0, [r0, #4] + 8008e62: f883 0119 strb.w r0, [r3, #281] ; 0x119 + 8008e66: 6da3 ldr r3, [r4, #88] ; 0x58 + 8008e68: 4798 blx r3 + 8008e6a: 6ae3 ldr r3, [r4, #44] ; 0x2c + 8008e6c: 4798 blx r3 + 8008e6e: e797 b.n 8008da0 + 8008e70: 4b44 ldr r3, [pc, #272] ; (8008f84 ) + 8008e72: 7902 ldrb r2, [r0, #4] + 8008e74: f883 208c strb.w r2, [r3, #140] ; 0x8c + 8008e78: e792 b.n 8008da0 + 8008e7a: 4e42 ldr r6, [pc, #264] ; (8008f84 ) + 8008e7c: 7a03 ldrb r3, [r0, #8] + 8008e7e: f88d 3004 strb.w r3, [sp, #4] + 8008e82: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 8008e86: f896 307d ldrb.w r3, [r6, #125] ; 0x7d + 8008e8a: f88d 3005 strb.w r3, [sp, #5] + 8008e8e: 2207 movs r2, #7 + 8008e90: a901 add r1, sp, #4 + 8008e92: f001 fbc2 bl 800a61a + 8008e96: 2800 cmp r0, #0 + 8008e98: f43f af25 beq.w 8008ce6 + 8008e9c: 6863 ldr r3, [r4, #4] + 8008e9e: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 8008ea2: 9301 str r3, [sp, #4] + 8008ea4: 2200 movs r2, #0 + 8008ea6: a901 add r1, sp, #4 + 8008ea8: f001 fbb7 bl 800a61a + 8008eac: 2800 cmp r0, #0 + 8008eae: f43f af1a beq.w 8008ce6 + 8008eb2: 366c adds r6, #108 ; 0x6c + 8008eb4: e9d4 0101 ldrd r0, r1, [r4, #4] + 8008eb8: e886 0003 stmia.w r6, {r0, r1} + 8008ebc: e770 b.n 8008da0 + 8008ebe: 4e31 ldr r6, [pc, #196] ; (8008f84 ) + 8008ec0: 7a03 ldrb r3, [r0, #8] + 8008ec2: f88d 3004 strb.w r3, [sp, #4] + 8008ec6: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 8008eca: f896 307d ldrb.w r3, [r6, #125] ; 0x7d + 8008ece: f88d 3005 strb.w r3, [sp, #5] + 8008ed2: 2207 movs r2, #7 + 8008ed4: a901 add r1, sp, #4 + 8008ed6: f001 fba0 bl 800a61a + 8008eda: 2800 cmp r0, #0 + 8008edc: f43f af03 beq.w 8008ce6 + 8008ee0: 36b4 adds r6, #180 ; 0xb4 + 8008ee2: e7e7 b.n 8008eb4 + 8008ee4: 4e27 ldr r6, [pc, #156] ; (8008f84 ) + 8008ee6: 7a03 ldrb r3, [r0, #8] + 8008ee8: f88d 3004 strb.w r3, [sp, #4] + 8008eec: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 8008ef0: f896 307d ldrb.w r3, [r6, #125] ; 0x7d + 8008ef4: f88d 3005 strb.w r3, [sp, #5] + 8008ef8: 2207 movs r2, #7 + 8008efa: a901 add r1, sp, #4 + 8008efc: f001 fb8d bl 800a61a + 8008f00: 2800 cmp r0, #0 + 8008f02: f43f aef0 beq.w 8008ce6 + 8008f06: e9d4 0101 ldrd r0, r1, [r4, #4] + 8008f0a: f106 0374 add.w r3, r6, #116 ; 0x74 + 8008f0e: e883 0003 stmia.w r3, {r0, r1} + 8008f12: f896 3118 ldrb.w r3, [r6, #280] ; 0x118 + 8008f16: 2b02 cmp r3, #2 + 8008f18: f47f af42 bne.w 8008da0 + 8008f1c: f896 3130 ldrb.w r3, [r6, #304] ; 0x130 + 8008f20: 2b00 cmp r3, #0 + 8008f22: f43f af3d beq.w 8008da0 + 8008f26: 4b18 ldr r3, [pc, #96] ; (8008f88 ) + 8008f28: 6adb ldr r3, [r3, #44] ; 0x2c + 8008f2a: 4798 blx r3 + 8008f2c: f7fd ff48 bl 8006dc0 + 8008f30: e736 b.n 8008da0 + 8008f32: 4e14 ldr r6, [pc, #80] ; (8008f84 ) + 8008f34: 7a03 ldrb r3, [r0, #8] + 8008f36: f88d 3004 strb.w r3, [sp, #4] + 8008f3a: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 8008f3e: f896 307d ldrb.w r3, [r6, #125] ; 0x7d + 8008f42: f88d 3005 strb.w r3, [sp, #5] + 8008f46: 2207 movs r2, #7 + 8008f48: a901 add r1, sp, #4 + 8008f4a: f001 fb66 bl 800a61a + 8008f4e: 2800 cmp r0, #0 + 8008f50: f43f aec9 beq.w 8008ce6 + 8008f54: 36bc adds r6, #188 ; 0xbc + 8008f56: e7ad b.n 8008eb4 + 8008f58: 6843 ldr r3, [r0, #4] + 8008f5a: 9302 str r3, [sp, #8] + 8008f5c: 2301 movs r3, #1 + 8008f5e: f88d 300c strb.w r3, [sp, #12] + 8008f62: 4b08 ldr r3, [pc, #32] ; (8008f84 ) + 8008f64: a902 add r1, sp, #8 + 8008f66: f893 0048 ldrb.w r0, [r3, #72] ; 0x48 + 8008f6a: f001 fb63 bl 800a634 + 8008f6e: 2800 cmp r0, #0 + 8008f70: f47f af16 bne.w 8008da0 + 8008f74: e6b7 b.n 8008ce6 + 8008f76: 6843 ldr r3, [r0, #4] + 8008f78: 9302 str r3, [sp, #8] + 8008f7a: 2300 movs r3, #0 + 8008f7c: e7ef b.n 8008f5e + 8008f7e: bf00 nop + 8008f80: 200011c8 .word 0x200011c8 + 8008f84: 20000c00 .word 0x20000c00 + 8008f88: 0800fa0c .word 0x0800fa0c + 8008f8c: 7903 ldrb r3, [r0, #4] + 8008f8e: 1e5a subs r2, r3, #1 + 8008f90: 2a0e cmp r2, #14 + 8008f92: f63f aea8 bhi.w 8008ce6 + 8008f96: 4a93 ldr r2, [pc, #588] ; (80091e4 ) + 8008f98: f882 3068 strb.w r3, [r2, #104] ; 0x68 + 8008f9c: e700 b.n 8008da0 + 8008f9e: 4b91 ldr r3, [pc, #580] ; (80091e4 ) + 8008fa0: 6842 ldr r2, [r0, #4] + 8008fa2: 655a str r2, [r3, #84] ; 0x54 + 8008fa4: e6fc b.n 8008da0 + 8008fa6: 4b8f ldr r3, [pc, #572] ; (80091e4 ) + 8008fa8: 6842 ldr r2, [r0, #4] + 8008faa: 659a str r2, [r3, #88] ; 0x58 + 8008fac: e6f8 b.n 8008da0 + 8008fae: 4b8d ldr r3, [pc, #564] ; (80091e4 ) + 8008fb0: 6842 ldr r2, [r0, #4] + 8008fb2: 65da str r2, [r3, #92] ; 0x5c + 8008fb4: e6f4 b.n 8008da0 + 8008fb6: 4b8b ldr r3, [pc, #556] ; (80091e4 ) + 8008fb8: 6842 ldr r2, [r0, #4] + 8008fba: 661a str r2, [r3, #96] ; 0x60 + 8008fbc: e6f0 b.n 8008da0 + 8008fbe: 4b89 ldr r3, [pc, #548] ; (80091e4 ) + 8008fc0: 6842 ldr r2, [r0, #4] + 8008fc2: 665a str r2, [r3, #100] ; 0x64 + 8008fc4: e6ec b.n 8008da0 + 8008fc6: 4c87 ldr r4, [pc, #540] ; (80091e4 ) + 8008fc8: 7903 ldrb r3, [r0, #4] + 8008fca: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8008fce: f88d 3004 strb.w r3, [sp, #4] + 8008fd2: 2206 movs r2, #6 + 8008fd4: a901 add r1, sp, #4 + 8008fd6: f001 fb20 bl 800a61a + 8008fda: 2800 cmp r0, #0 + 8008fdc: f43f ae83 beq.w 8008ce6 + 8008fe0: f89d 3004 ldrb.w r3, [sp, #4] + 8008fe4: f884 30dd strb.w r3, [r4, #221] ; 0xdd + 8008fe8: e6da b.n 8008da0 + 8008fea: 4c7e ldr r4, [pc, #504] ; (80091e4 ) + 8008fec: 7903 ldrb r3, [r0, #4] + 8008fee: f88d 3004 strb.w r3, [sp, #4] + 8008ff2: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8008ff6: f894 307c ldrb.w r3, [r4, #124] ; 0x7c + 8008ffa: f88d 3006 strb.w r3, [sp, #6] + 8008ffe: 2205 movs r2, #5 + 8009000: a901 add r1, sp, #4 + 8009002: f001 fb0a bl 800a61a + 8009006: 2800 cmp r0, #0 + 8009008: f43f ae6d beq.w 8008ce6 + 800900c: f89d 3004 ldrb.w r3, [sp, #4] + 8009010: f884 3039 strb.w r3, [r4, #57] ; 0x39 + 8009014: e6c4 b.n 8008da0 + 8009016: 4c73 ldr r4, [pc, #460] ; (80091e4 ) + 8009018: 7903 ldrb r3, [r0, #4] + 800901a: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 800901e: f88d 3004 strb.w r3, [sp, #4] + 8009022: 220a movs r2, #10 + 8009024: a901 add r1, sp, #4 + 8009026: f001 faf8 bl 800a61a + 800902a: 2800 cmp r0, #0 + 800902c: f43f ae5b beq.w 8008ce6 + 8009030: f89d 3004 ldrb.w r3, [sp, #4] + 8009034: f884 30dc strb.w r3, [r4, #220] ; 0xdc + 8009038: e6b2 b.n 8008da0 + 800903a: 4c6a ldr r4, [pc, #424] ; (80091e4 ) + 800903c: 7903 ldrb r3, [r0, #4] + 800903e: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8009042: f88d 3004 strb.w r3, [sp, #4] + 8009046: 2209 movs r2, #9 + 8009048: a901 add r1, sp, #4 + 800904a: f001 fae6 bl 800a61a + 800904e: 2800 cmp r0, #0 + 8009050: f43f ae49 beq.w 8008ce6 + 8009054: f89d 3004 ldrb.w r3, [sp, #4] + 8009058: f884 3038 strb.w r3, [r4, #56] ; 0x38 + 800905c: e6a0 b.n 8008da0 + 800905e: 4b61 ldr r3, [pc, #388] ; (80091e4 ) + 8009060: 6842 ldr r2, [r0, #4] + 8009062: f8c3 2094 str.w r2, [r3, #148] ; 0x94 + 8009066: 64da str r2, [r3, #76] ; 0x4c + 8009068: e69a b.n 8008da0 + 800906a: 4b5e ldr r3, [pc, #376] ; (80091e4 ) + 800906c: 7902 ldrb r2, [r0, #4] + 800906e: f883 2098 strb.w r2, [r3, #152] ; 0x98 + 8009072: f883 2050 strb.w r2, [r3, #80] ; 0x50 + 8009076: e693 b.n 8008da0 + 8009078: 4b5a ldr r3, [pc, #360] ; (80091e4 ) + 800907a: 6842 ldr r2, [r0, #4] + 800907c: f8c3 2084 str.w r2, [r3, #132] ; 0x84 + 8009080: e68e b.n 8008da0 + 8009082: 4b58 ldr r3, [pc, #352] ; (80091e4 ) + 8009084: 6842 ldr r2, [r0, #4] + 8009086: f8c3 20cc str.w r2, [r3, #204] ; 0xcc + 800908a: e689 b.n 8008da0 + 800908c: 2b01 cmp r3, #1 + 800908e: f040 80a4 bne.w 80091da + 8009092: 4c55 ldr r4, [pc, #340] ; (80091e8 ) + 8009094: 2124 movs r1, #36 ; 0x24 + 8009096: 4620 mov r0, r4 + 8009098: f003 fa4e bl 800c538 + 800909c: 6a63 ldr r3, [r4, #36] ; 0x24 + 800909e: 4298 cmp r0, r3 + 80090a0: d001 beq.n 80090a6 + 80090a2: 2017 movs r0, #23 + 80090a4: e620 b.n 8008ce8 + 80090a6: 211c movs r1, #28 + 80090a8: f104 0028 add.w r0, r4, #40 ; 0x28 + 80090ac: f003 fa44 bl 800c538 + 80090b0: 6c63 ldr r3, [r4, #68] ; 0x44 + 80090b2: 4298 cmp r0, r3 + 80090b4: d1f5 bne.n 80090a2 + 80090b6: f44f 7180 mov.w r1, #256 ; 0x100 + 80090ba: f104 0048 add.w r0, r4, #72 ; 0x48 + 80090be: f003 fa3b bl 800c538 + 80090c2: f8d4 3148 ldr.w r3, [r4, #328] ; 0x148 + 80090c6: 4298 cmp r0, r3 + 80090c8: d1eb bne.n 80090a2 + 80090ca: 21d4 movs r1, #212 ; 0xd4 + 80090cc: f504 70a6 add.w r0, r4, #332 ; 0x14c + 80090d0: f003 fa32 bl 800c538 + 80090d4: f8d4 3220 ldr.w r3, [r4, #544] ; 0x220 + 80090d8: 4298 cmp r0, r3 + 80090da: d1e2 bne.n 80090a2 + 80090dc: 2100 movs r1, #0 + 80090de: f504 7009 add.w r0, r4, #548 ; 0x224 + 80090e2: f003 fa29 bl 800c538 + 80090e6: f8d4 3224 ldr.w r3, [r4, #548] ; 0x224 + 80090ea: 4298 cmp r0, r3 + 80090ec: d1d9 bne.n 80090a2 + 80090ee: f44f 7160 mov.w r1, #896 ; 0x380 + 80090f2: f504 700a add.w r0, r4, #552 ; 0x228 + 80090f6: f003 fa1f bl 800c538 + 80090fa: f8d4 35a8 ldr.w r3, [r4, #1448] ; 0x5a8 + 80090fe: 4298 cmp r0, r3 + 8009100: d1cf bne.n 80090a2 + 8009102: 2114 movs r1, #20 + 8009104: f204 50ac addw r0, r4, #1452 ; 0x5ac + 8009108: f003 fa16 bl 800c538 + 800910c: f8d4 35c0 ldr.w r3, [r4, #1472] ; 0x5c0 + 8009110: 4298 cmp r0, r3 + 8009112: d1c6 bne.n 80090a2 + 8009114: 4e33 ldr r6, [pc, #204] ; (80091e4 ) + 8009116: 4621 mov r1, r4 + 8009118: 4630 mov r0, r6 + 800911a: f240 52c4 movw r2, #1476 ; 0x5c4 + 800911e: f003 f9f5 bl 800c50c + 8009122: 4620 mov r0, r4 + 8009124: f240 52c4 movw r2, #1476 ; 0x5c4 + 8009128: 2100 movs r1, #0 + 800912a: f003 fa03 bl 800c534 + 800912e: f895 341b ldrb.w r3, [r5, #1051] ; 0x41b + 8009132: f885 33e8 strb.w r3, [r5, #1000] ; 0x3e8 + 8009136: 6f73 ldr r3, [r6, #116] ; 0x74 + 8009138: f8c5 33ec str.w r3, [r5, #1004] ; 0x3ec + 800913c: f896 307d ldrb.w r3, [r6, #125] ; 0x7d + 8009140: f885 33f8 strb.w r3, [r5, #1016] ; 0x3f8 + 8009144: f240 2301 movw r3, #513 ; 0x201 + 8009148: f8a5 33fa strh.w r3, [r5, #1018] ; 0x3fa + 800914c: 4b27 ldr r3, [pc, #156] ; (80091ec ) + 800914e: f896 0119 ldrb.w r0, [r6, #281] ; 0x119 + 8009152: 6d9b ldr r3, [r3, #88] ; 0x58 + 8009154: 4798 blx r3 + 8009156: e623 b.n 8008da0 + 8009158: 7983 ldrb r3, [r0, #6] + 800915a: 2b01 cmp r3, #1 + 800915c: f63f adc3 bhi.w 8008ce6 + 8009160: 4b20 ldr r3, [pc, #128] ; (80091e4 ) + 8009162: 6842 ldr r2, [r0, #4] + 8009164: 6840 ldr r0, [r0, #4] + 8009166: f8c3 212c str.w r2, [r3, #300] ; 0x12c + 800916a: f000 fed1 bl 8009f10 + 800916e: e647 b.n 8008e00 + 8009170: 4b1c ldr r3, [pc, #112] ; (80091e4 ) + 8009172: 6842 ldr r2, [r0, #4] + 8009174: f8c3 2090 str.w r2, [r3, #144] ; 0x90 + 8009178: e612 b.n 8008da0 + 800917a: 4b1a ldr r3, [pc, #104] ; (80091e4 ) + 800917c: 7902 ldrb r2, [r0, #4] + 800917e: f883 211f strb.w r2, [r3, #287] ; 0x11f + 8009182: e60d b.n 8008da0 + 8009184: 4b17 ldr r3, [pc, #92] ; (80091e4 ) + 8009186: 8882 ldrh r2, [r0, #4] + 8009188: f8a3 2088 strh.w r2, [r3, #136] ; 0x88 + 800918c: e608 b.n 8008da0 + 800918e: 4b15 ldr r3, [pc, #84] ; (80091e4 ) + 8009190: 8882 ldrh r2, [r0, #4] + 8009192: f8a3 208a strh.w r2, [r3, #138] ; 0x8a + 8009196: e603 b.n 8008da0 + 8009198: 4b12 ldr r3, [pc, #72] ; (80091e4 ) + 800919a: 8882 ldrh r2, [r0, #4] + 800919c: f8a3 20d0 strh.w r2, [r3, #208] ; 0xd0 + 80091a0: e5fe b.n 8008da0 + 80091a2: 4b10 ldr r3, [pc, #64] ; (80091e4 ) + 80091a4: 8882 ldrh r2, [r0, #4] + 80091a6: f8a3 20d2 strh.w r2, [r3, #210] ; 0xd2 + 80091aa: e5f9 b.n 8008da0 + 80091ac: 4b0d ldr r3, [pc, #52] ; (80091e4 ) + 80091ae: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 + 80091b2: b10a cbz r2, 80091b8 + 80091b4: 2a06 cmp r2, #6 + 80091b6: d112 bne.n 80091de + 80091b8: 88a2 ldrh r2, [r4, #4] + 80091ba: f8a3 25a0 strh.w r2, [r3, #1440] ; 0x5a0 + 80091be: e5ef b.n 8008da0 + 80091c0: 4b08 ldr r3, [pc, #32] ; (80091e4 ) + 80091c2: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 + 80091c6: b10a cbz r2, 80091cc + 80091c8: 2a06 cmp r2, #6 + 80091ca: d108 bne.n 80091de + 80091cc: 6862 ldr r2, [r4, #4] + 80091ce: f8c3 25a4 str.w r2, [r3, #1444] ; 0x5a4 + 80091d2: e5e5 b.n 8008da0 + 80091d4: f000 fb99 bl 800990a + 80091d8: e5d9 b.n 8008d8e + 80091da: 2001 movs r0, #1 + 80091dc: e584 b.n 8008ce8 + 80091de: 2018 movs r0, #24 + 80091e0: e582 b.n 8008ce8 + 80091e2: bf00 nop + 80091e4: 20000c00 .word 0x20000c00 + 80091e8: 2000063c .word 0x2000063c + 80091ec: 0800fa0c .word 0x0800fa0c + +080091f0 : + 80091f0: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} + 80091f4: b087 sub sp, #28 + 80091f6: 2300 movs r3, #0 + 80091f8: f8ad 3000 strh.w r3, [sp] + 80091fc: 4606 mov r6, r0 + 80091fe: 2800 cmp r0, #0 + 8009200: f000 80ed beq.w 80093de + 8009204: 6103 str r3, [r0, #16] + 8009206: f7fe fd3d bl 8007c84 + 800920a: b120 cbz r0, 8009216 + 800920c: 2401 movs r4, #1 + 800920e: 4620 mov r0, r4 + 8009210: b007 add sp, #28 + 8009212: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 8009216: f000 fd73 bl 8009d00 + 800921a: 2800 cmp r0, #0 + 800921c: d1f6 bne.n 800920c + 800921e: f000 fd69 bl 8009cf4 + 8009222: 4601 mov r1, r0 + 8009224: b918 cbnz r0, 800922e + 8009226: 486f ldr r0, [pc, #444] ; (80093e4 ) + 8009228: 2214 movs r2, #20 + 800922a: f003 f983 bl 800c534 + 800922e: 4d6e ldr r5, [pc, #440] ; (80093e8 ) + 8009230: f895 3491 ldrb.w r3, [r5, #1169] ; 0x491 + 8009234: 2201 movs r2, #1 + 8009236: f043 0304 orr.w r3, r3, #4 + 800923a: f885 2455 strb.w r2, [r5, #1109] ; 0x455 + 800923e: f885 3491 strb.w r3, [r5, #1169] ; 0x491 + 8009242: 7833 ldrb r3, [r6, #0] + 8009244: f88d 3004 strb.w r3, [sp, #4] + 8009248: 2100 movs r1, #0 + 800924a: 3b01 subs r3, #1 + 800924c: f88d 2005 strb.w r2, [sp, #5] + 8009250: f8ad 1006 strh.w r1, [sp, #6] + 8009254: 2b0c cmp r3, #12 + 8009256: f200 80ba bhi.w 80093ce + 800925a: e8df f003 tbb [pc, r3] + 800925e: b807 .short 0xb807 + 8009260: 8178b8b8 .word 0x8178b8b8 + 8009264: b88fb8b8 .word 0xb88fb8b8 + 8009268: 99ac .short 0x99ac + 800926a: a8 .byte 0xa8 + 800926b: 00 .byte 0x00 + 800926c: f8d5 7340 ldr.w r7, [r5, #832] ; 0x340 + 8009270: f017 0720 ands.w r7, r7, #32 + 8009274: d1ca bne.n 800920c + 8009276: f896 8004 ldrb.w r8, [r6, #4] + 800927a: f1b8 0f02 cmp.w r8, #2 + 800927e: d145 bne.n 800930c + 8009280: f8df 8168 ldr.w r8, [pc, #360] ; 80093ec + 8009284: 4c5a ldr r4, [pc, #360] ; (80093f0 ) + 8009286: f7fe f829 bl 80072dc + 800928a: f996 1005 ldrsb.w r1, [r6, #5] + 800928e: f898 0048 ldrb.w r0, [r8, #72] ; 0x48 + 8009292: 463a mov r2, r7 + 8009294: f001 fa1b bl 800a6ce + 8009298: f888 0039 strb.w r0, [r8, #57] ; 0x39 + 800929c: 79b3 ldrb r3, [r6, #6] + 800929e: f888 3038 strb.w r3, [r8, #56] ; 0x38 + 80092a2: 4638 mov r0, r7 + 80092a4: 2307 movs r3, #7 + 80092a6: f88d 3005 strb.w r3, [sp, #5] + 80092aa: f7fd fe31 bl 8006f10 + 80092ae: 23ff movs r3, #255 ; 0xff + 80092b0: f504 7086 add.w r0, r4, #268 ; 0x10c + 80092b4: f8a5 310c strh.w r3, [r5, #268] ; 0x10c + 80092b8: f8c5 4108 str.w r4, [r5, #264] ; 0x108 + 80092bc: f885 7104 strb.w r7, [r5, #260] ; 0x104 + 80092c0: f003 f84e bl 800c360 + 80092c4: f504 708a add.w r0, r4, #276 ; 0x114 + 80092c8: f003 f804 bl 800c2d4 + 80092cc: 4638 mov r0, r7 + 80092ce: f7fd fe8d bl 8006fec + 80092d2: 4604 mov r4, r0 + 80092d4: b140 cbz r0, 80092e8 + 80092d6: f996 1005 ldrsb.w r1, [r6, #5] + 80092da: f898 0048 ldrb.w r0, [r8, #72] ; 0x48 + 80092de: 2201 movs r2, #1 + 80092e0: f001 f9f5 bl 800a6ce + 80092e4: f888 0039 strb.w r0, [r8, #57] ; 0x39 + 80092e8: f8d5 3494 ldr.w r3, [r5, #1172] ; 0x494 + 80092ec: 6133 str r3, [r6, #16] + 80092ee: 2c00 cmp r4, #0 + 80092f0: d071 beq.n 80093d6 + 80092f2: f000 fcff bl 8009cf4 + 80092f6: 2800 cmp r0, #0 + 80092f8: d189 bne.n 800920e + 80092fa: f895 3491 ldrb.w r3, [r5, #1169] ; 0x491 + 80092fe: f885 041a strb.w r0, [r5, #1050] ; 0x41a + 8009302: f360 0382 bfi r3, r0, #2, #1 + 8009306: f885 3491 strb.w r3, [r5, #1169] ; 0x491 + 800930a: e780 b.n 800920e + 800930c: f1b8 0f01 cmp.w r8, #1 + 8009310: f04f 0402 mov.w r4, #2 + 8009314: d1e8 bne.n 80092e8 + 8009316: f8df 90d4 ldr.w r9, [pc, #212] ; 80093ec + 800931a: f88d 4014 strb.w r4, [sp, #20] + 800931e: f899 0048 ldrb.w r0, [r9, #72] ; 0x48 + 8009322: f889 711d strb.w r7, [r9, #285] ; 0x11d + 8009326: a902 add r1, sp, #8 + 8009328: f001 f972 bl 800a610 + 800932c: 7933 ldrb r3, [r6, #4] + 800932e: f889 3130 strb.w r3, [r9, #304] ; 0x130 + 8009332: f88d 7005 strb.w r7, [sp, #5] + 8009336: f88d 8006 strb.w r8, [sp, #6] + 800933a: f7fd fc85 bl 8006c48 + 800933e: f895 3491 ldrb.w r3, [r5, #1169] ; 0x491 + 8009342: f043 0310 orr.w r3, r3, #16 + 8009346: f885 3491 strb.w r3, [r5, #1169] ; 0x491 + 800934a: 2400 movs r4, #0 + 800934c: e7cc b.n 80092e8 + 800934e: 2200 movs r2, #0 + 8009350: 4669 mov r1, sp + 8009352: 2002 movs r0, #2 + 8009354: f000 faf6 bl 8009944 + 8009358: 2800 cmp r0, #0 + 800935a: d0f6 beq.n 800934a + 800935c: 2413 movs r4, #19 + 800935e: e7c3 b.n 80092e8 + 8009360: 4b24 ldr r3, [pc, #144] ; (80093f4 ) + 8009362: 88b2 ldrh r2, [r6, #4] + 8009364: 6bdb ldr r3, [r3, #60] ; 0x3c + 8009366: f996 100c ldrsb.w r1, [r6, #12] + 800936a: 68b0 ldr r0, [r6, #8] + 800936c: 4798 blx r3 + 800936e: f8d5 3340 ldr.w r3, [r5, #832] ; 0x340 + 8009372: f043 0302 orr.w r3, r3, #2 + 8009376: f8c5 3340 str.w r3, [r5, #832] ; 0x340 + 800937a: e7e6 b.n 800934a + 800937c: a902 add r1, sp, #8 + 800937e: 200d movs r0, #13 + 8009380: f000 fb60 bl 8009a44 + 8009384: 2800 cmp r0, #0 + 8009386: d0e0 beq.n 800934a + 8009388: 2200 movs r2, #0 + 800938a: 4669 mov r1, sp + 800938c: 200d movs r0, #13 + 800938e: e7e1 b.n 8009354 + 8009390: 4b16 ldr r3, [pc, #88] ; (80093ec ) + 8009392: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 + 8009396: b9d3 cbnz r3, 80093ce + 8009398: 7934 ldrb r4, [r6, #4] + 800939a: f004 0007 and.w r0, r4, #7 + 800939e: f000 faad bl 80098fc + 80093a2: f88d 4000 strb.w r4, [sp] + 80093a6: 2201 movs r2, #1 + 80093a8: 4669 mov r1, sp + 80093aa: 2010 movs r0, #16 + 80093ac: e7d2 b.n 8009354 + 80093ae: 2200 movs r2, #0 + 80093b0: 4669 mov r1, sp + 80093b2: 2012 movs r0, #18 + 80093b4: e7ce b.n 8009354 + 80093b6: f88d 2007 strb.w r2, [sp, #7] + 80093ba: f000 fa90 bl 80098de + 80093be: 4604 mov r4, r0 + 80093c0: b938 cbnz r0, 80093d2 + 80093c2: f000 fa89 bl 80098d8 + 80093c6: 4620 mov r0, r4 + 80093c8: f000 fa8b bl 80098e2 + 80093cc: e78c b.n 80092e8 + 80093ce: 2402 movs r4, #2 + 80093d0: e78a b.n 80092e8 + 80093d2: 2401 movs r4, #1 + 80093d4: e788 b.n 80092e8 + 80093d6: a801 add r0, sp, #4 + 80093d8: f000 fbde bl 8009b98 + 80093dc: e717 b.n 800920e + 80093de: 2403 movs r4, #3 + 80093e0: e715 b.n 800920e + 80093e2: bf00 nop + 80093e4: 2000161c .word 0x2000161c + 80093e8: 200011c8 .word 0x200011c8 + 80093ec: 20000c00 .word 0x20000c00 + 80093f0: 200011ca .word 0x200011ca + 80093f4: 0800fa0c .word 0x0800fa0c + +080093f8 : + 80093f8: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 80093fc: b099 sub sp, #100 ; 0x64 + 80093fe: 4680 mov r8, r0 + 8009400: 9105 str r1, [sp, #20] + 8009402: b918 cbnz r0, 800940c + 8009404: 2003 movs r0, #3 + 8009406: b019 add sp, #100 ; 0x64 + 8009408: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800940c: 2300 movs r3, #0 + 800940e: 6103 str r3, [r0, #16] + 8009410: f7fe fc38 bl 8007c84 + 8009414: 4606 mov r6, r0 8009416: 2800 cmp r0, #0 - 8009418: f43f ae49 beq.w 80090ae - 800941c: f89d 3004 ldrb.w r3, [sp, #4] - 8009420: f884 3038 strb.w r3, [r4, #56] ; 0x38 - 8009424: e6a0 b.n 8009168 - 8009426: 4b61 ldr r3, [pc, #388] ; (80095ac ) - 8009428: 6842 ldr r2, [r0, #4] - 800942a: f8c3 2094 str.w r2, [r3, #148] ; 0x94 - 800942e: 64da str r2, [r3, #76] ; 0x4c - 8009430: e69a b.n 8009168 - 8009432: 4b5e ldr r3, [pc, #376] ; (80095ac ) - 8009434: 7902 ldrb r2, [r0, #4] - 8009436: f883 2098 strb.w r2, [r3, #152] ; 0x98 - 800943a: f883 2050 strb.w r2, [r3, #80] ; 0x50 - 800943e: e693 b.n 8009168 - 8009440: 4b5a ldr r3, [pc, #360] ; (80095ac ) - 8009442: 6842 ldr r2, [r0, #4] - 8009444: f8c3 2084 str.w r2, [r3, #132] ; 0x84 - 8009448: e68e b.n 8009168 - 800944a: 4b58 ldr r3, [pc, #352] ; (80095ac ) - 800944c: 6842 ldr r2, [r0, #4] - 800944e: f8c3 20cc str.w r2, [r3, #204] ; 0xcc - 8009452: e689 b.n 8009168 - 8009454: 2b01 cmp r3, #1 - 8009456: f040 80a4 bne.w 80095a2 - 800945a: 4c55 ldr r4, [pc, #340] ; (80095b0 ) - 800945c: 2124 movs r1, #36 ; 0x24 - 800945e: 4620 mov r0, r4 - 8009460: f003 fa4e bl 800c900 - 8009464: 6a63 ldr r3, [r4, #36] ; 0x24 - 8009466: 4298 cmp r0, r3 - 8009468: d001 beq.n 800946e - 800946a: 2017 movs r0, #23 - 800946c: e620 b.n 80090b0 - 800946e: 211c movs r1, #28 - 8009470: f104 0028 add.w r0, r4, #40 ; 0x28 - 8009474: f003 fa44 bl 800c900 - 8009478: 6c63 ldr r3, [r4, #68] ; 0x44 - 800947a: 4298 cmp r0, r3 - 800947c: d1f5 bne.n 800946a - 800947e: f44f 7180 mov.w r1, #256 ; 0x100 - 8009482: f104 0048 add.w r0, r4, #72 ; 0x48 - 8009486: f003 fa3b bl 800c900 - 800948a: f8d4 3148 ldr.w r3, [r4, #328] ; 0x148 - 800948e: 4298 cmp r0, r3 - 8009490: d1eb bne.n 800946a - 8009492: 21d4 movs r1, #212 ; 0xd4 - 8009494: f504 70a6 add.w r0, r4, #332 ; 0x14c - 8009498: f003 fa32 bl 800c900 - 800949c: f8d4 3220 ldr.w r3, [r4, #544] ; 0x220 - 80094a0: 4298 cmp r0, r3 - 80094a2: d1e2 bne.n 800946a - 80094a4: 2100 movs r1, #0 - 80094a6: f504 7009 add.w r0, r4, #548 ; 0x224 - 80094aa: f003 fa29 bl 800c900 - 80094ae: f8d4 3224 ldr.w r3, [r4, #548] ; 0x224 - 80094b2: 4298 cmp r0, r3 - 80094b4: d1d9 bne.n 800946a - 80094b6: f44f 7160 mov.w r1, #896 ; 0x380 - 80094ba: f504 700a add.w r0, r4, #552 ; 0x228 - 80094be: f003 fa1f bl 800c900 - 80094c2: f8d4 35a8 ldr.w r3, [r4, #1448] ; 0x5a8 - 80094c6: 4298 cmp r0, r3 - 80094c8: d1cf bne.n 800946a - 80094ca: 2114 movs r1, #20 - 80094cc: f204 50ac addw r0, r4, #1452 ; 0x5ac - 80094d0: f003 fa16 bl 800c900 - 80094d4: f8d4 35c0 ldr.w r3, [r4, #1472] ; 0x5c0 - 80094d8: 4298 cmp r0, r3 - 80094da: d1c6 bne.n 800946a - 80094dc: 4e33 ldr r6, [pc, #204] ; (80095ac ) - 80094de: 4621 mov r1, r4 - 80094e0: 4630 mov r0, r6 - 80094e2: f240 52c4 movw r2, #1476 ; 0x5c4 - 80094e6: f003 f9f5 bl 800c8d4 - 80094ea: 4620 mov r0, r4 - 80094ec: f240 52c4 movw r2, #1476 ; 0x5c4 - 80094f0: 2100 movs r1, #0 - 80094f2: f003 fa03 bl 800c8fc - 80094f6: f895 341b ldrb.w r3, [r5, #1051] ; 0x41b - 80094fa: f885 33e8 strb.w r3, [r5, #1000] ; 0x3e8 - 80094fe: 6f73 ldr r3, [r6, #116] ; 0x74 - 8009500: f8c5 33ec str.w r3, [r5, #1004] ; 0x3ec - 8009504: f896 307d ldrb.w r3, [r6, #125] ; 0x7d - 8009508: f885 33f8 strb.w r3, [r5, #1016] ; 0x3f8 - 800950c: f240 2301 movw r3, #513 ; 0x201 - 8009510: f8a5 33fa strh.w r3, [r5, #1018] ; 0x3fa - 8009514: 4b27 ldr r3, [pc, #156] ; (80095b4 ) - 8009516: f896 0119 ldrb.w r0, [r6, #281] ; 0x119 - 800951a: 6d9b ldr r3, [r3, #88] ; 0x58 - 800951c: 4798 blx r3 - 800951e: e623 b.n 8009168 - 8009520: 7983 ldrb r3, [r0, #6] - 8009522: 2b01 cmp r3, #1 - 8009524: f63f adc3 bhi.w 80090ae - 8009528: 4b20 ldr r3, [pc, #128] ; (80095ac ) - 800952a: 6842 ldr r2, [r0, #4] - 800952c: 6840 ldr r0, [r0, #4] - 800952e: f8c3 212c str.w r2, [r3, #300] ; 0x12c - 8009532: f000 fed1 bl 800a2d8 - 8009536: e647 b.n 80091c8 - 8009538: 4b1c ldr r3, [pc, #112] ; (80095ac ) - 800953a: 6842 ldr r2, [r0, #4] - 800953c: f8c3 2090 str.w r2, [r3, #144] ; 0x90 - 8009540: e612 b.n 8009168 - 8009542: 4b1a ldr r3, [pc, #104] ; (80095ac ) - 8009544: 7902 ldrb r2, [r0, #4] - 8009546: f883 211f strb.w r2, [r3, #287] ; 0x11f - 800954a: e60d b.n 8009168 - 800954c: 4b17 ldr r3, [pc, #92] ; (80095ac ) - 800954e: 8882 ldrh r2, [r0, #4] - 8009550: f8a3 2088 strh.w r2, [r3, #136] ; 0x88 - 8009554: e608 b.n 8009168 - 8009556: 4b15 ldr r3, [pc, #84] ; (80095ac ) - 8009558: 8882 ldrh r2, [r0, #4] - 800955a: f8a3 208a strh.w r2, [r3, #138] ; 0x8a - 800955e: e603 b.n 8009168 - 8009560: 4b12 ldr r3, [pc, #72] ; (80095ac ) - 8009562: 8882 ldrh r2, [r0, #4] - 8009564: f8a3 20d0 strh.w r2, [r3, #208] ; 0xd0 - 8009568: e5fe b.n 8009168 - 800956a: 4b10 ldr r3, [pc, #64] ; (80095ac ) - 800956c: 8882 ldrh r2, [r0, #4] - 800956e: f8a3 20d2 strh.w r2, [r3, #210] ; 0xd2 - 8009572: e5f9 b.n 8009168 - 8009574: 4b0d ldr r3, [pc, #52] ; (80095ac ) - 8009576: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 - 800957a: b10a cbz r2, 8009580 - 800957c: 2a06 cmp r2, #6 - 800957e: d112 bne.n 80095a6 - 8009580: 88a2 ldrh r2, [r4, #4] - 8009582: f8a3 25a0 strh.w r2, [r3, #1440] ; 0x5a0 - 8009586: e5ef b.n 8009168 - 8009588: 4b08 ldr r3, [pc, #32] ; (80095ac ) - 800958a: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 - 800958e: b10a cbz r2, 8009594 - 8009590: 2a06 cmp r2, #6 - 8009592: d108 bne.n 80095a6 - 8009594: 6862 ldr r2, [r4, #4] - 8009596: f8c3 25a4 str.w r2, [r3, #1444] ; 0x5a4 - 800959a: e5e5 b.n 8009168 - 800959c: f000 fb99 bl 8009cd2 - 80095a0: e5d9 b.n 8009156 - 80095a2: 2001 movs r0, #1 - 80095a4: e584 b.n 80090b0 - 80095a6: 2018 movs r0, #24 - 80095a8: e582 b.n 80090b0 - 80095aa: bf00 nop - 80095ac: 20000c00 .word 0x20000c00 - 80095b0: 2000063c .word 0x2000063c - 80095b4: 080101cc .word 0x080101cc + 8009418: f040 80ab bne.w 8009572 + 800941c: 4645 mov r5, r8 + 800941e: cd0f ldmia r5!, {r0, r1, r2, r3} + 8009420: ac0e add r4, sp, #56 ; 0x38 + 8009422: c40f stmia r4!, {r0, r1, r2, r3} + 8009424: 4c5a ldr r4, [pc, #360] ; (8009590 ) + 8009426: f898 a000 ldrb.w sl, [r8] + 800942a: f8b8 700c ldrh.w r7, [r8, #12] + 800942e: f998 b00e ldrsb.w fp, [r8, #14] + 8009432: 2214 movs r2, #20 + 8009434: f504 6088 add.w r0, r4, #1088 ; 0x440 + 8009438: 4631 mov r1, r6 + 800943a: f003 f87b bl 800c534 + 800943e: 2201 movs r2, #1 + 8009440: f884 2441 strb.w r2, [r4, #1089] ; 0x441 + 8009444: 4c53 ldr r4, [pc, #332] ; (8009594 ) + 8009446: f894 2130 ldrb.w r2, [r4, #304] ; 0x130 + 800944a: 2a02 cmp r2, #2 + 800944c: 4635 mov r5, r6 + 800944e: d10b bne.n 8009468 + 8009450: f894 2118 ldrb.w r2, [r4, #280] ; 0x118 + 8009454: 2a02 cmp r2, #2 + 8009456: d107 bne.n 8009468 + 8009458: f894 211e ldrb.w r2, [r4, #286] ; 0x11e + 800945c: b922 cbnz r2, 8009468 + 800945e: f1ba 0f01 cmp.w sl, #1 + 8009462: bf38 it cc + 8009464: f04f 0a01 movcc.w sl, #1 + 8009468: f1ba 0f01 cmp.w sl, #1 + 800946c: d02d beq.n 80094ca + 800946e: f1ba 0f03 cmp.w sl, #3 + 8009472: d02c beq.n 80094ce + 8009474: f1ba 0f00 cmp.w sl, #0 + 8009478: d135 bne.n 80094e6 + 800947a: 2202 movs r2, #2 + 800947c: f89d 303c ldrb.w r3, [sp, #60] ; 0x3c + 8009480: f8dd 9040 ldr.w r9, [sp, #64] ; 0x40 + 8009484: 9302 str r3, [sp, #8] + 8009486: f362 1547 bfi r5, r2, #5, #3 + 800948a: 2601 movs r6, #1 + 800948c: f894 107c ldrb.w r1, [r4, #124] ; 0x7c + 8009490: f88d 1032 strb.w r1, [sp, #50] ; 0x32 + 8009494: 2202 movs r2, #2 + 8009496: a90c add r1, sp, #48 ; 0x30 + 8009498: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 800949c: f88d 2030 strb.w r2, [sp, #48] ; 0x30 + 80094a0: f001 f8a8 bl 800a5f4 + 80094a4: f894 311a ldrb.w r3, [r4, #282] ; 0x11a + 80094a8: f894 c130 ldrb.w ip, [r4, #304] ; 0x130 + 80094ac: f894 111d ldrb.w r1, [r4, #285] ; 0x11d + 80094b0: b240 sxtb r0, r0 + 80094b2: 2202 movs r2, #2 + 80094b4: 2b00 cmp r3, #0 + 80094b6: d06f beq.n 8009598 + 80094b8: f1bc 0f01 cmp.w ip, #1 + 80094bc: d165 bne.n 800958a + 80094be: 2900 cmp r1, #0 + 80094c0: d163 bne.n 800958a + 80094c2: 2e00 cmp r6, #0 + 80094c4: d16d bne.n 80095a2 + 80094c6: 4610 mov r0, r2 + 80094c8: e027 b.n 800951a + 80094ca: 2204 movs r2, #4 + 80094cc: e7d6 b.n 800947c + 80094ce: 2300 movs r3, #0 + 80094d0: f8dd 903c ldr.w r9, [sp, #60] ; 0x3c + 80094d4: f8bd 7040 ldrh.w r7, [sp, #64] ; 0x40 + 80094d8: f99d b042 ldrsb.w fp, [sp, #66] ; 0x42 + 80094dc: 9302 str r3, [sp, #8] + 80094de: f065 051f orn r5, r5, #31 + 80094e2: 2601 movs r6, #1 + 80094e4: e7d2 b.n 800948c + 80094e6: f04f 0b00 mov.w fp, #0 + 80094ea: 46d9 mov r9, fp + 80094ec: f8cd b008 str.w fp, [sp, #8] + 80094f0: e7cc b.n 800948c + 80094f2: f04f 0001 mov.w r0, #1 + 80094f6: f884 041a strb.w r0, [r4, #1050] ; 0x41a + 80094fa: e0dd b.n 80096b8 + 80094fc: f205 429a addw r2, r5, #1178 ; 0x49a + 8009500: a90b add r1, sp, #44 ; 0x2c + 8009502: f000 fadd bl 8009ac0 + 8009506: 2800 cmp r0, #0 + 8009508: f000 8120 beq.w 800974c + 800950c: 2013 movs r0, #19 + 800950e: 9b04 ldr r3, [sp, #16] + 8009510: 8733 strh r3, [r6, #56] ; 0x38 + 8009512: 4b1f ldr r3, [pc, #124] ; (8009590 ) + 8009514: 2200 movs r2, #0 + 8009516: f883 241a strb.w r2, [r3, #1050] ; 0x41a + 800951a: 4b1d ldr r3, [pc, #116] ; (8009590 ) + 800951c: f8d3 3494 ldr.w r3, [r3, #1172] ; 0x494 + 8009520: f8c8 3010 str.w r3, [r8, #16] + 8009524: e76f b.n 8009406 + 8009526: f205 459a addw r5, r5, #1178 ; 0x49a + 800952a: 462a mov r2, r5 + 800952c: a90b add r1, sp, #44 ; 0x2c + 800952e: f000 fac7 bl 8009ac0 + 8009532: 2800 cmp r0, #0 + 8009534: d1ea bne.n 800950c + 8009536: 9b0b ldr r3, [sp, #44] ; 0x2c + 8009538: f884 0128 strb.w r0, [r4, #296] ; 0x128 + 800953c: f8c4 512c str.w r5, [r4, #300] ; 0x12c + 8009540: f884 3130 strb.w r3, [r4, #304] ; 0x130 + 8009544: e102 b.n 800974c + 8009546: f1b9 0f00 cmp.w r9, #0 + 800954a: f000 80ff beq.w 800974c + 800954e: 2a00 cmp r2, #0 + 8009550: f000 80fc beq.w 800974c + 8009554: 4649 mov r1, r9 + 8009556: 1ce0 adds r0, r4, #3 + 8009558: f002 ffd8 bl 800c50c + 800955c: f894 3237 ldrb.w r3, [r4, #567] ; 0x237 + 8009560: 3301 adds r3, #1 + 8009562: 8023 strh r3, [r4, #0] + 8009564: e0f2 b.n 800974c + 8009566: 2012 movs r0, #18 + 8009568: e7d1 b.n 800950e + 800956a: 2002 movs r0, #2 + 800956c: e7cf b.n 800950e + 800956e: 2007 movs r0, #7 + 8009570: e7cf b.n 8009512 + 8009572: 2001 movs r0, #1 + 8009574: e747 b.n 8009406 + 8009576: 4b06 ldr r3, [pc, #24] ; (8009590 ) + 8009578: f893 2491 ldrb.w r2, [r3, #1169] ; 0x491 + 800957c: f883 a440 strb.w sl, [r3, #1088] ; 0x440 + 8009580: f042 0201 orr.w r2, r2, #1 + 8009584: f883 2491 strb.w r2, [r3, #1169] ; 0x491 + 8009588: e7c7 b.n 800951a + 800958a: b9ee cbnz r6, 80095c8 + 800958c: 2002 movs r0, #2 + 800958e: e7c4 b.n 800951a + 8009590: 200011c8 .word 0x200011c8 + 8009594: 20000c00 .word 0x20000c00 + 8009598: 2e00 cmp r6, #0 + 800959a: d094 beq.n 80094c6 + 800959c: 4558 cmp r0, fp + 800959e: bfb8 it lt + 80095a0: 4658 movlt r0, fp + 80095a2: f894 307c ldrb.w r3, [r4, #124] ; 0x7c + 80095a6: f88d 0020 strb.w r0, [sp, #32] + 80095aa: 2205 movs r2, #5 + 80095ac: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 80095b0: f88d 3022 strb.w r3, [sp, #34] ; 0x22 + 80095b4: a908 add r1, sp, #32 + 80095b6: f001 f830 bl 800a61a + 80095ba: 2800 cmp r0, #0 + 80095bc: f43f af22 beq.w 8009404 + 80095c0: f89d 3020 ldrb.w r3, [sp, #32] + 80095c4: f884 3039 strb.w r3, [r4, #57] ; 0x39 + 80095c8: 4a69 ldr r2, [pc, #420] ; (8009770 ) + 80095ca: 4b6a ldr r3, [pc, #424] ; (8009774 ) + 80095cc: f8d2 0498 ldr.w r0, [r2, #1176] ; 0x498 + 80095d0: f8d3 4090 ldr.w r4, [r3, #144] ; 0x90 + 80095d4: b138 cbz r0, 80095e6 + 80095d6: f005 fa83 bl 800eae0 + 80095da: 4b66 ldr r3, [pc, #408] ; (8009774 ) + 80095dc: 4284 cmp r4, r0 + 80095de: bf3c itt cc + 80095e0: 2200 movcc r2, #0 + 80095e2: f883 203a strbcc.w r2, [r3, #58] ; 0x3a + 80095e6: 8f19 ldrh r1, [r3, #56] ; 0x38 + 80095e8: 8f1a ldrh r2, [r3, #56] ; 0x38 + 80095ea: f893 0130 ldrb.w r0, [r3, #304] ; 0x130 + 80095ee: 9104 str r1, [sp, #16] + 80095f0: 6a99 ldr r1, [r3, #40] ; 0x28 + 80095f2: 9109 str r1, [sp, #36] ; 0x24 + 80095f4: ba52 rev16 r2, r2 + 80095f6: 2800 cmp r0, #0 + 80095f8: d0b9 beq.n 800956e + 80095fa: f893 011b ldrb.w r0, [r3, #283] ; 0x11b + 80095fe: b900 cbnz r0, 8009602 + 8009600: 6318 str r0, [r3, #48] ; 0x30 + 8009602: f893 0118 ldrb.w r0, [r3, #280] ; 0x118 + 8009606: f8ad 2058 strh.w r2, [sp, #88] ; 0x58 + 800960a: 3801 subs r0, #1 + 800960c: f893 207c ldrb.w r2, [r3, #124] ; 0x7c + 8009610: f893 411a ldrb.w r4, [r3, #282] ; 0x11a + 8009614: 9114 str r1, [sp, #80] ; 0x50 + 8009616: f1d0 0b00 rsbs fp, r0, #0 + 800961a: f8d3 1088 ldr.w r1, [r3, #136] ; 0x88 + 800961e: f88d 205b strb.w r2, [sp, #91] ; 0x5b + 8009622: eb4b 0b00 adc.w fp, fp, r0 + 8009626: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 + 800962a: f893 003a ldrb.w r0, [r3, #58] ; 0x3a + 800962e: f893 3068 ldrb.w r3, [r3, #104] ; 0x68 + 8009632: f88d 305a strb.w r3, [sp, #90] ; 0x5a + 8009636: ab09 add r3, sp, #36 ; 0x24 + 8009638: 9300 str r3, [sp, #0] + 800963a: 4b4f ldr r3, [pc, #316] ; (8009778 ) + 800963c: 9003 str r0, [sp, #12] + 800963e: f04f 0001 mov.w r0, #1 + 8009642: f88d 004c strb.w r0, [sp, #76] ; 0x4c + 8009646: 9115 str r1, [sp, #84] ; 0x54 + 8009648: f88d 205c strb.w r2, [sp, #92] ; 0x5c + 800964c: f1a3 012f sub.w r1, r3, #47 ; 0x2f + 8009650: f1a3 0230 sub.w r2, r3, #48 ; 0x30 + 8009654: a813 add r0, sp, #76 ; 0x4c + 8009656: f88d 404d strb.w r4, [sp, #77] ; 0x4d + 800965a: f000 f8cf bl 80097fc + 800965e: 9b03 ldr r3, [sp, #12] + 8009660: ea4f 1b0b mov.w fp, fp, lsl #4 + 8009664: ea4b 1b43 orr.w fp, fp, r3, lsl #5 + 8009668: 2600 movs r6, #0 + 800966a: ea4b 1b80 orr.w fp, fp, r0, lsl #6 + 800966e: ea4b 13c4 orr.w r3, fp, r4, lsl #7 + 8009672: 45b1 cmp r9, r6 + 8009674: 4c3e ldr r4, [pc, #248] ; (8009770 ) + 8009676: 9303 str r3, [sp, #12] + 8009678: bf08 it eq + 800967a: 4637 moveq r7, r6 + 800967c: 463a mov r2, r7 + 800967e: 4649 mov r1, r9 + 8009680: f504 709c add.w r0, r4, #312 ; 0x138 + 8009684: e9cd 660a strd r6, r6, [sp, #40] ; 0x28 + 8009688: 469b mov fp, r3 + 800968a: 8026 strh r6, [r4, #0] + 800968c: f884 641a strb.w r6, [r4, #1050] ; 0x41a + 8009690: f002 ff3c bl 800c50c + 8009694: b2e9 uxtb r1, r5 + 8009696: 70a5 strb r5, [r4, #2] + 8009698: f3c5 1542 ubfx r5, r5, #5, #3 + 800969c: b2fa uxtb r2, r7 + 800969e: 2d04 cmp r5, #4 + 80096a0: 4e34 ldr r6, [pc, #208] ; (8009774 ) + 80096a2: 9b03 ldr r3, [sp, #12] + 80096a4: f884 2237 strb.w r2, [r4, #567] ; 0x237 + 80096a8: f43f af23 beq.w 80094f2 + 80096ac: 2d07 cmp r5, #7 + 80096ae: f43f af4a beq.w 8009546 + 80096b2: 2d02 cmp r5, #2 + 80096b4: f47f af59 bne.w 800956a + 80096b8: 4d30 ldr r5, [pc, #192] ; (800977c ) + 80096ba: f884 110d strb.w r1, [r4, #269] ; 0x10d + 80096be: 2004 movs r0, #4 + 80096c0: 9902 ldr r1, [sp, #8] + 80096c2: f884 0104 strb.w r0, [r4, #260] ; 0x104 + 80096c6: 20ff movs r0, #255 ; 0xff + 80096c8: f884 010c strb.w r0, [r4, #268] ; 0x10c + 80096cc: f884 1128 strb.w r1, [r4, #296] ; 0x128 + 80096d0: f884 3114 strb.w r3, [r4, #276] ; 0x114 + 80096d4: f8d6 10e4 ldr.w r1, [r6, #228] ; 0xe4 + 80096d8: f8c4 5108 str.w r5, [r4, #264] ; 0x108 + 80096dc: f505 739b add.w r3, r5, #310 ; 0x136 + 80096e0: a80a add r0, sp, #40 ; 0x28 + 80096e2: f8c4 1110 str.w r1, [r4, #272] ; 0x110 + 80096e6: f884 2130 strb.w r2, [r4, #304] ; 0x130 + 80096ea: f8c4 312c str.w r3, [r4, #300] ; 0x12c + 80096ee: f000 fc17 bl 8009f20 + 80096f2: 2800 cmp r0, #0 + 80096f4: f47f af37 bne.w 8009566 + 80096f8: 9b0a ldr r3, [sp, #40] ; 0x28 + 80096fa: f8a4 0444 strh.w r0, [r4, #1092] ; 0x444 + 80096fe: a80b add r0, sp, #44 ; 0x2c + 8009700: f8a4 3116 strh.w r3, [r4, #278] ; 0x116 + 8009704: f8c4 344c str.w r3, [r4, #1100] ; 0x44c + 8009708: f000 f9ce bl 8009aa8 + 800970c: 2800 cmp r0, #0 + 800970e: f47f aefd bne.w 800950c + 8009712: 9b0b ldr r3, [sp, #44] ; 0x2c + 8009714: b1d3 cbz r3, 800974c + 8009716: f996 0039 ldrsb.w r0, [r6, #57] ; 0x39 + 800971a: f7fd faa9 bl 8006c70 + 800971e: f894 3237 ldrb.w r3, [r4, #567] ; 0x237 + 8009722: 2b00 cmp r3, #0 + 8009724: f43f aeff beq.w 8009526 + 8009728: 9b0b ldr r3, [sp, #44] ; 0x2c + 800972a: 2b0f cmp r3, #15 + 800972c: f63f aee6 bhi.w 80094fc + 8009730: f505 728b add.w r2, r5, #278 ; 0x116 + 8009734: a90b add r1, sp, #44 ; 0x2c + 8009736: 200f movs r0, #15 + 8009738: f000 f9c2 bl 8009ac0 + 800973c: 2800 cmp r0, #0 + 800973e: f47f aee5 bne.w 800950c + 8009742: 9b0b ldr r3, [sp, #44] ; 0x2c + 8009744: f363 0b03 bfi fp, r3, #0, #4 + 8009748: f884 b114 strb.w fp, [r4, #276] ; 0x114 + 800974c: 9805 ldr r0, [sp, #20] + 800974e: f7fd fc4d bl 8006fec + 8009752: 2800 cmp r0, #0 + 8009754: f47f aedb bne.w 800950e + 8009758: 9b09 ldr r3, [sp, #36] ; 0x24 + 800975a: f886 003a strb.w r0, [r6, #58] ; 0x3a + 800975e: 62b3 str r3, [r6, #40] ; 0x28 + 8009760: f000 f97e bl 8009a60 + 8009764: 2800 cmp r0, #0 + 8009766: f43f af06 beq.w 8009576 + 800976a: 2013 movs r0, #19 + 800976c: e6d1 b.n 8009512 + 800976e: bf00 nop + 8009770: 200011c8 .word 0x200011c8 + 8009774: 20000c00 .word 0x20000c00 + 8009778: 20000c68 .word 0x20000c68 + 800977c: 200011ca .word 0x200011ca -080095b8 : - 80095b8: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} - 80095bc: b087 sub sp, #28 - 80095be: 2300 movs r3, #0 - 80095c0: f8ad 3000 strh.w r3, [sp] - 80095c4: 4606 mov r6, r0 - 80095c6: 2800 cmp r0, #0 - 80095c8: f000 80ed beq.w 80097a6 - 80095cc: 6103 str r3, [r0, #16] - 80095ce: f7fe fd3d bl 800804c - 80095d2: b120 cbz r0, 80095de - 80095d4: 2401 movs r4, #1 - 80095d6: 4620 mov r0, r4 - 80095d8: b007 add sp, #28 - 80095da: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} - 80095de: f000 fd73 bl 800a0c8 - 80095e2: 2800 cmp r0, #0 - 80095e4: d1f6 bne.n 80095d4 - 80095e6: f000 fd69 bl 800a0bc - 80095ea: 4601 mov r1, r0 - 80095ec: b918 cbnz r0, 80095f6 - 80095ee: 486f ldr r0, [pc, #444] ; (80097ac ) - 80095f0: 2214 movs r2, #20 - 80095f2: f003 f983 bl 800c8fc - 80095f6: 4d6e ldr r5, [pc, #440] ; (80097b0 ) - 80095f8: f895 3491 ldrb.w r3, [r5, #1169] ; 0x491 - 80095fc: 2201 movs r2, #1 - 80095fe: f043 0304 orr.w r3, r3, #4 - 8009602: f885 2455 strb.w r2, [r5, #1109] ; 0x455 - 8009606: f885 3491 strb.w r3, [r5, #1169] ; 0x491 - 800960a: 7833 ldrb r3, [r6, #0] - 800960c: f88d 3004 strb.w r3, [sp, #4] - 8009610: 2100 movs r1, #0 - 8009612: 3b01 subs r3, #1 - 8009614: f88d 2005 strb.w r2, [sp, #5] - 8009618: f8ad 1006 strh.w r1, [sp, #6] - 800961c: 2b0c cmp r3, #12 - 800961e: f200 80ba bhi.w 8009796 - 8009622: e8df f003 tbb [pc, r3] - 8009626: b807 .short 0xb807 - 8009628: 8178b8b8 .word 0x8178b8b8 - 800962c: b88fb8b8 .word 0xb88fb8b8 - 8009630: 99ac .short 0x99ac - 8009632: a8 .byte 0xa8 - 8009633: 00 .byte 0x00 - 8009634: f8d5 7340 ldr.w r7, [r5, #832] ; 0x340 - 8009638: f017 0720 ands.w r7, r7, #32 - 800963c: d1ca bne.n 80095d4 - 800963e: f896 8004 ldrb.w r8, [r6, #4] - 8009642: f1b8 0f02 cmp.w r8, #2 - 8009646: d145 bne.n 80096d4 - 8009648: f8df 8168 ldr.w r8, [pc, #360] ; 80097b4 - 800964c: 4c5a ldr r4, [pc, #360] ; (80097b8 ) - 800964e: f7fe f829 bl 80076a4 - 8009652: f996 1005 ldrsb.w r1, [r6, #5] - 8009656: f898 0048 ldrb.w r0, [r8, #72] ; 0x48 - 800965a: 463a mov r2, r7 - 800965c: f001 fa1b bl 800aa96 - 8009660: f888 0039 strb.w r0, [r8, #57] ; 0x39 - 8009664: 79b3 ldrb r3, [r6, #6] - 8009666: f888 3038 strb.w r3, [r8, #56] ; 0x38 - 800966a: 4638 mov r0, r7 - 800966c: 2307 movs r3, #7 - 800966e: f88d 3005 strb.w r3, [sp, #5] - 8009672: f7fd fe31 bl 80072d8 - 8009676: 23ff movs r3, #255 ; 0xff - 8009678: f504 7086 add.w r0, r4, #268 ; 0x10c - 800967c: f8a5 310c strh.w r3, [r5, #268] ; 0x10c - 8009680: f8c5 4108 str.w r4, [r5, #264] ; 0x108 - 8009684: f885 7104 strb.w r7, [r5, #260] ; 0x104 - 8009688: f003 f84e bl 800c728 - 800968c: f504 708a add.w r0, r4, #276 ; 0x114 - 8009690: f003 f804 bl 800c69c - 8009694: 4638 mov r0, r7 - 8009696: f7fd fe8d bl 80073b4 - 800969a: 4604 mov r4, r0 - 800969c: b140 cbz r0, 80096b0 - 800969e: f996 1005 ldrsb.w r1, [r6, #5] - 80096a2: f898 0048 ldrb.w r0, [r8, #72] ; 0x48 - 80096a6: 2201 movs r2, #1 - 80096a8: f001 f9f5 bl 800aa96 - 80096ac: f888 0039 strb.w r0, [r8, #57] ; 0x39 - 80096b0: f8d5 3494 ldr.w r3, [r5, #1172] ; 0x494 - 80096b4: 6133 str r3, [r6, #16] - 80096b6: 2c00 cmp r4, #0 - 80096b8: d071 beq.n 800979e - 80096ba: f000 fcff bl 800a0bc - 80096be: 2800 cmp r0, #0 - 80096c0: d189 bne.n 80095d6 - 80096c2: f895 3491 ldrb.w r3, [r5, #1169] ; 0x491 - 80096c6: f885 041a strb.w r0, [r5, #1050] ; 0x41a - 80096ca: f360 0382 bfi r3, r0, #2, #1 - 80096ce: f885 3491 strb.w r3, [r5, #1169] ; 0x491 - 80096d2: e780 b.n 80095d6 - 80096d4: f1b8 0f01 cmp.w r8, #1 - 80096d8: f04f 0402 mov.w r4, #2 - 80096dc: d1e8 bne.n 80096b0 - 80096de: f8df 90d4 ldr.w r9, [pc, #212] ; 80097b4 - 80096e2: f88d 4014 strb.w r4, [sp, #20] - 80096e6: f899 0048 ldrb.w r0, [r9, #72] ; 0x48 - 80096ea: f889 711d strb.w r7, [r9, #285] ; 0x11d - 80096ee: a902 add r1, sp, #8 - 80096f0: f001 f972 bl 800a9d8 - 80096f4: 7933 ldrb r3, [r6, #4] - 80096f6: f889 3130 strb.w r3, [r9, #304] ; 0x130 - 80096fa: f88d 7005 strb.w r7, [sp, #5] - 80096fe: f88d 8006 strb.w r8, [sp, #6] - 8009702: f7fd fc85 bl 8007010 - 8009706: f895 3491 ldrb.w r3, [r5, #1169] ; 0x491 - 800970a: f043 0310 orr.w r3, r3, #16 - 800970e: f885 3491 strb.w r3, [r5, #1169] ; 0x491 - 8009712: 2400 movs r4, #0 - 8009714: e7cc b.n 80096b0 - 8009716: 2200 movs r2, #0 - 8009718: 4669 mov r1, sp - 800971a: 2002 movs r0, #2 - 800971c: f000 faf6 bl 8009d0c - 8009720: 2800 cmp r0, #0 - 8009722: d0f6 beq.n 8009712 - 8009724: 2413 movs r4, #19 - 8009726: e7c3 b.n 80096b0 - 8009728: 4b24 ldr r3, [pc, #144] ; (80097bc ) - 800972a: 88b2 ldrh r2, [r6, #4] - 800972c: 6bdb ldr r3, [r3, #60] ; 0x3c - 800972e: f996 100c ldrsb.w r1, [r6, #12] - 8009732: 68b0 ldr r0, [r6, #8] - 8009734: 4798 blx r3 - 8009736: f8d5 3340 ldr.w r3, [r5, #832] ; 0x340 - 800973a: f043 0302 orr.w r3, r3, #2 - 800973e: f8c5 3340 str.w r3, [r5, #832] ; 0x340 - 8009742: e7e6 b.n 8009712 - 8009744: a902 add r1, sp, #8 - 8009746: 200d movs r0, #13 - 8009748: f000 fb60 bl 8009e0c - 800974c: 2800 cmp r0, #0 - 800974e: d0e0 beq.n 8009712 - 8009750: 2200 movs r2, #0 - 8009752: 4669 mov r1, sp - 8009754: 200d movs r0, #13 - 8009756: e7e1 b.n 800971c - 8009758: 4b16 ldr r3, [pc, #88] ; (80097b4 ) - 800975a: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 - 800975e: b9d3 cbnz r3, 8009796 - 8009760: 7934 ldrb r4, [r6, #4] - 8009762: f004 0007 and.w r0, r4, #7 - 8009766: f000 faad bl 8009cc4 - 800976a: f88d 4000 strb.w r4, [sp] - 800976e: 2201 movs r2, #1 - 8009770: 4669 mov r1, sp - 8009772: 2010 movs r0, #16 - 8009774: e7d2 b.n 800971c - 8009776: 2200 movs r2, #0 - 8009778: 4669 mov r1, sp - 800977a: 2012 movs r0, #18 - 800977c: e7ce b.n 800971c - 800977e: f88d 2007 strb.w r2, [sp, #7] - 8009782: f000 fa90 bl 8009ca6 - 8009786: 4604 mov r4, r0 - 8009788: b938 cbnz r0, 800979a - 800978a: f000 fa89 bl 8009ca0 - 800978e: 4620 mov r0, r4 - 8009790: f000 fa8b bl 8009caa - 8009794: e78c b.n 80096b0 - 8009796: 2402 movs r4, #2 - 8009798: e78a b.n 80096b0 - 800979a: 2401 movs r4, #1 - 800979c: e788 b.n 80096b0 - 800979e: a801 add r0, sp, #4 - 80097a0: f000 fbde bl 8009f60 - 80097a4: e717 b.n 80095d6 - 80097a6: 2403 movs r4, #3 - 80097a8: e715 b.n 80095d6 - 80097aa: bf00 nop - 80097ac: 2000161c .word 0x2000161c - 80097b0: 200011c8 .word 0x200011c8 - 80097b4: 20000c00 .word 0x20000c00 - 80097b8: 200011ca .word 0x200011ca - 80097bc: 080101cc .word 0x080101cc +08009780 : + 8009780: b537 push {r0, r1, r2, r4, r5, lr} + 8009782: 4d0b ldr r5, [pc, #44] ; (80097b0 ) + 8009784: f88d 0004 strb.w r0, [sp, #4] + 8009788: 4604 mov r4, r0 + 800978a: 220f movs r2, #15 + 800978c: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 8009790: a901 add r1, sp, #4 + 8009792: f000 ff42 bl 800a61a + 8009796: b140 cbz r0, 80097aa + 8009798: 4a06 ldr r2, [pc, #24] ; (80097b4 ) + 800979a: f885 411c strb.w r4, [r5, #284] ; 0x11c + 800979e: f892 3491 ldrb.w r3, [r2, #1169] ; 0x491 + 80097a2: f043 0320 orr.w r3, r3, #32 + 80097a6: f882 3491 strb.w r3, [r2, #1169] ; 0x491 + 80097aa: b003 add sp, #12 + 80097ac: bd30 pop {r4, r5, pc} + 80097ae: bf00 nop + 80097b0: 20000c00 .word 0x20000c00 + 80097b4: 200011c8 .word 0x200011c8 -080097c0 : - 80097c0: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 80097c4: b099 sub sp, #100 ; 0x64 - 80097c6: 4680 mov r8, r0 - 80097c8: 9105 str r1, [sp, #20] - 80097ca: b918 cbnz r0, 80097d4 - 80097cc: 2003 movs r0, #3 - 80097ce: b019 add sp, #100 ; 0x64 - 80097d0: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 80097d4: 2300 movs r3, #0 - 80097d6: 6103 str r3, [r0, #16] - 80097d8: f7fe fc38 bl 800804c - 80097dc: 4606 mov r6, r0 - 80097de: 2800 cmp r0, #0 - 80097e0: f040 80ab bne.w 800993a - 80097e4: 4645 mov r5, r8 - 80097e6: cd0f ldmia r5!, {r0, r1, r2, r3} - 80097e8: ac0e add r4, sp, #56 ; 0x38 - 80097ea: c40f stmia r4!, {r0, r1, r2, r3} - 80097ec: 4c5a ldr r4, [pc, #360] ; (8009958 ) - 80097ee: f898 a000 ldrb.w sl, [r8] - 80097f2: f8b8 700c ldrh.w r7, [r8, #12] - 80097f6: f998 b00e ldrsb.w fp, [r8, #14] - 80097fa: 2214 movs r2, #20 - 80097fc: f504 6088 add.w r0, r4, #1088 ; 0x440 - 8009800: 4631 mov r1, r6 - 8009802: f003 f87b bl 800c8fc - 8009806: 2201 movs r2, #1 - 8009808: f884 2441 strb.w r2, [r4, #1089] ; 0x441 - 800980c: 4c53 ldr r4, [pc, #332] ; (800995c ) - 800980e: f894 2130 ldrb.w r2, [r4, #304] ; 0x130 - 8009812: 2a02 cmp r2, #2 - 8009814: 4635 mov r5, r6 - 8009816: d10b bne.n 8009830 - 8009818: f894 2118 ldrb.w r2, [r4, #280] ; 0x118 - 800981c: 2a02 cmp r2, #2 - 800981e: d107 bne.n 8009830 - 8009820: f894 211e ldrb.w r2, [r4, #286] ; 0x11e - 8009824: b922 cbnz r2, 8009830 - 8009826: f1ba 0f01 cmp.w sl, #1 - 800982a: bf38 it cc - 800982c: f04f 0a01 movcc.w sl, #1 - 8009830: f1ba 0f01 cmp.w sl, #1 - 8009834: d02d beq.n 8009892 - 8009836: f1ba 0f03 cmp.w sl, #3 - 800983a: d02c beq.n 8009896 - 800983c: f1ba 0f00 cmp.w sl, #0 - 8009840: d135 bne.n 80098ae - 8009842: 2202 movs r2, #2 - 8009844: f89d 303c ldrb.w r3, [sp, #60] ; 0x3c - 8009848: f8dd 9040 ldr.w r9, [sp, #64] ; 0x40 - 800984c: 9302 str r3, [sp, #8] - 800984e: f362 1547 bfi r5, r2, #5, #3 - 8009852: 2601 movs r6, #1 - 8009854: f894 107c ldrb.w r1, [r4, #124] ; 0x7c - 8009858: f88d 1032 strb.w r1, [sp, #50] ; 0x32 - 800985c: 2202 movs r2, #2 - 800985e: a90c add r1, sp, #48 ; 0x30 - 8009860: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8009864: f88d 2030 strb.w r2, [sp, #48] ; 0x30 - 8009868: f001 f8a8 bl 800a9bc - 800986c: f894 311a ldrb.w r3, [r4, #282] ; 0x11a - 8009870: f894 c130 ldrb.w ip, [r4, #304] ; 0x130 - 8009874: f894 111d ldrb.w r1, [r4, #285] ; 0x11d - 8009878: b240 sxtb r0, r0 - 800987a: 2202 movs r2, #2 - 800987c: 2b00 cmp r3, #0 - 800987e: d06f beq.n 8009960 - 8009880: f1bc 0f01 cmp.w ip, #1 - 8009884: d165 bne.n 8009952 - 8009886: 2900 cmp r1, #0 - 8009888: d163 bne.n 8009952 - 800988a: 2e00 cmp r6, #0 - 800988c: d16d bne.n 800996a - 800988e: 4610 mov r0, r2 - 8009890: e027 b.n 80098e2 - 8009892: 2204 movs r2, #4 - 8009894: e7d6 b.n 8009844 - 8009896: 2300 movs r3, #0 - 8009898: f8dd 903c ldr.w r9, [sp, #60] ; 0x3c - 800989c: f8bd 7040 ldrh.w r7, [sp, #64] ; 0x40 - 80098a0: f99d b042 ldrsb.w fp, [sp, #66] ; 0x42 - 80098a4: 9302 str r3, [sp, #8] - 80098a6: f065 051f orn r5, r5, #31 - 80098aa: 2601 movs r6, #1 - 80098ac: e7d2 b.n 8009854 - 80098ae: f04f 0b00 mov.w fp, #0 - 80098b2: 46d9 mov r9, fp - 80098b4: f8cd b008 str.w fp, [sp, #8] - 80098b8: e7cc b.n 8009854 - 80098ba: f04f 0001 mov.w r0, #1 - 80098be: f884 041a strb.w r0, [r4, #1050] ; 0x41a - 80098c2: e0dd b.n 8009a80 - 80098c4: f205 429a addw r2, r5, #1178 ; 0x49a - 80098c8: a90b add r1, sp, #44 ; 0x2c - 80098ca: f000 fadd bl 8009e88 - 80098ce: 2800 cmp r0, #0 - 80098d0: f000 8120 beq.w 8009b14 - 80098d4: 2013 movs r0, #19 - 80098d6: 9b04 ldr r3, [sp, #16] - 80098d8: 8733 strh r3, [r6, #56] ; 0x38 - 80098da: 4b1f ldr r3, [pc, #124] ; (8009958 ) - 80098dc: 2200 movs r2, #0 - 80098de: f883 241a strb.w r2, [r3, #1050] ; 0x41a - 80098e2: 4b1d ldr r3, [pc, #116] ; (8009958 ) - 80098e4: f8d3 3494 ldr.w r3, [r3, #1172] ; 0x494 - 80098e8: f8c8 3010 str.w r3, [r8, #16] - 80098ec: e76f b.n 80097ce - 80098ee: f205 459a addw r5, r5, #1178 ; 0x49a - 80098f2: 462a mov r2, r5 - 80098f4: a90b add r1, sp, #44 ; 0x2c - 80098f6: f000 fac7 bl 8009e88 - 80098fa: 2800 cmp r0, #0 - 80098fc: d1ea bne.n 80098d4 - 80098fe: 9b0b ldr r3, [sp, #44] ; 0x2c - 8009900: f884 0128 strb.w r0, [r4, #296] ; 0x128 - 8009904: f8c4 512c str.w r5, [r4, #300] ; 0x12c - 8009908: f884 3130 strb.w r3, [r4, #304] ; 0x130 - 800990c: e102 b.n 8009b14 - 800990e: f1b9 0f00 cmp.w r9, #0 - 8009912: f000 80ff beq.w 8009b14 - 8009916: 2a00 cmp r2, #0 - 8009918: f000 80fc beq.w 8009b14 - 800991c: 4649 mov r1, r9 - 800991e: 1ce0 adds r0, r4, #3 - 8009920: f002 ffd8 bl 800c8d4 - 8009924: f894 3237 ldrb.w r3, [r4, #567] ; 0x237 - 8009928: 3301 adds r3, #1 - 800992a: 8023 strh r3, [r4, #0] - 800992c: e0f2 b.n 8009b14 - 800992e: 2012 movs r0, #18 - 8009930: e7d1 b.n 80098d6 - 8009932: 2002 movs r0, #2 - 8009934: e7cf b.n 80098d6 - 8009936: 2007 movs r0, #7 - 8009938: e7cf b.n 80098da - 800993a: 2001 movs r0, #1 - 800993c: e747 b.n 80097ce - 800993e: 4b06 ldr r3, [pc, #24] ; (8009958 ) - 8009940: f893 2491 ldrb.w r2, [r3, #1169] ; 0x491 - 8009944: f883 a440 strb.w sl, [r3, #1088] ; 0x440 - 8009948: f042 0201 orr.w r2, r2, #1 - 800994c: f883 2491 strb.w r2, [r3, #1169] ; 0x491 - 8009950: e7c7 b.n 80098e2 - 8009952: b9ee cbnz r6, 8009990 - 8009954: 2002 movs r0, #2 - 8009956: e7c4 b.n 80098e2 - 8009958: 200011c8 .word 0x200011c8 - 800995c: 20000c00 .word 0x20000c00 - 8009960: 2e00 cmp r6, #0 - 8009962: d094 beq.n 800988e - 8009964: 4558 cmp r0, fp - 8009966: bfb8 it lt - 8009968: 4658 movlt r0, fp - 800996a: f894 307c ldrb.w r3, [r4, #124] ; 0x7c - 800996e: f88d 0020 strb.w r0, [sp, #32] - 8009972: 2205 movs r2, #5 - 8009974: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8009978: f88d 3022 strb.w r3, [sp, #34] ; 0x22 - 800997c: a908 add r1, sp, #32 - 800997e: f001 f830 bl 800a9e2 - 8009982: 2800 cmp r0, #0 - 8009984: f43f af22 beq.w 80097cc - 8009988: f89d 3020 ldrb.w r3, [sp, #32] - 800998c: f884 3039 strb.w r3, [r4, #57] ; 0x39 - 8009990: 4a69 ldr r2, [pc, #420] ; (8009b38 ) - 8009992: 4b6a ldr r3, [pc, #424] ; (8009b3c ) - 8009994: f8d2 0498 ldr.w r0, [r2, #1176] ; 0x498 - 8009998: f8d3 4090 ldr.w r4, [r3, #144] ; 0x90 - 800999c: b138 cbz r0, 80099ae - 800999e: f005 fa83 bl 800eea8 - 80099a2: 4b66 ldr r3, [pc, #408] ; (8009b3c ) - 80099a4: 4284 cmp r4, r0 - 80099a6: bf3c itt cc - 80099a8: 2200 movcc r2, #0 - 80099aa: f883 203a strbcc.w r2, [r3, #58] ; 0x3a - 80099ae: 8f19 ldrh r1, [r3, #56] ; 0x38 - 80099b0: 8f1a ldrh r2, [r3, #56] ; 0x38 - 80099b2: f893 0130 ldrb.w r0, [r3, #304] ; 0x130 - 80099b6: 9104 str r1, [sp, #16] - 80099b8: 6a99 ldr r1, [r3, #40] ; 0x28 - 80099ba: 9109 str r1, [sp, #36] ; 0x24 - 80099bc: ba52 rev16 r2, r2 - 80099be: 2800 cmp r0, #0 - 80099c0: d0b9 beq.n 8009936 - 80099c2: f893 011b ldrb.w r0, [r3, #283] ; 0x11b - 80099c6: b900 cbnz r0, 80099ca - 80099c8: 6318 str r0, [r3, #48] ; 0x30 - 80099ca: f893 0118 ldrb.w r0, [r3, #280] ; 0x118 - 80099ce: f8ad 2058 strh.w r2, [sp, #88] ; 0x58 - 80099d2: 3801 subs r0, #1 - 80099d4: f893 207c ldrb.w r2, [r3, #124] ; 0x7c - 80099d8: f893 411a ldrb.w r4, [r3, #282] ; 0x11a - 80099dc: 9114 str r1, [sp, #80] ; 0x50 - 80099de: f1d0 0b00 rsbs fp, r0, #0 - 80099e2: f8d3 1088 ldr.w r1, [r3, #136] ; 0x88 - 80099e6: f88d 205b strb.w r2, [sp, #91] ; 0x5b - 80099ea: eb4b 0b00 adc.w fp, fp, r0 - 80099ee: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 - 80099f2: f893 003a ldrb.w r0, [r3, #58] ; 0x3a - 80099f6: f893 3068 ldrb.w r3, [r3, #104] ; 0x68 - 80099fa: f88d 305a strb.w r3, [sp, #90] ; 0x5a - 80099fe: ab09 add r3, sp, #36 ; 0x24 - 8009a00: 9300 str r3, [sp, #0] - 8009a02: 4b4f ldr r3, [pc, #316] ; (8009b40 ) - 8009a04: 9003 str r0, [sp, #12] - 8009a06: f04f 0001 mov.w r0, #1 - 8009a0a: f88d 004c strb.w r0, [sp, #76] ; 0x4c - 8009a0e: 9115 str r1, [sp, #84] ; 0x54 - 8009a10: f88d 205c strb.w r2, [sp, #92] ; 0x5c - 8009a14: f1a3 012f sub.w r1, r3, #47 ; 0x2f - 8009a18: f1a3 0230 sub.w r2, r3, #48 ; 0x30 - 8009a1c: a813 add r0, sp, #76 ; 0x4c - 8009a1e: f88d 404d strb.w r4, [sp, #77] ; 0x4d - 8009a22: f000 f8cf bl 8009bc4 - 8009a26: 9b03 ldr r3, [sp, #12] - 8009a28: ea4f 1b0b mov.w fp, fp, lsl #4 - 8009a2c: ea4b 1b43 orr.w fp, fp, r3, lsl #5 - 8009a30: 2600 movs r6, #0 - 8009a32: ea4b 1b80 orr.w fp, fp, r0, lsl #6 - 8009a36: ea4b 13c4 orr.w r3, fp, r4, lsl #7 - 8009a3a: 45b1 cmp r9, r6 - 8009a3c: 4c3e ldr r4, [pc, #248] ; (8009b38 ) - 8009a3e: 9303 str r3, [sp, #12] - 8009a40: bf08 it eq - 8009a42: 4637 moveq r7, r6 - 8009a44: 463a mov r2, r7 - 8009a46: 4649 mov r1, r9 - 8009a48: f504 709c add.w r0, r4, #312 ; 0x138 - 8009a4c: e9cd 660a strd r6, r6, [sp, #40] ; 0x28 - 8009a50: 469b mov fp, r3 - 8009a52: 8026 strh r6, [r4, #0] - 8009a54: f884 641a strb.w r6, [r4, #1050] ; 0x41a - 8009a58: f002 ff3c bl 800c8d4 - 8009a5c: b2e9 uxtb r1, r5 - 8009a5e: 70a5 strb r5, [r4, #2] - 8009a60: f3c5 1542 ubfx r5, r5, #5, #3 - 8009a64: b2fa uxtb r2, r7 - 8009a66: 2d04 cmp r5, #4 - 8009a68: 4e34 ldr r6, [pc, #208] ; (8009b3c ) - 8009a6a: 9b03 ldr r3, [sp, #12] - 8009a6c: f884 2237 strb.w r2, [r4, #567] ; 0x237 - 8009a70: f43f af23 beq.w 80098ba - 8009a74: 2d07 cmp r5, #7 - 8009a76: f43f af4a beq.w 800990e - 8009a7a: 2d02 cmp r5, #2 - 8009a7c: f47f af59 bne.w 8009932 - 8009a80: 4d30 ldr r5, [pc, #192] ; (8009b44 ) - 8009a82: f884 110d strb.w r1, [r4, #269] ; 0x10d - 8009a86: 2004 movs r0, #4 - 8009a88: 9902 ldr r1, [sp, #8] - 8009a8a: f884 0104 strb.w r0, [r4, #260] ; 0x104 - 8009a8e: 20ff movs r0, #255 ; 0xff - 8009a90: f884 010c strb.w r0, [r4, #268] ; 0x10c - 8009a94: f884 1128 strb.w r1, [r4, #296] ; 0x128 - 8009a98: f884 3114 strb.w r3, [r4, #276] ; 0x114 - 8009a9c: f8d6 10e4 ldr.w r1, [r6, #228] ; 0xe4 - 8009aa0: f8c4 5108 str.w r5, [r4, #264] ; 0x108 - 8009aa4: f505 739b add.w r3, r5, #310 ; 0x136 - 8009aa8: a80a add r0, sp, #40 ; 0x28 - 8009aaa: f8c4 1110 str.w r1, [r4, #272] ; 0x110 - 8009aae: f884 2130 strb.w r2, [r4, #304] ; 0x130 - 8009ab2: f8c4 312c str.w r3, [r4, #300] ; 0x12c - 8009ab6: f000 fc17 bl 800a2e8 - 8009aba: 2800 cmp r0, #0 - 8009abc: f47f af37 bne.w 800992e - 8009ac0: 9b0a ldr r3, [sp, #40] ; 0x28 - 8009ac2: f8a4 0444 strh.w r0, [r4, #1092] ; 0x444 - 8009ac6: a80b add r0, sp, #44 ; 0x2c - 8009ac8: f8a4 3116 strh.w r3, [r4, #278] ; 0x116 - 8009acc: f8c4 344c str.w r3, [r4, #1100] ; 0x44c - 8009ad0: f000 f9ce bl 8009e70 - 8009ad4: 2800 cmp r0, #0 - 8009ad6: f47f aefd bne.w 80098d4 - 8009ada: 9b0b ldr r3, [sp, #44] ; 0x2c - 8009adc: b1d3 cbz r3, 8009b14 - 8009ade: f996 0039 ldrsb.w r0, [r6, #57] ; 0x39 - 8009ae2: f7fd faa9 bl 8007038 - 8009ae6: f894 3237 ldrb.w r3, [r4, #567] ; 0x237 - 8009aea: 2b00 cmp r3, #0 - 8009aec: f43f aeff beq.w 80098ee - 8009af0: 9b0b ldr r3, [sp, #44] ; 0x2c - 8009af2: 2b0f cmp r3, #15 - 8009af4: f63f aee6 bhi.w 80098c4 - 8009af8: f505 728b add.w r2, r5, #278 ; 0x116 - 8009afc: a90b add r1, sp, #44 ; 0x2c - 8009afe: 200f movs r0, #15 - 8009b00: f000 f9c2 bl 8009e88 - 8009b04: 2800 cmp r0, #0 - 8009b06: f47f aee5 bne.w 80098d4 - 8009b0a: 9b0b ldr r3, [sp, #44] ; 0x2c - 8009b0c: f363 0b03 bfi fp, r3, #0, #4 - 8009b10: f884 b114 strb.w fp, [r4, #276] ; 0x114 - 8009b14: 9805 ldr r0, [sp, #20] - 8009b16: f7fd fc4d bl 80073b4 - 8009b1a: 2800 cmp r0, #0 - 8009b1c: f47f aedb bne.w 80098d6 - 8009b20: 9b09 ldr r3, [sp, #36] ; 0x24 - 8009b22: f886 003a strb.w r0, [r6, #58] ; 0x3a - 8009b26: 62b3 str r3, [r6, #40] ; 0x28 - 8009b28: f000 f97e bl 8009e28 - 8009b2c: 2800 cmp r0, #0 - 8009b2e: f43f af06 beq.w 800993e - 8009b32: 2013 movs r0, #19 - 8009b34: e6d1 b.n 80098da - 8009b36: bf00 nop - 8009b38: 200011c8 .word 0x200011c8 - 8009b3c: 20000c00 .word 0x20000c00 - 8009b40: 20000c68 .word 0x20000c68 - 8009b44: 200011ca .word 0x200011ca +080097b8 : + 80097b8: b510 push {r4, lr} + 80097ba: f7ff f8b9 bl 8008930 + 80097be: 4604 mov r4, r0 + 80097c0: b988 cbnz r0, 80097e6 + 80097c2: 480a ldr r0, [pc, #40] ; (80097ec ) + 80097c4: f005 f9c6 bl 800eb54 + 80097c8: 4809 ldr r0, [pc, #36] ; (80097f0 ) + 80097ca: f005 f9c3 bl 800eb54 + 80097ce: 4809 ldr r0, [pc, #36] ; (80097f4 ) + 80097d0: f005 f9c0 bl 800eb54 + 80097d4: f000 f893 bl 80098fe + 80097d8: f7fd fd80 bl 80072dc + 80097dc: 4b06 ldr r3, [pc, #24] ; (80097f8 ) + 80097de: 6adb ldr r3, [r3, #44] ; 0x2c + 80097e0: 4798 blx r3 + 80097e2: 4620 mov r0, r4 + 80097e4: bd10 pop {r4, pc} + 80097e6: 2401 movs r4, #1 + 80097e8: e7fb b.n 80097e2 + 80097ea: bf00 nop + 80097ec: 20001530 .word 0x20001530 + 80097f0: 20001548 .word 0x20001548 + 80097f4: 20001560 .word 0x20001560 + 80097f8: 0800fa0c .word 0x0800fa0c -08009b48 : - 8009b48: b537 push {r0, r1, r2, r4, r5, lr} - 8009b4a: 4d0b ldr r5, [pc, #44] ; (8009b78 ) - 8009b4c: f88d 0004 strb.w r0, [sp, #4] - 8009b50: 4604 mov r4, r0 - 8009b52: 220f movs r2, #15 - 8009b54: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 8009b58: a901 add r1, sp, #4 - 8009b5a: f000 ff42 bl 800a9e2 - 8009b5e: b140 cbz r0, 8009b72 - 8009b60: 4a06 ldr r2, [pc, #24] ; (8009b7c ) - 8009b62: f885 411c strb.w r4, [r5, #284] ; 0x11c - 8009b66: f892 3491 ldrb.w r3, [r2, #1169] ; 0x491 - 8009b6a: f043 0320 orr.w r3, r3, #32 - 8009b6e: f882 3491 strb.w r3, [r2, #1169] ; 0x491 - 8009b72: b003 add sp, #12 - 8009b74: bd30 pop {r4, r5, pc} - 8009b76: bf00 nop - 8009b78: 20000c00 .word 0x20000c00 - 8009b7c: 200011c8 .word 0x200011c8 +080097fc : + 80097fc: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8009800: b08b sub sp, #44 ; 0x2c + 8009802: 7847 ldrb r7, [r0, #1] + 8009804: 9300 str r3, [sp, #0] + 8009806: 9b14 ldr r3, [sp, #80] ; 0x50 + 8009808: f990 800c ldrsb.w r8, [r0, #12] + 800980c: f990 600d ldrsb.w r6, [r0, #13] + 8009810: f890 900e ldrb.w r9, [r0, #14] + 8009814: 468b mov fp, r1 + 8009816: 6841 ldr r1, [r0, #4] + 8009818: 6019 str r1, [r3, #0] + 800981a: 4604 mov r4, r0 + 800981c: 4692 mov sl, r2 + 800981e: 2f00 cmp r7, #0 + 8009820: d057 beq.n 80098d2 + 8009822: 2302 movs r3, #2 + 8009824: f88d 3010 strb.w r3, [sp, #16] + 8009828: a904 add r1, sp, #16 + 800982a: 7bc3 ldrb r3, [r0, #15] + 800982c: 7c00 ldrb r0, [r0, #16] + 800982e: f88d 3012 strb.w r3, [sp, #18] + 8009832: f000 fedf bl 800a5f4 + 8009836: f8b4 c008 ldrh.w ip, [r4, #8] + 800983a: 8961 ldrh r1, [r4, #10] + 800983c: b243 sxtb r3, r0 + 800983e: 6860 ldr r0, [r4, #4] + 8009840: 4598 cmp r8, r3 + 8009842: 4645 mov r5, r8 + 8009844: 4461 add r1, ip + 8009846: bfb8 it lt + 8009848: 461d movlt r5, r3 + 800984a: 4560 cmp r0, ip + 800984c: bf34 ite cc + 800984e: 2700 movcc r7, #0 + 8009850: 2701 movcs r7, #1 + 8009852: 4288 cmp r0, r1 + 8009854: d309 bcc.n 800986a + 8009856: 210a movs r1, #10 + 8009858: f88d 1010 strb.w r1, [sp, #16] + 800985c: 7c20 ldrb r0, [r4, #16] + 800985e: 9301 str r3, [sp, #4] + 8009860: a904 add r1, sp, #16 + 8009862: f000 fec7 bl 800a5f4 + 8009866: 9b01 ldr r3, [sp, #4] + 8009868: b246 sxtb r6, r0 + 800986a: f8b4 c008 ldrh.w ip, [r4, #8] + 800986e: 8960 ldrh r0, [r4, #10] + 8009870: 6861 ldr r1, [r4, #4] + 8009872: eb0c 0e40 add.w lr, ip, r0, lsl #1 + 8009876: 4571 cmp r1, lr + 8009878: d320 bcc.n 80098bc + 800987a: eba1 010c sub.w r1, r1, ip + 800987e: fbb1 fcf0 udiv ip, r1, r0 + 8009882: fb00 111c mls r1, r0, ip, r1 + 8009886: b9c9 cbnz r1, 80098bc + 8009888: 4598 cmp r8, r3 + 800988a: dc0a bgt.n 80098a2 + 800988c: 7823 ldrb r3, [r4, #0] + 800988e: b133 cbz r3, 800989e + 8009890: 2302 movs r3, #2 + 8009892: 7c20 ldrb r0, [r4, #16] + 8009894: f88d 3024 strb.w r3, [sp, #36] ; 0x24 + 8009898: a906 add r1, sp, #24 + 800989a: f000 feb9 bl 800a610 + 800989e: f04f 0901 mov.w r9, #1 + 80098a2: 2321 movs r3, #33 ; 0x21 + 80098a4: f88d 3010 strb.w r3, [sp, #16] + 80098a8: 7c20 ldrb r0, [r4, #16] + 80098aa: 7be3 ldrb r3, [r4, #15] + 80098ac: f88d 5011 strb.w r5, [sp, #17] + 80098b0: a904 add r1, sp, #16 + 80098b2: f88d 3012 strb.w r3, [sp, #18] + 80098b6: f000 fe9d bl 800a5f4 + 80098ba: b245 sxtb r5, r0 + 80098bc: 9b00 ldr r3, [sp, #0] + 80098be: f88b 5000 strb.w r5, [fp] + 80098c2: 4638 mov r0, r7 + 80098c4: f88a 6000 strb.w r6, [sl] + 80098c8: f883 9000 strb.w r9, [r3] + 80098cc: b00b add sp, #44 ; 0x2c + 80098ce: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 80098d2: 4645 mov r5, r8 + 80098d4: e7f2 b.n 80098bc -08009b80 : - 8009b80: b510 push {r4, lr} - 8009b82: f7ff f8b9 bl 8008cf8 - 8009b86: 4604 mov r4, r0 - 8009b88: b988 cbnz r0, 8009bae - 8009b8a: 480a ldr r0, [pc, #40] ; (8009bb4 ) - 8009b8c: f005 f9c6 bl 800ef1c - 8009b90: 4809 ldr r0, [pc, #36] ; (8009bb8 ) - 8009b92: f005 f9c3 bl 800ef1c - 8009b96: 4809 ldr r0, [pc, #36] ; (8009bbc ) - 8009b98: f005 f9c0 bl 800ef1c - 8009b9c: f000 f893 bl 8009cc6 - 8009ba0: f7fd fd80 bl 80076a4 - 8009ba4: 4b06 ldr r3, [pc, #24] ; (8009bc0 ) - 8009ba6: 6adb ldr r3, [r3, #44] ; 0x2c - 8009ba8: 4798 blx r3 - 8009baa: 4620 mov r0, r4 - 8009bac: bd10 pop {r4, pc} - 8009bae: 2401 movs r4, #1 - 8009bb0: e7fb b.n 8009baa - 8009bb2: bf00 nop - 8009bb4: 20001530 .word 0x20001530 - 8009bb8: 20001548 .word 0x20001548 - 8009bbc: 20001560 .word 0x20001560 - 8009bc0: 080101cc .word 0x080101cc +080098d6 : + 80098d6: 4770 bx lr -08009bc4 : - 8009bc4: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8009bc8: b08b sub sp, #44 ; 0x2c - 8009bca: 7847 ldrb r7, [r0, #1] - 8009bcc: 9300 str r3, [sp, #0] - 8009bce: 9b14 ldr r3, [sp, #80] ; 0x50 - 8009bd0: f990 800c ldrsb.w r8, [r0, #12] - 8009bd4: f990 600d ldrsb.w r6, [r0, #13] - 8009bd8: f890 900e ldrb.w r9, [r0, #14] - 8009bdc: 468b mov fp, r1 - 8009bde: 6841 ldr r1, [r0, #4] - 8009be0: 6019 str r1, [r3, #0] - 8009be2: 4604 mov r4, r0 - 8009be4: 4692 mov sl, r2 - 8009be6: 2f00 cmp r7, #0 - 8009be8: d057 beq.n 8009c9a - 8009bea: 2302 movs r3, #2 - 8009bec: f88d 3010 strb.w r3, [sp, #16] - 8009bf0: a904 add r1, sp, #16 - 8009bf2: 7bc3 ldrb r3, [r0, #15] - 8009bf4: 7c00 ldrb r0, [r0, #16] - 8009bf6: f88d 3012 strb.w r3, [sp, #18] - 8009bfa: f000 fedf bl 800a9bc - 8009bfe: f8b4 c008 ldrh.w ip, [r4, #8] - 8009c02: 8961 ldrh r1, [r4, #10] - 8009c04: b243 sxtb r3, r0 - 8009c06: 6860 ldr r0, [r4, #4] - 8009c08: 4598 cmp r8, r3 - 8009c0a: 4645 mov r5, r8 - 8009c0c: 4461 add r1, ip - 8009c0e: bfb8 it lt - 8009c10: 461d movlt r5, r3 - 8009c12: 4560 cmp r0, ip - 8009c14: bf34 ite cc - 8009c16: 2700 movcc r7, #0 - 8009c18: 2701 movcs r7, #1 - 8009c1a: 4288 cmp r0, r1 - 8009c1c: d309 bcc.n 8009c32 - 8009c1e: 210a movs r1, #10 - 8009c20: f88d 1010 strb.w r1, [sp, #16] - 8009c24: 7c20 ldrb r0, [r4, #16] - 8009c26: 9301 str r3, [sp, #4] - 8009c28: a904 add r1, sp, #16 - 8009c2a: f000 fec7 bl 800a9bc - 8009c2e: 9b01 ldr r3, [sp, #4] - 8009c30: b246 sxtb r6, r0 - 8009c32: f8b4 c008 ldrh.w ip, [r4, #8] - 8009c36: 8960 ldrh r0, [r4, #10] - 8009c38: 6861 ldr r1, [r4, #4] - 8009c3a: eb0c 0e40 add.w lr, ip, r0, lsl #1 - 8009c3e: 4571 cmp r1, lr - 8009c40: d320 bcc.n 8009c84 - 8009c42: eba1 010c sub.w r1, r1, ip - 8009c46: fbb1 fcf0 udiv ip, r1, r0 - 8009c4a: fb00 111c mls r1, r0, ip, r1 - 8009c4e: b9c9 cbnz r1, 8009c84 - 8009c50: 4598 cmp r8, r3 - 8009c52: dc0a bgt.n 8009c6a - 8009c54: 7823 ldrb r3, [r4, #0] - 8009c56: b133 cbz r3, 8009c66 - 8009c58: 2302 movs r3, #2 - 8009c5a: 7c20 ldrb r0, [r4, #16] - 8009c5c: f88d 3024 strb.w r3, [sp, #36] ; 0x24 - 8009c60: a906 add r1, sp, #24 - 8009c62: f000 feb9 bl 800a9d8 - 8009c66: f04f 0901 mov.w r9, #1 - 8009c6a: 2321 movs r3, #33 ; 0x21 - 8009c6c: f88d 3010 strb.w r3, [sp, #16] - 8009c70: 7c20 ldrb r0, [r4, #16] - 8009c72: 7be3 ldrb r3, [r4, #15] - 8009c74: f88d 5011 strb.w r5, [sp, #17] - 8009c78: a904 add r1, sp, #16 - 8009c7a: f88d 3012 strb.w r3, [sp, #18] - 8009c7e: f000 fe9d bl 800a9bc - 8009c82: b245 sxtb r5, r0 - 8009c84: 9b00 ldr r3, [sp, #0] - 8009c86: f88b 5000 strb.w r5, [fp] - 8009c8a: 4638 mov r0, r7 - 8009c8c: f88a 6000 strb.w r6, [sl] - 8009c90: f883 9000 strb.w r9, [r3] - 8009c94: b00b add sp, #44 ; 0x2c - 8009c96: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8009c9a: 4645 mov r5, r8 - 8009c9c: e7f2 b.n 8009c84 +080098d8 : + 80098d8: 4770 bx lr -08009c9e : - 8009c9e: 4770 bx lr +080098da : + 80098da: 4770 bx lr -08009ca0 : - 8009ca0: 4770 bx lr +080098dc : + 80098dc: 4770 bx lr -08009ca2 : - 8009ca2: 4770 bx lr +080098de : + 80098de: 2000 movs r0, #0 + 80098e0: 4770 bx lr -08009ca4 : - 8009ca4: 4770 bx lr +080098e2 : + 80098e2: 4770 bx lr -08009ca6 : - 8009ca6: 2000 movs r0, #0 - 8009ca8: 4770 bx lr +080098e4 : + 80098e4: 4770 bx lr -08009caa : - 8009caa: 4770 bx lr +080098e6 : + 80098e6: 4770 bx lr -08009cac : - 8009cac: 4770 bx lr +080098e8 : + 80098e8: 2000 movs r0, #0 + 80098ea: 4770 bx lr -08009cae : - 8009cae: 4770 bx lr +080098ec : + 80098ec: 2000 movs r0, #0 + 80098ee: 4770 bx lr -08009cb0 : - 8009cb0: 2000 movs r0, #0 - 8009cb2: 4770 bx lr +080098f0 : + 80098f0: 2000 movs r0, #0 + 80098f2: 4770 bx lr -08009cb4 : - 8009cb4: 2000 movs r0, #0 - 8009cb6: 4770 bx lr +080098f4 : + 80098f4: 2000 movs r0, #0 + 80098f6: 4770 bx lr -08009cb8 : - 8009cb8: 2000 movs r0, #0 - 8009cba: 4770 bx lr +080098f8 : + 80098f8: 2000 movs r0, #0 + 80098fa: 4770 bx lr -08009cbc : - 8009cbc: 2000 movs r0, #0 - 8009cbe: 4770 bx lr +080098fc : + 80098fc: 4770 bx lr -08009cc0 : - 8009cc0: 2000 movs r0, #0 - 8009cc2: 4770 bx lr +080098fe : + 80098fe: 4770 bx lr -08009cc4 : - 8009cc4: 4770 bx lr +08009900 : + 8009900: 4770 bx lr -08009cc6 : - 8009cc6: 4770 bx lr +08009902 : + 8009902: 2002 movs r0, #2 + 8009904: 4770 bx lr -08009cc8 : - 8009cc8: 4770 bx lr +08009906 : + 8009906: 2002 movs r0, #2 + 8009908: 4770 bx lr -08009cca : - 8009cca: 2002 movs r0, #2 - 8009ccc: 4770 bx lr +0800990a : + 800990a: 2002 movs r0, #2 + 800990c: 4770 bx lr -08009cce : - 8009cce: 2002 movs r0, #2 - 8009cd0: 4770 bx lr +0800990e : + 800990e: 4770 bx lr -08009cd2 : - 8009cd2: 2002 movs r0, #2 - 8009cd4: 4770 bx lr +08009910 : + 8009910: 2000 movs r0, #0 + 8009912: 4770 bx lr -08009cd6 : - 8009cd6: 4770 bx lr +08009914 : + 8009914: 4770 bx lr -08009cd8 : - 8009cd8: 2000 movs r0, #0 - 8009cda: 4770 bx lr +08009916 : + 8009916: 4770 bx lr -08009cdc : - 8009cdc: 4770 bx lr +08009918 : + 8009918: 2000 movs r0, #0 + 800991a: 4770 bx lr -08009cde : - 8009cde: 4770 bx lr +0800991c : + 800991c: 2000 movs r0, #0 + 800991e: 4770 bx lr -08009ce0 : - 8009ce0: 2000 movs r0, #0 - 8009ce2: 4770 bx lr +08009920 : + 8009920: 4770 bx lr -08009ce4 : - 8009ce4: 2000 movs r0, #0 - 8009ce6: 4770 bx lr +08009922 : + 8009922: 4770 bx lr -08009ce8 : - 8009ce8: 4770 bx lr - -08009cea : - 8009cea: 4770 bx lr - -08009cec : - 8009cec: 4770 bx lr +08009924 : + 8009924: 4770 bx lr ... -08009cf0 : - 8009cf0: b510 push {r4, lr} - 8009cf2: 4c05 ldr r4, [pc, #20] ; (8009d08 ) - 8009cf4: f44f 7203 mov.w r2, #524 ; 0x20c - 8009cf8: 4620 mov r0, r4 - 8009cfa: 2100 movs r1, #0 - 8009cfc: f002 fdfe bl 800c8fc - 8009d00: 2000 movs r0, #0 - 8009d02: e9c4 0000 strd r0, r0, [r4] - 8009d06: bd10 pop {r4, pc} - 8009d08: 20001788 .word 0x20001788 +08009928 : + 8009928: b510 push {r4, lr} + 800992a: 4c05 ldr r4, [pc, #20] ; (8009940 ) + 800992c: f44f 7203 mov.w r2, #524 ; 0x20c + 8009930: 4620 mov r0, r4 + 8009932: 2100 movs r1, #0 + 8009934: f002 fdfe bl 800c534 + 8009938: 2000 movs r0, #0 + 800993a: e9c4 0000 strd r0, r0, [r4] + 800993e: bd10 pop {r4, pc} + 8009940: 20001788 .word 0x20001788 -08009d0c : - 8009d0c: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} - 8009d10: 4681 mov r9, r0 - 8009d12: 4617 mov r7, r2 - 8009d14: 2900 cmp r1, #0 - 8009d16: d03f beq.n 8009d98 - 8009d18: 4b24 ldr r3, [pc, #144] ; (8009dac ) - 8009d1a: 2500 movs r5, #0 - 8009d1c: f103 0c01 add.w ip, r3, #1 - 8009d20: 461a mov r2, r3 - 8009d22: 0128 lsls r0, r5, #4 - 8009d24: 3310 adds r3, #16 - 8009d26: f812 8f01 ldrb.w r8, [r2, #1]! - 8009d2a: f1b8 0f00 cmp.w r8, #0 - 8009d2e: d136 bne.n 8009d9e - 8009d30: 429a cmp r2, r3 - 8009d32: d1f8 bne.n 8009d26 - 8009d34: 4e1e ldr r6, [pc, #120] ; (8009db0 ) - 8009d36: 6833 ldr r3, [r6, #0] - 8009d38: b90b cbnz r3, 8009d3e - 8009d3a: f8c6 c000 str.w ip, [r6] - 8009d3e: 6873 ldr r3, [r6, #4] - 8009d40: b10b cbz r3, 8009d46 - 8009d42: f8c3 c000 str.w ip, [r3] - 8009d46: 1833 adds r3, r6, r0 - 8009d48: 2400 movs r4, #0 - 8009d4a: 3501 adds r5, #1 - 8009d4c: 609c str r4, [r3, #8] - 8009d4e: f883 900c strb.w r9, [r3, #12] - 8009d52: 300d adds r0, #13 - 8009d54: 012b lsls r3, r5, #4 - 8009d56: b2ba uxth r2, r7 - 8009d58: eb06 1505 add.w r5, r6, r5, lsl #4 - 8009d5c: 4430 add r0, r6 - 8009d5e: 50f7 str r7, [r6, r3] - 8009d60: f8c6 c004 str.w ip, [r6, #4] - 8009d64: f002 fdb6 bl 800c8d4 - 8009d68: f1b9 0f11 cmp.w r9, #17 - 8009d6c: f04f 0300 mov.w r3, #0 - 8009d70: bf98 it ls - 8009d72: 4c10 ldrls r4, [pc, #64] ; (8009db4 ) - 8009d74: 716b strb r3, [r5, #5] - 8009d76: f8d6 3208 ldr.w r3, [r6, #520] ; 0x208 - 8009d7a: bf98 it ls - 8009d7c: fa24 f409 lsrls.w r4, r4, r9 - 8009d80: f103 0301 add.w r3, r3, #1 - 8009d84: bf98 it ls - 8009d86: f004 0401 andls.w r4, r4, #1 - 8009d8a: 443b add r3, r7 - 8009d8c: 712c strb r4, [r5, #4] - 8009d8e: f8c6 3208 str.w r3, [r6, #520] ; 0x208 - 8009d92: 4640 mov r0, r8 - 8009d94: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} - 8009d98: f04f 0801 mov.w r8, #1 - 8009d9c: e7f9 b.n 8009d92 - 8009d9e: 3501 adds r5, #1 - 8009da0: 2d20 cmp r5, #32 - 8009da2: d1bb bne.n 8009d1c - 8009da4: f04f 0802 mov.w r8, #2 - 8009da8: e7f3 b.n 8009d92 - 8009daa: bf00 nop - 8009dac: 2000178f .word 0x2000178f - 8009db0: 20001788 .word 0x20001788 - 8009db4: 00020720 .word 0x00020720 +08009944 : + 8009944: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} + 8009948: 4681 mov r9, r0 + 800994a: 4617 mov r7, r2 + 800994c: 2900 cmp r1, #0 + 800994e: d03f beq.n 80099d0 + 8009950: 4b24 ldr r3, [pc, #144] ; (80099e4 ) + 8009952: 2500 movs r5, #0 + 8009954: f103 0c01 add.w ip, r3, #1 + 8009958: 461a mov r2, r3 + 800995a: 0128 lsls r0, r5, #4 + 800995c: 3310 adds r3, #16 + 800995e: f812 8f01 ldrb.w r8, [r2, #1]! + 8009962: f1b8 0f00 cmp.w r8, #0 + 8009966: d136 bne.n 80099d6 + 8009968: 429a cmp r2, r3 + 800996a: d1f8 bne.n 800995e + 800996c: 4e1e ldr r6, [pc, #120] ; (80099e8 ) + 800996e: 6833 ldr r3, [r6, #0] + 8009970: b90b cbnz r3, 8009976 + 8009972: f8c6 c000 str.w ip, [r6] + 8009976: 6873 ldr r3, [r6, #4] + 8009978: b10b cbz r3, 800997e + 800997a: f8c3 c000 str.w ip, [r3] + 800997e: 1833 adds r3, r6, r0 + 8009980: 2400 movs r4, #0 + 8009982: 3501 adds r5, #1 + 8009984: 609c str r4, [r3, #8] + 8009986: f883 900c strb.w r9, [r3, #12] + 800998a: 300d adds r0, #13 + 800998c: 012b lsls r3, r5, #4 + 800998e: b2ba uxth r2, r7 + 8009990: eb06 1505 add.w r5, r6, r5, lsl #4 + 8009994: 4430 add r0, r6 + 8009996: 50f7 str r7, [r6, r3] + 8009998: f8c6 c004 str.w ip, [r6, #4] + 800999c: f002 fdb6 bl 800c50c + 80099a0: f1b9 0f11 cmp.w r9, #17 + 80099a4: f04f 0300 mov.w r3, #0 + 80099a8: bf98 it ls + 80099aa: 4c10 ldrls r4, [pc, #64] ; (80099ec ) + 80099ac: 716b strb r3, [r5, #5] + 80099ae: f8d6 3208 ldr.w r3, [r6, #520] ; 0x208 + 80099b2: bf98 it ls + 80099b4: fa24 f409 lsrls.w r4, r4, r9 + 80099b8: f103 0301 add.w r3, r3, #1 + 80099bc: bf98 it ls + 80099be: f004 0401 andls.w r4, r4, #1 + 80099c2: 443b add r3, r7 + 80099c4: 712c strb r4, [r5, #4] + 80099c6: f8c6 3208 str.w r3, [r6, #520] ; 0x208 + 80099ca: 4640 mov r0, r8 + 80099cc: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} + 80099d0: f04f 0801 mov.w r8, #1 + 80099d4: e7f9 b.n 80099ca + 80099d6: 3501 adds r5, #1 + 80099d8: 2d20 cmp r5, #32 + 80099da: d1bb bne.n 8009954 + 80099dc: f04f 0802 mov.w r8, #2 + 80099e0: e7f3 b.n 80099ca + 80099e2: bf00 nop + 80099e4: 2000178f .word 0x2000178f + 80099e8: 20001788 .word 0x20001788 + 80099ec: 00020720 .word 0x00020720 -08009db8 : - 8009db8: b510 push {r4, lr} - 8009dba: b310 cbz r0, 8009e02 - 8009dbc: 4a12 ldr r2, [pc, #72] ; (8009e08 ) - 8009dbe: 6813 ldr r3, [r2, #0] - 8009dc0: 4298 cmp r0, r3 - 8009dc2: d104 bne.n 8009dce - 8009dc4: 6803 ldr r3, [r0, #0] - 8009dc6: 6013 str r3, [r2, #0] - 8009dc8: 2300 movs r3, #0 - 8009dca: e004 b.n 8009dd6 - 8009dcc: 460b mov r3, r1 - 8009dce: b113 cbz r3, 8009dd6 - 8009dd0: 6819 ldr r1, [r3, #0] - 8009dd2: 4288 cmp r0, r1 - 8009dd4: d1fa bne.n 8009dcc - 8009dd6: 6851 ldr r1, [r2, #4] - 8009dd8: 4288 cmp r0, r1 - 8009dda: bf08 it eq - 8009ddc: 6053 streq r3, [r2, #4] - 8009dde: b10b cbz r3, 8009de4 - 8009de0: 6801 ldr r1, [r0, #0] - 8009de2: 6019 str r1, [r3, #0] - 8009de4: f8d2 3208 ldr.w r3, [r2, #520] ; 0x208 - 8009de8: 6881 ldr r1, [r0, #8] - 8009dea: 3b01 subs r3, #1 - 8009dec: 2400 movs r4, #0 - 8009dee: 1a5b subs r3, r3, r1 - 8009df0: 6004 str r4, [r0, #0] - 8009df2: 4621 mov r1, r4 - 8009df4: f8c2 3208 str.w r3, [r2, #520] ; 0x208 - 8009df8: 2210 movs r2, #16 - 8009dfa: f002 fd7f bl 800c8fc - 8009dfe: 4620 mov r0, r4 - 8009e00: bd10 pop {r4, pc} - 8009e02: 2001 movs r0, #1 - 8009e04: e7fc b.n 8009e00 - 8009e06: bf00 nop - 8009e08: 20001788 .word 0x20001788 +080099f0 : + 80099f0: b510 push {r4, lr} + 80099f2: b310 cbz r0, 8009a3a + 80099f4: 4a12 ldr r2, [pc, #72] ; (8009a40 ) + 80099f6: 6813 ldr r3, [r2, #0] + 80099f8: 4298 cmp r0, r3 + 80099fa: d104 bne.n 8009a06 + 80099fc: 6803 ldr r3, [r0, #0] + 80099fe: 6013 str r3, [r2, #0] + 8009a00: 2300 movs r3, #0 + 8009a02: e004 b.n 8009a0e + 8009a04: 460b mov r3, r1 + 8009a06: b113 cbz r3, 8009a0e + 8009a08: 6819 ldr r1, [r3, #0] + 8009a0a: 4288 cmp r0, r1 + 8009a0c: d1fa bne.n 8009a04 + 8009a0e: 6851 ldr r1, [r2, #4] + 8009a10: 4288 cmp r0, r1 + 8009a12: bf08 it eq + 8009a14: 6053 streq r3, [r2, #4] + 8009a16: b10b cbz r3, 8009a1c + 8009a18: 6801 ldr r1, [r0, #0] + 8009a1a: 6019 str r1, [r3, #0] + 8009a1c: f8d2 3208 ldr.w r3, [r2, #520] ; 0x208 + 8009a20: 6881 ldr r1, [r0, #8] + 8009a22: 3b01 subs r3, #1 + 8009a24: 2400 movs r4, #0 + 8009a26: 1a5b subs r3, r3, r1 + 8009a28: 6004 str r4, [r0, #0] + 8009a2a: 4621 mov r1, r4 + 8009a2c: f8c2 3208 str.w r3, [r2, #520] ; 0x208 + 8009a30: 2210 movs r2, #16 + 8009a32: f002 fd7f bl 800c534 + 8009a36: 4620 mov r0, r4 + 8009a38: bd10 pop {r4, pc} + 8009a3a: 2001 movs r0, #1 + 8009a3c: e7fc b.n 8009a38 + 8009a3e: bf00 nop + 8009a40: 20001788 .word 0x20001788 -08009e0c : - 8009e0c: 4b05 ldr r3, [pc, #20] ; (8009e24 ) - 8009e0e: 681b ldr r3, [r3, #0] - 8009e10: b113 cbz r3, 8009e18 - 8009e12: 791a ldrb r2, [r3, #4] - 8009e14: 4282 cmp r2, r0 - 8009e16: d1fa bne.n 8009e0e - 8009e18: 2b00 cmp r3, #0 - 8009e1a: 600b str r3, [r1, #0] - 8009e1c: bf0c ite eq - 8009e1e: 2003 moveq r0, #3 - 8009e20: 2000 movne r0, #0 - 8009e22: 4770 bx lr - 8009e24: 20001788 .word 0x20001788 +08009a44 : + 8009a44: 4b05 ldr r3, [pc, #20] ; (8009a5c ) + 8009a46: 681b ldr r3, [r3, #0] + 8009a48: b113 cbz r3, 8009a50 + 8009a4a: 791a ldrb r2, [r3, #4] + 8009a4c: 4282 cmp r2, r0 + 8009a4e: d1fa bne.n 8009a46 + 8009a50: 2b00 cmp r3, #0 + 8009a52: 600b str r3, [r1, #0] + 8009a54: bf0c ite eq + 8009a56: 2003 moveq r0, #3 + 8009a58: 2000 movne r0, #0 + 8009a5a: 4770 bx lr + 8009a5c: 20001788 .word 0x20001788 -08009e28 : - 8009e28: b510 push {r4, lr} - 8009e2a: 4b05 ldr r3, [pc, #20] ; (8009e40 ) - 8009e2c: 6818 ldr r0, [r3, #0] - 8009e2e: b900 cbnz r0, 8009e32 - 8009e30: bd10 pop {r4, pc} - 8009e32: 7b03 ldrb r3, [r0, #12] - 8009e34: 6804 ldr r4, [r0, #0] - 8009e36: b90b cbnz r3, 8009e3c - 8009e38: f7ff ffbe bl 8009db8 - 8009e3c: 4620 mov r0, r4 - 8009e3e: e7f6 b.n 8009e2e - 8009e40: 20001788 .word 0x20001788 +08009a60 : + 8009a60: b510 push {r4, lr} + 8009a62: 4b05 ldr r3, [pc, #20] ; (8009a78 ) + 8009a64: 6818 ldr r0, [r3, #0] + 8009a66: b900 cbnz r0, 8009a6a + 8009a68: bd10 pop {r4, pc} + 8009a6a: 7b03 ldrb r3, [r0, #12] + 8009a6c: 6804 ldr r4, [r0, #0] + 8009a6e: b90b cbnz r3, 8009a74 + 8009a70: f7ff ffbe bl 80099f0 + 8009a74: 4620 mov r0, r4 + 8009a76: e7f6 b.n 8009a66 + 8009a78: 20001788 .word 0x20001788 -08009e44 : - 8009e44: b538 push {r3, r4, r5, lr} - 8009e46: 4b08 ldr r3, [pc, #32] ; (8009e68 ) - 8009e48: 4c08 ldr r4, [pc, #32] ; (8009e6c ) - 8009e4a: 6818 ldr r0, [r3, #0] - 8009e4c: b900 cbnz r0, 8009e50 - 8009e4e: bd38 pop {r3, r4, r5, pc} - 8009e50: 7903 ldrb r3, [r0, #4] - 8009e52: 6805 ldr r5, [r0, #0] - 8009e54: 2b11 cmp r3, #17 - 8009e56: d805 bhi.n 8009e64 - 8009e58: fa24 f303 lsr.w r3, r4, r3 - 8009e5c: 07db lsls r3, r3, #31 - 8009e5e: d501 bpl.n 8009e64 - 8009e60: f7ff ffaa bl 8009db8 - 8009e64: 4628 mov r0, r5 - 8009e66: e7f1 b.n 8009e4c - 8009e68: 20001788 .word 0x20001788 - 8009e6c: 00020720 .word 0x00020720 +08009a7c : + 8009a7c: b538 push {r3, r4, r5, lr} + 8009a7e: 4b08 ldr r3, [pc, #32] ; (8009aa0 ) + 8009a80: 4c08 ldr r4, [pc, #32] ; (8009aa4 ) + 8009a82: 6818 ldr r0, [r3, #0] + 8009a84: b900 cbnz r0, 8009a88 + 8009a86: bd38 pop {r3, r4, r5, pc} + 8009a88: 7903 ldrb r3, [r0, #4] + 8009a8a: 6805 ldr r5, [r0, #0] + 8009a8c: 2b11 cmp r3, #17 + 8009a8e: d805 bhi.n 8009a9c + 8009a90: fa24 f303 lsr.w r3, r4, r3 + 8009a94: 07db lsls r3, r3, #31 + 8009a96: d501 bpl.n 8009a9c + 8009a98: f7ff ffaa bl 80099f0 + 8009a9c: 4628 mov r0, r5 + 8009a9e: e7f1 b.n 8009a84 + 8009aa0: 20001788 .word 0x20001788 + 8009aa4: 00020720 .word 0x00020720 -08009e70 : - 8009e70: b128 cbz r0, 8009e7e - 8009e72: 4b04 ldr r3, [pc, #16] ; (8009e84 ) - 8009e74: f8d3 3208 ldr.w r3, [r3, #520] ; 0x208 - 8009e78: 6003 str r3, [r0, #0] - 8009e7a: 2000 movs r0, #0 - 8009e7c: 4770 bx lr - 8009e7e: 2001 movs r0, #1 - 8009e80: 4770 bx lr - 8009e82: bf00 nop - 8009e84: 20001788 .word 0x20001788 +08009aa8 : + 8009aa8: b128 cbz r0, 8009ab6 + 8009aaa: 4b04 ldr r3, [pc, #16] ; (8009abc ) + 8009aac: f8d3 3208 ldr.w r3, [r3, #520] ; 0x208 + 8009ab0: 6003 str r3, [r0, #0] + 8009ab2: 2000 movs r0, #0 + 8009ab4: 4770 bx lr + 8009ab6: 2001 movs r0, #1 + 8009ab8: 4770 bx lr + 8009aba: bf00 nop + 8009abc: 20001788 .word 0x20001788 -08009e88 : - 8009e88: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8009e8c: 4607 mov r7, r0 - 8009e8e: 460e mov r6, r1 - 8009e90: 4615 mov r5, r2 - 8009e92: b33a cbz r2, 8009ee4 - 8009e94: b331 cbz r1, 8009ee4 - 8009e96: 4b14 ldr r3, [pc, #80] ; (8009ee8 ) - 8009e98: 681c ldr r4, [r3, #0] - 8009e9a: 2300 movs r3, #0 - 8009e9c: b92c cbnz r4, 8009eaa - 8009e9e: 4630 mov r0, r6 - 8009ea0: f7ff ffe6 bl 8009e70 - 8009ea4: 2000 movs r0, #0 - 8009ea6: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8009eaa: 68a2 ldr r2, [r4, #8] - 8009eac: 1af9 subs r1, r7, r3 - 8009eae: 3201 adds r2, #1 - 8009eb0: 4291 cmp r1, r2 - 8009eb2: d310 bcc.n 8009ed6 - 8009eb4: 7922 ldrb r2, [r4, #4] - 8009eb6: 54ea strb r2, [r5, r3] - 8009eb8: 1c58 adds r0, r3, #1 - 8009eba: 8922 ldrh r2, [r4, #8] - 8009ebc: fa5f f880 uxtb.w r8, r0 - 8009ec0: 1d61 adds r1, r4, #5 - 8009ec2: fa55 f080 uxtab r0, r5, r0 - 8009ec6: f002 fd05 bl 800c8d4 - 8009eca: 68a3 ldr r3, [r4, #8] - 8009ecc: 6824 ldr r4, [r4, #0] - 8009ece: 4498 add r8, r3 - 8009ed0: fa5f f388 uxtb.w r3, r8 - 8009ed4: e7e2 b.n 8009e9c - 8009ed6: 4620 mov r0, r4 - 8009ed8: 6824 ldr r4, [r4, #0] - 8009eda: f7ff ff6d bl 8009db8 - 8009ede: 2c00 cmp r4, #0 - 8009ee0: d1f9 bne.n 8009ed6 - 8009ee2: e7dc b.n 8009e9e - 8009ee4: 2001 movs r0, #1 - 8009ee6: e7de b.n 8009ea6 - 8009ee8: 20001788 .word 0x20001788 +08009ac0 : + 8009ac0: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8009ac4: 4607 mov r7, r0 + 8009ac6: 460e mov r6, r1 + 8009ac8: 4615 mov r5, r2 + 8009aca: b33a cbz r2, 8009b1c + 8009acc: b331 cbz r1, 8009b1c + 8009ace: 4b14 ldr r3, [pc, #80] ; (8009b20 ) + 8009ad0: 681c ldr r4, [r3, #0] + 8009ad2: 2300 movs r3, #0 + 8009ad4: b92c cbnz r4, 8009ae2 + 8009ad6: 4630 mov r0, r6 + 8009ad8: f7ff ffe6 bl 8009aa8 + 8009adc: 2000 movs r0, #0 + 8009ade: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8009ae2: 68a2 ldr r2, [r4, #8] + 8009ae4: 1af9 subs r1, r7, r3 + 8009ae6: 3201 adds r2, #1 + 8009ae8: 4291 cmp r1, r2 + 8009aea: d310 bcc.n 8009b0e + 8009aec: 7922 ldrb r2, [r4, #4] + 8009aee: 54ea strb r2, [r5, r3] + 8009af0: 1c58 adds r0, r3, #1 + 8009af2: 8922 ldrh r2, [r4, #8] + 8009af4: fa5f f880 uxtb.w r8, r0 + 8009af8: 1d61 adds r1, r4, #5 + 8009afa: fa55 f080 uxtab r0, r5, r0 + 8009afe: f002 fd05 bl 800c50c + 8009b02: 68a3 ldr r3, [r4, #8] + 8009b04: 6824 ldr r4, [r4, #0] + 8009b06: 4498 add r8, r3 + 8009b08: fa5f f388 uxtb.w r3, r8 + 8009b0c: e7e2 b.n 8009ad4 + 8009b0e: 4620 mov r0, r4 + 8009b10: 6824 ldr r4, [r4, #0] + 8009b12: f7ff ff6d bl 80099f0 + 8009b16: 2c00 cmp r4, #0 + 8009b18: d1f9 bne.n 8009b0e + 8009b1a: e7dc b.n 8009ad6 + 8009b1c: 2001 movs r0, #1 + 8009b1e: e7de b.n 8009ade + 8009b20: 20001788 .word 0x20001788 -08009eec : - 8009eec: 3802 subs r0, #2 - 8009eee: b2c0 uxtb r0, r0 - 8009ef0: 2811 cmp r0, #17 - 8009ef2: bf9a itte ls - 8009ef4: 4b01 ldrls r3, [pc, #4] ; (8009efc ) - 8009ef6: 5c18 ldrbls r0, [r3, r0] - 8009ef8: 2000 movhi r0, #0 - 8009efa: 4770 bx lr - 8009efc: 0800fadf .word 0x0800fadf +08009b24 : + 8009b24: 3802 subs r0, #2 + 8009b26: b2c0 uxtb r0, r0 + 8009b28: 2811 cmp r0, #17 + 8009b2a: bf9a itte ls + 8009b2c: 4b01 ldrls r3, [pc, #4] ; (8009b34 ) + 8009b2e: 5c18 ldrbls r0, [r3, r0] + 8009b30: 2000 movhi r0, #0 + 8009b32: 4770 bx lr + 8009b34: 0800f31b .word 0x0800f31b -08009f00 : - 8009f00: b530 push {r4, r5, lr} - 8009f02: 4b0b ldr r3, [pc, #44] ; (8009f30 ) - 8009f04: f893 2020 ldrb.w r2, [r3, #32] - 8009f08: 4604 mov r4, r0 - 8009f0a: 4608 mov r0, r1 - 8009f0c: b172 cbz r2, 8009f2c - 8009f0e: 2100 movs r1, #0 - 8009f10: 331c adds r3, #28 - 8009f12: 7805 ldrb r5, [r0, #0] - 8009f14: 42a5 cmp r5, r4 - 8009f16: d008 beq.n 8009f2a - 8009f18: 3101 adds r1, #1 - 8009f1a: 4298 cmp r0, r3 - 8009f1c: b2cd uxtb r5, r1 - 8009f1e: bf0c ite eq - 8009f20: 4804 ldreq r0, [pc, #16] ; (8009f34 ) - 8009f22: 3004 addne r0, #4 - 8009f24: 42aa cmp r2, r5 - 8009f26: d8f4 bhi.n 8009f12 - 8009f28: 2000 movs r0, #0 - 8009f2a: bd30 pop {r4, r5, pc} - 8009f2c: 4610 mov r0, r2 - 8009f2e: e7fc b.n 8009f2a - 8009f30: 20001994 .word 0x20001994 - 8009f34: 200019a0 .word 0x200019a0 +08009b38 : + 8009b38: b530 push {r4, r5, lr} + 8009b3a: 4b0b ldr r3, [pc, #44] ; (8009b68 ) + 8009b3c: f893 2020 ldrb.w r2, [r3, #32] + 8009b40: 4604 mov r4, r0 + 8009b42: 4608 mov r0, r1 + 8009b44: b172 cbz r2, 8009b64 + 8009b46: 2100 movs r1, #0 + 8009b48: 331c adds r3, #28 + 8009b4a: 7805 ldrb r5, [r0, #0] + 8009b4c: 42a5 cmp r5, r4 + 8009b4e: d008 beq.n 8009b62 + 8009b50: 3101 adds r1, #1 + 8009b52: 4298 cmp r0, r3 + 8009b54: b2cd uxtb r5, r1 + 8009b56: bf0c ite eq + 8009b58: 4804 ldreq r0, [pc, #16] ; (8009b6c ) + 8009b5a: 3004 addne r0, #4 + 8009b5c: 42aa cmp r2, r5 + 8009b5e: d8f4 bhi.n 8009b4a + 8009b60: 2000 movs r0, #0 + 8009b62: bd30 pop {r4, r5, pc} + 8009b64: 4610 mov r0, r2 + 8009b66: e7fc b.n 8009b62 + 8009b68: 20001994 .word 0x20001994 + 8009b6c: 200019a0 .word 0x200019a0 -08009f38 : - 8009f38: b510 push {r4, lr} - 8009f3a: 4c08 ldr r4, [pc, #32] ; (8009f5c ) - 8009f3c: 2300 movs r3, #0 - 8009f3e: 6020 str r0, [r4, #0] - 8009f40: 2214 movs r2, #20 - 8009f42: f104 000c add.w r0, r4, #12 - 8009f46: 21ff movs r1, #255 ; 0xff - 8009f48: f884 3020 strb.w r3, [r4, #32] - 8009f4c: e9c4 0001 strd r0, r0, [r4, #4] - 8009f50: f002 fcd4 bl 800c8fc - 8009f54: 2301 movs r3, #1 - 8009f56: f884 3021 strb.w r3, [r4, #33] ; 0x21 - 8009f5a: bd10 pop {r4, pc} - 8009f5c: 20001994 .word 0x20001994 +08009b70 : + 8009b70: b510 push {r4, lr} + 8009b72: 4c08 ldr r4, [pc, #32] ; (8009b94 ) + 8009b74: 2300 movs r3, #0 + 8009b76: 6020 str r0, [r4, #0] + 8009b78: 2214 movs r2, #20 + 8009b7a: f104 000c add.w r0, r4, #12 + 8009b7e: 21ff movs r1, #255 ; 0xff + 8009b80: f884 3020 strb.w r3, [r4, #32] + 8009b84: e9c4 0001 strd r0, r0, [r4, #4] + 8009b88: f002 fcd4 bl 800c534 + 8009b8c: 2301 movs r3, #1 + 8009b8e: f884 3021 strb.w r3, [r4, #33] ; 0x21 + 8009b92: bd10 pop {r4, pc} + 8009b94: 20001994 .word 0x20001994 -08009f60 : - 8009f60: b510 push {r4, lr} - 8009f62: 4a0e ldr r2, [pc, #56] ; (8009f9c ) - 8009f64: f892 1020 ldrb.w r1, [r2, #32] - 8009f68: 2904 cmp r1, #4 - 8009f6a: d815 bhi.n 8009f98 - 8009f6c: 6893 ldr r3, [r2, #8] - 8009f6e: 7804 ldrb r4, [r0, #0] - 8009f70: 701c strb r4, [r3, #0] - 8009f72: 7844 ldrb r4, [r0, #1] - 8009f74: 705c strb r4, [r3, #1] - 8009f76: 78c4 ldrb r4, [r0, #3] - 8009f78: 7880 ldrb r0, [r0, #2] - 8009f7a: 7098 strb r0, [r3, #2] - 8009f7c: 3101 adds r1, #1 - 8009f7e: 70dc strb r4, [r3, #3] - 8009f80: f882 1020 strb.w r1, [r2, #32] - 8009f84: f102 011c add.w r1, r2, #28 - 8009f88: 428b cmp r3, r1 - 8009f8a: bf14 ite ne - 8009f8c: 3304 addne r3, #4 - 8009f8e: f102 030c addeq.w r3, r2, #12 - 8009f92: 6093 str r3, [r2, #8] - 8009f94: 2001 movs r0, #1 - 8009f96: bd10 pop {r4, pc} - 8009f98: 2000 movs r0, #0 - 8009f9a: e7fc b.n 8009f96 - 8009f9c: 20001994 .word 0x20001994 +08009b98 : + 8009b98: b510 push {r4, lr} + 8009b9a: 4a0e ldr r2, [pc, #56] ; (8009bd4 ) + 8009b9c: f892 1020 ldrb.w r1, [r2, #32] + 8009ba0: 2904 cmp r1, #4 + 8009ba2: d815 bhi.n 8009bd0 + 8009ba4: 6893 ldr r3, [r2, #8] + 8009ba6: 7804 ldrb r4, [r0, #0] + 8009ba8: 701c strb r4, [r3, #0] + 8009baa: 7844 ldrb r4, [r0, #1] + 8009bac: 705c strb r4, [r3, #1] + 8009bae: 78c4 ldrb r4, [r0, #3] + 8009bb0: 7880 ldrb r0, [r0, #2] + 8009bb2: 7098 strb r0, [r3, #2] + 8009bb4: 3101 adds r1, #1 + 8009bb6: 70dc strb r4, [r3, #3] + 8009bb8: f882 1020 strb.w r1, [r2, #32] + 8009bbc: f102 011c add.w r1, r2, #28 + 8009bc0: 428b cmp r3, r1 + 8009bc2: bf14 ite ne + 8009bc4: 3304 addne r3, #4 + 8009bc6: f102 030c addeq.w r3, r2, #12 + 8009bca: 6093 str r3, [r2, #8] + 8009bcc: 2001 movs r0, #1 + 8009bce: bd10 pop {r4, pc} + 8009bd0: 2000 movs r0, #0 + 8009bd2: e7fc b.n 8009bce + 8009bd4: 20001994 .word 0x20001994 -08009fa0 : - 8009fa0: 4b09 ldr r3, [pc, #36] ; (8009fc8 ) - 8009fa2: f893 0020 ldrb.w r0, [r3, #32] - 8009fa6: b168 cbz r0, 8009fc4 - 8009fa8: 685a ldr r2, [r3, #4] - 8009faa: f103 011c add.w r1, r3, #28 - 8009fae: 428a cmp r2, r1 - 8009fb0: f100 30ff add.w r0, r0, #4294967295 - 8009fb4: bf14 ite ne - 8009fb6: 3204 addne r2, #4 - 8009fb8: f103 020c addeq.w r2, r3, #12 - 8009fbc: f883 0020 strb.w r0, [r3, #32] - 8009fc0: 605a str r2, [r3, #4] - 8009fc2: 2001 movs r0, #1 - 8009fc4: 4770 bx lr - 8009fc6: bf00 nop - 8009fc8: 20001994 .word 0x20001994 +08009bd8 : + 8009bd8: 4b09 ldr r3, [pc, #36] ; (8009c00 ) + 8009bda: f893 0020 ldrb.w r0, [r3, #32] + 8009bde: b168 cbz r0, 8009bfc + 8009be0: 685a ldr r2, [r3, #4] + 8009be2: f103 011c add.w r1, r3, #28 + 8009be6: 428a cmp r2, r1 + 8009be8: f100 30ff add.w r0, r0, #4294967295 + 8009bec: bf14 ite ne + 8009bee: 3204 addne r2, #4 + 8009bf0: f103 020c addeq.w r2, r3, #12 + 8009bf4: f883 0020 strb.w r0, [r3, #32] + 8009bf8: 605a str r2, [r3, #4] + 8009bfa: 2001 movs r0, #1 + 8009bfc: 4770 bx lr + 8009bfe: bf00 nop + 8009c00: 20001994 .word 0x20001994 -08009fcc : - 8009fcc: b510 push {r4, lr} - 8009fce: 4b07 ldr r3, [pc, #28] ; (8009fec ) - 8009fd0: f893 2020 ldrb.w r2, [r3, #32] - 8009fd4: 4604 mov r4, r0 - 8009fd6: 4608 mov r0, r1 - 8009fd8: b132 cbz r2, 8009fe8 - 8009fda: 6859 ldr r1, [r3, #4] - 8009fdc: f7ff ff90 bl 8009f00 - 8009fe0: b110 cbz r0, 8009fe8 - 8009fe2: 2301 movs r3, #1 - 8009fe4: 7044 strb r4, [r0, #1] - 8009fe6: 7083 strb r3, [r0, #2] - 8009fe8: bd10 pop {r4, pc} - 8009fea: bf00 nop - 8009fec: 20001994 .word 0x20001994 +08009c04 : + 8009c04: b510 push {r4, lr} + 8009c06: 4b07 ldr r3, [pc, #28] ; (8009c24 ) + 8009c08: f893 2020 ldrb.w r2, [r3, #32] + 8009c0c: 4604 mov r4, r0 + 8009c0e: 4608 mov r0, r1 + 8009c10: b132 cbz r2, 8009c20 + 8009c12: 6859 ldr r1, [r3, #4] + 8009c14: f7ff ff90 bl 8009b38 + 8009c18: b110 cbz r0, 8009c20 + 8009c1a: 2301 movs r3, #1 + 8009c1c: 7044 strb r4, [r0, #1] + 8009c1e: 7083 strb r3, [r0, #2] + 8009c20: bd10 pop {r4, pc} + 8009c22: bf00 nop + 8009c24: 20001994 .word 0x20001994 -08009ff0 : - 8009ff0: b508 push {r3, lr} - 8009ff2: 4b06 ldr r3, [pc, #24] ; (800a00c ) - 8009ff4: f893 2020 ldrb.w r2, [r3, #32] - 8009ff8: b12a cbz r2, 800a006 - 8009ffa: 6859 ldr r1, [r3, #4] - 8009ffc: f7ff ff80 bl 8009f00 - 800a000: b108 cbz r0, 800a006 - 800a002: 7840 ldrb r0, [r0, #1] - 800a004: bd08 pop {r3, pc} - 800a006: 2001 movs r0, #1 - 800a008: e7fc b.n 800a004 - 800a00a: bf00 nop - 800a00c: 20001994 .word 0x20001994 +08009c28 : + 8009c28: b508 push {r3, lr} + 8009c2a: 4b06 ldr r3, [pc, #24] ; (8009c44 ) + 8009c2c: f893 2020 ldrb.w r2, [r3, #32] + 8009c30: b12a cbz r2, 8009c3e + 8009c32: 6859 ldr r1, [r3, #4] + 8009c34: f7ff ff80 bl 8009b38 + 8009c38: b108 cbz r0, 8009c3e + 8009c3a: 7840 ldrb r0, [r0, #1] + 8009c3c: bd08 pop {r3, pc} + 8009c3e: 2001 movs r0, #1 + 8009c40: e7fc b.n 8009c3c + 8009c42: bf00 nop + 8009c44: 20001994 .word 0x20001994 -0800a010 : - 800a010: b530 push {r4, r5, lr} - 800a012: 4a0a ldr r2, [pc, #40] ; (800a03c ) - 800a014: f892 1020 ldrb.w r1, [r2, #32] - 800a018: 6853 ldr r3, [r2, #4] - 800a01a: f882 0021 strb.w r0, [r2, #33] ; 0x21 - 800a01e: b161 cbz r1, 800a03a - 800a020: 6891 ldr r1, [r2, #8] - 800a022: 2401 movs r4, #1 - 800a024: 321c adds r2, #28 - 800a026: 78dd ldrb r5, [r3, #3] - 800a028: 7058 strb r0, [r3, #1] - 800a02a: b905 cbnz r5, 800a02e - 800a02c: 709c strb r4, [r3, #2] - 800a02e: 4293 cmp r3, r2 - 800a030: bf0c ite eq - 800a032: 4b03 ldreq r3, [pc, #12] ; (800a040 ) - 800a034: 3304 addne r3, #4 - 800a036: 4299 cmp r1, r3 - 800a038: d1f5 bne.n 800a026 - 800a03a: bd30 pop {r4, r5, pc} - 800a03c: 20001994 .word 0x20001994 - 800a040: 200019a0 .word 0x200019a0 +08009c48 : + 8009c48: b530 push {r4, r5, lr} + 8009c4a: 4a0a ldr r2, [pc, #40] ; (8009c74 ) + 8009c4c: f892 1020 ldrb.w r1, [r2, #32] + 8009c50: 6853 ldr r3, [r2, #4] + 8009c52: f882 0021 strb.w r0, [r2, #33] ; 0x21 + 8009c56: b161 cbz r1, 8009c72 + 8009c58: 6891 ldr r1, [r2, #8] + 8009c5a: 2401 movs r4, #1 + 8009c5c: 321c adds r2, #28 + 8009c5e: 78dd ldrb r5, [r3, #3] + 8009c60: 7058 strb r0, [r3, #1] + 8009c62: b905 cbnz r5, 8009c66 + 8009c64: 709c strb r4, [r3, #2] + 8009c66: 4293 cmp r3, r2 + 8009c68: bf0c ite eq + 8009c6a: 4b03 ldreq r3, [pc, #12] ; (8009c78 ) + 8009c6c: 3304 addne r3, #4 + 8009c6e: 4299 cmp r1, r3 + 8009c70: d1f5 bne.n 8009c5e + 8009c72: bd30 pop {r4, r5, pc} + 8009c74: 20001994 .word 0x20001994 + 8009c78: 200019a0 .word 0x200019a0 -0800a044 : - 800a044: b508 push {r3, lr} - 800a046: 4b04 ldr r3, [pc, #16] ; (800a058 ) - 800a048: 6859 ldr r1, [r3, #4] - 800a04a: f7ff ff59 bl 8009f00 - 800a04e: 3800 subs r0, #0 - 800a050: bf18 it ne - 800a052: 2001 movne r0, #1 - 800a054: bd08 pop {r3, pc} - 800a056: bf00 nop - 800a058: 20001994 .word 0x20001994 +08009c7c : + 8009c7c: b508 push {r3, lr} + 8009c7e: 4b04 ldr r3, [pc, #16] ; (8009c90 ) + 8009c80: 6859 ldr r1, [r3, #4] + 8009c82: f7ff ff59 bl 8009b38 + 8009c86: 3800 subs r0, #0 + 8009c88: bf18 it ne + 8009c8a: 2001 movne r0, #1 + 8009c8c: bd08 pop {r3, pc} + 8009c8e: bf00 nop + 8009c90: 20001994 .word 0x20001994 -0800a05c : - 800a05c: e92d 41f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, lr} - 800a060: 2204 movs r2, #4 - 800a062: 4e15 ldr r6, [pc, #84] ; (800a0b8 ) - 800a064: 4604 mov r4, r0 - 800a066: 2100 movs r1, #0 - 800a068: eb0d 0002 add.w r0, sp, r2 - 800a06c: f896 8020 ldrb.w r8, [r6, #32] - 800a070: f002 fc44 bl 800c8fc - 800a074: 2500 movs r5, #0 - 800a076: b2eb uxtb r3, r5 - 800a078: 4598 cmp r8, r3 - 800a07a: d802 bhi.n 800a082 - 800a07c: b002 add sp, #8 - 800a07e: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800a082: 6873 ldr r3, [r6, #4] - 800a084: 7819 ldrb r1, [r3, #0] - 800a086: 7021 strb r1, [r4, #0] - 800a088: 785a ldrb r2, [r3, #1] - 800a08a: 7062 strb r2, [r4, #1] - 800a08c: 789f ldrb r7, [r3, #2] - 800a08e: b15f cbz r7, 800a0a8 - 800a090: 6833 ldr r3, [r6, #0] - 800a092: 4620 mov r0, r4 - 800a094: 689b ldr r3, [r3, #8] - 800a096: 4798 blx r3 - 800a098: f7ff ff82 bl 8009fa0 - 800a09c: b917 cbnz r7, 800a0a4 - 800a09e: a801 add r0, sp, #4 - 800a0a0: f7ff ff5e bl 8009f60 - 800a0a4: 3501 adds r5, #1 - 800a0a6: e7e6 b.n 800a076 - 800a0a8: 78db ldrb r3, [r3, #3] - 800a0aa: f88d 1004 strb.w r1, [sp, #4] - 800a0ae: f88d 2005 strb.w r2, [sp, #5] - 800a0b2: f88d 3007 strb.w r3, [sp, #7] - 800a0b6: e7ef b.n 800a098 - 800a0b8: 20001994 .word 0x20001994 +08009c94 : + 8009c94: e92d 41f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, lr} + 8009c98: 2204 movs r2, #4 + 8009c9a: 4e15 ldr r6, [pc, #84] ; (8009cf0 ) + 8009c9c: 4604 mov r4, r0 + 8009c9e: 2100 movs r1, #0 + 8009ca0: eb0d 0002 add.w r0, sp, r2 + 8009ca4: f896 8020 ldrb.w r8, [r6, #32] + 8009ca8: f002 fc44 bl 800c534 + 8009cac: 2500 movs r5, #0 + 8009cae: b2eb uxtb r3, r5 + 8009cb0: 4598 cmp r8, r3 + 8009cb2: d802 bhi.n 8009cba + 8009cb4: b002 add sp, #8 + 8009cb6: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8009cba: 6873 ldr r3, [r6, #4] + 8009cbc: 7819 ldrb r1, [r3, #0] + 8009cbe: 7021 strb r1, [r4, #0] + 8009cc0: 785a ldrb r2, [r3, #1] + 8009cc2: 7062 strb r2, [r4, #1] + 8009cc4: 789f ldrb r7, [r3, #2] + 8009cc6: b15f cbz r7, 8009ce0 + 8009cc8: 6833 ldr r3, [r6, #0] + 8009cca: 4620 mov r0, r4 + 8009ccc: 689b ldr r3, [r3, #8] + 8009cce: 4798 blx r3 + 8009cd0: f7ff ff82 bl 8009bd8 + 8009cd4: b917 cbnz r7, 8009cdc + 8009cd6: a801 add r0, sp, #4 + 8009cd8: f7ff ff5e bl 8009b98 + 8009cdc: 3501 adds r5, #1 + 8009cde: e7e6 b.n 8009cae + 8009ce0: 78db ldrb r3, [r3, #3] + 8009ce2: f88d 1004 strb.w r1, [sp, #4] + 8009ce6: f88d 2005 strb.w r2, [sp, #5] + 8009cea: f88d 3007 strb.w r3, [sp, #7] + 8009cee: e7ef b.n 8009cd0 + 8009cf0: 20001994 .word 0x20001994 -0800a0bc : - 800a0bc: 4b01 ldr r3, [pc, #4] ; (800a0c4 ) - 800a0be: f893 0020 ldrb.w r0, [r3, #32] - 800a0c2: 4770 bx lr - 800a0c4: 20001994 .word 0x20001994 +08009cf4 : + 8009cf4: 4b01 ldr r3, [pc, #4] ; (8009cfc ) + 8009cf6: f893 0020 ldrb.w r0, [r3, #32] + 8009cfa: 4770 bx lr + 8009cfc: 20001994 .word 0x20001994 -0800a0c8 : - 800a0c8: 4b03 ldr r3, [pc, #12] ; (800a0d8 ) - 800a0ca: f893 0020 ldrb.w r0, [r3, #32] - 800a0ce: 2804 cmp r0, #4 - 800a0d0: bf94 ite ls - 800a0d2: 2000 movls r0, #0 - 800a0d4: 2001 movhi r0, #1 - 800a0d6: 4770 bx lr - 800a0d8: 20001994 .word 0x20001994 +08009d00 : + 8009d00: 4b03 ldr r3, [pc, #12] ; (8009d10 ) + 8009d02: f893 0020 ldrb.w r0, [r3, #32] + 8009d06: 2804 cmp r0, #4 + 8009d08: bf94 ite ls + 8009d0a: 2000 movls r0, #0 + 8009d0c: 2001 movhi r0, #1 + 8009d0e: 4770 bx lr + 8009d10: 20001994 .word 0x20001994 -0800a0dc : - 800a0dc: b51f push {r0, r1, r2, r3, r4, lr} - 800a0de: 2400 movs r4, #0 - 800a0e0: e9cd 4402 strd r4, r4, [sp, #8] - 800a0e4: 1fc4 subs r4, r0, #7 - 800a0e6: f88d 4000 strb.w r4, [sp] - 800a0ea: f88d 1001 strb.w r1, [sp, #1] - 800a0ee: 0a0c lsrs r4, r1, #8 - 800a0f0: f8ad 2004 strh.w r2, [sp, #4] - 800a0f4: 0c09 lsrs r1, r1, #16 - 800a0f6: 0c12 lsrs r2, r2, #16 - 800a0f8: f88d 1003 strb.w r1, [sp, #3] - 800a0fc: f88d 2006 strb.w r2, [sp, #6] - 800a100: f88d 3007 strb.w r3, [sp, #7] - 800a104: 4602 mov r2, r0 - 800a106: 0a1b lsrs r3, r3, #8 - 800a108: 2101 movs r1, #1 - 800a10a: 4668 mov r0, sp - 800a10c: f88d 4002 strb.w r4, [sp, #2] - 800a110: f88d 3008 strb.w r3, [sp, #8] - 800a114: f002 fa4f bl 800c5b6 - 800a118: 2800 cmp r0, #0 - 800a11a: bf18 it ne - 800a11c: 200e movne r0, #14 - 800a11e: b004 add sp, #16 - 800a120: bd10 pop {r4, pc} +08009d14 : + 8009d14: b51f push {r0, r1, r2, r3, r4, lr} + 8009d16: 2400 movs r4, #0 + 8009d18: e9cd 4402 strd r4, r4, [sp, #8] + 8009d1c: 1fc4 subs r4, r0, #7 + 8009d1e: f88d 4000 strb.w r4, [sp] + 8009d22: f88d 1001 strb.w r1, [sp, #1] + 8009d26: 0a0c lsrs r4, r1, #8 + 8009d28: f8ad 2004 strh.w r2, [sp, #4] + 8009d2c: 0c09 lsrs r1, r1, #16 + 8009d2e: 0c12 lsrs r2, r2, #16 + 8009d30: f88d 1003 strb.w r1, [sp, #3] + 8009d34: f88d 2006 strb.w r2, [sp, #6] + 8009d38: f88d 3007 strb.w r3, [sp, #7] + 8009d3c: 4602 mov r2, r0 + 8009d3e: 0a1b lsrs r3, r3, #8 + 8009d40: 2101 movs r1, #1 + 8009d42: 4668 mov r0, sp + 8009d44: f88d 4002 strb.w r4, [sp, #2] + 8009d48: f88d 3008 strb.w r3, [sp, #8] + 8009d4c: f002 fa4f bl 800c1ee + 8009d50: 2800 cmp r0, #0 + 8009d52: bf18 it ne + 8009d54: 200e movne r0, #14 + 8009d56: b004 add sp, #16 + 8009d58: bd10 pop {r4, pc} -0800a122 : - 800a122: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800a126: b088 sub sp, #32 - 800a128: 4617 mov r7, r2 - 800a12a: 460d mov r5, r1 - 800a12c: 9a0f ldr r2, [sp, #60] ; 0x3c - 800a12e: 4606 mov r6, r0 - 800a130: 2800 cmp r0, #0 - 800a132: d04d beq.n 800a1d0 - 800a134: 2400 movs r4, #0 - 800a136: 2101 movs r1, #1 - 800a138: e9cd 4404 strd r4, r4, [sp, #16] - 800a13c: f88d 1010 strb.w r1, [sp, #16] - 800a140: f89d 1038 ldrb.w r1, [sp, #56] ; 0x38 - 800a144: f88d 1015 strb.w r1, [sp, #21] - 800a148: f8ad 3016 strh.w r3, [sp, #22] - 800a14c: 0c19 lsrs r1, r3, #16 - 800a14e: e9cd 4400 strd r4, r4, [sp] - 800a152: 0e1b lsrs r3, r3, #24 - 800a154: e9cd 4402 strd r4, r4, [sp, #8] - 800a158: f88d 3019 strb.w r3, [sp, #25] - 800a15c: f8ad 201a strh.w r2, [sp, #26] - 800a160: 0c13 lsrs r3, r2, #16 - 800a162: 0e12 lsrs r2, r2, #24 - 800a164: 9407 str r4, [sp, #28] - 800a166: f88d 1018 strb.w r1, [sp, #24] - 800a16a: f88d 301c strb.w r3, [sp, #28] - 800a16e: f88d 201d strb.w r2, [sp, #29] - 800a172: b2e3 uxtb r3, r4 - 800a174: ea4f 1803 mov.w r8, r3, lsl #4 - 800a178: 2d00 cmp r5, #0 - 800a17a: fa5f f888 uxtb.w r8, r8 - 800a17e: dc03 bgt.n 800a188 - 800a180: 2000 movs r0, #0 - 800a182: b008 add sp, #32 - 800a184: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800a188: 3301 adds r3, #1 - 800a18a: 2110 movs r1, #16 - 800a18c: f88d 301f strb.w r3, [sp, #31] - 800a190: 463a mov r2, r7 - 800a192: 466b mov r3, sp - 800a194: eb0d 0001 add.w r0, sp, r1 - 800a198: f002 f9a3 bl 800c4e2 - 800a19c: 4603 mov r3, r0 - 800a19e: b9c8 cbnz r0, 800a1d4 - 800a1a0: 2d10 cmp r5, #16 - 800a1a2: 46ac mov ip, r5 - 800a1a4: bfa8 it ge - 800a1a6: f04f 0c10 movge.w ip, #16 - 800a1aa: b2da uxtb r2, r3 - 800a1ac: 4562 cmp r2, ip - 800a1ae: f103 0301 add.w r3, r3, #1 - 800a1b2: db03 blt.n 800a1bc - 800a1b4: 3d10 subs r5, #16 - 800a1b6: b22d sxth r5, r5 - 800a1b8: 3401 adds r4, #1 - 800a1ba: e7da b.n 800a172 - 800a1bc: eb08 0002 add.w r0, r8, r2 - 800a1c0: 3220 adds r2, #32 - 800a1c2: 446a add r2, sp - 800a1c4: 5c31 ldrb r1, [r6, r0] - 800a1c6: f812 2c20 ldrb.w r2, [r2, #-32] - 800a1ca: 404a eors r2, r1 - 800a1cc: 5432 strb r2, [r6, r0] - 800a1ce: e7ec b.n 800a1aa - 800a1d0: 2009 movs r0, #9 - 800a1d2: e7d6 b.n 800a182 - 800a1d4: 200e movs r0, #14 - 800a1d6: e7d4 b.n 800a182 +08009d5a : + 8009d5a: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8009d5e: b088 sub sp, #32 + 8009d60: 4617 mov r7, r2 + 8009d62: 460d mov r5, r1 + 8009d64: 9a0f ldr r2, [sp, #60] ; 0x3c + 8009d66: 4606 mov r6, r0 + 8009d68: 2800 cmp r0, #0 + 8009d6a: d04d beq.n 8009e08 + 8009d6c: 2400 movs r4, #0 + 8009d6e: 2101 movs r1, #1 + 8009d70: e9cd 4404 strd r4, r4, [sp, #16] + 8009d74: f88d 1010 strb.w r1, [sp, #16] + 8009d78: f89d 1038 ldrb.w r1, [sp, #56] ; 0x38 + 8009d7c: f88d 1015 strb.w r1, [sp, #21] + 8009d80: f8ad 3016 strh.w r3, [sp, #22] + 8009d84: 0c19 lsrs r1, r3, #16 + 8009d86: e9cd 4400 strd r4, r4, [sp] + 8009d8a: 0e1b lsrs r3, r3, #24 + 8009d8c: e9cd 4402 strd r4, r4, [sp, #8] + 8009d90: f88d 3019 strb.w r3, [sp, #25] + 8009d94: f8ad 201a strh.w r2, [sp, #26] + 8009d98: 0c13 lsrs r3, r2, #16 + 8009d9a: 0e12 lsrs r2, r2, #24 + 8009d9c: 9407 str r4, [sp, #28] + 8009d9e: f88d 1018 strb.w r1, [sp, #24] + 8009da2: f88d 301c strb.w r3, [sp, #28] + 8009da6: f88d 201d strb.w r2, [sp, #29] + 8009daa: b2e3 uxtb r3, r4 + 8009dac: ea4f 1803 mov.w r8, r3, lsl #4 + 8009db0: 2d00 cmp r5, #0 + 8009db2: fa5f f888 uxtb.w r8, r8 + 8009db6: dc03 bgt.n 8009dc0 + 8009db8: 2000 movs r0, #0 + 8009dba: b008 add sp, #32 + 8009dbc: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8009dc0: 3301 adds r3, #1 + 8009dc2: 2110 movs r1, #16 + 8009dc4: f88d 301f strb.w r3, [sp, #31] + 8009dc8: 463a mov r2, r7 + 8009dca: 466b mov r3, sp + 8009dcc: eb0d 0001 add.w r0, sp, r1 + 8009dd0: f002 f9a3 bl 800c11a + 8009dd4: 4603 mov r3, r0 + 8009dd6: b9c8 cbnz r0, 8009e0c + 8009dd8: 2d10 cmp r5, #16 + 8009dda: 46ac mov ip, r5 + 8009ddc: bfa8 it ge + 8009dde: f04f 0c10 movge.w ip, #16 + 8009de2: b2da uxtb r2, r3 + 8009de4: 4562 cmp r2, ip + 8009de6: f103 0301 add.w r3, r3, #1 + 8009dea: db03 blt.n 8009df4 + 8009dec: 3d10 subs r5, #16 + 8009dee: b22d sxth r5, r5 + 8009df0: 3401 adds r4, #1 + 8009df2: e7da b.n 8009daa + 8009df4: eb08 0002 add.w r0, r8, r2 + 8009df8: 3220 adds r2, #32 + 8009dfa: 446a add r2, sp + 8009dfc: 5c31 ldrb r1, [r6, r0] + 8009dfe: f812 2c20 ldrb.w r2, [r2, #-32] + 8009e02: 404a eors r2, r1 + 8009e04: 5432 strb r2, [r6, r0] + 8009e06: e7ec b.n 8009de2 + 8009e08: 2009 movs r0, #9 + 8009e0a: e7d6 b.n 8009dba + 8009e0c: 200e movs r0, #14 + 8009e0e: e7d4 b.n 8009dba -0800a1d8 : - 800a1d8: 3801 subs r0, #1 - 800a1da: 2803 cmp r0, #3 - 800a1dc: d815 bhi.n 800a20a - 800a1de: e8df f000 tbb [pc, r0] - 800a1e2: 0802 .short 0x0802 - 800a1e4: 100c .short 0x100c - 800a1e6: 4b0a ldr r3, [pc, #40] ; (800a210 ) - 800a1e8: 681b ldr r3, [r3, #0] - 800a1ea: 691b ldr r3, [r3, #16] - 800a1ec: 600b str r3, [r1, #0] - 800a1ee: 2000 movs r0, #0 - 800a1f0: 4770 bx lr - 800a1f2: 4b07 ldr r3, [pc, #28] ; (800a210 ) - 800a1f4: 681b ldr r3, [r3, #0] - 800a1f6: 695b ldr r3, [r3, #20] - 800a1f8: e7f8 b.n 800a1ec - 800a1fa: 4b05 ldr r3, [pc, #20] ; (800a210 ) - 800a1fc: 681b ldr r3, [r3, #0] - 800a1fe: 699b ldr r3, [r3, #24] - 800a200: e7f4 b.n 800a1ec - 800a202: 4b03 ldr r3, [pc, #12] ; (800a210 ) - 800a204: 681b ldr r3, [r3, #0] - 800a206: 69db ldr r3, [r3, #28] - 800a208: e7f0 b.n 800a1ec - 800a20a: 2005 movs r0, #5 - 800a20c: 4770 bx lr +08009e10 : + 8009e10: 3801 subs r0, #1 + 8009e12: 2803 cmp r0, #3 + 8009e14: d815 bhi.n 8009e42 + 8009e16: e8df f000 tbb [pc, r0] + 8009e1a: 0802 .short 0x0802 + 8009e1c: 100c .short 0x100c + 8009e1e: 4b0a ldr r3, [pc, #40] ; (8009e48 ) + 8009e20: 681b ldr r3, [r3, #0] + 8009e22: 691b ldr r3, [r3, #16] + 8009e24: 600b str r3, [r1, #0] + 8009e26: 2000 movs r0, #0 + 8009e28: 4770 bx lr + 8009e2a: 4b07 ldr r3, [pc, #28] ; (8009e48 ) + 8009e2c: 681b ldr r3, [r3, #0] + 8009e2e: 695b ldr r3, [r3, #20] + 8009e30: e7f8 b.n 8009e24 + 8009e32: 4b05 ldr r3, [pc, #20] ; (8009e48 ) + 8009e34: 681b ldr r3, [r3, #0] + 8009e36: 699b ldr r3, [r3, #24] + 8009e38: e7f4 b.n 8009e24 + 8009e3a: 4b03 ldr r3, [pc, #12] ; (8009e48 ) + 8009e3c: 681b ldr r3, [r3, #0] + 8009e3e: 69db ldr r3, [r3, #28] + 8009e40: e7f0 b.n 8009e24 + 8009e42: 2005 movs r0, #5 + 8009e44: 4770 bx lr + 8009e46: bf00 nop + 8009e48: 200019b8 .word 0x200019b8 + +08009e4c : + 8009e4c: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8009e50: b0c4 sub sp, #272 ; 0x110 + 8009e52: 460c mov r4, r1 + 8009e54: 9e4a ldr r6, [sp, #296] ; 0x128 + 8009e56: 4617 mov r7, r2 + 8009e58: 461d mov r5, r3 + 8009e5a: 4680 mov r8, r0 + 8009e5c: b3b8 cbz r0, 8009ece + 8009e5e: f5b1 7f80 cmp.w r1, #256 ; 0x100 + 8009e62: d836 bhi.n 8009ed2 + 8009e64: f44f 7288 mov.w r2, #272 ; 0x110 + 8009e68: 2100 movs r1, #0 + 8009e6a: 4668 mov r0, sp + 8009e6c: f002 fb62 bl 800c534 + 8009e70: 2349 movs r3, #73 ; 0x49 + 8009e72: 9300 str r3, [sp, #0] + 8009e74: f44f 7380 mov.w r3, #256 ; 0x100 + 8009e78: f8ad 3004 strh.w r3, [sp, #4] + 8009e7c: 0c2b lsrs r3, r5, #16 + 8009e7e: f88d 3008 strb.w r3, [sp, #8] + 8009e82: 0c33 lsrs r3, r6, #16 + 8009e84: f8ad 5006 strh.w r5, [sp, #6] + 8009e88: f8ad 600a strh.w r6, [sp, #10] + 8009e8c: f88d 300c strb.w r3, [sp, #12] + 8009e90: 4622 mov r2, r4 + 8009e92: 2300 movs r3, #0 + 8009e94: 4641 mov r1, r8 + 8009e96: a804 add r0, sp, #16 + 8009e98: 0e2d lsrs r5, r5, #24 + 8009e9a: 0e36 lsrs r6, r6, #24 + 8009e9c: f88d 300e strb.w r3, [sp, #14] + 8009ea0: f88d 5009 strb.w r5, [sp, #9] + 8009ea4: f88d 600d strb.w r6, [sp, #13] + 8009ea8: f88d 400f strb.w r4, [sp, #15] + 8009eac: f002 fb2e bl 800c50c + 8009eb0: f104 0110 add.w r1, r4, #16 + 8009eb4: 9a4b ldr r2, [sp, #300] ; 0x12c + 8009eb6: 463b mov r3, r7 + 8009eb8: b289 uxth r1, r1 + 8009eba: 4668 mov r0, sp + 8009ebc: f002 f917 bl 800c0ee + 8009ec0: b110 cbz r0, 8009ec8 + 8009ec2: 2801 cmp r0, #1 + 8009ec4: bf18 it ne + 8009ec6: 200e movne r0, #14 + 8009ec8: b044 add sp, #272 ; 0x110 + 8009eca: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8009ece: 2009 movs r0, #9 + 8009ed0: e7fa b.n 8009ec8 + 8009ed2: 200d movs r0, #13 + 8009ed4: e7f8 b.n 8009ec8 + ... + +08009ed8 : + 8009ed8: b510 push {r4, lr} + 8009eda: b190 cbz r0, 8009f02 + 8009edc: 4c0a ldr r4, [pc, #40] ; (8009f08 ) + 8009ede: 2228 movs r2, #40 ; 0x28 + 8009ee0: 2100 movs r1, #0 + 8009ee2: 6020 str r0, [r4, #0] + 8009ee4: f002 fb26 bl 800c534 + 8009ee8: 6823 ldr r3, [r4, #0] + 8009eea: 4a08 ldr r2, [pc, #32] ; (8009f0c ) + 8009eec: 601a str r2, [r3, #0] + 8009eee: 2000 movs r0, #0 + 8009ef0: f04f 32ff mov.w r2, #4294967295 + 8009ef4: e9c3 0203 strd r0, r2, [r3, #12] + 8009ef8: e9c3 2205 strd r2, r2, [r3, #20] + 8009efc: e9c3 2207 strd r2, r2, [r3, #28] + 8009f00: bd10 pop {r4, pc} + 8009f02: 2008 movs r0, #8 + 8009f04: e7fc b.n 8009f00 + 8009f06: bf00 nop + 8009f08: 200019b8 .word 0x200019b8 + 8009f0c: 01010100 .word 0x01010100 + +08009f10 : + 8009f10: 4b02 ldr r3, [pc, #8] ; (8009f1c ) + 8009f12: 681b ldr r3, [r3, #0] + 8009f14: 6018 str r0, [r3, #0] + 8009f16: 2000 movs r0, #0 + 8009f18: 4770 bx lr + 8009f1a: bf00 nop + 8009f1c: 200019b8 .word 0x200019b8 + +08009f20 : + 8009f20: b130 cbz r0, 8009f30 + 8009f22: 4b04 ldr r3, [pc, #16] ; (8009f34 ) + 8009f24: 681b ldr r3, [r3, #0] + 8009f26: 68db ldr r3, [r3, #12] + 8009f28: 3301 adds r3, #1 + 8009f2a: 6003 str r3, [r0, #0] + 8009f2c: 2000 movs r0, #0 + 8009f2e: 4770 bx lr + 8009f30: 2009 movs r0, #9 + 8009f32: 4770 bx lr + 8009f34: 200019b8 .word 0x200019b8 + +08009f38 : + 8009f38: b513 push {r0, r1, r4, lr} + 8009f3a: 2300 movs r3, #0 + 8009f3c: 460c mov r4, r1 + 8009f3e: 9301 str r3, [sp, #4] + 8009f40: b1d2 cbz r2, 8009f78 + 8009f42: a901 add r1, sp, #4 + 8009f44: f7ff ff64 bl 8009e10 + 8009f48: b918 cbnz r0, 8009f52 + 8009f4a: 9b01 ldr r3, [sp, #4] + 8009f4c: 1c59 adds r1, r3, #1 + 8009f4e: d102 bne.n 8009f56 + 8009f50: 6014 str r4, [r2, #0] + 8009f52: b002 add sp, #8 + 8009f54: bd10 pop {r4, pc} + 8009f56: b299 uxth r1, r3 + 8009f58: 1a61 subs r1, r4, r1 + 8009f5a: 2900 cmp r1, #0 + 8009f5c: dd02 ble.n 8009f64 + 8009f5e: 440b add r3, r1 + 8009f60: 6013 str r3, [r2, #0] + 8009f62: e7f6 b.n 8009f52 + 8009f64: d102 bne.n 8009f6c + 8009f66: 6013 str r3, [r2, #0] + 8009f68: 2007 movs r0, #7 + 8009f6a: e7f2 b.n 8009f52 + 8009f6c: 0c1b lsrs r3, r3, #16 + 8009f6e: 041b lsls r3, r3, #16 + 8009f70: f503 3380 add.w r3, r3, #65536 ; 0x10000 + 8009f74: 4423 add r3, r4 + 8009f76: e7f3 b.n 8009f60 + 8009f78: 2009 movs r0, #9 + 8009f7a: e7ea b.n 8009f52 + +08009f7c : + 8009f7c: b128 cbz r0, 8009f8a + 8009f7e: 4b04 ldr r3, [pc, #16] ; (8009f90 ) + 8009f80: 681b ldr r3, [r3, #0] + 8009f82: 331c adds r3, #28 + 8009f84: 6243 str r3, [r0, #36] ; 0x24 + 8009f86: 2000 movs r0, #0 + 8009f88: 4770 bx lr + 8009f8a: 2009 movs r0, #9 + 8009f8c: 4770 bx lr + 8009f8e: bf00 nop + 8009f90: 200019b8 .word 0x200019b8 + +08009f94 : + 8009f94: b51f push {r0, r1, r2, r3, r4, lr} + 8009f96: 4604 mov r4, r0 + 8009f98: b300 cbz r0, 8009fdc + 8009f9a: 2300 movs r3, #0 + 8009f9c: a803 add r0, sp, #12 + 8009f9e: 9303 str r3, [sp, #12] + 8009fa0: f002 f97c bl 800c29c + 8009fa4: 4a10 ldr r2, [pc, #64] ; (8009fe8 ) + 8009fa6: f8bd 300c ldrh.w r3, [sp, #12] + 8009faa: 6812 ldr r2, [r2, #0] + 8009fac: 4620 mov r0, r4 + 8009fae: 8093 strh r3, [r2, #4] + 8009fb0: 82e3 strh r3, [r4, #22] + 8009fb2: f000 fa56 bl 800a462 + 8009fb6: b998 cbnz r0, 8009fe0 + 8009fb8: f104 0318 add.w r3, r4, #24 + 8009fbc: 9300 str r3, [sp, #0] + 8009fbe: 6821 ldr r1, [r4, #0] + 8009fc0: 2301 movs r3, #1 + 8009fc2: 2213 movs r2, #19 + 8009fc4: f002 f88a bl 800c0dc + 8009fc8: b960 cbnz r0, 8009fe4 + 8009fca: 4620 mov r0, r4 + 8009fcc: f000 fa49 bl 800a462 + 8009fd0: 3800 subs r0, #0 + 8009fd2: bf18 it ne + 8009fd4: 2001 movne r0, #1 + 8009fd6: 0100 lsls r0, r0, #4 + 8009fd8: b004 add sp, #16 + 8009fda: bd10 pop {r4, pc} + 8009fdc: 2009 movs r0, #9 + 8009fde: e7fb b.n 8009fd8 + 8009fe0: 2010 movs r0, #16 + 8009fe2: e7f9 b.n 8009fd8 + 8009fe4: 200e movs r0, #14 + 8009fe6: e7f7 b.n 8009fd8 + 8009fe8: 200019b8 .word 0x200019b8 + +08009fec : + 8009fec: b5f0 push {r4, r5, r6, r7, lr} + 8009fee: 4605 mov r5, r0 + 8009ff0: b087 sub sp, #28 + 8009ff2: 461c mov r4, r3 + 8009ff4: b33b cbz r3, 800a046 + 8009ff6: 4e2f ldr r6, [pc, #188] ; (800a0b4 ) + 8009ff8: 6833 ldr r3, [r6, #0] + 8009ffa: 68db ldr r3, [r3, #12] + 8009ffc: 4283 cmp r3, r0 + 8009ffe: d857 bhi.n 800a0b0 + 800a000: f894 2020 ldrb.w r2, [r4, #32] + 800a004: 2a00 cmp r2, #0 + 800a006: bf14 ite ne + 800a008: 2209 movne r2, #9 + 800a00a: 2208 moveq r2, #8 + 800a00c: 4283 cmp r3, r0 + 800a00e: d305 bcc.n 800a01c + 800a010: 4620 mov r0, r4 + 800a012: f000 fa5a bl 800a4ca + 800a016: b170 cbz r0, 800a036 + 800a018: 2010 movs r0, #16 + 800a01a: e00a b.n 800a032 + 800a01c: 2300 movs r3, #0 + 800a01e: 9001 str r0, [sp, #4] + 800a020: 9300 str r3, [sp, #0] + 800a022: 68a3 ldr r3, [r4, #8] + 800a024: f894 1028 ldrb.w r1, [r4, #40] ; 0x28 + 800a028: 6a60 ldr r0, [r4, #36] ; 0x24 + 800a02a: f7ff fe96 bl 8009d5a + 800a02e: 2800 cmp r0, #0 + 800a030: d0ee beq.n 800a010 + 800a032: b007 add sp, #28 + 800a034: bdf0 pop {r4, r5, r6, r7, pc} + 800a036: 7923 ldrb r3, [r4, #4] + 800a038: 6821 ldr r1, [r4, #0] + 800a03a: f8b4 c008 ldrh.w ip, [r4, #8] + 800a03e: 68a7 ldr r7, [r4, #8] + 800a040: 3b04 subs r3, #4 + 800a042: b29a uxth r2, r3 + 800a044: b909 cbnz r1, 800a04a + 800a046: 2009 movs r0, #9 + 800a048: e7f3 b.n 800a032 + 800a04a: f5b2 7f80 cmp.w r2, #256 ; 0x100 + 800a04e: d82d bhi.n 800a0ac + 800a050: f8ad c00e strh.w ip, [sp, #14] + 800a054: f88d 3017 strb.w r3, [sp, #23] + 800a058: ea4f 4c17 mov.w ip, r7, lsr #16 + 800a05c: f104 032c add.w r3, r4, #44 ; 0x2c + 800a060: 0e3f lsrs r7, r7, #24 + 800a062: f88d 7011 strb.w r7, [sp, #17] + 800a066: 9300 str r3, [sp, #0] + 800a068: 0c2f lsrs r7, r5, #16 + 800a06a: 2308 movs r3, #8 + 800a06c: f04f 0e49 mov.w lr, #73 ; 0x49 + 800a070: f8ad 000c strh.w r0, [sp, #12] + 800a074: f88d 7014 strb.w r7, [sp, #20] + 800a078: f88d 0016 strb.w r0, [sp, #22] + 800a07c: 0e2f lsrs r7, r5, #24 + 800a07e: eb0d 0003 add.w r0, sp, r3 + 800a082: f8cd e008 str.w lr, [sp, #8] + 800a086: f88d c010 strb.w ip, [sp, #16] + 800a08a: f8ad 5012 strh.w r5, [sp, #18] + 800a08e: f88d 7015 strb.w r7, [sp, #21] + 800a092: f002 f823 bl 800c0dc + 800a096: b108 cbz r0, 800a09c + 800a098: 200e movs r0, #14 + 800a09a: e7ca b.n 800a032 + 800a09c: 4620 mov r0, r4 + 800a09e: f000 fa14 bl 800a4ca + 800a0a2: 2800 cmp r0, #0 + 800a0a4: d1b8 bne.n 800a018 + 800a0a6: 6833 ldr r3, [r6, #0] + 800a0a8: 60dd str r5, [r3, #12] + 800a0aa: e7c2 b.n 800a032 + 800a0ac: 200d movs r0, #13 + 800a0ae: e7c0 b.n 800a032 + 800a0b0: 2006 movs r0, #6 + 800a0b2: e7be b.n 800a032 + 800a0b4: 200019b8 .word 0x200019b8 + +0800a0b8 : + 800a0b8: e92d 41ff stmdb sp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, lr} + 800a0bc: 9d0a ldr r5, [sp, #40] ; 0x28 + 800a0be: 4680 mov r8, r0 + 800a0c0: 460f mov r7, r1 + 800a0c2: 4616 mov r6, r2 + 800a0c4: 461c mov r4, r3 + 800a0c6: 2d00 cmp r5, #0 + 800a0c8: d05a beq.n 800a180 + 800a0ca: 2300 movs r3, #0 + 800a0cc: a903 add r1, sp, #12 + 800a0ce: 4610 mov r0, r2 + 800a0d0: 9303 str r3, [sp, #12] + 800a0d2: f7ff fe9d bl 8009e10 + 800a0d6: b118 cbz r0, 800a0e0 + 800a0d8: 2006 movs r0, #6 + 800a0da: b004 add sp, #16 + 800a0dc: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800a0e0: 9b03 ldr r3, [sp, #12] + 800a0e2: 429c cmp r4, r3 + 800a0e4: d801 bhi.n 800a0ea + 800a0e6: 3301 adds r3, #1 + 800a0e8: d1f6 bne.n 800a0d8 + 800a0ea: 4628 mov r0, r5 + 800a0ec: f000 f95e bl 800a3ac + 800a0f0: 2800 cmp r0, #0 + 800a0f2: d147 bne.n 800a184 + 800a0f4: 4b26 ldr r3, [pc, #152] ; (800a190 ) + 800a0f6: 781a ldrb r2, [r3, #0] + 800a0f8: 4542 cmp r2, r8 + 800a0fa: d003 beq.n 800a104 + 800a0fc: 791a ldrb r2, [r3, #4] + 800a0fe: 4542 cmp r2, r8 + 800a100: d142 bne.n 800a188 + 800a102: 2001 movs r0, #1 + 800a104: 68aa ldr r2, [r5, #8] + 800a106: 42ba cmp r2, r7 + 800a108: d140 bne.n 800a18c + 800a10a: eb03 0280 add.w r2, r3, r0, lsl #2 + 800a10e: 6aeb ldr r3, [r5, #44] ; 0x2c + 800a110: f892 8001 ldrb.w r8, [r2, #1] + 800a114: 7929 ldrb r1, [r5, #4] + 800a116: e9cd 4300 strd r4, r3, [sp] + 800a11a: 3904 subs r1, #4 + 800a11c: 7892 ldrb r2, [r2, #2] + 800a11e: 6828 ldr r0, [r5, #0] + 800a120: 463b mov r3, r7 + 800a122: b289 uxth r1, r1 + 800a124: f7ff fe92 bl 8009e4c + 800a128: 2800 cmp r0, #0 + 800a12a: d1d6 bne.n 800a0da + 800a12c: f895 3020 ldrb.w r3, [r5, #32] + 800a130: 9401 str r4, [sp, #4] + 800a132: 2b00 cmp r3, #0 + 800a134: f04f 0301 mov.w r3, #1 + 800a138: 9300 str r3, [sp, #0] + 800a13a: bf14 ite ne + 800a13c: 4642 movne r2, r8 + 800a13e: 2208 moveq r2, #8 + 800a140: f895 1028 ldrb.w r1, [r5, #40] ; 0x28 + 800a144: 6a68 ldr r0, [r5, #36] ; 0x24 + 800a146: 463b mov r3, r7 + 800a148: f7ff fe07 bl 8009d5a + 800a14c: 2800 cmp r0, #0 + 800a14e: d1c4 bne.n 800a0da + 800a150: 3e01 subs r6, #1 + 800a152: 2e03 cmp r6, #3 + 800a154: d8c1 bhi.n 800a0da + 800a156: e8df f006 tbb [pc, r6] + 800a15a: 0702 .short 0x0702 + 800a15c: 0f0b .short 0x0f0b + 800a15e: 4b0d ldr r3, [pc, #52] ; (800a194 ) + 800a160: 681b ldr r3, [r3, #0] + 800a162: 611c str r4, [r3, #16] + 800a164: 621c str r4, [r3, #32] + 800a166: e7b8 b.n 800a0da + 800a168: 4b0a ldr r3, [pc, #40] ; (800a194 ) + 800a16a: 681b ldr r3, [r3, #0] + 800a16c: 615c str r4, [r3, #20] + 800a16e: e7f9 b.n 800a164 + 800a170: 4b08 ldr r3, [pc, #32] ; (800a194 ) + 800a172: 681b ldr r3, [r3, #0] + 800a174: 619c str r4, [r3, #24] + 800a176: e7f5 b.n 800a164 + 800a178: 4b06 ldr r3, [pc, #24] ; (800a194 ) + 800a17a: 681b ldr r3, [r3, #0] + 800a17c: 61dc str r4, [r3, #28] + 800a17e: e7ac b.n 800a0da + 800a180: 2009 movs r0, #9 + 800a182: e7aa b.n 800a0da + 800a184: 200f movs r0, #15 + 800a186: e7a8 b.n 800a0da + 800a188: 200b movs r0, #11 + 800a18a: e7a6 b.n 800a0da + 800a18c: 2002 movs r0, #2 + 800a18e: e7a4 b.n 800a0da + 800a190: 200000f0 .word 0x200000f0 + 800a194: 200019b8 .word 0x200019b8 + +0800a198 : + 800a198: b51f push {r0, r1, r2, r3, r4, lr} + 800a19a: 460a mov r2, r1 + 800a19c: 2a0b cmp r2, #11 + 800a19e: f04f 0100 mov.w r1, #0 + 800a1a2: e9cd 1100 strd r1, r1, [sp] + 800a1a6: e9cd 1102 strd r1, r1, [sp, #8] + 800a1aa: d007 beq.n 800a1bc + 800a1ac: 2a0c cmp r2, #12 + 800a1ae: d013 beq.n 800a1d8 + 800a1b0: 2a0a cmp r2, #10 + 800a1b2: d00f beq.n 800a1d4 + 800a1b4: 200a movs r0, #10 + 800a1b6: b005 add sp, #20 + 800a1b8: f85d fb04 ldr.w pc, [sp], #4 + 800a1bc: 2801 cmp r0, #1 + 800a1be: d102 bne.n 800a1c6 + 800a1c0: 2320 movs r3, #32 + 800a1c2: f88d 3000 strb.w r3, [sp] + 800a1c6: 4668 mov r0, sp + 800a1c8: f002 f811 bl 800c1ee + 800a1cc: 2800 cmp r0, #0 + 800a1ce: bf18 it ne + 800a1d0: 200e movne r0, #14 + 800a1d2: e7f0 b.n 800a1b6 + 800a1d4: 2330 movs r3, #48 ; 0x30 + 800a1d6: e7f4 b.n 800a1c2 + 800a1d8: 210b movs r1, #11 + 800a1da: e7f4 b.n 800a1c6 + +0800a1dc : + 800a1dc: b538 push {r3, r4, r5, lr} + 800a1de: 4605 mov r5, r0 + 800a1e0: f002 f800 bl 800c1e4 + 800a1e4: 4604 mov r4, r0 + 800a1e6: b978 cbnz r0, 800a208 + 800a1e8: b97d cbnz r5, 800a20a + 800a1ea: 4b09 ldr r3, [pc, #36] ; (800a210 ) + 800a1ec: 681b ldr r3, [r3, #0] + 800a1ee: 210b movs r1, #11 + 800a1f0: 7898 ldrb r0, [r3, #2] + 800a1f2: f7ff ffd1 bl 800a198 + 800a1f6: b938 cbnz r0, 800a208 + 800a1f8: 210c movs r1, #12 + 800a1fa: f7ff ffcd bl 800a198 + 800a1fe: b918 cbnz r0, 800a208 + 800a200: 210a movs r1, #10 + 800a202: f7ff ffc9 bl 800a198 + 800a206: b100 cbz r0, 800a20a + 800a208: 240e movs r4, #14 + 800a20a: 4620 mov r0, r4 + 800a20c: bd38 pop {r3, r4, r5, pc} 800a20e: bf00 nop 800a210: 200019b8 .word 0x200019b8 -0800a214 : - 800a214: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800a218: b0c4 sub sp, #272 ; 0x110 - 800a21a: 460c mov r4, r1 - 800a21c: 9e4a ldr r6, [sp, #296] ; 0x128 +0800a214 : + 800a214: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} + 800a218: 4680 mov r8, r0 + 800a21a: b08f sub sp, #60 ; 0x3c + 800a21c: 460c mov r4, r1 800a21e: 4617 mov r7, r2 - 800a220: 461d mov r5, r3 - 800a222: 4680 mov r8, r0 - 800a224: b3b8 cbz r0, 800a296 - 800a226: f5b1 7f80 cmp.w r1, #256 ; 0x100 - 800a22a: d836 bhi.n 800a29a - 800a22c: f44f 7288 mov.w r2, #272 ; 0x110 - 800a230: 2100 movs r1, #0 - 800a232: 4668 mov r0, sp - 800a234: f002 fb62 bl 800c8fc - 800a238: 2349 movs r3, #73 ; 0x49 - 800a23a: 9300 str r3, [sp, #0] - 800a23c: f44f 7380 mov.w r3, #256 ; 0x100 - 800a240: f8ad 3004 strh.w r3, [sp, #4] - 800a244: 0c2b lsrs r3, r5, #16 - 800a246: f88d 3008 strb.w r3, [sp, #8] - 800a24a: 0c33 lsrs r3, r6, #16 - 800a24c: f8ad 5006 strh.w r5, [sp, #6] - 800a250: f8ad 600a strh.w r6, [sp, #10] - 800a254: f88d 300c strb.w r3, [sp, #12] - 800a258: 4622 mov r2, r4 - 800a25a: 2300 movs r3, #0 - 800a25c: 4641 mov r1, r8 - 800a25e: a804 add r0, sp, #16 - 800a260: 0e2d lsrs r5, r5, #24 - 800a262: 0e36 lsrs r6, r6, #24 - 800a264: f88d 300e strb.w r3, [sp, #14] - 800a268: f88d 5009 strb.w r5, [sp, #9] - 800a26c: f88d 600d strb.w r6, [sp, #13] - 800a270: f88d 400f strb.w r4, [sp, #15] - 800a274: f002 fb2e bl 800c8d4 - 800a278: f104 0110 add.w r1, r4, #16 - 800a27c: 9a4b ldr r2, [sp, #300] ; 0x12c - 800a27e: 463b mov r3, r7 - 800a280: b289 uxth r1, r1 - 800a282: 4668 mov r0, sp - 800a284: f002 f917 bl 800c4b6 - 800a288: b110 cbz r0, 800a290 - 800a28a: 2801 cmp r0, #1 - 800a28c: bf18 it ne - 800a28e: 200e movne r0, #14 - 800a290: b044 add sp, #272 ; 0x110 - 800a292: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800a296: 2009 movs r0, #9 - 800a298: e7fa b.n 800a290 - 800a29a: 200d movs r0, #13 - 800a29c: e7f8 b.n 800a290 + 800a220: 2a00 cmp r2, #0 + 800a222: d06b beq.n 800a2fc + 800a224: 2900 cmp r1, #0 + 800a226: d069 beq.n 800a2fc + 800a228: 2500 movs r5, #0 + 800a22a: 4629 mov r1, r5 + 800a22c: 221d movs r2, #29 + 800a22e: a806 add r0, sp, #24 + 800a230: 9505 str r5, [sp, #20] + 800a232: f004 fe91 bl 800ef58 + 800a236: f88d 5013 strb.w r5, [sp, #19] + 800a23a: 4d34 ldr r5, [pc, #208] ; (800a30c ) + 800a23c: 682b ldr r3, [r5, #0] + 800a23e: f10d 0914 add.w r9, sp, #20 + 800a242: 889e ldrh r6, [r3, #4] + 800a244: f8cd 9004 str.w r9, [sp, #4] + 800a248: f10d 0313 add.w r3, sp, #19 + 800a24c: 9302 str r3, [sp, #8] + 800a24e: 793b ldrb r3, [r7, #4] + 800a250: 9300 str r3, [sp, #0] + 800a252: 683b ldr r3, [r7, #0] + 800a254: 4632 mov r2, r6 + 800a256: 4621 mov r1, r4 + 800a258: 4640 mov r0, r8 + 800a25a: f001 ffe4 bl 800c226 + 800a25e: 2800 cmp r0, #0 + 800a260: d14e bne.n 800a300 + 800a262: 6838 ldr r0, [r7, #0] + 800a264: 793a ldrb r2, [r7, #4] + 800a266: 4649 mov r1, r9 + 800a268: f002 f950 bl 800c50c + 800a26c: 4638 mov r0, r7 + 800a26e: f000 f84f bl 800a310 + 800a272: 2800 cmp r0, #0 + 800a274: d146 bne.n 800a304 + 800a276: 7a3c ldrb r4, [r7, #8] + 800a278: 79fa ldrb r2, [r7, #7] + 800a27a: 79bb ldrb r3, [r7, #6] + 800a27c: 0424 lsls r4, r4, #16 + 800a27e: ea44 2402 orr.w r4, r4, r2, lsl #8 + 800a282: 431c orrs r4, r3 + 800a284: 682b ldr r3, [r5, #0] + 800a286: 689a ldr r2, [r3, #8] + 800a288: 4294 cmp r4, r2 + 800a28a: d93d bls.n 800a308 + 800a28c: 609c str r4, [r3, #8] + 800a28e: f89d 0013 ldrb.w r0, [sp, #19] + 800a292: 210b movs r1, #11 + 800a294: f7ff ff80 bl 800a198 + 800a298: 4603 mov r3, r0 + 800a29a: bb58 cbnz r0, 800a2f4 + 800a29c: 210c movs r1, #12 + 800a29e: f7ff ff7b bl 800a198 + 800a2a2: 4603 mov r3, r0 + 800a2a4: bb30 cbnz r0, 800a2f4 + 800a2a6: 210a movs r1, #10 + 800a2a8: f7ff ff76 bl 800a198 + 800a2ac: 4603 mov r3, r0 + 800a2ae: bb08 cbnz r0, 800a2f4 + 800a2b0: 7a7b ldrb r3, [r7, #9] + 800a2b2: 7aba ldrb r2, [r7, #10] + 800a2b4: 7aff ldrb r7, [r7, #11] + 800a2b6: 043f lsls r7, r7, #16 + 800a2b8: ea47 2702 orr.w r7, r7, r2, lsl #8 + 800a2bc: 431f orrs r7, r3 + 800a2be: 463a mov r2, r7 + 800a2c0: 4633 mov r3, r6 + 800a2c2: 4621 mov r1, r4 + 800a2c4: 2009 movs r0, #9 + 800a2c6: f7ff fd25 bl 8009d14 + 800a2ca: 4603 mov r3, r0 + 800a2cc: b990 cbnz r0, 800a2f4 + 800a2ce: 4633 mov r3, r6 + 800a2d0: 463a mov r2, r7 + 800a2d2: 4621 mov r1, r4 + 800a2d4: 2008 movs r0, #8 + 800a2d6: f7ff fd1d bl 8009d14 + 800a2da: 4603 mov r3, r0 + 800a2dc: b950 cbnz r0, 800a2f4 + 800a2de: 682a ldr r2, [r5, #0] + 800a2e0: f89d 1013 ldrb.w r1, [sp, #19] + 800a2e4: 7091 strb r1, [r2, #2] + 800a2e6: 2100 movs r1, #0 + 800a2e8: 60d1 str r1, [r2, #12] + 800a2ea: f04f 31ff mov.w r1, #4294967295 + 800a2ee: e9c2 1104 strd r1, r1, [r2, #16] + 800a2f2: 6191 str r1, [r2, #24] + 800a2f4: 4618 mov r0, r3 + 800a2f6: b00f add sp, #60 ; 0x3c + 800a2f8: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 800a2fc: 2309 movs r3, #9 + 800a2fe: e7f9 b.n 800a2f4 + 800a300: 230e movs r3, #14 + 800a302: e7f7 b.n 800a2f4 + 800a304: 230f movs r3, #15 + 800a306: e7f5 b.n 800a2f4 + 800a308: 2303 movs r3, #3 + 800a30a: e7f3 b.n 800a2f4 + 800a30c: 200019b8 .word 0x200019b8 + +0800a310 : + 800a310: b510 push {r4, lr} + 800a312: 4604 mov r4, r0 + 800a314: 2800 cmp r0, #0 + 800a316: d045 beq.n 800a3a4 + 800a318: 6801 ldr r1, [r0, #0] + 800a31a: 2900 cmp r1, #0 + 800a31c: d042 beq.n 800a3a4 + 800a31e: f811 3b01 ldrb.w r3, [r1], #1 + 800a322: 7143 strb r3, [r0, #5] + 800a324: 2203 movs r2, #3 + 800a326: 3006 adds r0, #6 + 800a328: f002 f8f0 bl 800c50c + 800a32c: 4620 mov r0, r4 + 800a32e: 2203 movs r2, #3 + 800a330: f850 1b09 ldr.w r1, [r0], #9 + 800a334: 3104 adds r1, #4 + 800a336: f002 f8e9 bl 800c50c + 800a33a: 6821 ldr r1, [r4, #0] + 800a33c: 79cb ldrb r3, [r1, #7] + 800a33e: 60e3 str r3, [r4, #12] + 800a340: 7a0a ldrb r2, [r1, #8] + 800a342: ea43 2302 orr.w r3, r3, r2, lsl #8 + 800a346: 60e3 str r3, [r4, #12] + 800a348: 7a4a ldrb r2, [r1, #9] + 800a34a: ea43 4302 orr.w r3, r3, r2, lsl #16 + 800a34e: 60e3 str r3, [r4, #12] + 800a350: 7a8a ldrb r2, [r1, #10] + 800a352: ea43 6302 orr.w r3, r3, r2, lsl #24 + 800a356: 60e3 str r3, [r4, #12] + 800a358: 7acb ldrb r3, [r1, #11] + 800a35a: 7423 strb r3, [r4, #16] + 800a35c: 7b0b ldrb r3, [r1, #12] + 800a35e: 7463 strb r3, [r4, #17] + 800a360: 7923 ldrb r3, [r4, #4] + 800a362: 2b21 cmp r3, #33 ; 0x21 + 800a364: d11a bne.n 800a39c + 800a366: 2210 movs r2, #16 + 800a368: 310d adds r1, #13 + 800a36a: f104 0012 add.w r0, r4, #18 + 800a36e: f002 f8cd bl 800c50c + 800a372: 221d movs r2, #29 + 800a374: 6821 ldr r1, [r4, #0] + 800a376: 1c50 adds r0, r2, #1 + 800a378: 5c8b ldrb r3, [r1, r2] + 800a37a: 6263 str r3, [r4, #36] ; 0x24 + 800a37c: 5c08 ldrb r0, [r1, r0] + 800a37e: ea43 2300 orr.w r3, r3, r0, lsl #8 + 800a382: 1c90 adds r0, r2, #2 + 800a384: 6263 str r3, [r4, #36] ; 0x24 + 800a386: 5c08 ldrb r0, [r1, r0] + 800a388: 3203 adds r2, #3 + 800a38a: ea43 4300 orr.w r3, r3, r0, lsl #16 + 800a38e: 6263 str r3, [r4, #36] ; 0x24 + 800a390: 5c8a ldrb r2, [r1, r2] + 800a392: ea43 6302 orr.w r3, r3, r2, lsl #24 + 800a396: 6263 str r3, [r4, #36] ; 0x24 + 800a398: 2000 movs r0, #0 + 800a39a: bd10 pop {r4, pc} + 800a39c: 2b11 cmp r3, #17 + 800a39e: dc03 bgt.n 800a3a8 + 800a3a0: 220d movs r2, #13 + 800a3a2: e7e7 b.n 800a374 + 800a3a4: 2002 movs r0, #2 + 800a3a6: e7f8 b.n 800a39a + 800a3a8: 2001 movs r0, #1 + 800a3aa: e7f6 b.n 800a39a + +0800a3ac : + 800a3ac: b510 push {r4, lr} + 800a3ae: 4604 mov r4, r0 + 800a3b0: 2800 cmp r0, #0 + 800a3b2: d054 beq.n 800a45e + 800a3b4: 6801 ldr r1, [r0, #0] + 800a3b6: 2900 cmp r1, #0 + 800a3b8: d051 beq.n 800a45e + 800a3ba: 780b ldrb r3, [r1, #0] + 800a3bc: 7143 strb r3, [r0, #5] + 800a3be: 784b ldrb r3, [r1, #1] + 800a3c0: 6083 str r3, [r0, #8] + 800a3c2: 788a ldrb r2, [r1, #2] + 800a3c4: ea43 2302 orr.w r3, r3, r2, lsl #8 + 800a3c8: 6083 str r3, [r0, #8] + 800a3ca: 78ca ldrb r2, [r1, #3] + 800a3cc: ea43 4302 orr.w r3, r3, r2, lsl #16 + 800a3d0: 6083 str r3, [r0, #8] + 800a3d2: 790a ldrb r2, [r1, #4] + 800a3d4: ea43 6302 orr.w r3, r3, r2, lsl #24 + 800a3d8: 6083 str r3, [r0, #8] + 800a3da: 794b ldrb r3, [r1, #5] + 800a3dc: 7303 strb r3, [r0, #12] + 800a3de: 798b ldrb r3, [r1, #6] + 800a3e0: 81c3 strh r3, [r0, #14] + 800a3e2: 79ca ldrb r2, [r1, #7] + 800a3e4: ea43 2302 orr.w r3, r3, r2, lsl #8 + 800a3e8: 7b02 ldrb r2, [r0, #12] + 800a3ea: 81c3 strh r3, [r0, #14] + 800a3ec: f002 020f and.w r2, r2, #15 + 800a3f0: 3108 adds r1, #8 + 800a3f2: 3010 adds r0, #16 + 800a3f4: f002 f88a bl 800c50c + 800a3f8: 7b23 ldrb r3, [r4, #12] + 800a3fa: 2200 movs r2, #0 + 800a3fc: f003 030f and.w r3, r3, #15 + 800a400: f884 2020 strb.w r2, [r4, #32] + 800a404: f884 2028 strb.w r2, [r4, #40] ; 0x28 + 800a408: 7922 ldrb r2, [r4, #4] + 800a40a: f103 0008 add.w r0, r3, #8 + 800a40e: 1a11 subs r1, r2, r0 + 800a410: 2904 cmp r1, #4 + 800a412: dd0d ble.n 800a430 + 800a414: 6821 ldr r1, [r4, #0] + 800a416: 3309 adds r3, #9 + 800a418: 3a04 subs r2, #4 + 800a41a: 1ad2 subs r2, r2, r3 + 800a41c: 5c08 ldrb r0, [r1, r0] + 800a41e: f884 0020 strb.w r0, [r4, #32] + 800a422: b2d2 uxtb r2, r2 + 800a424: 6a60 ldr r0, [r4, #36] ; 0x24 + 800a426: f884 2028 strb.w r2, [r4, #40] ; 0x28 + 800a42a: 4419 add r1, r3 + 800a42c: f002 f86e bl 800c50c + 800a430: 7923 ldrb r3, [r4, #4] + 800a432: 6822 ldr r2, [r4, #0] + 800a434: 441a add r2, r3 + 800a436: 2000 movs r0, #0 + 800a438: f812 3c04 ldrb.w r3, [r2, #-4] + 800a43c: 62e3 str r3, [r4, #44] ; 0x2c + 800a43e: f812 1c03 ldrb.w r1, [r2, #-3] + 800a442: ea43 2301 orr.w r3, r3, r1, lsl #8 + 800a446: 62e3 str r3, [r4, #44] ; 0x2c + 800a448: f812 1c02 ldrb.w r1, [r2, #-2] + 800a44c: ea43 4301 orr.w r3, r3, r1, lsl #16 + 800a450: 62e3 str r3, [r4, #44] ; 0x2c + 800a452: f812 2c01 ldrb.w r2, [r2, #-1] + 800a456: ea43 6302 orr.w r3, r3, r2, lsl #24 + 800a45a: 62e3 str r3, [r4, #44] ; 0x2c + 800a45c: bd10 pop {r4, pc} + 800a45e: 2002 movs r0, #2 + 800a460: e7fc b.n 800a45c + +0800a462 : + 800a462: b510 push {r4, lr} + 800a464: 4604 mov r4, r0 + 800a466: b360 cbz r0, 800a4c2 + 800a468: 6803 ldr r3, [r0, #0] + 800a46a: b353 cbz r3, 800a4c2 + 800a46c: 7902 ldrb r2, [r0, #4] + 800a46e: 2a16 cmp r2, #22 + 800a470: d929 bls.n 800a4c6 + 800a472: 7942 ldrb r2, [r0, #5] + 800a474: 701a strb r2, [r3, #0] + 800a476: 4601 mov r1, r0 + 800a478: 2208 movs r2, #8 + 800a47a: f851 0b06 ldr.w r0, [r1], #6 + 800a47e: 3001 adds r0, #1 + 800a480: f002 f84e bl 800c520 + 800a484: 4621 mov r1, r4 + 800a486: 2208 movs r2, #8 + 800a488: f851 0b0e ldr.w r0, [r1], #14 + 800a48c: 3009 adds r0, #9 + 800a48e: f002 f847 bl 800c520 + 800a492: 6823 ldr r3, [r4, #0] + 800a494: 8ae2 ldrh r2, [r4, #22] + 800a496: 745a strb r2, [r3, #17] + 800a498: 8ae3 ldrh r3, [r4, #22] + 800a49a: 6822 ldr r2, [r4, #0] + 800a49c: 0a1b lsrs r3, r3, #8 + 800a49e: 7493 strb r3, [r2, #18] + 800a4a0: 6823 ldr r3, [r4, #0] + 800a4a2: 69a2 ldr r2, [r4, #24] + 800a4a4: 74da strb r2, [r3, #19] + 800a4a6: 69a3 ldr r3, [r4, #24] + 800a4a8: 6822 ldr r2, [r4, #0] + 800a4aa: 0a1b lsrs r3, r3, #8 + 800a4ac: 7513 strb r3, [r2, #20] + 800a4ae: 6823 ldr r3, [r4, #0] + 800a4b0: 8b62 ldrh r2, [r4, #26] + 800a4b2: 755a strb r2, [r3, #21] + 800a4b4: 6823 ldr r3, [r4, #0] + 800a4b6: 7ee2 ldrb r2, [r4, #27] + 800a4b8: 759a strb r2, [r3, #22] + 800a4ba: 2317 movs r3, #23 + 800a4bc: 7123 strb r3, [r4, #4] + 800a4be: 2000 movs r0, #0 + 800a4c0: bd10 pop {r4, pc} + 800a4c2: 2001 movs r0, #1 + 800a4c4: e7fc b.n 800a4c0 + 800a4c6: 2002 movs r0, #2 + 800a4c8: e7fa b.n 800a4c0 + +0800a4ca : + 800a4ca: b538 push {r3, r4, r5, lr} + 800a4cc: 4604 mov r4, r0 + 800a4ce: 2800 cmp r0, #0 + 800a4d0: d063 beq.n 800a59a + 800a4d2: 6801 ldr r1, [r0, #0] + 800a4d4: 2900 cmp r1, #0 + 800a4d6: d060 beq.n 800a59a + 800a4d8: 7b03 ldrb r3, [r0, #12] + 800a4da: f890 2028 ldrb.w r2, [r0, #40] ; 0x28 + 800a4de: f003 030f and.w r3, r3, #15 + 800a4e2: 2a00 cmp r2, #0 + 800a4e4: d157 bne.n 800a596 + 800a4e6: 3308 adds r3, #8 + 800a4e8: 7920 ldrb r0, [r4, #4] + 800a4ea: 3204 adds r2, #4 + 800a4ec: 4413 add r3, r2 + 800a4ee: 4298 cmp r0, r3 + 800a4f0: d355 bcc.n 800a59e + 800a4f2: 7963 ldrb r3, [r4, #5] + 800a4f4: 700b strb r3, [r1, #0] + 800a4f6: 6823 ldr r3, [r4, #0] + 800a4f8: 68a2 ldr r2, [r4, #8] + 800a4fa: 705a strb r2, [r3, #1] + 800a4fc: 68a3 ldr r3, [r4, #8] + 800a4fe: 6822 ldr r2, [r4, #0] + 800a500: 0a1b lsrs r3, r3, #8 + 800a502: 7093 strb r3, [r2, #2] + 800a504: 6823 ldr r3, [r4, #0] + 800a506: 8962 ldrh r2, [r4, #10] + 800a508: 70da strb r2, [r3, #3] + 800a50a: 6823 ldr r3, [r4, #0] + 800a50c: 7ae2 ldrb r2, [r4, #11] + 800a50e: 711a strb r2, [r3, #4] + 800a510: 6823 ldr r3, [r4, #0] + 800a512: 7b22 ldrb r2, [r4, #12] + 800a514: 715a strb r2, [r3, #5] + 800a516: 6823 ldr r3, [r4, #0] + 800a518: 89e2 ldrh r2, [r4, #14] + 800a51a: 719a strb r2, [r3, #6] + 800a51c: 89e3 ldrh r3, [r4, #14] + 800a51e: 6822 ldr r2, [r4, #0] + 800a520: 0a1b lsrs r3, r3, #8 + 800a522: 4621 mov r1, r4 + 800a524: 71d3 strb r3, [r2, #7] + 800a526: 7b22 ldrb r2, [r4, #12] + 800a528: f851 0b10 ldr.w r0, [r1], #16 + 800a52c: f002 020f and.w r2, r2, #15 + 800a530: 3008 adds r0, #8 + 800a532: f001 ffeb bl 800c50c + 800a536: 7b23 ldrb r3, [r4, #12] + 800a538: f894 2028 ldrb.w r2, [r4, #40] ; 0x28 + 800a53c: f003 030f and.w r3, r3, #15 + 800a540: f103 0508 add.w r5, r3, #8 + 800a544: b12a cbz r2, 800a552 + 800a546: 6822 ldr r2, [r4, #0] + 800a548: f894 1020 ldrb.w r1, [r4, #32] + 800a54c: 5551 strb r1, [r2, r5] + 800a54e: f103 0509 add.w r5, r3, #9 + 800a552: 6820 ldr r0, [r4, #0] + 800a554: f894 2028 ldrb.w r2, [r4, #40] ; 0x28 + 800a558: 6a61 ldr r1, [r4, #36] ; 0x24 + 800a55a: 4428 add r0, r5 + 800a55c: f001 ffd6 bl 800c50c + 800a560: f894 3028 ldrb.w r3, [r4, #40] ; 0x28 + 800a564: 6822 ldr r2, [r4, #0] + 800a566: 6ae1 ldr r1, [r4, #44] ; 0x2c + 800a568: 442b add r3, r5 + 800a56a: 54d1 strb r1, [r2, r3] + 800a56c: 1c5a adds r2, r3, #1 + 800a56e: 6ae1 ldr r1, [r4, #44] ; 0x2c + 800a570: 6820 ldr r0, [r4, #0] + 800a572: b292 uxth r2, r2 + 800a574: 0a09 lsrs r1, r1, #8 + 800a576: 5481 strb r1, [r0, r2] + 800a578: 1c9a adds r2, r3, #2 + 800a57a: 6821 ldr r1, [r4, #0] + 800a57c: 8de0 ldrh r0, [r4, #46] ; 0x2e + 800a57e: b292 uxth r2, r2 + 800a580: 5488 strb r0, [r1, r2] + 800a582: 1cda adds r2, r3, #3 + 800a584: 6821 ldr r1, [r4, #0] + 800a586: f894 002f ldrb.w r0, [r4, #47] ; 0x2f + 800a58a: b292 uxth r2, r2 + 800a58c: 3304 adds r3, #4 + 800a58e: 5488 strb r0, [r1, r2] + 800a590: 7123 strb r3, [r4, #4] + 800a592: 2000 movs r0, #0 + 800a594: bd38 pop {r3, r4, r5, pc} + 800a596: 3309 adds r3, #9 + 800a598: e7a6 b.n 800a4e8 + 800a59a: 2001 movs r0, #1 + 800a59c: e7fa b.n 800a594 + 800a59e: 2002 movs r0, #2 + 800a5a0: e7f8 b.n 800a594 ... -0800a2a0 : - 800a2a0: b510 push {r4, lr} - 800a2a2: b190 cbz r0, 800a2ca - 800a2a4: 4c0a ldr r4, [pc, #40] ; (800a2d0 ) - 800a2a6: 2228 movs r2, #40 ; 0x28 - 800a2a8: 2100 movs r1, #0 - 800a2aa: 6020 str r0, [r4, #0] - 800a2ac: f002 fb26 bl 800c8fc - 800a2b0: 6823 ldr r3, [r4, #0] - 800a2b2: 4a08 ldr r2, [pc, #32] ; (800a2d4 ) - 800a2b4: 601a str r2, [r3, #0] - 800a2b6: 2000 movs r0, #0 - 800a2b8: f04f 32ff mov.w r2, #4294967295 - 800a2bc: e9c3 0203 strd r0, r2, [r3, #12] - 800a2c0: e9c3 2205 strd r2, r2, [r3, #20] - 800a2c4: e9c3 2207 strd r2, r2, [r3, #28] - 800a2c8: bd10 pop {r4, pc} - 800a2ca: 2008 movs r0, #8 - 800a2cc: e7fc b.n 800a2c8 - 800a2ce: bf00 nop - 800a2d0: 200019b8 .word 0x200019b8 - 800a2d4: 01010100 .word 0x01010100 +0800a5a4 : + 800a5a4: 4b02 ldr r3, [pc, #8] ; (800a5b0 ) + 800a5a6: 881a ldrh r2, [r3, #0] + 800a5a8: 4310 orrs r0, r2 + 800a5aa: 8018 strh r0, [r3, #0] + 800a5ac: 4770 bx lr + 800a5ae: bf00 nop + 800a5b0: 200019bc .word 0x200019bc -0800a2d8 : - 800a2d8: 4b02 ldr r3, [pc, #8] ; (800a2e4 ) - 800a2da: 681b ldr r3, [r3, #0] - 800a2dc: 6018 str r0, [r3, #0] - 800a2de: 2000 movs r0, #0 - 800a2e0: 4770 bx lr - 800a2e2: bf00 nop - 800a2e4: 200019b8 .word 0x200019b8 +0800a5b4 : + 800a5b4: b508 push {r3, lr} + 800a5b6: 4b07 ldr r3, [pc, #28] ; (800a5d4 ) + 800a5b8: 881b ldrh r3, [r3, #0] + 800a5ba: b13b cbz r3, 800a5cc + 800a5bc: f7fe f9b8 bl 8008930 + 800a5c0: 2800 cmp r0, #0 + 800a5c2: bf0c ite eq + 800a5c4: 2000 moveq r0, #0 + 800a5c6: f06f 0002 mvnne.w r0, #2 + 800a5ca: bd08 pop {r3, pc} + 800a5cc: f06f 0001 mvn.w r0, #1 + 800a5d0: e7fb b.n 800a5ca + 800a5d2: bf00 nop + 800a5d4: 200019bc .word 0x200019bc -0800a2e8 : - 800a2e8: b130 cbz r0, 800a2f8 - 800a2ea: 4b04 ldr r3, [pc, #16] ; (800a2fc ) - 800a2ec: 681b ldr r3, [r3, #0] - 800a2ee: 68db ldr r3, [r3, #12] - 800a2f0: 3301 adds r3, #1 - 800a2f2: 6003 str r3, [r0, #0] - 800a2f4: 2000 movs r0, #0 - 800a2f6: 4770 bx lr - 800a2f8: 2009 movs r0, #9 - 800a2fa: 4770 bx lr - 800a2fc: 200019b8 .word 0x200019b8 +0800a5d8 : + 800a5d8: b510 push {r4, lr} + 800a5da: 4b03 ldr r3, [pc, #12] ; (800a5e8 ) + 800a5dc: 2400 movs r4, #0 + 800a5de: 801c strh r4, [r3, #0] + 800a5e0: f7fe f99c bl 800891c + 800a5e4: 4620 mov r0, r4 + 800a5e6: bd10 pop {r4, pc} + 800a5e8: 200019bc .word 0x200019bc -0800a300 : - 800a300: b513 push {r0, r1, r4, lr} - 800a302: 2300 movs r3, #0 - 800a304: 460c mov r4, r1 - 800a306: 9301 str r3, [sp, #4] - 800a308: b1d2 cbz r2, 800a340 - 800a30a: a901 add r1, sp, #4 - 800a30c: f7ff ff64 bl 800a1d8 - 800a310: b918 cbnz r0, 800a31a - 800a312: 9b01 ldr r3, [sp, #4] - 800a314: 1c59 adds r1, r3, #1 - 800a316: d102 bne.n 800a31e - 800a318: 6014 str r4, [r2, #0] - 800a31a: b002 add sp, #8 - 800a31c: bd10 pop {r4, pc} - 800a31e: b299 uxth r1, r3 - 800a320: 1a61 subs r1, r4, r1 - 800a322: 2900 cmp r1, #0 - 800a324: dd02 ble.n 800a32c - 800a326: 440b add r3, r1 - 800a328: 6013 str r3, [r2, #0] - 800a32a: e7f6 b.n 800a31a - 800a32c: d102 bne.n 800a334 - 800a32e: 6013 str r3, [r2, #0] - 800a330: 2007 movs r0, #7 - 800a332: e7f2 b.n 800a31a - 800a334: 0c1b lsrs r3, r3, #16 - 800a336: 041b lsls r3, r3, #16 - 800a338: f503 3380 add.w r3, r3, #65536 ; 0x10000 - 800a33c: 4423 add r3, r4 - 800a33e: e7f3 b.n 800a328 - 800a340: 2009 movs r0, #9 - 800a342: e7ea b.n 800a31a +0800a5ec : + 800a5ec: fab0 f080 clz r0, r0 + 800a5f0: 0940 lsrs r0, r0, #5 + 800a5f2: 4770 bx lr -0800a344 : - 800a344: b128 cbz r0, 800a352 - 800a346: 4b04 ldr r3, [pc, #16] ; (800a358 ) - 800a348: 681b ldr r3, [r3, #0] - 800a34a: 331c adds r3, #28 - 800a34c: 6243 str r3, [r0, #36] ; 0x24 - 800a34e: 2000 movs r0, #0 - 800a350: 4770 bx lr - 800a352: 2009 movs r0, #9 - 800a354: 4770 bx lr - 800a356: bf00 nop - 800a358: 200019b8 .word 0x200019b8 +0800a5f4 : + 800a5f4: b082 sub sp, #8 + 800a5f6: b918 cbnz r0, 800a600 + 800a5f8: 4608 mov r0, r1 + 800a5fa: b002 add sp, #8 + 800a5fc: f000 b8ca b.w 800a794 + 800a600: 2000 movs r0, #0 + 800a602: b002 add sp, #8 + 800a604: 4770 bx lr -0800a35c : - 800a35c: b51f push {r0, r1, r2, r3, r4, lr} - 800a35e: 4604 mov r4, r0 - 800a360: b300 cbz r0, 800a3a4 - 800a362: 2300 movs r3, #0 - 800a364: a803 add r0, sp, #12 - 800a366: 9303 str r3, [sp, #12] - 800a368: f002 f97c bl 800c664 - 800a36c: 4a10 ldr r2, [pc, #64] ; (800a3b0 ) - 800a36e: f8bd 300c ldrh.w r3, [sp, #12] - 800a372: 6812 ldr r2, [r2, #0] - 800a374: 4620 mov r0, r4 - 800a376: 8093 strh r3, [r2, #4] - 800a378: 82e3 strh r3, [r4, #22] - 800a37a: f000 fa56 bl 800a82a - 800a37e: b998 cbnz r0, 800a3a8 - 800a380: f104 0318 add.w r3, r4, #24 - 800a384: 9300 str r3, [sp, #0] - 800a386: 6821 ldr r1, [r4, #0] - 800a388: 2301 movs r3, #1 - 800a38a: 2213 movs r2, #19 - 800a38c: f002 f88a bl 800c4a4 - 800a390: b960 cbnz r0, 800a3ac - 800a392: 4620 mov r0, r4 - 800a394: f000 fa49 bl 800a82a - 800a398: 3800 subs r0, #0 - 800a39a: bf18 it ne - 800a39c: 2001 movne r0, #1 - 800a39e: 0100 lsls r0, r0, #4 - 800a3a0: b004 add sp, #16 - 800a3a2: bd10 pop {r4, pc} - 800a3a4: 2009 movs r0, #9 - 800a3a6: e7fb b.n 800a3a0 - 800a3a8: 2010 movs r0, #16 - 800a3aa: e7f9 b.n 800a3a0 - 800a3ac: 200e movs r0, #14 - 800a3ae: e7f7 b.n 800a3a0 - 800a3b0: 200019b8 .word 0x200019b8 +0800a606 : + 800a606: b910 cbnz r0, 800a60e + 800a608: 4608 mov r0, r1 + 800a60a: f000 b977 b.w 800a8fc + 800a60e: 4770 bx lr -0800a3b4 : - 800a3b4: b5f0 push {r4, r5, r6, r7, lr} - 800a3b6: 4605 mov r5, r0 - 800a3b8: b087 sub sp, #28 - 800a3ba: 461c mov r4, r3 - 800a3bc: b33b cbz r3, 800a40e - 800a3be: 4e2f ldr r6, [pc, #188] ; (800a47c ) - 800a3c0: 6833 ldr r3, [r6, #0] - 800a3c2: 68db ldr r3, [r3, #12] - 800a3c4: 4283 cmp r3, r0 - 800a3c6: d857 bhi.n 800a478 - 800a3c8: f894 2020 ldrb.w r2, [r4, #32] - 800a3cc: 2a00 cmp r2, #0 - 800a3ce: bf14 ite ne - 800a3d0: 2209 movne r2, #9 - 800a3d2: 2208 moveq r2, #8 - 800a3d4: 4283 cmp r3, r0 - 800a3d6: d305 bcc.n 800a3e4 - 800a3d8: 4620 mov r0, r4 - 800a3da: f000 fa5a bl 800a892 - 800a3de: b170 cbz r0, 800a3fe - 800a3e0: 2010 movs r0, #16 - 800a3e2: e00a b.n 800a3fa - 800a3e4: 2300 movs r3, #0 - 800a3e6: 9001 str r0, [sp, #4] - 800a3e8: 9300 str r3, [sp, #0] - 800a3ea: 68a3 ldr r3, [r4, #8] - 800a3ec: f894 1028 ldrb.w r1, [r4, #40] ; 0x28 - 800a3f0: 6a60 ldr r0, [r4, #36] ; 0x24 - 800a3f2: f7ff fe96 bl 800a122 - 800a3f6: 2800 cmp r0, #0 - 800a3f8: d0ee beq.n 800a3d8 - 800a3fa: b007 add sp, #28 - 800a3fc: bdf0 pop {r4, r5, r6, r7, pc} - 800a3fe: 7923 ldrb r3, [r4, #4] - 800a400: 6821 ldr r1, [r4, #0] - 800a402: f8b4 c008 ldrh.w ip, [r4, #8] - 800a406: 68a7 ldr r7, [r4, #8] - 800a408: 3b04 subs r3, #4 - 800a40a: b29a uxth r2, r3 - 800a40c: b909 cbnz r1, 800a412 - 800a40e: 2009 movs r0, #9 - 800a410: e7f3 b.n 800a3fa - 800a412: f5b2 7f80 cmp.w r2, #256 ; 0x100 - 800a416: d82d bhi.n 800a474 - 800a418: f8ad c00e strh.w ip, [sp, #14] - 800a41c: f88d 3017 strb.w r3, [sp, #23] - 800a420: ea4f 4c17 mov.w ip, r7, lsr #16 - 800a424: f104 032c add.w r3, r4, #44 ; 0x2c - 800a428: 0e3f lsrs r7, r7, #24 - 800a42a: f88d 7011 strb.w r7, [sp, #17] - 800a42e: 9300 str r3, [sp, #0] - 800a430: 0c2f lsrs r7, r5, #16 - 800a432: 2308 movs r3, #8 - 800a434: f04f 0e49 mov.w lr, #73 ; 0x49 - 800a438: f8ad 000c strh.w r0, [sp, #12] - 800a43c: f88d 7014 strb.w r7, [sp, #20] - 800a440: f88d 0016 strb.w r0, [sp, #22] - 800a444: 0e2f lsrs r7, r5, #24 - 800a446: eb0d 0003 add.w r0, sp, r3 - 800a44a: f8cd e008 str.w lr, [sp, #8] - 800a44e: f88d c010 strb.w ip, [sp, #16] - 800a452: f8ad 5012 strh.w r5, [sp, #18] - 800a456: f88d 7015 strb.w r7, [sp, #21] - 800a45a: f002 f823 bl 800c4a4 - 800a45e: b108 cbz r0, 800a464 - 800a460: 200e movs r0, #14 - 800a462: e7ca b.n 800a3fa - 800a464: 4620 mov r0, r4 - 800a466: f000 fa14 bl 800a892 - 800a46a: 2800 cmp r0, #0 - 800a46c: d1b8 bne.n 800a3e0 - 800a46e: 6833 ldr r3, [r6, #0] - 800a470: 60dd str r5, [r3, #12] - 800a472: e7c2 b.n 800a3fa - 800a474: 200d movs r0, #13 - 800a476: e7c0 b.n 800a3fa - 800a478: 2006 movs r0, #6 - 800a47a: e7be b.n 800a3fa - 800a47c: 200019b8 .word 0x200019b8 +0800a610 : + 800a610: b910 cbnz r0, 800a618 + 800a612: 4608 mov r0, r1 + 800a614: f000 b98e b.w 800a934 + 800a618: 4770 bx lr -0800a480 : - 800a480: e92d 41ff stmdb sp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, lr} - 800a484: 9d0a ldr r5, [sp, #40] ; 0x28 - 800a486: 4680 mov r8, r0 - 800a488: 460f mov r7, r1 - 800a48a: 4616 mov r6, r2 - 800a48c: 461c mov r4, r3 - 800a48e: 2d00 cmp r5, #0 - 800a490: d05a beq.n 800a548 - 800a492: 2300 movs r3, #0 - 800a494: a903 add r1, sp, #12 - 800a496: 4610 mov r0, r2 - 800a498: 9303 str r3, [sp, #12] - 800a49a: f7ff fe9d bl 800a1d8 - 800a49e: b118 cbz r0, 800a4a8 - 800a4a0: 2006 movs r0, #6 - 800a4a2: b004 add sp, #16 - 800a4a4: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800a4a8: 9b03 ldr r3, [sp, #12] - 800a4aa: 429c cmp r4, r3 - 800a4ac: d801 bhi.n 800a4b2 - 800a4ae: 3301 adds r3, #1 - 800a4b0: d1f6 bne.n 800a4a0 - 800a4b2: 4628 mov r0, r5 - 800a4b4: f000 f95e bl 800a774 - 800a4b8: 2800 cmp r0, #0 - 800a4ba: d147 bne.n 800a54c - 800a4bc: 4b26 ldr r3, [pc, #152] ; (800a558 ) - 800a4be: 781a ldrb r2, [r3, #0] - 800a4c0: 4542 cmp r2, r8 - 800a4c2: d003 beq.n 800a4cc - 800a4c4: 791a ldrb r2, [r3, #4] - 800a4c6: 4542 cmp r2, r8 - 800a4c8: d142 bne.n 800a550 - 800a4ca: 2001 movs r0, #1 - 800a4cc: 68aa ldr r2, [r5, #8] - 800a4ce: 42ba cmp r2, r7 - 800a4d0: d140 bne.n 800a554 - 800a4d2: eb03 0280 add.w r2, r3, r0, lsl #2 - 800a4d6: 6aeb ldr r3, [r5, #44] ; 0x2c - 800a4d8: f892 8001 ldrb.w r8, [r2, #1] - 800a4dc: 7929 ldrb r1, [r5, #4] - 800a4de: e9cd 4300 strd r4, r3, [sp] - 800a4e2: 3904 subs r1, #4 - 800a4e4: 7892 ldrb r2, [r2, #2] - 800a4e6: 6828 ldr r0, [r5, #0] - 800a4e8: 463b mov r3, r7 - 800a4ea: b289 uxth r1, r1 - 800a4ec: f7ff fe92 bl 800a214 - 800a4f0: 2800 cmp r0, #0 - 800a4f2: d1d6 bne.n 800a4a2 - 800a4f4: f895 3020 ldrb.w r3, [r5, #32] - 800a4f8: 9401 str r4, [sp, #4] - 800a4fa: 2b00 cmp r3, #0 - 800a4fc: f04f 0301 mov.w r3, #1 - 800a500: 9300 str r3, [sp, #0] - 800a502: bf14 ite ne - 800a504: 4642 movne r2, r8 - 800a506: 2208 moveq r2, #8 - 800a508: f895 1028 ldrb.w r1, [r5, #40] ; 0x28 - 800a50c: 6a68 ldr r0, [r5, #36] ; 0x24 - 800a50e: 463b mov r3, r7 - 800a510: f7ff fe07 bl 800a122 - 800a514: 2800 cmp r0, #0 - 800a516: d1c4 bne.n 800a4a2 - 800a518: 3e01 subs r6, #1 - 800a51a: 2e03 cmp r6, #3 - 800a51c: d8c1 bhi.n 800a4a2 - 800a51e: e8df f006 tbb [pc, r6] - 800a522: 0702 .short 0x0702 - 800a524: 0f0b .short 0x0f0b - 800a526: 4b0d ldr r3, [pc, #52] ; (800a55c ) - 800a528: 681b ldr r3, [r3, #0] - 800a52a: 611c str r4, [r3, #16] - 800a52c: 621c str r4, [r3, #32] - 800a52e: e7b8 b.n 800a4a2 - 800a530: 4b0a ldr r3, [pc, #40] ; (800a55c ) - 800a532: 681b ldr r3, [r3, #0] - 800a534: 615c str r4, [r3, #20] - 800a536: e7f9 b.n 800a52c - 800a538: 4b08 ldr r3, [pc, #32] ; (800a55c ) - 800a53a: 681b ldr r3, [r3, #0] - 800a53c: 619c str r4, [r3, #24] - 800a53e: e7f5 b.n 800a52c - 800a540: 4b06 ldr r3, [pc, #24] ; (800a55c ) - 800a542: 681b ldr r3, [r3, #0] - 800a544: 61dc str r4, [r3, #28] - 800a546: e7ac b.n 800a4a2 - 800a548: 2009 movs r0, #9 - 800a54a: e7aa b.n 800a4a2 - 800a54c: 200f movs r0, #15 - 800a54e: e7a8 b.n 800a4a2 - 800a550: 200b movs r0, #11 - 800a552: e7a6 b.n 800a4a2 - 800a554: 2002 movs r0, #2 - 800a556: e7a4 b.n 800a4a2 - 800a558: 200000f0 .word 0x200000f0 - 800a55c: 200019b8 .word 0x200019b8 +0800a61a : + 800a61a: 4603 mov r3, r0 + 800a61c: 4608 mov r0, r1 + 800a61e: 4611 mov r1, r2 + 800a620: b90b cbnz r3, 800a626 + 800a622: f000 b9e5 b.w 800a9f0 + 800a626: 2000 movs r0, #0 + 800a628: 4770 bx lr -0800a560 : - 800a560: b51f push {r0, r1, r2, r3, r4, lr} - 800a562: 460a mov r2, r1 - 800a564: 2a0b cmp r2, #11 - 800a566: f04f 0100 mov.w r1, #0 - 800a56a: e9cd 1100 strd r1, r1, [sp] - 800a56e: e9cd 1102 strd r1, r1, [sp, #8] - 800a572: d007 beq.n 800a584 - 800a574: 2a0c cmp r2, #12 - 800a576: d013 beq.n 800a5a0 - 800a578: 2a0a cmp r2, #10 - 800a57a: d00f beq.n 800a59c - 800a57c: 200a movs r0, #10 - 800a57e: b005 add sp, #20 - 800a580: f85d fb04 ldr.w pc, [sp], #4 - 800a584: 2801 cmp r0, #1 - 800a586: d102 bne.n 800a58e - 800a588: 2320 movs r3, #32 - 800a58a: f88d 3000 strb.w r3, [sp] - 800a58e: 4668 mov r0, sp - 800a590: f002 f811 bl 800c5b6 - 800a594: 2800 cmp r0, #0 - 800a596: bf18 it ne - 800a598: 200e movne r0, #14 - 800a59a: e7f0 b.n 800a57e - 800a59c: 2330 movs r3, #48 ; 0x30 - 800a59e: e7f4 b.n 800a58a - 800a5a0: 210b movs r1, #11 - 800a5a2: e7f4 b.n 800a58e +0800a62a : + 800a62a: b910 cbnz r0, 800a632 + 800a62c: 4608 mov r0, r1 + 800a62e: f000 bd71 b.w 800b114 + 800a632: 4770 bx lr -0800a5a4 : - 800a5a4: b538 push {r3, r4, r5, lr} - 800a5a6: 4605 mov r5, r0 - 800a5a8: f002 f800 bl 800c5ac - 800a5ac: 4604 mov r4, r0 - 800a5ae: b978 cbnz r0, 800a5d0 - 800a5b0: b97d cbnz r5, 800a5d2 - 800a5b2: 4b09 ldr r3, [pc, #36] ; (800a5d8 ) - 800a5b4: 681b ldr r3, [r3, #0] - 800a5b6: 210b movs r1, #11 - 800a5b8: 7898 ldrb r0, [r3, #2] - 800a5ba: f7ff ffd1 bl 800a560 - 800a5be: b938 cbnz r0, 800a5d0 - 800a5c0: 210c movs r1, #12 - 800a5c2: f7ff ffcd bl 800a560 - 800a5c6: b918 cbnz r0, 800a5d0 - 800a5c8: 210a movs r1, #10 - 800a5ca: f7ff ffc9 bl 800a560 - 800a5ce: b100 cbz r0, 800a5d2 - 800a5d0: 240e movs r4, #14 - 800a5d2: 4620 mov r0, r4 - 800a5d4: bd38 pop {r3, r4, r5, pc} - 800a5d6: bf00 nop - 800a5d8: 200019b8 .word 0x200019b8 +0800a634 : + 800a634: b910 cbnz r0, 800a63c + 800a636: 4608 mov r0, r1 + 800a638: f000 ba06 b.w 800aa48 + 800a63c: 2000 movs r0, #0 + 800a63e: 4770 bx lr -0800a5dc : - 800a5dc: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} - 800a5e0: 4680 mov r8, r0 - 800a5e2: b08f sub sp, #60 ; 0x3c - 800a5e4: 460c mov r4, r1 - 800a5e6: 4617 mov r7, r2 - 800a5e8: 2a00 cmp r2, #0 - 800a5ea: d06b beq.n 800a6c4 - 800a5ec: 2900 cmp r1, #0 - 800a5ee: d069 beq.n 800a6c4 - 800a5f0: 2500 movs r5, #0 - 800a5f2: 4629 mov r1, r5 - 800a5f4: 221d movs r2, #29 - 800a5f6: a806 add r0, sp, #24 - 800a5f8: 9505 str r5, [sp, #20] - 800a5fa: f004 fe91 bl 800f320 - 800a5fe: f88d 5013 strb.w r5, [sp, #19] - 800a602: 4d34 ldr r5, [pc, #208] ; (800a6d4 ) - 800a604: 682b ldr r3, [r5, #0] - 800a606: f10d 0914 add.w r9, sp, #20 - 800a60a: 889e ldrh r6, [r3, #4] - 800a60c: f8cd 9004 str.w r9, [sp, #4] - 800a610: f10d 0313 add.w r3, sp, #19 - 800a614: 9302 str r3, [sp, #8] - 800a616: 793b ldrb r3, [r7, #4] - 800a618: 9300 str r3, [sp, #0] - 800a61a: 683b ldr r3, [r7, #0] - 800a61c: 4632 mov r2, r6 - 800a61e: 4621 mov r1, r4 - 800a620: 4640 mov r0, r8 - 800a622: f001 ffe4 bl 800c5ee - 800a626: 2800 cmp r0, #0 - 800a628: d14e bne.n 800a6c8 - 800a62a: 6838 ldr r0, [r7, #0] - 800a62c: 793a ldrb r2, [r7, #4] - 800a62e: 4649 mov r1, r9 - 800a630: f002 f950 bl 800c8d4 - 800a634: 4638 mov r0, r7 - 800a636: f000 f84f bl 800a6d8 - 800a63a: 2800 cmp r0, #0 - 800a63c: d146 bne.n 800a6cc - 800a63e: 7a3c ldrb r4, [r7, #8] - 800a640: 79fa ldrb r2, [r7, #7] - 800a642: 79bb ldrb r3, [r7, #6] - 800a644: 0424 lsls r4, r4, #16 - 800a646: ea44 2402 orr.w r4, r4, r2, lsl #8 - 800a64a: 431c orrs r4, r3 - 800a64c: 682b ldr r3, [r5, #0] - 800a64e: 689a ldr r2, [r3, #8] - 800a650: 4294 cmp r4, r2 - 800a652: d93d bls.n 800a6d0 - 800a654: 609c str r4, [r3, #8] - 800a656: f89d 0013 ldrb.w r0, [sp, #19] - 800a65a: 210b movs r1, #11 - 800a65c: f7ff ff80 bl 800a560 - 800a660: 4603 mov r3, r0 - 800a662: bb58 cbnz r0, 800a6bc - 800a664: 210c movs r1, #12 - 800a666: f7ff ff7b bl 800a560 - 800a66a: 4603 mov r3, r0 - 800a66c: bb30 cbnz r0, 800a6bc - 800a66e: 210a movs r1, #10 - 800a670: f7ff ff76 bl 800a560 - 800a674: 4603 mov r3, r0 - 800a676: bb08 cbnz r0, 800a6bc - 800a678: 7a7b ldrb r3, [r7, #9] - 800a67a: 7aba ldrb r2, [r7, #10] - 800a67c: 7aff ldrb r7, [r7, #11] - 800a67e: 043f lsls r7, r7, #16 - 800a680: ea47 2702 orr.w r7, r7, r2, lsl #8 - 800a684: 431f orrs r7, r3 - 800a686: 463a mov r2, r7 - 800a688: 4633 mov r3, r6 - 800a68a: 4621 mov r1, r4 - 800a68c: 2009 movs r0, #9 - 800a68e: f7ff fd25 bl 800a0dc - 800a692: 4603 mov r3, r0 - 800a694: b990 cbnz r0, 800a6bc - 800a696: 4633 mov r3, r6 - 800a698: 463a mov r2, r7 - 800a69a: 4621 mov r1, r4 - 800a69c: 2008 movs r0, #8 - 800a69e: f7ff fd1d bl 800a0dc - 800a6a2: 4603 mov r3, r0 - 800a6a4: b950 cbnz r0, 800a6bc - 800a6a6: 682a ldr r2, [r5, #0] - 800a6a8: f89d 1013 ldrb.w r1, [sp, #19] - 800a6ac: 7091 strb r1, [r2, #2] - 800a6ae: 2100 movs r1, #0 - 800a6b0: 60d1 str r1, [r2, #12] - 800a6b2: f04f 31ff mov.w r1, #4294967295 - 800a6b6: e9c2 1104 strd r1, r1, [r2, #16] - 800a6ba: 6191 str r1, [r2, #24] - 800a6bc: 4618 mov r0, r3 - 800a6be: b00f add sp, #60 ; 0x3c - 800a6c0: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} - 800a6c4: 2309 movs r3, #9 - 800a6c6: e7f9 b.n 800a6bc - 800a6c8: 230e movs r3, #14 - 800a6ca: e7f7 b.n 800a6bc - 800a6cc: 230f movs r3, #15 - 800a6ce: e7f5 b.n 800a6bc - 800a6d0: 2303 movs r3, #3 - 800a6d2: e7f3 b.n 800a6bc - 800a6d4: 200019b8 .word 0x200019b8 +0800a640 : + 800a640: b410 push {r4} + 800a642: 4604 mov r4, r0 + 800a644: 4608 mov r0, r1 + 800a646: 4611 mov r1, r2 + 800a648: 461a mov r2, r3 + 800a64a: 9b01 ldr r3, [sp, #4] + 800a64c: b914 cbnz r4, 800a654 + 800a64e: bc10 pop {r4} + 800a650: f000 ba18 b.w 800aa84 + 800a654: bc10 pop {r4} + 800a656: 4770 bx lr -0800a6d8 : - 800a6d8: b510 push {r4, lr} - 800a6da: 4604 mov r4, r0 - 800a6dc: 2800 cmp r0, #0 - 800a6de: d045 beq.n 800a76c - 800a6e0: 6801 ldr r1, [r0, #0] - 800a6e2: 2900 cmp r1, #0 - 800a6e4: d042 beq.n 800a76c - 800a6e6: f811 3b01 ldrb.w r3, [r1], #1 - 800a6ea: 7143 strb r3, [r0, #5] - 800a6ec: 2203 movs r2, #3 - 800a6ee: 3006 adds r0, #6 - 800a6f0: f002 f8f0 bl 800c8d4 - 800a6f4: 4620 mov r0, r4 - 800a6f6: 2203 movs r2, #3 - 800a6f8: f850 1b09 ldr.w r1, [r0], #9 - 800a6fc: 3104 adds r1, #4 - 800a6fe: f002 f8e9 bl 800c8d4 - 800a702: 6821 ldr r1, [r4, #0] - 800a704: 79cb ldrb r3, [r1, #7] - 800a706: 60e3 str r3, [r4, #12] - 800a708: 7a0a ldrb r2, [r1, #8] - 800a70a: ea43 2302 orr.w r3, r3, r2, lsl #8 - 800a70e: 60e3 str r3, [r4, #12] - 800a710: 7a4a ldrb r2, [r1, #9] - 800a712: ea43 4302 orr.w r3, r3, r2, lsl #16 - 800a716: 60e3 str r3, [r4, #12] - 800a718: 7a8a ldrb r2, [r1, #10] - 800a71a: ea43 6302 orr.w r3, r3, r2, lsl #24 - 800a71e: 60e3 str r3, [r4, #12] - 800a720: 7acb ldrb r3, [r1, #11] - 800a722: 7423 strb r3, [r4, #16] - 800a724: 7b0b ldrb r3, [r1, #12] - 800a726: 7463 strb r3, [r4, #17] - 800a728: 7923 ldrb r3, [r4, #4] - 800a72a: 2b21 cmp r3, #33 ; 0x21 - 800a72c: d11a bne.n 800a764 - 800a72e: 2210 movs r2, #16 - 800a730: 310d adds r1, #13 - 800a732: f104 0012 add.w r0, r4, #18 - 800a736: f002 f8cd bl 800c8d4 - 800a73a: 221d movs r2, #29 - 800a73c: 6821 ldr r1, [r4, #0] - 800a73e: 1c50 adds r0, r2, #1 - 800a740: 5c8b ldrb r3, [r1, r2] - 800a742: 6263 str r3, [r4, #36] ; 0x24 - 800a744: 5c08 ldrb r0, [r1, r0] - 800a746: ea43 2300 orr.w r3, r3, r0, lsl #8 - 800a74a: 1c90 adds r0, r2, #2 - 800a74c: 6263 str r3, [r4, #36] ; 0x24 - 800a74e: 5c08 ldrb r0, [r1, r0] - 800a750: 3203 adds r2, #3 - 800a752: ea43 4300 orr.w r3, r3, r0, lsl #16 - 800a756: 6263 str r3, [r4, #36] ; 0x24 - 800a758: 5c8a ldrb r2, [r1, r2] - 800a75a: ea43 6302 orr.w r3, r3, r2, lsl #24 - 800a75e: 6263 str r3, [r4, #36] ; 0x24 - 800a760: 2000 movs r0, #0 - 800a762: bd10 pop {r4, pc} - 800a764: 2b11 cmp r3, #17 - 800a766: dc03 bgt.n 800a770 - 800a768: 220d movs r2, #13 - 800a76a: e7e7 b.n 800a73c - 800a76c: 2002 movs r0, #2 - 800a76e: e7f8 b.n 800a762 - 800a770: 2001 movs r0, #1 - 800a772: e7f6 b.n 800a762 +0800a658 : + 800a658: 4603 mov r3, r0 + 800a65a: 4608 mov r0, r1 + 800a65c: 4611 mov r1, r2 + 800a65e: b90b cbnz r3, 800a664 + 800a660: f000 ba42 b.w 800aae8 + 800a664: 2000 movs r0, #0 + 800a666: 4770 bx lr -0800a774 : - 800a774: b510 push {r4, lr} - 800a776: 4604 mov r4, r0 - 800a778: 2800 cmp r0, #0 - 800a77a: d054 beq.n 800a826 - 800a77c: 6801 ldr r1, [r0, #0] - 800a77e: 2900 cmp r1, #0 - 800a780: d051 beq.n 800a826 - 800a782: 780b ldrb r3, [r1, #0] - 800a784: 7143 strb r3, [r0, #5] - 800a786: 784b ldrb r3, [r1, #1] - 800a788: 6083 str r3, [r0, #8] - 800a78a: 788a ldrb r2, [r1, #2] - 800a78c: ea43 2302 orr.w r3, r3, r2, lsl #8 - 800a790: 6083 str r3, [r0, #8] - 800a792: 78ca ldrb r2, [r1, #3] - 800a794: ea43 4302 orr.w r3, r3, r2, lsl #16 - 800a798: 6083 str r3, [r0, #8] - 800a79a: 790a ldrb r2, [r1, #4] - 800a79c: ea43 6302 orr.w r3, r3, r2, lsl #24 - 800a7a0: 6083 str r3, [r0, #8] - 800a7a2: 794b ldrb r3, [r1, #5] - 800a7a4: 7303 strb r3, [r0, #12] - 800a7a6: 798b ldrb r3, [r1, #6] - 800a7a8: 81c3 strh r3, [r0, #14] - 800a7aa: 79ca ldrb r2, [r1, #7] - 800a7ac: ea43 2302 orr.w r3, r3, r2, lsl #8 - 800a7b0: 7b02 ldrb r2, [r0, #12] - 800a7b2: 81c3 strh r3, [r0, #14] - 800a7b4: f002 020f and.w r2, r2, #15 - 800a7b8: 3108 adds r1, #8 - 800a7ba: 3010 adds r0, #16 - 800a7bc: f002 f88a bl 800c8d4 - 800a7c0: 7b23 ldrb r3, [r4, #12] - 800a7c2: 2200 movs r2, #0 - 800a7c4: f003 030f and.w r3, r3, #15 - 800a7c8: f884 2020 strb.w r2, [r4, #32] - 800a7cc: f884 2028 strb.w r2, [r4, #40] ; 0x28 - 800a7d0: 7922 ldrb r2, [r4, #4] - 800a7d2: f103 0008 add.w r0, r3, #8 - 800a7d6: 1a11 subs r1, r2, r0 - 800a7d8: 2904 cmp r1, #4 - 800a7da: dd0d ble.n 800a7f8 - 800a7dc: 6821 ldr r1, [r4, #0] - 800a7de: 3309 adds r3, #9 - 800a7e0: 3a04 subs r2, #4 - 800a7e2: 1ad2 subs r2, r2, r3 - 800a7e4: 5c08 ldrb r0, [r1, r0] - 800a7e6: f884 0020 strb.w r0, [r4, #32] - 800a7ea: b2d2 uxtb r2, r2 - 800a7ec: 6a60 ldr r0, [r4, #36] ; 0x24 - 800a7ee: f884 2028 strb.w r2, [r4, #40] ; 0x28 - 800a7f2: 4419 add r1, r3 - 800a7f4: f002 f86e bl 800c8d4 - 800a7f8: 7923 ldrb r3, [r4, #4] - 800a7fa: 6822 ldr r2, [r4, #0] - 800a7fc: 441a add r2, r3 - 800a7fe: 2000 movs r0, #0 - 800a800: f812 3c04 ldrb.w r3, [r2, #-4] - 800a804: 62e3 str r3, [r4, #44] ; 0x2c - 800a806: f812 1c03 ldrb.w r1, [r2, #-3] - 800a80a: ea43 2301 orr.w r3, r3, r1, lsl #8 - 800a80e: 62e3 str r3, [r4, #44] ; 0x2c - 800a810: f812 1c02 ldrb.w r1, [r2, #-2] - 800a814: ea43 4301 orr.w r3, r3, r1, lsl #16 - 800a818: 62e3 str r3, [r4, #44] ; 0x2c - 800a81a: f812 2c01 ldrb.w r2, [r2, #-1] - 800a81e: ea43 6302 orr.w r3, r3, r2, lsl #24 - 800a822: 62e3 str r3, [r4, #44] ; 0x2c - 800a824: bd10 pop {r4, pc} - 800a826: 2002 movs r0, #2 - 800a828: e7fc b.n 800a824 +0800a668 : + 800a668: b410 push {r4} + 800a66a: 4604 mov r4, r0 + 800a66c: 4608 mov r0, r1 + 800a66e: 4611 mov r1, r2 + 800a670: 461a mov r2, r3 + 800a672: b914 cbnz r4, 800a67a + 800a674: bc10 pop {r4} + 800a676: f000 baaf b.w 800abd8 + 800a67a: 2000 movs r0, #0 + 800a67c: bc10 pop {r4} + 800a67e: 4770 bx lr -0800a82a : - 800a82a: b510 push {r4, lr} - 800a82c: 4604 mov r4, r0 - 800a82e: b360 cbz r0, 800a88a - 800a830: 6803 ldr r3, [r0, #0] - 800a832: b353 cbz r3, 800a88a - 800a834: 7902 ldrb r2, [r0, #4] - 800a836: 2a16 cmp r2, #22 - 800a838: d929 bls.n 800a88e - 800a83a: 7942 ldrb r2, [r0, #5] - 800a83c: 701a strb r2, [r3, #0] - 800a83e: 4601 mov r1, r0 - 800a840: 2208 movs r2, #8 - 800a842: f851 0b06 ldr.w r0, [r1], #6 - 800a846: 3001 adds r0, #1 - 800a848: f002 f84e bl 800c8e8 - 800a84c: 4621 mov r1, r4 - 800a84e: 2208 movs r2, #8 - 800a850: f851 0b0e ldr.w r0, [r1], #14 - 800a854: 3009 adds r0, #9 - 800a856: f002 f847 bl 800c8e8 - 800a85a: 6823 ldr r3, [r4, #0] - 800a85c: 8ae2 ldrh r2, [r4, #22] - 800a85e: 745a strb r2, [r3, #17] - 800a860: 8ae3 ldrh r3, [r4, #22] - 800a862: 6822 ldr r2, [r4, #0] - 800a864: 0a1b lsrs r3, r3, #8 - 800a866: 7493 strb r3, [r2, #18] - 800a868: 6823 ldr r3, [r4, #0] - 800a86a: 69a2 ldr r2, [r4, #24] - 800a86c: 74da strb r2, [r3, #19] - 800a86e: 69a3 ldr r3, [r4, #24] - 800a870: 6822 ldr r2, [r4, #0] - 800a872: 0a1b lsrs r3, r3, #8 - 800a874: 7513 strb r3, [r2, #20] - 800a876: 6823 ldr r3, [r4, #0] - 800a878: 8b62 ldrh r2, [r4, #26] - 800a87a: 755a strb r2, [r3, #21] - 800a87c: 6823 ldr r3, [r4, #0] - 800a87e: 7ee2 ldrb r2, [r4, #27] - 800a880: 759a strb r2, [r3, #22] - 800a882: 2317 movs r3, #23 - 800a884: 7123 strb r3, [r4, #4] - 800a886: 2000 movs r0, #0 - 800a888: bd10 pop {r4, pc} - 800a88a: 2001 movs r0, #1 - 800a88c: e7fc b.n 800a888 - 800a88e: 2002 movs r0, #2 - 800a890: e7fa b.n 800a888 +0800a680 : + 800a680: b430 push {r4, r5} + 800a682: 4605 mov r5, r0 + 800a684: 4608 mov r0, r1 + 800a686: 4611 mov r1, r2 + 800a688: 461a mov r2, r3 + 800a68a: e9dd 3402 ldrd r3, r4, [sp, #8] + 800a68e: b91d cbnz r5, 800a698 + 800a690: 9402 str r4, [sp, #8] + 800a692: bc30 pop {r4, r5} + 800a694: f000 bb2e b.w 800acf4 + 800a698: 2000 movs r0, #0 + 800a69a: bc30 pop {r4, r5} + 800a69c: 4770 bx lr -0800a892 : - 800a892: b538 push {r3, r4, r5, lr} - 800a894: 4604 mov r4, r0 - 800a896: 2800 cmp r0, #0 - 800a898: d063 beq.n 800a962 - 800a89a: 6801 ldr r1, [r0, #0] - 800a89c: 2900 cmp r1, #0 - 800a89e: d060 beq.n 800a962 - 800a8a0: 7b03 ldrb r3, [r0, #12] - 800a8a2: f890 2028 ldrb.w r2, [r0, #40] ; 0x28 - 800a8a6: f003 030f and.w r3, r3, #15 - 800a8aa: 2a00 cmp r2, #0 - 800a8ac: d157 bne.n 800a95e - 800a8ae: 3308 adds r3, #8 - 800a8b0: 7920 ldrb r0, [r4, #4] - 800a8b2: 3204 adds r2, #4 - 800a8b4: 4413 add r3, r2 - 800a8b6: 4298 cmp r0, r3 - 800a8b8: d355 bcc.n 800a966 - 800a8ba: 7963 ldrb r3, [r4, #5] - 800a8bc: 700b strb r3, [r1, #0] - 800a8be: 6823 ldr r3, [r4, #0] - 800a8c0: 68a2 ldr r2, [r4, #8] - 800a8c2: 705a strb r2, [r3, #1] - 800a8c4: 68a3 ldr r3, [r4, #8] - 800a8c6: 6822 ldr r2, [r4, #0] - 800a8c8: 0a1b lsrs r3, r3, #8 - 800a8ca: 7093 strb r3, [r2, #2] - 800a8cc: 6823 ldr r3, [r4, #0] - 800a8ce: 8962 ldrh r2, [r4, #10] - 800a8d0: 70da strb r2, [r3, #3] - 800a8d2: 6823 ldr r3, [r4, #0] - 800a8d4: 7ae2 ldrb r2, [r4, #11] - 800a8d6: 711a strb r2, [r3, #4] - 800a8d8: 6823 ldr r3, [r4, #0] - 800a8da: 7b22 ldrb r2, [r4, #12] - 800a8dc: 715a strb r2, [r3, #5] - 800a8de: 6823 ldr r3, [r4, #0] - 800a8e0: 89e2 ldrh r2, [r4, #14] - 800a8e2: 719a strb r2, [r3, #6] - 800a8e4: 89e3 ldrh r3, [r4, #14] - 800a8e6: 6822 ldr r2, [r4, #0] - 800a8e8: 0a1b lsrs r3, r3, #8 - 800a8ea: 4621 mov r1, r4 - 800a8ec: 71d3 strb r3, [r2, #7] - 800a8ee: 7b22 ldrb r2, [r4, #12] - 800a8f0: f851 0b10 ldr.w r0, [r1], #16 - 800a8f4: f002 020f and.w r2, r2, #15 - 800a8f8: 3008 adds r0, #8 - 800a8fa: f001 ffeb bl 800c8d4 - 800a8fe: 7b23 ldrb r3, [r4, #12] - 800a900: f894 2028 ldrb.w r2, [r4, #40] ; 0x28 - 800a904: f003 030f and.w r3, r3, #15 - 800a908: f103 0508 add.w r5, r3, #8 - 800a90c: b12a cbz r2, 800a91a - 800a90e: 6822 ldr r2, [r4, #0] - 800a910: f894 1020 ldrb.w r1, [r4, #32] - 800a914: 5551 strb r1, [r2, r5] - 800a916: f103 0509 add.w r5, r3, #9 - 800a91a: 6820 ldr r0, [r4, #0] - 800a91c: f894 2028 ldrb.w r2, [r4, #40] ; 0x28 - 800a920: 6a61 ldr r1, [r4, #36] ; 0x24 - 800a922: 4428 add r0, r5 - 800a924: f001 ffd6 bl 800c8d4 - 800a928: f894 3028 ldrb.w r3, [r4, #40] ; 0x28 - 800a92c: 6822 ldr r2, [r4, #0] - 800a92e: 6ae1 ldr r1, [r4, #44] ; 0x2c - 800a930: 442b add r3, r5 - 800a932: 54d1 strb r1, [r2, r3] - 800a934: 1c5a adds r2, r3, #1 - 800a936: 6ae1 ldr r1, [r4, #44] ; 0x2c - 800a938: 6820 ldr r0, [r4, #0] - 800a93a: b292 uxth r2, r2 - 800a93c: 0a09 lsrs r1, r1, #8 - 800a93e: 5481 strb r1, [r0, r2] - 800a940: 1c9a adds r2, r3, #2 - 800a942: 6821 ldr r1, [r4, #0] - 800a944: 8de0 ldrh r0, [r4, #46] ; 0x2e - 800a946: b292 uxth r2, r2 - 800a948: 5488 strb r0, [r1, r2] - 800a94a: 1cda adds r2, r3, #3 - 800a94c: 6821 ldr r1, [r4, #0] - 800a94e: f894 002f ldrb.w r0, [r4, #47] ; 0x2f - 800a952: b292 uxth r2, r2 - 800a954: 3304 adds r3, #4 - 800a956: 5488 strb r0, [r1, r2] - 800a958: 7123 strb r3, [r4, #4] - 800a95a: 2000 movs r0, #0 - 800a95c: bd38 pop {r3, r4, r5, pc} - 800a95e: 3309 adds r3, #9 - 800a960: e7a6 b.n 800a8b0 - 800a962: 2001 movs r0, #1 - 800a964: e7fa b.n 800a95c - 800a966: 2002 movs r0, #2 - 800a968: e7f8 b.n 800a95c - ... +0800a69e : + 800a69e: b910 cbnz r0, 800a6a6 + 800a6a0: 4608 mov r0, r1 + 800a6a2: f000 bbdf b.w 800ae64 + 800a6a6: 2000 movs r0, #0 + 800a6a8: 4770 bx lr -0800a96c : - 800a96c: 4b02 ldr r3, [pc, #8] ; (800a978 ) - 800a96e: 881a ldrh r2, [r3, #0] - 800a970: 4310 orrs r0, r2 - 800a972: 8018 strh r0, [r3, #0] - 800a974: 4770 bx lr - 800a976: bf00 nop - 800a978: 200019bc .word 0x200019bc +0800a6aa : + 800a6aa: b910 cbnz r0, 800a6b2 + 800a6ac: 4608 mov r0, r1 + 800a6ae: f000 bd6f b.w 800b190 + 800a6b2: 2000 movs r0, #0 + 800a6b4: 4770 bx lr -0800a97c : - 800a97c: b508 push {r3, lr} - 800a97e: 4b07 ldr r3, [pc, #28] ; (800a99c ) - 800a980: 881b ldrh r3, [r3, #0] - 800a982: b13b cbz r3, 800a994 - 800a984: f7fe f9b8 bl 8008cf8 - 800a988: 2800 cmp r0, #0 - 800a98a: bf0c ite eq - 800a98c: 2000 moveq r0, #0 - 800a98e: f06f 0002 mvnne.w r0, #2 - 800a992: bd08 pop {r3, pc} - 800a994: f06f 0001 mvn.w r0, #1 - 800a998: e7fb b.n 800a992 - 800a99a: bf00 nop - 800a99c: 200019bc .word 0x200019bc +0800a6b6 : + 800a6b6: b910 cbnz r0, 800a6be + 800a6b8: 4608 mov r0, r1 + 800a6ba: f000 bbee b.w 800ae9a + 800a6be: 2000 movs r0, #0 + 800a6c0: 4770 bx lr -0800a9a0 : - 800a9a0: b510 push {r4, lr} - 800a9a2: 4b03 ldr r3, [pc, #12] ; (800a9b0 ) - 800a9a4: 2400 movs r4, #0 - 800a9a6: 801c strh r4, [r3, #0] - 800a9a8: f7fe f99c bl 8008ce4 - 800a9ac: 4620 mov r0, r4 - 800a9ae: bd10 pop {r4, pc} - 800a9b0: 200019bc .word 0x200019bc +0800a6c2 : + 800a6c2: b910 cbnz r0, 800a6ca + 800a6c4: 4608 mov r0, r1 + 800a6c6: f000 bbeb b.w 800aea0 + 800a6ca: 2000 movs r0, #0 + 800a6cc: 4770 bx lr -0800a9b4 : - 800a9b4: fab0 f080 clz r0, r0 - 800a9b8: 0940 lsrs r0, r0, #5 - 800a9ba: 4770 bx lr +0800a6ce : + 800a6ce: 4603 mov r3, r0 + 800a6d0: 4608 mov r0, r1 + 800a6d2: 4611 mov r1, r2 + 800a6d4: b90b cbnz r3, 800a6da + 800a6d6: f000 bc05 b.w 800aee4 + 800a6da: 2000 movs r0, #0 + 800a6dc: 4770 bx lr -0800a9bc : - 800a9bc: b082 sub sp, #8 - 800a9be: b918 cbnz r0, 800a9c8 - 800a9c0: 4608 mov r0, r1 - 800a9c2: b002 add sp, #8 - 800a9c4: f000 b8ca b.w 800ab5c - 800a9c8: 2000 movs r0, #0 - 800a9ca: b002 add sp, #8 - 800a9cc: 4770 bx lr +0800a6de : + 800a6de: b410 push {r4} + 800a6e0: 4604 mov r4, r0 + 800a6e2: 4608 mov r0, r1 + 800a6e4: 4611 mov r1, r2 + 800a6e6: 461a mov r2, r3 + 800a6e8: 9b01 ldr r3, [sp, #4] + 800a6ea: b914 cbnz r4, 800a6f2 + 800a6ec: bc10 pop {r4} + 800a6ee: f000 bbfb b.w 800aee8 + 800a6f2: 2009 movs r0, #9 + 800a6f4: bc10 pop {r4} + 800a6f6: 4770 bx lr -0800a9ce : - 800a9ce: b910 cbnz r0, 800a9d6 - 800a9d0: 4608 mov r0, r1 - 800a9d2: f000 b977 b.w 800acc4 - 800a9d6: 4770 bx lr +0800a6f8 : + 800a6f8: b410 push {r4} + 800a6fa: 4604 mov r4, r0 + 800a6fc: 4608 mov r0, r1 + 800a6fe: 4611 mov r1, r2 + 800a700: 461a mov r2, r3 + 800a702: b914 cbnz r4, 800a70a + 800a704: bc10 pop {r4} + 800a706: f000 bd63 b.w 800b1d0 + 800a70a: b2c8 uxtb r0, r1 + 800a70c: bc10 pop {r4} + 800a70e: 4770 bx lr -0800a9d8 : - 800a9d8: b910 cbnz r0, 800a9e0 - 800a9da: 4608 mov r0, r1 - 800a9dc: f000 b98e b.w 800acfc - 800a9e0: 4770 bx lr +0800a710 : + 800a710: 4800 ldr r0, [pc, #0] ; (800a714 ) + 800a712: 4770 bx lr + 800a714: 02010001 .word 0x02010001 -0800a9e2 : - 800a9e2: 4603 mov r3, r0 - 800a9e4: 4608 mov r0, r1 - 800a9e6: 4611 mov r1, r2 - 800a9e8: b90b cbnz r3, 800a9ee - 800a9ea: f000 b9e5 b.w 800adb8 - 800a9ee: 2000 movs r0, #0 - 800a9f0: 4770 bx lr +0800a718 : + 800a718: 4b06 ldr r3, [pc, #24] ; (800a734 ) + 800a71a: b510 push {r4, lr} + 800a71c: 6a1b ldr r3, [r3, #32] + 800a71e: 4604 mov r4, r0 + 800a720: 4798 blx r3 + 800a722: b130 cbz r0, 800a732 + 800a724: 4804 ldr r0, [pc, #16] ; (800a738 ) + 800a726: 4b05 ldr r3, [pc, #20] ; (800a73c ) + 800a728: 4420 add r0, r4 + 800a72a: 4298 cmp r0, r3 + 800a72c: bf8c ite hi + 800a72e: 2000 movhi r0, #0 + 800a730: 2001 movls r0, #1 + 800a732: bd10 pop {r4, pc} + 800a734: 0800fa0c .word 0x0800fa0c + 800a738: c920c240 .word 0xc920c240 + 800a73c: 002ab980 .word 0x002ab980 -0800a9f2 : - 800a9f2: b910 cbnz r0, 800a9fa - 800a9f4: 4608 mov r0, r1 - 800a9f6: f000 bd71 b.w 800b4dc - 800a9fa: 4770 bx lr +0800a740 : + 800a740: b5f0 push {r4, r5, r6, r7, lr} + 800a742: 4b11 ldr r3, [pc, #68] ; (800a788 ) + 800a744: b085 sub sp, #20 + 800a746: 460c mov r4, r1 + 800a748: 4910 ldr r1, [pc, #64] ; (800a78c ) + 800a74a: 561f ldrsb r7, [r3, r0] + 800a74c: 4605 mov r5, r0 + 800a74e: f001 f849 bl 800b7e4 + 800a752: 4b0f ldr r3, [pc, #60] ; (800a790 ) + 800a754: b2e4 uxtb r4, r4 + 800a756: 6a5e ldr r6, [r3, #36] ; 0x24 + 800a758: 2d07 cmp r5, #7 + 800a75a: f04f 0301 mov.w r3, #1 + 800a75e: e9cd 4302 strd r4, r3, [sp, #8] + 800a762: 4601 mov r1, r0 + 800a764: d10a bne.n 800a77c + 800a766: 2205 movs r2, #5 + 800a768: 2300 movs r3, #0 + 800a76a: e9cd 2300 strd r2, r3, [sp] + 800a76e: f44f 727a mov.w r2, #1000 ; 0x3e8 + 800a772: 437a muls r2, r7 + 800a774: 4618 mov r0, r3 + 800a776: 47b0 blx r6 + 800a778: b005 add sp, #20 + 800a77a: bdf0 pop {r4, r5, r6, r7, pc} + 800a77c: 2208 movs r2, #8 + 800a77e: 2000 movs r0, #0 + 800a780: e9cd 2000 strd r2, r0, [sp] + 800a784: 463a mov r2, r7 + 800a786: e7f5 b.n 800a774 + 800a788: 0800f357 .word 0x0800f357 + 800a78c: 0800f330 .word 0x0800f330 + 800a790: 0800fa0c .word 0x0800fa0c -0800a9fc : - 800a9fc: b910 cbnz r0, 800aa04 - 800a9fe: 4608 mov r0, r1 - 800aa00: f000 ba06 b.w 800ae10 - 800aa04: 2000 movs r0, #0 - 800aa06: 4770 bx lr +0800a794 : + 800a794: b51f push {r0, r1, r2, r3, r4, lr} + 800a796: 2300 movs r3, #0 + 800a798: 9300 str r3, [sp, #0] + 800a79a: 7803 ldrb r3, [r0, #0] + 800a79c: 3b01 subs r3, #1 + 800a79e: 2b37 cmp r3, #55 ; 0x37 + 800a7a0: d821 bhi.n 800a7e6 + 800a7a2: e8df f003 tbb [pc, r3] + 800a7a6: 241c .short 0x241c + 800a7a8: 1e202020 .word 0x1e202020 + 800a7ac: 20202020 .word 0x20202020 + 800a7b0: 4e454341 .word 0x4e454341 + 800a7b4: 5b585520 .word 0x5b585520 + 800a7b8: 2064615e .word 0x2064615e + 800a7bc: 736e1e6c .word 0x736e1e6c + 800a7c0: 20207a78 .word 0x20207a78 + 800a7c4: 2026817d .word 0x2026817d + 800a7c8: 20202020 .word 0x20202020 + 800a7cc: 20202020 .word 0x20202020 + 800a7d0: 20202020 .word 0x20202020 + 800a7d4: 208a8583 .word 0x208a8583 + 800a7d8: 208a8320 .word 0x208a8320 + 800a7dc: 908c .short 0x908c + 800a7de: 78c3 ldrb r3, [r0, #3] + 800a7e0: b10b cbz r3, 800a7e6 + 800a7e2: 2302 movs r3, #2 + 800a7e4: 9300 str r3, [sp, #0] + 800a7e6: 9800 ldr r0, [sp, #0] + 800a7e8: b005 add sp, #20 + 800a7ea: f85d fb04 ldr.w pc, [sp], #4 + 800a7ee: 7883 ldrb r3, [r0, #2] + 800a7f0: e7f6 b.n 800a7e0 + 800a7f2: 7843 ldrb r3, [r0, #1] + 800a7f4: f88d 3004 strb.w r3, [sp, #4] + 800a7f8: 2305 movs r3, #5 + 800a7fa: f88d 3005 strb.w r3, [sp, #5] + 800a7fe: 7883 ldrb r3, [r0, #2] + 800a800: 3b00 subs r3, #0 + 800a802: bf18 it ne + 800a804: 2301 movne r3, #1 + 800a806: 005b lsls r3, r3, #1 + 800a808: f88d 3006 strb.w r3, [sp, #6] + 800a80c: 2310 movs r3, #16 + 800a80e: f88d 3007 strb.w r3, [sp, #7] + 800a812: 4b30 ldr r3, [pc, #192] ; (800a8d4 ) + 800a814: 681b ldr r3, [r3, #0] + 800a816: a801 add r0, sp, #4 + 800a818: f503 7258 add.w r2, r3, #864 ; 0x360 + 800a81c: e9cd 2302 strd r2, r3, [sp, #8] + 800a820: f000 ffc0 bl 800b7a4 + 800a824: 9000 str r0, [sp, #0] + 800a826: e7de b.n 800a7e6 + 800a828: 2340 movs r3, #64 ; 0x40 + 800a82a: e7db b.n 800a7e4 + 800a82c: 2320 movs r3, #32 + 800a82e: e7d9 b.n 800a7e4 + 800a830: 7882 ldrb r2, [r0, #2] + 800a832: f990 3001 ldrsb.w r3, [r0, #1] + 800a836: b912 cbnz r2, 800a83e + 800a838: 4a27 ldr r2, [pc, #156] ; (800a8d8 ) + 800a83a: 5cd3 ldrb r3, [r2, r3] + 800a83c: e7d2 b.n 800a7e4 + 800a83e: 4a27 ldr r2, [pc, #156] ; (800a8dc ) + 800a840: e7fb b.n 800a83a + 800a842: 7882 ldrb r2, [r0, #2] + 800a844: f990 3001 ldrsb.w r3, [r0, #1] + 800a848: 2a00 cmp r2, #0 + 800a84a: d1f8 bne.n 800a83e + 800a84c: 4a24 ldr r2, [pc, #144] ; (800a8e0 ) + 800a84e: e7f4 b.n 800a83a + 800a850: f640 33b8 movw r3, #3000 ; 0xbb8 + 800a854: e7c6 b.n 800a7e4 + 800a856: f44f 737a mov.w r3, #1000 ; 0x3e8 + 800a85a: e7c3 b.n 800a7e4 + 800a85c: f44f 63fa mov.w r3, #2000 ; 0x7d0 + 800a860: e7c0 b.n 800a7e4 + 800a862: f241 3388 movw r3, #5000 ; 0x1388 + 800a866: e7bd b.n 800a7e4 + 800a868: f241 7370 movw r3, #6000 ; 0x1770 + 800a86c: e7ba b.n 800a7e4 + 800a86e: 481d ldr r0, [pc, #116] ; (800a8e4 ) + 800a870: f44f 717a mov.w r1, #1000 ; 0x3e8 + 800a874: f001 fe2e bl 800c4d4 + 800a878: f500 60fa add.w r0, r0, #2000 ; 0x7d0 + 800a87c: e7d2 b.n 800a824 + 800a87e: 4b1a ldr r3, [pc, #104] ; (800a8e8 ) + 800a880: e7b0 b.n 800a7e4 + 800a882: 4b14 ldr r3, [pc, #80] ; (800a8d4 ) + 800a884: 681b ldr r3, [r3, #0] + 800a886: f503 7358 add.w r3, r3, #864 ; 0x360 + 800a88a: e7ab b.n 800a7e4 + 800a88c: 4b11 ldr r3, [pc, #68] ; (800a8d4 ) + 800a88e: 681b ldr r3, [r3, #0] + 800a890: f503 735b add.w r3, r3, #876 ; 0x36c + 800a894: e7a6 b.n 800a7e4 + 800a896: 2310 movs r3, #16 + 800a898: e7a4 b.n 800a7e4 + 800a89a: 4b0e ldr r3, [pc, #56] ; (800a8d4 ) + 800a89c: 681b ldr r3, [r3, #0] + 800a89e: e7a1 b.n 800a7e4 + 800a8a0: f04f 4383 mov.w r3, #1098907648 ; 0x41800000 + 800a8a4: 9300 str r3, [sp, #0] + 800a8a6: e79e b.n 800a7e6 + 800a8a8: 4b10 ldr r3, [pc, #64] ; (800a8ec ) + 800a8aa: e7fb b.n 800a8a4 + 800a8ac: 4b10 ldr r3, [pc, #64] ; (800a8f0 ) + 800a8ae: e799 b.n 800a7e4 + 800a8b0: f240 1311 movw r3, #273 ; 0x111 + 800a8b4: f8ad 3000 strh.w r3, [sp] + 800a8b8: e795 b.n 800a7e6 + 800a8ba: 2303 movs r3, #3 + 800a8bc: e792 b.n 800a7e4 + 800a8be: f990 3001 ldrsb.w r3, [r0, #1] + 800a8c2: 4a0c ldr r2, [pc, #48] ; (800a8f4 ) + 800a8c4: e7b9 b.n 800a83a + 800a8c6: 490c ldr r1, [pc, #48] ; (800a8f8 ) + 800a8c8: f990 0001 ldrsb.w r0, [r0, #1] + 800a8cc: f000 ff8a bl 800b7e4 + 800a8d0: e7a8 b.n 800a824 + 800a8d2: bf00 nop + 800a8d4: 200019c4 .word 0x200019c4 + 800a8d8: 0800f3df .word 0x0800f3df + 800a8dc: 0800f3e7 .word 0x0800f3e7 + 800a8e0: 0800f3ef .word 0x0800f3ef + 800a8e4: fffffc18 .word 0xfffffc18 + 800a8e8: 3706ea00 .word 0x3706ea00 + 800a8ec: 4009999a .word 0x4009999a + 800a8f0: 3709f740 .word 0x3709f740 + 800a8f4: 0800f357 .word 0x0800f357 + 800a8f8: 0800f330 .word 0x0800f330 -0800aa08 : - 800aa08: b410 push {r4} - 800aa0a: 4604 mov r4, r0 - 800aa0c: 4608 mov r0, r1 - 800aa0e: 4611 mov r1, r2 - 800aa10: 461a mov r2, r3 - 800aa12: 9b01 ldr r3, [sp, #4] - 800aa14: b914 cbnz r4, 800aa1c - 800aa16: bc10 pop {r4} - 800aa18: f000 ba18 b.w 800ae4c - 800aa1c: bc10 pop {r4} - 800aa1e: 4770 bx lr +0800a8fc : + 800a8fc: b537 push {r0, r1, r2, r4, r5, lr} + 800a8fe: 4b0b ldr r3, [pc, #44] ; (800a92c ) + 800a900: 7802 ldrb r2, [r0, #0] + 800a902: 681b ldr r3, [r3, #0] + 800a904: 210c movs r1, #12 + 800a906: fb01 3302 mla r3, r1, r2, r3 + 800a90a: 7a5b ldrb r3, [r3, #9] + 800a90c: eb03 0443 add.w r4, r3, r3, lsl #1 + 800a910: 4b07 ldr r3, [pc, #28] ; (800a930 ) + 800a912: 681d ldr r5, [r3, #0] + 800a914: 6903 ldr r3, [r0, #16] + 800a916: 9300 str r3, [sp, #0] + 800a918: 68c3 ldr r3, [r0, #12] + 800a91a: 7842 ldrb r2, [r0, #1] + 800a91c: 6881 ldr r1, [r0, #8] + 800a91e: eb05 00c4 add.w r0, r5, r4, lsl #3 + 800a922: f000 fcdf bl 800b2e4 + 800a926: b003 add sp, #12 + 800a928: bd30 pop {r4, r5, pc} + 800a92a: bf00 nop + 800a92c: 200019c4 .word 0x200019c4 + 800a930: 200019c0 .word 0x200019c0 -0800aa20 : - 800aa20: 4603 mov r3, r0 - 800aa22: 4608 mov r0, r1 - 800aa24: 4611 mov r1, r2 - 800aa26: b90b cbnz r3, 800aa2c - 800aa28: f000 ba42 b.w 800aeb0 - 800aa2c: 2000 movs r0, #0 - 800aa2e: 4770 bx lr +0800a934 : + 800a934: b570 push {r4, r5, r6, lr} + 800a936: b086 sub sp, #24 + 800a938: 7b02 ldrb r2, [r0, #12] + 800a93a: 2364 movs r3, #100 ; 0x64 + 800a93c: f8ad 3000 strh.w r3, [sp] + 800a940: 2a01 cmp r2, #1 + 800a942: f04f 0300 mov.w r3, #0 + 800a946: e9cd 3301 strd r3, r3, [sp, #4] + 800a94a: e9cd 3303 strd r3, r3, [sp, #12] + 800a94e: f88d 3002 strb.w r3, [sp, #2] + 800a952: f88d 3014 strb.w r3, [sp, #20] + 800a956: d030 beq.n 800a9ba + 800a958: 2a02 cmp r2, #2 + 800a95a: d039 beq.n 800a9d0 + 800a95c: bb5a cbnz r2, 800a9b6 + 800a95e: 6803 ldr r3, [r0, #0] + 800a960: b34b cbz r3, 800a9b6 + 800a962: 6843 ldr r3, [r0, #4] + 800a964: b33b cbz r3, 800a9b6 + 800a966: 4d1f ldr r5, [pc, #124] ; (800a9e4 ) + 800a968: 6880 ldr r0, [r0, #8] + 800a96a: 602b str r3, [r5, #0] + 800a96c: 4b1e ldr r3, [pc, #120] ; (800a9e8 ) + 800a96e: 2218 movs r2, #24 + 800a970: 4669 mov r1, sp + 800a972: 6018 str r0, [r3, #0] + 800a974: f001 fdca bl 800c50c + 800a978: 4b1c ldr r3, [pc, #112] ; (800a9ec ) + 800a97a: 682c ldr r4, [r5, #0] + 800a97c: e893 0007 ldmia.w r3, {r0, r1, r2} + 800a980: 330c adds r3, #12 + 800a982: e884 0007 stmia.w r4, {r0, r1, r2} + 800a986: e893 0007 ldmia.w r3, {r0, r1, r2} + 800a98a: f104 060c add.w r6, r4, #12 + 800a98e: 2303 movs r3, #3 + 800a990: e886 0007 stmia.w r6, {r0, r1, r2} + 800a994: f8a4 336c strh.w r3, [r4, #876] ; 0x36c + 800a998: 2201 movs r2, #1 + 800a99a: f504 715b add.w r1, r4, #876 ; 0x36c + 800a99e: f504 7058 add.w r0, r4, #864 ; 0x360 + 800a9a2: f000 fc90 bl 800b2c6 + 800a9a6: 682b ldr r3, [r5, #0] + 800a9a8: f64f 72b0 movw r2, #65456 ; 0xffb0 + 800a9ac: f8a3 2378 strh.w r2, [r3, #888] ; 0x378 + 800a9b0: 2205 movs r2, #5 + 800a9b2: f8c3 237c str.w r2, [r3, #892] ; 0x37c + 800a9b6: b006 add sp, #24 + 800a9b8: bd70 pop {r4, r5, r6, pc} + 800a9ba: 490a ldr r1, [pc, #40] ; (800a9e4 ) + 800a9bc: 6808 ldr r0, [r1, #0] + 800a9be: 6043 str r3, [r0, #4] + 800a9c0: 6103 str r3, [r0, #16] + 800a9c2: f500 715b add.w r1, r0, #876 ; 0x36c + 800a9c6: f500 7058 add.w r0, r0, #864 ; 0x360 + 800a9ca: f000 fc7c bl 800b2c6 + 800a9ce: e7f2 b.n 800a9b6 + 800a9d0: 4b04 ldr r3, [pc, #16] ; (800a9e4 ) + 800a9d2: 681b ldr r3, [r3, #0] + 800a9d4: f8b3 2360 ldrh.w r2, [r3, #864] ; 0x360 + 800a9d8: f8b3 136c ldrh.w r1, [r3, #876] ; 0x36c + 800a9dc: 430a orrs r2, r1 + 800a9de: f8a3 2360 strh.w r2, [r3, #864] ; 0x360 + 800a9e2: e7e8 b.n 800a9b6 + 800a9e4: 200019c4 .word 0x200019c4 + 800a9e8: 200019c0 .word 0x200019c0 + 800a9ec: 0800f100 .word 0x0800f100 -0800aa30 : - 800aa30: b410 push {r4} - 800aa32: 4604 mov r4, r0 - 800aa34: 4608 mov r0, r1 - 800aa36: 4611 mov r1, r2 - 800aa38: 461a mov r2, r3 - 800aa3a: b914 cbnz r4, 800aa42 - 800aa3c: bc10 pop {r4} - 800aa3e: f000 baaf b.w 800afa0 +0800a9f0 : + 800a9f0: b508 push {r3, lr} + 800a9f2: 4603 mov r3, r0 + 800a9f4: 290a cmp r1, #10 + 800a9f6: d824 bhi.n 800aa42 + 800a9f8: e8df f001 tbb [pc, r1] + 800a9fc: 23232306 .word 0x23232306 + 800aa00: 1b160b23 .word 0x1b160b23 + 800aa04: 2123 .short 0x2123 + 800aa06: 21 .byte 0x21 + 800aa07: 00 .byte 0x00 + 800aa08: e8bd 4008 ldmia.w sp!, {r3, lr} + 800aa0c: 6800 ldr r0, [r0, #0] + 800aa0e: f7ff be83 b.w 800a718 + 800aa12: f990 0000 ldrsb.w r0, [r0] + 800aa16: 7899 ldrb r1, [r3, #2] + 800aa18: 2205 movs r2, #5 + 800aa1a: b971 cbnz r1, 800aa3a + 800aa1c: f000 fc13 bl 800b246 + 800aa20: 3800 subs r0, #0 + 800aa22: bf18 it ne + 800aa24: 2001 movne r0, #1 + 800aa26: bd08 pop {r3, pc} + 800aa28: 2205 movs r2, #5 + 800aa2a: f993 0000 ldrsb.w r0, [r3] + 800aa2e: 2100 movs r1, #0 + 800aa30: e7f4 b.n 800aa1c + 800aa32: f990 0000 ldrsb.w r0, [r0] + 800aa36: 7859 ldrb r1, [r3, #1] + 800aa38: e7ee b.n 800aa18 + 800aa3a: 2102 movs r1, #2 + 800aa3c: e7ee b.n 800aa1c + 800aa3e: 2207 movs r2, #7 + 800aa40: e7f3 b.n 800aa2a 800aa42: 2000 movs r0, #0 - 800aa44: bc10 pop {r4} - 800aa46: 4770 bx lr - -0800aa48 : - 800aa48: b430 push {r4, r5} - 800aa4a: 4605 mov r5, r0 - 800aa4c: 4608 mov r0, r1 - 800aa4e: 4611 mov r1, r2 - 800aa50: 461a mov r2, r3 - 800aa52: e9dd 3402 ldrd r3, r4, [sp, #8] - 800aa56: b91d cbnz r5, 800aa60 - 800aa58: 9402 str r4, [sp, #8] - 800aa5a: bc30 pop {r4, r5} - 800aa5c: f000 bb2e b.w 800b0bc - 800aa60: 2000 movs r0, #0 - 800aa62: bc30 pop {r4, r5} - 800aa64: 4770 bx lr - -0800aa66 : - 800aa66: b910 cbnz r0, 800aa6e - 800aa68: 4608 mov r0, r1 - 800aa6a: f000 bbdf b.w 800b22c - 800aa6e: 2000 movs r0, #0 - 800aa70: 4770 bx lr - -0800aa72 : - 800aa72: b910 cbnz r0, 800aa7a - 800aa74: 4608 mov r0, r1 - 800aa76: f000 bd6f b.w 800b558 - 800aa7a: 2000 movs r0, #0 - 800aa7c: 4770 bx lr - -0800aa7e : - 800aa7e: b910 cbnz r0, 800aa86 - 800aa80: 4608 mov r0, r1 - 800aa82: f000 bbee b.w 800b262 - 800aa86: 2000 movs r0, #0 - 800aa88: 4770 bx lr - -0800aa8a : - 800aa8a: b910 cbnz r0, 800aa92 - 800aa8c: 4608 mov r0, r1 - 800aa8e: f000 bbeb b.w 800b268 - 800aa92: 2000 movs r0, #0 - 800aa94: 4770 bx lr - -0800aa96 : - 800aa96: 4603 mov r3, r0 - 800aa98: 4608 mov r0, r1 - 800aa9a: 4611 mov r1, r2 - 800aa9c: b90b cbnz r3, 800aaa2 - 800aa9e: f000 bc05 b.w 800b2ac - 800aaa2: 2000 movs r0, #0 - 800aaa4: 4770 bx lr - -0800aaa6 : - 800aaa6: b410 push {r4} - 800aaa8: 4604 mov r4, r0 - 800aaaa: 4608 mov r0, r1 - 800aaac: 4611 mov r1, r2 - 800aaae: 461a mov r2, r3 - 800aab0: 9b01 ldr r3, [sp, #4] - 800aab2: b914 cbnz r4, 800aaba - 800aab4: bc10 pop {r4} - 800aab6: f000 bbfb b.w 800b2b0 - 800aaba: 2009 movs r0, #9 - 800aabc: bc10 pop {r4} - 800aabe: 4770 bx lr - -0800aac0 : - 800aac0: b410 push {r4} - 800aac2: 4604 mov r4, r0 - 800aac4: 4608 mov r0, r1 - 800aac6: 4611 mov r1, r2 - 800aac8: 461a mov r2, r3 - 800aaca: b914 cbnz r4, 800aad2 - 800aacc: bc10 pop {r4} - 800aace: f000 bd63 b.w 800b598 - 800aad2: b2c8 uxtb r0, r1 - 800aad4: bc10 pop {r4} - 800aad6: 4770 bx lr - -0800aad8 : - 800aad8: 4800 ldr r0, [pc, #0] ; (800aadc ) - 800aada: 4770 bx lr - 800aadc: 02010001 .word 0x02010001 - -0800aae0 : - 800aae0: 4b06 ldr r3, [pc, #24] ; (800aafc ) - 800aae2: b510 push {r4, lr} - 800aae4: 6a1b ldr r3, [r3, #32] - 800aae6: 4604 mov r4, r0 - 800aae8: 4798 blx r3 - 800aaea: b130 cbz r0, 800aafa - 800aaec: 4804 ldr r0, [pc, #16] ; (800ab00 ) - 800aaee: 4b05 ldr r3, [pc, #20] ; (800ab04 ) - 800aaf0: 4420 add r0, r4 - 800aaf2: 4298 cmp r0, r3 - 800aaf4: bf8c ite hi - 800aaf6: 2000 movhi r0, #0 - 800aaf8: 2001 movls r0, #1 - 800aafa: bd10 pop {r4, pc} - 800aafc: 080101cc .word 0x080101cc - 800ab00: c920c240 .word 0xc920c240 - 800ab04: 002ab980 .word 0x002ab980 - -0800ab08 : - 800ab08: b5f0 push {r4, r5, r6, r7, lr} - 800ab0a: 4b11 ldr r3, [pc, #68] ; (800ab50 ) - 800ab0c: b085 sub sp, #20 - 800ab0e: 460c mov r4, r1 - 800ab10: 4910 ldr r1, [pc, #64] ; (800ab54 ) - 800ab12: 561f ldrsb r7, [r3, r0] - 800ab14: 4605 mov r5, r0 - 800ab16: f001 f849 bl 800bbac - 800ab1a: 4b0f ldr r3, [pc, #60] ; (800ab58 ) - 800ab1c: b2e4 uxtb r4, r4 - 800ab1e: 6a5e ldr r6, [r3, #36] ; 0x24 - 800ab20: 2d07 cmp r5, #7 - 800ab22: f04f 0301 mov.w r3, #1 - 800ab26: e9cd 4302 strd r4, r3, [sp, #8] - 800ab2a: 4601 mov r1, r0 - 800ab2c: d10a bne.n 800ab44 - 800ab2e: 2205 movs r2, #5 - 800ab30: 2300 movs r3, #0 - 800ab32: e9cd 2300 strd r2, r3, [sp] - 800ab36: f44f 727a mov.w r2, #1000 ; 0x3e8 - 800ab3a: 437a muls r2, r7 - 800ab3c: 4618 mov r0, r3 - 800ab3e: 47b0 blx r6 - 800ab40: b005 add sp, #20 - 800ab42: bdf0 pop {r4, r5, r6, r7, pc} - 800ab44: 2208 movs r2, #8 - 800ab46: 2000 movs r0, #0 - 800ab48: e9cd 2000 strd r2, r0, [sp] - 800ab4c: 463a mov r2, r7 - 800ab4e: e7f5 b.n 800ab3c - 800ab50: 0800fb1b .word 0x0800fb1b - 800ab54: 0800faf4 .word 0x0800faf4 - 800ab58: 080101cc .word 0x080101cc - -0800ab5c : - 800ab5c: b51f push {r0, r1, r2, r3, r4, lr} - 800ab5e: 2300 movs r3, #0 - 800ab60: 9300 str r3, [sp, #0] - 800ab62: 7803 ldrb r3, [r0, #0] - 800ab64: 3b01 subs r3, #1 - 800ab66: 2b37 cmp r3, #55 ; 0x37 - 800ab68: d821 bhi.n 800abae - 800ab6a: e8df f003 tbb [pc, r3] - 800ab6e: 241c .short 0x241c - 800ab70: 1e202020 .word 0x1e202020 - 800ab74: 20202020 .word 0x20202020 - 800ab78: 4e454341 .word 0x4e454341 - 800ab7c: 5b585520 .word 0x5b585520 - 800ab80: 2064615e .word 0x2064615e - 800ab84: 736e1e6c .word 0x736e1e6c - 800ab88: 20207a78 .word 0x20207a78 - 800ab8c: 2026817d .word 0x2026817d - 800ab90: 20202020 .word 0x20202020 - 800ab94: 20202020 .word 0x20202020 - 800ab98: 20202020 .word 0x20202020 - 800ab9c: 208a8583 .word 0x208a8583 - 800aba0: 208a8320 .word 0x208a8320 - 800aba4: 908c .short 0x908c - 800aba6: 78c3 ldrb r3, [r0, #3] - 800aba8: b10b cbz r3, 800abae - 800abaa: 2302 movs r3, #2 - 800abac: 9300 str r3, [sp, #0] - 800abae: 9800 ldr r0, [sp, #0] - 800abb0: b005 add sp, #20 - 800abb2: f85d fb04 ldr.w pc, [sp], #4 - 800abb6: 7883 ldrb r3, [r0, #2] - 800abb8: e7f6 b.n 800aba8 - 800abba: 7843 ldrb r3, [r0, #1] - 800abbc: f88d 3004 strb.w r3, [sp, #4] - 800abc0: 2305 movs r3, #5 - 800abc2: f88d 3005 strb.w r3, [sp, #5] - 800abc6: 7883 ldrb r3, [r0, #2] - 800abc8: 3b00 subs r3, #0 - 800abca: bf18 it ne - 800abcc: 2301 movne r3, #1 - 800abce: 005b lsls r3, r3, #1 - 800abd0: f88d 3006 strb.w r3, [sp, #6] - 800abd4: 2310 movs r3, #16 - 800abd6: f88d 3007 strb.w r3, [sp, #7] - 800abda: 4b30 ldr r3, [pc, #192] ; (800ac9c ) - 800abdc: 681b ldr r3, [r3, #0] - 800abde: a801 add r0, sp, #4 - 800abe0: f503 7258 add.w r2, r3, #864 ; 0x360 - 800abe4: e9cd 2302 strd r2, r3, [sp, #8] - 800abe8: f000 ffc0 bl 800bb6c - 800abec: 9000 str r0, [sp, #0] - 800abee: e7de b.n 800abae - 800abf0: 2340 movs r3, #64 ; 0x40 - 800abf2: e7db b.n 800abac - 800abf4: 2320 movs r3, #32 - 800abf6: e7d9 b.n 800abac - 800abf8: 7882 ldrb r2, [r0, #2] - 800abfa: f990 3001 ldrsb.w r3, [r0, #1] - 800abfe: b912 cbnz r2, 800ac06 - 800ac00: 4a27 ldr r2, [pc, #156] ; (800aca0 ) - 800ac02: 5cd3 ldrb r3, [r2, r3] - 800ac04: e7d2 b.n 800abac - 800ac06: 4a27 ldr r2, [pc, #156] ; (800aca4 ) - 800ac08: e7fb b.n 800ac02 - 800ac0a: 7882 ldrb r2, [r0, #2] - 800ac0c: f990 3001 ldrsb.w r3, [r0, #1] - 800ac10: 2a00 cmp r2, #0 - 800ac12: d1f8 bne.n 800ac06 - 800ac14: 4a24 ldr r2, [pc, #144] ; (800aca8 ) - 800ac16: e7f4 b.n 800ac02 - 800ac18: f640 33b8 movw r3, #3000 ; 0xbb8 - 800ac1c: e7c6 b.n 800abac - 800ac1e: f44f 737a mov.w r3, #1000 ; 0x3e8 - 800ac22: e7c3 b.n 800abac - 800ac24: f44f 63fa mov.w r3, #2000 ; 0x7d0 - 800ac28: e7c0 b.n 800abac - 800ac2a: f241 3388 movw r3, #5000 ; 0x1388 - 800ac2e: e7bd b.n 800abac - 800ac30: f241 7370 movw r3, #6000 ; 0x1770 - 800ac34: e7ba b.n 800abac - 800ac36: 481d ldr r0, [pc, #116] ; (800acac ) - 800ac38: f44f 717a mov.w r1, #1000 ; 0x3e8 - 800ac3c: f001 fe2e bl 800c89c - 800ac40: f500 60fa add.w r0, r0, #2000 ; 0x7d0 - 800ac44: e7d2 b.n 800abec - 800ac46: 4b1a ldr r3, [pc, #104] ; (800acb0 ) - 800ac48: e7b0 b.n 800abac - 800ac4a: 4b14 ldr r3, [pc, #80] ; (800ac9c ) - 800ac4c: 681b ldr r3, [r3, #0] - 800ac4e: f503 7358 add.w r3, r3, #864 ; 0x360 - 800ac52: e7ab b.n 800abac - 800ac54: 4b11 ldr r3, [pc, #68] ; (800ac9c ) - 800ac56: 681b ldr r3, [r3, #0] - 800ac58: f503 735b add.w r3, r3, #876 ; 0x36c - 800ac5c: e7a6 b.n 800abac - 800ac5e: 2310 movs r3, #16 - 800ac60: e7a4 b.n 800abac - 800ac62: 4b0e ldr r3, [pc, #56] ; (800ac9c ) - 800ac64: 681b ldr r3, [r3, #0] - 800ac66: e7a1 b.n 800abac - 800ac68: f04f 4383 mov.w r3, #1098907648 ; 0x41800000 - 800ac6c: 9300 str r3, [sp, #0] - 800ac6e: e79e b.n 800abae - 800ac70: 4b10 ldr r3, [pc, #64] ; (800acb4 ) - 800ac72: e7fb b.n 800ac6c - 800ac74: 4b10 ldr r3, [pc, #64] ; (800acb8 ) - 800ac76: e799 b.n 800abac - 800ac78: f240 1311 movw r3, #273 ; 0x111 - 800ac7c: f8ad 3000 strh.w r3, [sp] - 800ac80: e795 b.n 800abae - 800ac82: 2303 movs r3, #3 - 800ac84: e792 b.n 800abac - 800ac86: f990 3001 ldrsb.w r3, [r0, #1] - 800ac8a: 4a0c ldr r2, [pc, #48] ; (800acbc ) - 800ac8c: e7b9 b.n 800ac02 - 800ac8e: 490c ldr r1, [pc, #48] ; (800acc0 ) - 800ac90: f990 0001 ldrsb.w r0, [r0, #1] - 800ac94: f000 ff8a bl 800bbac - 800ac98: e7a8 b.n 800abec - 800ac9a: bf00 nop - 800ac9c: 200019c4 .word 0x200019c4 - 800aca0: 0800fba3 .word 0x0800fba3 - 800aca4: 0800fbab .word 0x0800fbab - 800aca8: 0800fbb3 .word 0x0800fbb3 - 800acac: fffffc18 .word 0xfffffc18 - 800acb0: 3706ea00 .word 0x3706ea00 - 800acb4: 4009999a .word 0x4009999a - 800acb8: 3709f740 .word 0x3709f740 - 800acbc: 0800fb1b .word 0x0800fb1b - 800acc0: 0800faf4 .word 0x0800faf4 - -0800acc4 : - 800acc4: b537 push {r0, r1, r2, r4, r5, lr} - 800acc6: 4b0b ldr r3, [pc, #44] ; (800acf4 ) - 800acc8: 7802 ldrb r2, [r0, #0] - 800acca: 681b ldr r3, [r3, #0] - 800accc: 210c movs r1, #12 - 800acce: fb01 3302 mla r3, r1, r2, r3 - 800acd2: 7a5b ldrb r3, [r3, #9] - 800acd4: eb03 0443 add.w r4, r3, r3, lsl #1 - 800acd8: 4b07 ldr r3, [pc, #28] ; (800acf8 ) - 800acda: 681d ldr r5, [r3, #0] - 800acdc: 6903 ldr r3, [r0, #16] - 800acde: 9300 str r3, [sp, #0] - 800ace0: 68c3 ldr r3, [r0, #12] - 800ace2: 7842 ldrb r2, [r0, #1] - 800ace4: 6881 ldr r1, [r0, #8] - 800ace6: eb05 00c4 add.w r0, r5, r4, lsl #3 - 800acea: f000 fcdf bl 800b6ac - 800acee: b003 add sp, #12 - 800acf0: bd30 pop {r4, r5, pc} - 800acf2: bf00 nop - 800acf4: 200019c4 .word 0x200019c4 - 800acf8: 200019c0 .word 0x200019c0 - -0800acfc : - 800acfc: b570 push {r4, r5, r6, lr} - 800acfe: b086 sub sp, #24 - 800ad00: 7b02 ldrb r2, [r0, #12] - 800ad02: 2364 movs r3, #100 ; 0x64 - 800ad04: f8ad 3000 strh.w r3, [sp] - 800ad08: 2a01 cmp r2, #1 - 800ad0a: f04f 0300 mov.w r3, #0 - 800ad0e: e9cd 3301 strd r3, r3, [sp, #4] - 800ad12: e9cd 3303 strd r3, r3, [sp, #12] - 800ad16: f88d 3002 strb.w r3, [sp, #2] - 800ad1a: f88d 3014 strb.w r3, [sp, #20] - 800ad1e: d030 beq.n 800ad82 - 800ad20: 2a02 cmp r2, #2 - 800ad22: d039 beq.n 800ad98 - 800ad24: bb5a cbnz r2, 800ad7e - 800ad26: 6803 ldr r3, [r0, #0] - 800ad28: b34b cbz r3, 800ad7e - 800ad2a: 6843 ldr r3, [r0, #4] - 800ad2c: b33b cbz r3, 800ad7e - 800ad2e: 4d1f ldr r5, [pc, #124] ; (800adac ) - 800ad30: 6880 ldr r0, [r0, #8] - 800ad32: 602b str r3, [r5, #0] - 800ad34: 4b1e ldr r3, [pc, #120] ; (800adb0 ) - 800ad36: 2218 movs r2, #24 - 800ad38: 4669 mov r1, sp - 800ad3a: 6018 str r0, [r3, #0] - 800ad3c: f001 fdca bl 800c8d4 - 800ad40: 4b1c ldr r3, [pc, #112] ; (800adb4 ) - 800ad42: 682c ldr r4, [r5, #0] - 800ad44: e893 0007 ldmia.w r3, {r0, r1, r2} - 800ad48: 330c adds r3, #12 - 800ad4a: e884 0007 stmia.w r4, {r0, r1, r2} - 800ad4e: e893 0007 ldmia.w r3, {r0, r1, r2} - 800ad52: f104 060c add.w r6, r4, #12 - 800ad56: 2303 movs r3, #3 - 800ad58: e886 0007 stmia.w r6, {r0, r1, r2} - 800ad5c: f8a4 336c strh.w r3, [r4, #876] ; 0x36c - 800ad60: 2201 movs r2, #1 - 800ad62: f504 715b add.w r1, r4, #876 ; 0x36c - 800ad66: f504 7058 add.w r0, r4, #864 ; 0x360 - 800ad6a: f000 fc90 bl 800b68e - 800ad6e: 682b ldr r3, [r5, #0] - 800ad70: f64f 72b0 movw r2, #65456 ; 0xffb0 - 800ad74: f8a3 2378 strh.w r2, [r3, #888] ; 0x378 - 800ad78: 2205 movs r2, #5 - 800ad7a: f8c3 237c str.w r2, [r3, #892] ; 0x37c - 800ad7e: b006 add sp, #24 - 800ad80: bd70 pop {r4, r5, r6, pc} - 800ad82: 490a ldr r1, [pc, #40] ; (800adac ) - 800ad84: 6808 ldr r0, [r1, #0] - 800ad86: 6043 str r3, [r0, #4] - 800ad88: 6103 str r3, [r0, #16] - 800ad8a: f500 715b add.w r1, r0, #876 ; 0x36c - 800ad8e: f500 7058 add.w r0, r0, #864 ; 0x360 - 800ad92: f000 fc7c bl 800b68e - 800ad96: e7f2 b.n 800ad7e - 800ad98: 4b04 ldr r3, [pc, #16] ; (800adac ) - 800ad9a: 681b ldr r3, [r3, #0] - 800ad9c: f8b3 2360 ldrh.w r2, [r3, #864] ; 0x360 - 800ada0: f8b3 136c ldrh.w r1, [r3, #876] ; 0x36c - 800ada4: 430a orrs r2, r1 - 800ada6: f8a3 2360 strh.w r2, [r3, #864] ; 0x360 - 800adaa: e7e8 b.n 800ad7e - 800adac: 200019c4 .word 0x200019c4 - 800adb0: 200019c0 .word 0x200019c0 - 800adb4: 0800f4c8 .word 0x0800f4c8 - -0800adb8 : - 800adb8: b508 push {r3, lr} - 800adba: 4603 mov r3, r0 - 800adbc: 290a cmp r1, #10 - 800adbe: d824 bhi.n 800ae0a - 800adc0: e8df f001 tbb [pc, r1] - 800adc4: 23232306 .word 0x23232306 - 800adc8: 1b160b23 .word 0x1b160b23 - 800adcc: 2123 .short 0x2123 - 800adce: 21 .byte 0x21 - 800adcf: 00 .byte 0x00 - 800add0: e8bd 4008 ldmia.w sp!, {r3, lr} - 800add4: 6800 ldr r0, [r0, #0] - 800add6: f7ff be83 b.w 800aae0 - 800adda: f990 0000 ldrsb.w r0, [r0] - 800adde: 7899 ldrb r1, [r3, #2] - 800ade0: 2205 movs r2, #5 - 800ade2: b971 cbnz r1, 800ae02 - 800ade4: f000 fc13 bl 800b60e - 800ade8: 3800 subs r0, #0 - 800adea: bf18 it ne - 800adec: 2001 movne r0, #1 - 800adee: bd08 pop {r3, pc} - 800adf0: 2205 movs r2, #5 - 800adf2: f993 0000 ldrsb.w r0, [r3] - 800adf6: 2100 movs r1, #0 - 800adf8: e7f4 b.n 800ade4 - 800adfa: f990 0000 ldrsb.w r0, [r0] - 800adfe: 7859 ldrb r1, [r3, #1] - 800ae00: e7ee b.n 800ade0 - 800ae02: 2102 movs r1, #2 - 800ae04: e7ee b.n 800ade4 - 800ae06: 2207 movs r2, #7 - 800ae08: e7f3 b.n 800adf2 - 800ae0a: 2000 movs r0, #0 - 800ae0c: e7ef b.n 800adee + 800aa44: e7ef b.n 800aa26 ... -0800ae10 : - 800ae10: b510 push {r4, lr} - 800ae12: 7904 ldrb r4, [r0, #4] - 800ae14: b11c cbz r4, 800ae1e - 800ae16: 2c01 cmp r4, #1 - 800ae18: d00b beq.n 800ae32 - 800ae1a: 2000 movs r0, #0 - 800ae1c: bd10 pop {r4, pc} - 800ae1e: 4b0a ldr r3, [pc, #40] ; (800ae48 ) - 800ae20: 6801 ldr r1, [r0, #0] - 800ae22: 681b ldr r3, [r3, #0] - 800ae24: 2201 movs r2, #1 - 800ae26: f503 7058 add.w r0, r3, #864 ; 0x360 - 800ae2a: f000 fc30 bl 800b68e - 800ae2e: 2001 movs r0, #1 - 800ae30: e7f4 b.n 800ae1c - 800ae32: 4b05 ldr r3, [pc, #20] ; (800ae48 ) - 800ae34: 6801 ldr r1, [r0, #0] - 800ae36: 681b ldr r3, [r3, #0] - 800ae38: 4622 mov r2, r4 - 800ae3a: f503 705b add.w r0, r3, #876 ; 0x36c - 800ae3e: f000 fc26 bl 800b68e - 800ae42: 4620 mov r0, r4 - 800ae44: e7ea b.n 800ae1c - 800ae46: bf00 nop - 800ae48: 200019c4 .word 0x200019c4 +0800aa48 : + 800aa48: b510 push {r4, lr} + 800aa4a: 7904 ldrb r4, [r0, #4] + 800aa4c: b11c cbz r4, 800aa56 + 800aa4e: 2c01 cmp r4, #1 + 800aa50: d00b beq.n 800aa6a + 800aa52: 2000 movs r0, #0 + 800aa54: bd10 pop {r4, pc} + 800aa56: 4b0a ldr r3, [pc, #40] ; (800aa80 ) + 800aa58: 6801 ldr r1, [r0, #0] + 800aa5a: 681b ldr r3, [r3, #0] + 800aa5c: 2201 movs r2, #1 + 800aa5e: f503 7058 add.w r0, r3, #864 ; 0x360 + 800aa62: f000 fc30 bl 800b2c6 + 800aa66: 2001 movs r0, #1 + 800aa68: e7f4 b.n 800aa54 + 800aa6a: 4b05 ldr r3, [pc, #20] ; (800aa80 ) + 800aa6c: 6801 ldr r1, [r0, #0] + 800aa6e: 681b ldr r3, [r3, #0] + 800aa70: 4622 mov r2, r4 + 800aa72: f503 705b add.w r0, r3, #876 ; 0x36c + 800aa76: f000 fc26 bl 800b2c6 + 800aa7a: 4620 mov r0, r4 + 800aa7c: e7ea b.n 800aa54 + 800aa7e: bf00 nop + 800aa80: 200019c4 .word 0x200019c4 -0800ae4c : - 800ae4c: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} - 800ae4e: 2805 cmp r0, #5 - 800ae50: 4d14 ldr r5, [pc, #80] ; (800aea4 ) - 800ae52: 461c mov r4, r3 - 800ae54: bfa8 it ge - 800ae56: 2005 movge r0, #5 - 800ae58: 7058 strb r0, [r3, #1] - 800ae5a: 460e mov r6, r1 - 800ae5c: 4629 mov r1, r5 - 800ae5e: 4617 mov r7, r2 - 800ae60: f000 fea4 bl 800bbac - 800ae64: f994 3001 ldrsb.w r3, [r4, #1] - 800ae68: 70a0 strb r0, [r4, #2] - 800ae6a: 2b07 cmp r3, #7 - 800ae6c: d113 bne.n 800ae96 - 800ae6e: 2032 movs r0, #50 ; 0x32 - 800ae70: f000 fd9c bl 800b9ac - 800ae74: 4b0c ldr r3, [pc, #48] ; (800aea8 ) - 800ae76: 6ddb ldr r3, [r3, #92] ; 0x5c - 800ae78: 4605 mov r5, r0 - 800ae7a: 4798 blx r3 - 800ae7c: f104 020c add.w r2, r4, #12 - 800ae80: 3408 adds r4, #8 - 800ae82: 4603 mov r3, r0 - 800ae84: 9201 str r2, [sp, #4] - 800ae86: 9400 str r4, [sp, #0] - 800ae88: 463a mov r2, r7 - 800ae8a: 4631 mov r1, r6 - 800ae8c: 4628 mov r0, r5 - 800ae8e: f000 fd92 bl 800b9b6 - 800ae92: b003 add sp, #12 - 800ae94: bdf0 pop {r4, r5, r6, r7, pc} - 800ae96: 4a05 ldr r2, [pc, #20] ; (800aeac ) - 800ae98: f855 1023 ldr.w r1, [r5, r3, lsl #2] - 800ae9c: 5cd0 ldrb r0, [r2, r3] - 800ae9e: f000 fd7d bl 800b99c - 800aea2: e7e7 b.n 800ae74 - 800aea4: 0800faf4 .word 0x0800faf4 - 800aea8: 080101cc .word 0x080101cc - 800aeac: 0800fb1b .word 0x0800fb1b +0800aa84 : + 800aa84: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} + 800aa86: 2805 cmp r0, #5 + 800aa88: 4d14 ldr r5, [pc, #80] ; (800aadc ) + 800aa8a: 461c mov r4, r3 + 800aa8c: bfa8 it ge + 800aa8e: 2005 movge r0, #5 + 800aa90: 7058 strb r0, [r3, #1] + 800aa92: 460e mov r6, r1 + 800aa94: 4629 mov r1, r5 + 800aa96: 4617 mov r7, r2 + 800aa98: f000 fea4 bl 800b7e4 + 800aa9c: f994 3001 ldrsb.w r3, [r4, #1] + 800aaa0: 70a0 strb r0, [r4, #2] + 800aaa2: 2b07 cmp r3, #7 + 800aaa4: d113 bne.n 800aace + 800aaa6: 2032 movs r0, #50 ; 0x32 + 800aaa8: f000 fd9c bl 800b5e4 + 800aaac: 4b0c ldr r3, [pc, #48] ; (800aae0 ) + 800aaae: 6ddb ldr r3, [r3, #92] ; 0x5c + 800aab0: 4605 mov r5, r0 + 800aab2: 4798 blx r3 + 800aab4: f104 020c add.w r2, r4, #12 + 800aab8: 3408 adds r4, #8 + 800aaba: 4603 mov r3, r0 + 800aabc: 9201 str r2, [sp, #4] + 800aabe: 9400 str r4, [sp, #0] + 800aac0: 463a mov r2, r7 + 800aac2: 4631 mov r1, r6 + 800aac4: 4628 mov r0, r5 + 800aac6: f000 fd92 bl 800b5ee + 800aaca: b003 add sp, #12 + 800aacc: bdf0 pop {r4, r5, r6, r7, pc} + 800aace: 4a05 ldr r2, [pc, #20] ; (800aae4 ) + 800aad0: f855 1023 ldr.w r1, [r5, r3, lsl #2] + 800aad4: 5cd0 ldrb r0, [r2, r3] + 800aad6: f000 fd7d bl 800b5d4 + 800aada: e7e7 b.n 800aaac + 800aadc: 0800f330 .word 0x0800f330 + 800aae0: 0800fa0c .word 0x0800fa0c + 800aae4: 0800f357 .word 0x0800f357 -0800aeb0 : - 800aeb0: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800aeb4: 4f34 ldr r7, [pc, #208] ; (800af88 ) - 800aeb6: f990 6001 ldrsb.w r6, [r0, #1] - 800aeba: 687b ldr r3, [r7, #4] - 800aebc: f8d0 9004 ldr.w r9, [r0, #4] - 800aec0: b08b sub sp, #44 ; 0x2c - 800aec2: 4604 mov r4, r0 - 800aec4: 4688 mov r8, r1 - 800aec6: 4798 blx r3 - 800aec8: 4605 mov r5, r0 - 800aeca: 2800 cmp r0, #0 - 800aecc: d159 bne.n 800af82 - 800aece: 7ce3 ldrb r3, [r4, #19] - 800aed0: b973 cbnz r3, 800aef0 - 800aed2: 4a2e ldr r2, [pc, #184] ; (800af8c ) - 800aed4: 7823 ldrb r3, [r4, #0] - 800aed6: 6812 ldr r2, [r2, #0] - 800aed8: eb03 0343 add.w r3, r3, r3, lsl #1 - 800aedc: 0099 lsls r1, r3, #2 - 800aede: eb02 0383 add.w r3, r2, r3, lsl #2 - 800aee2: f8d3 9004 ldr.w r9, [r3, #4] - 800aee6: f1b9 0f00 cmp.w r9, #0 - 800aeea: d101 bne.n 800aef0 - 800aeec: f852 9001 ldr.w r9, [r2, r1] - 800aef0: 4b27 ldr r3, [pc, #156] ; (800af90 ) - 800aef2: 4648 mov r0, r9 - 800aef4: f913 b006 ldrsb.w fp, [r3, r6] - 800aef8: 68fb ldr r3, [r7, #12] - 800aefa: 4798 blx r3 - 800aefc: 7ca3 ldrb r3, [r4, #18] - 800aefe: f8d7 a018 ldr.w sl, [r7, #24] - 800af02: 8922 ldrh r2, [r4, #8] - 800af04: 9309 str r3, [sp, #36] ; 0x24 - 800af06: 2e07 cmp r6, #7 - 800af08: d128 bne.n 800af5c - 800af0a: 2300 movs r3, #0 - 800af0c: 2101 movs r1, #1 - 800af0e: e9cd 2302 strd r2, r3, [sp, #8] - 800af12: 4a20 ldr r2, [pc, #128] ; (800af94 ) - 800af14: 9306 str r3, [sp, #24] - 800af16: e9cd 3104 strd r3, r1, [sp, #16] - 800af1a: e9cd 3307 strd r3, r3, [sp, #28] - 800af1e: 2105 movs r1, #5 - 800af20: e9cd 2100 strd r2, r1, [sp] - 800af24: f44f 727a mov.w r2, #1000 ; 0x3e8 - 800af28: fb02 f20b mul.w r2, r2, fp - 800af2c: f24c 3150 movw r1, #50000 ; 0xc350 - 800af30: 4618 mov r0, r3 - 800af32: 47d0 blx sl - 800af34: 7c63 ldrb r3, [r4, #17] - 800af36: b313 cbz r3, 800af7e - 800af38: 4b17 ldr r3, [pc, #92] ; (800af98 ) - 800af3a: 5d99 ldrb r1, [r3, r6] - 800af3c: 6d7b ldr r3, [r7, #84] ; 0x54 - 800af3e: 310d adds r1, #13 - 800af40: b2c9 uxtb r1, r1 - 800af42: 4628 mov r0, r5 - 800af44: 4798 blx r3 - 800af46: 7ce0 ldrb r0, [r4, #19] - 800af48: 4632 mov r2, r6 - 800af4a: 4649 mov r1, r9 - 800af4c: f000 fe40 bl 800bbd0 - 800af50: f888 6000 strb.w r6, [r8] - 800af54: 2001 movs r0, #1 - 800af56: b00b add sp, #44 ; 0x2c - 800af58: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800af5c: 2100 movs r1, #0 - 800af5e: 2501 movs r5, #1 - 800af60: 2308 movs r3, #8 - 800af62: e9cd 1300 strd r1, r3, [sp] - 800af66: e9cd 1507 strd r1, r5, [sp, #28] - 800af6a: e9cd 1105 strd r1, r1, [sp, #20] - 800af6e: e9cd 1103 strd r1, r1, [sp, #12] - 800af72: 9202 str r2, [sp, #8] - 800af74: 78a1 ldrb r1, [r4, #2] - 800af76: 462b mov r3, r5 - 800af78: 465a mov r2, fp - 800af7a: 4628 mov r0, r5 - 800af7c: e7d9 b.n 800af32 - 800af7e: 4b07 ldr r3, [pc, #28] ; (800af9c ) - 800af80: e7db b.n 800af3a - 800af82: 2000 movs r0, #0 - 800af84: e7e7 b.n 800af56 - 800af86: bf00 nop - 800af88: 080101cc .word 0x080101cc - 800af8c: 200019c4 .word 0x200019c4 - 800af90: 0800fb1b .word 0x0800fb1b - 800af94: 00014585 .word 0x00014585 - 800af98: 0800fbb3 .word 0x0800fbb3 - 800af9c: 0800fba3 .word 0x0800fba3 +0800aae8 : + 800aae8: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800aaec: 4f34 ldr r7, [pc, #208] ; (800abc0 ) + 800aaee: f990 6001 ldrsb.w r6, [r0, #1] + 800aaf2: 687b ldr r3, [r7, #4] + 800aaf4: f8d0 9004 ldr.w r9, [r0, #4] + 800aaf8: b08b sub sp, #44 ; 0x2c + 800aafa: 4604 mov r4, r0 + 800aafc: 4688 mov r8, r1 + 800aafe: 4798 blx r3 + 800ab00: 4605 mov r5, r0 + 800ab02: 2800 cmp r0, #0 + 800ab04: d159 bne.n 800abba + 800ab06: 7ce3 ldrb r3, [r4, #19] + 800ab08: b973 cbnz r3, 800ab28 + 800ab0a: 4a2e ldr r2, [pc, #184] ; (800abc4 ) + 800ab0c: 7823 ldrb r3, [r4, #0] + 800ab0e: 6812 ldr r2, [r2, #0] + 800ab10: eb03 0343 add.w r3, r3, r3, lsl #1 + 800ab14: 0099 lsls r1, r3, #2 + 800ab16: eb02 0383 add.w r3, r2, r3, lsl #2 + 800ab1a: f8d3 9004 ldr.w r9, [r3, #4] + 800ab1e: f1b9 0f00 cmp.w r9, #0 + 800ab22: d101 bne.n 800ab28 + 800ab24: f852 9001 ldr.w r9, [r2, r1] + 800ab28: 4b27 ldr r3, [pc, #156] ; (800abc8 ) + 800ab2a: 4648 mov r0, r9 + 800ab2c: f913 b006 ldrsb.w fp, [r3, r6] + 800ab30: 68fb ldr r3, [r7, #12] + 800ab32: 4798 blx r3 + 800ab34: 7ca3 ldrb r3, [r4, #18] + 800ab36: f8d7 a018 ldr.w sl, [r7, #24] + 800ab3a: 8922 ldrh r2, [r4, #8] + 800ab3c: 9309 str r3, [sp, #36] ; 0x24 + 800ab3e: 2e07 cmp r6, #7 + 800ab40: d128 bne.n 800ab94 + 800ab42: 2300 movs r3, #0 + 800ab44: 2101 movs r1, #1 + 800ab46: e9cd 2302 strd r2, r3, [sp, #8] + 800ab4a: 4a20 ldr r2, [pc, #128] ; (800abcc ) + 800ab4c: 9306 str r3, [sp, #24] + 800ab4e: e9cd 3104 strd r3, r1, [sp, #16] + 800ab52: e9cd 3307 strd r3, r3, [sp, #28] + 800ab56: 2105 movs r1, #5 + 800ab58: e9cd 2100 strd r2, r1, [sp] + 800ab5c: f44f 727a mov.w r2, #1000 ; 0x3e8 + 800ab60: fb02 f20b mul.w r2, r2, fp + 800ab64: f24c 3150 movw r1, #50000 ; 0xc350 + 800ab68: 4618 mov r0, r3 + 800ab6a: 47d0 blx sl + 800ab6c: 7c63 ldrb r3, [r4, #17] + 800ab6e: b313 cbz r3, 800abb6 + 800ab70: 4b17 ldr r3, [pc, #92] ; (800abd0 ) + 800ab72: 5d99 ldrb r1, [r3, r6] + 800ab74: 6d7b ldr r3, [r7, #84] ; 0x54 + 800ab76: 310d adds r1, #13 + 800ab78: b2c9 uxtb r1, r1 + 800ab7a: 4628 mov r0, r5 + 800ab7c: 4798 blx r3 + 800ab7e: 7ce0 ldrb r0, [r4, #19] + 800ab80: 4632 mov r2, r6 + 800ab82: 4649 mov r1, r9 + 800ab84: f000 fe40 bl 800b808 + 800ab88: f888 6000 strb.w r6, [r8] + 800ab8c: 2001 movs r0, #1 + 800ab8e: b00b add sp, #44 ; 0x2c + 800ab90: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800ab94: 2100 movs r1, #0 + 800ab96: 2501 movs r5, #1 + 800ab98: 2308 movs r3, #8 + 800ab9a: e9cd 1300 strd r1, r3, [sp] + 800ab9e: e9cd 1507 strd r1, r5, [sp, #28] + 800aba2: e9cd 1105 strd r1, r1, [sp, #20] + 800aba6: e9cd 1103 strd r1, r1, [sp, #12] + 800abaa: 9202 str r2, [sp, #8] + 800abac: 78a1 ldrb r1, [r4, #2] + 800abae: 462b mov r3, r5 + 800abb0: 465a mov r2, fp + 800abb2: 4628 mov r0, r5 + 800abb4: e7d9 b.n 800ab6a + 800abb6: 4b07 ldr r3, [pc, #28] ; (800abd4 ) + 800abb8: e7db b.n 800ab72 + 800abba: 2000 movs r0, #0 + 800abbc: e7e7 b.n 800ab8e + 800abbe: bf00 nop + 800abc0: 0800fa0c .word 0x0800fa0c + 800abc4: 200019c4 .word 0x200019c4 + 800abc8: 0800f357 .word 0x0800f357 + 800abcc: 00014585 .word 0x00014585 + 800abd0: 0800f3ef .word 0x0800f3ef + 800abd4: 0800f3df .word 0x0800f3df -0800afa0 : - 800afa0: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800afa4: b08d sub sp, #52 ; 0x34 - 800afa6: f990 3001 ldrsb.w r3, [r0, #1] - 800afaa: f8df a0fc ldr.w sl, [pc, #252] ; 800b0a8 - 800afae: f8df 90fc ldr.w r9, [pc, #252] ; 800b0ac - 800afb2: e9cd 120a strd r1, r2, [sp, #40] ; 0x28 - 800afb6: 4a3e ldr r2, [pc, #248] ; (800b0b0 ) - 800afb8: f912 b003 ldrsb.w fp, [r2, r3] - 800afbc: 7802 ldrb r2, [r0, #0] - 800afbe: f8da 3000 ldr.w r3, [sl] - 800afc2: 250c movs r5, #12 - 800afc4: fb05 3302 mla r3, r5, r2, r3 - 800afc8: 4a3a ldr r2, [pc, #232] ; (800b0b4 ) - 800afca: 7a5b ldrb r3, [r3, #9] - 800afcc: 6812 ldr r2, [r2, #0] - 800afce: eb03 0343 add.w r3, r3, r3, lsl #1 - 800afd2: eb02 03c3 add.w r3, r2, r3, lsl #3 - 800afd6: 4604 mov r4, r0 - 800afd8: f993 1002 ldrsb.w r1, [r3, #2] - 800afdc: f990 0002 ldrsb.w r0, [r0, #2] - 800afe0: f000 fddf bl 800bba2 - 800afe4: 4934 ldr r1, [pc, #208] ; (800b0b8 ) - 800afe6: 4606 mov r6, r0 - 800afe8: f994 0001 ldrsb.w r0, [r4, #1] - 800afec: f000 fdde bl 800bbac - 800aff0: 68a2 ldr r2, [r4, #8] - 800aff2: 6861 ldr r1, [r4, #4] - 800aff4: 4680 mov r8, r0 - 800aff6: 4630 mov r0, r6 - 800aff8: f000 fd05 bl 800ba06 - 800affc: 7821 ldrb r1, [r4, #0] - 800affe: f8da 2000 ldr.w r2, [sl] - 800b002: f8d9 300c ldr.w r3, [r9, #12] - 800b006: 4369 muls r1, r5 - 800b008: 4607 mov r7, r0 - 800b00a: 5850 ldr r0, [r2, r1] - 800b00c: 4798 blx r3 - 800b00e: f8d9 301c ldr.w r3, [r9, #28] - 800b012: 469c mov ip, r3 - 800b014: f994 3001 ldrsb.w r3, [r4, #1] - 800b018: 2500 movs r5, #0 - 800b01a: 2b07 cmp r3, #7 - 800b01c: f44f 637a mov.w r3, #4000 ; 0xfa0 - 800b020: e9cd 5307 strd r5, r3, [sp, #28] - 800b024: e9cd 5505 strd r5, r5, [sp, #20] - 800b028: d12d bne.n 800b086 - 800b02a: 2301 movs r3, #1 - 800b02c: e9cd 5303 strd r5, r3, [sp, #12] - 800b030: 2305 movs r3, #5 - 800b032: e9cd 5301 strd r5, r3, [sp, #4] - 800b036: f44f 737a mov.w r3, #1000 ; 0x3e8 - 800b03a: fb03 f30b mul.w r3, r3, fp - 800b03e: 9300 str r3, [sp, #0] - 800b040: 4639 mov r1, r7 - 800b042: 4643 mov r3, r8 - 800b044: f246 12a8 movw r2, #25000 ; 0x61a8 - 800b048: 4628 mov r0, r5 - 800b04a: 4667 mov r7, ip - 800b04c: 47b8 blx r7 - 800b04e: 7823 ldrb r3, [r4, #0] - 800b050: f8da 2000 ldr.w r2, [sl] - 800b054: 210c movs r1, #12 - 800b056: 434b muls r3, r1 - 800b058: f994 1001 ldrsb.w r1, [r4, #1] - 800b05c: 58d0 ldr r0, [r2, r3] - 800b05e: f000 fdd9 bl 800bc14 - 800b062: 89a1 ldrh r1, [r4, #12] - 800b064: f994 0001 ldrsb.w r0, [r4, #1] - 800b068: f7ff fd4e bl 800ab08 - 800b06c: 9b0b ldr r3, [sp, #44] ; 0x2c - 800b06e: 7b21 ldrb r1, [r4, #12] - 800b070: 6018 str r0, [r3, #0] - 800b072: f8d9 3054 ldr.w r3, [r9, #84] ; 0x54 - 800b076: 4628 mov r0, r5 - 800b078: 4798 blx r3 - 800b07a: 9b0a ldr r3, [sp, #40] ; 0x28 - 800b07c: 2001 movs r0, #1 - 800b07e: 701e strb r6, [r3, #0] - 800b080: b00d add sp, #52 ; 0x34 - 800b082: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800b086: 2001 movs r0, #1 - 800b088: 2308 movs r3, #8 - 800b08a: e9cd 5003 strd r5, r0, [sp, #12] - 800b08e: e9cd 0301 strd r0, r3, [sp, #4] - 800b092: 462a mov r2, r5 - 800b094: f8cd b000 str.w fp, [sp] - 800b098: 4665 mov r5, ip - 800b09a: 4643 mov r3, r8 - 800b09c: 4639 mov r1, r7 - 800b09e: 47a8 blx r5 - 800b0a0: 2001 movs r0, #1 - 800b0a2: 4605 mov r5, r0 - 800b0a4: e7d3 b.n 800b04e - 800b0a6: bf00 nop - 800b0a8: 200019c4 .word 0x200019c4 - 800b0ac: 080101cc .word 0x080101cc - 800b0b0: 0800fb1b .word 0x0800fb1b - 800b0b4: 200019c0 .word 0x200019c0 - 800b0b8: 0800faf4 .word 0x0800faf4 +0800abd8 : + 800abd8: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800abdc: b08d sub sp, #52 ; 0x34 + 800abde: f990 3001 ldrsb.w r3, [r0, #1] + 800abe2: f8df a0fc ldr.w sl, [pc, #252] ; 800ace0 + 800abe6: f8df 90fc ldr.w r9, [pc, #252] ; 800ace4 + 800abea: e9cd 120a strd r1, r2, [sp, #40] ; 0x28 + 800abee: 4a3e ldr r2, [pc, #248] ; (800ace8 ) + 800abf0: f912 b003 ldrsb.w fp, [r2, r3] + 800abf4: 7802 ldrb r2, [r0, #0] + 800abf6: f8da 3000 ldr.w r3, [sl] + 800abfa: 250c movs r5, #12 + 800abfc: fb05 3302 mla r3, r5, r2, r3 + 800ac00: 4a3a ldr r2, [pc, #232] ; (800acec ) + 800ac02: 7a5b ldrb r3, [r3, #9] + 800ac04: 6812 ldr r2, [r2, #0] + 800ac06: eb03 0343 add.w r3, r3, r3, lsl #1 + 800ac0a: eb02 03c3 add.w r3, r2, r3, lsl #3 + 800ac0e: 4604 mov r4, r0 + 800ac10: f993 1002 ldrsb.w r1, [r3, #2] + 800ac14: f990 0002 ldrsb.w r0, [r0, #2] + 800ac18: f000 fddf bl 800b7da + 800ac1c: 4934 ldr r1, [pc, #208] ; (800acf0 ) + 800ac1e: 4606 mov r6, r0 + 800ac20: f994 0001 ldrsb.w r0, [r4, #1] + 800ac24: f000 fdde bl 800b7e4 + 800ac28: 68a2 ldr r2, [r4, #8] + 800ac2a: 6861 ldr r1, [r4, #4] + 800ac2c: 4680 mov r8, r0 + 800ac2e: 4630 mov r0, r6 + 800ac30: f000 fd05 bl 800b63e + 800ac34: 7821 ldrb r1, [r4, #0] + 800ac36: f8da 2000 ldr.w r2, [sl] + 800ac3a: f8d9 300c ldr.w r3, [r9, #12] + 800ac3e: 4369 muls r1, r5 + 800ac40: 4607 mov r7, r0 + 800ac42: 5850 ldr r0, [r2, r1] + 800ac44: 4798 blx r3 + 800ac46: f8d9 301c ldr.w r3, [r9, #28] + 800ac4a: 469c mov ip, r3 + 800ac4c: f994 3001 ldrsb.w r3, [r4, #1] + 800ac50: 2500 movs r5, #0 + 800ac52: 2b07 cmp r3, #7 + 800ac54: f44f 637a mov.w r3, #4000 ; 0xfa0 + 800ac58: e9cd 5307 strd r5, r3, [sp, #28] + 800ac5c: e9cd 5505 strd r5, r5, [sp, #20] + 800ac60: d12d bne.n 800acbe + 800ac62: 2301 movs r3, #1 + 800ac64: e9cd 5303 strd r5, r3, [sp, #12] + 800ac68: 2305 movs r3, #5 + 800ac6a: e9cd 5301 strd r5, r3, [sp, #4] + 800ac6e: f44f 737a mov.w r3, #1000 ; 0x3e8 + 800ac72: fb03 f30b mul.w r3, r3, fp + 800ac76: 9300 str r3, [sp, #0] + 800ac78: 4639 mov r1, r7 + 800ac7a: 4643 mov r3, r8 + 800ac7c: f246 12a8 movw r2, #25000 ; 0x61a8 + 800ac80: 4628 mov r0, r5 + 800ac82: 4667 mov r7, ip + 800ac84: 47b8 blx r7 + 800ac86: 7823 ldrb r3, [r4, #0] + 800ac88: f8da 2000 ldr.w r2, [sl] + 800ac8c: 210c movs r1, #12 + 800ac8e: 434b muls r3, r1 + 800ac90: f994 1001 ldrsb.w r1, [r4, #1] + 800ac94: 58d0 ldr r0, [r2, r3] + 800ac96: f000 fdd9 bl 800b84c + 800ac9a: 89a1 ldrh r1, [r4, #12] + 800ac9c: f994 0001 ldrsb.w r0, [r4, #1] + 800aca0: f7ff fd4e bl 800a740 + 800aca4: 9b0b ldr r3, [sp, #44] ; 0x2c + 800aca6: 7b21 ldrb r1, [r4, #12] + 800aca8: 6018 str r0, [r3, #0] + 800acaa: f8d9 3054 ldr.w r3, [r9, #84] ; 0x54 + 800acae: 4628 mov r0, r5 + 800acb0: 4798 blx r3 + 800acb2: 9b0a ldr r3, [sp, #40] ; 0x28 + 800acb4: 2001 movs r0, #1 + 800acb6: 701e strb r6, [r3, #0] + 800acb8: b00d add sp, #52 ; 0x34 + 800acba: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800acbe: 2001 movs r0, #1 + 800acc0: 2308 movs r3, #8 + 800acc2: e9cd 5003 strd r5, r0, [sp, #12] + 800acc6: e9cd 0301 strd r0, r3, [sp, #4] + 800acca: 462a mov r2, r5 + 800accc: f8cd b000 str.w fp, [sp] + 800acd0: 4665 mov r5, ip + 800acd2: 4643 mov r3, r8 + 800acd4: 4639 mov r1, r7 + 800acd6: 47a8 blx r5 + 800acd8: 2001 movs r0, #1 + 800acda: 4605 mov r5, r0 + 800acdc: e7d3 b.n 800ac86 + 800acde: bf00 nop + 800ace0: 200019c4 .word 0x200019c4 + 800ace4: 0800fa0c .word 0x0800fa0c + 800ace8: 0800f357 .word 0x0800f357 + 800acec: 200019c0 .word 0x200019c0 + 800acf0: 0800f330 .word 0x0800f330 -0800b0bc : - 800b0bc: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800b0c0: b08f sub sp, #60 ; 0x3c - 800b0c2: 2400 movs r4, #0 - 800b0c4: 4605 mov r5, r0 - 800b0c6: 468a mov sl, r1 - 800b0c8: 4691 mov r9, r2 - 800b0ca: 4698 mov r8, r3 - 800b0cc: 9404 str r4, [sp, #16] - 800b0ce: f8ad 4014 strh.w r4, [sp, #20] - 800b0d2: f8ad 4002 strh.w r4, [sp, #2] - 800b0d6: 2607 movs r6, #7 - 800b0d8: f04f 0b01 mov.w fp, #1 - 800b0dc: 7a2b ldrb r3, [r5, #8] - 800b0de: 42a3 cmp r3, r4 - 800b0e0: d906 bls.n 800b0f0 - 800b0e2: 6868 ldr r0, [r5, #4] - 800b0e4: a904 add r1, sp, #16 - 800b0e6: 4420 add r0, r4 - 800b0e8: f000 fbf2 bl 800b8d0 - 800b0ec: 2800 cmp r0, #0 - 800b0ee: d15e bne.n 800b1ae - 800b0f0: 2302 movs r3, #2 - 800b0f2: f88d 3008 strb.w r3, [sp, #8] - 800b0f6: a802 add r0, sp, #8 - 800b0f8: 7a6b ldrb r3, [r5, #9] - 800b0fa: f88d 300a strb.w r3, [sp, #10] - 800b0fe: f7ff fd2d bl 800ab5c - 800b102: 7aab ldrb r3, [r5, #10] - 800b104: f88d 301d strb.w r3, [sp, #29] - 800b108: f89d 3011 ldrb.w r3, [sp, #17] - 800b10c: f88d 301e strb.w r3, [sp, #30] - 800b110: f89d 3012 ldrb.w r3, [sp, #18] - 800b114: f88d 301f strb.w r3, [sp, #31] - 800b118: f89d 3010 ldrb.w r3, [sp, #16] - 800b11c: f88d 3020 strb.w r3, [sp, #32] - 800b120: 7aeb ldrb r3, [r5, #11] - 800b122: f88d 3021 strb.w r3, [sp, #33] ; 0x21 - 800b126: 7b2b ldrb r3, [r5, #12] - 800b128: f88d 3022 strb.w r3, [sp, #34] ; 0x22 - 800b12c: 7b6b ldrb r3, [r5, #13] - 800b12e: f88d 3023 strb.w r3, [sp, #35] ; 0x23 - 800b132: 2310 movs r3, #16 - 800b134: f88d 601c strb.w r6, [sp, #28] - 800b138: f88d 3024 strb.w r3, [sp, #36] ; 0x24 - 800b13c: 4e3a ldr r6, [pc, #232] ; (800b228 ) - 800b13e: f88d 002c strb.w r0, [sp, #44] ; 0x2c - 800b142: f10d 0302 add.w r3, sp, #2 - 800b146: 930a str r3, [sp, #40] ; 0x28 - 800b148: 2305 movs r3, #5 - 800b14a: f88d 302d strb.w r3, [sp, #45] ; 0x2d - 800b14e: 6833 ldr r3, [r6, #0] - 800b150: 930c str r3, [sp, #48] ; 0x30 - 800b152: 2307 movs r3, #7 - 800b154: f8ad 3034 strh.w r3, [sp, #52] ; 0x34 - 800b158: 682b ldr r3, [r5, #0] - 800b15a: 9306 str r3, [sp, #24] - 800b15c: f10d 0212 add.w r2, sp, #18 - 800b160: ab04 add r3, sp, #16 - 800b162: f10d 0111 add.w r1, sp, #17 - 800b166: a806 add r0, sp, #24 - 800b168: f000 fbcc bl 800b904 - 800b16c: 2807 cmp r0, #7 - 800b16e: 4605 mov r5, r0 - 800b170: d10b bne.n 800b18a - 800b172: 6830 ldr r0, [r6, #0] - 800b174: 220c movs r2, #12 - 800b176: 2100 movs r1, #0 - 800b178: f500 7058 add.w r0, r0, #864 ; 0x360 - 800b17c: f001 fbbe bl 800c8fc - 800b180: 6833 ldr r3, [r6, #0] - 800b182: f8bd 2002 ldrh.w r2, [sp, #2] - 800b186: f8a3 2360 strh.w r2, [r3, #864] ; 0x360 - 800b18a: f89d 3011 ldrb.w r3, [sp, #17] - 800b18e: f88a 3000 strb.w r3, [sl] - 800b192: f89d 3012 ldrb.w r3, [sp, #18] - 800b196: f889 3000 strb.w r3, [r9] - 800b19a: f89d 3010 ldrb.w r3, [sp, #16] - 800b19e: f888 3000 strb.w r3, [r8] - 800b1a2: 9b18 ldr r3, [sp, #96] ; 0x60 - 800b1a4: 4628 mov r0, r5 - 800b1a6: 701c strb r4, [r3, #0] - 800b1a8: b00f add sp, #60 ; 0x3c - 800b1aa: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800b1ae: f89d 3013 ldrb.w r3, [sp, #19] - 800b1b2: f8bd 7014 ldrh.w r7, [sp, #20] - 800b1b6: f8ad 7002 strh.w r7, [sp, #2] - 800b1ba: 4420 add r0, r4 - 800b1bc: b2c4 uxtb r4, r0 - 800b1be: b9f3 cbnz r3, 800b1fe - 800b1c0: b317 cbz r7, 800b208 - 800b1c2: 4a19 ldr r2, [pc, #100] ; (800b228 ) - 800b1c4: 2000 movs r0, #0 - 800b1c6: 6811 ldr r1, [r2, #0] - 800b1c8: 2607 movs r6, #7 - 800b1ca: 4602 mov r2, r0 - 800b1cc: f04f 0c0c mov.w ip, #12 - 800b1d0: 2b06 cmp r3, #6 - 800b1d2: d11b bne.n 800b20c - 800b1d4: fb0c fe00 mul.w lr, ip, r0 - 800b1d8: f851 e00e ldr.w lr, [r1, lr] - 800b1dc: f1be 0f00 cmp.w lr, #0 - 800b1e0: d004 beq.n 800b1ec - 800b1e2: fa0b f200 lsl.w r2, fp, r0 - 800b1e6: 433a orrs r2, r7 - 800b1e8: b297 uxth r7, r2 - 800b1ea: 2201 movs r2, #1 - 800b1ec: 3001 adds r0, #1 - 800b1ee: 2810 cmp r0, #16 - 800b1f0: d1ee bne.n 800b1d0 - 800b1f2: 2a00 cmp r2, #0 - 800b1f4: f43f af72 beq.w 800b0dc - 800b1f8: f8ad 7002 strh.w r7, [sp, #2] - 800b1fc: e76e b.n 800b0dc - 800b1fe: 1e5a subs r2, r3, #1 - 800b200: 2a04 cmp r2, #4 - 800b202: d901 bls.n 800b208 - 800b204: 2b06 cmp r3, #6 - 800b206: d0dc beq.n 800b1c2 - 800b208: 2606 movs r6, #6 - 800b20a: e767 b.n 800b0dc - 800b20c: fa47 fe00 asr.w lr, r7, r0 - 800b210: f01e 0f01 tst.w lr, #1 - 800b214: d0ea beq.n 800b1ec - 800b216: fb0c fe00 mul.w lr, ip, r0 - 800b21a: f851 e00e ldr.w lr, [r1, lr] - 800b21e: f1be 0f00 cmp.w lr, #0 - 800b222: bf08 it eq - 800b224: 2606 moveq r6, #6 - 800b226: e7e1 b.n 800b1ec - 800b228: 200019c4 .word 0x200019c4 +0800acf4 : + 800acf4: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800acf8: b08f sub sp, #60 ; 0x3c + 800acfa: 2400 movs r4, #0 + 800acfc: 4605 mov r5, r0 + 800acfe: 468a mov sl, r1 + 800ad00: 4691 mov r9, r2 + 800ad02: 4698 mov r8, r3 + 800ad04: 9404 str r4, [sp, #16] + 800ad06: f8ad 4014 strh.w r4, [sp, #20] + 800ad0a: f8ad 4002 strh.w r4, [sp, #2] + 800ad0e: 2607 movs r6, #7 + 800ad10: f04f 0b01 mov.w fp, #1 + 800ad14: 7a2b ldrb r3, [r5, #8] + 800ad16: 42a3 cmp r3, r4 + 800ad18: d906 bls.n 800ad28 + 800ad1a: 6868 ldr r0, [r5, #4] + 800ad1c: a904 add r1, sp, #16 + 800ad1e: 4420 add r0, r4 + 800ad20: f000 fbf2 bl 800b508 + 800ad24: 2800 cmp r0, #0 + 800ad26: d15e bne.n 800ade6 + 800ad28: 2302 movs r3, #2 + 800ad2a: f88d 3008 strb.w r3, [sp, #8] + 800ad2e: a802 add r0, sp, #8 + 800ad30: 7a6b ldrb r3, [r5, #9] + 800ad32: f88d 300a strb.w r3, [sp, #10] + 800ad36: f7ff fd2d bl 800a794 + 800ad3a: 7aab ldrb r3, [r5, #10] + 800ad3c: f88d 301d strb.w r3, [sp, #29] + 800ad40: f89d 3011 ldrb.w r3, [sp, #17] + 800ad44: f88d 301e strb.w r3, [sp, #30] + 800ad48: f89d 3012 ldrb.w r3, [sp, #18] + 800ad4c: f88d 301f strb.w r3, [sp, #31] + 800ad50: f89d 3010 ldrb.w r3, [sp, #16] + 800ad54: f88d 3020 strb.w r3, [sp, #32] + 800ad58: 7aeb ldrb r3, [r5, #11] + 800ad5a: f88d 3021 strb.w r3, [sp, #33] ; 0x21 + 800ad5e: 7b2b ldrb r3, [r5, #12] + 800ad60: f88d 3022 strb.w r3, [sp, #34] ; 0x22 + 800ad64: 7b6b ldrb r3, [r5, #13] + 800ad66: f88d 3023 strb.w r3, [sp, #35] ; 0x23 + 800ad6a: 2310 movs r3, #16 + 800ad6c: f88d 601c strb.w r6, [sp, #28] + 800ad70: f88d 3024 strb.w r3, [sp, #36] ; 0x24 + 800ad74: 4e3a ldr r6, [pc, #232] ; (800ae60 ) + 800ad76: f88d 002c strb.w r0, [sp, #44] ; 0x2c + 800ad7a: f10d 0302 add.w r3, sp, #2 + 800ad7e: 930a str r3, [sp, #40] ; 0x28 + 800ad80: 2305 movs r3, #5 + 800ad82: f88d 302d strb.w r3, [sp, #45] ; 0x2d + 800ad86: 6833 ldr r3, [r6, #0] + 800ad88: 930c str r3, [sp, #48] ; 0x30 + 800ad8a: 2307 movs r3, #7 + 800ad8c: f8ad 3034 strh.w r3, [sp, #52] ; 0x34 + 800ad90: 682b ldr r3, [r5, #0] + 800ad92: 9306 str r3, [sp, #24] + 800ad94: f10d 0212 add.w r2, sp, #18 + 800ad98: ab04 add r3, sp, #16 + 800ad9a: f10d 0111 add.w r1, sp, #17 + 800ad9e: a806 add r0, sp, #24 + 800ada0: f000 fbcc bl 800b53c + 800ada4: 2807 cmp r0, #7 + 800ada6: 4605 mov r5, r0 + 800ada8: d10b bne.n 800adc2 + 800adaa: 6830 ldr r0, [r6, #0] + 800adac: 220c movs r2, #12 + 800adae: 2100 movs r1, #0 + 800adb0: f500 7058 add.w r0, r0, #864 ; 0x360 + 800adb4: f001 fbbe bl 800c534 + 800adb8: 6833 ldr r3, [r6, #0] + 800adba: f8bd 2002 ldrh.w r2, [sp, #2] + 800adbe: f8a3 2360 strh.w r2, [r3, #864] ; 0x360 + 800adc2: f89d 3011 ldrb.w r3, [sp, #17] + 800adc6: f88a 3000 strb.w r3, [sl] + 800adca: f89d 3012 ldrb.w r3, [sp, #18] + 800adce: f889 3000 strb.w r3, [r9] + 800add2: f89d 3010 ldrb.w r3, [sp, #16] + 800add6: f888 3000 strb.w r3, [r8] + 800adda: 9b18 ldr r3, [sp, #96] ; 0x60 + 800addc: 4628 mov r0, r5 + 800adde: 701c strb r4, [r3, #0] + 800ade0: b00f add sp, #60 ; 0x3c + 800ade2: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800ade6: f89d 3013 ldrb.w r3, [sp, #19] + 800adea: f8bd 7014 ldrh.w r7, [sp, #20] + 800adee: f8ad 7002 strh.w r7, [sp, #2] + 800adf2: 4420 add r0, r4 + 800adf4: b2c4 uxtb r4, r0 + 800adf6: b9f3 cbnz r3, 800ae36 + 800adf8: b317 cbz r7, 800ae40 + 800adfa: 4a19 ldr r2, [pc, #100] ; (800ae60 ) + 800adfc: 2000 movs r0, #0 + 800adfe: 6811 ldr r1, [r2, #0] + 800ae00: 2607 movs r6, #7 + 800ae02: 4602 mov r2, r0 + 800ae04: f04f 0c0c mov.w ip, #12 + 800ae08: 2b06 cmp r3, #6 + 800ae0a: d11b bne.n 800ae44 + 800ae0c: fb0c fe00 mul.w lr, ip, r0 + 800ae10: f851 e00e ldr.w lr, [r1, lr] + 800ae14: f1be 0f00 cmp.w lr, #0 + 800ae18: d004 beq.n 800ae24 + 800ae1a: fa0b f200 lsl.w r2, fp, r0 + 800ae1e: 433a orrs r2, r7 + 800ae20: b297 uxth r7, r2 + 800ae22: 2201 movs r2, #1 + 800ae24: 3001 adds r0, #1 + 800ae26: 2810 cmp r0, #16 + 800ae28: d1ee bne.n 800ae08 + 800ae2a: 2a00 cmp r2, #0 + 800ae2c: f43f af72 beq.w 800ad14 + 800ae30: f8ad 7002 strh.w r7, [sp, #2] + 800ae34: e76e b.n 800ad14 + 800ae36: 1e5a subs r2, r3, #1 + 800ae38: 2a04 cmp r2, #4 + 800ae3a: d901 bls.n 800ae40 + 800ae3c: 2b06 cmp r3, #6 + 800ae3e: d0dc beq.n 800adfa + 800ae40: 2606 movs r6, #6 + 800ae42: e767 b.n 800ad14 + 800ae44: fa47 fe00 asr.w lr, r7, r0 + 800ae48: f01e 0f01 tst.w lr, #1 + 800ae4c: d0ea beq.n 800ae24 + 800ae4e: fb0c fe00 mul.w lr, ip, r0 + 800ae52: f851 e00e ldr.w lr, [r1, lr] + 800ae56: f1be 0f00 cmp.w lr, #0 + 800ae5a: bf08 it eq + 800ae5c: 2606 moveq r6, #6 + 800ae5e: e7e1 b.n 800ae24 + 800ae60: 200019c4 .word 0x200019c4 -0800b22c : - 800b22c: b538 push {r3, r4, r5, lr} - 800b22e: 4605 mov r5, r0 - 800b230: 6840 ldr r0, [r0, #4] - 800b232: f7ff fc55 bl 800aae0 - 800b236: 2205 movs r2, #5 - 800b238: 1d84 adds r4, r0, #6 - 800b23a: 2100 movs r1, #0 - 800b23c: f995 0000 ldrsb.w r0, [r5] - 800b240: b2e4 uxtb r4, r4 - 800b242: f000 f9e4 bl 800b60e - 800b246: b908 cbnz r0, 800b24c - 800b248: f004 04fd and.w r4, r4, #253 ; 0xfd - 800b24c: f995 0001 ldrsb.w r0, [r5, #1] - 800b250: 2207 movs r2, #7 - 800b252: 2100 movs r1, #0 - 800b254: f000 f9db bl 800b60e - 800b258: b908 cbnz r0, 800b25e - 800b25a: f004 04fb and.w r4, r4, #251 ; 0xfb - 800b25e: 4620 mov r0, r4 - 800b260: bd38 pop {r3, r4, r5, pc} +0800ae64 : + 800ae64: b538 push {r3, r4, r5, lr} + 800ae66: 4605 mov r5, r0 + 800ae68: 6840 ldr r0, [r0, #4] + 800ae6a: f7ff fc55 bl 800a718 + 800ae6e: 2205 movs r2, #5 + 800ae70: 1d84 adds r4, r0, #6 + 800ae72: 2100 movs r1, #0 + 800ae74: f995 0000 ldrsb.w r0, [r5] + 800ae78: b2e4 uxtb r4, r4 + 800ae7a: f000 f9e4 bl 800b246 + 800ae7e: b908 cbnz r0, 800ae84 + 800ae80: f004 04fd and.w r4, r4, #253 ; 0xfd + 800ae84: f995 0001 ldrsb.w r0, [r5, #1] + 800ae88: 2207 movs r2, #7 + 800ae8a: 2100 movs r1, #0 + 800ae8c: f000 f9db bl 800b246 + 800ae90: b908 cbnz r0, 800ae96 + 800ae92: f004 04fb and.w r4, r4, #251 ; 0xfb + 800ae96: 4620 mov r0, r4 + 800ae98: bd38 pop {r3, r4, r5, pc} -0800b262 : - 800b262: 2000 movs r0, #0 - 800b264: 4770 bx lr +0800ae9a : + 800ae9a: 2000 movs r0, #0 + 800ae9c: 4770 bx lr ... -0800b268 : - 800b268: b510 push {r4, lr} - 800b26a: 7803 ldrb r3, [r0, #0] - 800b26c: 2b0f cmp r3, #15 - 800b26e: 4604 mov r4, r0 - 800b270: d818 bhi.n 800b2a4 - 800b272: 6840 ldr r0, [r0, #4] - 800b274: f7ff fc34 bl 800aae0 - 800b278: 7822 ldrb r2, [r4, #0] - 800b27a: 490b ldr r1, [pc, #44] ; (800b2a8 ) - 800b27c: eb02 0242 add.w r2, r2, r2, lsl #1 - 800b280: 6809 ldr r1, [r1, #0] - 800b282: 1c83 adds r3, r0, #2 - 800b284: eb01 0082 add.w r0, r1, r2, lsl #2 - 800b288: f851 2022 ldr.w r2, [r1, r2, lsl #2] - 800b28c: b2db uxtb r3, r3 - 800b28e: b91a cbnz r2, 800b298 - 800b290: f003 03fd and.w r3, r3, #253 ; 0xfd - 800b294: b258 sxtb r0, r3 - 800b296: bd10 pop {r4, pc} - 800b298: 2b03 cmp r3, #3 - 800b29a: bf06 itte eq - 800b29c: 6862 ldreq r2, [r4, #4] - 800b29e: 6042 streq r2, [r0, #4] - 800b2a0: 2302 movne r3, #2 - 800b2a2: e7f7 b.n 800b294 - 800b2a4: 2000 movs r0, #0 - 800b2a6: e7f6 b.n 800b296 - 800b2a8: 200019c4 .word 0x200019c4 +0800aea0 : + 800aea0: b510 push {r4, lr} + 800aea2: 7803 ldrb r3, [r0, #0] + 800aea4: 2b0f cmp r3, #15 + 800aea6: 4604 mov r4, r0 + 800aea8: d818 bhi.n 800aedc + 800aeaa: 6840 ldr r0, [r0, #4] + 800aeac: f7ff fc34 bl 800a718 + 800aeb0: 7822 ldrb r2, [r4, #0] + 800aeb2: 490b ldr r1, [pc, #44] ; (800aee0 ) + 800aeb4: eb02 0242 add.w r2, r2, r2, lsl #1 + 800aeb8: 6809 ldr r1, [r1, #0] + 800aeba: 1c83 adds r3, r0, #2 + 800aebc: eb01 0082 add.w r0, r1, r2, lsl #2 + 800aec0: f851 2022 ldr.w r2, [r1, r2, lsl #2] + 800aec4: b2db uxtb r3, r3 + 800aec6: b91a cbnz r2, 800aed0 + 800aec8: f003 03fd and.w r3, r3, #253 ; 0xfd + 800aecc: b258 sxtb r0, r3 + 800aece: bd10 pop {r4, pc} + 800aed0: 2b03 cmp r3, #3 + 800aed2: bf06 itte eq + 800aed4: 6862 ldreq r2, [r4, #4] + 800aed6: 6042 streq r2, [r0, #4] + 800aed8: 2302 movne r3, #2 + 800aeda: e7f7 b.n 800aecc + 800aedc: 2000 movs r0, #0 + 800aede: e7f6 b.n 800aece + 800aee0: 200019c4 .word 0x200019c4 -0800b2ac : - 800b2ac: 2002 movs r0, #2 - 800b2ae: 4770 bx lr +0800aee4 : + 800aee4: 2002 movs r0, #2 + 800aee6: 4770 bx lr -0800b2b0 : - 800b2b0: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800b2b4: f8df 8138 ldr.w r8, [pc, #312] ; 800b3f0 - 800b2b8: 4604 mov r4, r0 - 800b2ba: f8d8 0000 ldr.w r0, [r8] - 800b2be: b099 sub sp, #100 ; 0x64 - 800b2c0: 4689 mov r9, r1 - 800b2c2: 4617 mov r7, r2 - 800b2c4: 2100 movs r1, #0 - 800b2c6: 461e mov r6, r3 - 800b2c8: 2201 movs r2, #1 - 800b2ca: 2303 movs r3, #3 - 800b2cc: f500 7058 add.w r0, r0, #864 ; 0x360 - 800b2d0: e9cd 1106 strd r1, r1, [sp, #24] - 800b2d4: e9cd 1108 strd r1, r1, [sp, #32] - 800b2d8: f88d 1014 strb.w r1, [sp, #20] - 800b2dc: f88d 1015 strb.w r1, [sp, #21] - 800b2e0: f8ad 3016 strh.w r3, [sp, #22] - 800b2e4: f000 f9b5 bl 800b652 - 800b2e8: b938 cbnz r0, 800b2fa - 800b2ea: f8d8 2000 ldr.w r2, [r8] - 800b2ee: f8b2 3360 ldrh.w r3, [r2, #864] ; 0x360 - 800b2f2: f043 0303 orr.w r3, r3, #3 - 800b2f6: f8a2 3360 strh.w r3, [r2, #864] ; 0x360 - 800b2fa: f8d8 2000 ldr.w r2, [r8] - 800b2fe: 7a63 ldrb r3, [r4, #9] - 800b300: f88d 3028 strb.w r3, [sp, #40] ; 0x28 - 800b304: f502 7158 add.w r1, r2, #864 ; 0x360 - 800b308: e9cd 120b strd r1, r2, [sp, #44] ; 0x2c - 800b30c: 4a39 ldr r2, [pc, #228] ; (800b3f4 ) - 800b30e: f994 3008 ldrsb.w r3, [r4, #8] - 800b312: 6812 ldr r2, [r2, #0] - 800b314: 920d str r2, [sp, #52] ; 0x34 - 800b316: f10d 0216 add.w r2, sp, #22 - 800b31a: 920f str r2, [sp, #60] ; 0x3c - 800b31c: 6822 ldr r2, [r4, #0] - 800b31e: 9210 str r2, [sp, #64] ; 0x40 - 800b320: 6862 ldr r2, [r4, #4] - 800b322: 9211 str r2, [sp, #68] ; 0x44 - 800b324: e9d4 0103 ldrd r0, r1, [r4, #12] - 800b328: 7aa2 ldrb r2, [r4, #10] - 800b32a: f88d 2048 strb.w r2, [sp, #72] ; 0x48 - 800b32e: 2201 movs r2, #1 - 800b330: f88d 2049 strb.w r2, [sp, #73] ; 0x49 - 800b334: aa13 add r2, sp, #76 ; 0x4c - 800b336: e882 0003 stmia.w r2, {r0, r1} - 800b33a: 2510 movs r5, #16 - 800b33c: 7d22 ldrb r2, [r4, #20] - 800b33e: 8ae1 ldrh r1, [r4, #22] - 800b340: f88d 3029 strb.w r3, [sp, #41] ; 0x29 - 800b344: 4618 mov r0, r3 - 800b346: f88d 2054 strb.w r2, [sp, #84] ; 0x54 - 800b34a: f8ad 5038 strh.w r5, [sp, #56] ; 0x38 - 800b34e: f7ff fbdb bl 800ab08 - 800b352: ab0a add r3, sp, #40 ; 0x28 - 800b354: 9317 str r3, [sp, #92] ; 0x5c - 800b356: f10d 0315 add.w r3, sp, #21 - 800b35a: 9016 str r0, [sp, #88] ; 0x58 - 800b35c: 9300 str r3, [sp, #0] - 800b35e: 4631 mov r1, r6 - 800b360: 9701 str r7, [sp, #4] - 800b362: ab05 add r3, sp, #20 - 800b364: aa06 add r2, sp, #24 - 800b366: a810 add r0, sp, #64 ; 0x40 - 800b368: f000 fbbc bl 800bae4 - 800b36c: 4606 mov r6, r0 - 800b36e: bb98 cbnz r0, 800b3d8 - 800b370: f89d 1014 ldrb.w r1, [sp, #20] - 800b374: 4f20 ldr r7, [pc, #128] ; (800b3f8 ) - 800b376: 3901 subs r1, #1 - 800b378: f001 fa90 bl 800c89c - 800b37c: 4b1f ldr r3, [pc, #124] ; (800b3fc ) - 800b37e: 691b ldr r3, [r3, #16] - 800b380: 9303 str r3, [sp, #12] - 800b382: b2c4 uxtb r4, r0 - 800b384: f04f 0b0c mov.w fp, #12 - 800b388: f104 0360 add.w r3, r4, #96 ; 0x60 - 800b38c: 446b add r3, sp - 800b38e: f8d8 0000 ldr.w r0, [r8] - 800b392: f813 ac48 ldrb.w sl, [r3, #-72] - 800b396: f89d 3014 ldrb.w r3, [sp, #20] - 800b39a: fb0b fc0a mul.w ip, fp, sl - 800b39e: 3401 adds r4, #1 - 800b3a0: 4639 mov r1, r7 - 800b3a2: fbb4 f2f3 udiv r2, r4, r3 - 800b3a6: fb03 4412 mls r4, r3, r2, r4 - 800b3aa: f8d0 337c ldr.w r3, [r0, #892] ; 0x37c - 800b3ae: f9b0 2378 ldrsh.w r2, [r0, #888] ; 0x378 - 800b3b2: f850 000c ldr.w r0, [r0, ip] - 800b3b6: f8dd c00c ldr.w ip, [sp, #12] - 800b3ba: b2e4 uxtb r4, r4 - 800b3bc: 47e0 blx ip - 800b3be: b128 cbz r0, 800b3cc - 800b3c0: f889 a000 strb.w sl, [r9] - 800b3c4: 4630 mov r0, r6 - 800b3c6: b019 add sp, #100 ; 0x64 - 800b3c8: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800b3cc: 3d01 subs r5, #1 - 800b3ce: f015 05ff ands.w r5, r5, #255 ; 0xff - 800b3d2: d1d9 bne.n 800b388 - 800b3d4: 260d movs r6, #13 - 800b3d6: e7f5 b.n 800b3c4 - 800b3d8: 280c cmp r0, #12 - 800b3da: bf01 itttt eq - 800b3dc: f8d8 2000 ldreq.w r2, [r8] - 800b3e0: f8b2 3360 ldrheq.w r3, [r2, #864] ; 0x360 - 800b3e4: f043 0303 orreq.w r3, r3, #3 - 800b3e8: f8a2 3360 strheq.w r3, [r2, #864] ; 0x360 - 800b3ec: e7ea b.n 800b3c4 - 800b3ee: bf00 nop - 800b3f0: 200019c4 .word 0x200019c4 - 800b3f4: 200019c0 .word 0x200019c0 - 800b3f8: 00030d40 .word 0x00030d40 - 800b3fc: 080101cc .word 0x080101cc +0800aee8 : + 800aee8: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800aeec: f8df 8138 ldr.w r8, [pc, #312] ; 800b028 + 800aef0: 4604 mov r4, r0 + 800aef2: f8d8 0000 ldr.w r0, [r8] + 800aef6: b099 sub sp, #100 ; 0x64 + 800aef8: 4689 mov r9, r1 + 800aefa: 4617 mov r7, r2 + 800aefc: 2100 movs r1, #0 + 800aefe: 461e mov r6, r3 + 800af00: 2201 movs r2, #1 + 800af02: 2303 movs r3, #3 + 800af04: f500 7058 add.w r0, r0, #864 ; 0x360 + 800af08: e9cd 1106 strd r1, r1, [sp, #24] + 800af0c: e9cd 1108 strd r1, r1, [sp, #32] + 800af10: f88d 1014 strb.w r1, [sp, #20] + 800af14: f88d 1015 strb.w r1, [sp, #21] + 800af18: f8ad 3016 strh.w r3, [sp, #22] + 800af1c: f000 f9b5 bl 800b28a + 800af20: b938 cbnz r0, 800af32 + 800af22: f8d8 2000 ldr.w r2, [r8] + 800af26: f8b2 3360 ldrh.w r3, [r2, #864] ; 0x360 + 800af2a: f043 0303 orr.w r3, r3, #3 + 800af2e: f8a2 3360 strh.w r3, [r2, #864] ; 0x360 + 800af32: f8d8 2000 ldr.w r2, [r8] + 800af36: 7a63 ldrb r3, [r4, #9] + 800af38: f88d 3028 strb.w r3, [sp, #40] ; 0x28 + 800af3c: f502 7158 add.w r1, r2, #864 ; 0x360 + 800af40: e9cd 120b strd r1, r2, [sp, #44] ; 0x2c + 800af44: 4a39 ldr r2, [pc, #228] ; (800b02c ) + 800af46: f994 3008 ldrsb.w r3, [r4, #8] + 800af4a: 6812 ldr r2, [r2, #0] + 800af4c: 920d str r2, [sp, #52] ; 0x34 + 800af4e: f10d 0216 add.w r2, sp, #22 + 800af52: 920f str r2, [sp, #60] ; 0x3c + 800af54: 6822 ldr r2, [r4, #0] + 800af56: 9210 str r2, [sp, #64] ; 0x40 + 800af58: 6862 ldr r2, [r4, #4] + 800af5a: 9211 str r2, [sp, #68] ; 0x44 + 800af5c: e9d4 0103 ldrd r0, r1, [r4, #12] + 800af60: 7aa2 ldrb r2, [r4, #10] + 800af62: f88d 2048 strb.w r2, [sp, #72] ; 0x48 + 800af66: 2201 movs r2, #1 + 800af68: f88d 2049 strb.w r2, [sp, #73] ; 0x49 + 800af6c: aa13 add r2, sp, #76 ; 0x4c + 800af6e: e882 0003 stmia.w r2, {r0, r1} + 800af72: 2510 movs r5, #16 + 800af74: 7d22 ldrb r2, [r4, #20] + 800af76: 8ae1 ldrh r1, [r4, #22] + 800af78: f88d 3029 strb.w r3, [sp, #41] ; 0x29 + 800af7c: 4618 mov r0, r3 + 800af7e: f88d 2054 strb.w r2, [sp, #84] ; 0x54 + 800af82: f8ad 5038 strh.w r5, [sp, #56] ; 0x38 + 800af86: f7ff fbdb bl 800a740 + 800af8a: ab0a add r3, sp, #40 ; 0x28 + 800af8c: 9317 str r3, [sp, #92] ; 0x5c + 800af8e: f10d 0315 add.w r3, sp, #21 + 800af92: 9016 str r0, [sp, #88] ; 0x58 + 800af94: 9300 str r3, [sp, #0] + 800af96: 4631 mov r1, r6 + 800af98: 9701 str r7, [sp, #4] + 800af9a: ab05 add r3, sp, #20 + 800af9c: aa06 add r2, sp, #24 + 800af9e: a810 add r0, sp, #64 ; 0x40 + 800afa0: f000 fbbc bl 800b71c + 800afa4: 4606 mov r6, r0 + 800afa6: bb98 cbnz r0, 800b010 + 800afa8: f89d 1014 ldrb.w r1, [sp, #20] + 800afac: 4f20 ldr r7, [pc, #128] ; (800b030 ) + 800afae: 3901 subs r1, #1 + 800afb0: f001 fa90 bl 800c4d4 + 800afb4: 4b1f ldr r3, [pc, #124] ; (800b034 ) + 800afb6: 691b ldr r3, [r3, #16] + 800afb8: 9303 str r3, [sp, #12] + 800afba: b2c4 uxtb r4, r0 + 800afbc: f04f 0b0c mov.w fp, #12 + 800afc0: f104 0360 add.w r3, r4, #96 ; 0x60 + 800afc4: 446b add r3, sp + 800afc6: f8d8 0000 ldr.w r0, [r8] + 800afca: f813 ac48 ldrb.w sl, [r3, #-72] + 800afce: f89d 3014 ldrb.w r3, [sp, #20] + 800afd2: fb0b fc0a mul.w ip, fp, sl + 800afd6: 3401 adds r4, #1 + 800afd8: 4639 mov r1, r7 + 800afda: fbb4 f2f3 udiv r2, r4, r3 + 800afde: fb03 4412 mls r4, r3, r2, r4 + 800afe2: f8d0 337c ldr.w r3, [r0, #892] ; 0x37c + 800afe6: f9b0 2378 ldrsh.w r2, [r0, #888] ; 0x378 + 800afea: f850 000c ldr.w r0, [r0, ip] + 800afee: f8dd c00c ldr.w ip, [sp, #12] + 800aff2: b2e4 uxtb r4, r4 + 800aff4: 47e0 blx ip + 800aff6: b128 cbz r0, 800b004 + 800aff8: f889 a000 strb.w sl, [r9] + 800affc: 4630 mov r0, r6 + 800affe: b019 add sp, #100 ; 0x64 + 800b000: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800b004: 3d01 subs r5, #1 + 800b006: f015 05ff ands.w r5, r5, #255 ; 0xff + 800b00a: d1d9 bne.n 800afc0 + 800b00c: 260d movs r6, #13 + 800b00e: e7f5 b.n 800affc + 800b010: 280c cmp r0, #12 + 800b012: bf01 itttt eq + 800b014: f8d8 2000 ldreq.w r2, [r8] + 800b018: f8b2 3360 ldrheq.w r3, [r2, #864] ; 0x360 + 800b01c: f043 0303 orreq.w r3, r3, #3 + 800b020: f8a2 3360 strheq.w r3, [r2, #864] ; 0x360 + 800b024: e7ea b.n 800affc + 800b026: bf00 nop + 800b028: 200019c4 .word 0x200019c4 + 800b02c: 200019c0 .word 0x200019c0 + 800b030: 00030d40 .word 0x00030d40 + 800b034: 0800fa0c .word 0x0800fa0c -0800b400 : - 800b400: b5f8 push {r3, r4, r5, r6, r7, lr} - 800b402: 7906 ldrb r6, [r0, #4] - 800b404: 2e01 cmp r6, #1 - 800b406: 4605 mov r5, r0 - 800b408: d801 bhi.n 800b40e - 800b40a: 2006 movs r0, #6 - 800b40c: bdf8 pop {r3, r4, r5, r6, r7, pc} - 800b40e: 2e0f cmp r6, #15 - 800b410: d82b bhi.n 800b46a - 800b412: 6803 ldr r3, [r0, #0] - 800b414: 7a18 ldrb r0, [r3, #8] - 800b416: f340 0003 sbfx r0, r0, #0, #4 - 800b41a: 2205 movs r2, #5 - 800b41c: 2100 movs r1, #0 - 800b41e: b240 sxtb r0, r0 - 800b420: f000 f8f5 bl 800b60e - 800b424: 682b ldr r3, [r5, #0] - 800b426: 4604 mov r4, r0 - 800b428: 7a18 ldrb r0, [r3, #8] - 800b42a: f340 1003 sbfx r0, r0, #4, #4 - 800b42e: 2205 movs r2, #5 - 800b430: 2100 movs r1, #0 - 800b432: b240 sxtb r0, r0 - 800b434: f000 f8eb bl 800b60e - 800b438: b1a8 cbz r0, 800b466 - 800b43a: fab4 f484 clz r4, r4 - 800b43e: 0964 lsrs r4, r4, #5 - 800b440: 6829 ldr r1, [r5, #0] - 800b442: 7a0b ldrb r3, [r1, #8] - 800b444: 6808 ldr r0, [r1, #0] - 800b446: f343 0203 sbfx r2, r3, #0, #4 - 800b44a: f343 1303 sbfx r3, r3, #4, #4 - 800b44e: b252 sxtb r2, r2 - 800b450: b25b sxtb r3, r3 - 800b452: 429a cmp r2, r3 - 800b454: bfc8 it gt - 800b456: 2401 movgt r4, #1 - 800b458: f7ff fb42 bl 800aae0 - 800b45c: b948 cbnz r0, 800b472 - 800b45e: 2c00 cmp r4, #0 - 800b460: d1d3 bne.n 800b40a - 800b462: 2004 movs r0, #4 - 800b464: e7d2 b.n 800b40c - 800b466: 2401 movs r4, #1 - 800b468: e7ea b.n 800b440 - 800b46a: 2003 movs r0, #3 - 800b46c: e7ce b.n 800b40c - 800b46e: 2005 movs r0, #5 - 800b470: e7cc b.n 800b40c - 800b472: 2c00 cmp r4, #0 - 800b474: d1fb bne.n 800b46e - 800b476: 4f0c ldr r7, [pc, #48] ; (800b4a8 ) - 800b478: 6829 ldr r1, [r5, #0] - 800b47a: 683b ldr r3, [r7, #0] - 800b47c: eb06 0046 add.w r0, r6, r6, lsl #1 - 800b480: eb03 0080 add.w r0, r3, r0, lsl #2 - 800b484: 220c movs r2, #12 - 800b486: f001 fa25 bl 800c8d4 - 800b48a: 683a ldr r2, [r7, #0] - 800b48c: 230c movs r3, #12 - 800b48e: fb03 2306 mla r3, r3, r6, r2 - 800b492: 4620 mov r0, r4 - 800b494: 725c strb r4, [r3, #9] - 800b496: f8b2 1360 ldrh.w r1, [r2, #864] ; 0x360 - 800b49a: 2301 movs r3, #1 - 800b49c: 40b3 lsls r3, r6 - 800b49e: 430b orrs r3, r1 - 800b4a0: f8a2 3360 strh.w r3, [r2, #864] ; 0x360 - 800b4a4: e7b2 b.n 800b40c - 800b4a6: bf00 nop - 800b4a8: 200019c4 .word 0x200019c4 +0800b038 : + 800b038: b5f8 push {r3, r4, r5, r6, r7, lr} + 800b03a: 7906 ldrb r6, [r0, #4] + 800b03c: 2e01 cmp r6, #1 + 800b03e: 4605 mov r5, r0 + 800b040: d801 bhi.n 800b046 + 800b042: 2006 movs r0, #6 + 800b044: bdf8 pop {r3, r4, r5, r6, r7, pc} + 800b046: 2e0f cmp r6, #15 + 800b048: d82b bhi.n 800b0a2 + 800b04a: 6803 ldr r3, [r0, #0] + 800b04c: 7a18 ldrb r0, [r3, #8] + 800b04e: f340 0003 sbfx r0, r0, #0, #4 + 800b052: 2205 movs r2, #5 + 800b054: 2100 movs r1, #0 + 800b056: b240 sxtb r0, r0 + 800b058: f000 f8f5 bl 800b246 + 800b05c: 682b ldr r3, [r5, #0] + 800b05e: 4604 mov r4, r0 + 800b060: 7a18 ldrb r0, [r3, #8] + 800b062: f340 1003 sbfx r0, r0, #4, #4 + 800b066: 2205 movs r2, #5 + 800b068: 2100 movs r1, #0 + 800b06a: b240 sxtb r0, r0 + 800b06c: f000 f8eb bl 800b246 + 800b070: b1a8 cbz r0, 800b09e + 800b072: fab4 f484 clz r4, r4 + 800b076: 0964 lsrs r4, r4, #5 + 800b078: 6829 ldr r1, [r5, #0] + 800b07a: 7a0b ldrb r3, [r1, #8] + 800b07c: 6808 ldr r0, [r1, #0] + 800b07e: f343 0203 sbfx r2, r3, #0, #4 + 800b082: f343 1303 sbfx r3, r3, #4, #4 + 800b086: b252 sxtb r2, r2 + 800b088: b25b sxtb r3, r3 + 800b08a: 429a cmp r2, r3 + 800b08c: bfc8 it gt + 800b08e: 2401 movgt r4, #1 + 800b090: f7ff fb42 bl 800a718 + 800b094: b948 cbnz r0, 800b0aa + 800b096: 2c00 cmp r4, #0 + 800b098: d1d3 bne.n 800b042 + 800b09a: 2004 movs r0, #4 + 800b09c: e7d2 b.n 800b044 + 800b09e: 2401 movs r4, #1 + 800b0a0: e7ea b.n 800b078 + 800b0a2: 2003 movs r0, #3 + 800b0a4: e7ce b.n 800b044 + 800b0a6: 2005 movs r0, #5 + 800b0a8: e7cc b.n 800b044 + 800b0aa: 2c00 cmp r4, #0 + 800b0ac: d1fb bne.n 800b0a6 + 800b0ae: 4f0c ldr r7, [pc, #48] ; (800b0e0 ) + 800b0b0: 6829 ldr r1, [r5, #0] + 800b0b2: 683b ldr r3, [r7, #0] + 800b0b4: eb06 0046 add.w r0, r6, r6, lsl #1 + 800b0b8: eb03 0080 add.w r0, r3, r0, lsl #2 + 800b0bc: 220c movs r2, #12 + 800b0be: f001 fa25 bl 800c50c + 800b0c2: 683a ldr r2, [r7, #0] + 800b0c4: 230c movs r3, #12 + 800b0c6: fb03 2306 mla r3, r3, r6, r2 + 800b0ca: 4620 mov r0, r4 + 800b0cc: 725c strb r4, [r3, #9] + 800b0ce: f8b2 1360 ldrh.w r1, [r2, #864] ; 0x360 + 800b0d2: 2301 movs r3, #1 + 800b0d4: 40b3 lsls r3, r6 + 800b0d6: 430b orrs r3, r1 + 800b0d8: f8a2 3360 strh.w r3, [r2, #864] ; 0x360 + 800b0dc: e7b2 b.n 800b044 + 800b0de: bf00 nop + 800b0e0: 200019c4 .word 0x200019c4 -0800b4ac : - 800b4ac: b410 push {r4} - 800b4ae: 7801 ldrb r1, [r0, #0] - 800b4b0: 2901 cmp r1, #1 - 800b4b2: d90e bls.n 800b4d2 - 800b4b4: 4b08 ldr r3, [pc, #32] ; (800b4d8 ) - 800b4b6: 6818 ldr r0, [r3, #0] - 800b4b8: 230c movs r3, #12 - 800b4ba: 434b muls r3, r1 - 800b4bc: 18c4 adds r4, r0, r3 - 800b4be: 2200 movs r2, #0 - 800b4c0: 50c2 str r2, [r0, r3] - 800b4c2: e9c4 2201 strd r2, r2, [r4, #4] - 800b4c6: f500 7058 add.w r0, r0, #864 ; 0x360 - 800b4ca: bc10 pop {r4} - 800b4cc: 2210 movs r2, #16 - 800b4ce: f000 b8a7 b.w 800b620 - 800b4d2: 2000 movs r0, #0 - 800b4d4: bc10 pop {r4} - 800b4d6: 4770 bx lr - 800b4d8: 200019c4 .word 0x200019c4 +0800b0e4 : + 800b0e4: b410 push {r4} + 800b0e6: 7801 ldrb r1, [r0, #0] + 800b0e8: 2901 cmp r1, #1 + 800b0ea: d90e bls.n 800b10a + 800b0ec: 4b08 ldr r3, [pc, #32] ; (800b110 ) + 800b0ee: 6818 ldr r0, [r3, #0] + 800b0f0: 230c movs r3, #12 + 800b0f2: 434b muls r3, r1 + 800b0f4: 18c4 adds r4, r0, r3 + 800b0f6: 2200 movs r2, #0 + 800b0f8: 50c2 str r2, [r0, r3] + 800b0fa: e9c4 2201 strd r2, r2, [r4, #4] + 800b0fe: f500 7058 add.w r0, r0, #864 ; 0x360 + 800b102: bc10 pop {r4} + 800b104: 2210 movs r2, #16 + 800b106: f000 b8a7 b.w 800b258 + 800b10a: 2000 movs r0, #0 + 800b10c: bc10 pop {r4} + 800b10e: 4770 bx lr + 800b110: 200019c4 .word 0x200019c4 -0800b4dc : - 800b4dc: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800b4e0: b086 sub sp, #24 - 800b4e2: 2350 movs r3, #80 ; 0x50 - 800b4e4: f88d 3014 strb.w r3, [sp, #20] - 800b4e8: 7a03 ldrb r3, [r0, #8] - 800b4ea: 2b10 cmp r3, #16 - 800b4ec: 4607 mov r7, r0 - 800b4ee: d130 bne.n 800b552 - 800b4f0: 6843 ldr r3, [r0, #4] - 800b4f2: 7bdd ldrb r5, [r3, #15] - 800b4f4: bb6d cbnz r5, 800b552 - 800b4f6: 2402 movs r4, #2 - 800b4f8: 46a8 mov r8, r5 - 800b4fa: 2664 movs r6, #100 ; 0x64 - 800b4fc: 2c06 cmp r4, #6 - 800b4fe: d814 bhi.n 800b52a - 800b500: 687a ldr r2, [r7, #4] - 800b502: 5d53 ldrb r3, [r2, r5] - 800b504: 9303 str r3, [sp, #12] - 800b506: 442a add r2, r5 - 800b508: 7851 ldrb r1, [r2, #1] - 800b50a: ea43 2301 orr.w r3, r3, r1, lsl #8 - 800b50e: 9303 str r3, [sp, #12] - 800b510: 7892 ldrb r2, [r2, #2] - 800b512: ea43 4302 orr.w r3, r3, r2, lsl #16 - 800b516: 4373 muls r3, r6 - 800b518: e9cd 3803 strd r3, r8, [sp, #12] - 800b51c: b963 cbnz r3, 800b538 - 800b51e: 4668 mov r0, sp - 800b520: f88d 4000 strb.w r4, [sp] - 800b524: f7ff ffc2 bl 800b4ac - 800b528: e00d b.n 800b546 - 800b52a: f8cd 800c str.w r8, [sp, #12] - 800b52e: f88d 8014 strb.w r8, [sp, #20] - 800b532: f8cd 8010 str.w r8, [sp, #16] - 800b536: e7f2 b.n 800b51e - 800b538: ab03 add r3, sp, #12 - 800b53a: a801 add r0, sp, #4 - 800b53c: 9301 str r3, [sp, #4] - 800b53e: f88d 4008 strb.w r4, [sp, #8] - 800b542: f7ff ff5d bl 800b400 - 800b546: 3401 adds r4, #1 - 800b548: b2e4 uxtb r4, r4 - 800b54a: 2c10 cmp r4, #16 - 800b54c: f105 0503 add.w r5, r5, #3 - 800b550: d1d4 bne.n 800b4fc - 800b552: b006 add sp, #24 - 800b554: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} +0800b114 : + 800b114: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800b118: b086 sub sp, #24 + 800b11a: 2350 movs r3, #80 ; 0x50 + 800b11c: f88d 3014 strb.w r3, [sp, #20] + 800b120: 7a03 ldrb r3, [r0, #8] + 800b122: 2b10 cmp r3, #16 + 800b124: 4607 mov r7, r0 + 800b126: d130 bne.n 800b18a + 800b128: 6843 ldr r3, [r0, #4] + 800b12a: 7bdd ldrb r5, [r3, #15] + 800b12c: bb6d cbnz r5, 800b18a + 800b12e: 2402 movs r4, #2 + 800b130: 46a8 mov r8, r5 + 800b132: 2664 movs r6, #100 ; 0x64 + 800b134: 2c06 cmp r4, #6 + 800b136: d814 bhi.n 800b162 + 800b138: 687a ldr r2, [r7, #4] + 800b13a: 5d53 ldrb r3, [r2, r5] + 800b13c: 9303 str r3, [sp, #12] + 800b13e: 442a add r2, r5 + 800b140: 7851 ldrb r1, [r2, #1] + 800b142: ea43 2301 orr.w r3, r3, r1, lsl #8 + 800b146: 9303 str r3, [sp, #12] + 800b148: 7892 ldrb r2, [r2, #2] + 800b14a: ea43 4302 orr.w r3, r3, r2, lsl #16 + 800b14e: 4373 muls r3, r6 + 800b150: e9cd 3803 strd r3, r8, [sp, #12] + 800b154: b963 cbnz r3, 800b170 + 800b156: 4668 mov r0, sp + 800b158: f88d 4000 strb.w r4, [sp] + 800b15c: f7ff ffc2 bl 800b0e4 + 800b160: e00d b.n 800b17e + 800b162: f8cd 800c str.w r8, [sp, #12] + 800b166: f88d 8014 strb.w r8, [sp, #20] + 800b16a: f8cd 8010 str.w r8, [sp, #16] + 800b16e: e7f2 b.n 800b156 + 800b170: ab03 add r3, sp, #12 + 800b172: a801 add r0, sp, #4 + 800b174: 9301 str r3, [sp, #4] + 800b176: f88d 4008 strb.w r4, [sp, #8] + 800b17a: f7ff ff5d bl 800b038 + 800b17e: 3401 adds r4, #1 + 800b180: b2e4 uxtb r4, r4 + 800b182: 2c10 cmp r4, #16 + 800b184: f105 0503 add.w r5, r5, #3 + 800b188: d1d4 bne.n 800b134 + 800b18a: b006 add sp, #24 + 800b18c: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} -0800b558 : - 800b558: b51f push {r0, r1, r2, r3, r4, lr} - 800b55a: 6802 ldr r2, [r0, #0] - 800b55c: 7903 ldrb r3, [r0, #4] - 800b55e: 6811 ldr r1, [r2, #0] - 800b560: b951 cbnz r1, 800b578 - 800b562: a801 add r0, sp, #4 - 800b564: f88d 3004 strb.w r3, [sp, #4] - 800b568: f7ff ffa0 bl 800b4ac - 800b56c: b978 cbnz r0, 800b58e - 800b56e: 2000 movs r0, #0 - 800b570: b240 sxtb r0, r0 - 800b572: b005 add sp, #20 - 800b574: f85d fb04 ldr.w pc, [sp], #4 - 800b578: a802 add r0, sp, #8 - 800b57a: 9202 str r2, [sp, #8] - 800b57c: f88d 300c strb.w r3, [sp, #12] - 800b580: f7ff ff3e bl 800b400 - 800b584: 2806 cmp r0, #6 - 800b586: d8f2 bhi.n 800b56e - 800b588: 4b02 ldr r3, [pc, #8] ; (800b594 ) - 800b58a: 5c18 ldrb r0, [r3, r0] - 800b58c: e7f0 b.n 800b570 - 800b58e: 2003 movs r0, #3 - 800b590: e7ee b.n 800b570 - 800b592: bf00 nop - 800b594: 0800fb14 .word 0x0800fb14 +0800b190 : + 800b190: b51f push {r0, r1, r2, r3, r4, lr} + 800b192: 6802 ldr r2, [r0, #0] + 800b194: 7903 ldrb r3, [r0, #4] + 800b196: 6811 ldr r1, [r2, #0] + 800b198: b951 cbnz r1, 800b1b0 + 800b19a: a801 add r0, sp, #4 + 800b19c: f88d 3004 strb.w r3, [sp, #4] + 800b1a0: f7ff ffa0 bl 800b0e4 + 800b1a4: b978 cbnz r0, 800b1c6 + 800b1a6: 2000 movs r0, #0 + 800b1a8: b240 sxtb r0, r0 + 800b1aa: b005 add sp, #20 + 800b1ac: f85d fb04 ldr.w pc, [sp], #4 + 800b1b0: a802 add r0, sp, #8 + 800b1b2: 9202 str r2, [sp, #8] + 800b1b4: f88d 300c strb.w r3, [sp, #12] + 800b1b8: f7ff ff3e bl 800b038 + 800b1bc: 2806 cmp r0, #6 + 800b1be: d8f2 bhi.n 800b1a6 + 800b1c0: 4b02 ldr r3, [pc, #8] ; (800b1cc ) + 800b1c2: 5c18 ldrb r0, [r3, r0] + 800b1c4: e7f0 b.n 800b1a8 + 800b1c6: 2003 movs r0, #3 + 800b1c8: e7ee b.n 800b1a8 + 800b1ca: bf00 nop + 800b1cc: 0800f350 .word 0x0800f350 -0800b598 : - 800b598: 00c9 lsls r1, r1, #3 - 800b59a: b920 cbnz r0, 800b5a6 - 800b59c: 4b03 ldr r3, [pc, #12] ; (800b5ac ) - 800b59e: 440b add r3, r1 - 800b5a0: 5698 ldrsb r0, [r3, r2] - 800b5a2: b2c0 uxtb r0, r0 - 800b5a4: 4770 bx lr - 800b5a6: 4b02 ldr r3, [pc, #8] ; (800b5b0 ) - 800b5a8: e7f9 b.n 800b59e - 800b5aa: bf00 nop - 800b5ac: 0800fb23 .word 0x0800fb23 - 800b5b0: 0800fb63 .word 0x0800fb63 +0800b1d0 : + 800b1d0: 00c9 lsls r1, r1, #3 + 800b1d2: b920 cbnz r0, 800b1de + 800b1d4: 4b03 ldr r3, [pc, #12] ; (800b1e4 ) + 800b1d6: 440b add r3, r1 + 800b1d8: 5698 ldrsb r0, [r3, r2] + 800b1da: b2c0 uxtb r0, r0 + 800b1dc: 4770 bx lr + 800b1de: 4b02 ldr r3, [pc, #8] ; (800b1e8 ) + 800b1e0: e7f9 b.n 800b1d6 + 800b1e2: bf00 nop + 800b1e4: 0800f35f .word 0x0800f35f + 800b1e8: 0800f39f .word 0x0800f39f -0800b5b4 : - 800b5b4: b5f0 push {r4, r5, r6, r7, lr} - 800b5b6: 429a cmp r2, r3 - 800b5b8: 9d06 ldr r5, [sp, #24] - 800b5ba: db03 blt.n 800b5c4 - 800b5bc: f99d 3014 ldrsb.w r3, [sp, #20] - 800b5c0: 429a cmp r2, r3 - 800b5c2: dd20 ble.n 800b606 - 800b5c4: 2000 movs r0, #0 - 800b5c6: bdf0 pop {r4, r5, r6, r7, pc} - 800b5c8: eb03 0343 add.w r3, r3, r3, lsl #1 - 800b5cc: f831 c014 ldrh.w ip, [r1, r4, lsl #1] - 800b5d0: eb05 0383 add.w r3, r5, r3, lsl #2 - 800b5d4: 2600 movs r6, #0 - 800b5d6: fa4c f706 asr.w r7, ip, r6 - 800b5da: 07ff lsls r7, r7, #31 - 800b5dc: d507 bpl.n 800b5ee - 800b5de: 7a1f ldrb r7, [r3, #8] - 800b5e0: f007 0e0f and.w lr, r7, #15 - 800b5e4: 4572 cmp r2, lr - 800b5e6: db02 blt.n 800b5ee - 800b5e8: ebb2 1f17 cmp.w r2, r7, lsr #4 - 800b5ec: dd0d ble.n 800b60a - 800b5ee: 3601 adds r6, #1 - 800b5f0: 2e10 cmp r6, #16 - 800b5f2: f103 030c add.w r3, r3, #12 - 800b5f6: d1ee bne.n 800b5d6 - 800b5f8: 3401 adds r4, #1 - 800b5fa: b2e4 uxtb r4, r4 - 800b5fc: 0123 lsls r3, r4, #4 - 800b5fe: b2db uxtb r3, r3 - 800b600: 4298 cmp r0, r3 - 800b602: d8e1 bhi.n 800b5c8 - 800b604: e7de b.n 800b5c4 - 800b606: 2400 movs r4, #0 - 800b608: e7f8 b.n 800b5fc - 800b60a: 2001 movs r0, #1 - 800b60c: e7db b.n 800b5c6 +0800b1ec : + 800b1ec: b5f0 push {r4, r5, r6, r7, lr} + 800b1ee: 429a cmp r2, r3 + 800b1f0: 9d06 ldr r5, [sp, #24] + 800b1f2: db03 blt.n 800b1fc + 800b1f4: f99d 3014 ldrsb.w r3, [sp, #20] + 800b1f8: 429a cmp r2, r3 + 800b1fa: dd20 ble.n 800b23e + 800b1fc: 2000 movs r0, #0 + 800b1fe: bdf0 pop {r4, r5, r6, r7, pc} + 800b200: eb03 0343 add.w r3, r3, r3, lsl #1 + 800b204: f831 c014 ldrh.w ip, [r1, r4, lsl #1] + 800b208: eb05 0383 add.w r3, r5, r3, lsl #2 + 800b20c: 2600 movs r6, #0 + 800b20e: fa4c f706 asr.w r7, ip, r6 + 800b212: 07ff lsls r7, r7, #31 + 800b214: d507 bpl.n 800b226 + 800b216: 7a1f ldrb r7, [r3, #8] + 800b218: f007 0e0f and.w lr, r7, #15 + 800b21c: 4572 cmp r2, lr + 800b21e: db02 blt.n 800b226 + 800b220: ebb2 1f17 cmp.w r2, r7, lsr #4 + 800b224: dd0d ble.n 800b242 + 800b226: 3601 adds r6, #1 + 800b228: 2e10 cmp r6, #16 + 800b22a: f103 030c add.w r3, r3, #12 + 800b22e: d1ee bne.n 800b20e + 800b230: 3401 adds r4, #1 + 800b232: b2e4 uxtb r4, r4 + 800b234: 0123 lsls r3, r4, #4 + 800b236: b2db uxtb r3, r3 + 800b238: 4298 cmp r0, r3 + 800b23a: d8e1 bhi.n 800b200 + 800b23c: e7de b.n 800b1fc + 800b23e: 2400 movs r4, #0 + 800b240: e7f8 b.n 800b234 + 800b242: 2001 movs r0, #1 + 800b244: e7db b.n 800b1fe -0800b60e : - 800b60e: 4288 cmp r0, r1 - 800b610: db04 blt.n 800b61c - 800b612: 4290 cmp r0, r2 - 800b614: bfcc ite gt - 800b616: 2000 movgt r0, #0 - 800b618: 2001 movle r0, #1 - 800b61a: 4770 bx lr - 800b61c: 2000 movs r0, #0 - 800b61e: 4770 bx lr +0800b246 : + 800b246: 4288 cmp r0, r1 + 800b248: db04 blt.n 800b254 + 800b24a: 4290 cmp r0, r2 + 800b24c: bfcc ite gt + 800b24e: 2000 movgt r0, #0 + 800b250: 2001 movle r0, #1 + 800b252: 4770 bx lr + 800b254: 2000 movs r0, #0 + 800b256: 4770 bx lr -0800b620 : - 800b620: b510 push {r4, lr} - 800b622: 0914 lsrs r4, r2, #4 - 800b624: ebb4 1f11 cmp.w r4, r1, lsr #4 - 800b628: 4603 mov r3, r0 - 800b62a: ea4f 1011 mov.w r0, r1, lsr #4 - 800b62e: d30e bcc.n 800b64e - 800b630: 4291 cmp r1, r2 - 800b632: d20c bcs.n 800b64e - 800b634: b202 sxth r2, r0 - 800b636: f001 010f and.w r1, r1, #15 - 800b63a: f833 4012 ldrh.w r4, [r3, r2, lsl #1] - 800b63e: 2001 movs r0, #1 - 800b640: fa00 f101 lsl.w r1, r0, r1 - 800b644: ea24 0101 bic.w r1, r4, r1 - 800b648: f823 1012 strh.w r1, [r3, r2, lsl #1] - 800b64c: bd10 pop {r4, pc} - 800b64e: 2000 movs r0, #0 - 800b650: e7fc b.n 800b64c +0800b258 : + 800b258: b510 push {r4, lr} + 800b25a: 0914 lsrs r4, r2, #4 + 800b25c: ebb4 1f11 cmp.w r4, r1, lsr #4 + 800b260: 4603 mov r3, r0 + 800b262: ea4f 1011 mov.w r0, r1, lsr #4 + 800b266: d30e bcc.n 800b286 + 800b268: 4291 cmp r1, r2 + 800b26a: d20c bcs.n 800b286 + 800b26c: b202 sxth r2, r0 + 800b26e: f001 010f and.w r1, r1, #15 + 800b272: f833 4012 ldrh.w r4, [r3, r2, lsl #1] + 800b276: 2001 movs r0, #1 + 800b278: fa00 f101 lsl.w r1, r0, r1 + 800b27c: ea24 0101 bic.w r1, r4, r1 + 800b280: f823 1012 strh.w r1, [r3, r2, lsl #1] + 800b284: bd10 pop {r4, pc} + 800b286: 2000 movs r0, #0 + 800b288: e7fc b.n 800b284 -0800b652 : - 800b652: b5f0 push {r4, r5, r6, r7, lr} - 800b654: b128 cbz r0, 800b662 - 800b656: eb00 0541 add.w r5, r0, r1, lsl #1 - 800b65a: 2701 movs r7, #1 - 800b65c: 2000 movs r0, #0 - 800b65e: 4291 cmp r1, r2 - 800b660: d300 bcc.n 800b664 - 800b662: bdf0 pop {r4, r5, r6, r7, pc} - 800b664: 2400 movs r4, #0 - 800b666: f835 cb02 ldrh.w ip, [r5], #2 - 800b66a: 4623 mov r3, r4 - 800b66c: fa07 f604 lsl.w r6, r7, r4 - 800b670: ea36 060c bics.w r6, r6, ip - 800b674: bf08 it eq - 800b676: 3301 addeq r3, #1 - 800b678: f104 0401 add.w r4, r4, #1 - 800b67c: bf08 it eq - 800b67e: b2db uxtbeq r3, r3 - 800b680: 2c10 cmp r4, #16 - 800b682: d1f3 bne.n 800b66c - 800b684: 4418 add r0, r3 - 800b686: 3101 adds r1, #1 - 800b688: b2c0 uxtb r0, r0 - 800b68a: b2c9 uxtb r1, r1 - 800b68c: e7e7 b.n 800b65e +0800b28a : + 800b28a: b5f0 push {r4, r5, r6, r7, lr} + 800b28c: b128 cbz r0, 800b29a + 800b28e: eb00 0541 add.w r5, r0, r1, lsl #1 + 800b292: 2701 movs r7, #1 + 800b294: 2000 movs r0, #0 + 800b296: 4291 cmp r1, r2 + 800b298: d300 bcc.n 800b29c + 800b29a: bdf0 pop {r4, r5, r6, r7, pc} + 800b29c: 2400 movs r4, #0 + 800b29e: f835 cb02 ldrh.w ip, [r5], #2 + 800b2a2: 4623 mov r3, r4 + 800b2a4: fa07 f604 lsl.w r6, r7, r4 + 800b2a8: ea36 060c bics.w r6, r6, ip + 800b2ac: bf08 it eq + 800b2ae: 3301 addeq r3, #1 + 800b2b0: f104 0401 add.w r4, r4, #1 + 800b2b4: bf08 it eq + 800b2b6: b2db uxtbeq r3, r3 + 800b2b8: 2c10 cmp r4, #16 + 800b2ba: d1f3 bne.n 800b2a4 + 800b2bc: 4418 add r0, r3 + 800b2be: 3101 adds r1, #1 + 800b2c0: b2c0 uxtb r0, r0 + 800b2c2: b2c9 uxtb r1, r1 + 800b2c4: e7e7 b.n 800b296 -0800b68e : - 800b68e: b510 push {r4, lr} - 800b690: b100 cbz r0, 800b694 - 800b692: b949 cbnz r1, 800b6a8 - 800b694: bd10 pop {r4, pc} - 800b696: f831 4013 ldrh.w r4, [r1, r3, lsl #1] - 800b69a: f820 4013 strh.w r4, [r0, r3, lsl #1] - 800b69e: 3301 adds r3, #1 - 800b6a0: b2dc uxtb r4, r3 - 800b6a2: 42a2 cmp r2, r4 - 800b6a4: d8f7 bhi.n 800b696 - 800b6a6: e7f5 b.n 800b694 - 800b6a8: 2300 movs r3, #0 - 800b6aa: e7f9 b.n 800b6a0 +0800b2c6 : + 800b2c6: b510 push {r4, lr} + 800b2c8: b100 cbz r0, 800b2cc + 800b2ca: b949 cbnz r1, 800b2e0 + 800b2cc: bd10 pop {r4, pc} + 800b2ce: f831 4013 ldrh.w r4, [r1, r3, lsl #1] + 800b2d2: f820 4013 strh.w r4, [r0, r3, lsl #1] + 800b2d6: 3301 adds r3, #1 + 800b2d8: b2dc uxtb r4, r3 + 800b2da: 42a2 cmp r2, r4 + 800b2dc: d8f7 bhi.n 800b2ce + 800b2de: e7f5 b.n 800b2cc + 800b2e0: 2300 movs r3, #0 + 800b2e2: e7f9 b.n 800b2d8 -0800b6ac : - 800b6ac: b082 sub sp, #8 - 800b6ae: b530 push {r4, r5, lr} - 800b6b0: 8804 ldrh r4, [r0, #0] - 800b6b2: 9304 str r3, [sp, #16] - 800b6b4: b96a cbnz r2, 800b6d2 - 800b6b6: f5b3 6f61 cmp.w r3, #3600 ; 0xe10 - 800b6ba: d318 bcc.n 800b6ee - 800b6bc: f649 25af movw r5, #39599 ; 0x9aaf - 800b6c0: f242 7210 movw r2, #10000 ; 0x2710 - 800b6c4: 42ab cmp r3, r5 - 800b6c6: bf98 it ls - 800b6c8: f44f 727a movls.w r2, #1000 ; 0x3e8 - 800b6cc: 4294 cmp r4, r2 - 800b6ce: bf38 it cc - 800b6d0: 4614 movcc r4, r2 - 800b6d2: 2c01 cmp r4, #1 - 800b6d4: bf38 it cc - 800b6d6: 2401 movcc r4, #1 - 800b6d8: 4361 muls r1, r4 - 800b6da: e8bd 4030 ldmia.w sp!, {r4, r5, lr} - 800b6de: 68c3 ldr r3, [r0, #12] - 800b6e0: 428b cmp r3, r1 - 800b6e2: bf8c ite hi - 800b6e4: 1a5b subhi r3, r3, r1 - 800b6e6: 2300 movls r3, #0 - 800b6e8: 60c3 str r3, [r0, #12] - 800b6ea: b002 add sp, #8 - 800b6ec: 4770 bx lr - 800b6ee: 2264 movs r2, #100 ; 0x64 - 800b6f0: e7ec b.n 800b6cc +0800b2e4 : + 800b2e4: b082 sub sp, #8 + 800b2e6: b530 push {r4, r5, lr} + 800b2e8: 8804 ldrh r4, [r0, #0] + 800b2ea: 9304 str r3, [sp, #16] + 800b2ec: b96a cbnz r2, 800b30a + 800b2ee: f5b3 6f61 cmp.w r3, #3600 ; 0xe10 + 800b2f2: d318 bcc.n 800b326 + 800b2f4: f649 25af movw r5, #39599 ; 0x9aaf + 800b2f8: f242 7210 movw r2, #10000 ; 0x2710 + 800b2fc: 42ab cmp r3, r5 + 800b2fe: bf98 it ls + 800b300: f44f 727a movls.w r2, #1000 ; 0x3e8 + 800b304: 4294 cmp r4, r2 + 800b306: bf38 it cc + 800b308: 4614 movcc r4, r2 + 800b30a: 2c01 cmp r4, #1 + 800b30c: bf38 it cc + 800b30e: 2401 movcc r4, #1 + 800b310: 4361 muls r1, r4 + 800b312: e8bd 4030 ldmia.w sp!, {r4, r5, lr} + 800b316: 68c3 ldr r3, [r0, #12] + 800b318: 428b cmp r3, r1 + 800b31a: bf8c ite hi + 800b31c: 1a5b subhi r3, r3, r1 + 800b31e: 2300 movls r3, #0 + 800b320: 60c3 str r3, [r0, #12] + 800b322: b002 add sp, #8 + 800b324: 4770 bx lr + 800b326: 2264 movs r2, #100 ; 0x64 + 800b328: e7ec b.n 800b304 ... -0800b6f4 : - 800b6f4: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800b6f8: b091 sub sp, #68 ; 0x44 - 800b6fa: 4615 mov r5, r2 - 800b6fc: f8dd 806c ldr.w r8, [sp, #108] ; 0x6c - 800b700: 9304 str r3, [sp, #16] - 800b702: f89d 3068 ldrb.w r3, [sp, #104] ; 0x68 - 800b706: 9309 str r3, [sp, #36] ; 0x24 - 800b708: 460c mov r4, r1 - 800b70a: 4606 mov r6, r0 - 800b70c: f003 fbc2 bl 800ee94 - 800b710: 4a68 ldr r2, [pc, #416] ; (800b8b4 ) - 800b712: f8df b1a4 ldr.w fp, [pc, #420] ; 800b8b8 - 800b716: 9005 str r0, [sp, #20] - 800b718: f5a8 33f6 sub.w r3, r8, #125952 ; 0x1ec00 - 800b71c: 3b30 subs r3, #48 ; 0x30 - 800b71e: fbb3 f3f2 udiv r3, r3, r2 - 800b722: 4353 muls r3, r2 - 800b724: f503 32f6 add.w r2, r3, #125952 ; 0x1ec00 - 800b728: f503 33a8 add.w r3, r3, #86016 ; 0x15000 - 800b72c: f503 73c0 add.w r3, r3, #384 ; 0x180 - 800b730: 9303 str r3, [sp, #12] - 800b732: 2318 movs r3, #24 - 800b734: fb13 4305 smlabb r3, r3, r5, r4 - 800b738: 3230 adds r2, #48 ; 0x30 - 800b73a: 9206 str r2, [sp, #24] - 800b73c: 9308 str r3, [sp, #32] - 800b73e: 2500 movs r5, #0 - 800b740: f04f 3aff mov.w sl, #4294967295 - 800b744: 9b08 ldr r3, [sp, #32] - 800b746: 42a3 cmp r3, r4 - 800b748: d107 bne.n 800b75a - 800b74a: 2d00 cmp r5, #0 - 800b74c: bf14 ite ne - 800b74e: 4650 movne r0, sl - 800b750: f04f 30ff moveq.w r0, #4294967295 - 800b754: b011 add sp, #68 ; 0x44 - 800b756: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800b75a: f9bd 3070 ldrsh.w r3, [sp, #112] ; 0x70 - 800b75e: f8ad 302c strh.w r3, [sp, #44] ; 0x2c - 800b762: 990b ldr r1, [sp, #44] ; 0x2c - 800b764: f8cd 806c str.w r8, [sp, #108] ; 0x6c - 800b768: 4640 mov r0, r8 - 800b76a: f8cd 8028 str.w r8, [sp, #40] ; 0x28 - 800b76e: f003 fb21 bl 800edb4 - 800b772: f8b4 9000 ldrh.w r9, [r4] - 800b776: b96e cbnz r6, 800b794 - 800b778: f5b8 6f61 cmp.w r8, #3600 ; 0xe10 - 800b77c: d35b bcc.n 800b836 - 800b77e: f649 22af movw r2, #39599 ; 0x9aaf - 800b782: f242 7310 movw r3, #10000 ; 0x2710 - 800b786: 4590 cmp r8, r2 - 800b788: bf98 it ls - 800b78a: f44f 737a movls.w r3, #1000 ; 0x3e8 - 800b78e: 4599 cmp r9, r3 - 800b790: bf38 it cc - 800b792: 4699 movcc r9, r3 - 800b794: 464b mov r3, r9 - 800b796: 2b01 cmp r3, #1 - 800b798: bf38 it cc - 800b79a: 2301 movcc r3, #1 - 800b79c: 9307 str r3, [sp, #28] - 800b79e: 2e00 cmp r6, #0 - 800b7a0: d152 bne.n 800b848 - 800b7a2: f1b9 0f64 cmp.w r9, #100 ; 0x64 - 800b7a6: d148 bne.n 800b83a - 800b7a8: 60a0 str r0, [r4, #8] - 800b7aa: 465f mov r7, fp - 800b7ac: 68a1 ldr r1, [r4, #8] - 800b7ae: a80e add r0, sp, #56 ; 0x38 - 800b7b0: f003 fb22 bl 800edf8 - 800b7b4: 9b0f ldr r3, [sp, #60] ; 0x3c - 800b7b6: 9300 str r3, [sp, #0] - 800b7b8: e9dd 120a ldrd r1, r2, [sp, #40] ; 0x28 - 800b7bc: 9b0e ldr r3, [sp, #56] ; 0x38 - 800b7be: a80c add r0, sp, #48 ; 0x30 - 800b7c0: f003 fa79 bl 800ecb6 - 800b7c4: 9b04 ldr r3, [sp, #16] - 800b7c6: 9a0c ldr r2, [sp, #48] ; 0x30 - 800b7c8: b90b cbnz r3, 800b7ce - 800b7ca: 9b09 ldr r3, [sp, #36] ; 0x24 - 800b7cc: b12b cbz r3, 800b7da - 800b7ce: 6923 ldr r3, [r4, #16] - 800b7d0: 42bb cmp r3, r7 - 800b7d2: d102 bne.n 800b7da - 800b7d4: 4b39 ldr r3, [pc, #228] ; (800b8bc ) - 800b7d6: 429a cmp r2, r3 - 800b7d8: d90d bls.n 800b7f6 - 800b7da: 4b39 ldr r3, [pc, #228] ; (800b8c0 ) - 800b7dc: 60e7 str r7, [r4, #12] - 800b7de: 4598 cmp r8, r3 - 800b7e0: d909 bls.n 800b7f6 - 800b7e2: 2300 movs r3, #0 - 800b7e4: f8ad 3034 strh.w r3, [sp, #52] ; 0x34 - 800b7e8: 9b06 ldr r3, [sp, #24] - 800b7ea: 990d ldr r1, [sp, #52] ; 0x34 - 800b7ec: 930c str r3, [sp, #48] ; 0x30 - 800b7ee: 4618 mov r0, r3 - 800b7f0: f003 fae0 bl 800edb4 - 800b7f4: 60a0 str r0, [r4, #8] - 800b7f6: 6860 ldr r0, [r4, #4] - 800b7f8: b900 cbnz r0, 800b7fc - 800b7fa: 60e7 str r7, [r4, #12] - 800b7fc: 6127 str r7, [r4, #16] - 800b7fe: b126 cbz r6, 800b80a - 800b800: f003 fb52 bl 800eea8 - 800b804: 68e3 ldr r3, [r4, #12] - 800b806: 4403 add r3, r0 - 800b808: 60e3 str r3, [r4, #12] - 800b80a: e9d4 3203 ldrd r3, r2, [r4, #12] - 800b80e: 4293 cmp r3, r2 - 800b810: 9b05 ldr r3, [sp, #20] - 800b812: 991d ldr r1, [sp, #116] ; 0x74 - 800b814: 6063 str r3, [r4, #4] - 800b816: 9b07 ldr r3, [sp, #28] - 800b818: bf88 it hi - 800b81a: 60e2 strhi r2, [r4, #12] - 800b81c: 434b muls r3, r1 - 800b81e: 68e1 ldr r1, [r4, #12] - 800b820: 4299 cmp r1, r3 - 800b822: d202 bcs.n 800b82a - 800b824: 9804 ldr r0, [sp, #16] - 800b826: b9a8 cbnz r0, 800b854 - 800b828: b1a6 cbz r6, 800b854 - 800b82a: 2301 movs r3, #1 - 800b82c: 441d add r5, r3 - 800b82e: 7523 strb r3, [r4, #20] - 800b830: b2ed uxtb r5, r5 - 800b832: 3418 adds r4, #24 - 800b834: e786 b.n 800b744 - 800b836: 2364 movs r3, #100 ; 0x64 - 800b838: e7a9 b.n 800b78e - 800b83a: f5b9 7f7a cmp.w r9, #1000 ; 0x3e8 - 800b83e: bf0a itet eq - 800b840: 4f20 ldreq r7, [pc, #128] ; (800b8c4 ) - 800b842: 4f21 ldrne r7, [pc, #132] ; (800b8c8 ) - 800b844: 60a0 streq r0, [r4, #8] - 800b846: e7b1 b.n 800b7ac - 800b848: 9b04 ldr r3, [sp, #16] - 800b84a: b90b cbnz r3, 800b850 - 800b84c: f8c4 b00c str.w fp, [r4, #12] - 800b850: 465f mov r7, fp - 800b852: e7d0 b.n 800b7f6 - 800b854: 2000 movs r0, #0 - 800b856: 4293 cmp r3, r2 - 800b858: 7520 strb r0, [r4, #20] - 800b85a: d806 bhi.n 800b86a - 800b85c: 1a5b subs r3, r3, r1 - 800b85e: 459a cmp sl, r3 - 800b860: f105 0501 add.w r5, r5, #1 - 800b864: bf28 it cs - 800b866: 469a movcs sl, r3 - 800b868: b2ed uxtb r5, r5 - 800b86a: 2e00 cmp r6, #0 - 800b86c: d1e1 bne.n 800b832 - 800b86e: f1b9 0f64 cmp.w r9, #100 ; 0x64 - 800b872: 4a16 ldr r2, [pc, #88] ; (800b8cc ) - 800b874: f8ad 6034 strh.w r6, [sp, #52] ; 0x34 - 800b878: d019 beq.n 800b8ae - 800b87a: f649 23b0 movw r3, #39600 ; 0x9ab0 - 800b87e: f5b9 7f7a cmp.w r9, #1000 ; 0x3e8 - 800b882: bf18 it ne - 800b884: 4613 movne r3, r2 - 800b886: 4590 cmp r8, r2 - 800b888: bf84 itt hi - 800b88a: 9a03 ldrhi r2, [sp, #12] - 800b88c: 189b addhi r3, r3, r2 - 800b88e: 930c str r3, [sp, #48] ; 0x30 - 800b890: 9b1c ldr r3, [sp, #112] ; 0x70 - 800b892: 9300 str r3, [sp, #0] - 800b894: af0c add r7, sp, #48 ; 0x30 - 800b896: e897 0006 ldmia.w r7, {r1, r2} - 800b89a: 9b1b ldr r3, [sp, #108] ; 0x6c - 800b89c: 4638 mov r0, r7 - 800b89e: f003 fa0a bl 800ecb6 - 800b8a2: e897 0003 ldmia.w r7, {r0, r1} - 800b8a6: f003 fa85 bl 800edb4 - 800b8aa: 4682 mov sl, r0 - 800b8ac: e7c1 b.n 800b832 - 800b8ae: f44f 6361 mov.w r3, #3600 ; 0xe10 - 800b8b2: e7e8 b.n 800b886 - 800b8b4: 00015180 .word 0x00015180 - 800b8b8: 001b7740 .word 0x001b7740 - 800b8bc: 0001517f .word 0x0001517f - 800b8c0: 0001ec2f .word 0x0001ec2f - 800b8c4: 0112a880 .word 0x0112a880 - 800b8c8: 02932e00 .word 0x02932e00 - 800b8cc: 0001ec30 .word 0x0001ec30 +0800b32c : + 800b32c: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800b330: b091 sub sp, #68 ; 0x44 + 800b332: 4615 mov r5, r2 + 800b334: f8dd 806c ldr.w r8, [sp, #108] ; 0x6c + 800b338: 9304 str r3, [sp, #16] + 800b33a: f89d 3068 ldrb.w r3, [sp, #104] ; 0x68 + 800b33e: 9309 str r3, [sp, #36] ; 0x24 + 800b340: 460c mov r4, r1 + 800b342: 4606 mov r6, r0 + 800b344: f003 fbc2 bl 800eacc + 800b348: 4a68 ldr r2, [pc, #416] ; (800b4ec ) + 800b34a: f8df b1a4 ldr.w fp, [pc, #420] ; 800b4f0 + 800b34e: 9005 str r0, [sp, #20] + 800b350: f5a8 33f6 sub.w r3, r8, #125952 ; 0x1ec00 + 800b354: 3b30 subs r3, #48 ; 0x30 + 800b356: fbb3 f3f2 udiv r3, r3, r2 + 800b35a: 4353 muls r3, r2 + 800b35c: f503 32f6 add.w r2, r3, #125952 ; 0x1ec00 + 800b360: f503 33a8 add.w r3, r3, #86016 ; 0x15000 + 800b364: f503 73c0 add.w r3, r3, #384 ; 0x180 + 800b368: 9303 str r3, [sp, #12] + 800b36a: 2318 movs r3, #24 + 800b36c: fb13 4305 smlabb r3, r3, r5, r4 + 800b370: 3230 adds r2, #48 ; 0x30 + 800b372: 9206 str r2, [sp, #24] + 800b374: 9308 str r3, [sp, #32] + 800b376: 2500 movs r5, #0 + 800b378: f04f 3aff mov.w sl, #4294967295 + 800b37c: 9b08 ldr r3, [sp, #32] + 800b37e: 42a3 cmp r3, r4 + 800b380: d107 bne.n 800b392 + 800b382: 2d00 cmp r5, #0 + 800b384: bf14 ite ne + 800b386: 4650 movne r0, sl + 800b388: f04f 30ff moveq.w r0, #4294967295 + 800b38c: b011 add sp, #68 ; 0x44 + 800b38e: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800b392: f9bd 3070 ldrsh.w r3, [sp, #112] ; 0x70 + 800b396: f8ad 302c strh.w r3, [sp, #44] ; 0x2c + 800b39a: 990b ldr r1, [sp, #44] ; 0x2c + 800b39c: f8cd 806c str.w r8, [sp, #108] ; 0x6c + 800b3a0: 4640 mov r0, r8 + 800b3a2: f8cd 8028 str.w r8, [sp, #40] ; 0x28 + 800b3a6: f003 fb21 bl 800e9ec + 800b3aa: f8b4 9000 ldrh.w r9, [r4] + 800b3ae: b96e cbnz r6, 800b3cc + 800b3b0: f5b8 6f61 cmp.w r8, #3600 ; 0xe10 + 800b3b4: d35b bcc.n 800b46e + 800b3b6: f649 22af movw r2, #39599 ; 0x9aaf + 800b3ba: f242 7310 movw r3, #10000 ; 0x2710 + 800b3be: 4590 cmp r8, r2 + 800b3c0: bf98 it ls + 800b3c2: f44f 737a movls.w r3, #1000 ; 0x3e8 + 800b3c6: 4599 cmp r9, r3 + 800b3c8: bf38 it cc + 800b3ca: 4699 movcc r9, r3 + 800b3cc: 464b mov r3, r9 + 800b3ce: 2b01 cmp r3, #1 + 800b3d0: bf38 it cc + 800b3d2: 2301 movcc r3, #1 + 800b3d4: 9307 str r3, [sp, #28] + 800b3d6: 2e00 cmp r6, #0 + 800b3d8: d152 bne.n 800b480 + 800b3da: f1b9 0f64 cmp.w r9, #100 ; 0x64 + 800b3de: d148 bne.n 800b472 + 800b3e0: 60a0 str r0, [r4, #8] + 800b3e2: 465f mov r7, fp + 800b3e4: 68a1 ldr r1, [r4, #8] + 800b3e6: a80e add r0, sp, #56 ; 0x38 + 800b3e8: f003 fb22 bl 800ea30 + 800b3ec: 9b0f ldr r3, [sp, #60] ; 0x3c + 800b3ee: 9300 str r3, [sp, #0] + 800b3f0: e9dd 120a ldrd r1, r2, [sp, #40] ; 0x28 + 800b3f4: 9b0e ldr r3, [sp, #56] ; 0x38 + 800b3f6: a80c add r0, sp, #48 ; 0x30 + 800b3f8: f003 fa79 bl 800e8ee + 800b3fc: 9b04 ldr r3, [sp, #16] + 800b3fe: 9a0c ldr r2, [sp, #48] ; 0x30 + 800b400: b90b cbnz r3, 800b406 + 800b402: 9b09 ldr r3, [sp, #36] ; 0x24 + 800b404: b12b cbz r3, 800b412 + 800b406: 6923 ldr r3, [r4, #16] + 800b408: 42bb cmp r3, r7 + 800b40a: d102 bne.n 800b412 + 800b40c: 4b39 ldr r3, [pc, #228] ; (800b4f4 ) + 800b40e: 429a cmp r2, r3 + 800b410: d90d bls.n 800b42e + 800b412: 4b39 ldr r3, [pc, #228] ; (800b4f8 ) + 800b414: 60e7 str r7, [r4, #12] + 800b416: 4598 cmp r8, r3 + 800b418: d909 bls.n 800b42e + 800b41a: 2300 movs r3, #0 + 800b41c: f8ad 3034 strh.w r3, [sp, #52] ; 0x34 + 800b420: 9b06 ldr r3, [sp, #24] + 800b422: 990d ldr r1, [sp, #52] ; 0x34 + 800b424: 930c str r3, [sp, #48] ; 0x30 + 800b426: 4618 mov r0, r3 + 800b428: f003 fae0 bl 800e9ec + 800b42c: 60a0 str r0, [r4, #8] + 800b42e: 6860 ldr r0, [r4, #4] + 800b430: b900 cbnz r0, 800b434 + 800b432: 60e7 str r7, [r4, #12] + 800b434: 6127 str r7, [r4, #16] + 800b436: b126 cbz r6, 800b442 + 800b438: f003 fb52 bl 800eae0 + 800b43c: 68e3 ldr r3, [r4, #12] + 800b43e: 4403 add r3, r0 + 800b440: 60e3 str r3, [r4, #12] + 800b442: e9d4 3203 ldrd r3, r2, [r4, #12] + 800b446: 4293 cmp r3, r2 + 800b448: 9b05 ldr r3, [sp, #20] + 800b44a: 991d ldr r1, [sp, #116] ; 0x74 + 800b44c: 6063 str r3, [r4, #4] + 800b44e: 9b07 ldr r3, [sp, #28] + 800b450: bf88 it hi + 800b452: 60e2 strhi r2, [r4, #12] + 800b454: 434b muls r3, r1 + 800b456: 68e1 ldr r1, [r4, #12] + 800b458: 4299 cmp r1, r3 + 800b45a: d202 bcs.n 800b462 + 800b45c: 9804 ldr r0, [sp, #16] + 800b45e: b9a8 cbnz r0, 800b48c + 800b460: b1a6 cbz r6, 800b48c + 800b462: 2301 movs r3, #1 + 800b464: 441d add r5, r3 + 800b466: 7523 strb r3, [r4, #20] + 800b468: b2ed uxtb r5, r5 + 800b46a: 3418 adds r4, #24 + 800b46c: e786 b.n 800b37c + 800b46e: 2364 movs r3, #100 ; 0x64 + 800b470: e7a9 b.n 800b3c6 + 800b472: f5b9 7f7a cmp.w r9, #1000 ; 0x3e8 + 800b476: bf0a itet eq + 800b478: 4f20 ldreq r7, [pc, #128] ; (800b4fc ) + 800b47a: 4f21 ldrne r7, [pc, #132] ; (800b500 ) + 800b47c: 60a0 streq r0, [r4, #8] + 800b47e: e7b1 b.n 800b3e4 + 800b480: 9b04 ldr r3, [sp, #16] + 800b482: b90b cbnz r3, 800b488 + 800b484: f8c4 b00c str.w fp, [r4, #12] + 800b488: 465f mov r7, fp + 800b48a: e7d0 b.n 800b42e + 800b48c: 2000 movs r0, #0 + 800b48e: 4293 cmp r3, r2 + 800b490: 7520 strb r0, [r4, #20] + 800b492: d806 bhi.n 800b4a2 + 800b494: 1a5b subs r3, r3, r1 + 800b496: 459a cmp sl, r3 + 800b498: f105 0501 add.w r5, r5, #1 + 800b49c: bf28 it cs + 800b49e: 469a movcs sl, r3 + 800b4a0: b2ed uxtb r5, r5 + 800b4a2: 2e00 cmp r6, #0 + 800b4a4: d1e1 bne.n 800b46a + 800b4a6: f1b9 0f64 cmp.w r9, #100 ; 0x64 + 800b4aa: 4a16 ldr r2, [pc, #88] ; (800b504 ) + 800b4ac: f8ad 6034 strh.w r6, [sp, #52] ; 0x34 + 800b4b0: d019 beq.n 800b4e6 + 800b4b2: f649 23b0 movw r3, #39600 ; 0x9ab0 + 800b4b6: f5b9 7f7a cmp.w r9, #1000 ; 0x3e8 + 800b4ba: bf18 it ne + 800b4bc: 4613 movne r3, r2 + 800b4be: 4590 cmp r8, r2 + 800b4c0: bf84 itt hi + 800b4c2: 9a03 ldrhi r2, [sp, #12] + 800b4c4: 189b addhi r3, r3, r2 + 800b4c6: 930c str r3, [sp, #48] ; 0x30 + 800b4c8: 9b1c ldr r3, [sp, #112] ; 0x70 + 800b4ca: 9300 str r3, [sp, #0] + 800b4cc: af0c add r7, sp, #48 ; 0x30 + 800b4ce: e897 0006 ldmia.w r7, {r1, r2} + 800b4d2: 9b1b ldr r3, [sp, #108] ; 0x6c + 800b4d4: 4638 mov r0, r7 + 800b4d6: f003 fa0a bl 800e8ee + 800b4da: e897 0003 ldmia.w r7, {r0, r1} + 800b4de: f003 fa85 bl 800e9ec + 800b4e2: 4682 mov sl, r0 + 800b4e4: e7c1 b.n 800b46a + 800b4e6: f44f 6361 mov.w r3, #3600 ; 0xe10 + 800b4ea: e7e8 b.n 800b4be + 800b4ec: 00015180 .word 0x00015180 + 800b4f0: 001b7740 .word 0x001b7740 + 800b4f4: 0001517f .word 0x0001517f + 800b4f8: 0001ec2f .word 0x0001ec2f + 800b4fc: 0112a880 .word 0x0112a880 + 800b500: 02932e00 .word 0x02932e00 + 800b504: 0001ec30 .word 0x0001ec30 -0800b8d0 : - 800b8d0: 7803 ldrb r3, [r0, #0] - 800b8d2: 2b03 cmp r3, #3 - 800b8d4: d114 bne.n 800b900 - 800b8d6: 7843 ldrb r3, [r0, #1] - 800b8d8: f003 020f and.w r2, r3, #15 - 800b8dc: 091b lsrs r3, r3, #4 - 800b8de: 708a strb r2, [r1, #2] - 800b8e0: 704b strb r3, [r1, #1] - 800b8e2: 7883 ldrb r3, [r0, #2] - 800b8e4: 808b strh r3, [r1, #4] - 800b8e6: 78c2 ldrb r2, [r0, #3] - 800b8e8: ea43 2302 orr.w r3, r3, r2, lsl #8 - 800b8ec: 808b strh r3, [r1, #4] - 800b8ee: 7903 ldrb r3, [r0, #4] - 800b8f0: f3c3 1202 ubfx r2, r3, #4, #3 - 800b8f4: f003 030f and.w r3, r3, #15 - 800b8f8: 70ca strb r2, [r1, #3] - 800b8fa: 700b strb r3, [r1, #0] - 800b8fc: 2005 movs r0, #5 - 800b8fe: 4770 bx lr - 800b900: 2000 movs r0, #0 - 800b902: 4770 bx lr +0800b508 : + 800b508: 7803 ldrb r3, [r0, #0] + 800b50a: 2b03 cmp r3, #3 + 800b50c: d114 bne.n 800b538 + 800b50e: 7843 ldrb r3, [r0, #1] + 800b510: f003 020f and.w r2, r3, #15 + 800b514: 091b lsrs r3, r3, #4 + 800b516: 708a strb r2, [r1, #2] + 800b518: 704b strb r3, [r1, #1] + 800b51a: 7883 ldrb r3, [r0, #2] + 800b51c: 808b strh r3, [r1, #4] + 800b51e: 78c2 ldrb r2, [r0, #3] + 800b520: ea43 2302 orr.w r3, r3, r2, lsl #8 + 800b524: 808b strh r3, [r1, #4] + 800b526: 7903 ldrb r3, [r0, #4] + 800b528: f3c3 1202 ubfx r2, r3, #4, #3 + 800b52c: f003 030f and.w r3, r3, #15 + 800b530: 70ca strb r2, [r1, #3] + 800b532: 700b strb r3, [r1, #0] + 800b534: 2005 movs r0, #5 + 800b536: 4770 bx lr + 800b538: 2000 movs r0, #0 + 800b53a: 4770 bx lr -0800b904 : - 800b904: e92d 47f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, r9, sl, lr} - 800b908: 4698 mov r8, r3 - 800b90a: 7943 ldrb r3, [r0, #5] - 800b90c: 7905 ldrb r5, [r0, #4] - 800b90e: f990 6007 ldrsb.w r6, [r0, #7] - 800b912: 4691 mov r9, r2 - 800b914: 4604 mov r4, r0 - 800b916: f990 2006 ldrsb.w r2, [r0, #6] - 800b91a: 468a mov sl, r1 - 800b91c: b183 cbz r3, 800b940 - 800b91e: f990 7008 ldrsb.w r7, [r0, #8] - 800b922: b375 cbz r5, 800b982 - 800b924: 2a0f cmp r2, #15 - 800b926: d112 bne.n 800b94e - 800b928: f994 2009 ldrsb.w r2, [r4, #9] - 800b92c: 2e0f cmp r6, #15 - 800b92e: d11e bne.n 800b96e - 800b930: f994 600a ldrsb.w r6, [r4, #10] - 800b934: 2d07 cmp r5, #7 - 800b936: d124 bne.n 800b982 - 800b938: 2f00 cmp r7, #0 - 800b93a: bf08 it eq - 800b93c: 2701 moveq r7, #1 - 800b93e: e020 b.n 800b982 - 800b940: f990 700b ldrsb.w r7, [r0, #11] - 800b944: f990 2009 ldrsb.w r2, [r0, #9] - 800b948: f990 600a ldrsb.w r6, [r0, #10] - 800b94c: e7e9 b.n 800b922 - 800b94e: 69a3 ldr r3, [r4, #24] - 800b950: 9301 str r3, [sp, #4] - 800b952: f994 3015 ldrsb.w r3, [r4, #21] - 800b956: 9300 str r3, [sp, #0] - 800b958: 6921 ldr r1, [r4, #16] - 800b95a: f994 3014 ldrsb.w r3, [r4, #20] - 800b95e: 7b20 ldrb r0, [r4, #12] - 800b960: f7ff fe28 bl 800b5b4 - 800b964: 2800 cmp r0, #0 - 800b966: d1e1 bne.n 800b92c - 800b968: f005 05fd and.w r5, r5, #253 ; 0xfd - 800b96c: e7de b.n 800b92c - 800b96e: f994 301d ldrsb.w r3, [r4, #29] - 800b972: 42b3 cmp r3, r6 - 800b974: dc0f bgt.n 800b996 - 800b976: f994 301c ldrsb.w r3, [r4, #28] - 800b97a: 42b3 cmp r3, r6 - 800b97c: dada bge.n 800b934 - 800b97e: f005 05fb and.w r5, r5, #251 ; 0xfb - 800b982: 4628 mov r0, r5 - 800b984: f88a 2000 strb.w r2, [sl] - 800b988: f889 6000 strb.w r6, [r9] - 800b98c: f888 7000 strb.w r7, [r8] - 800b990: b002 add sp, #8 - 800b992: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 800b996: 461e mov r6, r3 - 800b998: e7cc b.n 800b934 +0800b53c : + 800b53c: e92d 47f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, r9, sl, lr} + 800b540: 4698 mov r8, r3 + 800b542: 7943 ldrb r3, [r0, #5] + 800b544: 7905 ldrb r5, [r0, #4] + 800b546: f990 6007 ldrsb.w r6, [r0, #7] + 800b54a: 4691 mov r9, r2 + 800b54c: 4604 mov r4, r0 + 800b54e: f990 2006 ldrsb.w r2, [r0, #6] + 800b552: 468a mov sl, r1 + 800b554: b183 cbz r3, 800b578 + 800b556: f990 7008 ldrsb.w r7, [r0, #8] + 800b55a: b375 cbz r5, 800b5ba + 800b55c: 2a0f cmp r2, #15 + 800b55e: d112 bne.n 800b586 + 800b560: f994 2009 ldrsb.w r2, [r4, #9] + 800b564: 2e0f cmp r6, #15 + 800b566: d11e bne.n 800b5a6 + 800b568: f994 600a ldrsb.w r6, [r4, #10] + 800b56c: 2d07 cmp r5, #7 + 800b56e: d124 bne.n 800b5ba + 800b570: 2f00 cmp r7, #0 + 800b572: bf08 it eq + 800b574: 2701 moveq r7, #1 + 800b576: e020 b.n 800b5ba + 800b578: f990 700b ldrsb.w r7, [r0, #11] + 800b57c: f990 2009 ldrsb.w r2, [r0, #9] + 800b580: f990 600a ldrsb.w r6, [r0, #10] + 800b584: e7e9 b.n 800b55a + 800b586: 69a3 ldr r3, [r4, #24] + 800b588: 9301 str r3, [sp, #4] + 800b58a: f994 3015 ldrsb.w r3, [r4, #21] + 800b58e: 9300 str r3, [sp, #0] + 800b590: 6921 ldr r1, [r4, #16] + 800b592: f994 3014 ldrsb.w r3, [r4, #20] + 800b596: 7b20 ldrb r0, [r4, #12] + 800b598: f7ff fe28 bl 800b1ec + 800b59c: 2800 cmp r0, #0 + 800b59e: d1e1 bne.n 800b564 + 800b5a0: f005 05fd and.w r5, r5, #253 ; 0xfd + 800b5a4: e7de b.n 800b564 + 800b5a6: f994 301d ldrsb.w r3, [r4, #29] + 800b5aa: 42b3 cmp r3, r6 + 800b5ac: dc0f bgt.n 800b5ce + 800b5ae: f994 301c ldrsb.w r3, [r4, #28] + 800b5b2: 42b3 cmp r3, r6 + 800b5b4: dada bge.n 800b56c + 800b5b6: f005 05fb and.w r5, r5, #251 ; 0xfb + 800b5ba: 4628 mov r0, r5 + 800b5bc: f88a 2000 strb.w r2, [sl] + 800b5c0: f889 6000 strb.w r6, [r9] + 800b5c4: f888 7000 strb.w r7, [r8] + 800b5c8: b002 add sp, #8 + 800b5ca: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 800b5ce: 461e mov r6, r3 + 800b5d0: e7cc b.n 800b56c ... -0800b99c : - 800b99c: 4b02 ldr r3, [pc, #8] ; (800b9a8 ) - 800b99e: fa03 f000 lsl.w r0, r3, r0 - 800b9a2: fbb0 f0f1 udiv r0, r0, r1 - 800b9a6: 4770 bx lr - 800b9a8: 000f4240 .word 0x000f4240 +0800b5d4 : + 800b5d4: 4b02 ldr r3, [pc, #8] ; (800b5e0 ) + 800b5d6: fa03 f000 lsl.w r0, r3, r0 + 800b5da: fbb0 f0f1 udiv r0, r0, r1 + 800b5de: 4770 bx lr + 800b5e0: 000f4240 .word 0x000f4240 -0800b9ac : - 800b9ac: f44f 53fa mov.w r3, #8000 ; 0x1f40 - 800b9b0: fbb3 f0f0 udiv r0, r3, r0 - 800b9b4: 4770 bx lr +0800b5e4 : + 800b5e4: f44f 53fa mov.w r3, #8000 ; 0x1f40 + 800b5e8: fbb3 f0f0 udiv r0, r3, r0 + 800b5ec: 4770 bx lr -0800b9b6 : - 800b9b6: b530 push {r4, r5, lr} - 800b9b8: f44f 757a mov.w r5, #1000 ; 0x3e8 - 800b9bc: 1f0c subs r4, r1, #4 - 800b9be: 436a muls r2, r5 - 800b9c0: fb00 2204 mla r2, r0, r4, r2 - 800b9c4: 0052 lsls r2, r2, #1 - 800b9c6: bf1e ittt ne - 800b9c8: f100 34ff addne.w r4, r0, #4294967295 - 800b9cc: 1912 addne r2, r2, r4 - 800b9ce: fbb2 f2f0 udivne r2, r2, r0 - 800b9d2: 4291 cmp r1, r2 - 800b9d4: bf38 it cc - 800b9d6: 4611 movcc r1, r2 - 800b9d8: 9a03 ldr r2, [sp, #12] - 800b9da: 6011 str r1, [r2, #0] - 800b9dc: 0082 lsls r2, r0, #2 - 800b9de: 4348 muls r0, r1 - 800b9e0: bf1c itt ne - 800b9e2: 3001 addne r0, #1 - 800b9e4: 0840 lsrne r0, r0, #1 - 800b9e6: f44f 717a mov.w r1, #1000 ; 0x3e8 - 800b9ea: 1a12 subs r2, r2, r0 - 800b9ec: fb01 2313 mls r3, r1, r3, r2 - 800b9f0: 2b00 cmp r3, #0 - 800b9f2: bfca itet gt - 800b9f4: f203 33e7 addwgt r3, r3, #999 ; 0x3e7 - 800b9f8: fb93 f1f1 sdivle r1, r3, r1 - 800b9fc: fbb3 f1f1 udivgt r1, r3, r1 - 800ba00: 9b04 ldr r3, [sp, #16] - 800ba02: 6019 str r1, [r3, #0] - 800ba04: bd30 pop {r4, r5, pc} +0800b5ee : + 800b5ee: b530 push {r4, r5, lr} + 800b5f0: f44f 757a mov.w r5, #1000 ; 0x3e8 + 800b5f4: 1f0c subs r4, r1, #4 + 800b5f6: 436a muls r2, r5 + 800b5f8: fb00 2204 mla r2, r0, r4, r2 + 800b5fc: 0052 lsls r2, r2, #1 + 800b5fe: bf1e ittt ne + 800b600: f100 34ff addne.w r4, r0, #4294967295 + 800b604: 1912 addne r2, r2, r4 + 800b606: fbb2 f2f0 udivne r2, r2, r0 + 800b60a: 4291 cmp r1, r2 + 800b60c: bf38 it cc + 800b60e: 4611 movcc r1, r2 + 800b610: 9a03 ldr r2, [sp, #12] + 800b612: 6011 str r1, [r2, #0] + 800b614: 0082 lsls r2, r0, #2 + 800b616: 4348 muls r0, r1 + 800b618: bf1c itt ne + 800b61a: 3001 addne r0, #1 + 800b61c: 0840 lsrne r0, r0, #1 + 800b61e: f44f 717a mov.w r1, #1000 ; 0x3e8 + 800b622: 1a12 subs r2, r2, r0 + 800b624: fb01 2313 mls r3, r1, r3, r2 + 800b628: 2b00 cmp r3, #0 + 800b62a: bfca itet gt + 800b62c: f203 33e7 addwgt r3, r3, #999 ; 0x3e7 + 800b630: fb93 f1f1 sdivle r1, r3, r1 + 800b634: fbb3 f1f1 udivgt r1, r3, r1 + 800b638: 9b04 ldr r3, [sp, #16] + 800b63a: 6019 str r1, [r3, #0] + 800b63c: bd30 pop {r4, r5, pc} -0800ba06 : - 800ba06: b538 push {r3, r4, r5, lr} - 800ba08: 0040 lsls r0, r0, #1 - 800ba0a: 4614 mov r4, r2 - 800ba0c: 460d mov r5, r1 - 800ba0e: f7f4 fedd bl 80007cc <__aeabi_ui2f> - 800ba12: 4601 mov r1, r0 - 800ba14: 4628 mov r0, r5 - 800ba16: f7f4 fe27 bl 8000668 <__aeabi_fsub> - 800ba1a: 4621 mov r1, r4 - 800ba1c: f7f4 fe24 bl 8000668 <__aeabi_fsub> - 800ba20: f7f4 fd16 bl 8000450 <__aeabi_f2d> - 800ba24: f003 fca8 bl 800f378 - 800ba28: f7f4 fdf2 bl 8000610 <__aeabi_d2iz> - 800ba2c: b240 sxtb r0, r0 - 800ba2e: bd38 pop {r3, r4, r5, pc} +0800b63e : + 800b63e: b538 push {r3, r4, r5, lr} + 800b640: 0040 lsls r0, r0, #1 + 800b642: 4614 mov r4, r2 + 800b644: 460d mov r5, r1 + 800b646: f7f5 f8c1 bl 80007cc <__aeabi_ui2f> + 800b64a: 4601 mov r1, r0 + 800b64c: 4628 mov r0, r5 + 800b64e: f7f5 f80b bl 8000668 <__aeabi_fsub> + 800b652: 4621 mov r1, r4 + 800b654: f7f5 f808 bl 8000668 <__aeabi_fsub> + 800b658: f7f4 fefa bl 8000450 <__aeabi_f2d> + 800b65c: f003 fca8 bl 800efb0 + 800b660: f7f4 ffd6 bl 8000610 <__aeabi_d2iz> + 800b664: b240 sxtb r0, r0 + 800b666: bd38 pop {r3, r4, r5, pc} -0800ba30 : - 800ba30: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800ba34: 9301 str r3, [sp, #4] - 800ba36: 2300 movs r3, #0 - 800ba38: 461f mov r7, r3 - 800ba3a: 469c mov ip, r3 - 800ba3c: 011c lsls r4, r3, #4 - 800ba3e: 8a05 ldrh r5, [r0, #16] - 800ba40: fa5f fe84 uxtb.w lr, r4 - 800ba44: f004 04f0 and.w r4, r4, #240 ; 0xf0 - 800ba48: 42a5 cmp r5, r4 - 800ba4a: d806 bhi.n 800ba5a - 800ba4c: 9b01 ldr r3, [sp, #4] - 800ba4e: f882 c000 strb.w ip, [r2] - 800ba52: 701f strb r7, [r3, #0] - 800ba54: b003 add sp, #12 - 800ba56: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800ba5a: eb0e 054e add.w r5, lr, lr, lsl #1 - 800ba5e: ea4f 0943 mov.w r9, r3, lsl #1 - 800ba62: 00ad lsls r5, r5, #2 - 800ba64: 2400 movs r4, #0 - 800ba66: 6846 ldr r6, [r0, #4] - 800ba68: f836 6009 ldrh.w r6, [r6, r9] - 800ba6c: 4126 asrs r6, r4 - 800ba6e: 07f6 lsls r6, r6, #31 - 800ba70: d527 bpl.n 800bac2 - 800ba72: 6886 ldr r6, [r0, #8] - 800ba74: eb06 0a05 add.w sl, r6, r5 - 800ba78: 5976 ldr r6, [r6, r5] - 800ba7a: b316 cbz r6, 800bac2 - 800ba7c: 7806 ldrb r6, [r0, #0] - 800ba7e: b936 cbnz r6, 800ba8e - 800ba80: 6946 ldr r6, [r0, #20] - 800ba82: b126 cbz r6, 800ba8e - 800ba84: f836 6009 ldrh.w r6, [r6, r9] - 800ba88: 4126 asrs r6, r4 - 800ba8a: 07f6 lsls r6, r6, #31 - 800ba8c: d519 bpl.n 800bac2 - 800ba8e: f89a 6008 ldrb.w r6, [sl, #8] - 800ba92: f990 b001 ldrsb.w fp, [r0, #1] - 800ba96: f346 0803 sbfx r8, r6, #0, #4 - 800ba9a: fa4f f888 sxtb.w r8, r8 - 800ba9e: 45d8 cmp r8, fp - 800baa0: dc0f bgt.n 800bac2 - 800baa2: f346 1603 sbfx r6, r6, #4, #4 - 800baa6: b276 sxtb r6, r6 - 800baa8: 455e cmp r6, fp - 800baaa: db0a blt.n 800bac2 - 800baac: f89a 6009 ldrb.w r6, [sl, #9] - 800bab0: eb06 0846 add.w r8, r6, r6, lsl #1 - 800bab4: 68c6 ldr r6, [r0, #12] - 800bab6: eb06 06c8 add.w r6, r6, r8, lsl #3 - 800baba: 7d36 ldrb r6, [r6, #20] - 800babc: b94e cbnz r6, 800bad2 - 800babe: 3701 adds r7, #1 - 800bac0: b2ff uxtb r7, r7 - 800bac2: 3401 adds r4, #1 - 800bac4: 2c10 cmp r4, #16 - 800bac6: f105 050c add.w r5, r5, #12 - 800baca: d1cc bne.n 800ba66 - 800bacc: 3301 adds r3, #1 - 800bace: b2db uxtb r3, r3 - 800bad0: e7b4 b.n 800ba3c - 800bad2: f10c 0601 add.w r6, ip, #1 - 800bad6: eb0e 0804 add.w r8, lr, r4 - 800bada: f801 800c strb.w r8, [r1, ip] - 800bade: fa5f fc86 uxtb.w ip, r6 - 800bae2: e7ee b.n 800bac2 +0800b668 : + 800b668: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800b66c: 9301 str r3, [sp, #4] + 800b66e: 2300 movs r3, #0 + 800b670: 461f mov r7, r3 + 800b672: 469c mov ip, r3 + 800b674: 011c lsls r4, r3, #4 + 800b676: 8a05 ldrh r5, [r0, #16] + 800b678: fa5f fe84 uxtb.w lr, r4 + 800b67c: f004 04f0 and.w r4, r4, #240 ; 0xf0 + 800b680: 42a5 cmp r5, r4 + 800b682: d806 bhi.n 800b692 + 800b684: 9b01 ldr r3, [sp, #4] + 800b686: f882 c000 strb.w ip, [r2] + 800b68a: 701f strb r7, [r3, #0] + 800b68c: b003 add sp, #12 + 800b68e: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800b692: eb0e 054e add.w r5, lr, lr, lsl #1 + 800b696: ea4f 0943 mov.w r9, r3, lsl #1 + 800b69a: 00ad lsls r5, r5, #2 + 800b69c: 2400 movs r4, #0 + 800b69e: 6846 ldr r6, [r0, #4] + 800b6a0: f836 6009 ldrh.w r6, [r6, r9] + 800b6a4: 4126 asrs r6, r4 + 800b6a6: 07f6 lsls r6, r6, #31 + 800b6a8: d527 bpl.n 800b6fa + 800b6aa: 6886 ldr r6, [r0, #8] + 800b6ac: eb06 0a05 add.w sl, r6, r5 + 800b6b0: 5976 ldr r6, [r6, r5] + 800b6b2: b316 cbz r6, 800b6fa + 800b6b4: 7806 ldrb r6, [r0, #0] + 800b6b6: b936 cbnz r6, 800b6c6 + 800b6b8: 6946 ldr r6, [r0, #20] + 800b6ba: b126 cbz r6, 800b6c6 + 800b6bc: f836 6009 ldrh.w r6, [r6, r9] + 800b6c0: 4126 asrs r6, r4 + 800b6c2: 07f6 lsls r6, r6, #31 + 800b6c4: d519 bpl.n 800b6fa + 800b6c6: f89a 6008 ldrb.w r6, [sl, #8] + 800b6ca: f990 b001 ldrsb.w fp, [r0, #1] + 800b6ce: f346 0803 sbfx r8, r6, #0, #4 + 800b6d2: fa4f f888 sxtb.w r8, r8 + 800b6d6: 45d8 cmp r8, fp + 800b6d8: dc0f bgt.n 800b6fa + 800b6da: f346 1603 sbfx r6, r6, #4, #4 + 800b6de: b276 sxtb r6, r6 + 800b6e0: 455e cmp r6, fp + 800b6e2: db0a blt.n 800b6fa + 800b6e4: f89a 6009 ldrb.w r6, [sl, #9] + 800b6e8: eb06 0846 add.w r8, r6, r6, lsl #1 + 800b6ec: 68c6 ldr r6, [r0, #12] + 800b6ee: eb06 06c8 add.w r6, r6, r8, lsl #3 + 800b6f2: 7d36 ldrb r6, [r6, #20] + 800b6f4: b94e cbnz r6, 800b70a + 800b6f6: 3701 adds r7, #1 + 800b6f8: b2ff uxtb r7, r7 + 800b6fa: 3401 adds r4, #1 + 800b6fc: 2c10 cmp r4, #16 + 800b6fe: f105 050c add.w r5, r5, #12 + 800b702: d1cc bne.n 800b69e + 800b704: 3301 adds r3, #1 + 800b706: b2db uxtb r3, r3 + 800b708: e7b4 b.n 800b674 + 800b70a: f10c 0601 add.w r6, ip, #1 + 800b70e: eb0e 0804 add.w r8, lr, r4 + 800b712: f801 800c strb.w r8, [r1, ip] + 800b716: fa5f fc86 uxtb.w ip, r6 + 800b71a: e7ee b.n 800b6fa -0800bae4 : - 800bae4: e92d 47ff stmdb sp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, lr} - 800bae8: 4604 mov r4, r0 - 800baea: 6840 ldr r0, [r0, #4] - 800baec: e9dd 670c ldrd r6, r7, [sp, #48] ; 0x30 - 800baf0: 461d mov r5, r3 - 800baf2: 468a mov sl, r1 - 800baf4: 4691 mov r9, r2 - 800baf6: f003 f9d7 bl 800eea8 - 800bafa: 6823 ldr r3, [r4, #0] - 800bafc: 1a1b subs r3, r3, r0 - 800bafe: 603b str r3, [r7, #0] - 800bb00: f04f 0800 mov.w r8, #0 - 800bb04: 2301 movs r3, #1 - 800bb06: 7033 strb r3, [r6, #0] - 800bb08: f885 8000 strb.w r8, [r5] - 800bb0c: 6863 ldr r3, [r4, #4] - 800bb0e: b113 cbz r3, 800bb16 - 800bb10: 6823 ldr r3, [r4, #0] - 800bb12: 4283 cmp r3, r0 - 800bb14: d824 bhi.n 800bb60 - 800bb16: f8ca 8000 str.w r8, [sl] - 800bb1a: f8d4 c01c ldr.w ip, [r4, #28] - 800bb1e: 69a3 ldr r3, [r4, #24] - 800bb20: f89c e000 ldrb.w lr, [ip] - 800bb24: 9303 str r3, [sp, #12] - 800bb26: e9d4 0103 ldrd r0, r1, [r4, #12] - 800bb2a: ab01 add r3, sp, #4 - 800bb2c: e883 0003 stmia.w r3, {r0, r1} - 800bb30: 7d23 ldrb r3, [r4, #20] - 800bb32: 9300 str r3, [sp, #0] - 800bb34: f8dc 100c ldr.w r1, [ip, #12] - 800bb38: 7a23 ldrb r3, [r4, #8] - 800bb3a: 7a62 ldrb r2, [r4, #9] - 800bb3c: 4670 mov r0, lr - 800bb3e: f7ff fdd9 bl 800b6f4 - 800bb42: 4633 mov r3, r6 - 800bb44: 6038 str r0, [r7, #0] - 800bb46: 462a mov r2, r5 - 800bb48: 69e0 ldr r0, [r4, #28] - 800bb4a: 4649 mov r1, r9 - 800bb4c: f7ff ff70 bl 800ba30 - 800bb50: 782b ldrb r3, [r5, #0] - 800bb52: b12b cbz r3, 800bb60 - 800bb54: f8c7 8000 str.w r8, [r7] - 800bb58: 2000 movs r0, #0 - 800bb5a: b004 add sp, #16 - 800bb5c: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 800bb60: 7833 ldrb r3, [r6, #0] - 800bb62: 2b00 cmp r3, #0 - 800bb64: bf14 ite ne - 800bb66: 200b movne r0, #11 - 800bb68: 200c moveq r0, #12 - 800bb6a: e7f6 b.n 800bb5a +0800b71c : + 800b71c: e92d 47ff stmdb sp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, lr} + 800b720: 4604 mov r4, r0 + 800b722: 6840 ldr r0, [r0, #4] + 800b724: e9dd 670c ldrd r6, r7, [sp, #48] ; 0x30 + 800b728: 461d mov r5, r3 + 800b72a: 468a mov sl, r1 + 800b72c: 4691 mov r9, r2 + 800b72e: f003 f9d7 bl 800eae0 + 800b732: 6823 ldr r3, [r4, #0] + 800b734: 1a1b subs r3, r3, r0 + 800b736: 603b str r3, [r7, #0] + 800b738: f04f 0800 mov.w r8, #0 + 800b73c: 2301 movs r3, #1 + 800b73e: 7033 strb r3, [r6, #0] + 800b740: f885 8000 strb.w r8, [r5] + 800b744: 6863 ldr r3, [r4, #4] + 800b746: b113 cbz r3, 800b74e + 800b748: 6823 ldr r3, [r4, #0] + 800b74a: 4283 cmp r3, r0 + 800b74c: d824 bhi.n 800b798 + 800b74e: f8ca 8000 str.w r8, [sl] + 800b752: f8d4 c01c ldr.w ip, [r4, #28] + 800b756: 69a3 ldr r3, [r4, #24] + 800b758: f89c e000 ldrb.w lr, [ip] + 800b75c: 9303 str r3, [sp, #12] + 800b75e: e9d4 0103 ldrd r0, r1, [r4, #12] + 800b762: ab01 add r3, sp, #4 + 800b764: e883 0003 stmia.w r3, {r0, r1} + 800b768: 7d23 ldrb r3, [r4, #20] + 800b76a: 9300 str r3, [sp, #0] + 800b76c: f8dc 100c ldr.w r1, [ip, #12] + 800b770: 7a23 ldrb r3, [r4, #8] + 800b772: 7a62 ldrb r2, [r4, #9] + 800b774: 4670 mov r0, lr + 800b776: f7ff fdd9 bl 800b32c + 800b77a: 4633 mov r3, r6 + 800b77c: 6038 str r0, [r7, #0] + 800b77e: 462a mov r2, r5 + 800b780: 69e0 ldr r0, [r4, #28] + 800b782: 4649 mov r1, r9 + 800b784: f7ff ff70 bl 800b668 + 800b788: 782b ldrb r3, [r5, #0] + 800b78a: b12b cbz r3, 800b798 + 800b78c: f8c7 8000 str.w r8, [r7] + 800b790: 2000 movs r0, #0 + 800b792: b004 add sp, #16 + 800b794: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 800b798: 7833 ldrb r3, [r6, #0] + 800b79a: 2b00 cmp r3, #0 + 800b79c: bf14 ite ne + 800b79e: 200b movne r0, #11 + 800b7a0: 200c moveq r0, #12 + 800b7a2: e7f6 b.n 800b792 -0800bb6c : - 800bb6c: b537 push {r0, r1, r2, r4, r5, lr} - 800bb6e: f990 2000 ldrsb.w r2, [r0] - 800bb72: f990 5002 ldrsb.w r5, [r0, #2] - 800bb76: 4295 cmp r5, r2 - 800bb78: 4604 mov r4, r0 - 800bb7a: d00f beq.n 800bb9c - 800bb7c: 3a01 subs r2, #1 - 800bb7e: b252 sxtb r2, r2 - 800bb80: 4295 cmp r5, r2 - 800bb82: d00b beq.n 800bb9c - 800bb84: 68a3 ldr r3, [r4, #8] - 800bb86: 9301 str r3, [sp, #4] - 800bb88: f994 3001 ldrsb.w r3, [r4, #1] - 800bb8c: 9300 str r3, [sp, #0] - 800bb8e: 6861 ldr r1, [r4, #4] - 800bb90: 78e0 ldrb r0, [r4, #3] - 800bb92: 462b mov r3, r5 - 800bb94: f7ff fd0e bl 800b5b4 - 800bb98: 2800 cmp r0, #0 - 800bb9a: d0ef beq.n 800bb7c - 800bb9c: 4610 mov r0, r2 - 800bb9e: b003 add sp, #12 - 800bba0: bd30 pop {r4, r5, pc} +0800b7a4 : + 800b7a4: b537 push {r0, r1, r2, r4, r5, lr} + 800b7a6: f990 2000 ldrsb.w r2, [r0] + 800b7aa: f990 5002 ldrsb.w r5, [r0, #2] + 800b7ae: 4295 cmp r5, r2 + 800b7b0: 4604 mov r4, r0 + 800b7b2: d00f beq.n 800b7d4 + 800b7b4: 3a01 subs r2, #1 + 800b7b6: b252 sxtb r2, r2 + 800b7b8: 4295 cmp r5, r2 + 800b7ba: d00b beq.n 800b7d4 + 800b7bc: 68a3 ldr r3, [r4, #8] + 800b7be: 9301 str r3, [sp, #4] + 800b7c0: f994 3001 ldrsb.w r3, [r4, #1] + 800b7c4: 9300 str r3, [sp, #0] + 800b7c6: 6861 ldr r1, [r4, #4] + 800b7c8: 78e0 ldrb r0, [r4, #3] + 800b7ca: 462b mov r3, r5 + 800b7cc: f7ff fd0e bl 800b1ec + 800b7d0: 2800 cmp r0, #0 + 800b7d2: d0ef beq.n 800b7b4 + 800b7d4: 4610 mov r0, r2 + 800b7d6: b003 add sp, #12 + 800b7d8: bd30 pop {r4, r5, pc} -0800bba2 : - 800bba2: 4288 cmp r0, r1 - 800bba4: bfb8 it lt - 800bba6: 4608 movlt r0, r1 - 800bba8: 4770 bx lr +0800b7da : + 800b7da: 4288 cmp r0, r1 + 800b7dc: bfb8 it lt + 800b7de: 4608 movlt r0, r1 + 800b7e0: 4770 bx lr ... -0800bbac : - 800bbac: f851 0020 ldr.w r0, [r1, r0, lsl #2] - 800bbb0: 4b05 ldr r3, [pc, #20] ; (800bbc8 ) - 800bbb2: 4298 cmp r0, r3 - 800bbb4: d005 beq.n 800bbc2 - 800bbb6: 4b05 ldr r3, [pc, #20] ; (800bbcc ) - 800bbb8: 1ac3 subs r3, r0, r3 - 800bbba: 4258 negs r0, r3 - 800bbbc: 4158 adcs r0, r3 - 800bbbe: 0040 lsls r0, r0, #1 - 800bbc0: 4770 bx lr - 800bbc2: 2001 movs r0, #1 - 800bbc4: 4770 bx lr - 800bbc6: bf00 nop - 800bbc8: 0003d090 .word 0x0003d090 - 800bbcc: 0007a120 .word 0x0007a120 +0800b7e4 : + 800b7e4: f851 0020 ldr.w r0, [r1, r0, lsl #2] + 800b7e8: 4b05 ldr r3, [pc, #20] ; (800b800 ) + 800b7ea: 4298 cmp r0, r3 + 800b7ec: d005 beq.n 800b7fa + 800b7ee: 4b05 ldr r3, [pc, #20] ; (800b804 ) + 800b7f0: 1ac3 subs r3, r0, r3 + 800b7f2: 4258 negs r0, r3 + 800b7f4: 4158 adcs r0, r3 + 800b7f6: 0040 lsls r0, r0, #1 + 800b7f8: 4770 bx lr + 800b7fa: 2001 movs r0, #1 + 800b7fc: 4770 bx lr + 800b7fe: bf00 nop + 800b800: 0003d090 .word 0x0003d090 + 800b804: 0007a120 .word 0x0007a120 -0800bbd0 : - 800bbd0: 2805 cmp r0, #5 - 800bbd2: b51f push {r0, r1, r2, r3, r4, lr} - 800bbd4: d80e bhi.n 800bbf4 - 800bbd6: 4b0c ldr r3, [pc, #48] ; (800bc08 ) - 800bbd8: f853 3020 ldr.w r3, [r3, r0, lsl #2] - 800bbdc: 9300 str r3, [sp, #0] - 800bbde: e9cd 1201 strd r1, r2, [sp, #4] - 800bbe2: 4b0a ldr r3, [pc, #40] ; (800bc0c ) - 800bbe4: 2201 movs r2, #1 - 800bbe6: 2100 movs r1, #0 - 800bbe8: 2002 movs r0, #2 - 800bbea: f002 fe69 bl 800e8c0 - 800bbee: b005 add sp, #20 - 800bbf0: f85d fb04 ldr.w pc, [sp], #4 - 800bbf4: e9cd 1200 strd r1, r2, [sp] - 800bbf8: 4b05 ldr r3, [pc, #20] ; (800bc10 ) - 800bbfa: 2201 movs r2, #1 - 800bbfc: 2100 movs r1, #0 - 800bbfe: 2002 movs r0, #2 - 800bc00: f002 fe5e bl 800e8c0 - 800bc04: e7f3 b.n 800bbee - 800bc06: bf00 nop - 800bc08: 0800fc24 .word 0x0800fc24 - 800bc0c: 0800fbbb .word 0x0800fbbb - 800bc10: 0800fbda .word 0x0800fbda +0800b808 : + 800b808: 2805 cmp r0, #5 + 800b80a: b51f push {r0, r1, r2, r3, r4, lr} + 800b80c: d80e bhi.n 800b82c + 800b80e: 4b0c ldr r3, [pc, #48] ; (800b840 ) + 800b810: f853 3020 ldr.w r3, [r3, r0, lsl #2] + 800b814: 9300 str r3, [sp, #0] + 800b816: e9cd 1201 strd r1, r2, [sp, #4] + 800b81a: 4b0a ldr r3, [pc, #40] ; (800b844 ) + 800b81c: 2201 movs r2, #1 + 800b81e: 2100 movs r1, #0 + 800b820: 2002 movs r0, #2 + 800b822: f002 fe69 bl 800e4f8 + 800b826: b005 add sp, #20 + 800b828: f85d fb04 ldr.w pc, [sp], #4 + 800b82c: e9cd 1200 strd r1, r2, [sp] + 800b830: 4b05 ldr r3, [pc, #20] ; (800b848 ) + 800b832: 2201 movs r2, #1 + 800b834: 2100 movs r1, #0 + 800b836: 2002 movs r0, #2 + 800b838: f002 fe5e bl 800e4f8 + 800b83c: e7f3 b.n 800b826 + 800b83e: bf00 nop + 800b840: 0800f464 .word 0x0800f464 + 800b844: 0800f3f7 .word 0x0800f3f7 + 800b848: 0800f416 .word 0x0800f416 -0800bc14 : - 800bc14: b507 push {r0, r1, r2, lr} - 800bc16: 4b05 ldr r3, [pc, #20] ; (800bc2c ) - 800bc18: e9cd 0100 strd r0, r1, [sp] - 800bc1c: 2201 movs r2, #1 - 800bc1e: 2100 movs r1, #0 - 800bc20: 2002 movs r0, #2 - 800bc22: f002 fe4d bl 800e8c0 - 800bc26: b003 add sp, #12 - 800bc28: f85d fb04 ldr.w pc, [sp], #4 - 800bc2c: 0800fbf6 .word 0x0800fbf6 +0800b84c : + 800b84c: b507 push {r0, r1, r2, lr} + 800b84e: 4b05 ldr r3, [pc, #20] ; (800b864 ) + 800b850: e9cd 0100 strd r0, r1, [sp] + 800b854: 2201 movs r2, #1 + 800b856: 2100 movs r1, #0 + 800b858: 2002 movs r0, #2 + 800b85a: f002 fe4d bl 800e4f8 + 800b85e: b003 add sp, #12 + 800b860: f85d fb04 ldr.w pc, [sp], #4 + 800b864: 0800f432 .word 0x0800f432 -0800bc30 : - 800bc30: b510 push {r4, lr} - 800bc32: 2210 movs r2, #16 - 800bc34: 4604 mov r4, r0 - 800bc36: 2100 movs r1, #0 - 800bc38: 30f1 adds r0, #241 ; 0xf1 - 800bc3a: f000 fe5f bl 800c8fc - 800bc3e: 2100 movs r1, #0 - 800bc40: f8c4 1114 str.w r1, [r4, #276] ; 0x114 - 800bc44: 4620 mov r0, r4 - 800bc46: 22f0 movs r2, #240 ; 0xf0 - 800bc48: e8bd 4010 ldmia.w sp!, {r4, lr} - 800bc4c: f000 be56 b.w 800c8fc +0800b868 : + 800b868: b510 push {r4, lr} + 800b86a: 2210 movs r2, #16 + 800b86c: 4604 mov r4, r0 + 800b86e: 2100 movs r1, #0 + 800b870: 30f1 adds r0, #241 ; 0xf1 + 800b872: f000 fe5f bl 800c534 + 800b876: 2100 movs r1, #0 + 800b878: f8c4 1114 str.w r1, [r4, #276] ; 0x114 + 800b87c: 4620 mov r0, r4 + 800b87e: 22f0 movs r2, #240 ; 0xf0 + 800b880: e8bd 4010 ldmia.w sp!, {r4, lr} + 800b884: f000 be56 b.w 800c534 -0800bc50 : - 800bc50: 4602 mov r2, r0 - 800bc52: 4608 mov r0, r1 - 800bc54: 2110 movs r1, #16 - 800bc56: f000 b9a5 b.w 800bfa4 +0800b888 : + 800b888: 4602 mov r2, r0 + 800b88a: 4608 mov r0, r1 + 800b88c: 2110 movs r1, #16 + 800b88e: f000 b9a5 b.w 800bbdc -0800bc5a : - 800bc5a: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} - 800bc5e: 4604 mov r4, r0 - 800bc60: f8d0 0114 ldr.w r0, [r0, #276] ; 0x114 - 800bc64: b085 sub sp, #20 - 800bc66: 460e mov r6, r1 - 800bc68: 4615 mov r5, r2 - 800bc6a: f204 1901 addw r9, r4, #257 ; 0x101 - 800bc6e: b388 cbz r0, 800bcd4 - 800bc70: f1c0 0810 rsb r8, r0, #16 - 800bc74: 4590 cmp r8, r2 - 800bc76: 4647 mov r7, r8 - 800bc78: bf28 it cs - 800bc7a: 4617 movcs r7, r2 - 800bc7c: b2ba uxth r2, r7 - 800bc7e: 4448 add r0, r9 - 800bc80: f000 fe28 bl 800c8d4 - 800bc84: f8d4 3114 ldr.w r3, [r4, #276] ; 0x114 - 800bc88: 443b add r3, r7 - 800bc8a: 2b0f cmp r3, #15 - 800bc8c: f8c4 3114 str.w r3, [r4, #276] ; 0x114 - 800bc90: d92d bls.n 800bcee - 800bc92: 45a8 cmp r8, r5 - 800bc94: d22b bcs.n 800bcee - 800bc96: f104 03f0 add.w r3, r4, #240 ; 0xf0 - 800bc9a: f504 7180 add.w r1, r4, #256 ; 0x100 - 800bc9e: f813 2f01 ldrb.w r2, [r3, #1]! - 800bca2: 7c18 ldrb r0, [r3, #16] - 800bca4: 428b cmp r3, r1 - 800bca6: ea82 0200 eor.w r2, r2, r0 - 800bcaa: 701a strb r2, [r3, #0] - 800bcac: d1f7 bne.n 800bc9e - 800bcae: f104 08f1 add.w r8, r4, #241 ; 0xf1 - 800bcb2: 2210 movs r2, #16 - 800bcb4: 4641 mov r1, r8 - 800bcb6: 4668 mov r0, sp - 800bcb8: f000 fe0c bl 800c8d4 - 800bcbc: 4622 mov r2, r4 - 800bcbe: 4669 mov r1, sp - 800bcc0: 4668 mov r0, sp - 800bcc2: f000 f9e9 bl 800c098 - 800bcc6: 2210 movs r2, #16 - 800bcc8: 4669 mov r1, sp - 800bcca: 4640 mov r0, r8 - 800bccc: f000 fe02 bl 800c8d4 - 800bcd0: 443e add r6, r7 - 800bcd2: 1bed subs r5, r5, r7 - 800bcd4: f504 7880 add.w r8, r4, #256 ; 0x100 - 800bcd8: f104 07f1 add.w r7, r4, #241 ; 0xf1 - 800bcdc: 2d10 cmp r5, #16 - 800bcde: d809 bhi.n 800bcf4 - 800bce0: b2aa uxth r2, r5 - 800bce2: 4631 mov r1, r6 - 800bce4: 4648 mov r0, r9 - 800bce6: f000 fdf5 bl 800c8d4 - 800bcea: f8c4 5114 str.w r5, [r4, #276] ; 0x114 - 800bcee: b005 add sp, #20 - 800bcf0: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} - 800bcf4: f104 03f0 add.w r3, r4, #240 ; 0xf0 - 800bcf8: 1e71 subs r1, r6, #1 - 800bcfa: f813 2f01 ldrb.w r2, [r3, #1]! - 800bcfe: f811 0f01 ldrb.w r0, [r1, #1]! - 800bd02: 4543 cmp r3, r8 - 800bd04: ea82 0200 eor.w r2, r2, r0 - 800bd08: 701a strb r2, [r3, #0] - 800bd0a: d1f6 bne.n 800bcfa - 800bd0c: 2210 movs r2, #16 - 800bd0e: 4639 mov r1, r7 - 800bd10: 4668 mov r0, sp - 800bd12: f000 fddf bl 800c8d4 - 800bd16: 4622 mov r2, r4 - 800bd18: 4669 mov r1, sp - 800bd1a: 4668 mov r0, sp - 800bd1c: f000 f9bc bl 800c098 - 800bd20: 2210 movs r2, #16 - 800bd22: 4669 mov r1, sp - 800bd24: 4638 mov r0, r7 - 800bd26: f000 fdd5 bl 800c8d4 - 800bd2a: 3610 adds r6, #16 - 800bd2c: 3d10 subs r5, #16 - 800bd2e: e7d5 b.n 800bcdc +0800b892 : + 800b892: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} + 800b896: 4604 mov r4, r0 + 800b898: f8d0 0114 ldr.w r0, [r0, #276] ; 0x114 + 800b89c: b085 sub sp, #20 + 800b89e: 460e mov r6, r1 + 800b8a0: 4615 mov r5, r2 + 800b8a2: f204 1901 addw r9, r4, #257 ; 0x101 + 800b8a6: b388 cbz r0, 800b90c + 800b8a8: f1c0 0810 rsb r8, r0, #16 + 800b8ac: 4590 cmp r8, r2 + 800b8ae: 4647 mov r7, r8 + 800b8b0: bf28 it cs + 800b8b2: 4617 movcs r7, r2 + 800b8b4: b2ba uxth r2, r7 + 800b8b6: 4448 add r0, r9 + 800b8b8: f000 fe28 bl 800c50c + 800b8bc: f8d4 3114 ldr.w r3, [r4, #276] ; 0x114 + 800b8c0: 443b add r3, r7 + 800b8c2: 2b0f cmp r3, #15 + 800b8c4: f8c4 3114 str.w r3, [r4, #276] ; 0x114 + 800b8c8: d92d bls.n 800b926 + 800b8ca: 45a8 cmp r8, r5 + 800b8cc: d22b bcs.n 800b926 + 800b8ce: f104 03f0 add.w r3, r4, #240 ; 0xf0 + 800b8d2: f504 7180 add.w r1, r4, #256 ; 0x100 + 800b8d6: f813 2f01 ldrb.w r2, [r3, #1]! + 800b8da: 7c18 ldrb r0, [r3, #16] + 800b8dc: 428b cmp r3, r1 + 800b8de: ea82 0200 eor.w r2, r2, r0 + 800b8e2: 701a strb r2, [r3, #0] + 800b8e4: d1f7 bne.n 800b8d6 + 800b8e6: f104 08f1 add.w r8, r4, #241 ; 0xf1 + 800b8ea: 2210 movs r2, #16 + 800b8ec: 4641 mov r1, r8 + 800b8ee: 4668 mov r0, sp + 800b8f0: f000 fe0c bl 800c50c + 800b8f4: 4622 mov r2, r4 + 800b8f6: 4669 mov r1, sp + 800b8f8: 4668 mov r0, sp + 800b8fa: f000 f9e9 bl 800bcd0 + 800b8fe: 2210 movs r2, #16 + 800b900: 4669 mov r1, sp + 800b902: 4640 mov r0, r8 + 800b904: f000 fe02 bl 800c50c + 800b908: 443e add r6, r7 + 800b90a: 1bed subs r5, r5, r7 + 800b90c: f504 7880 add.w r8, r4, #256 ; 0x100 + 800b910: f104 07f1 add.w r7, r4, #241 ; 0xf1 + 800b914: 2d10 cmp r5, #16 + 800b916: d809 bhi.n 800b92c + 800b918: b2aa uxth r2, r5 + 800b91a: 4631 mov r1, r6 + 800b91c: 4648 mov r0, r9 + 800b91e: f000 fdf5 bl 800c50c + 800b922: f8c4 5114 str.w r5, [r4, #276] ; 0x114 + 800b926: b005 add sp, #20 + 800b928: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 800b92c: f104 03f0 add.w r3, r4, #240 ; 0xf0 + 800b930: 1e71 subs r1, r6, #1 + 800b932: f813 2f01 ldrb.w r2, [r3, #1]! + 800b936: f811 0f01 ldrb.w r0, [r1, #1]! + 800b93a: 4543 cmp r3, r8 + 800b93c: ea82 0200 eor.w r2, r2, r0 + 800b940: 701a strb r2, [r3, #0] + 800b942: d1f6 bne.n 800b932 + 800b944: 2210 movs r2, #16 + 800b946: 4639 mov r1, r7 + 800b948: 4668 mov r0, sp + 800b94a: f000 fddf bl 800c50c + 800b94e: 4622 mov r2, r4 + 800b950: 4669 mov r1, sp + 800b952: 4668 mov r0, sp + 800b954: f000 f9bc bl 800bcd0 + 800b958: 2210 movs r2, #16 + 800b95a: 4669 mov r1, sp + 800b95c: 4638 mov r0, r7 + 800b95e: f000 fdd5 bl 800c50c + 800b962: 3610 adds r6, #16 + 800b964: 3d10 subs r5, #16 + 800b966: e7d5 b.n 800b914 -0800bd30 : - 800bd30: b5f0 push {r4, r5, r6, r7, lr} - 800bd32: b089 sub sp, #36 ; 0x24 - 800bd34: 460c mov r4, r1 - 800bd36: 2210 movs r2, #16 - 800bd38: 2100 movs r1, #0 - 800bd3a: 4605 mov r5, r0 - 800bd3c: 4668 mov r0, sp - 800bd3e: f000 fddd bl 800c8fc - 800bd42: 4622 mov r2, r4 - 800bd44: 4669 mov r1, sp - 800bd46: 4668 mov r0, sp - 800bd48: f000 f9a6 bl 800c098 - 800bd4c: f99d 3000 ldrsb.w r3, [sp] - 800bd50: 2b00 cmp r3, #0 - 800bd52: 466a mov r2, sp - 800bd54: f04f 0100 mov.w r1, #0 - 800bd58: da43 bge.n 800bde2 - 800bd5a: 7813 ldrb r3, [r2, #0] - 800bd5c: f812 0f01 ldrb.w r0, [r2, #1]! - 800bd60: 3101 adds r1, #1 - 800bd62: 005b lsls r3, r3, #1 - 800bd64: ea43 13d0 orr.w r3, r3, r0, lsr #7 - 800bd68: 290f cmp r1, #15 - 800bd6a: f802 3c01 strb.w r3, [r2, #-1] - 800bd6e: d1f4 bne.n 800bd5a - 800bd70: f89d 300f ldrb.w r3, [sp, #15] - 800bd74: 005b lsls r3, r3, #1 - 800bd76: f083 0387 eor.w r3, r3, #135 ; 0x87 - 800bd7a: f8d4 0114 ldr.w r0, [r4, #276] ; 0x114 - 800bd7e: b2db uxtb r3, r3 - 800bd80: 2810 cmp r0, #16 - 800bd82: f88d 300f strb.w r3, [sp, #15] - 800bd86: d13b bne.n 800be00 - 800bd88: f504 7380 add.w r3, r4, #256 ; 0x100 - 800bd8c: 4669 mov r1, sp - 800bd8e: f504 7088 add.w r0, r4, #272 ; 0x110 - 800bd92: f813 6f01 ldrb.w r6, [r3, #1]! - 800bd96: f811 2b01 ldrb.w r2, [r1], #1 - 800bd9a: 4298 cmp r0, r3 - 800bd9c: ea82 0206 eor.w r2, r2, r6 - 800bda0: 701a strb r2, [r3, #0] - 800bda2: d1f6 bne.n 800bd92 - 800bda4: f104 03f0 add.w r3, r4, #240 ; 0xf0 - 800bda8: f504 7180 add.w r1, r4, #256 ; 0x100 - 800bdac: f813 2f01 ldrb.w r2, [r3, #1]! - 800bdb0: 7c18 ldrb r0, [r3, #16] - 800bdb2: 428b cmp r3, r1 - 800bdb4: ea82 0200 eor.w r2, r2, r0 - 800bdb8: 701a strb r2, [r3, #0] - 800bdba: d1f7 bne.n 800bdac - 800bdbc: 2210 movs r2, #16 - 800bdbe: eb0d 0002 add.w r0, sp, r2 - 800bdc2: f104 01f1 add.w r1, r4, #241 ; 0xf1 - 800bdc6: f000 fd85 bl 800c8d4 - 800bdca: 4622 mov r2, r4 - 800bdcc: 4629 mov r1, r5 - 800bdce: a804 add r0, sp, #16 - 800bdd0: f000 f962 bl 800c098 - 800bdd4: 2210 movs r2, #16 - 800bdd6: 2100 movs r1, #0 - 800bdd8: 4668 mov r0, sp - 800bdda: f000 fd8f bl 800c8fc - 800bdde: b009 add sp, #36 ; 0x24 - 800bde0: bdf0 pop {r4, r5, r6, r7, pc} - 800bde2: 7813 ldrb r3, [r2, #0] - 800bde4: f812 0f01 ldrb.w r0, [r2, #1]! - 800bde8: 3101 adds r1, #1 - 800bdea: 005b lsls r3, r3, #1 - 800bdec: ea43 13d0 orr.w r3, r3, r0, lsr #7 - 800bdf0: 290f cmp r1, #15 - 800bdf2: f802 3c01 strb.w r3, [r2, #-1] - 800bdf6: d1f4 bne.n 800bde2 - 800bdf8: f89d 300f ldrb.w r3, [sp, #15] - 800bdfc: 005b lsls r3, r3, #1 - 800bdfe: e7bc b.n 800bd7a - 800be00: f99d 3000 ldrsb.w r3, [sp] - 800be04: 2b00 cmp r3, #0 - 800be06: 466a mov r2, sp - 800be08: f04f 0100 mov.w r1, #0 - 800be0c: da37 bge.n 800be7e - 800be0e: 7813 ldrb r3, [r2, #0] - 800be10: f812 6f01 ldrb.w r6, [r2, #1]! - 800be14: 3101 adds r1, #1 - 800be16: 005b lsls r3, r3, #1 - 800be18: ea43 13d6 orr.w r3, r3, r6, lsr #7 - 800be1c: 290f cmp r1, #15 - 800be1e: f802 3c01 strb.w r3, [r2, #-1] - 800be22: d1f4 bne.n 800be0e - 800be24: f89d 300f ldrb.w r3, [sp, #15] - 800be28: 005b lsls r3, r3, #1 - 800be2a: f083 0387 eor.w r3, r3, #135 ; 0x87 - 800be2e: 1c47 adds r7, r0, #1 - 800be30: b2db uxtb r3, r3 - 800be32: f88d 300f strb.w r3, [sp, #15] - 800be36: 2f10 cmp r7, #16 - 800be38: eb04 0300 add.w r3, r4, r0 - 800be3c: f1c0 060f rsb r6, r0, #15 - 800be40: f04f 0280 mov.w r2, #128 ; 0x80 - 800be44: bf88 it hi - 800be46: 2600 movhi r6, #0 - 800be48: f500 7081 add.w r0, r0, #258 ; 0x102 - 800be4c: f883 2101 strb.w r2, [r3, #257] ; 0x101 - 800be50: 2100 movs r1, #0 - 800be52: 4632 mov r2, r6 - 800be54: 4420 add r0, r4 - 800be56: 443e add r6, r7 - 800be58: f003 fa62 bl 800f320 - 800be5c: f8c4 6114 str.w r6, [r4, #276] ; 0x114 - 800be60: f504 7380 add.w r3, r4, #256 ; 0x100 - 800be64: 4669 mov r1, sp - 800be66: f504 7088 add.w r0, r4, #272 ; 0x110 - 800be6a: f813 6f01 ldrb.w r6, [r3, #1]! - 800be6e: f811 2b01 ldrb.w r2, [r1], #1 - 800be72: 4298 cmp r0, r3 - 800be74: ea82 0206 eor.w r2, r2, r6 - 800be78: 701a strb r2, [r3, #0] - 800be7a: d1f6 bne.n 800be6a - 800be7c: e792 b.n 800bda4 - 800be7e: 7813 ldrb r3, [r2, #0] - 800be80: f812 6f01 ldrb.w r6, [r2, #1]! - 800be84: 3101 adds r1, #1 - 800be86: 005b lsls r3, r3, #1 - 800be88: ea43 13d6 orr.w r3, r3, r6, lsr #7 - 800be8c: 290f cmp r1, #15 - 800be8e: f802 3c01 strb.w r3, [r2, #-1] - 800be92: d1f4 bne.n 800be7e - 800be94: f89d 300f ldrb.w r3, [sp, #15] - 800be98: 005b lsls r3, r3, #1 - 800be9a: e7c8 b.n 800be2e +0800b968 : + 800b968: b5f0 push {r4, r5, r6, r7, lr} + 800b96a: b089 sub sp, #36 ; 0x24 + 800b96c: 460c mov r4, r1 + 800b96e: 2210 movs r2, #16 + 800b970: 2100 movs r1, #0 + 800b972: 4605 mov r5, r0 + 800b974: 4668 mov r0, sp + 800b976: f000 fddd bl 800c534 + 800b97a: 4622 mov r2, r4 + 800b97c: 4669 mov r1, sp + 800b97e: 4668 mov r0, sp + 800b980: f000 f9a6 bl 800bcd0 + 800b984: f99d 3000 ldrsb.w r3, [sp] + 800b988: 2b00 cmp r3, #0 + 800b98a: 466a mov r2, sp + 800b98c: f04f 0100 mov.w r1, #0 + 800b990: da43 bge.n 800ba1a + 800b992: 7813 ldrb r3, [r2, #0] + 800b994: f812 0f01 ldrb.w r0, [r2, #1]! + 800b998: 3101 adds r1, #1 + 800b99a: 005b lsls r3, r3, #1 + 800b99c: ea43 13d0 orr.w r3, r3, r0, lsr #7 + 800b9a0: 290f cmp r1, #15 + 800b9a2: f802 3c01 strb.w r3, [r2, #-1] + 800b9a6: d1f4 bne.n 800b992 + 800b9a8: f89d 300f ldrb.w r3, [sp, #15] + 800b9ac: 005b lsls r3, r3, #1 + 800b9ae: f083 0387 eor.w r3, r3, #135 ; 0x87 + 800b9b2: f8d4 0114 ldr.w r0, [r4, #276] ; 0x114 + 800b9b6: b2db uxtb r3, r3 + 800b9b8: 2810 cmp r0, #16 + 800b9ba: f88d 300f strb.w r3, [sp, #15] + 800b9be: d13b bne.n 800ba38 + 800b9c0: f504 7380 add.w r3, r4, #256 ; 0x100 + 800b9c4: 4669 mov r1, sp + 800b9c6: f504 7088 add.w r0, r4, #272 ; 0x110 + 800b9ca: f813 6f01 ldrb.w r6, [r3, #1]! + 800b9ce: f811 2b01 ldrb.w r2, [r1], #1 + 800b9d2: 4298 cmp r0, r3 + 800b9d4: ea82 0206 eor.w r2, r2, r6 + 800b9d8: 701a strb r2, [r3, #0] + 800b9da: d1f6 bne.n 800b9ca + 800b9dc: f104 03f0 add.w r3, r4, #240 ; 0xf0 + 800b9e0: f504 7180 add.w r1, r4, #256 ; 0x100 + 800b9e4: f813 2f01 ldrb.w r2, [r3, #1]! + 800b9e8: 7c18 ldrb r0, [r3, #16] + 800b9ea: 428b cmp r3, r1 + 800b9ec: ea82 0200 eor.w r2, r2, r0 + 800b9f0: 701a strb r2, [r3, #0] + 800b9f2: d1f7 bne.n 800b9e4 + 800b9f4: 2210 movs r2, #16 + 800b9f6: eb0d 0002 add.w r0, sp, r2 + 800b9fa: f104 01f1 add.w r1, r4, #241 ; 0xf1 + 800b9fe: f000 fd85 bl 800c50c + 800ba02: 4622 mov r2, r4 + 800ba04: 4629 mov r1, r5 + 800ba06: a804 add r0, sp, #16 + 800ba08: f000 f962 bl 800bcd0 + 800ba0c: 2210 movs r2, #16 + 800ba0e: 2100 movs r1, #0 + 800ba10: 4668 mov r0, sp + 800ba12: f000 fd8f bl 800c534 + 800ba16: b009 add sp, #36 ; 0x24 + 800ba18: bdf0 pop {r4, r5, r6, r7, pc} + 800ba1a: 7813 ldrb r3, [r2, #0] + 800ba1c: f812 0f01 ldrb.w r0, [r2, #1]! + 800ba20: 3101 adds r1, #1 + 800ba22: 005b lsls r3, r3, #1 + 800ba24: ea43 13d0 orr.w r3, r3, r0, lsr #7 + 800ba28: 290f cmp r1, #15 + 800ba2a: f802 3c01 strb.w r3, [r2, #-1] + 800ba2e: d1f4 bne.n 800ba1a + 800ba30: f89d 300f ldrb.w r3, [sp, #15] + 800ba34: 005b lsls r3, r3, #1 + 800ba36: e7bc b.n 800b9b2 + 800ba38: f99d 3000 ldrsb.w r3, [sp] + 800ba3c: 2b00 cmp r3, #0 + 800ba3e: 466a mov r2, sp + 800ba40: f04f 0100 mov.w r1, #0 + 800ba44: da37 bge.n 800bab6 + 800ba46: 7813 ldrb r3, [r2, #0] + 800ba48: f812 6f01 ldrb.w r6, [r2, #1]! + 800ba4c: 3101 adds r1, #1 + 800ba4e: 005b lsls r3, r3, #1 + 800ba50: ea43 13d6 orr.w r3, r3, r6, lsr #7 + 800ba54: 290f cmp r1, #15 + 800ba56: f802 3c01 strb.w r3, [r2, #-1] + 800ba5a: d1f4 bne.n 800ba46 + 800ba5c: f89d 300f ldrb.w r3, [sp, #15] + 800ba60: 005b lsls r3, r3, #1 + 800ba62: f083 0387 eor.w r3, r3, #135 ; 0x87 + 800ba66: 1c47 adds r7, r0, #1 + 800ba68: b2db uxtb r3, r3 + 800ba6a: f88d 300f strb.w r3, [sp, #15] + 800ba6e: 2f10 cmp r7, #16 + 800ba70: eb04 0300 add.w r3, r4, r0 + 800ba74: f1c0 060f rsb r6, r0, #15 + 800ba78: f04f 0280 mov.w r2, #128 ; 0x80 + 800ba7c: bf88 it hi + 800ba7e: 2600 movhi r6, #0 + 800ba80: f500 7081 add.w r0, r0, #258 ; 0x102 + 800ba84: f883 2101 strb.w r2, [r3, #257] ; 0x101 + 800ba88: 2100 movs r1, #0 + 800ba8a: 4632 mov r2, r6 + 800ba8c: 4420 add r0, r4 + 800ba8e: 443e add r6, r7 + 800ba90: f003 fa62 bl 800ef58 + 800ba94: f8c4 6114 str.w r6, [r4, #276] ; 0x114 + 800ba98: f504 7380 add.w r3, r4, #256 ; 0x100 + 800ba9c: 4669 mov r1, sp + 800ba9e: f504 7088 add.w r0, r4, #272 ; 0x110 + 800baa2: f813 6f01 ldrb.w r6, [r3, #1]! + 800baa6: f811 2b01 ldrb.w r2, [r1], #1 + 800baaa: 4298 cmp r0, r3 + 800baac: ea82 0206 eor.w r2, r2, r6 + 800bab0: 701a strb r2, [r3, #0] + 800bab2: d1f6 bne.n 800baa2 + 800bab4: e792 b.n 800b9dc + 800bab6: 7813 ldrb r3, [r2, #0] + 800bab8: f812 6f01 ldrb.w r6, [r2, #1]! + 800babc: 3101 adds r1, #1 + 800babe: 005b lsls r3, r3, #1 + 800bac0: ea43 13d6 orr.w r3, r3, r6, lsr #7 + 800bac4: 290f cmp r1, #15 + 800bac6: f802 3c01 strb.w r3, [r2, #-1] + 800baca: d1f4 bne.n 800bab6 + 800bacc: f89d 300f ldrb.w r3, [sp, #15] + 800bad0: 005b lsls r3, r3, #1 + 800bad2: e7c8 b.n 800ba66 -0800be9c : - 800be9c: 780a ldrb r2, [r1, #0] - 800be9e: 7803 ldrb r3, [r0, #0] +0800bad4 : + 800bad4: 780a ldrb r2, [r1, #0] + 800bad6: 7803 ldrb r3, [r0, #0] + 800bad8: 4053 eors r3, r2 + 800bada: 7003 strb r3, [r0, #0] + 800badc: 784a ldrb r2, [r1, #1] + 800bade: 7843 ldrb r3, [r0, #1] + 800bae0: 4053 eors r3, r2 + 800bae2: 7043 strb r3, [r0, #1] + 800bae4: 788a ldrb r2, [r1, #2] + 800bae6: 7883 ldrb r3, [r0, #2] + 800bae8: 4053 eors r3, r2 + 800baea: 7083 strb r3, [r0, #2] + 800baec: 78ca ldrb r2, [r1, #3] + 800baee: 78c3 ldrb r3, [r0, #3] + 800baf0: 4053 eors r3, r2 + 800baf2: 70c3 strb r3, [r0, #3] + 800baf4: 790a ldrb r2, [r1, #4] + 800baf6: 7903 ldrb r3, [r0, #4] + 800baf8: 4053 eors r3, r2 + 800bafa: 7103 strb r3, [r0, #4] + 800bafc: 794a ldrb r2, [r1, #5] + 800bafe: 7943 ldrb r3, [r0, #5] + 800bb00: 4053 eors r3, r2 + 800bb02: 7143 strb r3, [r0, #5] + 800bb04: 798a ldrb r2, [r1, #6] + 800bb06: 7983 ldrb r3, [r0, #6] + 800bb08: 4053 eors r3, r2 + 800bb0a: 7183 strb r3, [r0, #6] + 800bb0c: 79ca ldrb r2, [r1, #7] + 800bb0e: 79c3 ldrb r3, [r0, #7] + 800bb10: 4053 eors r3, r2 + 800bb12: 71c3 strb r3, [r0, #7] + 800bb14: 7a0a ldrb r2, [r1, #8] + 800bb16: 7a03 ldrb r3, [r0, #8] + 800bb18: 4053 eors r3, r2 + 800bb1a: 7203 strb r3, [r0, #8] + 800bb1c: 7a4a ldrb r2, [r1, #9] + 800bb1e: 7a43 ldrb r3, [r0, #9] + 800bb20: 4053 eors r3, r2 + 800bb22: 7243 strb r3, [r0, #9] + 800bb24: 7a8a ldrb r2, [r1, #10] + 800bb26: 7a83 ldrb r3, [r0, #10] + 800bb28: 4053 eors r3, r2 + 800bb2a: 7283 strb r3, [r0, #10] + 800bb2c: 7aca ldrb r2, [r1, #11] + 800bb2e: 7ac3 ldrb r3, [r0, #11] + 800bb30: 4053 eors r3, r2 + 800bb32: 72c3 strb r3, [r0, #11] + 800bb34: 7b0a ldrb r2, [r1, #12] + 800bb36: 7b03 ldrb r3, [r0, #12] + 800bb38: 4053 eors r3, r2 + 800bb3a: 7303 strb r3, [r0, #12] + 800bb3c: 7b4a ldrb r2, [r1, #13] + 800bb3e: 7b43 ldrb r3, [r0, #13] + 800bb40: 4053 eors r3, r2 + 800bb42: 7343 strb r3, [r0, #13] + 800bb44: 7b8a ldrb r2, [r1, #14] + 800bb46: 7b83 ldrb r3, [r0, #14] + 800bb48: 4053 eors r3, r2 + 800bb4a: 7383 strb r3, [r0, #14] + 800bb4c: 7bca ldrb r2, [r1, #15] + 800bb4e: 7bc3 ldrb r3, [r0, #15] + 800bb50: 4053 eors r3, r2 + 800bb52: 73c3 strb r3, [r0, #15] + 800bb54: 4770 bx lr + +0800bb56 : + 800bb56: b510 push {r4, lr} + 800bb58: 780b ldrb r3, [r1, #0] + 800bb5a: 7814 ldrb r4, [r2, #0] + 800bb5c: 4063 eors r3, r4 + 800bb5e: 7003 strb r3, [r0, #0] + 800bb60: 7854 ldrb r4, [r2, #1] + 800bb62: 784b ldrb r3, [r1, #1] + 800bb64: 4063 eors r3, r4 + 800bb66: 7043 strb r3, [r0, #1] + 800bb68: 7894 ldrb r4, [r2, #2] + 800bb6a: 788b ldrb r3, [r1, #2] + 800bb6c: 4063 eors r3, r4 + 800bb6e: 7083 strb r3, [r0, #2] + 800bb70: 78d4 ldrb r4, [r2, #3] + 800bb72: 78cb ldrb r3, [r1, #3] + 800bb74: 4063 eors r3, r4 + 800bb76: 70c3 strb r3, [r0, #3] + 800bb78: 7914 ldrb r4, [r2, #4] + 800bb7a: 790b ldrb r3, [r1, #4] + 800bb7c: 4063 eors r3, r4 + 800bb7e: 7103 strb r3, [r0, #4] + 800bb80: 7954 ldrb r4, [r2, #5] + 800bb82: 794b ldrb r3, [r1, #5] + 800bb84: 4063 eors r3, r4 + 800bb86: 7143 strb r3, [r0, #5] + 800bb88: 7994 ldrb r4, [r2, #6] + 800bb8a: 798b ldrb r3, [r1, #6] + 800bb8c: 4063 eors r3, r4 + 800bb8e: 7183 strb r3, [r0, #6] + 800bb90: 79d4 ldrb r4, [r2, #7] + 800bb92: 79cb ldrb r3, [r1, #7] + 800bb94: 4063 eors r3, r4 + 800bb96: 71c3 strb r3, [r0, #7] + 800bb98: 7a14 ldrb r4, [r2, #8] + 800bb9a: 7a0b ldrb r3, [r1, #8] + 800bb9c: 4063 eors r3, r4 + 800bb9e: 7203 strb r3, [r0, #8] + 800bba0: 7a54 ldrb r4, [r2, #9] + 800bba2: 7a4b ldrb r3, [r1, #9] + 800bba4: 4063 eors r3, r4 + 800bba6: 7243 strb r3, [r0, #9] + 800bba8: 7a8b ldrb r3, [r1, #10] + 800bbaa: 7a94 ldrb r4, [r2, #10] + 800bbac: 4063 eors r3, r4 + 800bbae: 7283 strb r3, [r0, #10] + 800bbb0: 7ad4 ldrb r4, [r2, #11] + 800bbb2: 7acb ldrb r3, [r1, #11] + 800bbb4: 4063 eors r3, r4 + 800bbb6: 72c3 strb r3, [r0, #11] + 800bbb8: 7b14 ldrb r4, [r2, #12] + 800bbba: 7b0b ldrb r3, [r1, #12] + 800bbbc: 4063 eors r3, r4 + 800bbbe: 7303 strb r3, [r0, #12] + 800bbc0: 7b54 ldrb r4, [r2, #13] + 800bbc2: 7b4b ldrb r3, [r1, #13] + 800bbc4: 4063 eors r3, r4 + 800bbc6: 7343 strb r3, [r0, #13] + 800bbc8: 7b94 ldrb r4, [r2, #14] + 800bbca: 7b8b ldrb r3, [r1, #14] + 800bbcc: 4063 eors r3, r4 + 800bbce: 7383 strb r3, [r0, #14] + 800bbd0: 7bcb ldrb r3, [r1, #15] + 800bbd2: 7bd2 ldrb r2, [r2, #15] + 800bbd4: 4053 eors r3, r2 + 800bbd6: 73c3 strb r3, [r0, #15] + 800bbd8: bd10 pop {r4, pc} + ... + +0800bbdc : + 800bbdc: f1a1 0310 sub.w r3, r1, #16 + 800bbe0: b2db uxtb r3, r3 + 800bbe2: 2b10 cmp r3, #16 + 800bbe4: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} + 800bbe8: d804 bhi.n 800bbf4 + 800bbea: 4c37 ldr r4, [pc, #220] ; (800bcc8 ) + 800bbec: fa24 f303 lsr.w r3, r4, r3 + 800bbf0: 07db lsls r3, r3, #31 + 800bbf2: d405 bmi.n 800bc00 + 800bbf4: 2300 movs r3, #0 + 800bbf6: f882 30f0 strb.w r3, [r2, #240] ; 0xf0 + 800bbfa: 20ff movs r0, #255 ; 0xff + 800bbfc: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 800bc00: 1e53 subs r3, r2, #1 + 800bc02: 1844 adds r4, r0, r1 + 800bc04: 42a0 cmp r0, r4 + 800bc06: d14e bne.n 800bca6 + 800bc08: f101 031c add.w r3, r1, #28 + 800bc0c: 009b lsls r3, r3, #2 + 800bc0e: fa5f f983 uxtb.w r9, r3 + 800bc12: f3c3 1303 ubfx r3, r3, #4, #4 + 800bc16: 3b01 subs r3, #1 + 800bc18: 4d2c ldr r5, [pc, #176] ; (800bccc ) + 800bc1a: f882 30f0 strb.w r3, [r2, #240] ; 0xf0 + 800bc1e: 2401 movs r4, #1 + 800bc20: 460b mov r3, r1 + 800bc22: 18d6 adds r6, r2, r3 + 800bc24: fbb3 f0f1 udiv r0, r3, r1 + 800bc28: fb01 3010 mls r0, r1, r0, r3 + 800bc2c: f010 00ff ands.w r0, r0, #255 ; 0xff + 800bc30: f816 ac04 ldrb.w sl, [r6, #-4] + 800bc34: f816 ec03 ldrb.w lr, [r6, #-3] + 800bc38: f816 cc02 ldrb.w ip, [r6, #-2] + 800bc3c: f816 7c01 ldrb.w r7, [r6, #-1] + 800bc40: d136 bne.n 800bcb0 + 800bc42: f815 800e ldrb.w r8, [r5, lr] + 800bc46: f815 e00c ldrb.w lr, [r5, ip] + 800bc4a: f815 c007 ldrb.w ip, [r5, r7] + 800bc4e: f815 700a ldrb.w r7, [r5, sl] + 800bc52: 09e0 lsrs r0, r4, #7 + 800bc54: eb00 0040 add.w r0, r0, r0, lsl #1 + 800bc58: ea84 0808 eor.w r8, r4, r8 + 800bc5c: eb00 00c0 add.w r0, r0, r0, lsl #3 + 800bc60: 0064 lsls r4, r4, #1 + 800bc62: b2c0 uxtb r0, r0 + 800bc64: b2e4 uxtb r4, r4 + 800bc66: 4044 eors r4, r0 + 800bc68: 46c2 mov sl, r8 + 800bc6a: 1a58 subs r0, r3, r1 + 800bc6c: b2c0 uxtb r0, r0 + 800bc6e: f812 8000 ldrb.w r8, [r2, r0] + 800bc72: ea8a 0a08 eor.w sl, sl, r8 + 800bc76: f802 a003 strb.w sl, [r2, r3] + 800bc7a: 4410 add r0, r2 + 800bc7c: 3304 adds r3, #4 + 800bc7e: f890 8001 ldrb.w r8, [r0, #1] + 800bc82: ea8e 0e08 eor.w lr, lr, r8 + 800bc86: f886 e001 strb.w lr, [r6, #1] + 800bc8a: f890 e002 ldrb.w lr, [r0, #2] + 800bc8e: ea8c 0c0e eor.w ip, ip, lr + 800bc92: f886 c002 strb.w ip, [r6, #2] + 800bc96: 78c0 ldrb r0, [r0, #3] + 800bc98: b2db uxtb r3, r3 + 800bc9a: 4047 eors r7, r0 + 800bc9c: 4599 cmp r9, r3 + 800bc9e: 70f7 strb r7, [r6, #3] + 800bca0: d8bf bhi.n 800bc22 + 800bca2: 2000 movs r0, #0 + 800bca4: e7aa b.n 800bbfc + 800bca6: f810 5b01 ldrb.w r5, [r0], #1 + 800bcaa: f803 5f01 strb.w r5, [r3, #1]! + 800bcae: e7a9 b.n 800bc04 + 800bcb0: 2918 cmp r1, #24 + 800bcb2: d9da bls.n 800bc6a + 800bcb4: 2810 cmp r0, #16 + 800bcb6: bf01 itttt eq + 800bcb8: f815 a00a ldrbeq.w sl, [r5, sl] + 800bcbc: f815 e00e ldrbeq.w lr, [r5, lr] + 800bcc0: f815 c00c ldrbeq.w ip, [r5, ip] + 800bcc4: 5def ldrbeq r7, [r5, r7] + 800bcc6: e7d0 b.n 800bc6a + 800bcc8: 00010101 .word 0x00010101 + 800bccc: 0800f67c .word 0x0800f67c + +0800bcd0 : + 800bcd0: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800bcd4: b0a3 sub sp, #140 ; 0x8c + 800bcd6: f892 30f0 ldrb.w r3, [r2, #240] ; 0xf0 + 800bcda: 911d str r1, [sp, #116] ; 0x74 + 800bcdc: 921b str r2, [sp, #108] ; 0x6c + 800bcde: 9301 str r3, [sp, #4] + 800bce0: 2b00 cmp r3, #0 + 800bce2: f000 8153 beq.w 800bf8c + 800bce6: 4601 mov r1, r0 + 800bce8: a81e add r0, sp, #120 ; 0x78 + 800bcea: f7ff ff34 bl 800bb56 + 800bcee: 9b1b ldr r3, [sp, #108] ; 0x6c + 800bcf0: 4ca7 ldr r4, [pc, #668] ; (800bf90 ) + 800bcf2: 4da8 ldr r5, [pc, #672] ; (800bf94 ) + 800bcf4: 4ea8 ldr r6, [pc, #672] ; (800bf98 ) + 800bcf6: 3310 adds r3, #16 + 800bcf8: 9302 str r3, [sp, #8] + 800bcfa: 2300 movs r3, #0 + 800bcfc: 9303 str r3, [sp, #12] + 800bcfe: f89d 007c ldrb.w r0, [sp, #124] ; 0x7c + 800bd02: 9004 str r0, [sp, #16] + 800bd04: f89d 0086 ldrb.w r0, [sp, #134] ; 0x86 + 800bd08: 9005 str r0, [sp, #20] + 800bd0a: 5c20 ldrb r0, [r4, r0] + 800bd0c: 9006 str r0, [sp, #24] + 800bd0e: f89d 007b ldrb.w r0, [sp, #123] ; 0x7b + 800bd12: 9007 str r0, [sp, #28] + 800bd14: 5c20 ldrb r0, [r4, r0] + 800bd16: 9008 str r0, [sp, #32] + 800bd18: 9804 ldr r0, [sp, #16] + 800bd1a: f89d c081 ldrb.w ip, [sp, #129] ; 0x81 + 800bd1e: 5c20 ldrb r0, [r4, r0] + 800bd20: 9009 str r0, [sp, #36] ; 0x24 + 800bd22: f814 000c ldrb.w r0, [r4, ip] + 800bd26: 900a str r0, [sp, #40] ; 0x28 + 800bd28: f89d 0080 ldrb.w r0, [sp, #128] ; 0x80 + 800bd2c: 900b str r0, [sp, #44] ; 0x2c + 800bd2e: f89d 0085 ldrb.w r0, [sp, #133] ; 0x85 + 800bd32: f89d 8078 ldrb.w r8, [sp, #120] ; 0x78 + 800bd36: f89d e07d ldrb.w lr, [sp, #125] ; 0x7d + 800bd3a: f89d a082 ldrb.w sl, [sp, #130] ; 0x82 + 800bd3e: f89d 9087 ldrb.w r9, [sp, #135] ; 0x87 + 800bd42: 900c str r0, [sp, #48] ; 0x30 + 800bd44: f89d 007a ldrb.w r0, [sp, #122] ; 0x7a + 800bd48: 9b02 ldr r3, [sp, #8] + 800bd4a: 931c str r3, [sp, #112] ; 0x70 + 800bd4c: f814 200a ldrb.w r2, [r4, sl] + 800bd50: f814 3009 ldrb.w r3, [r4, r9] + 800bd54: f814 1008 ldrb.w r1, [r4, r8] + 800bd58: f814 700e ldrb.w r7, [r4, lr] + 800bd5c: 900d str r0, [sp, #52] ; 0x34 + 800bd5e: 5c20 ldrb r0, [r4, r0] + 800bd60: 900e str r0, [sp, #56] ; 0x38 + 800bd62: f89d 007f ldrb.w r0, [sp, #127] ; 0x7f + 800bd66: 900f str r0, [sp, #60] ; 0x3c + 800bd68: 5c20 ldrb r0, [r4, r0] + 800bd6a: 9010 str r0, [sp, #64] ; 0x40 + 800bd6c: 980b ldr r0, [sp, #44] ; 0x2c + 800bd6e: 5c20 ldrb r0, [r4, r0] + 800bd70: 9011 str r0, [sp, #68] ; 0x44 + 800bd72: 980c ldr r0, [sp, #48] ; 0x30 + 800bd74: 5c20 ldrb r0, [r4, r0] + 800bd76: 9012 str r0, [sp, #72] ; 0x48 + 800bd78: f89d 0084 ldrb.w r0, [sp, #132] ; 0x84 + 800bd7c: 9013 str r0, [sp, #76] ; 0x4c + 800bd7e: f89d 0079 ldrb.w r0, [sp, #121] ; 0x79 + 800bd82: 9014 str r0, [sp, #80] ; 0x50 + 800bd84: f89d 007e ldrb.w r0, [sp, #126] ; 0x7e + 800bd88: 9015 str r0, [sp, #84] ; 0x54 + 800bd8a: 5c20 ldrb r0, [r4, r0] + 800bd8c: 9016 str r0, [sp, #88] ; 0x58 + 800bd8e: f89d 0083 ldrb.w r0, [sp, #131] ; 0x83 + 800bd92: 9017 str r0, [sp, #92] ; 0x5c + 800bd94: 5c20 ldrb r0, [r4, r0] + 800bd96: 9018 str r0, [sp, #96] ; 0x60 + 800bd98: 9813 ldr r0, [sp, #76] ; 0x4c + 800bd9a: 5c20 ldrb r0, [r4, r0] + 800bd9c: 9019 str r0, [sp, #100] ; 0x64 + 800bd9e: 9814 ldr r0, [sp, #80] ; 0x50 + 800bda0: 5c20 ldrb r0, [r4, r0] + 800bda2: 901a str r0, [sp, #104] ; 0x68 + 800bda4: 9803 ldr r0, [sp, #12] + 800bda6: 3001 adds r0, #1 + 800bda8: 9003 str r0, [sp, #12] + 800bdaa: 9802 ldr r0, [sp, #8] + 800bdac: f8dd b004 ldr.w fp, [sp, #4] + 800bdb0: 3010 adds r0, #16 + 800bdb2: 9002 str r0, [sp, #8] + 800bdb4: f89d 000c ldrb.w r0, [sp, #12] + 800bdb8: 4583 cmp fp, r0 + 800bdba: d836 bhi.n 800be2a + 800bdbc: f88d 1078 strb.w r1, [sp, #120] ; 0x78 + 800bdc0: f88d 207a strb.w r2, [sp, #122] ; 0x7a + 800bdc4: 9909 ldr r1, [sp, #36] ; 0x24 + 800bdc6: 9a0e ldr r2, [sp, #56] ; 0x38 + 800bdc8: f88d 107c strb.w r1, [sp, #124] ; 0x7c + 800bdcc: f88d 2082 strb.w r2, [sp, #130] ; 0x82 + 800bdd0: 9911 ldr r1, [sp, #68] ; 0x44 + 800bdd2: 9a06 ldr r2, [sp, #24] + 800bdd4: f88d 1080 strb.w r1, [sp, #128] ; 0x80 + 800bdd8: f88d 207e strb.w r2, [sp, #126] ; 0x7e + 800bddc: 9919 ldr r1, [sp, #100] ; 0x64 + 800bdde: 9a16 ldr r2, [sp, #88] ; 0x58 + 800bde0: f88d 1084 strb.w r1, [sp, #132] ; 0x84 + 800bde4: f88d 2086 strb.w r2, [sp, #134] ; 0x86 + 800bde8: 990a ldr r1, [sp, #40] ; 0x28 + 800bdea: 9a18 ldr r2, [sp, #96] ; 0x60 + 800bdec: f88d 107d strb.w r1, [sp, #125] ; 0x7d + 800bdf0: f88d 2087 strb.w r2, [sp, #135] ; 0x87 + 800bdf4: 9912 ldr r1, [sp, #72] ; 0x48 + 800bdf6: 9a10 ldr r2, [sp, #64] ; 0x40 + 800bdf8: f88d 307b strb.w r3, [sp, #123] ; 0x7b + 800bdfc: 9b1b ldr r3, [sp, #108] ; 0x6c + 800bdfe: f88d 1081 strb.w r1, [sp, #129] ; 0x81 + 800be02: f88d 2083 strb.w r2, [sp, #131] ; 0x83 + 800be06: 991a ldr r1, [sp, #104] ; 0x68 + 800be08: 9a08 ldr r2, [sp, #32] + 800be0a: 981d ldr r0, [sp, #116] ; 0x74 + 800be0c: f88d 1085 strb.w r1, [sp, #133] ; 0x85 + 800be10: f88d 207f strb.w r2, [sp, #127] ; 0x7f + 800be14: a91e add r1, sp, #120 ; 0x78 + 800be16: eb03 120b add.w r2, r3, fp, lsl #4 + 800be1a: f88d 7079 strb.w r7, [sp, #121] ; 0x79 + 800be1e: f7ff fe9a bl 800bb56 + 800be22: 2000 movs r0, #0 + 800be24: b023 add sp, #140 ; 0x8c + 800be26: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800be2a: f815 b008 ldrb.w fp, [r5, r8] + 800be2e: ea82 0003 eor.w r0, r2, r3 + 800be32: ea8b 0000 eor.w r0, fp, r0 + 800be36: f816 b00e ldrb.w fp, [r6, lr] + 800be3a: ea80 000b eor.w r0, r0, fp + 800be3e: f88d 0078 strb.w r0, [sp, #120] ; 0x78 + 800be42: f815 000e ldrb.w r0, [r5, lr] + 800be46: 404b eors r3, r1 + 800be48: 4043 eors r3, r0 + 800be4a: f816 000a ldrb.w r0, [r6, sl] + 800be4e: 4043 eors r3, r0 + 800be50: f88d 3079 strb.w r3, [sp, #121] ; 0x79 + 800be54: ea81 0307 eor.w r3, r1, r7 + 800be58: f815 100a ldrb.w r1, [r5, sl] + 800be5c: 4059 eors r1, r3 + 800be5e: f816 3009 ldrb.w r3, [r6, r9] + 800be62: 4059 eors r1, r3 + 800be64: f816 3008 ldrb.w r3, [r6, r8] + 800be68: f88d 107a strb.w r1, [sp, #122] ; 0x7a + 800be6c: 407a eors r2, r7 + 800be6e: 4053 eors r3, r2 + 800be70: f815 2009 ldrb.w r2, [r5, r9] + 800be74: 4053 eors r3, r2 + 800be76: f88d 307b strb.w r3, [sp, #123] ; 0x7b + 800be7a: 9a08 ldr r2, [sp, #32] + 800be7c: 9b06 ldr r3, [sp, #24] + 800be7e: 4053 eors r3, r2 + 800be80: 9a04 ldr r2, [sp, #16] + 800be82: 5caa ldrb r2, [r5, r2] + 800be84: 4053 eors r3, r2 + 800be86: f816 200c ldrb.w r2, [r6, ip] + 800be8a: 4053 eors r3, r2 + 800be8c: f88d 307c strb.w r3, [sp, #124] ; 0x7c + 800be90: e9dd 3208 ldrd r3, r2, [sp, #32] + 800be94: 405a eors r2, r3 + 800be96: f815 300c ldrb.w r3, [r5, ip] + 800be9a: 4053 eors r3, r2 + 800be9c: 9a05 ldr r2, [sp, #20] + 800be9e: 5cb2 ldrb r2, [r6, r2] 800bea0: 4053 eors r3, r2 - 800bea2: 7003 strb r3, [r0, #0] - 800bea4: 784a ldrb r2, [r1, #1] - 800bea6: 7843 ldrb r3, [r0, #1] - 800bea8: 4053 eors r3, r2 - 800beaa: 7043 strb r3, [r0, #1] - 800beac: 788a ldrb r2, [r1, #2] - 800beae: 7883 ldrb r3, [r0, #2] + 800bea2: f88d 307d strb.w r3, [sp, #125] ; 0x7d + 800bea6: e9dd 3209 ldrd r3, r2, [sp, #36] ; 0x24 + 800beaa: 405a eors r2, r3 + 800beac: 9b05 ldr r3, [sp, #20] + 800beae: 5ceb ldrb r3, [r5, r3] 800beb0: 4053 eors r3, r2 - 800beb2: 7083 strb r3, [r0, #2] - 800beb4: 78ca ldrb r2, [r1, #3] - 800beb6: 78c3 ldrb r3, [r0, #3] - 800beb8: 4053 eors r3, r2 - 800beba: 70c3 strb r3, [r0, #3] - 800bebc: 790a ldrb r2, [r1, #4] - 800bebe: 7903 ldrb r3, [r0, #4] + 800beb2: 9a07 ldr r2, [sp, #28] + 800beb4: 5cb2 ldrb r2, [r6, r2] + 800beb6: 4053 eors r3, r2 + 800beb8: f88d 307e strb.w r3, [sp, #126] ; 0x7e + 800bebc: 9b06 ldr r3, [sp, #24] + 800bebe: 9a0a ldr r2, [sp, #40] ; 0x28 800bec0: 4053 eors r3, r2 - 800bec2: 7103 strb r3, [r0, #4] - 800bec4: 794a ldrb r2, [r1, #5] - 800bec6: 7943 ldrb r3, [r0, #5] - 800bec8: 4053 eors r3, r2 - 800beca: 7143 strb r3, [r0, #5] - 800becc: 798a ldrb r2, [r1, #6] - 800bece: 7983 ldrb r3, [r0, #6] - 800bed0: 4053 eors r3, r2 - 800bed2: 7183 strb r3, [r0, #6] - 800bed4: 79ca ldrb r2, [r1, #7] - 800bed6: 79c3 ldrb r3, [r0, #7] - 800bed8: 4053 eors r3, r2 - 800beda: 71c3 strb r3, [r0, #7] - 800bedc: 7a0a ldrb r2, [r1, #8] - 800bede: 7a03 ldrb r3, [r0, #8] - 800bee0: 4053 eors r3, r2 - 800bee2: 7203 strb r3, [r0, #8] - 800bee4: 7a4a ldrb r2, [r1, #9] - 800bee6: 7a43 ldrb r3, [r0, #9] - 800bee8: 4053 eors r3, r2 - 800beea: 7243 strb r3, [r0, #9] - 800beec: 7a8a ldrb r2, [r1, #10] - 800beee: 7a83 ldrb r3, [r0, #10] - 800bef0: 4053 eors r3, r2 - 800bef2: 7283 strb r3, [r0, #10] - 800bef4: 7aca ldrb r2, [r1, #11] - 800bef6: 7ac3 ldrb r3, [r0, #11] + 800bec2: 9a04 ldr r2, [sp, #16] + 800bec4: 5cb2 ldrb r2, [r6, r2] + 800bec6: 405a eors r2, r3 + 800bec8: 9b07 ldr r3, [sp, #28] + 800beca: 5ceb ldrb r3, [r5, r3] + 800becc: 405a eors r2, r3 + 800bece: f88d 207f strb.w r2, [sp, #127] ; 0x7f + 800bed2: 9b0e ldr r3, [sp, #56] ; 0x38 + 800bed4: 9a10 ldr r2, [sp, #64] ; 0x40 + 800bed6: 4053 eors r3, r2 + 800bed8: 9a0b ldr r2, [sp, #44] ; 0x2c + 800beda: 5caa ldrb r2, [r5, r2] + 800bedc: 4053 eors r3, r2 + 800bede: 9a0c ldr r2, [sp, #48] ; 0x30 + 800bee0: 5cb2 ldrb r2, [r6, r2] + 800bee2: 4053 eors r3, r2 + 800bee4: f88d 3080 strb.w r3, [sp, #128] ; 0x80 + 800bee8: e9dd 3210 ldrd r3, r2, [sp, #64] ; 0x40 + 800beec: 405a eors r2, r3 + 800beee: 9b0c ldr r3, [sp, #48] ; 0x30 + 800bef0: 5ceb ldrb r3, [r5, r3] + 800bef2: 4053 eors r3, r2 + 800bef4: 9a0d ldr r2, [sp, #52] ; 0x34 + 800bef6: 5cb2 ldrb r2, [r6, r2] 800bef8: 4053 eors r3, r2 - 800befa: 72c3 strb r3, [r0, #11] - 800befc: 7b0a ldrb r2, [r1, #12] - 800befe: 7b03 ldrb r3, [r0, #12] - 800bf00: 4053 eors r3, r2 - 800bf02: 7303 strb r3, [r0, #12] - 800bf04: 7b4a ldrb r2, [r1, #13] - 800bf06: 7b43 ldrb r3, [r0, #13] + 800befa: f88d 3081 strb.w r3, [sp, #129] ; 0x81 + 800befe: e9dd 3211 ldrd r3, r2, [sp, #68] ; 0x44 + 800bf02: 405a eors r2, r3 + 800bf04: 9b0d ldr r3, [sp, #52] ; 0x34 + 800bf06: 5ceb ldrb r3, [r5, r3] 800bf08: 4053 eors r3, r2 - 800bf0a: 7343 strb r3, [r0, #13] - 800bf0c: 7b8a ldrb r2, [r1, #14] - 800bf0e: 7b83 ldrb r3, [r0, #14] - 800bf10: 4053 eors r3, r2 - 800bf12: 7383 strb r3, [r0, #14] - 800bf14: 7bca ldrb r2, [r1, #15] - 800bf16: 7bc3 ldrb r3, [r0, #15] + 800bf0a: 9a0f ldr r2, [sp, #60] ; 0x3c + 800bf0c: 5cb2 ldrb r2, [r6, r2] + 800bf0e: 4053 eors r3, r2 + 800bf10: f88d 3082 strb.w r3, [sp, #130] ; 0x82 + 800bf14: 9a12 ldr r2, [sp, #72] ; 0x48 + 800bf16: 9b0e ldr r3, [sp, #56] ; 0x38 800bf18: 4053 eors r3, r2 - 800bf1a: 73c3 strb r3, [r0, #15] - 800bf1c: 4770 bx lr + 800bf1a: 9a0b ldr r2, [sp, #44] ; 0x2c + 800bf1c: 5cb2 ldrb r2, [r6, r2] + 800bf1e: 405a eors r2, r3 + 800bf20: 9b0f ldr r3, [sp, #60] ; 0x3c + 800bf22: 5ceb ldrb r3, [r5, r3] + 800bf24: 991c ldr r1, [sp, #112] ; 0x70 + 800bf26: 405a eors r2, r3 + 800bf28: f88d 2083 strb.w r2, [sp, #131] ; 0x83 + 800bf2c: 9b16 ldr r3, [sp, #88] ; 0x58 + 800bf2e: 9a18 ldr r2, [sp, #96] ; 0x60 + 800bf30: 4053 eors r3, r2 + 800bf32: 9a13 ldr r2, [sp, #76] ; 0x4c + 800bf34: 5caa ldrb r2, [r5, r2] + 800bf36: 4053 eors r3, r2 + 800bf38: 9a14 ldr r2, [sp, #80] ; 0x50 + 800bf3a: 5cb2 ldrb r2, [r6, r2] + 800bf3c: 4053 eors r3, r2 + 800bf3e: f88d 3084 strb.w r3, [sp, #132] ; 0x84 + 800bf42: e9dd 3218 ldrd r3, r2, [sp, #96] ; 0x60 + 800bf46: 405a eors r2, r3 + 800bf48: 9b14 ldr r3, [sp, #80] ; 0x50 + 800bf4a: 5ceb ldrb r3, [r5, r3] + 800bf4c: 4053 eors r3, r2 + 800bf4e: 9a15 ldr r2, [sp, #84] ; 0x54 + 800bf50: 5cb2 ldrb r2, [r6, r2] + 800bf52: 4053 eors r3, r2 + 800bf54: f88d 3085 strb.w r3, [sp, #133] ; 0x85 + 800bf58: e9dd 3219 ldrd r3, r2, [sp, #100] ; 0x64 + 800bf5c: 405a eors r2, r3 + 800bf5e: 9b15 ldr r3, [sp, #84] ; 0x54 + 800bf60: 5ceb ldrb r3, [r5, r3] + 800bf62: 4053 eors r3, r2 + 800bf64: 9a17 ldr r2, [sp, #92] ; 0x5c + 800bf66: 5cb2 ldrb r2, [r6, r2] + 800bf68: 4053 eors r3, r2 + 800bf6a: f88d 3086 strb.w r3, [sp, #134] ; 0x86 + 800bf6e: 9a1a ldr r2, [sp, #104] ; 0x68 + 800bf70: 9b16 ldr r3, [sp, #88] ; 0x58 + 800bf72: 4053 eors r3, r2 + 800bf74: 9a13 ldr r2, [sp, #76] ; 0x4c + 800bf76: 5cb2 ldrb r2, [r6, r2] + 800bf78: 4053 eors r3, r2 + 800bf7a: 9a17 ldr r2, [sp, #92] ; 0x5c + 800bf7c: 5caa ldrb r2, [r5, r2] + 800bf7e: a81e add r0, sp, #120 ; 0x78 + 800bf80: 4053 eors r3, r2 + 800bf82: f88d 3087 strb.w r3, [sp, #135] ; 0x87 + 800bf86: f7ff fda5 bl 800bad4 + 800bf8a: e6b8 b.n 800bcfe + 800bf8c: 20ff movs r0, #255 ; 0xff + 800bf8e: e749 b.n 800be24 + 800bf90: 0800f67c .word 0x0800f67c + 800bf94: 0800f47c .word 0x0800f47c + 800bf98: 0800f57c .word 0x0800f57c -0800bf1e : - 800bf1e: b510 push {r4, lr} - 800bf20: 780b ldrb r3, [r1, #0] - 800bf22: 7814 ldrb r4, [r2, #0] - 800bf24: 4063 eors r3, r4 - 800bf26: 7003 strb r3, [r0, #0] - 800bf28: 7854 ldrb r4, [r2, #1] - 800bf2a: 784b ldrb r3, [r1, #1] - 800bf2c: 4063 eors r3, r4 - 800bf2e: 7043 strb r3, [r0, #1] - 800bf30: 7894 ldrb r4, [r2, #2] - 800bf32: 788b ldrb r3, [r1, #2] - 800bf34: 4063 eors r3, r4 - 800bf36: 7083 strb r3, [r0, #2] - 800bf38: 78d4 ldrb r4, [r2, #3] - 800bf3a: 78cb ldrb r3, [r1, #3] - 800bf3c: 4063 eors r3, r4 - 800bf3e: 70c3 strb r3, [r0, #3] - 800bf40: 7914 ldrb r4, [r2, #4] - 800bf42: 790b ldrb r3, [r1, #4] - 800bf44: 4063 eors r3, r4 - 800bf46: 7103 strb r3, [r0, #4] - 800bf48: 7954 ldrb r4, [r2, #5] - 800bf4a: 794b ldrb r3, [r1, #5] - 800bf4c: 4063 eors r3, r4 - 800bf4e: 7143 strb r3, [r0, #5] - 800bf50: 7994 ldrb r4, [r2, #6] - 800bf52: 798b ldrb r3, [r1, #6] - 800bf54: 4063 eors r3, r4 - 800bf56: 7183 strb r3, [r0, #6] - 800bf58: 79d4 ldrb r4, [r2, #7] - 800bf5a: 79cb ldrb r3, [r1, #7] - 800bf5c: 4063 eors r3, r4 - 800bf5e: 71c3 strb r3, [r0, #7] - 800bf60: 7a14 ldrb r4, [r2, #8] - 800bf62: 7a0b ldrb r3, [r1, #8] - 800bf64: 4063 eors r3, r4 - 800bf66: 7203 strb r3, [r0, #8] - 800bf68: 7a54 ldrb r4, [r2, #9] - 800bf6a: 7a4b ldrb r3, [r1, #9] - 800bf6c: 4063 eors r3, r4 - 800bf6e: 7243 strb r3, [r0, #9] - 800bf70: 7a8b ldrb r3, [r1, #10] - 800bf72: 7a94 ldrb r4, [r2, #10] - 800bf74: 4063 eors r3, r4 - 800bf76: 7283 strb r3, [r0, #10] - 800bf78: 7ad4 ldrb r4, [r2, #11] - 800bf7a: 7acb ldrb r3, [r1, #11] - 800bf7c: 4063 eors r3, r4 - 800bf7e: 72c3 strb r3, [r0, #11] - 800bf80: 7b14 ldrb r4, [r2, #12] - 800bf82: 7b0b ldrb r3, [r1, #12] - 800bf84: 4063 eors r3, r4 - 800bf86: 7303 strb r3, [r0, #12] - 800bf88: 7b54 ldrb r4, [r2, #13] - 800bf8a: 7b4b ldrb r3, [r1, #13] - 800bf8c: 4063 eors r3, r4 - 800bf8e: 7343 strb r3, [r0, #13] - 800bf90: 7b94 ldrb r4, [r2, #14] - 800bf92: 7b8b ldrb r3, [r1, #14] - 800bf94: 4063 eors r3, r4 - 800bf96: 7383 strb r3, [r0, #14] - 800bf98: 7bcb ldrb r3, [r1, #15] - 800bf9a: 7bd2 ldrb r2, [r2, #15] - 800bf9c: 4053 eors r3, r2 - 800bf9e: 73c3 strb r3, [r0, #15] - 800bfa0: bd10 pop {r4, pc} +0800bf9c : + 800bf9c: b508 push {r3, lr} + 800bf9e: b138 cbz r0, 800bfb0 + 800bfa0: 4a04 ldr r2, [pc, #16] ; (800bfb4 ) + 800bfa2: 4905 ldr r1, [pc, #20] ; (800bfb8 ) + 800bfa4: 6010 str r0, [r2, #0] + 800bfa6: 22d8 movs r2, #216 ; 0xd8 + 800bfa8: f000 fab0 bl 800c50c + 800bfac: 2000 movs r0, #0 + 800bfae: bd08 pop {r3, pc} + 800bfb0: 2002 movs r0, #2 + 800bfb2: e7fc b.n 800bfae + 800bfb4: 200019c8 .word 0x200019c8 + 800bfb8: 0800fbac .word 0x0800fbac + +0800bfbc : + 800bfbc: 4b0a ldr r3, [pc, #40] ; (800bfe8 ) + 800bfbe: 681a ldr r2, [r3, #0] + 800bfc0: b570 push {r4, r5, r6, lr} + 800bfc2: 2300 movs r3, #0 + 800bfc4: f102 0518 add.w r5, r2, #24 + 800bfc8: eb03 1403 add.w r4, r3, r3, lsl #4 + 800bfcc: 5d2e ldrb r6, [r5, r4] + 800bfce: 4286 cmp r6, r0 + 800bfd0: d104 bne.n 800bfdc + 800bfd2: 3418 adds r4, #24 + 800bfd4: 4422 add r2, r4 + 800bfd6: 600a str r2, [r1, #0] + 800bfd8: 2000 movs r0, #0 + 800bfda: bd70 pop {r4, r5, r6, pc} + 800bfdc: 3301 adds r3, #1 + 800bfde: 2b0b cmp r3, #11 + 800bfe0: d1f2 bne.n 800bfc8 + 800bfe2: 2003 movs r0, #3 + 800bfe4: e7f9 b.n 800bfda + 800bfe6: bf00 nop + 800bfe8: 200019c8 .word 0x200019c8 + +0800bfec : + 800bfec: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800bff0: b0cc sub sp, #304 ; 0x130 + 800bff2: 4606 mov r6, r0 + 800bff4: f8dd 8148 ldr.w r8, [sp, #328] ; 0x148 + 800bff8: 4617 mov r7, r2 + 800bffa: 461c mov r4, r3 + 800bffc: 460d mov r5, r1 + 800bffe: b331 cbz r1, 800c04e + 800c000: f1b8 0f00 cmp.w r8, #0 + 800c004: d023 beq.n 800c04e + 800c006: a806 add r0, sp, #24 + 800c008: f7ff fc2e bl 800b868 + 800c00c: 4620 mov r0, r4 + 800c00e: a901 add r1, sp, #4 + 800c010: f7ff ffd4 bl 800bfbc + 800c014: 4604 mov r4, r0 + 800c016: b9b0 cbnz r0, 800c046 + 800c018: 9901 ldr r1, [sp, #4] + 800c01a: a806 add r0, sp, #24 + 800c01c: 3101 adds r1, #1 + 800c01e: f7ff fc33 bl 800b888 + 800c022: b126 cbz r6, 800c02e + 800c024: 2210 movs r2, #16 + 800c026: 4631 mov r1, r6 + 800c028: a806 add r0, sp, #24 + 800c02a: f7ff fc32 bl 800b892 + 800c02e: 463a mov r2, r7 + 800c030: 4629 mov r1, r5 + 800c032: a806 add r0, sp, #24 + 800c034: f7ff fc2d bl 800b892 + 800c038: a906 add r1, sp, #24 + 800c03a: a802 add r0, sp, #8 + 800c03c: f7ff fc94 bl 800b968 + 800c040: 9b02 ldr r3, [sp, #8] + 800c042: f8c8 3000 str.w r3, [r8] + 800c046: 4620 mov r0, r4 + 800c048: b04c add sp, #304 ; 0x130 + 800c04a: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800c04e: 2402 movs r4, #2 + 800c050: e7f9 b.n 800c046 ... -0800bfa4 : - 800bfa4: f1a1 0310 sub.w r3, r1, #16 - 800bfa8: b2db uxtb r3, r3 - 800bfaa: 2b10 cmp r3, #16 - 800bfac: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 800bfb0: d804 bhi.n 800bfbc - 800bfb2: 4c37 ldr r4, [pc, #220] ; (800c090 ) - 800bfb4: fa24 f303 lsr.w r3, r4, r3 - 800bfb8: 07db lsls r3, r3, #31 - 800bfba: d405 bmi.n 800bfc8 - 800bfbc: 2300 movs r3, #0 - 800bfbe: f882 30f0 strb.w r3, [r2, #240] ; 0xf0 - 800bfc2: 20ff movs r0, #255 ; 0xff - 800bfc4: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 800bfc8: 1e53 subs r3, r2, #1 - 800bfca: 1844 adds r4, r0, r1 - 800bfcc: 42a0 cmp r0, r4 - 800bfce: d14e bne.n 800c06e - 800bfd0: f101 031c add.w r3, r1, #28 - 800bfd4: 009b lsls r3, r3, #2 - 800bfd6: fa5f f983 uxtb.w r9, r3 - 800bfda: f3c3 1303 ubfx r3, r3, #4, #4 - 800bfde: 3b01 subs r3, #1 - 800bfe0: 4d2c ldr r5, [pc, #176] ; (800c094 ) - 800bfe2: f882 30f0 strb.w r3, [r2, #240] ; 0xf0 - 800bfe6: 2401 movs r4, #1 - 800bfe8: 460b mov r3, r1 - 800bfea: 18d6 adds r6, r2, r3 - 800bfec: fbb3 f0f1 udiv r0, r3, r1 - 800bff0: fb01 3010 mls r0, r1, r0, r3 - 800bff4: f010 00ff ands.w r0, r0, #255 ; 0xff - 800bff8: f816 ac04 ldrb.w sl, [r6, #-4] - 800bffc: f816 ec03 ldrb.w lr, [r6, #-3] - 800c000: f816 cc02 ldrb.w ip, [r6, #-2] - 800c004: f816 7c01 ldrb.w r7, [r6, #-1] - 800c008: d136 bne.n 800c078 - 800c00a: f815 800e ldrb.w r8, [r5, lr] - 800c00e: f815 e00c ldrb.w lr, [r5, ip] - 800c012: f815 c007 ldrb.w ip, [r5, r7] - 800c016: f815 700a ldrb.w r7, [r5, sl] - 800c01a: 09e0 lsrs r0, r4, #7 - 800c01c: eb00 0040 add.w r0, r0, r0, lsl #1 - 800c020: ea84 0808 eor.w r8, r4, r8 - 800c024: eb00 00c0 add.w r0, r0, r0, lsl #3 - 800c028: 0064 lsls r4, r4, #1 - 800c02a: b2c0 uxtb r0, r0 - 800c02c: b2e4 uxtb r4, r4 - 800c02e: 4044 eors r4, r0 - 800c030: 46c2 mov sl, r8 - 800c032: 1a58 subs r0, r3, r1 - 800c034: b2c0 uxtb r0, r0 - 800c036: f812 8000 ldrb.w r8, [r2, r0] - 800c03a: ea8a 0a08 eor.w sl, sl, r8 - 800c03e: f802 a003 strb.w sl, [r2, r3] - 800c042: 4410 add r0, r2 - 800c044: 3304 adds r3, #4 - 800c046: f890 8001 ldrb.w r8, [r0, #1] - 800c04a: ea8e 0e08 eor.w lr, lr, r8 - 800c04e: f886 e001 strb.w lr, [r6, #1] - 800c052: f890 e002 ldrb.w lr, [r0, #2] - 800c056: ea8c 0c0e eor.w ip, ip, lr - 800c05a: f886 c002 strb.w ip, [r6, #2] - 800c05e: 78c0 ldrb r0, [r0, #3] - 800c060: b2db uxtb r3, r3 - 800c062: 4047 eors r7, r0 - 800c064: 4599 cmp r9, r3 - 800c066: 70f7 strb r7, [r6, #3] - 800c068: d8bf bhi.n 800bfea - 800c06a: 2000 movs r0, #0 - 800c06c: e7aa b.n 800bfc4 - 800c06e: f810 5b01 ldrb.w r5, [r0], #1 - 800c072: f803 5f01 strb.w r5, [r3, #1]! - 800c076: e7a9 b.n 800bfcc - 800c078: 2918 cmp r1, #24 - 800c07a: d9da bls.n 800c032 - 800c07c: 2810 cmp r0, #16 - 800c07e: bf01 itttt eq - 800c080: f815 a00a ldrbeq.w sl, [r5, sl] - 800c084: f815 e00e ldrbeq.w lr, [r5, lr] - 800c088: f815 c00c ldrbeq.w ip, [r5, ip] - 800c08c: 5def ldrbeq r7, [r5, r7] - 800c08e: e7d0 b.n 800c032 - 800c090: 00010101 .word 0x00010101 - 800c094: 0800fe3c .word 0x0800fe3c +0800c054 : + 800c054: b530 push {r4, r5, lr} + 800c056: b095 sub sp, #84 ; 0x54 + 800c058: a913 add r1, sp, #76 ; 0x4c + 800c05a: 4604 mov r4, r0 + 800c05c: f7ff ffae bl 800bfbc + 800c060: 2800 cmp r0, #0 + 800c062: d130 bne.n 800c0c6 + 800c064: 491b ldr r1, [pc, #108] ; (800c0d4 ) + 800c066: 230c movs r3, #12 + 800c068: fb03 f200 mul.w r2, r3, r0 + 800c06c: 5c55 ldrb r5, [r2, r1] + 800c06e: 42a5 cmp r5, r4 + 800c070: d12b bne.n 800c0ca + 800c072: 9b13 ldr r3, [sp, #76] ; 0x4c + 800c074: 7c18 ldrb r0, [r3, #16] + 800c076: 9010 str r0, [sp, #64] ; 0x40 + 800c078: 7bd8 ldrb r0, [r3, #15] + 800c07a: 900f str r0, [sp, #60] ; 0x3c + 800c07c: 7b98 ldrb r0, [r3, #14] + 800c07e: 900e str r0, [sp, #56] ; 0x38 + 800c080: 7b58 ldrb r0, [r3, #13] + 800c082: 900d str r0, [sp, #52] ; 0x34 + 800c084: 7b18 ldrb r0, [r3, #12] + 800c086: 900c str r0, [sp, #48] ; 0x30 + 800c088: 7ad8 ldrb r0, [r3, #11] + 800c08a: 900b str r0, [sp, #44] ; 0x2c + 800c08c: 7a98 ldrb r0, [r3, #10] + 800c08e: 900a str r0, [sp, #40] ; 0x28 + 800c090: 7a58 ldrb r0, [r3, #9] + 800c092: 9009 str r0, [sp, #36] ; 0x24 + 800c094: 7a18 ldrb r0, [r3, #8] + 800c096: 9008 str r0, [sp, #32] + 800c098: 79d8 ldrb r0, [r3, #7] + 800c09a: 9007 str r0, [sp, #28] + 800c09c: 7998 ldrb r0, [r3, #6] + 800c09e: 9006 str r0, [sp, #24] + 800c0a0: 7958 ldrb r0, [r3, #5] + 800c0a2: 9005 str r0, [sp, #20] + 800c0a4: 7918 ldrb r0, [r3, #4] + 800c0a6: 9004 str r0, [sp, #16] + 800c0a8: 78d8 ldrb r0, [r3, #3] + 800c0aa: 9003 str r0, [sp, #12] + 800c0ac: 7898 ldrb r0, [r3, #2] + 800c0ae: 9002 str r0, [sp, #8] + 800c0b0: 440a add r2, r1 + 800c0b2: 785b ldrb r3, [r3, #1] + 800c0b4: 9301 str r3, [sp, #4] + 800c0b6: 6893 ldr r3, [r2, #8] + 800c0b8: 9300 str r3, [sp, #0] + 800c0ba: 2200 movs r2, #0 + 800c0bc: 4b06 ldr r3, [pc, #24] ; (800c0d8 ) + 800c0be: 4611 mov r1, r2 + 800c0c0: 2002 movs r0, #2 + 800c0c2: f002 fa19 bl 800e4f8 + 800c0c6: b015 add sp, #84 ; 0x54 + 800c0c8: bd30 pop {r4, r5, pc} + 800c0ca: 3001 adds r0, #1 + 800c0cc: 280b cmp r0, #11 + 800c0ce: d1cb bne.n 800c068 + 800c0d0: e7f9 b.n 800c0c6 + 800c0d2: bf00 nop + 800c0d4: 0800f8f4 .word 0x0800f8f4 + 800c0d8: 0800f77c .word 0x0800f77c -0800c098 : - 800c098: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800c09c: b0a3 sub sp, #140 ; 0x8c - 800c09e: f892 30f0 ldrb.w r3, [r2, #240] ; 0xf0 - 800c0a2: 911d str r1, [sp, #116] ; 0x74 - 800c0a4: 921b str r2, [sp, #108] ; 0x6c - 800c0a6: 9301 str r3, [sp, #4] - 800c0a8: 2b00 cmp r3, #0 - 800c0aa: f000 8153 beq.w 800c354 - 800c0ae: 4601 mov r1, r0 - 800c0b0: a81e add r0, sp, #120 ; 0x78 - 800c0b2: f7ff ff34 bl 800bf1e - 800c0b6: 9b1b ldr r3, [sp, #108] ; 0x6c - 800c0b8: 4ca7 ldr r4, [pc, #668] ; (800c358 ) - 800c0ba: 4da8 ldr r5, [pc, #672] ; (800c35c ) - 800c0bc: 4ea8 ldr r6, [pc, #672] ; (800c360 ) - 800c0be: 3310 adds r3, #16 - 800c0c0: 9302 str r3, [sp, #8] - 800c0c2: 2300 movs r3, #0 - 800c0c4: 9303 str r3, [sp, #12] - 800c0c6: f89d 007c ldrb.w r0, [sp, #124] ; 0x7c - 800c0ca: 9004 str r0, [sp, #16] - 800c0cc: f89d 0086 ldrb.w r0, [sp, #134] ; 0x86 - 800c0d0: 9005 str r0, [sp, #20] - 800c0d2: 5c20 ldrb r0, [r4, r0] - 800c0d4: 9006 str r0, [sp, #24] - 800c0d6: f89d 007b ldrb.w r0, [sp, #123] ; 0x7b - 800c0da: 9007 str r0, [sp, #28] - 800c0dc: 5c20 ldrb r0, [r4, r0] - 800c0de: 9008 str r0, [sp, #32] - 800c0e0: 9804 ldr r0, [sp, #16] - 800c0e2: f89d c081 ldrb.w ip, [sp, #129] ; 0x81 - 800c0e6: 5c20 ldrb r0, [r4, r0] - 800c0e8: 9009 str r0, [sp, #36] ; 0x24 - 800c0ea: f814 000c ldrb.w r0, [r4, ip] - 800c0ee: 900a str r0, [sp, #40] ; 0x28 - 800c0f0: f89d 0080 ldrb.w r0, [sp, #128] ; 0x80 - 800c0f4: 900b str r0, [sp, #44] ; 0x2c - 800c0f6: f89d 0085 ldrb.w r0, [sp, #133] ; 0x85 - 800c0fa: f89d 8078 ldrb.w r8, [sp, #120] ; 0x78 - 800c0fe: f89d e07d ldrb.w lr, [sp, #125] ; 0x7d - 800c102: f89d a082 ldrb.w sl, [sp, #130] ; 0x82 - 800c106: f89d 9087 ldrb.w r9, [sp, #135] ; 0x87 - 800c10a: 900c str r0, [sp, #48] ; 0x30 - 800c10c: f89d 007a ldrb.w r0, [sp, #122] ; 0x7a - 800c110: 9b02 ldr r3, [sp, #8] - 800c112: 931c str r3, [sp, #112] ; 0x70 - 800c114: f814 200a ldrb.w r2, [r4, sl] - 800c118: f814 3009 ldrb.w r3, [r4, r9] - 800c11c: f814 1008 ldrb.w r1, [r4, r8] - 800c120: f814 700e ldrb.w r7, [r4, lr] - 800c124: 900d str r0, [sp, #52] ; 0x34 - 800c126: 5c20 ldrb r0, [r4, r0] - 800c128: 900e str r0, [sp, #56] ; 0x38 - 800c12a: f89d 007f ldrb.w r0, [sp, #127] ; 0x7f - 800c12e: 900f str r0, [sp, #60] ; 0x3c - 800c130: 5c20 ldrb r0, [r4, r0] - 800c132: 9010 str r0, [sp, #64] ; 0x40 - 800c134: 980b ldr r0, [sp, #44] ; 0x2c - 800c136: 5c20 ldrb r0, [r4, r0] - 800c138: 9011 str r0, [sp, #68] ; 0x44 - 800c13a: 980c ldr r0, [sp, #48] ; 0x30 - 800c13c: 5c20 ldrb r0, [r4, r0] - 800c13e: 9012 str r0, [sp, #72] ; 0x48 - 800c140: f89d 0084 ldrb.w r0, [sp, #132] ; 0x84 - 800c144: 9013 str r0, [sp, #76] ; 0x4c - 800c146: f89d 0079 ldrb.w r0, [sp, #121] ; 0x79 - 800c14a: 9014 str r0, [sp, #80] ; 0x50 - 800c14c: f89d 007e ldrb.w r0, [sp, #126] ; 0x7e - 800c150: 9015 str r0, [sp, #84] ; 0x54 - 800c152: 5c20 ldrb r0, [r4, r0] - 800c154: 9016 str r0, [sp, #88] ; 0x58 - 800c156: f89d 0083 ldrb.w r0, [sp, #131] ; 0x83 - 800c15a: 9017 str r0, [sp, #92] ; 0x5c - 800c15c: 5c20 ldrb r0, [r4, r0] - 800c15e: 9018 str r0, [sp, #96] ; 0x60 - 800c160: 9813 ldr r0, [sp, #76] ; 0x4c - 800c162: 5c20 ldrb r0, [r4, r0] - 800c164: 9019 str r0, [sp, #100] ; 0x64 - 800c166: 9814 ldr r0, [sp, #80] ; 0x50 - 800c168: 5c20 ldrb r0, [r4, r0] - 800c16a: 901a str r0, [sp, #104] ; 0x68 - 800c16c: 9803 ldr r0, [sp, #12] - 800c16e: 3001 adds r0, #1 - 800c170: 9003 str r0, [sp, #12] - 800c172: 9802 ldr r0, [sp, #8] - 800c174: f8dd b004 ldr.w fp, [sp, #4] - 800c178: 3010 adds r0, #16 - 800c17a: 9002 str r0, [sp, #8] - 800c17c: f89d 000c ldrb.w r0, [sp, #12] - 800c180: 4583 cmp fp, r0 - 800c182: d836 bhi.n 800c1f2 - 800c184: f88d 1078 strb.w r1, [sp, #120] ; 0x78 - 800c188: f88d 207a strb.w r2, [sp, #122] ; 0x7a - 800c18c: 9909 ldr r1, [sp, #36] ; 0x24 - 800c18e: 9a0e ldr r2, [sp, #56] ; 0x38 - 800c190: f88d 107c strb.w r1, [sp, #124] ; 0x7c - 800c194: f88d 2082 strb.w r2, [sp, #130] ; 0x82 - 800c198: 9911 ldr r1, [sp, #68] ; 0x44 - 800c19a: 9a06 ldr r2, [sp, #24] - 800c19c: f88d 1080 strb.w r1, [sp, #128] ; 0x80 - 800c1a0: f88d 207e strb.w r2, [sp, #126] ; 0x7e - 800c1a4: 9919 ldr r1, [sp, #100] ; 0x64 - 800c1a6: 9a16 ldr r2, [sp, #88] ; 0x58 - 800c1a8: f88d 1084 strb.w r1, [sp, #132] ; 0x84 - 800c1ac: f88d 2086 strb.w r2, [sp, #134] ; 0x86 - 800c1b0: 990a ldr r1, [sp, #40] ; 0x28 - 800c1b2: 9a18 ldr r2, [sp, #96] ; 0x60 - 800c1b4: f88d 107d strb.w r1, [sp, #125] ; 0x7d - 800c1b8: f88d 2087 strb.w r2, [sp, #135] ; 0x87 - 800c1bc: 9912 ldr r1, [sp, #72] ; 0x48 - 800c1be: 9a10 ldr r2, [sp, #64] ; 0x40 - 800c1c0: f88d 307b strb.w r3, [sp, #123] ; 0x7b - 800c1c4: 9b1b ldr r3, [sp, #108] ; 0x6c - 800c1c6: f88d 1081 strb.w r1, [sp, #129] ; 0x81 - 800c1ca: f88d 2083 strb.w r2, [sp, #131] ; 0x83 - 800c1ce: 991a ldr r1, [sp, #104] ; 0x68 - 800c1d0: 9a08 ldr r2, [sp, #32] - 800c1d2: 981d ldr r0, [sp, #116] ; 0x74 - 800c1d4: f88d 1085 strb.w r1, [sp, #133] ; 0x85 - 800c1d8: f88d 207f strb.w r2, [sp, #127] ; 0x7f - 800c1dc: a91e add r1, sp, #120 ; 0x78 - 800c1de: eb03 120b add.w r2, r3, fp, lsl #4 - 800c1e2: f88d 7079 strb.w r7, [sp, #121] ; 0x79 - 800c1e6: f7ff fe9a bl 800bf1e - 800c1ea: 2000 movs r0, #0 - 800c1ec: b023 add sp, #140 ; 0x8c - 800c1ee: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800c1f2: f815 b008 ldrb.w fp, [r5, r8] - 800c1f6: ea82 0003 eor.w r0, r2, r3 - 800c1fa: ea8b 0000 eor.w r0, fp, r0 - 800c1fe: f816 b00e ldrb.w fp, [r6, lr] - 800c202: ea80 000b eor.w r0, r0, fp - 800c206: f88d 0078 strb.w r0, [sp, #120] ; 0x78 - 800c20a: f815 000e ldrb.w r0, [r5, lr] - 800c20e: 404b eors r3, r1 - 800c210: 4043 eors r3, r0 - 800c212: f816 000a ldrb.w r0, [r6, sl] - 800c216: 4043 eors r3, r0 - 800c218: f88d 3079 strb.w r3, [sp, #121] ; 0x79 - 800c21c: ea81 0307 eor.w r3, r1, r7 - 800c220: f815 100a ldrb.w r1, [r5, sl] - 800c224: 4059 eors r1, r3 - 800c226: f816 3009 ldrb.w r3, [r6, r9] - 800c22a: 4059 eors r1, r3 - 800c22c: f816 3008 ldrb.w r3, [r6, r8] - 800c230: f88d 107a strb.w r1, [sp, #122] ; 0x7a - 800c234: 407a eors r2, r7 - 800c236: 4053 eors r3, r2 - 800c238: f815 2009 ldrb.w r2, [r5, r9] - 800c23c: 4053 eors r3, r2 - 800c23e: f88d 307b strb.w r3, [sp, #123] ; 0x7b - 800c242: 9a08 ldr r2, [sp, #32] - 800c244: 9b06 ldr r3, [sp, #24] - 800c246: 4053 eors r3, r2 - 800c248: 9a04 ldr r2, [sp, #16] - 800c24a: 5caa ldrb r2, [r5, r2] - 800c24c: 4053 eors r3, r2 - 800c24e: f816 200c ldrb.w r2, [r6, ip] - 800c252: 4053 eors r3, r2 - 800c254: f88d 307c strb.w r3, [sp, #124] ; 0x7c - 800c258: e9dd 3208 ldrd r3, r2, [sp, #32] - 800c25c: 405a eors r2, r3 - 800c25e: f815 300c ldrb.w r3, [r5, ip] - 800c262: 4053 eors r3, r2 - 800c264: 9a05 ldr r2, [sp, #20] - 800c266: 5cb2 ldrb r2, [r6, r2] - 800c268: 4053 eors r3, r2 - 800c26a: f88d 307d strb.w r3, [sp, #125] ; 0x7d - 800c26e: e9dd 3209 ldrd r3, r2, [sp, #36] ; 0x24 - 800c272: 405a eors r2, r3 - 800c274: 9b05 ldr r3, [sp, #20] - 800c276: 5ceb ldrb r3, [r5, r3] - 800c278: 4053 eors r3, r2 - 800c27a: 9a07 ldr r2, [sp, #28] - 800c27c: 5cb2 ldrb r2, [r6, r2] - 800c27e: 4053 eors r3, r2 - 800c280: f88d 307e strb.w r3, [sp, #126] ; 0x7e - 800c284: 9b06 ldr r3, [sp, #24] - 800c286: 9a0a ldr r2, [sp, #40] ; 0x28 - 800c288: 4053 eors r3, r2 - 800c28a: 9a04 ldr r2, [sp, #16] - 800c28c: 5cb2 ldrb r2, [r6, r2] - 800c28e: 405a eors r2, r3 - 800c290: 9b07 ldr r3, [sp, #28] - 800c292: 5ceb ldrb r3, [r5, r3] - 800c294: 405a eors r2, r3 - 800c296: f88d 207f strb.w r2, [sp, #127] ; 0x7f - 800c29a: 9b0e ldr r3, [sp, #56] ; 0x38 - 800c29c: 9a10 ldr r2, [sp, #64] ; 0x40 - 800c29e: 4053 eors r3, r2 - 800c2a0: 9a0b ldr r2, [sp, #44] ; 0x2c - 800c2a2: 5caa ldrb r2, [r5, r2] - 800c2a4: 4053 eors r3, r2 - 800c2a6: 9a0c ldr r2, [sp, #48] ; 0x30 - 800c2a8: 5cb2 ldrb r2, [r6, r2] - 800c2aa: 4053 eors r3, r2 - 800c2ac: f88d 3080 strb.w r3, [sp, #128] ; 0x80 - 800c2b0: e9dd 3210 ldrd r3, r2, [sp, #64] ; 0x40 - 800c2b4: 405a eors r2, r3 - 800c2b6: 9b0c ldr r3, [sp, #48] ; 0x30 - 800c2b8: 5ceb ldrb r3, [r5, r3] - 800c2ba: 4053 eors r3, r2 - 800c2bc: 9a0d ldr r2, [sp, #52] ; 0x34 - 800c2be: 5cb2 ldrb r2, [r6, r2] - 800c2c0: 4053 eors r3, r2 - 800c2c2: f88d 3081 strb.w r3, [sp, #129] ; 0x81 - 800c2c6: e9dd 3211 ldrd r3, r2, [sp, #68] ; 0x44 - 800c2ca: 405a eors r2, r3 - 800c2cc: 9b0d ldr r3, [sp, #52] ; 0x34 - 800c2ce: 5ceb ldrb r3, [r5, r3] - 800c2d0: 4053 eors r3, r2 - 800c2d2: 9a0f ldr r2, [sp, #60] ; 0x3c - 800c2d4: 5cb2 ldrb r2, [r6, r2] - 800c2d6: 4053 eors r3, r2 - 800c2d8: f88d 3082 strb.w r3, [sp, #130] ; 0x82 - 800c2dc: 9a12 ldr r2, [sp, #72] ; 0x48 - 800c2de: 9b0e ldr r3, [sp, #56] ; 0x38 - 800c2e0: 4053 eors r3, r2 - 800c2e2: 9a0b ldr r2, [sp, #44] ; 0x2c - 800c2e4: 5cb2 ldrb r2, [r6, r2] - 800c2e6: 405a eors r2, r3 - 800c2e8: 9b0f ldr r3, [sp, #60] ; 0x3c - 800c2ea: 5ceb ldrb r3, [r5, r3] - 800c2ec: 991c ldr r1, [sp, #112] ; 0x70 - 800c2ee: 405a eors r2, r3 - 800c2f0: f88d 2083 strb.w r2, [sp, #131] ; 0x83 - 800c2f4: 9b16 ldr r3, [sp, #88] ; 0x58 - 800c2f6: 9a18 ldr r2, [sp, #96] ; 0x60 - 800c2f8: 4053 eors r3, r2 - 800c2fa: 9a13 ldr r2, [sp, #76] ; 0x4c - 800c2fc: 5caa ldrb r2, [r5, r2] - 800c2fe: 4053 eors r3, r2 - 800c300: 9a14 ldr r2, [sp, #80] ; 0x50 - 800c302: 5cb2 ldrb r2, [r6, r2] - 800c304: 4053 eors r3, r2 - 800c306: f88d 3084 strb.w r3, [sp, #132] ; 0x84 - 800c30a: e9dd 3218 ldrd r3, r2, [sp, #96] ; 0x60 - 800c30e: 405a eors r2, r3 - 800c310: 9b14 ldr r3, [sp, #80] ; 0x50 - 800c312: 5ceb ldrb r3, [r5, r3] - 800c314: 4053 eors r3, r2 - 800c316: 9a15 ldr r2, [sp, #84] ; 0x54 - 800c318: 5cb2 ldrb r2, [r6, r2] - 800c31a: 4053 eors r3, r2 - 800c31c: f88d 3085 strb.w r3, [sp, #133] ; 0x85 - 800c320: e9dd 3219 ldrd r3, r2, [sp, #100] ; 0x64 - 800c324: 405a eors r2, r3 - 800c326: 9b15 ldr r3, [sp, #84] ; 0x54 - 800c328: 5ceb ldrb r3, [r5, r3] - 800c32a: 4053 eors r3, r2 - 800c32c: 9a17 ldr r2, [sp, #92] ; 0x5c - 800c32e: 5cb2 ldrb r2, [r6, r2] - 800c330: 4053 eors r3, r2 - 800c332: f88d 3086 strb.w r3, [sp, #134] ; 0x86 - 800c336: 9a1a ldr r2, [sp, #104] ; 0x68 - 800c338: 9b16 ldr r3, [sp, #88] ; 0x58 - 800c33a: 4053 eors r3, r2 - 800c33c: 9a13 ldr r2, [sp, #76] ; 0x4c - 800c33e: 5cb2 ldrb r2, [r6, r2] - 800c340: 4053 eors r3, r2 - 800c342: 9a17 ldr r2, [sp, #92] ; 0x5c - 800c344: 5caa ldrb r2, [r5, r2] - 800c346: a81e add r0, sp, #120 ; 0x78 - 800c348: 4053 eors r3, r2 - 800c34a: f88d 3087 strb.w r3, [sp, #135] ; 0x87 - 800c34e: f7ff fda5 bl 800be9c - 800c352: e6b8 b.n 800c0c6 - 800c354: 20ff movs r0, #255 ; 0xff - 800c356: e749 b.n 800c1ec - 800c358: 0800fe3c .word 0x0800fe3c - 800c35c: 0800fc3c .word 0x0800fc3c - 800c360: 0800fd3c .word 0x0800fd3c +0800c0dc : + 800c0dc: 2b0b cmp r3, #11 + 800c0de: b410 push {r4} + 800c0e0: d802 bhi.n 800c0e8 + 800c0e2: bc10 pop {r4} + 800c0e4: f7ff bf82 b.w 800bfec + 800c0e8: 2003 movs r0, #3 + 800c0ea: bc10 pop {r4} + 800c0ec: 4770 bx lr -0800c364 : - 800c364: b508 push {r3, lr} - 800c366: b138 cbz r0, 800c378 - 800c368: 4a04 ldr r2, [pc, #16] ; (800c37c ) - 800c36a: 4905 ldr r1, [pc, #20] ; (800c380 ) - 800c36c: 6010 str r0, [r2, #0] - 800c36e: 22d8 movs r2, #216 ; 0xd8 - 800c370: f000 fab0 bl 800c8d4 - 800c374: 2000 movs r0, #0 - 800c376: bd08 pop {r3, pc} - 800c378: 2002 movs r0, #2 - 800c37a: e7fc b.n 800c376 - 800c37c: 200019c8 .word 0x200019c8 - 800c380: 0801036c .word 0x0801036c +0800c0ee : + 800c0ee: b530 push {r4, r5, lr} + 800c0f0: 460d mov r5, r1 + 800c0f2: b085 sub sp, #20 + 800c0f4: 4614 mov r4, r2 + 800c0f6: 4601 mov r1, r0 + 800c0f8: b168 cbz r0, 800c116 + 800c0fa: aa03 add r2, sp, #12 + 800c0fc: 2000 movs r0, #0 + 800c0fe: 9200 str r2, [sp, #0] + 800c100: 462a mov r2, r5 + 800c102: 9003 str r0, [sp, #12] + 800c104: f7ff ff72 bl 800bfec + 800c108: b918 cbnz r0, 800c112 + 800c10a: 9803 ldr r0, [sp, #12] + 800c10c: 1b00 subs r0, r0, r4 + 800c10e: bf18 it ne + 800c110: 2001 movne r0, #1 + 800c112: b005 add sp, #20 + 800c114: bd30 pop {r4, r5, pc} + 800c116: 2002 movs r0, #2 + 800c118: e7fb b.n 800c112 -0800c384 : - 800c384: 4b0a ldr r3, [pc, #40] ; (800c3b0 ) - 800c386: 681a ldr r2, [r3, #0] - 800c388: b570 push {r4, r5, r6, lr} - 800c38a: 2300 movs r3, #0 - 800c38c: f102 0518 add.w r5, r2, #24 - 800c390: eb03 1403 add.w r4, r3, r3, lsl #4 - 800c394: 5d2e ldrb r6, [r5, r4] - 800c396: 4286 cmp r6, r0 - 800c398: d104 bne.n 800c3a4 - 800c39a: 3418 adds r4, #24 - 800c39c: 4422 add r2, r4 - 800c39e: 600a str r2, [r1, #0] +0800c11a : + 800c11a: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} + 800c11e: 460d mov r5, r1 + 800c120: b0bf sub sp, #252 ; 0xfc + 800c122: 4614 mov r4, r2 + 800c124: 4699 mov r9, r3 + 800c126: 4680 mov r8, r0 + 800c128: b320 cbz r0, 800c174 + 800c12a: b31b cbz r3, 800c174 + 800c12c: f011 010f ands.w r1, r1, #15 + 800c130: d122 bne.n 800c178 + 800c132: 22f0 movs r2, #240 ; 0xf0 + 800c134: a801 add r0, sp, #4 + 800c136: f000 f9fd bl 800c534 + 800c13a: 4620 mov r0, r4 + 800c13c: 4669 mov r1, sp + 800c13e: f7ff ff3d bl 800bfbc + 800c142: 4604 mov r4, r0 + 800c144: b948 cbnz r0, 800c15a + 800c146: 9800 ldr r0, [sp, #0] + 800c148: aa01 add r2, sp, #4 + 800c14a: 2110 movs r1, #16 + 800c14c: 3001 adds r0, #1 + 800c14e: f7ff fd45 bl 800bbdc + 800c152: 462e mov r6, r5 + 800c154: 1baf subs r7, r5, r6 + 800c156: b2ff uxtb r7, r7 + 800c158: b91e cbnz r6, 800c162 + 800c15a: 4620 mov r0, r4 + 800c15c: b03f add sp, #252 ; 0xfc + 800c15e: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 800c162: aa01 add r2, sp, #4 + 800c164: eb09 0107 add.w r1, r9, r7 + 800c168: eb08 0007 add.w r0, r8, r7 + 800c16c: f7ff fdb0 bl 800bcd0 + 800c170: 3e10 subs r6, #16 + 800c172: e7ef b.n 800c154 + 800c174: 2402 movs r4, #2 + 800c176: e7f0 b.n 800c15a + 800c178: 2405 movs r4, #5 + 800c17a: e7ee b.n 800c15a + +0800c17c : + 800c17c: b5f0 push {r4, r5, r6, r7, lr} + 800c17e: 4e18 ldr r6, [pc, #96] ; (800c1e0 ) + 800c180: 6834 ldr r4, [r6, #0] + 800c182: 4602 mov r2, r0 + 800c184: b085 sub sp, #20 + 800c186: 4608 mov r0, r1 + 800c188: 2300 movs r3, #0 + 800c18a: f104 0118 add.w r1, r4, #24 + 800c18e: eb03 1503 add.w r5, r3, r3, lsl #4 + 800c192: 5d4f ldrb r7, [r1, r5] + 800c194: 4297 cmp r7, r2 + 800c196: d11e bne.n 800c1d6 + 800c198: 2a0d cmp r2, #13 + 800c19a: f105 0519 add.w r5, r5, #25 + 800c19e: d113 bne.n 800c1c8 + 800c1a0: 2300 movs r3, #0 + 800c1a2: e9cd 3300 strd r3, r3, [sp] + 800c1a6: e9cd 3302 strd r3, r3, [sp, #8] + 800c1aa: 220c movs r2, #12 + 800c1ac: 2110 movs r1, #16 + 800c1ae: 466b mov r3, sp + 800c1b0: f7ff ffb3 bl 800c11a + 800c1b4: 4604 mov r4, r0 + 800c1b6: 6830 ldr r0, [r6, #0] + 800c1b8: 2210 movs r2, #16 + 800c1ba: 4669 mov r1, sp + 800c1bc: 4428 add r0, r5 + 800c1be: f000 f9a5 bl 800c50c + 800c1c2: 4620 mov r0, r4 + 800c1c4: b005 add sp, #20 + 800c1c6: bdf0 pop {r4, r5, r6, r7, pc} + 800c1c8: 4601 mov r1, r0 + 800c1ca: 2210 movs r2, #16 + 800c1cc: 1960 adds r0, r4, r5 + 800c1ce: f000 f99d bl 800c50c + 800c1d2: 2400 movs r4, #0 + 800c1d4: e7f5 b.n 800c1c2 + 800c1d6: 3301 adds r3, #1 + 800c1d8: 2b0b cmp r3, #11 + 800c1da: d1d8 bne.n 800c18e + 800c1dc: 2403 movs r4, #3 + 800c1de: e7f0 b.n 800c1c2 + 800c1e0: 200019c8 .word 0x200019c8 + +0800c1e4 : + 800c1e4: b109 cbz r1, 800c1ea + 800c1e6: f7ff bfc9 b.w 800c17c + 800c1ea: 2002 movs r0, #2 + 800c1ec: 4770 bx lr + +0800c1ee : + 800c1ee: b51f push {r0, r1, r2, r3, r4, lr} + 800c1f0: 4614 mov r4, r2 + 800c1f2: b1a0 cbz r0, 800c21e + 800c1f4: 2a0c cmp r2, #12 + 800c1f6: d101 bne.n 800c1fc + 800c1f8: 290b cmp r1, #11 + 800c1fa: d112 bne.n 800c222 + 800c1fc: 2300 movs r3, #0 + 800c1fe: e9cd 3300 strd r3, r3, [sp] + 800c202: e9cd 3302 strd r3, r3, [sp, #8] + 800c206: 460a mov r2, r1 + 800c208: 466b mov r3, sp + 800c20a: 2110 movs r1, #16 + 800c20c: f7ff ff85 bl 800c11a + 800c210: b918 cbnz r0, 800c21a + 800c212: 4669 mov r1, sp + 800c214: 4620 mov r0, r4 + 800c216: f7ff ffb1 bl 800c17c + 800c21a: b004 add sp, #16 + 800c21c: bd10 pop {r4, pc} + 800c21e: 2002 movs r0, #2 + 800c220: e7fb b.n 800c21a + 800c222: 2003 movs r0, #3 + 800c224: e7f9 b.n 800c21a + +0800c226 : + 800c226: b5f8 push {r3, r4, r5, r6, r7, lr} + 800c228: 461e mov r6, r3 + 800c22a: e9dd 4707 ldrd r4, r7, [sp, #28] + 800c22e: f89d 5018 ldrb.w r5, [sp, #24] + 800c232: b35b cbz r3, 800c28c + 800c234: b354 cbz r4, 800c28c + 800c236: b34f cbz r7, 800c28c + 800c238: 2d21 cmp r5, #33 ; 0x21 + 800c23a: d829 bhi.n 800c290 + 800c23c: 4619 mov r1, r3 + 800c23e: 462a mov r2, r5 + 800c240: 4620 mov r0, r4 + 800c242: f000 f963 bl 800c50c + 800c246: 2201 movs r2, #1 + 800c248: 1c63 adds r3, r4, #1 + 800c24a: 1e69 subs r1, r5, #1 + 800c24c: 18b0 adds r0, r6, r2 + 800c24e: f7ff ff64 bl 800c11a + 800c252: b9f8 cbnz r0, 800c294 + 800c254: 7ae3 ldrb r3, [r4, #11] + 800c256: 09db lsrs r3, r3, #7 + 800c258: 703b strb r3, [r7, #0] + 800c25a: b9eb cbnz r3, 800c298 + 800c25c: 1963 adds r3, r4, r5 + 800c25e: 4620 mov r0, r4 + 800c260: f813 2c01 ldrb.w r2, [r3, #-1] + 800c264: f813 1c02 ldrb.w r1, [r3, #-2] + 800c268: 0612 lsls r2, r2, #24 + 800c26a: ea42 4201 orr.w r2, r2, r1, lsl #16 + 800c26e: f813 1c04 ldrb.w r1, [r3, #-4] + 800c272: 430a orrs r2, r1 + 800c274: f813 1c03 ldrb.w r1, [r3, #-3] + 800c278: 2301 movs r3, #1 + 800c27a: ea42 2201 orr.w r2, r2, r1, lsl #8 + 800c27e: 1f29 subs r1, r5, #4 + 800c280: f7ff ff35 bl 800c0ee + 800c284: 3800 subs r0, #0 + 800c286: bf18 it ne + 800c288: 2001 movne r0, #1 + 800c28a: bdf8 pop {r3, r4, r5, r6, r7, pc} + 800c28c: 2002 movs r0, #2 + 800c28e: e7fc b.n 800c28a + 800c290: 2005 movs r0, #5 + 800c292: e7fa b.n 800c28a + 800c294: 2007 movs r0, #7 + 800c296: e7f8 b.n 800c28a + 800c298: 2004 movs r0, #4 + 800c29a: e7f6 b.n 800c28a + +0800c29c : + 800c29c: b510 push {r4, lr} + 800c29e: 4604 mov r4, r0 + 800c2a0: b128 cbz r0, 800c2ae + 800c2a2: 4b04 ldr r3, [pc, #16] ; (800c2b4 ) + 800c2a4: 695b ldr r3, [r3, #20] + 800c2a6: 4798 blx r3 + 800c2a8: 6020 str r0, [r4, #0] + 800c2aa: 2000 movs r0, #0 + 800c2ac: bd10 pop {r4, pc} + 800c2ae: 2002 movs r0, #2 + 800c2b0: e7fc b.n 800c2ac + 800c2b2: bf00 nop + 800c2b4: 0800fa0c .word 0x0800fa0c + +0800c2b8 : + 800c2b8: b508 push {r3, lr} + 800c2ba: 4601 mov r1, r0 + 800c2bc: b130 cbz r0, 800c2cc + 800c2be: 4b04 ldr r3, [pc, #16] ; (800c2d0 ) + 800c2c0: 2208 movs r2, #8 + 800c2c2: 6818 ldr r0, [r3, #0] + 800c2c4: f000 f922 bl 800c50c + 800c2c8: 2000 movs r0, #0 + 800c2ca: bd08 pop {r3, pc} + 800c2cc: 2002 movs r0, #2 + 800c2ce: e7fc b.n 800c2ca + 800c2d0: 200019c8 .word 0x200019c8 + +0800c2d4 : + 800c2d4: b508 push {r3, lr} + 800c2d6: b130 cbz r0, 800c2e6 + 800c2d8: 4b04 ldr r3, [pc, #16] ; (800c2ec ) + 800c2da: 2208 movs r2, #8 + 800c2dc: 6819 ldr r1, [r3, #0] + 800c2de: f000 f915 bl 800c50c + 800c2e2: 2000 movs r0, #0 + 800c2e4: bd08 pop {r3, pc} + 800c2e6: 2002 movs r0, #2 + 800c2e8: e7fc b.n 800c2e4 + 800c2ea: bf00 nop + 800c2ec: 200019c8 .word 0x200019c8 + +0800c2f0 : + 800c2f0: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} + 800c2f2: 4e12 ldr r6, [pc, #72] ; (800c33c ) + 800c2f4: 2300 movs r3, #0 + 800c2f6: 4604 mov r4, r0 + 800c2f8: a802 add r0, sp, #8 + 800c2fa: 9301 str r3, [sp, #4] + 800c2fc: 460d mov r5, r1 + 800c2fe: f7ff ffe9 bl 800c2d4 + 800c302: 6833 ldr r3, [r6, #0] + 800c304: 695b ldr r3, [r3, #20] + 800c306: 9301 str r3, [sp, #4] + 800c308: b16c cbz r4, 800c326 + 800c30a: aa02 add r2, sp, #8 + 800c30c: 2308 movs r3, #8 + 800c30e: f812 1b01 ldrb.w r1, [r2], #1 + 800c312: b941 cbnz r1, 800c326 + 800c314: 3b01 subs r3, #1 + 800c316: f013 03ff ands.w r3, r3, #255 ; 0xff + 800c31a: d1f8 bne.n 800c30e + 800c31c: a802 add r0, sp, #8 + 800c31e: 47a0 blx r4 + 800c320: a802 add r0, sp, #8 + 800c322: f7ff ffc9 bl 800c2b8 + 800c326: b135 cbz r5, 800c336 + 800c328: 9b01 ldr r3, [sp, #4] + 800c32a: b923 cbnz r3, 800c336 + 800c32c: a801 add r0, sp, #4 + 800c32e: 47a8 blx r5 + 800c330: 6833 ldr r3, [r6, #0] + 800c332: 9a01 ldr r2, [sp, #4] + 800c334: 615a str r2, [r3, #20] + 800c336: 2000 movs r0, #0 + 800c338: b004 add sp, #16 + 800c33a: bd70 pop {r4, r5, r6, pc} + 800c33c: 200019c8 .word 0x200019c8 + +0800c340 : + 800c340: b508 push {r3, lr} + 800c342: 4601 mov r1, r0 + 800c344: b138 cbz r0, 800c356 + 800c346: 4b05 ldr r3, [pc, #20] ; (800c35c ) + 800c348: 6818 ldr r0, [r3, #0] + 800c34a: 2208 movs r2, #8 + 800c34c: 4410 add r0, r2 + 800c34e: f000 f8dd bl 800c50c + 800c352: 2000 movs r0, #0 + 800c354: bd08 pop {r3, pc} + 800c356: 2002 movs r0, #2 + 800c358: e7fc b.n 800c354 + 800c35a: bf00 nop + 800c35c: 200019c8 .word 0x200019c8 + +0800c360 : + 800c360: b508 push {r3, lr} + 800c362: b138 cbz r0, 800c374 + 800c364: 4b04 ldr r3, [pc, #16] ; (800c378 ) + 800c366: 6819 ldr r1, [r3, #0] + 800c368: 2208 movs r2, #8 + 800c36a: 4411 add r1, r2 + 800c36c: f000 f8ce bl 800c50c + 800c370: 2000 movs r0, #0 + 800c372: bd08 pop {r3, pc} + 800c374: 2002 movs r0, #2 + 800c376: e7fc b.n 800c372 + 800c378: 200019c8 .word 0x200019c8 + +0800c37c : + 800c37c: 4b03 ldr r3, [pc, #12] ; (800c38c ) + 800c37e: 681b ldr r3, [r3, #0] + 800c380: 2802 cmp r0, #2 + 800c382: bf0c ite eq + 800c384: 6119 streq r1, [r3, #16] + 800c386: 6159 strne r1, [r3, #20] + 800c388: 2000 movs r0, #0 + 800c38a: 4770 bx lr + 800c38c: 200019c8 .word 0x200019c8 + +0800c390 : + 800c390: b141 cbz r1, 800c3a4 + 800c392: 4b05 ldr r3, [pc, #20] ; (800c3a8 ) + 800c394: 681b ldr r3, [r3, #0] + 800c396: 2802 cmp r0, #2 + 800c398: bf0c ite eq + 800c39a: 691b ldreq r3, [r3, #16] + 800c39c: 695b ldrne r3, [r3, #20] + 800c39e: 600b str r3, [r1, #0] 800c3a0: 2000 movs r0, #0 - 800c3a2: bd70 pop {r4, r5, r6, pc} - 800c3a4: 3301 adds r3, #1 - 800c3a6: 2b0b cmp r3, #11 - 800c3a8: d1f2 bne.n 800c390 - 800c3aa: 2003 movs r0, #3 - 800c3ac: e7f9 b.n 800c3a2 - 800c3ae: bf00 nop - 800c3b0: 200019c8 .word 0x200019c8 + 800c3a2: 4770 bx lr + 800c3a4: 2002 movs r0, #2 + 800c3a6: 4770 bx lr + 800c3a8: 200019c8 .word 0x200019c8 -0800c3b4 : - 800c3b4: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800c3b8: b0cc sub sp, #304 ; 0x130 - 800c3ba: 4606 mov r6, r0 - 800c3bc: f8dd 8148 ldr.w r8, [sp, #328] ; 0x148 - 800c3c0: 4617 mov r7, r2 - 800c3c2: 461c mov r4, r3 - 800c3c4: 460d mov r5, r1 - 800c3c6: b331 cbz r1, 800c416 - 800c3c8: f1b8 0f00 cmp.w r8, #0 - 800c3cc: d023 beq.n 800c416 - 800c3ce: a806 add r0, sp, #24 - 800c3d0: f7ff fc2e bl 800bc30 - 800c3d4: 4620 mov r0, r4 - 800c3d6: a901 add r1, sp, #4 - 800c3d8: f7ff ffd4 bl 800c384 - 800c3dc: 4604 mov r4, r0 - 800c3de: b9b0 cbnz r0, 800c40e - 800c3e0: 9901 ldr r1, [sp, #4] - 800c3e2: a806 add r0, sp, #24 - 800c3e4: 3101 adds r1, #1 - 800c3e6: f7ff fc33 bl 800bc50 - 800c3ea: b126 cbz r6, 800c3f6 - 800c3ec: 2210 movs r2, #16 - 800c3ee: 4631 mov r1, r6 - 800c3f0: a806 add r0, sp, #24 - 800c3f2: f7ff fc32 bl 800bc5a - 800c3f6: 463a mov r2, r7 - 800c3f8: 4629 mov r1, r5 - 800c3fa: a806 add r0, sp, #24 - 800c3fc: f7ff fc2d bl 800bc5a - 800c400: a906 add r1, sp, #24 - 800c402: a802 add r0, sp, #8 - 800c404: f7ff fc94 bl 800bd30 - 800c408: 9b02 ldr r3, [sp, #8] - 800c40a: f8c8 3000 str.w r3, [r8] - 800c40e: 4620 mov r0, r4 - 800c410: b04c add sp, #304 ; 0x130 - 800c412: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800c416: 2402 movs r4, #2 - 800c418: e7f9 b.n 800c40e - ... +0800c3ac : + 800c3ac: b530 push {r4, r5, lr} + 800c3ae: b08f sub sp, #60 ; 0x3c + 800c3b0: 2400 movs r4, #0 + 800c3b2: 4605 mov r5, r0 + 800c3b4: a80c add r0, sp, #48 ; 0x30 + 800c3b6: 9409 str r4, [sp, #36] ; 0x24 + 800c3b8: f7ff ff8c bl 800c2d4 + 800c3bc: f89d 3037 ldrb.w r3, [sp, #55] ; 0x37 + 800c3c0: 9307 str r3, [sp, #28] + 800c3c2: f89d 3036 ldrb.w r3, [sp, #54] ; 0x36 + 800c3c6: 9306 str r3, [sp, #24] + 800c3c8: f89d 3035 ldrb.w r3, [sp, #53] ; 0x35 + 800c3cc: 9305 str r3, [sp, #20] + 800c3ce: f89d 3034 ldrb.w r3, [sp, #52] ; 0x34 + 800c3d2: 9304 str r3, [sp, #16] + 800c3d4: f89d 3033 ldrb.w r3, [sp, #51] ; 0x33 + 800c3d8: 9303 str r3, [sp, #12] + 800c3da: f89d 3032 ldrb.w r3, [sp, #50] ; 0x32 + 800c3de: 9302 str r3, [sp, #8] + 800c3e0: f89d 3031 ldrb.w r3, [sp, #49] ; 0x31 + 800c3e4: 9301 str r3, [sp, #4] + 800c3e6: f89d 3030 ldrb.w r3, [sp, #48] ; 0x30 + 800c3ea: 9300 str r3, [sp, #0] + 800c3ec: 4622 mov r2, r4 + 800c3ee: 4621 mov r1, r4 + 800c3f0: 4b1e ldr r3, [pc, #120] ; (800c46c ) + 800c3f2: 2002 movs r0, #2 + 800c3f4: f002 f880 bl 800e4f8 + 800c3f8: a80a add r0, sp, #40 ; 0x28 + 800c3fa: f7ff ffb1 bl 800c360 + 800c3fe: f89d 302f ldrb.w r3, [sp, #47] ; 0x2f + 800c402: 9307 str r3, [sp, #28] + 800c404: f89d 302e ldrb.w r3, [sp, #46] ; 0x2e + 800c408: 9306 str r3, [sp, #24] + 800c40a: f89d 302d ldrb.w r3, [sp, #45] ; 0x2d + 800c40e: 9305 str r3, [sp, #20] + 800c410: f89d 302c ldrb.w r3, [sp, #44] ; 0x2c + 800c414: 9304 str r3, [sp, #16] + 800c416: f89d 302b ldrb.w r3, [sp, #43] ; 0x2b + 800c41a: 9303 str r3, [sp, #12] + 800c41c: f89d 302a ldrb.w r3, [sp, #42] ; 0x2a + 800c420: 9302 str r3, [sp, #8] + 800c422: f89d 3029 ldrb.w r3, [sp, #41] ; 0x29 + 800c426: 9301 str r3, [sp, #4] + 800c428: f89d 3028 ldrb.w r3, [sp, #40] ; 0x28 + 800c42c: 9300 str r3, [sp, #0] + 800c42e: 4622 mov r2, r4 + 800c430: 4b0f ldr r3, [pc, #60] ; (800c470 ) + 800c432: 4621 mov r1, r4 + 800c434: 2002 movs r0, #2 + 800c436: f002 f85f bl 800e4f8 + 800c43a: a909 add r1, sp, #36 ; 0x24 + 800c43c: 4628 mov r0, r5 + 800c43e: f7ff ffa7 bl 800c390 + 800c442: f89d 3024 ldrb.w r3, [sp, #36] ; 0x24 + 800c446: 9303 str r3, [sp, #12] + 800c448: f89d 3025 ldrb.w r3, [sp, #37] ; 0x25 + 800c44c: 9302 str r3, [sp, #8] + 800c44e: f89d 3026 ldrb.w r3, [sp, #38] ; 0x26 + 800c452: 9301 str r3, [sp, #4] + 800c454: f89d 3027 ldrb.w r3, [sp, #39] ; 0x27 + 800c458: 9300 str r3, [sp, #0] + 800c45a: 4622 mov r2, r4 + 800c45c: 4b05 ldr r3, [pc, #20] ; (800c474 ) + 800c45e: 4621 mov r1, r4 + 800c460: 2002 movs r0, #2 + 800c462: f002 f849 bl 800e4f8 + 800c466: b00f add sp, #60 ; 0x3c + 800c468: bd30 pop {r4, r5, pc} + 800c46a: bf00 nop + 800c46c: 0800f7d8 .word 0x0800f7d8 + 800c470: 0800f816 .word 0x0800f816 + 800c474: 0800f854 .word 0x0800f854 -0800c41c : - 800c41c: b530 push {r4, r5, lr} - 800c41e: b095 sub sp, #84 ; 0x54 - 800c420: a913 add r1, sp, #76 ; 0x4c - 800c422: 4604 mov r4, r0 - 800c424: f7ff ffae bl 800c384 - 800c428: 2800 cmp r0, #0 - 800c42a: d130 bne.n 800c48e - 800c42c: 491b ldr r1, [pc, #108] ; (800c49c ) - 800c42e: 230c movs r3, #12 - 800c430: fb03 f200 mul.w r2, r3, r0 - 800c434: 5c55 ldrb r5, [r2, r1] - 800c436: 42a5 cmp r5, r4 - 800c438: d12b bne.n 800c492 - 800c43a: 9b13 ldr r3, [sp, #76] ; 0x4c - 800c43c: 7c18 ldrb r0, [r3, #16] - 800c43e: 9010 str r0, [sp, #64] ; 0x40 - 800c440: 7bd8 ldrb r0, [r3, #15] - 800c442: 900f str r0, [sp, #60] ; 0x3c - 800c444: 7b98 ldrb r0, [r3, #14] - 800c446: 900e str r0, [sp, #56] ; 0x38 - 800c448: 7b58 ldrb r0, [r3, #13] - 800c44a: 900d str r0, [sp, #52] ; 0x34 - 800c44c: 7b18 ldrb r0, [r3, #12] - 800c44e: 900c str r0, [sp, #48] ; 0x30 - 800c450: 7ad8 ldrb r0, [r3, #11] - 800c452: 900b str r0, [sp, #44] ; 0x2c - 800c454: 7a98 ldrb r0, [r3, #10] - 800c456: 900a str r0, [sp, #40] ; 0x28 - 800c458: 7a58 ldrb r0, [r3, #9] - 800c45a: 9009 str r0, [sp, #36] ; 0x24 - 800c45c: 7a18 ldrb r0, [r3, #8] - 800c45e: 9008 str r0, [sp, #32] - 800c460: 79d8 ldrb r0, [r3, #7] - 800c462: 9007 str r0, [sp, #28] - 800c464: 7998 ldrb r0, [r3, #6] - 800c466: 9006 str r0, [sp, #24] - 800c468: 7958 ldrb r0, [r3, #5] - 800c46a: 9005 str r0, [sp, #20] - 800c46c: 7918 ldrb r0, [r3, #4] - 800c46e: 9004 str r0, [sp, #16] - 800c470: 78d8 ldrb r0, [r3, #3] - 800c472: 9003 str r0, [sp, #12] - 800c474: 7898 ldrb r0, [r3, #2] - 800c476: 9002 str r0, [sp, #8] - 800c478: 440a add r2, r1 - 800c47a: 785b ldrb r3, [r3, #1] - 800c47c: 9301 str r3, [sp, #4] - 800c47e: 6893 ldr r3, [r2, #8] - 800c480: 9300 str r3, [sp, #0] - 800c482: 2200 movs r2, #0 - 800c484: 4b06 ldr r3, [pc, #24] ; (800c4a0 ) - 800c486: 4611 mov r1, r2 - 800c488: 2002 movs r0, #2 - 800c48a: f002 fa19 bl 800e8c0 - 800c48e: b015 add sp, #84 ; 0x54 - 800c490: bd30 pop {r4, r5, pc} - 800c492: 3001 adds r0, #1 - 800c494: 280b cmp r0, #11 - 800c496: d1cb bne.n 800c430 - 800c498: e7f9 b.n 800c48e - 800c49a: bf00 nop - 800c49c: 080100b4 .word 0x080100b4 - 800c4a0: 0800ff3c .word 0x0800ff3c +0800c478 : + 800c478: b508 push {r3, lr} + 800c47a: 2000 movs r0, #0 + 800c47c: f7ff fdea bl 800c054 + 800c480: 2001 movs r0, #1 + 800c482: f7ff fde7 bl 800c054 + 800c486: 2009 movs r0, #9 + 800c488: f7ff fde4 bl 800c054 + 800c48c: 2008 movs r0, #8 + 800c48e: f7ff fde1 bl 800c054 + 800c492: 2000 movs r0, #0 + 800c494: f7ff ff8a bl 800c3ac + 800c498: 2000 movs r0, #0 + 800c49a: bd08 pop {r3, pc} -0800c4a4 : - 800c4a4: 2b0b cmp r3, #11 - 800c4a6: b410 push {r4} - 800c4a8: d802 bhi.n 800c4b0 - 800c4aa: bc10 pop {r4} - 800c4ac: f7ff bf82 b.w 800c3b4 - 800c4b0: 2003 movs r0, #3 - 800c4b2: bc10 pop {r4} - 800c4b4: 4770 bx lr - -0800c4b6 : - 800c4b6: b530 push {r4, r5, lr} - 800c4b8: 460d mov r5, r1 - 800c4ba: b085 sub sp, #20 - 800c4bc: 4614 mov r4, r2 - 800c4be: 4601 mov r1, r0 - 800c4c0: b168 cbz r0, 800c4de - 800c4c2: aa03 add r2, sp, #12 +0800c49c : + 800c49c: b510 push {r4, lr} + 800c49e: 4604 mov r4, r0 + 800c4a0: 200b movs r0, #11 + 800c4a2: f7ff fdd7 bl 800c054 + 800c4a6: 200c movs r0, #12 + 800c4a8: f7ff fdd4 bl 800c054 + 800c4ac: 2009 movs r0, #9 + 800c4ae: f7ff fdd1 bl 800c054 + 800c4b2: 2008 movs r0, #8 + 800c4b4: f7ff fdce bl 800c054 + 800c4b8: 200a movs r0, #10 + 800c4ba: f7ff fdcb bl 800c054 + 800c4be: 4620 mov r0, r4 + 800c4c0: f7ff ff74 bl 800c3ac 800c4c4: 2000 movs r0, #0 - 800c4c6: 9200 str r2, [sp, #0] - 800c4c8: 462a mov r2, r5 - 800c4ca: 9003 str r0, [sp, #12] - 800c4cc: f7ff ff72 bl 800c3b4 - 800c4d0: b918 cbnz r0, 800c4da - 800c4d2: 9803 ldr r0, [sp, #12] - 800c4d4: 1b00 subs r0, r0, r4 - 800c4d6: bf18 it ne - 800c4d8: 2001 movne r0, #1 - 800c4da: b005 add sp, #20 - 800c4dc: bd30 pop {r4, r5, pc} - 800c4de: 2002 movs r0, #2 - 800c4e0: e7fb b.n 800c4da + 800c4c6: bd10 pop {r4, pc} -0800c4e2 : - 800c4e2: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} - 800c4e6: 460d mov r5, r1 - 800c4e8: b0bf sub sp, #252 ; 0xfc - 800c4ea: 4614 mov r4, r2 - 800c4ec: 4699 mov r9, r3 - 800c4ee: 4680 mov r8, r0 - 800c4f0: b320 cbz r0, 800c53c - 800c4f2: b31b cbz r3, 800c53c - 800c4f4: f011 010f ands.w r1, r1, #15 - 800c4f8: d122 bne.n 800c540 - 800c4fa: 22f0 movs r2, #240 ; 0xf0 - 800c4fc: a801 add r0, sp, #4 - 800c4fe: f000 f9fd bl 800c8fc - 800c502: 4620 mov r0, r4 - 800c504: 4669 mov r1, sp - 800c506: f7ff ff3d bl 800c384 - 800c50a: 4604 mov r4, r0 - 800c50c: b948 cbnz r0, 800c522 - 800c50e: 9800 ldr r0, [sp, #0] - 800c510: aa01 add r2, sp, #4 - 800c512: 2110 movs r1, #16 - 800c514: 3001 adds r0, #1 - 800c516: f7ff fd45 bl 800bfa4 - 800c51a: 462e mov r6, r5 - 800c51c: 1baf subs r7, r5, r6 - 800c51e: b2ff uxtb r7, r7 - 800c520: b91e cbnz r6, 800c52a - 800c522: 4620 mov r0, r4 - 800c524: b03f add sp, #252 ; 0xfc - 800c526: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} - 800c52a: aa01 add r2, sp, #4 - 800c52c: eb09 0107 add.w r1, r9, r7 - 800c530: eb08 0007 add.w r0, r8, r7 - 800c534: f7ff fdb0 bl 800c098 - 800c538: 3e10 subs r6, #16 - 800c53a: e7ef b.n 800c51c - 800c53c: 2402 movs r4, #2 - 800c53e: e7f0 b.n 800c522 - 800c540: 2405 movs r4, #5 - 800c542: e7ee b.n 800c522 +0800c4c8 : + 800c4c8: 4b01 ldr r3, [pc, #4] ; (800c4d0 ) + 800c4ca: 6018 str r0, [r3, #0] + 800c4cc: 4770 bx lr + 800c4ce: bf00 nop + 800c4d0: 200000f8 .word 0x200000f8 -0800c544 : - 800c544: b5f0 push {r4, r5, r6, r7, lr} - 800c546: 4e18 ldr r6, [pc, #96] ; (800c5a8 ) - 800c548: 6834 ldr r4, [r6, #0] - 800c54a: 4602 mov r2, r0 - 800c54c: b085 sub sp, #20 - 800c54e: 4608 mov r0, r1 - 800c550: 2300 movs r3, #0 - 800c552: f104 0118 add.w r1, r4, #24 - 800c556: eb03 1503 add.w r5, r3, r3, lsl #4 - 800c55a: 5d4f ldrb r7, [r1, r5] - 800c55c: 4297 cmp r7, r2 - 800c55e: d11e bne.n 800c59e - 800c560: 2a0d cmp r2, #13 - 800c562: f105 0519 add.w r5, r5, #25 - 800c566: d113 bne.n 800c590 - 800c568: 2300 movs r3, #0 - 800c56a: e9cd 3300 strd r3, r3, [sp] - 800c56e: e9cd 3302 strd r3, r3, [sp, #8] - 800c572: 220c movs r2, #12 - 800c574: 2110 movs r1, #16 - 800c576: 466b mov r3, sp - 800c578: f7ff ffb3 bl 800c4e2 - 800c57c: 4604 mov r4, r0 - 800c57e: 6830 ldr r0, [r6, #0] - 800c580: 2210 movs r2, #16 - 800c582: 4669 mov r1, sp - 800c584: 4428 add r0, r5 - 800c586: f000 f9a5 bl 800c8d4 - 800c58a: 4620 mov r0, r4 - 800c58c: b005 add sp, #20 - 800c58e: bdf0 pop {r4, r5, r6, r7, pc} - 800c590: 4601 mov r1, r0 - 800c592: 2210 movs r2, #16 - 800c594: 1960 adds r0, r4, r5 - 800c596: f000 f99d bl 800c8d4 - 800c59a: 2400 movs r4, #0 - 800c59c: e7f5 b.n 800c58a - 800c59e: 3301 adds r3, #1 - 800c5a0: 2b0b cmp r3, #11 - 800c5a2: d1d8 bne.n 800c556 - 800c5a4: 2403 movs r4, #3 - 800c5a6: e7f0 b.n 800c58a - 800c5a8: 200019c8 .word 0x200019c8 +0800c4d4 : + 800c4d4: 4a0b ldr r2, [pc, #44] ; (800c504 ) + 800c4d6: b530 push {r4, r5, lr} + 800c4d8: 6814 ldr r4, [r2, #0] + 800c4da: 4d0b ldr r5, [pc, #44] ; (800c508 ) + 800c4dc: f243 0339 movw r3, #12345 ; 0x3039 + 800c4e0: fb05 3304 mla r3, r5, r4, r3 + 800c4e4: 6013 str r3, [r2, #0] + 800c4e6: 1a09 subs r1, r1, r0 + 800c4e8: f06f 4200 mvn.w r2, #2147483648 ; 0x80000000 + 800c4ec: fbb3 f2f2 udiv r2, r3, r2 + 800c4f0: ebc2 72c2 rsb r2, r2, r2, lsl #31 + 800c4f4: 3101 adds r1, #1 + 800c4f6: 1a9b subs r3, r3, r2 + 800c4f8: fb93 f2f1 sdiv r2, r3, r1 + 800c4fc: fb01 3312 mls r3, r1, r2, r3 + 800c500: 4418 add r0, r3 + 800c502: bd30 pop {r4, r5, pc} + 800c504: 200000f8 .word 0x200000f8 + 800c508: 41c64e6d .word 0x41c64e6d -0800c5ac : - 800c5ac: b109 cbz r1, 800c5b2 - 800c5ae: f7ff bfc9 b.w 800c544 - 800c5b2: 2002 movs r0, #2 - 800c5b4: 4770 bx lr +0800c50c : + 800c50c: 3801 subs r0, #1 + 800c50e: 440a add r2, r1 + 800c510: 4291 cmp r1, r2 + 800c512: d100 bne.n 800c516 + 800c514: 4770 bx lr + 800c516: f811 3b01 ldrb.w r3, [r1], #1 + 800c51a: f800 3f01 strb.w r3, [r0, #1]! + 800c51e: e7f7 b.n 800c510 -0800c5b6 : - 800c5b6: b51f push {r0, r1, r2, r3, r4, lr} - 800c5b8: 4614 mov r4, r2 - 800c5ba: b1a0 cbz r0, 800c5e6 - 800c5bc: 2a0c cmp r2, #12 - 800c5be: d101 bne.n 800c5c4 - 800c5c0: 290b cmp r1, #11 - 800c5c2: d112 bne.n 800c5ea - 800c5c4: 2300 movs r3, #0 - 800c5c6: e9cd 3300 strd r3, r3, [sp] - 800c5ca: e9cd 3302 strd r3, r3, [sp, #8] - 800c5ce: 460a mov r2, r1 - 800c5d0: 466b mov r3, sp - 800c5d2: 2110 movs r1, #16 - 800c5d4: f7ff ff85 bl 800c4e2 - 800c5d8: b918 cbnz r0, 800c5e2 - 800c5da: 4669 mov r1, sp - 800c5dc: 4620 mov r0, r4 - 800c5de: f7ff ffb1 bl 800c544 - 800c5e2: b004 add sp, #16 - 800c5e4: bd10 pop {r4, pc} - 800c5e6: 2002 movs r0, #2 - 800c5e8: e7fb b.n 800c5e2 - 800c5ea: 2003 movs r0, #3 - 800c5ec: e7f9 b.n 800c5e2 +0800c520 : + 800c520: 4410 add r0, r2 + 800c522: 440a add r2, r1 + 800c524: 4291 cmp r1, r2 + 800c526: d100 bne.n 800c52a + 800c528: 4770 bx lr + 800c52a: f811 3b01 ldrb.w r3, [r1], #1 + 800c52e: f800 3d01 strb.w r3, [r0, #-1]! + 800c532: e7f7 b.n 800c524 -0800c5ee : - 800c5ee: b5f8 push {r3, r4, r5, r6, r7, lr} - 800c5f0: 461e mov r6, r3 - 800c5f2: e9dd 4707 ldrd r4, r7, [sp, #28] - 800c5f6: f89d 5018 ldrb.w r5, [sp, #24] - 800c5fa: b35b cbz r3, 800c654 - 800c5fc: b354 cbz r4, 800c654 - 800c5fe: b34f cbz r7, 800c654 - 800c600: 2d21 cmp r5, #33 ; 0x21 - 800c602: d829 bhi.n 800c658 - 800c604: 4619 mov r1, r3 - 800c606: 462a mov r2, r5 - 800c608: 4620 mov r0, r4 - 800c60a: f000 f963 bl 800c8d4 - 800c60e: 2201 movs r2, #1 - 800c610: 1c63 adds r3, r4, #1 - 800c612: 1e69 subs r1, r5, #1 - 800c614: 18b0 adds r0, r6, r2 - 800c616: f7ff ff64 bl 800c4e2 - 800c61a: b9f8 cbnz r0, 800c65c - 800c61c: 7ae3 ldrb r3, [r4, #11] - 800c61e: 09db lsrs r3, r3, #7 - 800c620: 703b strb r3, [r7, #0] - 800c622: b9eb cbnz r3, 800c660 - 800c624: 1963 adds r3, r4, r5 - 800c626: 4620 mov r0, r4 - 800c628: f813 2c01 ldrb.w r2, [r3, #-1] - 800c62c: f813 1c02 ldrb.w r1, [r3, #-2] - 800c630: 0612 lsls r2, r2, #24 - 800c632: ea42 4201 orr.w r2, r2, r1, lsl #16 - 800c636: f813 1c04 ldrb.w r1, [r3, #-4] - 800c63a: 430a orrs r2, r1 - 800c63c: f813 1c03 ldrb.w r1, [r3, #-3] - 800c640: 2301 movs r3, #1 - 800c642: ea42 2201 orr.w r2, r2, r1, lsl #8 - 800c646: 1f29 subs r1, r5, #4 - 800c648: f7ff ff35 bl 800c4b6 - 800c64c: 3800 subs r0, #0 - 800c64e: bf18 it ne - 800c650: 2001 movne r0, #1 - 800c652: bdf8 pop {r3, r4, r5, r6, r7, pc} - 800c654: 2002 movs r0, #2 - 800c656: e7fc b.n 800c652 - 800c658: 2005 movs r0, #5 - 800c65a: e7fa b.n 800c652 - 800c65c: 2007 movs r0, #7 - 800c65e: e7f8 b.n 800c652 - 800c660: 2004 movs r0, #4 - 800c662: e7f6 b.n 800c652 +0800c534 : + 800c534: f002 bd10 b.w 800ef58 -0800c664 : - 800c664: b510 push {r4, lr} - 800c666: 4604 mov r4, r0 - 800c668: b128 cbz r0, 800c676 - 800c66a: 4b04 ldr r3, [pc, #16] ; (800c67c ) - 800c66c: 695b ldr r3, [r3, #20] - 800c66e: 4798 blx r3 - 800c670: 6020 str r0, [r4, #0] - 800c672: 2000 movs r0, #0 - 800c674: bd10 pop {r4, pc} - 800c676: 2002 movs r0, #2 - 800c678: e7fc b.n 800c674 - 800c67a: bf00 nop - 800c67c: 080101cc .word 0x080101cc +0800c538 : + 800c538: b530 push {r4, r5, lr} + 800c53a: b130 cbz r0, 800c54a + 800c53c: 4d0a ldr r5, [pc, #40] ; (800c568 ) + 800c53e: 4401 add r1, r0 + 800c540: f04f 33ff mov.w r3, #4294967295 + 800c544: 4281 cmp r1, r0 + 800c546: d101 bne.n 800c54c + 800c548: 43d8 mvns r0, r3 + 800c54a: bd30 pop {r4, r5, pc} + 800c54c: f810 2b01 ldrb.w r2, [r0], #1 + 800c550: 4053 eors r3, r2 + 800c552: 2208 movs r2, #8 + 800c554: f343 0400 sbfx r4, r3, #0, #1 + 800c558: 3a01 subs r2, #1 + 800c55a: 402c ands r4, r5 + 800c55c: b292 uxth r2, r2 + 800c55e: ea84 0353 eor.w r3, r4, r3, lsr #1 + 800c562: 2a00 cmp r2, #0 + 800c564: d1f6 bne.n 800c554 + 800c566: e7ed b.n 800c544 + 800c568: edb88320 .word 0xedb88320 -0800c680 : - 800c680: b508 push {r3, lr} - 800c682: 4601 mov r1, r0 - 800c684: b130 cbz r0, 800c694 - 800c686: 4b04 ldr r3, [pc, #16] ; (800c698 ) - 800c688: 2208 movs r2, #8 - 800c68a: 6818 ldr r0, [r3, #0] - 800c68c: f000 f922 bl 800c8d4 - 800c690: 2000 movs r0, #0 - 800c692: bd08 pop {r3, pc} - 800c694: 2002 movs r0, #2 - 800c696: e7fc b.n 800c692 - 800c698: 200019c8 .word 0x200019c8 +0800c56c : + 800c56c: 2001 movs r0, #1 + 800c56e: 4770 bx lr -0800c69c : - 800c69c: b508 push {r3, lr} - 800c69e: b130 cbz r0, 800c6ae - 800c6a0: 4b04 ldr r3, [pc, #16] ; (800c6b4 ) - 800c6a2: 2208 movs r2, #8 - 800c6a4: 6819 ldr r1, [r3, #0] - 800c6a6: f000 f915 bl 800c8d4 - 800c6aa: 2000 movs r0, #0 - 800c6ac: bd08 pop {r3, pc} - 800c6ae: 2002 movs r0, #2 - 800c6b0: e7fc b.n 800c6ac - 800c6b2: bf00 nop - 800c6b4: 200019c8 .word 0x200019c8 +0800c570 : + 800c570: 4b05 ldr r3, [pc, #20] ; (800c588 ) + 800c572: f44f 5200 mov.w r2, #8192 ; 0x2000 + 800c576: 629a str r2, [r3, #40] ; 0x28 + 800c578: 4b04 ldr r3, [pc, #16] ; (800c58c ) + 800c57a: 681b ldr r3, [r3, #0] + 800c57c: b113 cbz r3, 800c584 + 800c57e: 685b ldr r3, [r3, #4] + 800c580: b103 cbz r3, 800c584 + 800c582: 4718 bx r3 + 800c584: 4770 bx lr + 800c586: bf00 nop + 800c588: 48000400 .word 0x48000400 + 800c58c: 20001acc .word 0x20001acc -0800c6b8 : - 800c6b8: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} - 800c6ba: 4e12 ldr r6, [pc, #72] ; (800c704 ) - 800c6bc: 2300 movs r3, #0 - 800c6be: 4604 mov r4, r0 - 800c6c0: a802 add r0, sp, #8 - 800c6c2: 9301 str r3, [sp, #4] - 800c6c4: 460d mov r5, r1 - 800c6c6: f7ff ffe9 bl 800c69c - 800c6ca: 6833 ldr r3, [r6, #0] - 800c6cc: 695b ldr r3, [r3, #20] - 800c6ce: 9301 str r3, [sp, #4] - 800c6d0: b16c cbz r4, 800c6ee - 800c6d2: aa02 add r2, sp, #8 - 800c6d4: 2308 movs r3, #8 - 800c6d6: f812 1b01 ldrb.w r1, [r2], #1 - 800c6da: b941 cbnz r1, 800c6ee - 800c6dc: 3b01 subs r3, #1 - 800c6de: f013 03ff ands.w r3, r3, #255 ; 0xff - 800c6e2: d1f8 bne.n 800c6d6 - 800c6e4: a802 add r0, sp, #8 - 800c6e6: 47a0 blx r4 - 800c6e8: a802 add r0, sp, #8 - 800c6ea: f7ff ffc9 bl 800c680 - 800c6ee: b135 cbz r5, 800c6fe - 800c6f0: 9b01 ldr r3, [sp, #4] - 800c6f2: b923 cbnz r3, 800c6fe - 800c6f4: a801 add r0, sp, #4 - 800c6f6: 47a8 blx r5 - 800c6f8: 6833 ldr r3, [r6, #0] - 800c6fa: 9a01 ldr r2, [sp, #4] - 800c6fc: 615a str r2, [r3, #20] - 800c6fe: 2000 movs r0, #0 - 800c700: b004 add sp, #16 - 800c702: bd70 pop {r4, r5, r6, pc} - 800c704: 200019c8 .word 0x200019c8 +0800c590 : + 800c590: 4b05 ldr r3, [pc, #20] ; (800c5a8 ) + 800c592: f44f 5280 mov.w r2, #4096 ; 0x1000 + 800c596: 629a str r2, [r3, #40] ; 0x28 + 800c598: 4b04 ldr r3, [pc, #16] ; (800c5ac ) + 800c59a: 681b ldr r3, [r3, #0] + 800c59c: b113 cbz r3, 800c5a4 + 800c59e: 68db ldr r3, [r3, #12] + 800c5a0: b103 cbz r3, 800c5a4 + 800c5a2: 4718 bx r3 + 800c5a4: 4770 bx lr + 800c5a6: bf00 nop + 800c5a8: 48000400 .word 0x48000400 + 800c5ac: 20001acc .word 0x20001acc -0800c708 : - 800c708: b508 push {r3, lr} - 800c70a: 4601 mov r1, r0 - 800c70c: b138 cbz r0, 800c71e - 800c70e: 4b05 ldr r3, [pc, #20] ; (800c724 ) - 800c710: 6818 ldr r0, [r3, #0] - 800c712: 2208 movs r2, #8 - 800c714: 4410 add r0, r2 - 800c716: f000 f8dd bl 800c8d4 - 800c71a: 2000 movs r0, #0 - 800c71c: bd08 pop {r3, pc} - 800c71e: 2002 movs r0, #2 - 800c720: e7fc b.n 800c71c - 800c722: bf00 nop - 800c724: 200019c8 .word 0x200019c8 +0800c5b0 : + 800c5b0: 2001 movs r0, #1 + 800c5b2: 4770 bx lr -0800c728 : - 800c728: b508 push {r3, lr} - 800c72a: b138 cbz r0, 800c73c - 800c72c: 4b04 ldr r3, [pc, #16] ; (800c740 ) - 800c72e: 6819 ldr r1, [r3, #0] - 800c730: 2208 movs r2, #8 - 800c732: 4411 add r1, r2 - 800c734: f000 f8ce bl 800c8d4 - 800c738: 2000 movs r0, #0 - 800c73a: bd08 pop {r3, pc} - 800c73c: 2002 movs r0, #2 - 800c73e: e7fc b.n 800c73a - 800c740: 200019c8 .word 0x200019c8 +0800c5b4 : + 800c5b4: 2001 movs r0, #1 + 800c5b6: 4770 bx lr -0800c744 : - 800c744: 4b03 ldr r3, [pc, #12] ; (800c754 ) - 800c746: 681b ldr r3, [r3, #0] - 800c748: 2802 cmp r0, #2 - 800c74a: bf0c ite eq - 800c74c: 6119 streq r1, [r3, #16] - 800c74e: 6159 strne r1, [r3, #20] - 800c750: 2000 movs r0, #0 - 800c752: 4770 bx lr - 800c754: 200019c8 .word 0x200019c8 +0800c5b8 : + 800c5b8: f001 b948 b.w 800d84c -0800c758 : - 800c758: b141 cbz r1, 800c76c - 800c75a: 4b05 ldr r3, [pc, #20] ; (800c770 ) - 800c75c: 681b ldr r3, [r3, #0] - 800c75e: 2802 cmp r0, #2 - 800c760: bf0c ite eq - 800c762: 691b ldreq r3, [r3, #16] - 800c764: 695b ldrne r3, [r3, #20] - 800c766: 600b str r3, [r1, #0] - 800c768: 2000 movs r0, #0 - 800c76a: 4770 bx lr - 800c76c: 2002 movs r0, #2 - 800c76e: 4770 bx lr - 800c770: 200019c8 .word 0x200019c8 +0800c5bc : + 800c5bc: f001 b936 b.w 800d82c -0800c774 : - 800c774: b530 push {r4, r5, lr} - 800c776: b08f sub sp, #60 ; 0x3c - 800c778: 2400 movs r4, #0 - 800c77a: 4605 mov r5, r0 - 800c77c: a80c add r0, sp, #48 ; 0x30 - 800c77e: 9409 str r4, [sp, #36] ; 0x24 - 800c780: f7ff ff8c bl 800c69c - 800c784: f89d 3037 ldrb.w r3, [sp, #55] ; 0x37 - 800c788: 9307 str r3, [sp, #28] - 800c78a: f89d 3036 ldrb.w r3, [sp, #54] ; 0x36 - 800c78e: 9306 str r3, [sp, #24] - 800c790: f89d 3035 ldrb.w r3, [sp, #53] ; 0x35 - 800c794: 9305 str r3, [sp, #20] - 800c796: f89d 3034 ldrb.w r3, [sp, #52] ; 0x34 - 800c79a: 9304 str r3, [sp, #16] - 800c79c: f89d 3033 ldrb.w r3, [sp, #51] ; 0x33 - 800c7a0: 9303 str r3, [sp, #12] - 800c7a2: f89d 3032 ldrb.w r3, [sp, #50] ; 0x32 - 800c7a6: 9302 str r3, [sp, #8] - 800c7a8: f89d 3031 ldrb.w r3, [sp, #49] ; 0x31 - 800c7ac: 9301 str r3, [sp, #4] - 800c7ae: f89d 3030 ldrb.w r3, [sp, #48] ; 0x30 - 800c7b2: 9300 str r3, [sp, #0] - 800c7b4: 4622 mov r2, r4 - 800c7b6: 4621 mov r1, r4 - 800c7b8: 4b1e ldr r3, [pc, #120] ; (800c834 ) - 800c7ba: 2002 movs r0, #2 - 800c7bc: f002 f880 bl 800e8c0 - 800c7c0: a80a add r0, sp, #40 ; 0x28 - 800c7c2: f7ff ffb1 bl 800c728 - 800c7c6: f89d 302f ldrb.w r3, [sp, #47] ; 0x2f - 800c7ca: 9307 str r3, [sp, #28] - 800c7cc: f89d 302e ldrb.w r3, [sp, #46] ; 0x2e - 800c7d0: 9306 str r3, [sp, #24] - 800c7d2: f89d 302d ldrb.w r3, [sp, #45] ; 0x2d - 800c7d6: 9305 str r3, [sp, #20] - 800c7d8: f89d 302c ldrb.w r3, [sp, #44] ; 0x2c - 800c7dc: 9304 str r3, [sp, #16] - 800c7de: f89d 302b ldrb.w r3, [sp, #43] ; 0x2b - 800c7e2: 9303 str r3, [sp, #12] - 800c7e4: f89d 302a ldrb.w r3, [sp, #42] ; 0x2a - 800c7e8: 9302 str r3, [sp, #8] - 800c7ea: f89d 3029 ldrb.w r3, [sp, #41] ; 0x29 - 800c7ee: 9301 str r3, [sp, #4] - 800c7f0: f89d 3028 ldrb.w r3, [sp, #40] ; 0x28 - 800c7f4: 9300 str r3, [sp, #0] - 800c7f6: 4622 mov r2, r4 - 800c7f8: 4b0f ldr r3, [pc, #60] ; (800c838 ) - 800c7fa: 4621 mov r1, r4 - 800c7fc: 2002 movs r0, #2 - 800c7fe: f002 f85f bl 800e8c0 - 800c802: a909 add r1, sp, #36 ; 0x24 - 800c804: 4628 mov r0, r5 - 800c806: f7ff ffa7 bl 800c758 - 800c80a: f89d 3024 ldrb.w r3, [sp, #36] ; 0x24 - 800c80e: 9303 str r3, [sp, #12] - 800c810: f89d 3025 ldrb.w r3, [sp, #37] ; 0x25 - 800c814: 9302 str r3, [sp, #8] - 800c816: f89d 3026 ldrb.w r3, [sp, #38] ; 0x26 - 800c81a: 9301 str r3, [sp, #4] - 800c81c: f89d 3027 ldrb.w r3, [sp, #39] ; 0x27 - 800c820: 9300 str r3, [sp, #0] +0800c5c0 : + 800c5c0: b510 push {r4, lr} + 800c5c2: f001 fe19 bl 800e1f8 + 800c5c6: 210e movs r1, #14 + 800c5c8: 4604 mov r4, r0 + 800c5ca: f640 101f movw r0, #2335 ; 0x91f + 800c5ce: f001 f92d bl 800d82c + 800c5d2: 4620 mov r0, r4 + 800c5d4: 2101 movs r1, #1 + 800c5d6: f001 fdf9 bl 800e1cc + 800c5da: e8bd 4010 ldmia.w sp!, {r4, lr} + 800c5de: f001 bad7 b.w 800db90 + ... + +0800c5e4 : + 800c5e4: b570 push {r4, r5, r6, lr} + 800c5e6: 4e0c ldr r6, [pc, #48] ; (800c618 ) + 800c5e8: eb01 0340 add.w r3, r1, r0, lsl #1 + 800c5ec: 460d mov r5, r1 + 800c5ee: 65b3 str r3, [r6, #88] ; 0x58 + 800c5f0: f64f 71ff movw r1, #65535 ; 0xffff + 800c5f4: 2300 movs r3, #0 + 800c5f6: 4604 mov r4, r0 + 800c5f8: 461a mov r2, r3 + 800c5fa: 4608 mov r0, r1 + 800c5fc: f001 fb5e bl 800dcbc + 800c600: f896 0056 ldrb.w r0, [r6, #86] ; 0x56 + 800c604: 2100 movs r1, #0 + 800c606: f001 fde1 bl 800e1cc + 800c60a: 4629 mov r1, r5 + 800c60c: 4620 mov r0, r4 + 800c60e: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 800c612: f001 ba95 b.w 800db40 + 800c616: bf00 nop + 800c618: 20001ae8 .word 0x20001ae8 + +0800c61c : + 800c61c: b510 push {r4, lr} + 800c61e: 4604 mov r4, r0 + 800c620: f001 feaa bl 800e378 + 800c624: 2801 cmp r0, #1 + 800c626: d11c bne.n 800c662 + 800c628: f001 feae bl 800e388 + 800c62c: b134 cbz r4, 800c63c + 800c62e: 4812 ldr r0, [pc, #72] ; (800c678 ) + 800c630: 4621 mov r1, r4 + 800c632: f002 fb17 bl 800ec64 + 800c636: 4810 ldr r0, [pc, #64] ; (800c678 ) + 800c638: f002 fada bl 800ebf0 + 800c63c: 4c0f ldr r4, [pc, #60] ; (800c67c ) + 800c63e: 4b10 ldr r3, [pc, #64] ; (800c680 ) + 800c640: 2100 movs r1, #0 + 800c642: f44f 5280 mov.w r2, #4096 ; 0x1000 + 800c646: 65a1 str r1, [r4, #88] ; 0x58 + 800c648: 619a str r2, [r3, #24] + 800c64a: f894 0056 ldrb.w r0, [r4, #86] ; 0x56 + 800c64e: f001 fdbd bl 800e1cc + 800c652: 7863 ldrb r3, [r4, #1] + 800c654: b16b cbz r3, 800c672 + 800c656: f06f 407f mvn.w r0, #4278190080 ; 0xff000000 + 800c65a: e8bd 4010 ldmia.w sp!, {r4, lr} + 800c65e: f001 ba53 b.w 800db08 + 800c662: 2300 movs r3, #0 + 800c664: f240 2162 movw r1, #610 ; 0x262 + 800c668: 461a mov r2, r3 + 800c66a: 4608 mov r0, r1 + 800c66c: f001 fb26 bl 800dcbc + 800c670: e7dc b.n 800c62c + 800c672: 68a0 ldr r0, [r4, #8] + 800c674: 0180 lsls r0, r0, #6 + 800c676: e7f0 b.n 800c65a + 800c678: 20001ad0 .word 0x20001ad0 + 800c67c: 20001ae8 .word 0x20001ae8 + 800c680: 48000400 .word 0x48000400 + +0800c684 : + 800c684: 2000 movs r0, #0 + 800c686: f001 b9bf b.w 800da08 + ... + +0800c68c : + 800c68c: b508 push {r3, lr} + 800c68e: f001 f8c7 bl 800d820 + 800c692: 3804 subs r0, #4 + 800c694: b2c0 uxtb r0, r0 + 800c696: 2803 cmp r0, #3 + 800c698: bf96 itet ls + 800c69a: 4b02 ldrls r3, [pc, #8] ; (800c6a4 ) + 800c69c: 2000 movhi r0, #0 + 800c69e: 5c18 ldrbls r0, [r3, r0] + 800c6a0: bd08 pop {r3, pc} + 800c6a2: bf00 nop + 800c6a4: 0800fa08 .word 0x0800fa08 + +0800c6a8 : + 800c6a8: b508 push {r3, lr} + 800c6aa: f001 fdba bl 800e222 + 800c6ae: 3003 adds r0, #3 + 800c6b0: bd08 pop {r3, pc} + +0800c6b2 : + 800c6b2: f001 b949 b.w 800d948 + +0800c6b6 : + 800c6b6: f001 b909 b.w 800d8cc + +0800c6ba : + 800c6ba: b508 push {r3, lr} + 800c6bc: f001 fd00 bl 800e0c0 + 800c6c0: b200 sxth r0, r0 + 800c6c2: bd08 pop {r3, pc} + +0800c6c4 : + 800c6c4: b538 push {r3, r4, r5, lr} + 800c6c6: 460d mov r5, r1 + 800c6c8: 4614 mov r4, r2 + 800c6ca: f001 fb5d bl 800dd88 + 800c6ce: 4628 mov r0, r5 + 800c6d0: f001 fd92 bl 800e1f8 + 800c6d4: 210e movs r1, #14 + 800c6d6: 4605 mov r5, r0 + 800c6d8: f640 101f movw r0, #2335 ; 0x91f + 800c6dc: f001 f8a6 bl 800d82c + 800c6e0: 4628 mov r0, r5 + 800c6e2: 2101 movs r1, #1 + 800c6e4: 4d07 ldr r5, [pc, #28] ; (800c704 ) + 800c6e6: f001 fd71 bl 800e1cc + 800c6ea: f001 fa51 bl 800db90 + 800c6ee: f44f 717a mov.w r1, #1000 ; 0x3e8 + 800c6f2: 4361 muls r1, r4 + 800c6f4: 4628 mov r0, r5 + 800c6f6: f002 fab5 bl 800ec64 + 800c6fa: 4628 mov r0, r5 + 800c6fc: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} + 800c700: f002 ba76 b.w 800ebf0 + 800c704: 20001b44 .word 0x20001b44 + +0800c708 : + 800c708: f001 bb3e b.w 800dd88 + +0800c70c : + 800c70c: b508 push {r3, lr} + 800c70e: 4b08 ldr r3, [pc, #32] ; (800c730 ) + 800c710: 2100 movs r1, #0 + 800c712: f893 0056 ldrb.w r0, [r3, #86] ; 0x56 + 800c716: f001 fd59 bl 800e1cc + 800c71a: 2300 movs r3, #0 + 800c71c: f44f 71c0 mov.w r1, #384 ; 0x180 + 800c720: 461a mov r2, r3 + 800c722: 4608 mov r0, r1 + 800c724: f001 faca bl 800dcbc + 800c728: e8bd 4008 ldmia.w sp!, {r3, lr} + 800c72c: f001 ba24 b.w 800db78 + 800c730: 20001ae8 .word 0x20001ae8 + +0800c734 : + 800c734: b510 push {r4, lr} + 800c736: 4604 mov r4, r0 + 800c738: f001 fe1e bl 800e378 + 800c73c: 2801 cmp r0, #1 + 800c73e: d11c bne.n 800c77a + 800c740: f001 fe22 bl 800e388 + 800c744: b134 cbz r4, 800c754 + 800c746: 4812 ldr r0, [pc, #72] ; (800c790 ) + 800c748: 4621 mov r1, r4 + 800c74a: f002 fa8b bl 800ec64 + 800c74e: 4810 ldr r0, [pc, #64] ; (800c790 ) + 800c750: f002 fa4e bl 800ebf0 + 800c754: 4c0f ldr r4, [pc, #60] ; (800c794 ) + 800c756: 4b10 ldr r3, [pc, #64] ; (800c798 ) + 800c758: 2100 movs r1, #0 + 800c75a: f44f 5280 mov.w r2, #4096 ; 0x1000 + 800c75e: 65a1 str r1, [r4, #88] ; 0x58 + 800c760: 619a str r2, [r3, #24] + 800c762: f894 0056 ldrb.w r0, [r4, #86] ; 0x56 + 800c766: f001 fd31 bl 800e1cc + 800c76a: 7863 ldrb r3, [r4, #1] + 800c76c: b16b cbz r3, 800c78a + 800c76e: f06f 407f mvn.w r0, #4278190080 ; 0xff000000 + 800c772: e8bd 4010 ldmia.w sp!, {r4, lr} + 800c776: f001 b97d b.w 800da74 + 800c77a: 2300 movs r3, #0 + 800c77c: f240 2162 movw r1, #610 ; 0x262 + 800c780: 461a mov r2, r3 + 800c782: 4608 mov r0, r1 + 800c784: f001 fa9a bl 800dcbc + 800c788: e7dc b.n 800c744 + 800c78a: 68a0 ldr r0, [r4, #8] + 800c78c: 0180 lsls r0, r0, #6 + 800c78e: e7f0 b.n 800c772 + 800c790: 20001ad0 .word 0x20001ad0 + 800c794: 20001ae8 .word 0x20001ae8 + 800c798: 48000400 .word 0x48000400 + +0800c79c : + 800c79c: b508 push {r3, lr} + 800c79e: f04f 0004 mov.w r0, #4 + 800c7a2: f001 f917 bl 800d9d4 + 800c7a6: e8bd 4008 ldmia.w sp!, {r3, lr} + 800c7aa: 2002 movs r0, #2 + 800c7ac: f7f5 b86a b.w 8001884 + +0800c7b0 : + 800c7b0: b508 push {r3, lr} + 800c7b2: 2300 movs r3, #0 + 800c7b4: 461a mov r2, r3 + 800c7b6: 4619 mov r1, r3 + 800c7b8: 4618 mov r0, r3 + 800c7ba: f001 fa7f bl 800dcbc + 800c7be: e8bd 4008 ldmia.w sp!, {r3, lr} + 800c7c2: f001 b96d b.w 800daa0 + ... + +0800c7c8 : + 800c7c8: 4b1d ldr r3, [pc, #116] ; (800c840 ) + 800c7ca: b573 push {r0, r1, r4, r5, r6, lr} + 800c7cc: 4d1d ldr r5, [pc, #116] ; (800c844 ) + 800c7ce: 6018 str r0, [r3, #0] + 800c7d0: 2400 movs r4, #0 + 800c7d2: 481d ldr r0, [pc, #116] ; (800c848 ) + 800c7d4: 706c strb r4, [r5, #1] + 800c7d6: e9c5 4401 strd r4, r4, [r5, #4] + 800c7da: 65ac str r4, [r5, #88] ; 0x58 + 800c7dc: f001 fa98 bl 800dd10 + 800c7e0: 81ac strh r4, [r5, #12] + 800c7e2: f001 fa03 bl 800dbec + 800c7e6: 4621 mov r1, r4 + 800c7e8: 4620 mov r0, r4 + 800c7ea: f001 fc4b bl 800e084 + 800c7ee: 4621 mov r1, r4 + 800c7f0: 2204 movs r2, #4 + 800c7f2: 2001 movs r0, #1 + 800c7f4: f001 fafc bl 800ddf0 + 800c7f8: 4e14 ldr r6, [pc, #80] ; (800c84c ) + 800c7fa: 4d15 ldr r5, [pc, #84] ; (800c850 ) + 800c7fc: f64f 71ff movw r1, #65535 ; 0xffff + 800c800: 4623 mov r3, r4 + 800c802: 4622 mov r2, r4 + 800c804: 4608 mov r0, r1 + 800c806: f001 fa59 bl 800dcbc + 800c80a: f7ff ffc7 bl 800c79c + 800c80e: 4622 mov r2, r4 + 800c810: 4b10 ldr r3, [pc, #64] ; (800c854 ) + 800c812: 9400 str r4, [sp, #0] + 800c814: f04f 31ff mov.w r1, #4294967295 + 800c818: 4630 mov r0, r6 + 800c81a: f002 f93d bl 800ea98 + 800c81e: 4b0e ldr r3, [pc, #56] ; (800c858 ) + 800c820: 9400 str r4, [sp, #0] 800c822: 4622 mov r2, r4 - 800c824: 4b05 ldr r3, [pc, #20] ; (800c83c ) - 800c826: 4621 mov r1, r4 - 800c828: 2002 movs r0, #2 - 800c82a: f002 f849 bl 800e8c0 - 800c82e: b00f add sp, #60 ; 0x3c - 800c830: bd30 pop {r4, r5, pc} - 800c832: bf00 nop - 800c834: 0800ff98 .word 0x0800ff98 - 800c838: 0800ffd6 .word 0x0800ffd6 - 800c83c: 08010014 .word 0x08010014 + 800c824: f04f 31ff mov.w r1, #4294967295 + 800c828: 4628 mov r0, r5 + 800c82a: f002 f935 bl 800ea98 + 800c82e: 4630 mov r0, r6 + 800c830: f002 f990 bl 800eb54 + 800c834: 4628 mov r0, r5 + 800c836: b002 add sp, #8 + 800c838: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 800c83c: f002 b98a b.w 800eb54 + 800c840: 20001acc .word 0x20001acc + 800c844: 20001ae8 .word 0x20001ae8 + 800c848: 0800d811 .word 0x0800d811 + 800c84c: 20001b44 .word 0x20001b44 + 800c850: 20001ad0 .word 0x20001ad0 + 800c854: 0800c571 .word 0x0800c571 + 800c858: 0800c591 .word 0x0800c591 -0800c840 : - 800c840: b508 push {r3, lr} - 800c842: 2000 movs r0, #0 - 800c844: f7ff fdea bl 800c41c - 800c848: 2001 movs r0, #1 - 800c84a: f7ff fde7 bl 800c41c - 800c84e: 2009 movs r0, #9 - 800c850: f7ff fde4 bl 800c41c - 800c854: 2008 movs r0, #8 - 800c856: f7ff fde1 bl 800c41c - 800c85a: 2000 movs r0, #0 - 800c85c: f7ff ff8a bl 800c774 - 800c860: 2000 movs r0, #0 - 800c862: bd08 pop {r3, pc} +0800c85c : + 800c85c: 2801 cmp r0, #1 + 800c85e: 4808 ldr r0, [pc, #32] ; (800c880 ) + 800c860: d105 bne.n 800c86e + 800c862: 4b08 ldr r3, [pc, #32] ; (800c884 ) + 800c864: 77c1 strb r1, [r0, #31] + 800c866: 7019 strb r1, [r3, #0] + 800c868: 300e adds r0, #14 + 800c86a: f001 bba7 b.w 800dfbc + 800c86e: 7d43 ldrb r3, [r0, #21] + 800c870: 2b01 cmp r3, #1 + 800c872: d103 bne.n 800c87c + 800c874: 4b03 ldr r3, [pc, #12] ; (800c884 ) + 800c876: 7581 strb r1, [r0, #22] + 800c878: 7019 strb r1, [r3, #0] + 800c87a: e7f5 b.n 800c868 + 800c87c: 4770 bx lr + 800c87e: bf00 nop + 800c880: 20001ae8 .word 0x20001ae8 + 800c884: 200000fc .word 0x200000fc -0800c864 : - 800c864: b510 push {r4, lr} - 800c866: 4604 mov r4, r0 - 800c868: 200b movs r0, #11 - 800c86a: f7ff fdd7 bl 800c41c - 800c86e: 200c movs r0, #12 - 800c870: f7ff fdd4 bl 800c41c - 800c874: 2009 movs r0, #9 - 800c876: f7ff fdd1 bl 800c41c - 800c87a: 2008 movs r0, #8 - 800c87c: f7ff fdce bl 800c41c - 800c880: 200a movs r0, #10 - 800c882: f7ff fdcb bl 800c41c - 800c886: 4620 mov r0, r4 - 800c888: f7ff ff74 bl 800c774 - 800c88c: 2000 movs r0, #0 - 800c88e: bd10 pop {r4, pc} +0800c888 : + 800c888: 4b0d ldr r3, [pc, #52] ; (800c8c0 ) + 800c88a: b510 push {r4, lr} + 800c88c: 4604 mov r4, r0 + 800c88e: 7318 strb r0, [r3, #12] + 800c890: 7358 strb r0, [r3, #13] + 800c892: 2001 movs r0, #1 + 800c894: f000 f816 bl 800c8c4 + 800c898: b15c cbz r4, 800c8b2 + 800c89a: 2134 movs r1, #52 ; 0x34 + 800c89c: f44f 60e8 mov.w r0, #1856 ; 0x740 + 800c8a0: f000 ffc4 bl 800d82c + 800c8a4: 2144 movs r1, #68 ; 0x44 + 800c8a6: e8bd 4010 ldmia.w sp!, {r4, lr} + 800c8aa: f240 7041 movw r0, #1857 ; 0x741 + 800c8ae: f000 bfbd b.w 800d82c + 800c8b2: 2114 movs r1, #20 + 800c8b4: f44f 60e8 mov.w r0, #1856 ; 0x740 + 800c8b8: f000 ffb8 bl 800d82c + 800c8bc: 2124 movs r1, #36 ; 0x24 + 800c8be: e7f2 b.n 800c8a6 + 800c8c0: 20001ae8 .word 0x20001ae8 -0800c890 : - 800c890: 4b01 ldr r3, [pc, #4] ; (800c898 ) - 800c892: 6018 str r0, [r3, #0] - 800c894: 4770 bx lr - 800c896: bf00 nop - 800c898: 200000f8 .word 0x200000f8 +0800c8c4 : + 800c8c4: b538 push {r3, r4, r5, lr} + 800c8c6: 4c11 ldr r4, [pc, #68] ; (800c90c ) + 800c8c8: 4605 mov r5, r0 + 800c8ca: 7020 strb r0, [r4, #0] + 800c8cc: f001 fd61 bl 800e392 + 800c8d0: 2d05 cmp r5, #5 + 800c8d2: d804 bhi.n 800c8de + 800c8d4: e8df f005 tbb [pc, r5] + 800c8d8: 17030b09 .word 0x17030b09 + 800c8dc: 0917 .short 0x0917 + 800c8de: 2003 movs r0, #3 + 800c8e0: f001 fa70 bl 800ddc4 + 800c8e4: 2300 movs r3, #0 + 800c8e6: 7363 strb r3, [r4, #13] + 800c8e8: bd38 pop {r3, r4, r5, pc} + 800c8ea: 2000 movs r0, #0 + 800c8ec: e7f8 b.n 800c8e0 + 800c8ee: 2001 movs r0, #1 + 800c8f0: f001 fa68 bl 800ddc4 + 800c8f4: 7b20 ldrb r0, [r4, #12] + 800c8f6: 7b63 ldrb r3, [r4, #13] + 800c8f8: 4283 cmp r3, r0 + 800c8fa: d0f5 beq.n 800c8e8 + 800c8fc: 7360 strb r0, [r4, #13] + 800c8fe: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} + 800c902: f7ff bfc1 b.w 800c888 + 800c906: 2002 movs r0, #2 + 800c908: e7ea b.n 800c8e0 + 800c90a: bf00 nop + 800c90c: 20001ae8 .word 0x20001ae8 -0800c89c : - 800c89c: 4a0b ldr r2, [pc, #44] ; (800c8cc ) - 800c89e: b530 push {r4, r5, lr} - 800c8a0: 6814 ldr r4, [r2, #0] - 800c8a2: 4d0b ldr r5, [pc, #44] ; (800c8d0 ) - 800c8a4: f243 0339 movw r3, #12345 ; 0x3039 - 800c8a8: fb05 3304 mla r3, r5, r4, r3 - 800c8ac: 6013 str r3, [r2, #0] - 800c8ae: 1a09 subs r1, r1, r0 - 800c8b0: f06f 4200 mvn.w r2, #2147483648 ; 0x80000000 - 800c8b4: fbb3 f2f2 udiv r2, r3, r2 - 800c8b8: ebc2 72c2 rsb r2, r2, r2, lsl #31 - 800c8bc: 3101 adds r1, #1 - 800c8be: 1a9b subs r3, r3, r2 - 800c8c0: fb93 f2f1 sdiv r2, r3, r1 - 800c8c4: fb01 3312 mls r3, r1, r2, r3 - 800c8c8: 4418 add r0, r3 - 800c8ca: bd30 pop {r4, r5, pc} - 800c8cc: 200000f8 .word 0x200000f8 - 800c8d0: 41c64e6d .word 0x41c64e6d +0800c910 : + 800c910: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} + 800c914: 461e mov r6, r3 + 800c916: b087 sub sp, #28 + 800c918: 2300 movs r3, #0 + 800c91a: 4605 mov r5, r0 + 800c91c: e9cd 3301 strd r3, r3, [sp, #4] + 800c920: 460c mov r4, r1 + 800c922: 4617 mov r7, r2 + 800c924: f001 fd27 bl 800e376 + 800c928: 2d03 cmp r5, #3 + 800c92a: d861 bhi.n 800c9f0 + 800c92c: e8df f015 tbh [pc, r5, lsl #1] + 800c930: 00c3007b .word 0x00c3007b + 800c934: 0004010e .word 0x0004010e + 800c938: 7ca2 ldrb r2, [r4, #18] + 800c93a: 2a08 cmp r2, #8 + 800c93c: d904 bls.n 800c948 + 800c93e: f04f 30ff mov.w r0, #4294967295 + 800c942: b007 add sp, #28 + 800c944: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 800c948: 68a1 ldr r1, [r4, #8] + 800c94a: a801 add r0, sp, #4 + 800c94c: f001 fedc bl 800e708 + 800c950: 6821 ldr r1, [r4, #0] + 800c952: 2900 cmp r1, #0 + 800c954: d0f3 beq.n 800c93e + 800c956: f242 7210 movw r2, #10000 ; 0x2710 + 800c95a: 4291 cmp r1, r2 + 800c95c: 7ce3 ldrb r3, [r4, #19] + 800c95e: 4d86 ldr r5, [pc, #536] ; (800cb78 ) + 800c960: d851 bhi.n 800ca06 + 800c962: 2203 movs r2, #3 + 800c964: 73aa strb r2, [r5, #14] + 800c966: f885 2038 strb.w r2, [r5, #56] ; 0x38 + 800c96a: 63e9 str r1, [r5, #60] ; 0x3c + 800c96c: f885 3044 strb.w r3, [r5, #68] ; 0x44 + 800c970: f04f 0802 mov.w r8, #2 + 800c974: 6863 ldr r3, [r4, #4] + 800c976: 7da1 ldrb r1, [r4, #22] + 800c978: 00db lsls r3, r3, #3 + 800c97a: 822b strh r3, [r5, #16] + 800c97c: 2304 movs r3, #4 + 800c97e: 74ab strb r3, [r5, #18] + 800c980: 7ca3 ldrb r3, [r4, #18] + 800c982: 00db lsls r3, r3, #3 + 800c984: 74eb strb r3, [r5, #19] + 800c986: 2902 cmp r1, #2 + 800c988: f04f 0300 mov.w r3, #0 + 800c98c: 752b strb r3, [r5, #20] + 800c98e: 7d63 ldrb r3, [r4, #21] + 800c990: d002 beq.n 800c998 + 800c992: 7d22 ldrb r2, [r4, #20] + 800c994: 2a02 cmp r2, #2 + 800c996: d142 bne.n 800ca1e + 800c998: f103 020f add.w r2, r3, #15 + 800c99c: b2d2 uxtb r2, r2 + 800c99e: 2a01 cmp r2, #1 + 800c9a0: d901 bls.n 800c9a6 + 800c9a2: 2b01 cmp r3, #1 + 800c9a4: d1cb bne.n 800c93e + 800c9a6: 4b75 ldr r3, [pc, #468] ; (800cb7c ) + 800c9a8: 4a75 ldr r2, [pc, #468] ; (800cb80 ) + 800c9aa: 6819 ldr r1, [r3, #0] + 800c9ac: 9403 str r4, [sp, #12] + 800c9ae: f04f 0901 mov.w r9, #1 + 800c9b2: a803 add r0, sp, #12 + 800c9b4: f88d 9014 strb.w r9, [sp, #20] + 800c9b8: f001 fcda bl 800e370 + 800c9bc: 2800 cmp r0, #0 + 800c9be: d1be bne.n 800c93e + 800c9c0: 7628 strb r0, [r5, #24] + 800c9c2: f885 9017 strb.w r9, [r5, #23] + 800c9c6: 7568 strb r0, [r5, #21] + 800c9c8: f7ff fe5c bl 800c684 + 800c9cc: 4640 mov r0, r8 + 800c9ce: f7ff ff79 bl 800c8c4 + 800c9d2: 486c ldr r0, [pc, #432] ; (800cb84 ) + 800c9d4: f001 fa86 bl 800dee4 + 800c9d8: 486b ldr r0, [pc, #428] ; (800cb88 ) + 800c9da: f001 faef bl 800dfbc + 800c9de: a801 add r0, sp, #4 + 800c9e0: f000 ff84 bl 800d8ec + 800c9e4: 8a20 ldrh r0, [r4, #16] + 800c9e6: f000 ff55 bl 800d894 + 800c9ea: 89a0 ldrh r0, [r4, #12] + 800c9ec: f000 ff9a bl 800d924 + 800c9f0: 4638 mov r0, r7 + 800c9f2: f001 fc01 bl 800e1f8 + 800c9f6: 4c60 ldr r4, [pc, #384] ; (800cb78 ) + 800c9f8: f884 0056 strb.w r0, [r4, #86] ; 0x56 + 800c9fc: f001 fcc0 bl 800e380 + 800ca00: 6066 str r6, [r4, #4] + 800ca02: 2000 movs r0, #0 + 800ca04: e79d b.n 800c942 + 800ca06: f04f 0800 mov.w r8, #0 + 800ca0a: 63e9 str r1, [r5, #60] ; 0x3c + 800ca0c: 0889 lsrs r1, r1, #2 + 800ca0e: f885 800e strb.w r8, [r5, #14] + 800ca12: f885 8038 strb.w r8, [r5, #56] ; 0x38 + 800ca16: f885 3044 strb.w r3, [r5, #68] ; 0x44 + 800ca1a: 6429 str r1, [r5, #64] ; 0x40 + 800ca1c: e7aa b.n 800c974 + 800ca1e: 75eb strb r3, [r5, #23] + 800ca20: 7629 strb r1, [r5, #24] + 800ca22: 756a strb r2, [r5, #21] + 800ca24: e7d0 b.n 800c9c8 + 800ca26: 6823 ldr r3, [r4, #0] + 800ca28: 2b00 cmp r3, #0 + 800ca2a: d088 beq.n 800c93e + 800ca2c: 7ca2 ldrb r2, [r4, #18] + 800ca2e: 2a08 cmp r2, #8 + 800ca30: d885 bhi.n 800c93e + 800ca32: 4d51 ldr r5, [pc, #324] ; (800cb78 ) + 800ca34: 68a1 ldr r1, [r4, #8] + 800ca36: a801 add r0, sp, #4 + 800ca38: f001 fe66 bl 800e708 + 800ca3c: 2300 movs r3, #0 + 800ca3e: f885 3038 strb.w r3, [r5, #56] ; 0x38 + 800ca42: 6822 ldr r2, [r4, #0] + 800ca44: 63ea str r2, [r5, #60] ; 0x3c + 800ca46: 7ce2 ldrb r2, [r4, #19] + 800ca48: f885 2044 strb.w r2, [r5, #68] ; 0x44 + 800ca4c: 69a2 ldr r2, [r4, #24] + 800ca4e: 73ab strb r3, [r5, #14] + 800ca50: 642a str r2, [r5, #64] ; 0x40 + 800ca52: 6862 ldr r2, [r4, #4] + 800ca54: 7da1 ldrb r1, [r4, #22] + 800ca56: 00d2 lsls r2, r2, #3 + 800ca58: 822a strh r2, [r5, #16] + 800ca5a: 2204 movs r2, #4 + 800ca5c: 74aa strb r2, [r5, #18] + 800ca5e: 7ca2 ldrb r2, [r4, #18] + 800ca60: 752b strb r3, [r5, #20] + 800ca62: 00d2 lsls r2, r2, #3 + 800ca64: 2902 cmp r1, #2 + 800ca66: 7d63 ldrb r3, [r4, #21] + 800ca68: 74ea strb r2, [r5, #19] + 800ca6a: d002 beq.n 800ca72 + 800ca6c: 7d22 ldrb r2, [r4, #20] + 800ca6e: 2a02 cmp r2, #2 + 800ca70: d11d bne.n 800caae + 800ca72: f103 020f add.w r2, r3, #15 + 800ca76: b2d2 uxtb r2, r2 + 800ca78: 2a01 cmp r2, #1 + 800ca7a: d902 bls.n 800ca82 + 800ca7c: 2b01 cmp r3, #1 + 800ca7e: f47f af5e bne.w 800c93e + 800ca82: 4b3e ldr r3, [pc, #248] ; (800cb7c ) + 800ca84: 4a3e ldr r2, [pc, #248] ; (800cb80 ) + 800ca86: 6819 ldr r1, [r3, #0] + 800ca88: 9403 str r4, [sp, #12] + 800ca8a: f04f 0801 mov.w r8, #1 + 800ca8e: a803 add r0, sp, #12 + 800ca90: f88d 8014 strb.w r8, [sp, #20] + 800ca94: f001 fc6c bl 800e370 + 800ca98: 2800 cmp r0, #0 + 800ca9a: f47f af50 bne.w 800c93e + 800ca9e: 7628 strb r0, [r5, #24] + 800caa0: f885 8017 strb.w r8, [r5, #23] + 800caa4: 7568 strb r0, [r5, #21] + 800caa6: f7ff fded bl 800c684 + 800caaa: 2000 movs r0, #0 + 800caac: e78f b.n 800c9ce + 800caae: 75eb strb r3, [r5, #23] + 800cab0: 7629 strb r1, [r5, #24] + 800cab2: 756a strb r2, [r5, #21] + 800cab4: e7f7 b.n 800caa6 + 800cab6: 4d30 ldr r5, [pc, #192] ; (800cb78 ) + 800cab8: 2101 movs r1, #1 + 800caba: f885 1038 strb.w r1, [r5, #56] ; 0x38 + 800cabe: 7822 ldrb r2, [r4, #0] + 800cac0: f885 2050 strb.w r2, [r5, #80] ; 0x50 + 800cac4: 7863 ldrb r3, [r4, #1] + 800cac6: f885 3051 strb.w r3, [r5, #81] ; 0x51 + 800caca: 78a3 ldrb r3, [r4, #2] + 800cacc: f885 3052 strb.w r3, [r5, #82] ; 0x52 + 800cad0: 78e3 ldrb r3, [r4, #3] + 800cad2: 428b cmp r3, r1 + 800cad4: d002 beq.n 800cadc + 800cad6: 2b02 cmp r3, #2 + 800cad8: d003 beq.n 800cae2 + 800cada: b93b cbnz r3, 800caec + 800cadc: f885 3053 strb.w r3, [r5, #83] ; 0x53 + 800cae0: e004 b.n 800caec + 800cae2: 3a0b subs r2, #11 + 800cae4: 2a01 cmp r2, #1 + 800cae6: d829 bhi.n 800cb3c + 800cae8: f885 1053 strb.w r1, [r5, #83] ; 0x53 + 800caec: f04f 0801 mov.w r8, #1 + 800caf0: f885 800e strb.w r8, [r5, #14] + 800caf4: 88a3 ldrh r3, [r4, #4] + 800caf6: 83ab strh r3, [r5, #28] + 800caf8: 79a3 ldrb r3, [r4, #6] + 800cafa: 77ab strb r3, [r5, #30] + 800cafc: 79e3 ldrb r3, [r4, #7] + 800cafe: f885 3020 strb.w r3, [r5, #32] + 800cb02: 7a23 ldrb r3, [r4, #8] + 800cb04: f885 3021 strb.w r3, [r5, #33] ; 0x21 + 800cb08: f7ff fdbc bl 800c684 + 800cb0c: 4640 mov r0, r8 + 800cb0e: f7ff fed9 bl 800c8c4 + 800cb12: 481c ldr r0, [pc, #112] ; (800cb84 ) + 800cb14: f001 f9e6 bl 800dee4 + 800cb18: 481b ldr r0, [pc, #108] ; (800cb88 ) + 800cb1a: f001 fa4f bl 800dfbc + 800cb1e: f895 3051 ldrb.w r3, [r5, #81] ; 0x51 + 800cb22: 2b06 cmp r3, #6 + 800cb24: f640 0089 movw r0, #2185 ; 0x889 + 800cb28: d10a bne.n 800cb40 + 800cb2a: f000 fe8f bl 800d84c + 800cb2e: f000 01fb and.w r1, r0, #251 ; 0xfb + 800cb32: f640 0089 movw r0, #2185 ; 0x889 + 800cb36: f000 fe79 bl 800d82c + 800cb3a: e759 b.n 800c9f0 + 800cb3c: 2300 movs r3, #0 + 800cb3e: e7cd b.n 800cadc + 800cb40: f000 fe84 bl 800d84c + 800cb44: f040 0104 orr.w r1, r0, #4 + 800cb48: b2c9 uxtb r1, r1 + 800cb4a: e7f2 b.n 800cb32 + 800cb4c: 6823 ldr r3, [r4, #0] + 800cb4e: 3b01 subs r3, #1 + 800cb50: f5b3 7f7a cmp.w r3, #1000 ; 0x3e8 + 800cb54: f4bf aef3 bcs.w 800c93e + 800cb58: 2003 movs r0, #3 + 800cb5a: f7ff feb3 bl 800c8c4 + 800cb5e: 4806 ldr r0, [pc, #24] ; (800cb78 ) + 800cb60: 2302 movs r3, #2 + 800cb62: f880 3038 strb.w r3, [r0, #56] ; 0x38 + 800cb66: 6823 ldr r3, [r4, #0] + 800cb68: 6483 str r3, [r0, #72] ; 0x48 + 800cb6a: 2316 movs r3, #22 + 800cb6c: f880 304c strb.w r3, [r0, #76] ; 0x4c + 800cb70: 3038 adds r0, #56 ; 0x38 + 800cb72: f001 f9b7 bl 800dee4 + 800cb76: e73b b.n 800c9f0 + 800cb78: 20001ae8 .word 0x20001ae8 + 800cb7c: 20001acc .word 0x20001acc + 800cb80: 20001b44 .word 0x20001b44 + 800cb84: 20001b20 .word 0x20001b20 + 800cb88: 20001af6 .word 0x20001af6 -0800c8d4 : - 800c8d4: 3801 subs r0, #1 - 800c8d6: 440a add r2, r1 - 800c8d8: 4291 cmp r1, r2 - 800c8da: d100 bne.n 800c8de - 800c8dc: 4770 bx lr - 800c8de: f811 3b01 ldrb.w r3, [r1], #1 - 800c8e2: f800 3f01 strb.w r3, [r0, #1]! - 800c8e6: e7f7 b.n 800c8d8 +0800cb8c : + 800cb8c: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800cb90: 2600 movs r6, #0 + 800cb92: b086 sub sp, #24 + 800cb94: 461f mov r7, r3 + 800cb96: 4614 mov r4, r2 + 800cb98: e9cd 6601 strd r6, r6, [sp, #4] + 800cb9c: 4680 mov r8, r0 + 800cb9e: 460d mov r5, r1 + 800cba0: f001 fbe9 bl 800e376 + 800cba4: 42b4 cmp r4, r6 + 800cba6: 4c76 ldr r4, [pc, #472] ; (800cd80 ) + 800cba8: bf16 itet ne + 800cbaa: 2301 movne r3, #1 + 800cbac: 4633 moveq r3, r6 + 800cbae: 4637 movne r7, r6 + 800cbb0: 7063 strb r3, [r4, #1] + 800cbb2: f1b8 0f00 cmp.w r8, #0 + 800cbb6: d006 beq.n 800cbc6 + 800cbb8: f1b8 0f01 cmp.w r8, #1 + 800cbbc: d07c beq.n 800ccb8 + 800cbbe: 2000 movs r0, #0 + 800cbc0: b006 add sp, #24 + 800cbc2: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800cbc6: 68ab ldr r3, [r5, #8] + 800cbc8: 2b00 cmp r3, #0 + 800cbca: f000 80d6 beq.w 800cd7a + 800cbce: 68eb ldr r3, [r5, #12] + 800cbd0: 2b00 cmp r3, #0 + 800cbd2: f000 80d2 beq.w 800cd7a + 800cbd6: 7faa ldrb r2, [r5, #30] + 800cbd8: 2a08 cmp r2, #8 + 800cbda: f200 80ce bhi.w 800cd7a + 800cbde: 6929 ldr r1, [r5, #16] + 800cbe0: a801 add r0, sp, #4 + 800cbe2: f001 fd91 bl 800e708 + 800cbe6: 6828 ldr r0, [r5, #0] + 800cbe8: 3800 subs r0, #0 + 800cbea: bf18 it ne + 800cbec: 2001 movne r0, #1 + 800cbee: f000 ffd9 bl 800dba4 + 800cbf2: f884 8038 strb.w r8, [r4, #56] ; 0x38 + 800cbf6: 68ab ldr r3, [r5, #8] + 800cbf8: 63e3 str r3, [r4, #60] ; 0x3c + 800cbfa: f895 3020 ldrb.w r3, [r5, #32] + 800cbfe: f884 3044 strb.w r3, [r4, #68] ; 0x44 + 800cc02: 6868 ldr r0, [r5, #4] + 800cc04: f001 fb5a bl 800e2bc + 800cc08: f884 800e strb.w r8, [r4, #14] + 800cc0c: f884 0045 strb.w r0, [r4, #69] ; 0x45 + 800cc10: 68eb ldr r3, [r5, #12] + 800cc12: 00db lsls r3, r3, #3 + 800cc14: 8223 strh r3, [r4, #16] + 800cc16: 7feb ldrb r3, [r5, #31] + 800cc18: 74a3 strb r3, [r4, #18] + 800cc1a: 7fab ldrb r3, [r5, #30] + 800cc1c: 00db lsls r3, r3, #3 + 800cc1e: 74e3 strb r3, [r4, #19] + 800cc20: f895 3021 ldrb.w r3, [r5, #33] ; 0x21 + 800cc24: 7523 strb r3, [r4, #20] + 800cc26: f895 3022 ldrb.w r3, [r5, #34] ; 0x22 + 800cc2a: 2b00 cmp r3, #0 + 800cc2c: d13e bne.n 800ccac + 800cc2e: 7d2a ldrb r2, [r5, #20] + 800cc30: f895 1024 ldrb.w r1, [r5, #36] ; 0x24 + 800cc34: 75a2 strb r2, [r4, #22] + 800cc36: 2902 cmp r1, #2 + 800cc38: f895 2023 ldrb.w r2, [r5, #35] ; 0x23 + 800cc3c: d001 beq.n 800cc42 + 800cc3e: 2b02 cmp r3, #2 + 800cc40: d136 bne.n 800ccb0 + 800cc42: f102 030f add.w r3, r2, #15 + 800cc46: b2db uxtb r3, r3 + 800cc48: 2b01 cmp r3, #1 + 800cc4a: d902 bls.n 800cc52 + 800cc4c: 2a01 cmp r2, #1 + 800cc4e: f040 8094 bne.w 800cd7a + 800cc52: 2300 movs r3, #0 + 800cc54: f88d 3014 strb.w r3, [sp, #20] + 800cc58: 4b4a ldr r3, [pc, #296] ; (800cd84 ) + 800cc5a: 4a4b ldr r2, [pc, #300] ; (800cd88 ) + 800cc5c: 6819 ldr r1, [r3, #0] + 800cc5e: 9504 str r5, [sp, #16] + 800cc60: a803 add r0, sp, #12 + 800cc62: f001 fb85 bl 800e370 + 800cc66: 2800 cmp r0, #0 + 800cc68: f040 8087 bne.w 800cd7a + 800cc6c: 2301 movs r3, #1 + 800cc6e: 7620 strb r0, [r4, #24] + 800cc70: 75e3 strb r3, [r4, #23] + 800cc72: 7560 strb r0, [r4, #21] + 800cc74: f7ff fd06 bl 800c684 + 800cc78: 2000 movs r0, #0 + 800cc7a: f7ff fe23 bl 800c8c4 + 800cc7e: 4843 ldr r0, [pc, #268] ; (800cd8c ) + 800cc80: f001 f930 bl 800dee4 + 800cc84: 4842 ldr r0, [pc, #264] ; (800cd90 ) + 800cc86: f001 f999 bl 800dfbc + 800cc8a: a801 add r0, sp, #4 + 800cc8c: f000 fe2e bl 800d8ec + 800cc90: 8ba8 ldrh r0, [r5, #28] + 800cc92: f000 fdff bl 800d894 + 800cc96: 8b28 ldrh r0, [r5, #24] + 800cc98: f000 fe44 bl 800d924 + 800cc9c: f44f 53fa mov.w r3, #8000 ; 0x1f40 + 800cca0: 68aa ldr r2, [r5, #8] + 800cca2: 437b muls r3, r7 + 800cca4: fbb3 f3f2 udiv r3, r3, r2 + 800cca8: 60a3 str r3, [r4, #8] + 800ccaa: e788 b.n 800cbbe + 800ccac: 22ff movs r2, #255 ; 0xff + 800ccae: e7bf b.n 800cc30 + 800ccb0: 75e2 strb r2, [r4, #23] + 800ccb2: 7621 strb r1, [r4, #24] + 800ccb4: 7563 strb r3, [r4, #21] + 800ccb6: e7dd b.n 800cc74 + 800ccb8: 8e2b ldrh r3, [r5, #48] ; 0x30 + 800ccba: 2b00 cmp r3, #0 + 800ccbc: d05d beq.n 800cd7a + 800ccbe: f895 3032 ldrb.w r3, [r5, #50] ; 0x32 + 800ccc2: 6aa8 ldr r0, [r5, #40] ; 0x28 + 800ccc4: 2b01 cmp r3, #1 + 800ccc6: bf0c ite eq + 800ccc8: f895 8014 ldrbeq.w r8, [r5, #20] + 800cccc: f04f 08ff movne.w r8, #255 ; 0xff + 800ccd0: 3800 subs r0, #0 + 800ccd2: bf18 it ne + 800ccd4: 2001 movne r0, #1 + 800ccd6: f000 ff65 bl 800dba4 + 800ccda: b2f8 uxtb r0, r7 + 800ccdc: f000 ff6e bl 800dbbc + 800cce0: 2101 movs r1, #1 + 800cce2: f884 1038 strb.w r1, [r4, #56] ; 0x38 + 800cce6: f895 202c ldrb.w r2, [r5, #44] ; 0x2c + 800ccea: f884 2050 strb.w r2, [r4, #80] ; 0x50 + 800ccee: f895 302d ldrb.w r3, [r5, #45] ; 0x2d + 800ccf2: f884 3051 strb.w r3, [r4, #81] ; 0x51 + 800ccf6: f895 302e ldrb.w r3, [r5, #46] ; 0x2e + 800ccfa: f884 3052 strb.w r3, [r4, #82] ; 0x52 + 800ccfe: f895 302f ldrb.w r3, [r5, #47] ; 0x2f + 800cd02: 428b cmp r3, r1 + 800cd04: d002 beq.n 800cd0c + 800cd06: 2b02 cmp r3, #2 + 800cd08: d003 beq.n 800cd12 + 800cd0a: b93b cbnz r3, 800cd1c + 800cd0c: f884 3053 strb.w r3, [r4, #83] ; 0x53 + 800cd10: e004 b.n 800cd1c + 800cd12: 3a0b subs r2, #11 + 800cd14: 2a01 cmp r2, #1 + 800cd16: d828 bhi.n 800cd6a + 800cd18: f884 1053 strb.w r1, [r4, #83] ; 0x53 + 800cd1c: 8e2b ldrh r3, [r5, #48] ; 0x30 + 800cd1e: 83a3 strh r3, [r4, #28] + 800cd20: f895 3032 ldrb.w r3, [r5, #50] ; 0x32 + 800cd24: 77a3 strb r3, [r4, #30] + 800cd26: 8eab ldrh r3, [r5, #52] ; 0x34 + 800cd28: 8423 strh r3, [r4, #32] + 800cd2a: 2601 movs r6, #1 + 800cd2c: 73a6 strb r6, [r4, #14] + 800cd2e: f884 801f strb.w r8, [r4, #31] + 800cd32: f7ff fca7 bl 800c684 + 800cd36: 4630 mov r0, r6 + 800cd38: f7ff fdc4 bl 800c8c4 + 800cd3c: 4813 ldr r0, [pc, #76] ; (800cd8c ) + 800cd3e: f001 f8d1 bl 800dee4 + 800cd42: 4813 ldr r0, [pc, #76] ; (800cd90 ) + 800cd44: f001 f93a bl 800dfbc + 800cd48: f894 3021 ldrb.w r3, [r4, #33] ; 0x21 + 800cd4c: 42b3 cmp r3, r6 + 800cd4e: f240 7036 movw r0, #1846 ; 0x736 + 800cd52: d10c bne.n 800cd6e + 800cd54: f000 fd7a bl 800d84c + 800cd58: f000 01fb and.w r1, r0, #251 ; 0xfb + 800cd5c: f240 7036 movw r0, #1846 ; 0x736 + 800cd60: f000 fd64 bl 800d82c + 800cd64: f64f 73ff movw r3, #65535 ; 0xffff + 800cd68: e79e b.n 800cca8 + 800cd6a: 2300 movs r3, #0 + 800cd6c: e7ce b.n 800cd0c + 800cd6e: f000 fd6d bl 800d84c + 800cd72: f040 0104 orr.w r1, r0, #4 + 800cd76: b2c9 uxtb r1, r1 + 800cd78: e7f0 b.n 800cd5c + 800cd7a: f04f 30ff mov.w r0, #4294967295 + 800cd7e: e71f b.n 800cbc0 + 800cd80: 20001ae8 .word 0x20001ae8 + 800cd84: 20001acc .word 0x20001acc + 800cd88: 20001ad0 .word 0x20001ad0 + 800cd8c: 20001b20 .word 0x20001b20 + 800cd90: 20001af6 .word 0x20001af6 -0800c8e8 : - 800c8e8: 4410 add r0, r2 - 800c8ea: 440a add r2, r1 - 800c8ec: 4291 cmp r1, r2 - 800c8ee: d100 bne.n 800c8f2 - 800c8f0: 4770 bx lr - 800c8f2: f811 3b01 ldrb.w r3, [r1], #1 - 800c8f6: f800 3d01 strb.w r3, [r0, #-1]! - 800c8fa: e7f7 b.n 800c8ec +0800cd94 : + 800cd94: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800cd98: b085 sub sp, #20 + 800cd9a: 4682 mov sl, r0 + 800cd9c: 9d0e ldr r5, [sp, #56] ; 0x38 + 800cd9e: f8bd b040 ldrh.w fp, [sp, #64] ; 0x40 + 800cda2: f89d 7044 ldrb.w r7, [sp, #68] ; 0x44 + 800cda6: f89d 9048 ldrb.w r9, [sp, #72] ; 0x48 + 800cdaa: 9201 str r2, [sp, #4] + 800cdac: 4688 mov r8, r1 + 800cdae: 461e mov r6, r3 + 800cdb0: f001 fae1 bl 800e376 + 800cdb4: f1ba 0f01 cmp.w sl, #1 + 800cdb8: 4c52 ldr r4, [pc, #328] ; (800cf04 ) + 800cdba: d054 beq.n 800ce66 + 800cdbc: f1ba 0f04 cmp.w sl, #4 + 800cdc0: f000 8091 beq.w 800cee6 + 800cdc4: f1ba 0f00 cmp.w sl, #0 + 800cdc8: d13a bne.n 800ce40 + 800cdca: 220b movs r2, #11 + 800cdcc: 4630 mov r0, r6 + 800cdce: f884 2044 strb.w r2, [r4, #68] ; 0x44 + 800cdd2: f884 a038 strb.w sl, [r4, #56] ; 0x38 + 800cdd6: 63e5 str r5, [r4, #60] ; 0x3c + 800cdd8: f001 fa70 bl 800e2bc + 800cddc: 9b01 ldr r3, [sp, #4] + 800cdde: 6423 str r3, [r4, #64] ; 0x40 + 800cde0: ea4f 03cb mov.w r3, fp, lsl #3 + 800cde4: f1b9 0f00 cmp.w r9, #0 + 800cde8: 8223 strh r3, [r4, #16] + 800cdea: f641 0304 movw r3, #6148 ; 0x1804 + 800cdee: 8263 strh r3, [r4, #18] + 800cdf0: bf14 ite ne + 800cdf2: 23f2 movne r3, #242 ; 0xf2 + 800cdf4: 2301 moveq r3, #1 + 800cdf6: 75e3 strb r3, [r4, #23] + 800cdf8: f087 0701 eor.w r7, r7, #1 + 800cdfc: 2301 movs r3, #1 + 800cdfe: 7623 strb r3, [r4, #24] + 800ce00: f884 0045 strb.w r0, [r4, #69] ; 0x45 + 800ce04: f884 a00e strb.w sl, [r4, #14] + 800ce08: f884 a014 strb.w sl, [r4, #20] + 800ce0c: 7567 strb r7, [r4, #21] + 800ce0e: f7ff fc39 bl 800c684 + 800ce12: 4650 mov r0, sl + 800ce14: f7ff fd56 bl 800c8c4 + 800ce18: f104 0038 add.w r0, r4, #56 ; 0x38 + 800ce1c: f001 f862 bl 800dee4 + 800ce20: f104 000e add.w r0, r4, #14 + 800ce24: f001 f8ca bl 800dfbc + 800ce28: 4a37 ldr r2, [pc, #220] ; (800cf08 ) + 800ce2a: 6810 ldr r0, [r2, #0] + 800ce2c: 6851 ldr r1, [r2, #4] + 800ce2e: ab02 add r3, sp, #8 + 800ce30: c303 stmia r3!, {r0, r1} + 800ce32: a802 add r0, sp, #8 + 800ce34: f000 fd5a bl 800d8ec + 800ce38: f240 10ff movw r0, #511 ; 0x1ff + 800ce3c: f000 fd2a bl 800d894 + 800ce40: 4640 mov r0, r8 + 800ce42: f001 f9d9 bl 800e1f8 + 800ce46: 210e movs r1, #14 + 800ce48: f884 0056 strb.w r0, [r4, #86] ; 0x56 + 800ce4c: f640 101f movw r0, #2335 ; 0x91f + 800ce50: f000 fcec bl 800d82c + 800ce54: f894 0056 ldrb.w r0, [r4, #86] ; 0x56 + 800ce58: f001 fa92 bl 800e380 + 800ce5c: 9b16 ldr r3, [sp, #88] ; 0x58 + 800ce5e: 6063 str r3, [r4, #4] + 800ce60: b005 add sp, #20 + 800ce62: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800ce66: 4929 ldr r1, [pc, #164] ; (800cf0c ) + 800ce68: f884 a038 strb.w sl, [r4, #56] ; 0x38 + 800ce6c: b2ea uxtb r2, r5 + 800ce6e: 5d89 ldrb r1, [r1, r6] + 800ce70: f884 2050 strb.w r2, [r4, #80] ; 0x50 + 800ce74: bb76 cbnz r6, 800ced4 + 800ce76: 3d0b subs r5, #11 + 800ce78: 2d01 cmp r5, #1 + 800ce7a: bf8c ite hi + 800ce7c: 2500 movhi r5, #0 + 800ce7e: 2501 movls r5, #1 + 800ce80: 3a05 subs r2, #5 + 800ce82: 2a01 cmp r2, #1 + 800ce84: d804 bhi.n 800ce90 + 800ce86: f1bb 0f0c cmp.w fp, #12 + 800ce8a: bf38 it cc + 800ce8c: f04f 0b0c movcc.w fp, #12 + 800ce90: 4b1f ldr r3, [pc, #124] ; (800cf10 ) + 800ce92: f89d 203c ldrb.w r2, [sp, #60] ; 0x3c + 800ce96: 781b ldrb r3, [r3, #0] + 800ce98: f884 5053 strb.w r5, [r4, #83] ; 0x53 + 800ce9c: 77e3 strb r3, [r4, #31] + 800ce9e: 2501 movs r5, #1 + 800cea0: f89d 3054 ldrb.w r3, [sp, #84] ; 0x54 + 800cea4: f884 1051 strb.w r1, [r4, #81] ; 0x51 + 800cea8: f884 2052 strb.w r2, [r4, #82] ; 0x52 + 800ceac: f884 3021 strb.w r3, [r4, #33] ; 0x21 + 800ceb0: 73a5 strb r5, [r4, #14] + 800ceb2: f8a4 b01c strh.w fp, [r4, #28] + 800ceb6: 77a7 strb r7, [r4, #30] + 800ceb8: f884 9020 strb.w r9, [r4, #32] + 800cebc: f7ff fbe2 bl 800c684 + 800cec0: 4628 mov r0, r5 + 800cec2: f7ff fcff bl 800c8c4 + 800cec6: 4813 ldr r0, [pc, #76] ; (800cf14 ) + 800cec8: f001 f80c bl 800dee4 + 800cecc: 4812 ldr r0, [pc, #72] ; (800cf18 ) + 800cece: f001 f875 bl 800dfbc + 800ced2: e7b5 b.n 800ce40 + 800ced4: 2e01 cmp r6, #1 + 800ced6: d104 bne.n 800cee2 + 800ced8: f1a5 030c sub.w r3, r5, #12 + 800cedc: 425d negs r5, r3 + 800cede: 415d adcs r5, r3 + 800cee0: e7ce b.n 800ce80 + 800cee2: 2500 movs r5, #0 + 800cee4: e7cc b.n 800ce80 + 800cee6: 4650 mov r0, sl + 800cee8: f7ff fcec bl 800c8c4 + 800ceec: 2302 movs r3, #2 + 800ceee: f884 3038 strb.w r3, [r4, #56] ; 0x38 + 800cef2: f104 0038 add.w r0, r4, #56 ; 0x38 + 800cef6: 2316 movs r3, #22 + 800cef8: 64a5 str r5, [r4, #72] ; 0x48 + 800cefa: f884 304c strb.w r3, [r4, #76] ; 0x4c + 800cefe: f000 fff1 bl 800dee4 + 800cf02: e79d b.n 800ce40 + 800cf04: 20001ae8 .word 0x20001ae8 + 800cf08: 0800f118 .word 0x0800f118 + 800cf0c: 0800f9d6 .word 0x0800f9d6 + 800cf10: 200000fc .word 0x200000fc + 800cf14: 20001b20 .word 0x20001b20 + 800cf18: 20001af6 .word 0x20001af6 -0800c8fc : - 800c8fc: f002 bd10 b.w 800f320 +0800cf1c : + 800cf1c: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800cf20: b087 sub sp, #28 + 800cf22: f8df b2b4 ldr.w fp, [pc, #692] ; 800d1d8 + 800cf26: f89d a064 ldrb.w sl, [sp, #100] ; 0x64 + 800cf2a: f89d 904c ldrb.w r9, [sp, #76] ; 0x4c + 800cf2e: 9302 str r3, [sp, #8] + 800cf30: 4614 mov r4, r2 + 800cf32: f89d 3054 ldrb.w r3, [sp, #84] ; 0x54 + 800cf36: f89d 2050 ldrb.w r2, [sp, #80] ; 0x50 + 800cf3a: f8bd 8048 ldrh.w r8, [sp, #72] ; 0x48 + 800cf3e: 9203 str r2, [sp, #12] + 800cf40: 4605 mov r5, r0 + 800cf42: f88b a001 strb.w sl, [fp, #1] + 800cf46: f8bd 6044 ldrh.w r6, [sp, #68] ; 0x44 + 800cf4a: 9301 str r3, [sp, #4] + 800cf4c: 460f mov r7, r1 + 800cf4e: f001 fa12 bl 800e376 + 800cf52: f1ba 0f00 cmp.w sl, #0 + 800cf56: bf18 it ne + 800cf58: f04f 0800 movne.w r8, #0 + 800cf5c: f8df a27c ldr.w sl, [pc, #636] ; 800d1dc + 800cf60: 9a03 ldr r2, [sp, #12] + 800cf62: f1b9 0f00 cmp.w r9, #0 + 800cf66: bf08 it eq + 800cf68: 22ff moveq r2, #255 ; 0xff + 800cf6a: 2d01 cmp r5, #1 + 800cf6c: f88a 2000 strb.w r2, [sl] + 800cf70: f000 80c8 beq.w 800d104 + 800cf74: 2d05 cmp r5, #5 + 800cf76: d048 beq.n 800d00a + 800cf78: 2d00 cmp r5, #0 + 800cf7a: f040 80c0 bne.w 800d0fe + 800cf7e: 4628 mov r0, r5 + 800cf80: f000 fe10 bl 800dba4 + 800cf84: 220b movs r2, #11 + 800cf86: 4638 mov r0, r7 + 800cf88: f88b 2044 strb.w r2, [fp, #68] ; 0x44 + 800cf8c: f88b 5038 strb.w r5, [fp, #56] ; 0x38 + 800cf90: f8cb 403c str.w r4, [fp, #60] ; 0x3c + 800cf94: f001 f992 bl 800e2bc + 800cf98: 9b01 ldr r3, [sp, #4] + 800cf9a: f88b 0045 strb.w r0, [fp, #69] ; 0x45 + 800cf9e: f641 0204 movw r2, #6148 ; 0x1804 + 800cfa2: 2b00 cmp r3, #0 + 800cfa4: f8ab 2012 strh.w r2, [fp, #18] + 800cfa8: f89a 2000 ldrb.w r2, [sl] + 800cfac: f88b 2016 strb.w r2, [fp, #22] + 800cfb0: bf14 ite ne + 800cfb2: 22f2 movne r2, #242 ; 0xf2 + 800cfb4: 2201 moveq r2, #1 + 800cfb6: f88b 2017 strb.w r2, [fp, #23] + 800cfba: 00f6 lsls r6, r6, #3 + 800cfbc: 2201 movs r2, #1 + 800cfbe: f089 0901 eor.w r9, r9, #1 + 800cfc2: f88b 2018 strb.w r2, [fp, #24] + 800cfc6: f88b 500e strb.w r5, [fp, #14] + 800cfca: f8ab 6010 strh.w r6, [fp, #16] + 800cfce: f88b 5014 strb.w r5, [fp, #20] + 800cfd2: f88b 9015 strb.w r9, [fp, #21] + 800cfd6: f7ff fb55 bl 800c684 + 800cfda: 4628 mov r0, r5 + 800cfdc: f7ff fc72 bl 800c8c4 + 800cfe0: f10b 0038 add.w r0, fp, #56 ; 0x38 + 800cfe4: f000 ff7e bl 800dee4 + 800cfe8: f10b 000e add.w r0, fp, #14 + 800cfec: f000 ffe6 bl 800dfbc + 800cff0: 497b ldr r1, [pc, #492] ; (800d1e0 ) + 800cff2: 6808 ldr r0, [r1, #0] + 800cff4: 6849 ldr r1, [r1, #4] + 800cff6: aa04 add r2, sp, #16 + 800cff8: c203 stmia r2!, {r0, r1} + 800cffa: a804 add r0, sp, #16 + 800cffc: f000 fc76 bl 800d8ec + 800d000: f240 10ff movw r0, #511 ; 0x1ff + 800d004: f000 fc46 bl 800d894 + 800d008: e071 b.n 800d0ee + 800d00a: 2001 movs r0, #1 + 800d00c: f000 fdca bl 800dba4 + 800d010: 2209 movs r2, #9 + 800d012: f04f 0900 mov.w r9, #0 + 800d016: f88b 2044 strb.w r2, [fp, #68] ; 0x44 + 800d01a: 4638 mov r0, r7 + 800d01c: f44f 7248 mov.w r2, #800 ; 0x320 + 800d020: f8cb 2040 str.w r2, [fp, #64] ; 0x40 + 800d024: f88b 9038 strb.w r9, [fp, #56] ; 0x38 + 800d028: f8cb 403c str.w r4, [fp, #60] ; 0x3c + 800d02c: f001 f946 bl 800e2bc + 800d030: f44f 5280 mov.w r2, #4096 ; 0x1000 + 800d034: f8ab 2012 strh.w r2, [fp, #18] + 800d038: f89a 2000 ldrb.w r2, [sl] + 800d03c: f88b 0045 strb.w r0, [fp, #69] ; 0x45 + 800d040: f88b 2016 strb.w r2, [fp, #22] + 800d044: 4628 mov r0, r5 + 800d046: 2201 movs r2, #1 + 800d048: 00f6 lsls r6, r6, #3 + 800d04a: f88b 2017 strb.w r2, [fp, #23] + 800d04e: f88b 900e strb.w r9, [fp, #14] + 800d052: f8ab 6010 strh.w r6, [fp, #16] + 800d056: f8ab 9014 strh.w r9, [fp, #20] + 800d05a: f88b 9018 strb.w r9, [fp, #24] + 800d05e: f7ff fc31 bl 800c8c4 + 800d062: f10b 0038 add.w r0, fp, #56 ; 0x38 + 800d066: f000 ff3d bl 800dee4 + 800d06a: f10b 000e add.w r0, fp, #14 + 800d06e: f000 ffa5 bl 800dfbc + 800d072: 495b ldr r1, [pc, #364] ; (800d1e0 ) + 800d074: 6888 ldr r0, [r1, #8] + 800d076: 68c9 ldr r1, [r1, #12] + 800d078: aa04 add r2, sp, #16 + 800d07a: c203 stmia r2!, {r0, r1} + 800d07c: a804 add r0, sp, #16 + 800d07e: f000 fc35 bl 800d8ec + 800d082: f240 10ff movw r0, #511 ; 0x1ff + 800d086: f000 fc05 bl 800d894 + 800d08a: f640 00b8 movw r0, #2232 ; 0x8b8 + 800d08e: f000 fbdd bl 800d84c + 800d092: f000 01ef and.w r1, r0, #239 ; 0xef + 800d096: f640 00b8 movw r0, #2232 ; 0x8b8 + 800d09a: f000 fbc7 bl 800d82c + 800d09e: 2104 movs r1, #4 + 800d0a0: f640 00b9 movw r0, #2233 ; 0x8b9 + 800d0a4: f000 fbc2 bl 800d82c + 800d0a8: f640 009b movw r0, #2203 ; 0x89b + 800d0ac: f000 fbce bl 800d84c + 800d0b0: f000 01e3 and.w r1, r0, #227 ; 0xe3 + 800d0b4: f041 0108 orr.w r1, r1, #8 + 800d0b8: f640 009b movw r0, #2203 ; 0x89b + 800d0bc: f000 fbb6 bl 800d82c + 800d0c0: f240 60d1 movw r0, #1745 ; 0x6d1 + 800d0c4: f000 fbc2 bl 800d84c + 800d0c8: f040 0118 orr.w r1, r0, #24 + 800d0cc: b2c9 uxtb r1, r1 + 800d0ce: f240 60d1 movw r0, #1745 ; 0x6d1 + 800d0d2: f000 fbab bl 800d82c + 800d0d6: f240 60ac movw r0, #1708 ; 0x6ac + 800d0da: f000 fbb7 bl 800d84c + 800d0de: f000 018f and.w r1, r0, #143 ; 0x8f + 800d0e2: f041 0150 orr.w r1, r1, #80 ; 0x50 + 800d0e6: f240 60ac movw r0, #1708 ; 0x6ac + 800d0ea: f000 fb9f bl 800d82c + 800d0ee: f44f 52fa mov.w r2, #8000 ; 0x1f40 + 800d0f2: fb02 f208 mul.w r2, r2, r8 + 800d0f6: fbb2 f2f4 udiv r2, r2, r4 + 800d0fa: f8cb 2008 str.w r2, [fp, #8] + 800d0fe: b007 add sp, #28 + 800d100: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800d104: 2000 movs r0, #0 + 800d106: f000 fd4d bl 800dba4 + 800d10a: 4936 ldr r1, [pc, #216] ; (800d1e4 ) + 800d10c: f88b 5038 strb.w r5, [fp, #56] ; 0x38 + 800d110: b2e2 uxtb r2, r4 + 800d112: 5dc9 ldrb r1, [r1, r7] + 800d114: f88b 2050 strb.w r2, [fp, #80] ; 0x50 + 800d118: 2f00 cmp r7, #0 + 800d11a: d14d bne.n 800d1b8 + 800d11c: 3c0b subs r4, #11 + 800d11e: 2c01 cmp r4, #1 + 800d120: bf8c ite hi + 800d122: 2400 movhi r4, #0 + 800d124: 2401 movls r4, #1 + 800d126: 3a05 subs r2, #5 + 800d128: 2a01 cmp r2, #1 + 800d12a: d802 bhi.n 800d132 + 800d12c: 2e0c cmp r6, #12 + 800d12e: bf38 it cc + 800d130: 260c movcc r6, #12 + 800d132: 9b02 ldr r3, [sp, #8] + 800d134: f89a 2000 ldrb.w r2, [sl] + 800d138: f88b 3052 strb.w r3, [fp, #82] ; 0x52 + 800d13c: f88b 4053 strb.w r4, [fp, #83] ; 0x53 + 800d140: 9b01 ldr r3, [sp, #4] + 800d142: f88b 201f strb.w r2, [fp, #31] + 800d146: 2401 movs r4, #1 + 800d148: f89d 2060 ldrb.w r2, [sp, #96] ; 0x60 + 800d14c: f88b 2021 strb.w r2, [fp, #33] ; 0x21 + 800d150: f88b 1051 strb.w r1, [fp, #81] ; 0x51 + 800d154: f88b 3020 strb.w r3, [fp, #32] + 800d158: f88b 400e strb.w r4, [fp, #14] + 800d15c: f8ab 601c strh.w r6, [fp, #28] + 800d160: f88b 901e strb.w r9, [fp, #30] + 800d164: f7ff fa8e bl 800c684 + 800d168: 4620 mov r0, r4 + 800d16a: f7ff fbab bl 800c8c4 + 800d16e: 481e ldr r0, [pc, #120] ; (800d1e8 ) + 800d170: f000 feb8 bl 800dee4 + 800d174: 481d ldr r0, [pc, #116] ; (800d1ec ) + 800d176: f000 ff21 bl 800dfbc + 800d17a: fa5f f088 uxtb.w r0, r8 + 800d17e: f000 fd1d bl 800dbbc + 800d182: f640 00a3 movw r0, #2211 ; 0x8a3 + 800d186: f000 fb61 bl 800d84c + 800d18a: ea00 0104 and.w r1, r0, r4 + 800d18e: f640 00a3 movw r0, #2211 ; 0x8a3 + 800d192: f000 fb4b bl 800d82c + 800d196: f89b 2021 ldrb.w r2, [fp, #33] ; 0x21 + 800d19a: 42a2 cmp r2, r4 + 800d19c: f240 7036 movw r0, #1846 ; 0x736 + 800d1a0: d113 bne.n 800d1ca + 800d1a2: f000 fb53 bl 800d84c + 800d1a6: f000 01fb and.w r1, r0, #251 ; 0xfb + 800d1aa: f240 7036 movw r0, #1846 ; 0x736 + 800d1ae: f000 fb3d bl 800d82c + 800d1b2: f64f 72ff movw r2, #65535 ; 0xffff + 800d1b6: e7a0 b.n 800d0fa + 800d1b8: 2f01 cmp r7, #1 + 800d1ba: d104 bne.n 800d1c6 + 800d1bc: f1a4 030c sub.w r3, r4, #12 + 800d1c0: 425c negs r4, r3 + 800d1c2: 415c adcs r4, r3 + 800d1c4: e7af b.n 800d126 + 800d1c6: 2400 movs r4, #0 + 800d1c8: e7ad b.n 800d126 + 800d1ca: f000 fb3f bl 800d84c + 800d1ce: f040 0104 orr.w r1, r0, #4 + 800d1d2: b2c9 uxtb r1, r1 + 800d1d4: e7e9 b.n 800d1aa + 800d1d6: bf00 nop + 800d1d8: 20001ae8 .word 0x20001ae8 + 800d1dc: 200000fc .word 0x200000fc + 800d1e0: 0800f118 .word 0x0800f118 + 800d1e4: 0800f9d6 .word 0x0800f9d6 + 800d1e8: 20001b20 .word 0x20001b20 + 800d1ec: 20001af6 .word 0x20001af6 -0800c900 : - 800c900: b530 push {r4, r5, lr} - 800c902: b130 cbz r0, 800c912 - 800c904: 4d0a ldr r5, [pc, #40] ; (800c930 ) - 800c906: 4401 add r1, r0 - 800c908: f04f 33ff mov.w r3, #4294967295 - 800c90c: 4281 cmp r1, r0 - 800c90e: d101 bne.n 800c914 - 800c910: 43d8 mvns r0, r3 - 800c912: bd30 pop {r4, r5, pc} - 800c914: f810 2b01 ldrb.w r2, [r0], #1 - 800c918: 4053 eors r3, r2 - 800c91a: 2208 movs r2, #8 - 800c91c: f343 0400 sbfx r4, r3, #0, #1 - 800c920: 3a01 subs r2, #1 - 800c922: 402c ands r4, r5 - 800c924: b292 uxth r2, r2 - 800c926: ea84 0353 eor.w r3, r4, r3, lsr #1 - 800c92a: 2a00 cmp r2, #0 - 800c92c: d1f6 bne.n 800c91c - 800c92e: e7ed b.n 800c90c - 800c930: edb88320 .word 0xedb88320 +0800d1f0 : + 800d1f0: b5f0 push {r4, r5, r6, r7, lr} + 800d1f2: b08b sub sp, #44 ; 0x2c + 800d1f4: 460d mov r5, r1 + 800d1f6: 4604 mov r4, r0 + 800d1f8: 4617 mov r7, r2 + 800d1fa: 461e mov r6, r3 + 800d1fc: f7ff fa42 bl 800c684 + 800d200: 2000 movs r0, #0 + 800d202: f7ff fb5f bl 800c8c4 + 800d206: 4620 mov r0, r4 + 800d208: f000 fdbe bl 800dd88 + 800d20c: 2400 movs r4, #0 + 800d20e: 2301 movs r3, #1 + 800d210: e9cd 4308 strd r4, r3, [sp, #32] + 800d214: 2303 movs r3, #3 + 800d216: f44f 7216 mov.w r2, #600 ; 0x258 + 800d21a: 4629 mov r1, r5 + 800d21c: 4620 mov r0, r4 + 800d21e: e9cd 4406 strd r4, r4, [sp, #24] + 800d222: e9cd 4404 strd r4, r4, [sp, #16] + 800d226: e9cd 4402 strd r4, r4, [sp, #8] + 800d22a: e9cd 5300 strd r5, r3, [sp] + 800d22e: 4623 mov r3, r4 + 800d230: f7ff fe74 bl 800cf1c + 800d234: 4620 mov r0, r4 + 800d236: f7ff fa7d bl 800c734 + 800d23a: f7ff fa35 bl 800c6a8 + 800d23e: f7f4 fb21 bl 8001884 + 800d242: f001 fc43 bl 800eacc + 800d246: 4604 mov r4, r0 + 800d248: 4620 mov r0, r4 + 800d24a: f001 fc49 bl 800eae0 + 800d24e: 42b0 cmp r0, r6 + 800d250: d305 bcc.n 800d25e + 800d252: 2401 movs r4, #1 + 800d254: f7ff fa16 bl 800c684 + 800d258: 4620 mov r0, r4 + 800d25a: b00b add sp, #44 ; 0x2c + 800d25c: bdf0 pop {r4, r5, r6, r7, pc} + 800d25e: f000 ff2f bl 800e0c0 + 800d262: b200 sxth r0, r0 + 800d264: 4287 cmp r7, r0 + 800d266: daef bge.n 800d248 + 800d268: 2400 movs r4, #0 + 800d26a: e7f3 b.n 800d254 -0800c934 : - 800c934: 2001 movs r0, #1 - 800c936: 4770 bx lr +0800d26c : + 800d26c: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} + 800d26e: 2300 movs r3, #0 + 800d270: 460c mov r4, r1 + 800d272: f240 2101 movw r1, #513 ; 0x201 + 800d276: 461a mov r2, r3 + 800d278: 4606 mov r6, r0 + 800d27a: 4608 mov r0, r1 + 800d27c: f000 fd1e bl 800dcbc + 800d280: 4b64 ldr r3, [pc, #400] ; (800d414 ) + 800d282: 4d65 ldr r5, [pc, #404] ; (800d418 ) + 800d284: f44f 5200 mov.w r2, #8192 ; 0x2000 + 800d288: 619a str r2, [r3, #24] + 800d28a: f895 0056 ldrb.w r0, [r5, #86] ; 0x56 + 800d28e: 2101 movs r1, #1 + 800d290: f000 ff9c bl 800e1cc + 800d294: 782b ldrb r3, [r5, #0] + 800d296: 2b01 cmp r3, #1 + 800d298: f640 0089 movw r0, #2185 ; 0x889 + 800d29c: d113 bne.n 800d2c6 + 800d29e: f895 3051 ldrb.w r3, [r5, #81] ; 0x51 + 800d2a2: 2b06 cmp r3, #6 + 800d2a4: d10f bne.n 800d2c6 + 800d2a6: f000 fad1 bl 800d84c + 800d2aa: f000 01fb and.w r1, r0, #251 ; 0xfb + 800d2ae: f640 0089 movw r0, #2185 ; 0x889 + 800d2b2: f000 fabb bl 800d82c + 800d2b6: 782b ldrb r3, [r5, #0] + 800d2b8: 2b04 cmp r3, #4 + 800d2ba: d86c bhi.n 800d396 + 800d2bc: e8df f003 tbb [pc, r3] + 800d2c0: 7f524b52 .word 0x7f524b52 + 800d2c4: 09 .byte 0x09 + 800d2c5: 00 .byte 0x00 + 800d2c6: f000 fac1 bl 800d84c + 800d2ca: f040 0104 orr.w r1, r0, #4 + 800d2ce: b2c9 uxtb r1, r1 + 800d2d0: e7ed b.n 800d2ae + 800d2d2: 4a52 ldr r2, [pc, #328] ; (800d41c ) + 800d2d4: 1e73 subs r3, r6, #1 + 800d2d6: 4610 mov r0, r2 + 800d2d8: f1c6 0701 rsb r7, r6, #1 + 800d2dc: f04f 0c00 mov.w ip, #0 + 800d2e0: 18f9 adds r1, r7, r3 + 800d2e2: 428c cmp r4, r1 + 800d2e4: dc6f bgt.n 800d3c6 + 800d2e6: 2200 movs r2, #0 + 800d2e8: 00e7 lsls r7, r4, #3 + 800d2ea: 4613 mov r3, r2 + 800d2ec: 42ba cmp r2, r7 + 800d2ee: d171 bne.n 800d3d4 + 800d2f0: 019a lsls r2, r3, #6 + 800d2f2: ea42 12c3 orr.w r2, r2, r3, lsl #7 + 800d2f6: 015b lsls r3, r3, #5 + 800d2f8: f083 0320 eor.w r3, r3, #32 + 800d2fc: 4313 orrs r3, r2 + 800d2fe: 1c66 adds r6, r4, #1 + 800d300: 5503 strb r3, [r0, r4] + 800d302: b2f6 uxtb r6, r6 + 800d304: 2302 movs r3, #2 + 800d306: 4846 ldr r0, [pc, #280] ; (800d420 ) + 800d308: 73ab strb r3, [r5, #14] + 800d30a: 76ae strb r6, [r5, #26] + 800d30c: f000 fe56 bl 800dfbc + 800d310: 2100 movs r1, #0 + 800d312: 20f1 movs r0, #241 ; 0xf1 + 800d314: f000 fa8a bl 800d82c + 800d318: 2100 movs r1, #0 + 800d31a: 20f0 movs r0, #240 ; 0xf0 + 800d31c: f000 fa86 bl 800d82c + 800d320: 6cab ldr r3, [r5, #72] ; 0x48 + 800d322: 2b64 cmp r3, #100 ; 0x64 + 800d324: d170 bne.n 800d408 + 800d326: 2170 movs r1, #112 ; 0x70 + 800d328: 20f3 movs r0, #243 ; 0xf3 + 800d32a: f000 fa7f bl 800d82c + 800d32e: 211d movs r1, #29 + 800d330: 20f2 movs r0, #242 ; 0xf2 + 800d332: f000 fa7b bl 800d82c + 800d336: 00e1 lsls r1, r4, #3 + 800d338: 1c8c adds r4, r1, #2 + 800d33a: 20f4 movs r0, #244 ; 0xf4 + 800d33c: 0a09 lsrs r1, r1, #8 + 800d33e: f000 fa75 bl 800d82c + 800d342: f004 01fe and.w r1, r4, #254 ; 0xfe + 800d346: 20f5 movs r0, #245 ; 0xf5 + 800d348: f000 fa70 bl 800d82c + 800d34c: 4833 ldr r0, [pc, #204] ; (800d41c ) + 800d34e: f06f 427f mvn.w r2, #4278190080 ; 0xff000000 + 800d352: 4631 mov r1, r6 + 800d354: e01d b.n 800d392 + 800d356: 77ec strb r4, [r5, #31] + 800d358: 4831 ldr r0, [pc, #196] ; (800d420 ) + 800d35a: f000 fe2f bl 800dfbc + 800d35e: 2200 movs r2, #0 + 800d360: 4621 mov r1, r4 + 800d362: e015 b.n 800d390 + 800d364: f001 f808 bl 800e378 + 800d368: 2801 cmp r0, #1 + 800d36a: 4607 mov r7, r0 + 800d36c: d125 bne.n 800d3ba + 800d36e: 4621 mov r1, r4 + 800d370: f10d 0207 add.w r2, sp, #7 + 800d374: 4630 mov r0, r6 + 800d376: f001 f804 bl 800e382 + 800d37a: 4604 mov r4, r0 + 800d37c: b9a0 cbnz r0, 800d3a8 + 800d37e: f89d 3007 ldrb.w r3, [sp, #7] + 800d382: 4827 ldr r0, [pc, #156] ; (800d420 ) + 800d384: 75ab strb r3, [r5, #22] + 800d386: f000 fe19 bl 800dfbc + 800d38a: f89d 1007 ldrb.w r1, [sp, #7] + 800d38e: 4622 mov r2, r4 + 800d390: 4630 mov r0, r6 + 800d392: f000 fb65 bl 800da60 + 800d396: 6869 ldr r1, [r5, #4] + 800d398: 4822 ldr r0, [pc, #136] ; (800d424 ) + 800d39a: f001 fc63 bl 800ec64 + 800d39e: 4821 ldr r0, [pc, #132] ; (800d424 ) + 800d3a0: f001 fc26 bl 800ebf0 + 800d3a4: 2000 movs r0, #0 + 800d3a6: e006 b.n 800d3b6 + 800d3a8: 4b1f ldr r3, [pc, #124] ; (800d428 ) + 800d3aa: 463a mov r2, r7 + 800d3ac: 2100 movs r1, #0 + 800d3ae: 2002 movs r0, #2 + 800d3b0: f001 f8a2 bl 800e4f8 + 800d3b4: 2003 movs r0, #3 + 800d3b6: b003 add sp, #12 + 800d3b8: bdf0 pop {r4, r5, r6, r7, pc} + 800d3ba: 75ac strb r4, [r5, #22] + 800d3bc: e7cc b.n 800d358 + 800d3be: 2302 movs r3, #2 + 800d3c0: 73ab strb r3, [r5, #14] + 800d3c2: 76ac strb r4, [r5, #26] + 800d3c4: e7c8 b.n 800d358 + 800d3c6: f813 1f01 ldrb.w r1, [r3, #1]! + 800d3ca: 43c9 mvns r1, r1 + 800d3cc: 7019 strb r1, [r3, #0] + 800d3ce: f802 cb01 strb.w ip, [r2], #1 + 800d3d2: e785 b.n 800d2e0 + 800d3d4: 10d1 asrs r1, r2, #3 + 800d3d6: ea6f 0c02 mvn.w ip, r2 + 800d3da: 5c71 ldrb r1, [r6, r1] + 800d3dc: f00c 0c07 and.w ip, ip, #7 + 800d3e0: 3201 adds r2, #1 + 800d3e2: fa41 f10c asr.w r1, r1, ip + 800d3e6: f001 0101 and.w r1, r1, #1 + 800d3ea: ea4f 0ce2 mov.w ip, r2, asr #3 + 800d3ee: 404b eors r3, r1 + 800d3f0: 43d1 mvns r1, r2 + 800d3f2: f810 e00c ldrb.w lr, [r0, ip] + 800d3f6: f001 0107 and.w r1, r1, #7 + 800d3fa: fa03 f101 lsl.w r1, r3, r1 + 800d3fe: ea41 010e orr.w r1, r1, lr + 800d402: f800 100c strb.w r1, [r0, ip] + 800d406: e771 b.n 800d2ec + 800d408: 21e1 movs r1, #225 ; 0xe1 + 800d40a: 20f3 movs r0, #243 ; 0xf3 + 800d40c: f000 fa0e bl 800d82c + 800d410: 2104 movs r1, #4 + 800d412: e78d b.n 800d330 + 800d414: 48000400 .word 0x48000400 + 800d418: 20001ae8 .word 0x20001ae8 + 800d41c: 200019cc .word 0x200019cc + 800d420: 20001af6 .word 0x20001af6 + 800d424: 20001b44 .word 0x20001b44 + 800d428: 0800f978 .word 0x0800f978 -0800c938 : - 800c938: 4b05 ldr r3, [pc, #20] ; (800c950 ) - 800c93a: f44f 5200 mov.w r2, #8192 ; 0x2000 - 800c93e: 629a str r2, [r3, #40] ; 0x28 - 800c940: 4b04 ldr r3, [pc, #16] ; (800c954 ) - 800c942: 681b ldr r3, [r3, #0] - 800c944: b113 cbz r3, 800c94c - 800c946: 685b ldr r3, [r3, #4] - 800c948: b103 cbz r3, 800c94c - 800c94a: 4718 bx r3 - 800c94c: 4770 bx lr - 800c94e: bf00 nop - 800c950: 48000400 .word 0x48000400 - 800c954: 20001acc .word 0x20001acc +0800d42c : + 800d42c: b5f0 push {r4, r5, r6, r7, lr} + 800d42e: f8bd 4014 ldrh.w r4, [sp, #20] + 800d432: f89d 7018 ldrb.w r7, [sp, #24] + 800d436: f89d e01c ldrb.w lr, [sp, #28] + 800d43a: f89d 5020 ldrb.w r5, [sp, #32] + 800d43e: b140 cbz r0, 800d452 + 800d440: 2801 cmp r0, #1 + 800d442: d014 beq.n 800d46e + 800d444: 2201 movs r2, #1 + 800d446: 2300 movs r3, #0 + 800d448: 1898 adds r0, r3, r2 + 800d44a: 3801 subs r0, #1 + 800d44c: fbb0 f0f2 udiv r0, r0, r2 + 800d450: bdf0 pop {r4, r5, r6, r7, pc} + 800d452: f087 0701 eor.w r7, r7, #1 + 800d456: 00e3 lsls r3, r4, #3 + 800d458: eb03 03c7 add.w r3, r3, r7, lsl #3 + 800d45c: 3318 adds r3, #24 + 800d45e: eb0e 0545 add.w r5, lr, r5, lsl #1 + 800d462: eb03 03c5 add.w r3, r3, r5, lsl #3 + 800d466: f44f 717a mov.w r1, #1000 ; 0x3e8 + 800d46a: 434b muls r3, r1 + 800d46c: e7ec b.n 800d448 + 800d46e: 1f50 subs r0, r2, #5 + 800d470: 2801 cmp r0, #1 + 800d472: f103 0304 add.w r3, r3, #4 + 800d476: d802 bhi.n 800d47e + 800d478: 2c0c cmp r4, #12 + 800d47a: bf38 it cc + 800d47c: 240c movcc r4, #12 + 800d47e: b9d1 cbnz r1, 800d4b6 + 800d480: f1a2 0c0b sub.w ip, r2, #11 + 800d484: f1bc 0f01 cmp.w ip, #1 + 800d488: bf8c ite hi + 800d48a: f04f 0c00 movhi.w ip, #0 + 800d48e: f04f 0c01 movls.w ip, #1 + 800d492: 0128 lsls r0, r5, #4 + 800d494: 2f00 cmp r7, #0 + 800d496: eb00 00ce add.w r0, r0, lr, lsl #3 + 800d49a: bf14 ite ne + 800d49c: 2500 movne r5, #0 + 800d49e: 2514 moveq r5, #20 + 800d4a0: eba0 0082 sub.w r0, r0, r2, lsl #2 + 800d4a4: 2a06 cmp r2, #6 + 800d4a6: ea4f 0682 mov.w r6, r2, lsl #2 + 800d4aa: 4428 add r0, r5 + 800d4ac: f1a2 0702 sub.w r7, r2, #2 + 800d4b0: d80d bhi.n 800d4ce + 800d4b2: 4635 mov r5, r6 + 800d4b4: e010 b.n 800d4d8 + 800d4b6: 2901 cmp r1, #1 + 800d4b8: d106 bne.n 800d4c8 + 800d4ba: f1a2 000c sub.w r0, r2, #12 + 800d4be: f1d0 0c00 rsbs ip, r0, #0 + 800d4c2: eb4c 0c00 adc.w ip, ip, r0 + 800d4c6: e7e4 b.n 800d492 + 800d4c8: f04f 0c00 mov.w ip, #0 + 800d4cc: e7e1 b.n 800d492 + 800d4ce: 3008 adds r0, #8 + 800d4d0: f1bc 0f00 cmp.w ip, #0 + 800d4d4: d0ed beq.n 800d4b2 + 800d4d6: 00bd lsls r5, r7, #2 + 800d4d8: 2800 cmp r0, #0 + 800d4da: bfac ite ge + 800d4dc: 182e addge r6, r5, r0 + 800d4de: 1c2e addlt r6, r5, #0 + 800d4e0: 1e70 subs r0, r6, #1 + 800d4e2: fb90 f0f5 sdiv r0, r0, r5 + 800d4e6: fb03 4400 mla r4, r3, r0, r4 + 800d4ea: 4b09 ldr r3, [pc, #36] ; (800d510 ) + 800d4ec: 2a06 cmp r2, #6 + 800d4ee: 5c5a ldrb r2, [r3, r1] + 800d4f0: bf8c ite hi + 800d4f2: 340c addhi r4, #12 + 800d4f4: 340e addls r4, #14 + 800d4f6: 2a0a cmp r2, #10 + 800d4f8: d809 bhi.n 800d50e + 800d4fa: 00a3 lsls r3, r4, #2 + 800d4fc: 3301 adds r3, #1 + 800d4fe: f44f 717a mov.w r1, #1000 ; 0x3e8 + 800d502: 40bb lsls r3, r7 + 800d504: 434b muls r3, r1 + 800d506: 4903 ldr r1, [pc, #12] ; (800d514 ) + 800d508: f851 2022 ldr.w r2, [r1, r2, lsl #2] + 800d50c: e79c b.n 800d448 + 800d50e: deff udf #255 ; 0xff + 800d510: 0800f9d6 .word 0x0800f9d6 + 800d514: 0800f9dc .word 0x0800f9dc -0800c958 : - 800c958: 4b05 ldr r3, [pc, #20] ; (800c970 ) - 800c95a: f44f 5280 mov.w r2, #4096 ; 0x1000 - 800c95e: 629a str r2, [r3, #40] ; 0x28 - 800c960: 4b04 ldr r3, [pc, #16] ; (800c974 ) - 800c962: 681b ldr r3, [r3, #0] - 800c964: b113 cbz r3, 800c96c - 800c966: 68db ldr r3, [r3, #12] - 800c968: b103 cbz r3, 800c96c - 800c96a: 4718 bx r3 - 800c96c: 4770 bx lr - 800c96e: bf00 nop - 800c970: 48000400 .word 0x48000400 - 800c974: 20001acc .word 0x20001acc +0800d518 : + 800d518: b508 push {r3, lr} + 800d51a: 4b09 ldr r3, [pc, #36] ; (800d540 ) + 800d51c: 2101 movs r1, #1 + 800d51e: f893 0056 ldrb.w r0, [r3, #86] ; 0x56 + 800d522: f000 fe53 bl 800e1cc + 800d526: f44f 60d7 mov.w r0, #1720 ; 0x6b8 + 800d52a: 212d movs r1, #45 ; 0x2d + 800d52c: f000 f97e bl 800d82c + 800d530: f000 fb33 bl 800db9a + 800d534: e8bd 4008 ldmia.w sp!, {r3, lr} + 800d538: 4802 ldr r0, [pc, #8] ; (800d544 ) + 800d53a: f000 ba7b b.w 800da34 + 800d53e: bf00 nop + 800d540: 20001ae8 .word 0x20001ae8 + 800d544: 000fffff .word 0x000fffff -0800c978 : - 800c978: 2001 movs r0, #1 - 800c97a: 4770 bx lr - -0800c97c : - 800c97c: 2001 movs r0, #1 - 800c97e: 4770 bx lr - -0800c980 : - 800c980: f001 b948 b.w 800dc14 - -0800c984 : - 800c984: f001 b936 b.w 800dbf4 - -0800c988 : - 800c988: b510 push {r4, lr} - 800c98a: f001 fe19 bl 800e5c0 - 800c98e: 210e movs r1, #14 - 800c990: 4604 mov r4, r0 - 800c992: f640 101f movw r0, #2335 ; 0x91f - 800c996: f001 f92d bl 800dbf4 - 800c99a: 4620 mov r0, r4 - 800c99c: 2101 movs r1, #1 - 800c99e: f001 fdf9 bl 800e594 - 800c9a2: e8bd 4010 ldmia.w sp!, {r4, lr} - 800c9a6: f001 bad7 b.w 800df58 - ... - -0800c9ac : - 800c9ac: b570 push {r4, r5, r6, lr} - 800c9ae: 4e0c ldr r6, [pc, #48] ; (800c9e0 ) - 800c9b0: eb01 0340 add.w r3, r1, r0, lsl #1 - 800c9b4: 460d mov r5, r1 - 800c9b6: 65b3 str r3, [r6, #88] ; 0x58 - 800c9b8: f64f 71ff movw r1, #65535 ; 0xffff - 800c9bc: 2300 movs r3, #0 - 800c9be: 4604 mov r4, r0 - 800c9c0: 461a mov r2, r3 - 800c9c2: 4608 mov r0, r1 - 800c9c4: f001 fb5e bl 800e084 - 800c9c8: f896 0056 ldrb.w r0, [r6, #86] ; 0x56 - 800c9cc: 2100 movs r1, #0 - 800c9ce: f001 fde1 bl 800e594 - 800c9d2: 4629 mov r1, r5 - 800c9d4: 4620 mov r0, r4 - 800c9d6: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 800c9da: f001 ba95 b.w 800df08 - 800c9de: bf00 nop - 800c9e0: 20001ae8 .word 0x20001ae8 - -0800c9e4 : - 800c9e4: b510 push {r4, lr} - 800c9e6: 4604 mov r4, r0 - 800c9e8: f001 feaa bl 800e740 - 800c9ec: 2801 cmp r0, #1 - 800c9ee: d11c bne.n 800ca2a - 800c9f0: f001 feae bl 800e750 - 800c9f4: b134 cbz r4, 800ca04 - 800c9f6: 4812 ldr r0, [pc, #72] ; (800ca40 ) - 800c9f8: 4621 mov r1, r4 - 800c9fa: f002 fb17 bl 800f02c - 800c9fe: 4810 ldr r0, [pc, #64] ; (800ca40 ) - 800ca00: f002 fada bl 800efb8 - 800ca04: 4c0f ldr r4, [pc, #60] ; (800ca44 ) - 800ca06: 4b10 ldr r3, [pc, #64] ; (800ca48 ) - 800ca08: 2100 movs r1, #0 - 800ca0a: f44f 5280 mov.w r2, #4096 ; 0x1000 - 800ca0e: 65a1 str r1, [r4, #88] ; 0x58 - 800ca10: 619a str r2, [r3, #24] - 800ca12: f894 0056 ldrb.w r0, [r4, #86] ; 0x56 - 800ca16: f001 fdbd bl 800e594 - 800ca1a: 7863 ldrb r3, [r4, #1] - 800ca1c: b16b cbz r3, 800ca3a - 800ca1e: f06f 407f mvn.w r0, #4278190080 ; 0xff000000 - 800ca22: e8bd 4010 ldmia.w sp!, {r4, lr} - 800ca26: f001 ba53 b.w 800ded0 - 800ca2a: 2300 movs r3, #0 - 800ca2c: f240 2162 movw r1, #610 ; 0x262 - 800ca30: 461a mov r2, r3 - 800ca32: 4608 mov r0, r1 - 800ca34: f001 fb26 bl 800e084 - 800ca38: e7dc b.n 800c9f4 - 800ca3a: 68a0 ldr r0, [r4, #8] - 800ca3c: 0180 lsls r0, r0, #6 - 800ca3e: e7f0 b.n 800ca22 - 800ca40: 20001ad0 .word 0x20001ad0 - 800ca44: 20001ae8 .word 0x20001ae8 - 800ca48: 48000400 .word 0x48000400 - -0800ca4c : - 800ca4c: 2000 movs r0, #0 - 800ca4e: f001 b9bf b.w 800ddd0 - ... - -0800ca54 : - 800ca54: b508 push {r3, lr} - 800ca56: f001 f8c7 bl 800dbe8 - 800ca5a: 3804 subs r0, #4 - 800ca5c: b2c0 uxtb r0, r0 - 800ca5e: 2803 cmp r0, #3 - 800ca60: bf96 itet ls - 800ca62: 4b02 ldrls r3, [pc, #8] ; (800ca6c ) - 800ca64: 2000 movhi r0, #0 - 800ca66: 5c18 ldrbls r0, [r3, r0] - 800ca68: bd08 pop {r3, pc} - 800ca6a: bf00 nop - 800ca6c: 080101c8 .word 0x080101c8 - -0800ca70 : - 800ca70: b508 push {r3, lr} - 800ca72: f001 fdba bl 800e5ea - 800ca76: 3003 adds r0, #3 - 800ca78: bd08 pop {r3, pc} - -0800ca7a : - 800ca7a: f001 b949 b.w 800dd10 - -0800ca7e : - 800ca7e: f001 b909 b.w 800dc94 - -0800ca82 : - 800ca82: b508 push {r3, lr} - 800ca84: f001 fd00 bl 800e488 - 800ca88: b200 sxth r0, r0 - 800ca8a: bd08 pop {r3, pc} - -0800ca8c : - 800ca8c: b538 push {r3, r4, r5, lr} - 800ca8e: 460d mov r5, r1 - 800ca90: 4614 mov r4, r2 - 800ca92: f001 fb5d bl 800e150 - 800ca96: 4628 mov r0, r5 - 800ca98: f001 fd92 bl 800e5c0 - 800ca9c: 210e movs r1, #14 - 800ca9e: 4605 mov r5, r0 - 800caa0: f640 101f movw r0, #2335 ; 0x91f - 800caa4: f001 f8a6 bl 800dbf4 - 800caa8: 4628 mov r0, r5 - 800caaa: 2101 movs r1, #1 - 800caac: 4d07 ldr r5, [pc, #28] ; (800cacc ) - 800caae: f001 fd71 bl 800e594 - 800cab2: f001 fa51 bl 800df58 - 800cab6: f44f 717a mov.w r1, #1000 ; 0x3e8 - 800caba: 4361 muls r1, r4 - 800cabc: 4628 mov r0, r5 - 800cabe: f002 fab5 bl 800f02c - 800cac2: 4628 mov r0, r5 - 800cac4: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} - 800cac8: f002 ba76 b.w 800efb8 - 800cacc: 20001b44 .word 0x20001b44 - -0800cad0 : - 800cad0: f001 bb3e b.w 800e150 - -0800cad4 : - 800cad4: b508 push {r3, lr} - 800cad6: 4b08 ldr r3, [pc, #32] ; (800caf8 ) - 800cad8: 2100 movs r1, #0 - 800cada: f893 0056 ldrb.w r0, [r3, #86] ; 0x56 - 800cade: f001 fd59 bl 800e594 - 800cae2: 2300 movs r3, #0 - 800cae4: f44f 71c0 mov.w r1, #384 ; 0x180 - 800cae8: 461a mov r2, r3 - 800caea: 4608 mov r0, r1 - 800caec: f001 faca bl 800e084 - 800caf0: e8bd 4008 ldmia.w sp!, {r3, lr} - 800caf4: f001 ba24 b.w 800df40 - 800caf8: 20001ae8 .word 0x20001ae8 - -0800cafc : - 800cafc: b510 push {r4, lr} - 800cafe: 4604 mov r4, r0 - 800cb00: f001 fe1e bl 800e740 - 800cb04: 2801 cmp r0, #1 - 800cb06: d11c bne.n 800cb42 - 800cb08: f001 fe22 bl 800e750 - 800cb0c: b134 cbz r4, 800cb1c - 800cb0e: 4812 ldr r0, [pc, #72] ; (800cb58 ) - 800cb10: 4621 mov r1, r4 - 800cb12: f002 fa8b bl 800f02c - 800cb16: 4810 ldr r0, [pc, #64] ; (800cb58 ) - 800cb18: f002 fa4e bl 800efb8 - 800cb1c: 4c0f ldr r4, [pc, #60] ; (800cb5c ) - 800cb1e: 4b10 ldr r3, [pc, #64] ; (800cb60 ) - 800cb20: 2100 movs r1, #0 - 800cb22: f44f 5280 mov.w r2, #4096 ; 0x1000 - 800cb26: 65a1 str r1, [r4, #88] ; 0x58 - 800cb28: 619a str r2, [r3, #24] - 800cb2a: f894 0056 ldrb.w r0, [r4, #86] ; 0x56 - 800cb2e: f001 fd31 bl 800e594 - 800cb32: 7863 ldrb r3, [r4, #1] - 800cb34: b16b cbz r3, 800cb52 - 800cb36: f06f 407f mvn.w r0, #4278190080 ; 0xff000000 - 800cb3a: e8bd 4010 ldmia.w sp!, {r4, lr} - 800cb3e: f001 b97d b.w 800de3c - 800cb42: 2300 movs r3, #0 - 800cb44: f240 2162 movw r1, #610 ; 0x262 - 800cb48: 461a mov r2, r3 - 800cb4a: 4608 mov r0, r1 - 800cb4c: f001 fa9a bl 800e084 - 800cb50: e7dc b.n 800cb0c - 800cb52: 68a0 ldr r0, [r4, #8] - 800cb54: 0180 lsls r0, r0, #6 - 800cb56: e7f0 b.n 800cb3a - 800cb58: 20001ad0 .word 0x20001ad0 - 800cb5c: 20001ae8 .word 0x20001ae8 - 800cb60: 48000400 .word 0x48000400 - -0800cb64 : - 800cb64: b508 push {r3, lr} - 800cb66: f04f 0004 mov.w r0, #4 - 800cb6a: f001 f917 bl 800dd9c - 800cb6e: e8bd 4008 ldmia.w sp!, {r3, lr} - 800cb72: 2002 movs r0, #2 - 800cb74: f7f4 be9e b.w 80018b4 - -0800cb78 : - 800cb78: b508 push {r3, lr} - 800cb7a: 2300 movs r3, #0 - 800cb7c: 461a mov r2, r3 - 800cb7e: 4619 mov r1, r3 - 800cb80: 4618 mov r0, r3 - 800cb82: f001 fa7f bl 800e084 - 800cb86: e8bd 4008 ldmia.w sp!, {r3, lr} - 800cb8a: f001 b96d b.w 800de68 - ... - -0800cb90 : - 800cb90: 4b1d ldr r3, [pc, #116] ; (800cc08 ) - 800cb92: b573 push {r0, r1, r4, r5, r6, lr} - 800cb94: 4d1d ldr r5, [pc, #116] ; (800cc0c ) - 800cb96: 6018 str r0, [r3, #0] - 800cb98: 2400 movs r4, #0 - 800cb9a: 481d ldr r0, [pc, #116] ; (800cc10 ) - 800cb9c: 706c strb r4, [r5, #1] - 800cb9e: e9c5 4401 strd r4, r4, [r5, #4] - 800cba2: 65ac str r4, [r5, #88] ; 0x58 - 800cba4: f001 fa98 bl 800e0d8 - 800cba8: 81ac strh r4, [r5, #12] - 800cbaa: f001 fa03 bl 800dfb4 - 800cbae: 4621 mov r1, r4 - 800cbb0: 4620 mov r0, r4 - 800cbb2: f001 fc4b bl 800e44c - 800cbb6: 4621 mov r1, r4 - 800cbb8: 2204 movs r2, #4 - 800cbba: 2001 movs r0, #1 - 800cbbc: f001 fafc bl 800e1b8 - 800cbc0: 4e14 ldr r6, [pc, #80] ; (800cc14 ) - 800cbc2: 4d15 ldr r5, [pc, #84] ; (800cc18 ) - 800cbc4: f64f 71ff movw r1, #65535 ; 0xffff - 800cbc8: 4623 mov r3, r4 - 800cbca: 4622 mov r2, r4 - 800cbcc: 4608 mov r0, r1 - 800cbce: f001 fa59 bl 800e084 - 800cbd2: f7ff ffc7 bl 800cb64 - 800cbd6: 4622 mov r2, r4 - 800cbd8: 4b10 ldr r3, [pc, #64] ; (800cc1c ) - 800cbda: 9400 str r4, [sp, #0] - 800cbdc: f04f 31ff mov.w r1, #4294967295 - 800cbe0: 4630 mov r0, r6 - 800cbe2: f002 f93d bl 800ee60 - 800cbe6: 4b0e ldr r3, [pc, #56] ; (800cc20 ) - 800cbe8: 9400 str r4, [sp, #0] - 800cbea: 4622 mov r2, r4 - 800cbec: f04f 31ff mov.w r1, #4294967295 - 800cbf0: 4628 mov r0, r5 - 800cbf2: f002 f935 bl 800ee60 - 800cbf6: 4630 mov r0, r6 - 800cbf8: f002 f990 bl 800ef1c - 800cbfc: 4628 mov r0, r5 - 800cbfe: b002 add sp, #8 - 800cc00: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 800cc04: f002 b98a b.w 800ef1c - 800cc08: 20001acc .word 0x20001acc - 800cc0c: 20001ae8 .word 0x20001ae8 - 800cc10: 0800dbd9 .word 0x0800dbd9 - 800cc14: 20001b44 .word 0x20001b44 - 800cc18: 20001ad0 .word 0x20001ad0 - 800cc1c: 0800c939 .word 0x0800c939 - 800cc20: 0800c959 .word 0x0800c959 - -0800cc24 : - 800cc24: 2801 cmp r0, #1 - 800cc26: 4808 ldr r0, [pc, #32] ; (800cc48 ) - 800cc28: d105 bne.n 800cc36 - 800cc2a: 4b08 ldr r3, [pc, #32] ; (800cc4c ) - 800cc2c: 77c1 strb r1, [r0, #31] - 800cc2e: 7019 strb r1, [r3, #0] - 800cc30: 300e adds r0, #14 - 800cc32: f001 bba7 b.w 800e384 - 800cc36: 7d43 ldrb r3, [r0, #21] - 800cc38: 2b01 cmp r3, #1 - 800cc3a: d103 bne.n 800cc44 - 800cc3c: 4b03 ldr r3, [pc, #12] ; (800cc4c ) - 800cc3e: 7581 strb r1, [r0, #22] - 800cc40: 7019 strb r1, [r3, #0] - 800cc42: e7f5 b.n 800cc30 - 800cc44: 4770 bx lr - 800cc46: bf00 nop - 800cc48: 20001ae8 .word 0x20001ae8 - 800cc4c: 200000fc .word 0x200000fc - -0800cc50 : - 800cc50: 4b0d ldr r3, [pc, #52] ; (800cc88 ) - 800cc52: b510 push {r4, lr} - 800cc54: 4604 mov r4, r0 - 800cc56: 7318 strb r0, [r3, #12] - 800cc58: 7358 strb r0, [r3, #13] - 800cc5a: 2001 movs r0, #1 - 800cc5c: f000 f816 bl 800cc8c - 800cc60: b15c cbz r4, 800cc7a - 800cc62: 2134 movs r1, #52 ; 0x34 - 800cc64: f44f 60e8 mov.w r0, #1856 ; 0x740 - 800cc68: f000 ffc4 bl 800dbf4 - 800cc6c: 2144 movs r1, #68 ; 0x44 - 800cc6e: e8bd 4010 ldmia.w sp!, {r4, lr} - 800cc72: f240 7041 movw r0, #1857 ; 0x741 - 800cc76: f000 bfbd b.w 800dbf4 - 800cc7a: 2114 movs r1, #20 - 800cc7c: f44f 60e8 mov.w r0, #1856 ; 0x740 - 800cc80: f000 ffb8 bl 800dbf4 - 800cc84: 2124 movs r1, #36 ; 0x24 - 800cc86: e7f2 b.n 800cc6e - 800cc88: 20001ae8 .word 0x20001ae8 - -0800cc8c : - 800cc8c: b538 push {r3, r4, r5, lr} - 800cc8e: 4c11 ldr r4, [pc, #68] ; (800ccd4 ) - 800cc90: 4605 mov r5, r0 - 800cc92: 7020 strb r0, [r4, #0] - 800cc94: f001 fd61 bl 800e75a - 800cc98: 2d05 cmp r5, #5 - 800cc9a: d804 bhi.n 800cca6 - 800cc9c: e8df f005 tbb [pc, r5] - 800cca0: 17030b09 .word 0x17030b09 - 800cca4: 0917 .short 0x0917 - 800cca6: 2003 movs r0, #3 - 800cca8: f001 fa70 bl 800e18c - 800ccac: 2300 movs r3, #0 - 800ccae: 7363 strb r3, [r4, #13] - 800ccb0: bd38 pop {r3, r4, r5, pc} - 800ccb2: 2000 movs r0, #0 - 800ccb4: e7f8 b.n 800cca8 - 800ccb6: 2001 movs r0, #1 - 800ccb8: f001 fa68 bl 800e18c - 800ccbc: 7b20 ldrb r0, [r4, #12] - 800ccbe: 7b63 ldrb r3, [r4, #13] - 800ccc0: 4283 cmp r3, r0 - 800ccc2: d0f5 beq.n 800ccb0 - 800ccc4: 7360 strb r0, [r4, #13] - 800ccc6: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} - 800ccca: f7ff bfc1 b.w 800cc50 - 800ccce: 2002 movs r0, #2 - 800ccd0: e7ea b.n 800cca8 - 800ccd2: bf00 nop - 800ccd4: 20001ae8 .word 0x20001ae8 - -0800ccd8 : - 800ccd8: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} - 800ccdc: 461e mov r6, r3 - 800ccde: b087 sub sp, #28 - 800cce0: 2300 movs r3, #0 - 800cce2: 4605 mov r5, r0 - 800cce4: e9cd 3301 strd r3, r3, [sp, #4] - 800cce8: 460c mov r4, r1 - 800ccea: 4617 mov r7, r2 - 800ccec: f001 fd27 bl 800e73e - 800ccf0: 2d03 cmp r5, #3 - 800ccf2: d861 bhi.n 800cdb8 - 800ccf4: e8df f015 tbh [pc, r5, lsl #1] - 800ccf8: 00c3007b .word 0x00c3007b - 800ccfc: 0004010e .word 0x0004010e - 800cd00: 7ca2 ldrb r2, [r4, #18] - 800cd02: 2a08 cmp r2, #8 - 800cd04: d904 bls.n 800cd10 - 800cd06: f04f 30ff mov.w r0, #4294967295 - 800cd0a: b007 add sp, #28 - 800cd0c: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} - 800cd10: 68a1 ldr r1, [r4, #8] - 800cd12: a801 add r0, sp, #4 - 800cd14: f001 fedc bl 800ead0 - 800cd18: 6821 ldr r1, [r4, #0] - 800cd1a: 2900 cmp r1, #0 - 800cd1c: d0f3 beq.n 800cd06 - 800cd1e: f242 7210 movw r2, #10000 ; 0x2710 - 800cd22: 4291 cmp r1, r2 - 800cd24: 7ce3 ldrb r3, [r4, #19] - 800cd26: 4d86 ldr r5, [pc, #536] ; (800cf40 ) - 800cd28: d851 bhi.n 800cdce - 800cd2a: 2203 movs r2, #3 - 800cd2c: 73aa strb r2, [r5, #14] - 800cd2e: f885 2038 strb.w r2, [r5, #56] ; 0x38 - 800cd32: 63e9 str r1, [r5, #60] ; 0x3c - 800cd34: f885 3044 strb.w r3, [r5, #68] ; 0x44 - 800cd38: f04f 0802 mov.w r8, #2 - 800cd3c: 6863 ldr r3, [r4, #4] - 800cd3e: 7da1 ldrb r1, [r4, #22] - 800cd40: 00db lsls r3, r3, #3 - 800cd42: 822b strh r3, [r5, #16] - 800cd44: 2304 movs r3, #4 - 800cd46: 74ab strb r3, [r5, #18] - 800cd48: 7ca3 ldrb r3, [r4, #18] - 800cd4a: 00db lsls r3, r3, #3 - 800cd4c: 74eb strb r3, [r5, #19] - 800cd4e: 2902 cmp r1, #2 - 800cd50: f04f 0300 mov.w r3, #0 - 800cd54: 752b strb r3, [r5, #20] - 800cd56: 7d63 ldrb r3, [r4, #21] - 800cd58: d002 beq.n 800cd60 - 800cd5a: 7d22 ldrb r2, [r4, #20] - 800cd5c: 2a02 cmp r2, #2 - 800cd5e: d142 bne.n 800cde6 - 800cd60: f103 020f add.w r2, r3, #15 - 800cd64: b2d2 uxtb r2, r2 - 800cd66: 2a01 cmp r2, #1 - 800cd68: d901 bls.n 800cd6e - 800cd6a: 2b01 cmp r3, #1 - 800cd6c: d1cb bne.n 800cd06 - 800cd6e: 4b75 ldr r3, [pc, #468] ; (800cf44 ) - 800cd70: 4a75 ldr r2, [pc, #468] ; (800cf48 ) - 800cd72: 6819 ldr r1, [r3, #0] - 800cd74: 9403 str r4, [sp, #12] - 800cd76: f04f 0901 mov.w r9, #1 - 800cd7a: a803 add r0, sp, #12 - 800cd7c: f88d 9014 strb.w r9, [sp, #20] - 800cd80: f001 fcda bl 800e738 - 800cd84: 2800 cmp r0, #0 - 800cd86: d1be bne.n 800cd06 - 800cd88: 7628 strb r0, [r5, #24] - 800cd8a: f885 9017 strb.w r9, [r5, #23] - 800cd8e: 7568 strb r0, [r5, #21] - 800cd90: f7ff fe5c bl 800ca4c - 800cd94: 4640 mov r0, r8 - 800cd96: f7ff ff79 bl 800cc8c - 800cd9a: 486c ldr r0, [pc, #432] ; (800cf4c ) - 800cd9c: f001 fa86 bl 800e2ac - 800cda0: 486b ldr r0, [pc, #428] ; (800cf50 ) - 800cda2: f001 faef bl 800e384 - 800cda6: a801 add r0, sp, #4 - 800cda8: f000 ff84 bl 800dcb4 - 800cdac: 8a20 ldrh r0, [r4, #16] - 800cdae: f000 ff55 bl 800dc5c - 800cdb2: 89a0 ldrh r0, [r4, #12] - 800cdb4: f000 ff9a bl 800dcec - 800cdb8: 4638 mov r0, r7 - 800cdba: f001 fc01 bl 800e5c0 - 800cdbe: 4c60 ldr r4, [pc, #384] ; (800cf40 ) - 800cdc0: f884 0056 strb.w r0, [r4, #86] ; 0x56 - 800cdc4: f001 fcc0 bl 800e748 - 800cdc8: 6066 str r6, [r4, #4] - 800cdca: 2000 movs r0, #0 - 800cdcc: e79d b.n 800cd0a - 800cdce: f04f 0800 mov.w r8, #0 - 800cdd2: 63e9 str r1, [r5, #60] ; 0x3c - 800cdd4: 0889 lsrs r1, r1, #2 - 800cdd6: f885 800e strb.w r8, [r5, #14] - 800cdda: f885 8038 strb.w r8, [r5, #56] ; 0x38 - 800cdde: f885 3044 strb.w r3, [r5, #68] ; 0x44 - 800cde2: 6429 str r1, [r5, #64] ; 0x40 - 800cde4: e7aa b.n 800cd3c - 800cde6: 75eb strb r3, [r5, #23] - 800cde8: 7629 strb r1, [r5, #24] - 800cdea: 756a strb r2, [r5, #21] - 800cdec: e7d0 b.n 800cd90 - 800cdee: 6823 ldr r3, [r4, #0] - 800cdf0: 2b00 cmp r3, #0 - 800cdf2: d088 beq.n 800cd06 - 800cdf4: 7ca2 ldrb r2, [r4, #18] - 800cdf6: 2a08 cmp r2, #8 - 800cdf8: d885 bhi.n 800cd06 - 800cdfa: 4d51 ldr r5, [pc, #324] ; (800cf40 ) - 800cdfc: 68a1 ldr r1, [r4, #8] - 800cdfe: a801 add r0, sp, #4 - 800ce00: f001 fe66 bl 800ead0 - 800ce04: 2300 movs r3, #0 - 800ce06: f885 3038 strb.w r3, [r5, #56] ; 0x38 - 800ce0a: 6822 ldr r2, [r4, #0] - 800ce0c: 63ea str r2, [r5, #60] ; 0x3c - 800ce0e: 7ce2 ldrb r2, [r4, #19] - 800ce10: f885 2044 strb.w r2, [r5, #68] ; 0x44 - 800ce14: 69a2 ldr r2, [r4, #24] - 800ce16: 73ab strb r3, [r5, #14] - 800ce18: 642a str r2, [r5, #64] ; 0x40 - 800ce1a: 6862 ldr r2, [r4, #4] - 800ce1c: 7da1 ldrb r1, [r4, #22] - 800ce1e: 00d2 lsls r2, r2, #3 - 800ce20: 822a strh r2, [r5, #16] - 800ce22: 2204 movs r2, #4 - 800ce24: 74aa strb r2, [r5, #18] - 800ce26: 7ca2 ldrb r2, [r4, #18] - 800ce28: 752b strb r3, [r5, #20] - 800ce2a: 00d2 lsls r2, r2, #3 - 800ce2c: 2902 cmp r1, #2 - 800ce2e: 7d63 ldrb r3, [r4, #21] - 800ce30: 74ea strb r2, [r5, #19] - 800ce32: d002 beq.n 800ce3a - 800ce34: 7d22 ldrb r2, [r4, #20] - 800ce36: 2a02 cmp r2, #2 - 800ce38: d11d bne.n 800ce76 - 800ce3a: f103 020f add.w r2, r3, #15 - 800ce3e: b2d2 uxtb r2, r2 - 800ce40: 2a01 cmp r2, #1 - 800ce42: d902 bls.n 800ce4a - 800ce44: 2b01 cmp r3, #1 - 800ce46: f47f af5e bne.w 800cd06 - 800ce4a: 4b3e ldr r3, [pc, #248] ; (800cf44 ) - 800ce4c: 4a3e ldr r2, [pc, #248] ; (800cf48 ) - 800ce4e: 6819 ldr r1, [r3, #0] - 800ce50: 9403 str r4, [sp, #12] - 800ce52: f04f 0801 mov.w r8, #1 - 800ce56: a803 add r0, sp, #12 - 800ce58: f88d 8014 strb.w r8, [sp, #20] - 800ce5c: f001 fc6c bl 800e738 - 800ce60: 2800 cmp r0, #0 - 800ce62: f47f af50 bne.w 800cd06 - 800ce66: 7628 strb r0, [r5, #24] - 800ce68: f885 8017 strb.w r8, [r5, #23] - 800ce6c: 7568 strb r0, [r5, #21] - 800ce6e: f7ff fded bl 800ca4c - 800ce72: 2000 movs r0, #0 - 800ce74: e78f b.n 800cd96 - 800ce76: 75eb strb r3, [r5, #23] - 800ce78: 7629 strb r1, [r5, #24] - 800ce7a: 756a strb r2, [r5, #21] - 800ce7c: e7f7 b.n 800ce6e - 800ce7e: 4d30 ldr r5, [pc, #192] ; (800cf40 ) - 800ce80: 2101 movs r1, #1 - 800ce82: f885 1038 strb.w r1, [r5, #56] ; 0x38 - 800ce86: 7822 ldrb r2, [r4, #0] - 800ce88: f885 2050 strb.w r2, [r5, #80] ; 0x50 - 800ce8c: 7863 ldrb r3, [r4, #1] - 800ce8e: f885 3051 strb.w r3, [r5, #81] ; 0x51 - 800ce92: 78a3 ldrb r3, [r4, #2] - 800ce94: f885 3052 strb.w r3, [r5, #82] ; 0x52 - 800ce98: 78e3 ldrb r3, [r4, #3] - 800ce9a: 428b cmp r3, r1 - 800ce9c: d002 beq.n 800cea4 - 800ce9e: 2b02 cmp r3, #2 - 800cea0: d003 beq.n 800ceaa - 800cea2: b93b cbnz r3, 800ceb4 - 800cea4: f885 3053 strb.w r3, [r5, #83] ; 0x53 - 800cea8: e004 b.n 800ceb4 - 800ceaa: 3a0b subs r2, #11 - 800ceac: 2a01 cmp r2, #1 - 800ceae: d829 bhi.n 800cf04 - 800ceb0: f885 1053 strb.w r1, [r5, #83] ; 0x53 - 800ceb4: f04f 0801 mov.w r8, #1 - 800ceb8: f885 800e strb.w r8, [r5, #14] - 800cebc: 88a3 ldrh r3, [r4, #4] - 800cebe: 83ab strh r3, [r5, #28] - 800cec0: 79a3 ldrb r3, [r4, #6] - 800cec2: 77ab strb r3, [r5, #30] - 800cec4: 79e3 ldrb r3, [r4, #7] - 800cec6: f885 3020 strb.w r3, [r5, #32] - 800ceca: 7a23 ldrb r3, [r4, #8] - 800cecc: f885 3021 strb.w r3, [r5, #33] ; 0x21 - 800ced0: f7ff fdbc bl 800ca4c - 800ced4: 4640 mov r0, r8 - 800ced6: f7ff fed9 bl 800cc8c - 800ceda: 481c ldr r0, [pc, #112] ; (800cf4c ) - 800cedc: f001 f9e6 bl 800e2ac - 800cee0: 481b ldr r0, [pc, #108] ; (800cf50 ) - 800cee2: f001 fa4f bl 800e384 - 800cee6: f895 3051 ldrb.w r3, [r5, #81] ; 0x51 - 800ceea: 2b06 cmp r3, #6 - 800ceec: f640 0089 movw r0, #2185 ; 0x889 - 800cef0: d10a bne.n 800cf08 - 800cef2: f000 fe8f bl 800dc14 - 800cef6: f000 01fb and.w r1, r0, #251 ; 0xfb - 800cefa: f640 0089 movw r0, #2185 ; 0x889 - 800cefe: f000 fe79 bl 800dbf4 - 800cf02: e759 b.n 800cdb8 - 800cf04: 2300 movs r3, #0 - 800cf06: e7cd b.n 800cea4 - 800cf08: f000 fe84 bl 800dc14 - 800cf0c: f040 0104 orr.w r1, r0, #4 - 800cf10: b2c9 uxtb r1, r1 - 800cf12: e7f2 b.n 800cefa - 800cf14: 6823 ldr r3, [r4, #0] - 800cf16: 3b01 subs r3, #1 - 800cf18: f5b3 7f7a cmp.w r3, #1000 ; 0x3e8 - 800cf1c: f4bf aef3 bcs.w 800cd06 - 800cf20: 2003 movs r0, #3 - 800cf22: f7ff feb3 bl 800cc8c - 800cf26: 4806 ldr r0, [pc, #24] ; (800cf40 ) - 800cf28: 2302 movs r3, #2 - 800cf2a: f880 3038 strb.w r3, [r0, #56] ; 0x38 - 800cf2e: 6823 ldr r3, [r4, #0] - 800cf30: 6483 str r3, [r0, #72] ; 0x48 - 800cf32: 2316 movs r3, #22 - 800cf34: f880 304c strb.w r3, [r0, #76] ; 0x4c - 800cf38: 3038 adds r0, #56 ; 0x38 - 800cf3a: f001 f9b7 bl 800e2ac - 800cf3e: e73b b.n 800cdb8 - 800cf40: 20001ae8 .word 0x20001ae8 - 800cf44: 20001acc .word 0x20001acc - 800cf48: 20001b44 .word 0x20001b44 - 800cf4c: 20001b20 .word 0x20001b20 - 800cf50: 20001af6 .word 0x20001af6 - -0800cf54 : - 800cf54: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800cf58: 2600 movs r6, #0 - 800cf5a: b086 sub sp, #24 - 800cf5c: 461f mov r7, r3 - 800cf5e: 4614 mov r4, r2 - 800cf60: e9cd 6601 strd r6, r6, [sp, #4] - 800cf64: 4680 mov r8, r0 - 800cf66: 460d mov r5, r1 - 800cf68: f001 fbe9 bl 800e73e - 800cf6c: 42b4 cmp r4, r6 - 800cf6e: 4c76 ldr r4, [pc, #472] ; (800d148 ) - 800cf70: bf16 itet ne - 800cf72: 2301 movne r3, #1 - 800cf74: 4633 moveq r3, r6 - 800cf76: 4637 movne r7, r6 - 800cf78: 7063 strb r3, [r4, #1] - 800cf7a: f1b8 0f00 cmp.w r8, #0 - 800cf7e: d006 beq.n 800cf8e - 800cf80: f1b8 0f01 cmp.w r8, #1 - 800cf84: d07c beq.n 800d080 - 800cf86: 2000 movs r0, #0 - 800cf88: b006 add sp, #24 - 800cf8a: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800cf8e: 68ab ldr r3, [r5, #8] - 800cf90: 2b00 cmp r3, #0 - 800cf92: f000 80d6 beq.w 800d142 - 800cf96: 68eb ldr r3, [r5, #12] - 800cf98: 2b00 cmp r3, #0 - 800cf9a: f000 80d2 beq.w 800d142 - 800cf9e: 7faa ldrb r2, [r5, #30] - 800cfa0: 2a08 cmp r2, #8 - 800cfa2: f200 80ce bhi.w 800d142 - 800cfa6: 6929 ldr r1, [r5, #16] - 800cfa8: a801 add r0, sp, #4 - 800cfaa: f001 fd91 bl 800ead0 - 800cfae: 6828 ldr r0, [r5, #0] - 800cfb0: 3800 subs r0, #0 - 800cfb2: bf18 it ne - 800cfb4: 2001 movne r0, #1 - 800cfb6: f000 ffd9 bl 800df6c - 800cfba: f884 8038 strb.w r8, [r4, #56] ; 0x38 - 800cfbe: 68ab ldr r3, [r5, #8] - 800cfc0: 63e3 str r3, [r4, #60] ; 0x3c - 800cfc2: f895 3020 ldrb.w r3, [r5, #32] - 800cfc6: f884 3044 strb.w r3, [r4, #68] ; 0x44 - 800cfca: 6868 ldr r0, [r5, #4] - 800cfcc: f001 fb5a bl 800e684 - 800cfd0: f884 800e strb.w r8, [r4, #14] - 800cfd4: f884 0045 strb.w r0, [r4, #69] ; 0x45 - 800cfd8: 68eb ldr r3, [r5, #12] - 800cfda: 00db lsls r3, r3, #3 - 800cfdc: 8223 strh r3, [r4, #16] - 800cfde: 7feb ldrb r3, [r5, #31] - 800cfe0: 74a3 strb r3, [r4, #18] - 800cfe2: 7fab ldrb r3, [r5, #30] - 800cfe4: 00db lsls r3, r3, #3 - 800cfe6: 74e3 strb r3, [r4, #19] - 800cfe8: f895 3021 ldrb.w r3, [r5, #33] ; 0x21 - 800cfec: 7523 strb r3, [r4, #20] - 800cfee: f895 3022 ldrb.w r3, [r5, #34] ; 0x22 - 800cff2: 2b00 cmp r3, #0 - 800cff4: d13e bne.n 800d074 - 800cff6: 7d2a ldrb r2, [r5, #20] - 800cff8: f895 1024 ldrb.w r1, [r5, #36] ; 0x24 - 800cffc: 75a2 strb r2, [r4, #22] - 800cffe: 2902 cmp r1, #2 - 800d000: f895 2023 ldrb.w r2, [r5, #35] ; 0x23 - 800d004: d001 beq.n 800d00a - 800d006: 2b02 cmp r3, #2 - 800d008: d136 bne.n 800d078 - 800d00a: f102 030f add.w r3, r2, #15 - 800d00e: b2db uxtb r3, r3 - 800d010: 2b01 cmp r3, #1 - 800d012: d902 bls.n 800d01a - 800d014: 2a01 cmp r2, #1 - 800d016: f040 8094 bne.w 800d142 - 800d01a: 2300 movs r3, #0 - 800d01c: f88d 3014 strb.w r3, [sp, #20] - 800d020: 4b4a ldr r3, [pc, #296] ; (800d14c ) - 800d022: 4a4b ldr r2, [pc, #300] ; (800d150 ) - 800d024: 6819 ldr r1, [r3, #0] - 800d026: 9504 str r5, [sp, #16] - 800d028: a803 add r0, sp, #12 - 800d02a: f001 fb85 bl 800e738 - 800d02e: 2800 cmp r0, #0 - 800d030: f040 8087 bne.w 800d142 - 800d034: 2301 movs r3, #1 - 800d036: 7620 strb r0, [r4, #24] - 800d038: 75e3 strb r3, [r4, #23] - 800d03a: 7560 strb r0, [r4, #21] - 800d03c: f7ff fd06 bl 800ca4c - 800d040: 2000 movs r0, #0 - 800d042: f7ff fe23 bl 800cc8c - 800d046: 4843 ldr r0, [pc, #268] ; (800d154 ) - 800d048: f001 f930 bl 800e2ac - 800d04c: 4842 ldr r0, [pc, #264] ; (800d158 ) - 800d04e: f001 f999 bl 800e384 - 800d052: a801 add r0, sp, #4 - 800d054: f000 fe2e bl 800dcb4 - 800d058: 8ba8 ldrh r0, [r5, #28] - 800d05a: f000 fdff bl 800dc5c - 800d05e: 8b28 ldrh r0, [r5, #24] - 800d060: f000 fe44 bl 800dcec - 800d064: f44f 53fa mov.w r3, #8000 ; 0x1f40 - 800d068: 68aa ldr r2, [r5, #8] - 800d06a: 437b muls r3, r7 - 800d06c: fbb3 f3f2 udiv r3, r3, r2 - 800d070: 60a3 str r3, [r4, #8] - 800d072: e788 b.n 800cf86 - 800d074: 22ff movs r2, #255 ; 0xff - 800d076: e7bf b.n 800cff8 - 800d078: 75e2 strb r2, [r4, #23] - 800d07a: 7621 strb r1, [r4, #24] - 800d07c: 7563 strb r3, [r4, #21] - 800d07e: e7dd b.n 800d03c - 800d080: 8e2b ldrh r3, [r5, #48] ; 0x30 - 800d082: 2b00 cmp r3, #0 - 800d084: d05d beq.n 800d142 - 800d086: f895 3032 ldrb.w r3, [r5, #50] ; 0x32 - 800d08a: 6aa8 ldr r0, [r5, #40] ; 0x28 - 800d08c: 2b01 cmp r3, #1 - 800d08e: bf0c ite eq - 800d090: f895 8014 ldrbeq.w r8, [r5, #20] - 800d094: f04f 08ff movne.w r8, #255 ; 0xff - 800d098: 3800 subs r0, #0 - 800d09a: bf18 it ne - 800d09c: 2001 movne r0, #1 - 800d09e: f000 ff65 bl 800df6c - 800d0a2: b2f8 uxtb r0, r7 - 800d0a4: f000 ff6e bl 800df84 - 800d0a8: 2101 movs r1, #1 - 800d0aa: f884 1038 strb.w r1, [r4, #56] ; 0x38 - 800d0ae: f895 202c ldrb.w r2, [r5, #44] ; 0x2c - 800d0b2: f884 2050 strb.w r2, [r4, #80] ; 0x50 - 800d0b6: f895 302d ldrb.w r3, [r5, #45] ; 0x2d - 800d0ba: f884 3051 strb.w r3, [r4, #81] ; 0x51 - 800d0be: f895 302e ldrb.w r3, [r5, #46] ; 0x2e - 800d0c2: f884 3052 strb.w r3, [r4, #82] ; 0x52 - 800d0c6: f895 302f ldrb.w r3, [r5, #47] ; 0x2f - 800d0ca: 428b cmp r3, r1 - 800d0cc: d002 beq.n 800d0d4 - 800d0ce: 2b02 cmp r3, #2 - 800d0d0: d003 beq.n 800d0da - 800d0d2: b93b cbnz r3, 800d0e4 - 800d0d4: f884 3053 strb.w r3, [r4, #83] ; 0x53 - 800d0d8: e004 b.n 800d0e4 - 800d0da: 3a0b subs r2, #11 - 800d0dc: 2a01 cmp r2, #1 - 800d0de: d828 bhi.n 800d132 - 800d0e0: f884 1053 strb.w r1, [r4, #83] ; 0x53 - 800d0e4: 8e2b ldrh r3, [r5, #48] ; 0x30 - 800d0e6: 83a3 strh r3, [r4, #28] - 800d0e8: f895 3032 ldrb.w r3, [r5, #50] ; 0x32 - 800d0ec: 77a3 strb r3, [r4, #30] - 800d0ee: 8eab ldrh r3, [r5, #52] ; 0x34 - 800d0f0: 8423 strh r3, [r4, #32] - 800d0f2: 2601 movs r6, #1 - 800d0f4: 73a6 strb r6, [r4, #14] - 800d0f6: f884 801f strb.w r8, [r4, #31] - 800d0fa: f7ff fca7 bl 800ca4c - 800d0fe: 4630 mov r0, r6 - 800d100: f7ff fdc4 bl 800cc8c - 800d104: 4813 ldr r0, [pc, #76] ; (800d154 ) - 800d106: f001 f8d1 bl 800e2ac - 800d10a: 4813 ldr r0, [pc, #76] ; (800d158 ) - 800d10c: f001 f93a bl 800e384 - 800d110: f894 3021 ldrb.w r3, [r4, #33] ; 0x21 - 800d114: 42b3 cmp r3, r6 - 800d116: f240 7036 movw r0, #1846 ; 0x736 - 800d11a: d10c bne.n 800d136 - 800d11c: f000 fd7a bl 800dc14 - 800d120: f000 01fb and.w r1, r0, #251 ; 0xfb - 800d124: f240 7036 movw r0, #1846 ; 0x736 - 800d128: f000 fd64 bl 800dbf4 - 800d12c: f64f 73ff movw r3, #65535 ; 0xffff - 800d130: e79e b.n 800d070 - 800d132: 2300 movs r3, #0 - 800d134: e7ce b.n 800d0d4 - 800d136: f000 fd6d bl 800dc14 - 800d13a: f040 0104 orr.w r1, r0, #4 - 800d13e: b2c9 uxtb r1, r1 - 800d140: e7f0 b.n 800d124 - 800d142: f04f 30ff mov.w r0, #4294967295 - 800d146: e71f b.n 800cf88 - 800d148: 20001ae8 .word 0x20001ae8 - 800d14c: 20001acc .word 0x20001acc - 800d150: 20001ad0 .word 0x20001ad0 - 800d154: 20001b20 .word 0x20001b20 - 800d158: 20001af6 .word 0x20001af6 - -0800d15c : - 800d15c: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800d160: b085 sub sp, #20 - 800d162: 4682 mov sl, r0 - 800d164: 9d0e ldr r5, [sp, #56] ; 0x38 - 800d166: f8bd b040 ldrh.w fp, [sp, #64] ; 0x40 - 800d16a: f89d 7044 ldrb.w r7, [sp, #68] ; 0x44 - 800d16e: f89d 9048 ldrb.w r9, [sp, #72] ; 0x48 - 800d172: 9201 str r2, [sp, #4] - 800d174: 4688 mov r8, r1 - 800d176: 461e mov r6, r3 - 800d178: f001 fae1 bl 800e73e - 800d17c: f1ba 0f01 cmp.w sl, #1 - 800d180: 4c52 ldr r4, [pc, #328] ; (800d2cc ) - 800d182: d054 beq.n 800d22e - 800d184: f1ba 0f04 cmp.w sl, #4 - 800d188: f000 8091 beq.w 800d2ae - 800d18c: f1ba 0f00 cmp.w sl, #0 - 800d190: d13a bne.n 800d208 - 800d192: 220b movs r2, #11 - 800d194: 4630 mov r0, r6 - 800d196: f884 2044 strb.w r2, [r4, #68] ; 0x44 - 800d19a: f884 a038 strb.w sl, [r4, #56] ; 0x38 - 800d19e: 63e5 str r5, [r4, #60] ; 0x3c - 800d1a0: f001 fa70 bl 800e684 - 800d1a4: 9b01 ldr r3, [sp, #4] - 800d1a6: 6423 str r3, [r4, #64] ; 0x40 - 800d1a8: ea4f 03cb mov.w r3, fp, lsl #3 - 800d1ac: f1b9 0f00 cmp.w r9, #0 - 800d1b0: 8223 strh r3, [r4, #16] - 800d1b2: f641 0304 movw r3, #6148 ; 0x1804 - 800d1b6: 8263 strh r3, [r4, #18] - 800d1b8: bf14 ite ne - 800d1ba: 23f2 movne r3, #242 ; 0xf2 - 800d1bc: 2301 moveq r3, #1 - 800d1be: 75e3 strb r3, [r4, #23] - 800d1c0: f087 0701 eor.w r7, r7, #1 - 800d1c4: 2301 movs r3, #1 - 800d1c6: 7623 strb r3, [r4, #24] - 800d1c8: f884 0045 strb.w r0, [r4, #69] ; 0x45 - 800d1cc: f884 a00e strb.w sl, [r4, #14] - 800d1d0: f884 a014 strb.w sl, [r4, #20] - 800d1d4: 7567 strb r7, [r4, #21] - 800d1d6: f7ff fc39 bl 800ca4c - 800d1da: 4650 mov r0, sl - 800d1dc: f7ff fd56 bl 800cc8c - 800d1e0: f104 0038 add.w r0, r4, #56 ; 0x38 - 800d1e4: f001 f862 bl 800e2ac - 800d1e8: f104 000e add.w r0, r4, #14 - 800d1ec: f001 f8ca bl 800e384 - 800d1f0: 4a37 ldr r2, [pc, #220] ; (800d2d0 ) - 800d1f2: 6810 ldr r0, [r2, #0] - 800d1f4: 6851 ldr r1, [r2, #4] - 800d1f6: ab02 add r3, sp, #8 - 800d1f8: c303 stmia r3!, {r0, r1} - 800d1fa: a802 add r0, sp, #8 - 800d1fc: f000 fd5a bl 800dcb4 - 800d200: f240 10ff movw r0, #511 ; 0x1ff - 800d204: f000 fd2a bl 800dc5c - 800d208: 4640 mov r0, r8 - 800d20a: f001 f9d9 bl 800e5c0 - 800d20e: 210e movs r1, #14 - 800d210: f884 0056 strb.w r0, [r4, #86] ; 0x56 - 800d214: f640 101f movw r0, #2335 ; 0x91f - 800d218: f000 fcec bl 800dbf4 - 800d21c: f894 0056 ldrb.w r0, [r4, #86] ; 0x56 - 800d220: f001 fa92 bl 800e748 - 800d224: 9b16 ldr r3, [sp, #88] ; 0x58 - 800d226: 6063 str r3, [r4, #4] - 800d228: b005 add sp, #20 - 800d22a: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800d22e: 4929 ldr r1, [pc, #164] ; (800d2d4 ) - 800d230: f884 a038 strb.w sl, [r4, #56] ; 0x38 - 800d234: b2ea uxtb r2, r5 - 800d236: 5d89 ldrb r1, [r1, r6] - 800d238: f884 2050 strb.w r2, [r4, #80] ; 0x50 - 800d23c: bb76 cbnz r6, 800d29c - 800d23e: 3d0b subs r5, #11 - 800d240: 2d01 cmp r5, #1 - 800d242: bf8c ite hi - 800d244: 2500 movhi r5, #0 - 800d246: 2501 movls r5, #1 - 800d248: 3a05 subs r2, #5 - 800d24a: 2a01 cmp r2, #1 - 800d24c: d804 bhi.n 800d258 - 800d24e: f1bb 0f0c cmp.w fp, #12 - 800d252: bf38 it cc - 800d254: f04f 0b0c movcc.w fp, #12 - 800d258: 4b1f ldr r3, [pc, #124] ; (800d2d8 ) - 800d25a: f89d 203c ldrb.w r2, [sp, #60] ; 0x3c - 800d25e: 781b ldrb r3, [r3, #0] - 800d260: f884 5053 strb.w r5, [r4, #83] ; 0x53 - 800d264: 77e3 strb r3, [r4, #31] - 800d266: 2501 movs r5, #1 - 800d268: f89d 3054 ldrb.w r3, [sp, #84] ; 0x54 - 800d26c: f884 1051 strb.w r1, [r4, #81] ; 0x51 - 800d270: f884 2052 strb.w r2, [r4, #82] ; 0x52 - 800d274: f884 3021 strb.w r3, [r4, #33] ; 0x21 - 800d278: 73a5 strb r5, [r4, #14] - 800d27a: f8a4 b01c strh.w fp, [r4, #28] - 800d27e: 77a7 strb r7, [r4, #30] - 800d280: f884 9020 strb.w r9, [r4, #32] - 800d284: f7ff fbe2 bl 800ca4c - 800d288: 4628 mov r0, r5 - 800d28a: f7ff fcff bl 800cc8c - 800d28e: 4813 ldr r0, [pc, #76] ; (800d2dc ) - 800d290: f001 f80c bl 800e2ac - 800d294: 4812 ldr r0, [pc, #72] ; (800d2e0 ) - 800d296: f001 f875 bl 800e384 - 800d29a: e7b5 b.n 800d208 - 800d29c: 2e01 cmp r6, #1 - 800d29e: d104 bne.n 800d2aa - 800d2a0: f1a5 030c sub.w r3, r5, #12 - 800d2a4: 425d negs r5, r3 - 800d2a6: 415d adcs r5, r3 - 800d2a8: e7ce b.n 800d248 - 800d2aa: 2500 movs r5, #0 - 800d2ac: e7cc b.n 800d248 - 800d2ae: 4650 mov r0, sl - 800d2b0: f7ff fcec bl 800cc8c - 800d2b4: 2302 movs r3, #2 - 800d2b6: f884 3038 strb.w r3, [r4, #56] ; 0x38 - 800d2ba: f104 0038 add.w r0, r4, #56 ; 0x38 - 800d2be: 2316 movs r3, #22 - 800d2c0: 64a5 str r5, [r4, #72] ; 0x48 - 800d2c2: f884 304c strb.w r3, [r4, #76] ; 0x4c - 800d2c6: f000 fff1 bl 800e2ac - 800d2ca: e79d b.n 800d208 - 800d2cc: 20001ae8 .word 0x20001ae8 - 800d2d0: 0800f4e0 .word 0x0800f4e0 - 800d2d4: 08010196 .word 0x08010196 - 800d2d8: 200000fc .word 0x200000fc - 800d2dc: 20001b20 .word 0x20001b20 - 800d2e0: 20001af6 .word 0x20001af6 - -0800d2e4 : - 800d2e4: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800d2e8: b087 sub sp, #28 - 800d2ea: f8df b2b4 ldr.w fp, [pc, #692] ; 800d5a0 - 800d2ee: f89d a064 ldrb.w sl, [sp, #100] ; 0x64 - 800d2f2: f89d 904c ldrb.w r9, [sp, #76] ; 0x4c - 800d2f6: 9302 str r3, [sp, #8] - 800d2f8: 4614 mov r4, r2 - 800d2fa: f89d 3054 ldrb.w r3, [sp, #84] ; 0x54 - 800d2fe: f89d 2050 ldrb.w r2, [sp, #80] ; 0x50 - 800d302: f8bd 8048 ldrh.w r8, [sp, #72] ; 0x48 - 800d306: 9203 str r2, [sp, #12] - 800d308: 4605 mov r5, r0 - 800d30a: f88b a001 strb.w sl, [fp, #1] - 800d30e: f8bd 6044 ldrh.w r6, [sp, #68] ; 0x44 - 800d312: 9301 str r3, [sp, #4] - 800d314: 460f mov r7, r1 - 800d316: f001 fa12 bl 800e73e - 800d31a: f1ba 0f00 cmp.w sl, #0 - 800d31e: bf18 it ne - 800d320: f04f 0800 movne.w r8, #0 - 800d324: f8df a27c ldr.w sl, [pc, #636] ; 800d5a4 - 800d328: 9a03 ldr r2, [sp, #12] - 800d32a: f1b9 0f00 cmp.w r9, #0 - 800d32e: bf08 it eq - 800d330: 22ff moveq r2, #255 ; 0xff - 800d332: 2d01 cmp r5, #1 - 800d334: f88a 2000 strb.w r2, [sl] - 800d338: f000 80c8 beq.w 800d4cc - 800d33c: 2d05 cmp r5, #5 - 800d33e: d048 beq.n 800d3d2 - 800d340: 2d00 cmp r5, #0 - 800d342: f040 80c0 bne.w 800d4c6 - 800d346: 4628 mov r0, r5 - 800d348: f000 fe10 bl 800df6c - 800d34c: 220b movs r2, #11 - 800d34e: 4638 mov r0, r7 - 800d350: f88b 2044 strb.w r2, [fp, #68] ; 0x44 - 800d354: f88b 5038 strb.w r5, [fp, #56] ; 0x38 - 800d358: f8cb 403c str.w r4, [fp, #60] ; 0x3c - 800d35c: f001 f992 bl 800e684 - 800d360: 9b01 ldr r3, [sp, #4] - 800d362: f88b 0045 strb.w r0, [fp, #69] ; 0x45 - 800d366: f641 0204 movw r2, #6148 ; 0x1804 - 800d36a: 2b00 cmp r3, #0 - 800d36c: f8ab 2012 strh.w r2, [fp, #18] - 800d370: f89a 2000 ldrb.w r2, [sl] - 800d374: f88b 2016 strb.w r2, [fp, #22] - 800d378: bf14 ite ne - 800d37a: 22f2 movne r2, #242 ; 0xf2 - 800d37c: 2201 moveq r2, #1 - 800d37e: f88b 2017 strb.w r2, [fp, #23] - 800d382: 00f6 lsls r6, r6, #3 - 800d384: 2201 movs r2, #1 - 800d386: f089 0901 eor.w r9, r9, #1 - 800d38a: f88b 2018 strb.w r2, [fp, #24] - 800d38e: f88b 500e strb.w r5, [fp, #14] - 800d392: f8ab 6010 strh.w r6, [fp, #16] - 800d396: f88b 5014 strb.w r5, [fp, #20] - 800d39a: f88b 9015 strb.w r9, [fp, #21] - 800d39e: f7ff fb55 bl 800ca4c - 800d3a2: 4628 mov r0, r5 - 800d3a4: f7ff fc72 bl 800cc8c - 800d3a8: f10b 0038 add.w r0, fp, #56 ; 0x38 - 800d3ac: f000 ff7e bl 800e2ac - 800d3b0: f10b 000e add.w r0, fp, #14 - 800d3b4: f000 ffe6 bl 800e384 - 800d3b8: 497b ldr r1, [pc, #492] ; (800d5a8 ) - 800d3ba: 6808 ldr r0, [r1, #0] - 800d3bc: 6849 ldr r1, [r1, #4] - 800d3be: aa04 add r2, sp, #16 - 800d3c0: c203 stmia r2!, {r0, r1} - 800d3c2: a804 add r0, sp, #16 - 800d3c4: f000 fc76 bl 800dcb4 - 800d3c8: f240 10ff movw r0, #511 ; 0x1ff - 800d3cc: f000 fc46 bl 800dc5c - 800d3d0: e071 b.n 800d4b6 - 800d3d2: 2001 movs r0, #1 - 800d3d4: f000 fdca bl 800df6c - 800d3d8: 2209 movs r2, #9 - 800d3da: f04f 0900 mov.w r9, #0 - 800d3de: f88b 2044 strb.w r2, [fp, #68] ; 0x44 - 800d3e2: 4638 mov r0, r7 - 800d3e4: f44f 7248 mov.w r2, #800 ; 0x320 - 800d3e8: f8cb 2040 str.w r2, [fp, #64] ; 0x40 - 800d3ec: f88b 9038 strb.w r9, [fp, #56] ; 0x38 - 800d3f0: f8cb 403c str.w r4, [fp, #60] ; 0x3c - 800d3f4: f001 f946 bl 800e684 - 800d3f8: f44f 5280 mov.w r2, #4096 ; 0x1000 - 800d3fc: f8ab 2012 strh.w r2, [fp, #18] - 800d400: f89a 2000 ldrb.w r2, [sl] - 800d404: f88b 0045 strb.w r0, [fp, #69] ; 0x45 - 800d408: f88b 2016 strb.w r2, [fp, #22] - 800d40c: 4628 mov r0, r5 - 800d40e: 2201 movs r2, #1 - 800d410: 00f6 lsls r6, r6, #3 - 800d412: f88b 2017 strb.w r2, [fp, #23] - 800d416: f88b 900e strb.w r9, [fp, #14] - 800d41a: f8ab 6010 strh.w r6, [fp, #16] - 800d41e: f8ab 9014 strh.w r9, [fp, #20] - 800d422: f88b 9018 strb.w r9, [fp, #24] - 800d426: f7ff fc31 bl 800cc8c - 800d42a: f10b 0038 add.w r0, fp, #56 ; 0x38 - 800d42e: f000 ff3d bl 800e2ac - 800d432: f10b 000e add.w r0, fp, #14 - 800d436: f000 ffa5 bl 800e384 - 800d43a: 495b ldr r1, [pc, #364] ; (800d5a8 ) - 800d43c: 6888 ldr r0, [r1, #8] - 800d43e: 68c9 ldr r1, [r1, #12] - 800d440: aa04 add r2, sp, #16 - 800d442: c203 stmia r2!, {r0, r1} - 800d444: a804 add r0, sp, #16 - 800d446: f000 fc35 bl 800dcb4 - 800d44a: f240 10ff movw r0, #511 ; 0x1ff - 800d44e: f000 fc05 bl 800dc5c - 800d452: f640 00b8 movw r0, #2232 ; 0x8b8 - 800d456: f000 fbdd bl 800dc14 - 800d45a: f000 01ef and.w r1, r0, #239 ; 0xef - 800d45e: f640 00b8 movw r0, #2232 ; 0x8b8 - 800d462: f000 fbc7 bl 800dbf4 - 800d466: 2104 movs r1, #4 - 800d468: f640 00b9 movw r0, #2233 ; 0x8b9 - 800d46c: f000 fbc2 bl 800dbf4 - 800d470: f640 009b movw r0, #2203 ; 0x89b - 800d474: f000 fbce bl 800dc14 - 800d478: f000 01e3 and.w r1, r0, #227 ; 0xe3 - 800d47c: f041 0108 orr.w r1, r1, #8 - 800d480: f640 009b movw r0, #2203 ; 0x89b - 800d484: f000 fbb6 bl 800dbf4 - 800d488: f240 60d1 movw r0, #1745 ; 0x6d1 - 800d48c: f000 fbc2 bl 800dc14 - 800d490: f040 0118 orr.w r1, r0, #24 - 800d494: b2c9 uxtb r1, r1 - 800d496: f240 60d1 movw r0, #1745 ; 0x6d1 - 800d49a: f000 fbab bl 800dbf4 - 800d49e: f240 60ac movw r0, #1708 ; 0x6ac - 800d4a2: f000 fbb7 bl 800dc14 - 800d4a6: f000 018f and.w r1, r0, #143 ; 0x8f - 800d4aa: f041 0150 orr.w r1, r1, #80 ; 0x50 - 800d4ae: f240 60ac movw r0, #1708 ; 0x6ac - 800d4b2: f000 fb9f bl 800dbf4 - 800d4b6: f44f 52fa mov.w r2, #8000 ; 0x1f40 - 800d4ba: fb02 f208 mul.w r2, r2, r8 - 800d4be: fbb2 f2f4 udiv r2, r2, r4 - 800d4c2: f8cb 2008 str.w r2, [fp, #8] - 800d4c6: b007 add sp, #28 - 800d4c8: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800d4cc: 2000 movs r0, #0 - 800d4ce: f000 fd4d bl 800df6c - 800d4d2: 4936 ldr r1, [pc, #216] ; (800d5ac ) - 800d4d4: f88b 5038 strb.w r5, [fp, #56] ; 0x38 - 800d4d8: b2e2 uxtb r2, r4 - 800d4da: 5dc9 ldrb r1, [r1, r7] - 800d4dc: f88b 2050 strb.w r2, [fp, #80] ; 0x50 - 800d4e0: 2f00 cmp r7, #0 - 800d4e2: d14d bne.n 800d580 - 800d4e4: 3c0b subs r4, #11 - 800d4e6: 2c01 cmp r4, #1 - 800d4e8: bf8c ite hi - 800d4ea: 2400 movhi r4, #0 - 800d4ec: 2401 movls r4, #1 - 800d4ee: 3a05 subs r2, #5 - 800d4f0: 2a01 cmp r2, #1 - 800d4f2: d802 bhi.n 800d4fa - 800d4f4: 2e0c cmp r6, #12 - 800d4f6: bf38 it cc - 800d4f8: 260c movcc r6, #12 - 800d4fa: 9b02 ldr r3, [sp, #8] - 800d4fc: f89a 2000 ldrb.w r2, [sl] - 800d500: f88b 3052 strb.w r3, [fp, #82] ; 0x52 - 800d504: f88b 4053 strb.w r4, [fp, #83] ; 0x53 - 800d508: 9b01 ldr r3, [sp, #4] - 800d50a: f88b 201f strb.w r2, [fp, #31] - 800d50e: 2401 movs r4, #1 - 800d510: f89d 2060 ldrb.w r2, [sp, #96] ; 0x60 - 800d514: f88b 2021 strb.w r2, [fp, #33] ; 0x21 - 800d518: f88b 1051 strb.w r1, [fp, #81] ; 0x51 - 800d51c: f88b 3020 strb.w r3, [fp, #32] - 800d520: f88b 400e strb.w r4, [fp, #14] - 800d524: f8ab 601c strh.w r6, [fp, #28] - 800d528: f88b 901e strb.w r9, [fp, #30] - 800d52c: f7ff fa8e bl 800ca4c - 800d530: 4620 mov r0, r4 - 800d532: f7ff fbab bl 800cc8c - 800d536: 481e ldr r0, [pc, #120] ; (800d5b0 ) - 800d538: f000 feb8 bl 800e2ac - 800d53c: 481d ldr r0, [pc, #116] ; (800d5b4 ) - 800d53e: f000 ff21 bl 800e384 - 800d542: fa5f f088 uxtb.w r0, r8 - 800d546: f000 fd1d bl 800df84 - 800d54a: f640 00a3 movw r0, #2211 ; 0x8a3 - 800d54e: f000 fb61 bl 800dc14 - 800d552: ea00 0104 and.w r1, r0, r4 - 800d556: f640 00a3 movw r0, #2211 ; 0x8a3 - 800d55a: f000 fb4b bl 800dbf4 - 800d55e: f89b 2021 ldrb.w r2, [fp, #33] ; 0x21 - 800d562: 42a2 cmp r2, r4 - 800d564: f240 7036 movw r0, #1846 ; 0x736 - 800d568: d113 bne.n 800d592 - 800d56a: f000 fb53 bl 800dc14 - 800d56e: f000 01fb and.w r1, r0, #251 ; 0xfb - 800d572: f240 7036 movw r0, #1846 ; 0x736 - 800d576: f000 fb3d bl 800dbf4 - 800d57a: f64f 72ff movw r2, #65535 ; 0xffff - 800d57e: e7a0 b.n 800d4c2 - 800d580: 2f01 cmp r7, #1 - 800d582: d104 bne.n 800d58e - 800d584: f1a4 030c sub.w r3, r4, #12 - 800d588: 425c negs r4, r3 - 800d58a: 415c adcs r4, r3 - 800d58c: e7af b.n 800d4ee - 800d58e: 2400 movs r4, #0 - 800d590: e7ad b.n 800d4ee - 800d592: f000 fb3f bl 800dc14 - 800d596: f040 0104 orr.w r1, r0, #4 - 800d59a: b2c9 uxtb r1, r1 - 800d59c: e7e9 b.n 800d572 - 800d59e: bf00 nop - 800d5a0: 20001ae8 .word 0x20001ae8 - 800d5a4: 200000fc .word 0x200000fc - 800d5a8: 0800f4e0 .word 0x0800f4e0 - 800d5ac: 08010196 .word 0x08010196 - 800d5b0: 20001b20 .word 0x20001b20 - 800d5b4: 20001af6 .word 0x20001af6 - -0800d5b8 : - 800d5b8: b5f0 push {r4, r5, r6, r7, lr} - 800d5ba: b08b sub sp, #44 ; 0x2c - 800d5bc: 460d mov r5, r1 - 800d5be: 4604 mov r4, r0 - 800d5c0: 4617 mov r7, r2 - 800d5c2: 461e mov r6, r3 - 800d5c4: f7ff fa42 bl 800ca4c - 800d5c8: 2000 movs r0, #0 - 800d5ca: f7ff fb5f bl 800cc8c - 800d5ce: 4620 mov r0, r4 - 800d5d0: f000 fdbe bl 800e150 - 800d5d4: 2400 movs r4, #0 - 800d5d6: 2301 movs r3, #1 - 800d5d8: e9cd 4308 strd r4, r3, [sp, #32] - 800d5dc: 2303 movs r3, #3 - 800d5de: f44f 7216 mov.w r2, #600 ; 0x258 - 800d5e2: 4629 mov r1, r5 - 800d5e4: 4620 mov r0, r4 - 800d5e6: e9cd 4406 strd r4, r4, [sp, #24] - 800d5ea: e9cd 4404 strd r4, r4, [sp, #16] - 800d5ee: e9cd 4402 strd r4, r4, [sp, #8] - 800d5f2: e9cd 5300 strd r5, r3, [sp] - 800d5f6: 4623 mov r3, r4 - 800d5f8: f7ff fe74 bl 800d2e4 - 800d5fc: 4620 mov r0, r4 - 800d5fe: f7ff fa7d bl 800cafc - 800d602: f7ff fa35 bl 800ca70 - 800d606: f7f4 f955 bl 80018b4 - 800d60a: f001 fc43 bl 800ee94 - 800d60e: 4604 mov r4, r0 - 800d610: 4620 mov r0, r4 - 800d612: f001 fc49 bl 800eea8 - 800d616: 42b0 cmp r0, r6 - 800d618: d305 bcc.n 800d626 - 800d61a: 2401 movs r4, #1 - 800d61c: f7ff fa16 bl 800ca4c - 800d620: 4620 mov r0, r4 - 800d622: b00b add sp, #44 ; 0x2c - 800d624: bdf0 pop {r4, r5, r6, r7, pc} - 800d626: f000 ff2f bl 800e488 - 800d62a: b200 sxth r0, r0 - 800d62c: 4287 cmp r7, r0 - 800d62e: daef bge.n 800d610 - 800d630: 2400 movs r4, #0 - 800d632: e7f3 b.n 800d61c - -0800d634 : - 800d634: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} - 800d636: 2300 movs r3, #0 - 800d638: 460c mov r4, r1 - 800d63a: f240 2101 movw r1, #513 ; 0x201 - 800d63e: 461a mov r2, r3 - 800d640: 4606 mov r6, r0 - 800d642: 4608 mov r0, r1 - 800d644: f000 fd1e bl 800e084 - 800d648: 4b64 ldr r3, [pc, #400] ; (800d7dc ) - 800d64a: 4d65 ldr r5, [pc, #404] ; (800d7e0 ) - 800d64c: f44f 5200 mov.w r2, #8192 ; 0x2000 - 800d650: 619a str r2, [r3, #24] - 800d652: f895 0056 ldrb.w r0, [r5, #86] ; 0x56 - 800d656: 2101 movs r1, #1 - 800d658: f000 ff9c bl 800e594 - 800d65c: 782b ldrb r3, [r5, #0] - 800d65e: 2b01 cmp r3, #1 - 800d660: f640 0089 movw r0, #2185 ; 0x889 - 800d664: d113 bne.n 800d68e - 800d666: f895 3051 ldrb.w r3, [r5, #81] ; 0x51 - 800d66a: 2b06 cmp r3, #6 - 800d66c: d10f bne.n 800d68e - 800d66e: f000 fad1 bl 800dc14 - 800d672: f000 01fb and.w r1, r0, #251 ; 0xfb - 800d676: f640 0089 movw r0, #2185 ; 0x889 - 800d67a: f000 fabb bl 800dbf4 - 800d67e: 782b ldrb r3, [r5, #0] - 800d680: 2b04 cmp r3, #4 - 800d682: d86c bhi.n 800d75e - 800d684: e8df f003 tbb [pc, r3] - 800d688: 7f524b52 .word 0x7f524b52 - 800d68c: 09 .byte 0x09 - 800d68d: 00 .byte 0x00 - 800d68e: f000 fac1 bl 800dc14 - 800d692: f040 0104 orr.w r1, r0, #4 - 800d696: b2c9 uxtb r1, r1 - 800d698: e7ed b.n 800d676 - 800d69a: 4a52 ldr r2, [pc, #328] ; (800d7e4 ) - 800d69c: 1e73 subs r3, r6, #1 - 800d69e: 4610 mov r0, r2 - 800d6a0: f1c6 0701 rsb r7, r6, #1 - 800d6a4: f04f 0c00 mov.w ip, #0 - 800d6a8: 18f9 adds r1, r7, r3 - 800d6aa: 428c cmp r4, r1 - 800d6ac: dc6f bgt.n 800d78e - 800d6ae: 2200 movs r2, #0 - 800d6b0: 00e7 lsls r7, r4, #3 - 800d6b2: 4613 mov r3, r2 - 800d6b4: 42ba cmp r2, r7 - 800d6b6: d171 bne.n 800d79c - 800d6b8: 019a lsls r2, r3, #6 - 800d6ba: ea42 12c3 orr.w r2, r2, r3, lsl #7 - 800d6be: 015b lsls r3, r3, #5 - 800d6c0: f083 0320 eor.w r3, r3, #32 - 800d6c4: 4313 orrs r3, r2 - 800d6c6: 1c66 adds r6, r4, #1 - 800d6c8: 5503 strb r3, [r0, r4] - 800d6ca: b2f6 uxtb r6, r6 - 800d6cc: 2302 movs r3, #2 - 800d6ce: 4846 ldr r0, [pc, #280] ; (800d7e8 ) - 800d6d0: 73ab strb r3, [r5, #14] - 800d6d2: 76ae strb r6, [r5, #26] - 800d6d4: f000 fe56 bl 800e384 - 800d6d8: 2100 movs r1, #0 - 800d6da: 20f1 movs r0, #241 ; 0xf1 - 800d6dc: f000 fa8a bl 800dbf4 - 800d6e0: 2100 movs r1, #0 - 800d6e2: 20f0 movs r0, #240 ; 0xf0 - 800d6e4: f000 fa86 bl 800dbf4 - 800d6e8: 6cab ldr r3, [r5, #72] ; 0x48 - 800d6ea: 2b64 cmp r3, #100 ; 0x64 - 800d6ec: d170 bne.n 800d7d0 - 800d6ee: 2170 movs r1, #112 ; 0x70 - 800d6f0: 20f3 movs r0, #243 ; 0xf3 - 800d6f2: f000 fa7f bl 800dbf4 - 800d6f6: 211d movs r1, #29 - 800d6f8: 20f2 movs r0, #242 ; 0xf2 - 800d6fa: f000 fa7b bl 800dbf4 - 800d6fe: 00e1 lsls r1, r4, #3 - 800d700: 1c8c adds r4, r1, #2 - 800d702: 20f4 movs r0, #244 ; 0xf4 - 800d704: 0a09 lsrs r1, r1, #8 - 800d706: f000 fa75 bl 800dbf4 - 800d70a: f004 01fe and.w r1, r4, #254 ; 0xfe - 800d70e: 20f5 movs r0, #245 ; 0xf5 - 800d710: f000 fa70 bl 800dbf4 - 800d714: 4833 ldr r0, [pc, #204] ; (800d7e4 ) - 800d716: f06f 427f mvn.w r2, #4278190080 ; 0xff000000 - 800d71a: 4631 mov r1, r6 - 800d71c: e01d b.n 800d75a - 800d71e: 77ec strb r4, [r5, #31] - 800d720: 4831 ldr r0, [pc, #196] ; (800d7e8 ) - 800d722: f000 fe2f bl 800e384 - 800d726: 2200 movs r2, #0 - 800d728: 4621 mov r1, r4 - 800d72a: e015 b.n 800d758 - 800d72c: f001 f808 bl 800e740 - 800d730: 2801 cmp r0, #1 - 800d732: 4607 mov r7, r0 - 800d734: d125 bne.n 800d782 - 800d736: 4621 mov r1, r4 - 800d738: f10d 0207 add.w r2, sp, #7 - 800d73c: 4630 mov r0, r6 - 800d73e: f001 f804 bl 800e74a - 800d742: 4604 mov r4, r0 - 800d744: b9a0 cbnz r0, 800d770 - 800d746: f89d 3007 ldrb.w r3, [sp, #7] - 800d74a: 4827 ldr r0, [pc, #156] ; (800d7e8 ) - 800d74c: 75ab strb r3, [r5, #22] - 800d74e: f000 fe19 bl 800e384 - 800d752: f89d 1007 ldrb.w r1, [sp, #7] - 800d756: 4622 mov r2, r4 - 800d758: 4630 mov r0, r6 - 800d75a: f000 fb65 bl 800de28 - 800d75e: 6869 ldr r1, [r5, #4] - 800d760: 4822 ldr r0, [pc, #136] ; (800d7ec ) - 800d762: f001 fc63 bl 800f02c - 800d766: 4821 ldr r0, [pc, #132] ; (800d7ec ) - 800d768: f001 fc26 bl 800efb8 - 800d76c: 2000 movs r0, #0 - 800d76e: e006 b.n 800d77e - 800d770: 4b1f ldr r3, [pc, #124] ; (800d7f0 ) - 800d772: 463a mov r2, r7 - 800d774: 2100 movs r1, #0 - 800d776: 2002 movs r0, #2 - 800d778: f001 f8a2 bl 800e8c0 - 800d77c: 2003 movs r0, #3 - 800d77e: b003 add sp, #12 - 800d780: bdf0 pop {r4, r5, r6, r7, pc} - 800d782: 75ac strb r4, [r5, #22] - 800d784: e7cc b.n 800d720 - 800d786: 2302 movs r3, #2 - 800d788: 73ab strb r3, [r5, #14] - 800d78a: 76ac strb r4, [r5, #26] - 800d78c: e7c8 b.n 800d720 - 800d78e: f813 1f01 ldrb.w r1, [r3, #1]! - 800d792: 43c9 mvns r1, r1 - 800d794: 7019 strb r1, [r3, #0] - 800d796: f802 cb01 strb.w ip, [r2], #1 - 800d79a: e785 b.n 800d6a8 - 800d79c: 10d1 asrs r1, r2, #3 - 800d79e: ea6f 0c02 mvn.w ip, r2 - 800d7a2: 5c71 ldrb r1, [r6, r1] - 800d7a4: f00c 0c07 and.w ip, ip, #7 - 800d7a8: 3201 adds r2, #1 - 800d7aa: fa41 f10c asr.w r1, r1, ip - 800d7ae: f001 0101 and.w r1, r1, #1 - 800d7b2: ea4f 0ce2 mov.w ip, r2, asr #3 - 800d7b6: 404b eors r3, r1 - 800d7b8: 43d1 mvns r1, r2 - 800d7ba: f810 e00c ldrb.w lr, [r0, ip] - 800d7be: f001 0107 and.w r1, r1, #7 - 800d7c2: fa03 f101 lsl.w r1, r3, r1 - 800d7c6: ea41 010e orr.w r1, r1, lr - 800d7ca: f800 100c strb.w r1, [r0, ip] - 800d7ce: e771 b.n 800d6b4 - 800d7d0: 21e1 movs r1, #225 ; 0xe1 - 800d7d2: 20f3 movs r0, #243 ; 0xf3 - 800d7d4: f000 fa0e bl 800dbf4 - 800d7d8: 2104 movs r1, #4 - 800d7da: e78d b.n 800d6f8 - 800d7dc: 48000400 .word 0x48000400 - 800d7e0: 20001ae8 .word 0x20001ae8 - 800d7e4: 200019cc .word 0x200019cc - 800d7e8: 20001af6 .word 0x20001af6 +0800d548 : + 800d548: b573 push {r0, r1, r4, r5, r6, lr} + 800d54a: 4ca4 ldr r4, [pc, #656] ; (800d7dc ) + 800d54c: f8b4 3054 ldrh.w r3, [r4, #84] ; 0x54 + 800d550: 2500 movs r5, #0 + 800d552: 2b20 cmp r3, #32 + 800d554: f88d 5003 strb.w r5, [sp, #3] + 800d558: 9501 str r5, [sp, #4] + 800d55a: f000 811b beq.w 800d794 + 800d55e: d814 bhi.n 800d58a + 800d560: 2b08 cmp r3, #8 + 800d562: d80d bhi.n 800d580 + 800d564: b17b cbz r3, 800d586 + 800d566: 3b01 subs r3, #1 + 800d568: 2b07 cmp r3, #7 + 800d56a: d80c bhi.n 800d586 + 800d56c: e8df f013 tbh [pc, r3, lsl #1] + 800d570: 005b0042 .word 0x005b0042 + 800d574: 00cd000b .word 0x00cd000b + 800d578: 000b000b .word 0x000b000b + 800d57c: 00fd000b .word 0x00fd000b + 800d580: 2b10 cmp r3, #16 + 800d582: f000 8100 beq.w 800d786 + 800d586: b002 add sp, #8 + 800d588: bd70 pop {r4, r5, r6, pc} + 800d58a: f5b3 7f80 cmp.w r3, #256 ; 0x100 + 800d58e: f000 8098 beq.w 800d6c2 + 800d592: d811 bhi.n 800d5b8 + 800d594: 2b40 cmp r3, #64 ; 0x40 + 800d596: f000 8110 beq.w 800d7ba + 800d59a: 2b80 cmp r3, #128 ; 0x80 + 800d59c: d1f3 bne.n 800d586 + 800d59e: 4628 mov r0, r5 + 800d5a0: f000 fa32 bl 800da08 + 800d5a4: 4b8e ldr r3, [pc, #568] ; (800d7e0 ) + 800d5a6: 681b ldr r3, [r3, #0] + 800d5a8: 2b00 cmp r3, #0 + 800d5aa: d0ec beq.n 800d586 + 800d5ac: 699b ldr r3, [r3, #24] + 800d5ae: 2b00 cmp r3, #0 + 800d5b0: d0e9 beq.n 800d586 + 800d5b2: 4628 mov r0, r5 + 800d5b4: 4798 blx r3 + 800d5b6: e7e6 b.n 800d586 + 800d5b8: f5b3 7f00 cmp.w r3, #512 ; 0x200 + 800d5bc: d1e3 bne.n 800d586 + 800d5be: 4b89 ldr r3, [pc, #548] ; (800d7e4 ) + 800d5c0: 2201 movs r2, #1 + 800d5c2: 4629 mov r1, r5 + 800d5c4: 2002 movs r0, #2 + 800d5c6: f000 ff97 bl 800e4f8 + 800d5ca: f000 f929 bl 800d820 + 800d5ce: 2804 cmp r0, #4 + 800d5d0: f040 8085 bne.w 800d6de + 800d5d4: 4b84 ldr r3, [pc, #528] ; (800d7e8 ) + 800d5d6: 4885 ldr r0, [pc, #532] ; (800d7ec ) + 800d5d8: f44f 5200 mov.w r2, #8192 ; 0x2000 + 800d5dc: 629a str r2, [r3, #40] ; 0x28 + 800d5de: f001 fab9 bl 800eb54 + 800d5e2: 4628 mov r0, r5 + 800d5e4: f000 fa10 bl 800da08 + 800d5e8: 4b7d ldr r3, [pc, #500] ; (800d7e0 ) + 800d5ea: 681b ldr r3, [r3, #0] + 800d5ec: 2b00 cmp r3, #0 + 800d5ee: d0ca beq.n 800d586 + 800d5f0: 685b ldr r3, [r3, #4] + 800d5f2: e014 b.n 800d61e + 800d5f4: 4b7c ldr r3, [pc, #496] ; (800d7e8 ) + 800d5f6: 487d ldr r0, [pc, #500] ; (800d7ec ) + 800d5f8: f44f 5200 mov.w r2, #8192 ; 0x2000 + 800d5fc: 629a str r2, [r3, #40] ; 0x28 + 800d5fe: f001 faa9 bl 800eb54 + 800d602: 2000 movs r0, #0 + 800d604: f000 fa00 bl 800da08 + 800d608: f000 feb8 bl 800e37c + 800d60c: 2801 cmp r0, #1 + 800d60e: d101 bne.n 800d614 + 800d610: f000 febd bl 800e38e + 800d614: 4b72 ldr r3, [pc, #456] ; (800d7e0 ) + 800d616: 681b ldr r3, [r3, #0] + 800d618: 2b00 cmp r3, #0 + 800d61a: d0b4 beq.n 800d586 + 800d61c: 681b ldr r3, [r3, #0] + 800d61e: 2b00 cmp r3, #0 + 800d620: d0b1 beq.n 800d586 + 800d622: 4798 blx r3 + 800d624: e7af b.n 800d586 + 800d626: 4b70 ldr r3, [pc, #448] ; (800d7e8 ) + 800d628: 4871 ldr r0, [pc, #452] ; (800d7f0 ) + 800d62a: f44f 5280 mov.w r2, #4096 ; 0x1000 + 800d62e: 629a str r2, [r3, #40] ; 0x28 + 800d630: f001 fa90 bl 800eb54 + 800d634: 7865 ldrb r5, [r4, #1] + 800d636: b995 cbnz r5, 800d65e + 800d638: 4628 mov r0, r5 + 800d63a: f000 f9e5 bl 800da08 + 800d63e: 4629 mov r1, r5 + 800d640: f640 1002 movw r0, #2306 ; 0x902 + 800d644: f000 f8f2 bl 800d82c + 800d648: f640 1044 movw r0, #2372 ; 0x944 + 800d64c: f000 f8fe bl 800d84c + 800d650: f040 0102 orr.w r1, r0, #2 + 800d654: b2c9 uxtb r1, r1 + 800d656: f640 1044 movw r0, #2372 ; 0x944 + 800d65a: f000 f8e7 bl 800d82c + 800d65e: 22ff movs r2, #255 ; 0xff + 800d660: f10d 0103 add.w r1, sp, #3 + 800d664: 4863 ldr r0, [pc, #396] ; (800d7f4 ) + 800d666: 4d5e ldr r5, [pc, #376] ; (800d7e0 ) + 800d668: f000 fd5a bl 800e120 + 800d66c: 4862 ldr r0, [pc, #392] ; (800d7f8 ) + 800d66e: f000 fd71 bl 800e154 + 800d672: 682b ldr r3, [r5, #0] + 800d674: 2b00 cmp r3, #0 + 800d676: d086 beq.n 800d586 + 800d678: 689e ldr r6, [r3, #8] + 800d67a: 2e00 cmp r6, #0 + 800d67c: d083 beq.n 800d586 + 800d67e: f894 3024 ldrb.w r3, [r4, #36] ; 0x24 + 800d682: 2b01 cmp r3, #1 + 800d684: d108 bne.n 800d698 + 800d686: f994 3031 ldrsb.w r3, [r4, #49] ; 0x31 + 800d68a: f994 2030 ldrsb.w r2, [r4, #48] ; 0x30 + 800d68e: f89d 1003 ldrb.w r1, [sp, #3] + 800d692: 4858 ldr r0, [pc, #352] ; (800d7f4 ) + 800d694: 47b0 blx r6 + 800d696: e776 b.n 800d586 + 800d698: 6be0 ldr r0, [r4, #60] ; 0x3c + 800d69a: a901 add r1, sp, #4 + 800d69c: f000 fe22 bl 800e2e4 + 800d6a0: 9b01 ldr r3, [sp, #4] + 800d6a2: f89d 1003 ldrb.w r1, [sp, #3] + 800d6a6: 4853 ldr r0, [pc, #332] ; (800d7f4 ) + 800d6a8: f44f 727a mov.w r2, #1000 ; 0x3e8 + 800d6ac: f503 73fa add.w r3, r3, #500 ; 0x1f4 + 800d6b0: fb93 f3f2 sdiv r3, r3, r2 + 800d6b4: 682a ldr r2, [r5, #0] + 800d6b6: b25b sxtb r3, r3 + 800d6b8: 6895 ldr r5, [r2, #8] + 800d6ba: f994 2029 ldrsb.w r2, [r4, #41] ; 0x29 + 800d6be: 47a8 blx r5 + 800d6c0: e761 b.n 800d586 + 800d6c2: 4628 mov r0, r5 + 800d6c4: f000 f9a0 bl 800da08 + 800d6c8: 4b45 ldr r3, [pc, #276] ; (800d7e0 ) + 800d6ca: 681b ldr r3, [r3, #0] + 800d6cc: 2b00 cmp r3, #0 + 800d6ce: f43f af5a beq.w 800d586 + 800d6d2: 699b ldr r3, [r3, #24] + 800d6d4: 2b00 cmp r3, #0 + 800d6d6: f43f af56 beq.w 800d586 + 800d6da: 2001 movs r0, #1 + 800d6dc: e76a b.n 800d5b4 + 800d6de: f000 f89f bl 800d820 + 800d6e2: 2805 cmp r0, #5 + 800d6e4: f47f af4f bne.w 800d586 + 800d6e8: 4b3f ldr r3, [pc, #252] ; (800d7e8 ) + 800d6ea: 4841 ldr r0, [pc, #260] ; (800d7f0 ) + 800d6ec: f44f 5280 mov.w r2, #4096 ; 0x1000 + 800d6f0: 629a str r2, [r3, #40] ; 0x28 + 800d6f2: f001 fa2f bl 800eb54 + 800d6f6: 4628 mov r0, r5 + 800d6f8: f000 f986 bl 800da08 + 800d6fc: 4b38 ldr r3, [pc, #224] ; (800d7e0 ) + 800d6fe: 681b ldr r3, [r3, #0] + 800d700: 2b00 cmp r3, #0 + 800d702: f43f af40 beq.w 800d586 + 800d706: 68db ldr r3, [r3, #12] + 800d708: e789 b.n 800d61e + 800d70a: 2100 movs r1, #0 + 800d70c: 4b3b ldr r3, [pc, #236] ; (800d7fc ) + 800d70e: 2201 movs r2, #1 + 800d710: 2002 movs r0, #2 + 800d712: f000 fef1 bl 800e4f8 + 800d716: 6da1 ldr r1, [r4, #88] ; 0x58 + 800d718: 2900 cmp r1, #0 + 800d71a: f43f af34 beq.w 800d586 + 800d71e: f3c1 4107 ubfx r1, r1, #16, #8 + 800d722: f640 1003 movw r0, #2307 ; 0x903 + 800d726: f000 f881 bl 800d82c + 800d72a: f894 1059 ldrb.w r1, [r4, #89] ; 0x59 + 800d72e: f640 1004 movw r0, #2308 ; 0x904 + 800d732: f000 f87b bl 800d82c + 800d736: f894 1058 ldrb.w r1, [r4, #88] ; 0x58 + 800d73a: f640 1005 movw r0, #2309 ; 0x905 + 800d73e: f000 f875 bl 800d82c + 800d742: f640 1002 movw r0, #2306 ; 0x902 + 800d746: f000 f881 bl 800d84c + 800d74a: f040 0101 orr.w r1, r0, #1 + 800d74e: b2c9 uxtb r1, r1 + 800d750: f640 1002 movw r0, #2306 ; 0x902 + 800d754: f000 f86a bl 800d82c + 800d758: 2300 movs r3, #0 + 800d75a: f240 2162 movw r1, #610 ; 0x262 + 800d75e: 461a mov r2, r3 + 800d760: 4608 mov r0, r1 + 800d762: 65a3 str r3, [r4, #88] ; 0x58 + 800d764: f000 faaa bl 800dcbc + 800d768: e70d b.n 800d586 + 800d76a: 4b25 ldr r3, [pc, #148] ; (800d800 ) + 800d76c: 2201 movs r2, #1 + 800d76e: 2100 movs r1, #0 + 800d770: 2002 movs r0, #2 + 800d772: f000 fec1 bl 800e4f8 + 800d776: f000 fdff bl 800e378 + 800d77a: 2801 cmp r0, #1 + 800d77c: f47f af03 bne.w 800d586 + 800d780: f000 fe06 bl 800e390 + 800d784: e6ff b.n 800d586 + 800d786: 4b1f ldr r3, [pc, #124] ; (800d804 ) + 800d788: 2201 movs r2, #1 + 800d78a: 2100 movs r1, #0 + 800d78c: 2002 movs r0, #2 + 800d78e: f000 feb3 bl 800e4f8 + 800d792: e6f8 b.n 800d586 + 800d794: 4816 ldr r0, [pc, #88] ; (800d7f0 ) + 800d796: f001 f9dd bl 800eb54 + 800d79a: 7860 ldrb r0, [r4, #1] + 800d79c: b908 cbnz r0, 800d7a2 + 800d79e: f000 f933 bl 800da08 + 800d7a2: 4b0f ldr r3, [pc, #60] ; (800d7e0 ) + 800d7a4: 681b ldr r3, [r3, #0] + 800d7a6: 2b00 cmp r3, #0 + 800d7a8: f43f aeed beq.w 800d586 + 800d7ac: 68db ldr r3, [r3, #12] + 800d7ae: 2b00 cmp r3, #0 + 800d7b0: f43f aee9 beq.w 800d586 + 800d7b4: 4798 blx r3 + 800d7b6: 4b14 ldr r3, [pc, #80] ; (800d808 ) + 800d7b8: e7e6 b.n 800d788 + 800d7ba: 4b14 ldr r3, [pc, #80] ; (800d80c ) + 800d7bc: 2201 movs r2, #1 + 800d7be: 4629 mov r1, r5 + 800d7c0: 2002 movs r0, #2 + 800d7c2: f000 fe99 bl 800e4f8 + 800d7c6: 7860 ldrb r0, [r4, #1] + 800d7c8: b908 cbnz r0, 800d7ce + 800d7ca: f000 f91d bl 800da08 + 800d7ce: 4b04 ldr r3, [pc, #16] ; (800d7e0 ) + 800d7d0: 681b ldr r3, [r3, #0] + 800d7d2: 2b00 cmp r3, #0 + 800d7d4: f43f aed7 beq.w 800d586 + 800d7d8: 691b ldr r3, [r3, #16] + 800d7da: e720 b.n 800d61e + 800d7dc: 20001ae8 .word 0x20001ae8 + 800d7e0: 20001acc .word 0x20001acc + 800d7e4: 0800f98d .word 0x0800f98d + 800d7e8: 48000400 .word 0x48000400 800d7ec: 20001b44 .word 0x20001b44 - 800d7f0: 08010138 .word 0x08010138 + 800d7f0: 20001ad0 .word 0x20001ad0 + 800d7f4: 200019cc .word 0x200019cc + 800d7f8: 20001b0c .word 0x20001b0c + 800d7fc: 0800f9a1 .word 0x0800f9a1 + 800d800: 0800f9aa .word 0x0800f9aa + 800d804: 0800f9b4 .word 0x0800f9b4 + 800d808: 0800f9bd .word 0x0800f9bd + 800d80c: 0800f9c6 .word 0x0800f9c6 -0800d7f4 : - 800d7f4: b5f0 push {r4, r5, r6, r7, lr} - 800d7f6: f8bd 4014 ldrh.w r4, [sp, #20] - 800d7fa: f89d 7018 ldrb.w r7, [sp, #24] - 800d7fe: f89d e01c ldrb.w lr, [sp, #28] - 800d802: f89d 5020 ldrb.w r5, [sp, #32] - 800d806: b140 cbz r0, 800d81a - 800d808: 2801 cmp r0, #1 - 800d80a: d014 beq.n 800d836 - 800d80c: 2201 movs r2, #1 - 800d80e: 2300 movs r3, #0 - 800d810: 1898 adds r0, r3, r2 - 800d812: 3801 subs r0, #1 - 800d814: fbb0 f0f2 udiv r0, r0, r2 - 800d818: bdf0 pop {r4, r5, r6, r7, pc} - 800d81a: f087 0701 eor.w r7, r7, #1 - 800d81e: 00e3 lsls r3, r4, #3 - 800d820: eb03 03c7 add.w r3, r3, r7, lsl #3 - 800d824: 3318 adds r3, #24 - 800d826: eb0e 0545 add.w r5, lr, r5, lsl #1 - 800d82a: eb03 03c5 add.w r3, r3, r5, lsl #3 - 800d82e: f44f 717a mov.w r1, #1000 ; 0x3e8 - 800d832: 434b muls r3, r1 - 800d834: e7ec b.n 800d810 - 800d836: 1f50 subs r0, r2, #5 - 800d838: 2801 cmp r0, #1 - 800d83a: f103 0304 add.w r3, r3, #4 - 800d83e: d802 bhi.n 800d846 - 800d840: 2c0c cmp r4, #12 - 800d842: bf38 it cc - 800d844: 240c movcc r4, #12 - 800d846: b9d1 cbnz r1, 800d87e - 800d848: f1a2 0c0b sub.w ip, r2, #11 - 800d84c: f1bc 0f01 cmp.w ip, #1 - 800d850: bf8c ite hi - 800d852: f04f 0c00 movhi.w ip, #0 - 800d856: f04f 0c01 movls.w ip, #1 - 800d85a: 0128 lsls r0, r5, #4 - 800d85c: 2f00 cmp r7, #0 - 800d85e: eb00 00ce add.w r0, r0, lr, lsl #3 - 800d862: bf14 ite ne - 800d864: 2500 movne r5, #0 - 800d866: 2514 moveq r5, #20 - 800d868: eba0 0082 sub.w r0, r0, r2, lsl #2 - 800d86c: 2a06 cmp r2, #6 - 800d86e: ea4f 0682 mov.w r6, r2, lsl #2 - 800d872: 4428 add r0, r5 - 800d874: f1a2 0702 sub.w r7, r2, #2 - 800d878: d80d bhi.n 800d896 - 800d87a: 4635 mov r5, r6 - 800d87c: e010 b.n 800d8a0 - 800d87e: 2901 cmp r1, #1 - 800d880: d106 bne.n 800d890 - 800d882: f1a2 000c sub.w r0, r2, #12 - 800d886: f1d0 0c00 rsbs ip, r0, #0 - 800d88a: eb4c 0c00 adc.w ip, ip, r0 - 800d88e: e7e4 b.n 800d85a - 800d890: f04f 0c00 mov.w ip, #0 - 800d894: e7e1 b.n 800d85a - 800d896: 3008 adds r0, #8 - 800d898: f1bc 0f00 cmp.w ip, #0 - 800d89c: d0ed beq.n 800d87a - 800d89e: 00bd lsls r5, r7, #2 - 800d8a0: 2800 cmp r0, #0 - 800d8a2: bfac ite ge - 800d8a4: 182e addge r6, r5, r0 - 800d8a6: 1c2e addlt r6, r5, #0 - 800d8a8: 1e70 subs r0, r6, #1 - 800d8aa: fb90 f0f5 sdiv r0, r0, r5 - 800d8ae: fb03 4400 mla r4, r3, r0, r4 - 800d8b2: 4b09 ldr r3, [pc, #36] ; (800d8d8 ) - 800d8b4: 2a06 cmp r2, #6 - 800d8b6: 5c5a ldrb r2, [r3, r1] - 800d8b8: bf8c ite hi - 800d8ba: 340c addhi r4, #12 - 800d8bc: 340e addls r4, #14 - 800d8be: 2a0a cmp r2, #10 - 800d8c0: d809 bhi.n 800d8d6 - 800d8c2: 00a3 lsls r3, r4, #2 - 800d8c4: 3301 adds r3, #1 - 800d8c6: f44f 717a mov.w r1, #1000 ; 0x3e8 - 800d8ca: 40bb lsls r3, r7 - 800d8cc: 434b muls r3, r1 - 800d8ce: 4903 ldr r1, [pc, #12] ; (800d8dc ) - 800d8d0: f851 2022 ldr.w r2, [r1, r2, lsl #2] - 800d8d4: e79c b.n 800d810 - 800d8d6: deff udf #255 ; 0xff - 800d8d8: 08010196 .word 0x08010196 - 800d8dc: 0801019c .word 0x0801019c +0800d810 : + 800d810: 4b02 ldr r3, [pc, #8] ; (800d81c ) + 800d812: f8a3 0054 strh.w r0, [r3, #84] ; 0x54 + 800d816: f7ff be97 b.w 800d548 + 800d81a: bf00 nop + 800d81c: 20001ae8 .word 0x20001ae8 -0800d8e0 : - 800d8e0: b508 push {r3, lr} - 800d8e2: 4b09 ldr r3, [pc, #36] ; (800d908 ) - 800d8e4: 2101 movs r1, #1 - 800d8e6: f893 0056 ldrb.w r0, [r3, #86] ; 0x56 - 800d8ea: f000 fe53 bl 800e594 - 800d8ee: f44f 60d7 mov.w r0, #1720 ; 0x6b8 - 800d8f2: 212d movs r1, #45 ; 0x2d - 800d8f4: f000 f97e bl 800dbf4 - 800d8f8: f000 fb33 bl 800df62 - 800d8fc: e8bd 4008 ldmia.w sp!, {r3, lr} - 800d900: 4802 ldr r0, [pc, #8] ; (800d90c ) - 800d902: f000 ba7b b.w 800ddfc - 800d906: bf00 nop - 800d908: 20001ae8 .word 0x20001ae8 - 800d90c: 000fffff .word 0x000fffff +0800d820 : + 800d820: 4b01 ldr r3, [pc, #4] ; (800d828 ) + 800d822: 7818 ldrb r0, [r3, #0] + 800d824: 4770 bx lr + 800d826: bf00 nop + 800d828: 20001b62 .word 0x20001b62 -0800d910 : - 800d910: b573 push {r0, r1, r4, r5, r6, lr} - 800d912: 4ca4 ldr r4, [pc, #656] ; (800dba4 ) - 800d914: f8b4 3054 ldrh.w r3, [r4, #84] ; 0x54 - 800d918: 2500 movs r5, #0 - 800d91a: 2b20 cmp r3, #32 - 800d91c: f88d 5003 strb.w r5, [sp, #3] - 800d920: 9501 str r5, [sp, #4] - 800d922: f000 811b beq.w 800db5c - 800d926: d814 bhi.n 800d952 - 800d928: 2b08 cmp r3, #8 - 800d92a: d80d bhi.n 800d948 - 800d92c: b17b cbz r3, 800d94e - 800d92e: 3b01 subs r3, #1 - 800d930: 2b07 cmp r3, #7 - 800d932: d80c bhi.n 800d94e - 800d934: e8df f013 tbh [pc, r3, lsl #1] - 800d938: 005b0042 .word 0x005b0042 - 800d93c: 00cd000b .word 0x00cd000b - 800d940: 000b000b .word 0x000b000b - 800d944: 00fd000b .word 0x00fd000b - 800d948: 2b10 cmp r3, #16 - 800d94a: f000 8100 beq.w 800db4e - 800d94e: b002 add sp, #8 - 800d950: bd70 pop {r4, r5, r6, pc} - 800d952: f5b3 7f80 cmp.w r3, #256 ; 0x100 - 800d956: f000 8098 beq.w 800da8a - 800d95a: d811 bhi.n 800d980 - 800d95c: 2b40 cmp r3, #64 ; 0x40 - 800d95e: f000 8110 beq.w 800db82 - 800d962: 2b80 cmp r3, #128 ; 0x80 - 800d964: d1f3 bne.n 800d94e - 800d966: 4628 mov r0, r5 - 800d968: f000 fa32 bl 800ddd0 - 800d96c: 4b8e ldr r3, [pc, #568] ; (800dba8 ) - 800d96e: 681b ldr r3, [r3, #0] - 800d970: 2b00 cmp r3, #0 - 800d972: d0ec beq.n 800d94e - 800d974: 699b ldr r3, [r3, #24] - 800d976: 2b00 cmp r3, #0 - 800d978: d0e9 beq.n 800d94e - 800d97a: 4628 mov r0, r5 - 800d97c: 4798 blx r3 - 800d97e: e7e6 b.n 800d94e - 800d980: f5b3 7f00 cmp.w r3, #512 ; 0x200 - 800d984: d1e3 bne.n 800d94e - 800d986: 4b89 ldr r3, [pc, #548] ; (800dbac ) - 800d988: 2201 movs r2, #1 - 800d98a: 4629 mov r1, r5 - 800d98c: 2002 movs r0, #2 - 800d98e: f000 ff97 bl 800e8c0 - 800d992: f000 f929 bl 800dbe8 - 800d996: 2804 cmp r0, #4 - 800d998: f040 8085 bne.w 800daa6 - 800d99c: 4b84 ldr r3, [pc, #528] ; (800dbb0 ) - 800d99e: 4885 ldr r0, [pc, #532] ; (800dbb4 ) - 800d9a0: f44f 5200 mov.w r2, #8192 ; 0x2000 - 800d9a4: 629a str r2, [r3, #40] ; 0x28 - 800d9a6: f001 fab9 bl 800ef1c - 800d9aa: 4628 mov r0, r5 - 800d9ac: f000 fa10 bl 800ddd0 - 800d9b0: 4b7d ldr r3, [pc, #500] ; (800dba8 ) - 800d9b2: 681b ldr r3, [r3, #0] - 800d9b4: 2b00 cmp r3, #0 - 800d9b6: d0ca beq.n 800d94e - 800d9b8: 685b ldr r3, [r3, #4] - 800d9ba: e014 b.n 800d9e6 - 800d9bc: 4b7c ldr r3, [pc, #496] ; (800dbb0 ) - 800d9be: 487d ldr r0, [pc, #500] ; (800dbb4 ) - 800d9c0: f44f 5200 mov.w r2, #8192 ; 0x2000 - 800d9c4: 629a str r2, [r3, #40] ; 0x28 - 800d9c6: f001 faa9 bl 800ef1c - 800d9ca: 2000 movs r0, #0 - 800d9cc: f000 fa00 bl 800ddd0 - 800d9d0: f000 feb8 bl 800e744 - 800d9d4: 2801 cmp r0, #1 - 800d9d6: d101 bne.n 800d9dc - 800d9d8: f000 febd bl 800e756 - 800d9dc: 4b72 ldr r3, [pc, #456] ; (800dba8 ) - 800d9de: 681b ldr r3, [r3, #0] - 800d9e0: 2b00 cmp r3, #0 - 800d9e2: d0b4 beq.n 800d94e - 800d9e4: 681b ldr r3, [r3, #0] - 800d9e6: 2b00 cmp r3, #0 - 800d9e8: d0b1 beq.n 800d94e - 800d9ea: 4798 blx r3 - 800d9ec: e7af b.n 800d94e - 800d9ee: 4b70 ldr r3, [pc, #448] ; (800dbb0 ) - 800d9f0: 4871 ldr r0, [pc, #452] ; (800dbb8 ) - 800d9f2: f44f 5280 mov.w r2, #4096 ; 0x1000 - 800d9f6: 629a str r2, [r3, #40] ; 0x28 - 800d9f8: f001 fa90 bl 800ef1c - 800d9fc: 7865 ldrb r5, [r4, #1] - 800d9fe: b995 cbnz r5, 800da26 - 800da00: 4628 mov r0, r5 - 800da02: f000 f9e5 bl 800ddd0 - 800da06: 4629 mov r1, r5 - 800da08: f640 1002 movw r0, #2306 ; 0x902 - 800da0c: f000 f8f2 bl 800dbf4 - 800da10: f640 1044 movw r0, #2372 ; 0x944 - 800da14: f000 f8fe bl 800dc14 - 800da18: f040 0102 orr.w r1, r0, #2 - 800da1c: b2c9 uxtb r1, r1 - 800da1e: f640 1044 movw r0, #2372 ; 0x944 - 800da22: f000 f8e7 bl 800dbf4 - 800da26: 22ff movs r2, #255 ; 0xff - 800da28: f10d 0103 add.w r1, sp, #3 - 800da2c: 4863 ldr r0, [pc, #396] ; (800dbbc ) - 800da2e: 4d5e ldr r5, [pc, #376] ; (800dba8 ) - 800da30: f000 fd5a bl 800e4e8 - 800da34: 4862 ldr r0, [pc, #392] ; (800dbc0 ) - 800da36: f000 fd71 bl 800e51c - 800da3a: 682b ldr r3, [r5, #0] - 800da3c: 2b00 cmp r3, #0 - 800da3e: d086 beq.n 800d94e - 800da40: 689e ldr r6, [r3, #8] - 800da42: 2e00 cmp r6, #0 - 800da44: d083 beq.n 800d94e - 800da46: f894 3024 ldrb.w r3, [r4, #36] ; 0x24 - 800da4a: 2b01 cmp r3, #1 - 800da4c: d108 bne.n 800da60 - 800da4e: f994 3031 ldrsb.w r3, [r4, #49] ; 0x31 - 800da52: f994 2030 ldrsb.w r2, [r4, #48] ; 0x30 - 800da56: f89d 1003 ldrb.w r1, [sp, #3] - 800da5a: 4858 ldr r0, [pc, #352] ; (800dbbc ) - 800da5c: 47b0 blx r6 - 800da5e: e776 b.n 800d94e - 800da60: 6be0 ldr r0, [r4, #60] ; 0x3c - 800da62: a901 add r1, sp, #4 - 800da64: f000 fe22 bl 800e6ac - 800da68: 9b01 ldr r3, [sp, #4] - 800da6a: f89d 1003 ldrb.w r1, [sp, #3] - 800da6e: 4853 ldr r0, [pc, #332] ; (800dbbc ) - 800da70: f44f 727a mov.w r2, #1000 ; 0x3e8 - 800da74: f503 73fa add.w r3, r3, #500 ; 0x1f4 - 800da78: fb93 f3f2 sdiv r3, r3, r2 - 800da7c: 682a ldr r2, [r5, #0] - 800da7e: b25b sxtb r3, r3 - 800da80: 6895 ldr r5, [r2, #8] - 800da82: f994 2029 ldrsb.w r2, [r4, #41] ; 0x29 - 800da86: 47a8 blx r5 - 800da88: e761 b.n 800d94e - 800da8a: 4628 mov r0, r5 - 800da8c: f000 f9a0 bl 800ddd0 - 800da90: 4b45 ldr r3, [pc, #276] ; (800dba8 ) - 800da92: 681b ldr r3, [r3, #0] - 800da94: 2b00 cmp r3, #0 - 800da96: f43f af5a beq.w 800d94e - 800da9a: 699b ldr r3, [r3, #24] - 800da9c: 2b00 cmp r3, #0 - 800da9e: f43f af56 beq.w 800d94e - 800daa2: 2001 movs r0, #1 - 800daa4: e76a b.n 800d97c - 800daa6: f000 f89f bl 800dbe8 - 800daaa: 2805 cmp r0, #5 - 800daac: f47f af4f bne.w 800d94e - 800dab0: 4b3f ldr r3, [pc, #252] ; (800dbb0 ) - 800dab2: 4841 ldr r0, [pc, #260] ; (800dbb8 ) - 800dab4: f44f 5280 mov.w r2, #4096 ; 0x1000 - 800dab8: 629a str r2, [r3, #40] ; 0x28 - 800daba: f001 fa2f bl 800ef1c - 800dabe: 4628 mov r0, r5 - 800dac0: f000 f986 bl 800ddd0 - 800dac4: 4b38 ldr r3, [pc, #224] ; (800dba8 ) - 800dac6: 681b ldr r3, [r3, #0] - 800dac8: 2b00 cmp r3, #0 - 800daca: f43f af40 beq.w 800d94e - 800dace: 68db ldr r3, [r3, #12] - 800dad0: e789 b.n 800d9e6 - 800dad2: 2100 movs r1, #0 - 800dad4: 4b3b ldr r3, [pc, #236] ; (800dbc4 ) - 800dad6: 2201 movs r2, #1 - 800dad8: 2002 movs r0, #2 - 800dada: f000 fef1 bl 800e8c0 - 800dade: 6da1 ldr r1, [r4, #88] ; 0x58 - 800dae0: 2900 cmp r1, #0 - 800dae2: f43f af34 beq.w 800d94e - 800dae6: f3c1 4107 ubfx r1, r1, #16, #8 - 800daea: f640 1003 movw r0, #2307 ; 0x903 - 800daee: f000 f881 bl 800dbf4 - 800daf2: f894 1059 ldrb.w r1, [r4, #89] ; 0x59 - 800daf6: f640 1004 movw r0, #2308 ; 0x904 - 800dafa: f000 f87b bl 800dbf4 - 800dafe: f894 1058 ldrb.w r1, [r4, #88] ; 0x58 - 800db02: f640 1005 movw r0, #2309 ; 0x905 - 800db06: f000 f875 bl 800dbf4 - 800db0a: f640 1002 movw r0, #2306 ; 0x902 - 800db0e: f000 f881 bl 800dc14 - 800db12: f040 0101 orr.w r1, r0, #1 - 800db16: b2c9 uxtb r1, r1 - 800db18: f640 1002 movw r0, #2306 ; 0x902 - 800db1c: f000 f86a bl 800dbf4 - 800db20: 2300 movs r3, #0 - 800db22: f240 2162 movw r1, #610 ; 0x262 - 800db26: 461a mov r2, r3 - 800db28: 4608 mov r0, r1 - 800db2a: 65a3 str r3, [r4, #88] ; 0x58 - 800db2c: f000 faaa bl 800e084 - 800db30: e70d b.n 800d94e - 800db32: 4b25 ldr r3, [pc, #148] ; (800dbc8 ) - 800db34: 2201 movs r2, #1 - 800db36: 2100 movs r1, #0 - 800db38: 2002 movs r0, #2 - 800db3a: f000 fec1 bl 800e8c0 - 800db3e: f000 fdff bl 800e740 - 800db42: 2801 cmp r0, #1 - 800db44: f47f af03 bne.w 800d94e - 800db48: f000 fe06 bl 800e758 - 800db4c: e6ff b.n 800d94e - 800db4e: 4b1f ldr r3, [pc, #124] ; (800dbcc ) - 800db50: 2201 movs r2, #1 - 800db52: 2100 movs r1, #0 - 800db54: 2002 movs r0, #2 - 800db56: f000 feb3 bl 800e8c0 - 800db5a: e6f8 b.n 800d94e - 800db5c: 4816 ldr r0, [pc, #88] ; (800dbb8 ) - 800db5e: f001 f9dd bl 800ef1c - 800db62: 7860 ldrb r0, [r4, #1] - 800db64: b908 cbnz r0, 800db6a - 800db66: f000 f933 bl 800ddd0 - 800db6a: 4b0f ldr r3, [pc, #60] ; (800dba8 ) - 800db6c: 681b ldr r3, [r3, #0] - 800db6e: 2b00 cmp r3, #0 - 800db70: f43f aeed beq.w 800d94e - 800db74: 68db ldr r3, [r3, #12] - 800db76: 2b00 cmp r3, #0 - 800db78: f43f aee9 beq.w 800d94e - 800db7c: 4798 blx r3 - 800db7e: 4b14 ldr r3, [pc, #80] ; (800dbd0 ) - 800db80: e7e6 b.n 800db50 - 800db82: 4b14 ldr r3, [pc, #80] ; (800dbd4 ) - 800db84: 2201 movs r2, #1 - 800db86: 4629 mov r1, r5 - 800db88: 2002 movs r0, #2 - 800db8a: f000 fe99 bl 800e8c0 - 800db8e: 7860 ldrb r0, [r4, #1] - 800db90: b908 cbnz r0, 800db96 - 800db92: f000 f91d bl 800ddd0 - 800db96: 4b04 ldr r3, [pc, #16] ; (800dba8 ) - 800db98: 681b ldr r3, [r3, #0] - 800db9a: 2b00 cmp r3, #0 - 800db9c: f43f aed7 beq.w 800d94e - 800dba0: 691b ldr r3, [r3, #16] - 800dba2: e720 b.n 800d9e6 - 800dba4: 20001ae8 .word 0x20001ae8 - 800dba8: 20001acc .word 0x20001acc - 800dbac: 0801014d .word 0x0801014d - 800dbb0: 48000400 .word 0x48000400 - 800dbb4: 20001b44 .word 0x20001b44 - 800dbb8: 20001ad0 .word 0x20001ad0 - 800dbbc: 200019cc .word 0x200019cc - 800dbc0: 20001b0c .word 0x20001b0c - 800dbc4: 08010161 .word 0x08010161 - 800dbc8: 0801016a .word 0x0801016a - 800dbcc: 08010174 .word 0x08010174 - 800dbd0: 0801017d .word 0x0801017d - 800dbd4: 08010186 .word 0x08010186 +0800d82c : + 800d82c: b507 push {r0, r1, r2, lr} + 800d82e: 2301 movs r3, #1 + 800d830: f88d 1007 strb.w r1, [sp, #7] + 800d834: f10d 0207 add.w r2, sp, #7 + 800d838: 4601 mov r1, r0 + 800d83a: 4803 ldr r0, [pc, #12] ; (800d848 ) + 800d83c: f7f7 f894 bl 8004968 + 800d840: b003 add sp, #12 + 800d842: f85d fb04 ldr.w pc, [sp], #4 + 800d846: bf00 nop + 800d848: 200001c4 .word 0x200001c4 -0800dbd8 : - 800dbd8: 4b02 ldr r3, [pc, #8] ; (800dbe4 ) - 800dbda: f8a3 0054 strh.w r0, [r3, #84] ; 0x54 - 800dbde: f7ff be97 b.w 800d910 - 800dbe2: bf00 nop - 800dbe4: 20001ae8 .word 0x20001ae8 +0800d84c : + 800d84c: b507 push {r0, r1, r2, lr} + 800d84e: 2301 movs r3, #1 + 800d850: 4601 mov r1, r0 + 800d852: f10d 0207 add.w r2, sp, #7 + 800d856: 4804 ldr r0, [pc, #16] ; (800d868 ) + 800d858: f7f7 f8bf bl 80049da + 800d85c: f89d 0007 ldrb.w r0, [sp, #7] + 800d860: b003 add sp, #12 + 800d862: f85d fb04 ldr.w pc, [sp], #4 + 800d866: bf00 nop + 800d868: 200001c4 .word 0x200001c4 -0800dbe8 : - 800dbe8: 4b01 ldr r3, [pc, #4] ; (800dbf0 ) - 800dbea: 7818 ldrb r0, [r3, #0] - 800dbec: 4770 bx lr - 800dbee: bf00 nop - 800dbf0: 20001b62 .word 0x20001b62 +0800d86c : + 800d86c: b510 push {r4, lr} + 800d86e: 4604 mov r4, r0 + 800d870: f7f4 fdc0 bl 80023f4 + 800d874: 2801 cmp r0, #1 + 800d876: d10c bne.n 800d892 + 800d878: f640 1023 movw r0, #2339 ; 0x923 + 800d87c: f7ff ffe6 bl 800d84c + 800d880: f000 01f9 and.w r1, r0, #249 ; 0xf9 + 800d884: 4321 orrs r1, r4 + 800d886: f640 1023 movw r0, #2339 ; 0x923 + 800d88a: e8bd 4010 ldmia.w sp!, {r4, lr} + 800d88e: f7ff bfcd b.w 800d82c + 800d892: bd10 pop {r4, pc} -0800dbf4 : - 800dbf4: b507 push {r0, r1, r2, lr} - 800dbf6: 2301 movs r3, #1 - 800dbf8: f88d 1007 strb.w r1, [sp, #7] - 800dbfc: f10d 0207 add.w r2, sp, #7 - 800dc00: 4601 mov r1, r0 - 800dc02: 4803 ldr r0, [pc, #12] ; (800dc10 ) - 800dc04: f7f7 f874 bl 8004cf0 +0800d894 : + 800d894: b510 push {r4, lr} + 800d896: 4b0c ldr r3, [pc, #48] ; (800d8c8 ) + 800d898: 781b ldrb r3, [r3, #0] + 800d89a: 4604 mov r4, r0 + 800d89c: b99b cbnz r3, 800d8c6 + 800d89e: f44f 60d7 mov.w r0, #1720 ; 0x6b8 + 800d8a2: f7ff ffd3 bl 800d84c + 800d8a6: f3c4 2100 ubfx r1, r4, #8, #1 + 800d8aa: f000 00fe and.w r0, r0, #254 ; 0xfe + 800d8ae: 4301 orrs r1, r0 + 800d8b0: f44f 60d7 mov.w r0, #1720 ; 0x6b8 + 800d8b4: f7ff ffba bl 800d82c + 800d8b8: b2e1 uxtb r1, r4 + 800d8ba: f240 60b9 movw r0, #1721 ; 0x6b9 + 800d8be: e8bd 4010 ldmia.w sp!, {r4, lr} + 800d8c2: f7ff bfb3 b.w 800d82c + 800d8c6: bd10 pop {r4, pc} + 800d8c8: 20001b63 .word 0x20001b63 + +0800d8cc : + 800d8cc: b510 push {r4, lr} + 800d8ce: 4613 mov r3, r2 + 800d8d0: f3ef 8410 mrs r4, PRIMASK + 800d8d4: b672 cpsid i + 800d8d6: 460a mov r2, r1 + 800d8d8: 4601 mov r1, r0 + 800d8da: 4803 ldr r0, [pc, #12] ; (800d8e8 ) + 800d8dc: f7f7 f844 bl 8004968 + 800d8e0: f384 8810 msr PRIMASK, r4 + 800d8e4: bd10 pop {r4, pc} + 800d8e6: bf00 nop + 800d8e8: 200001c4 .word 0x200001c4 + +0800d8ec : + 800d8ec: b508 push {r3, lr} + 800d8ee: 4601 mov r1, r0 + 800d8f0: 2208 movs r2, #8 + 800d8f2: f44f 60d8 mov.w r0, #1728 ; 0x6c0 + 800d8f6: f7ff ffe9 bl 800d8cc + 800d8fa: 2000 movs r0, #0 + 800d8fc: bd08 pop {r3, pc} + ... + +0800d900 : + 800d900: b507 push {r0, r1, r2, lr} + 800d902: 4b07 ldr r3, [pc, #28] ; (800d920 ) + 800d904: 781b ldrb r3, [r3, #0] + 800d906: ba40 rev16 r0, r0 + 800d908: f8ad 0004 strh.w r0, [sp, #4] + 800d90c: b92b cbnz r3, 800d91a + 800d90e: 2202 movs r2, #2 + 800d910: a901 add r1, sp, #4 + 800d912: f240 60bc movw r0, #1724 ; 0x6bc + 800d916: f7ff ffd9 bl 800d8cc + 800d91a: b003 add sp, #12 + 800d91c: f85d fb04 ldr.w pc, [sp], #4 + 800d920: 20001b63 .word 0x20001b63 + +0800d924 : + 800d924: b507 push {r0, r1, r2, lr} + 800d926: 4b07 ldr r3, [pc, #28] ; (800d944 ) + 800d928: 781b ldrb r3, [r3, #0] + 800d92a: ba40 rev16 r0, r0 + 800d92c: f8ad 0004 strh.w r0, [sp, #4] + 800d930: b92b cbnz r3, 800d93e + 800d932: 2202 movs r2, #2 + 800d934: a901 add r1, sp, #4 + 800d936: f240 60be movw r0, #1726 ; 0x6be + 800d93a: f7ff ffc7 bl 800d8cc + 800d93e: b003 add sp, #12 + 800d940: f85d fb04 ldr.w pc, [sp], #4 + 800d944: 20001b63 .word 0x20001b63 + +0800d948 : + 800d948: b510 push {r4, lr} + 800d94a: 4613 mov r3, r2 + 800d94c: f3ef 8410 mrs r4, PRIMASK + 800d950: b672 cpsid i + 800d952: 460a mov r2, r1 + 800d954: 4601 mov r1, r0 + 800d956: 4803 ldr r0, [pc, #12] ; (800d964 ) + 800d958: f7f7 f83f bl 80049da + 800d95c: f384 8810 msr PRIMASK, r4 + 800d960: bd10 pop {r4, pc} + 800d962: bf00 nop + 800d964: 200001c4 .word 0x200001c4 + +0800d968 : + 800d968: b510 push {r4, lr} + 800d96a: 4613 mov r3, r2 + 800d96c: f3ef 8410 mrs r4, PRIMASK + 800d970: b672 cpsid i + 800d972: 460a mov r2, r1 + 800d974: 4601 mov r1, r0 + 800d976: 4803 ldr r0, [pc, #12] ; (800d984 ) + 800d978: f7f7 f921 bl 8004bbe + 800d97c: f384 8810 msr PRIMASK, r4 + 800d980: bd10 pop {r4, pc} + 800d982: bf00 nop + 800d984: 200001c4 .word 0x200001c4 + +0800d988 : + 800d988: 460a mov r2, r1 + 800d98a: 4601 mov r1, r0 + 800d98c: 2000 movs r0, #0 + 800d98e: f7ff bfeb b.w 800d968 + ... + +0800d994 : + 800d994: b510 push {r4, lr} + 800d996: 4613 mov r3, r2 + 800d998: f3ef 8410 mrs r4, PRIMASK + 800d99c: b672 cpsid i + 800d99e: 460a mov r2, r1 + 800d9a0: 4601 mov r1, r0 + 800d9a2: 4803 ldr r0, [pc, #12] ; (800d9b0 ) + 800d9a4: f7f7 f93e bl 8004c24 + 800d9a8: f384 8810 msr PRIMASK, r4 + 800d9ac: bd10 pop {r4, pc} + 800d9ae: bf00 nop + 800d9b0: 200001c4 .word 0x200001c4 + +0800d9b4 : + 800d9b4: b510 push {r4, lr} + 800d9b6: 4613 mov r3, r2 + 800d9b8: f3ef 8410 mrs r4, PRIMASK + 800d9bc: b672 cpsid i + 800d9be: 460a mov r2, r1 + 800d9c0: 4601 mov r1, r0 + 800d9c2: 4803 ldr r0, [pc, #12] ; (800d9d0 ) + 800d9c4: f7f7 f844 bl 8004a50 + 800d9c8: f384 8810 msr PRIMASK, r4 + 800d9cc: bd10 pop {r4, pc} + 800d9ce: bf00 nop + 800d9d0: 200001c4 .word 0x200001c4 + +0800d9d4 : + 800d9d4: b513 push {r0, r1, r4, lr} + 800d9d6: 4604 mov r4, r0 + 800d9d8: 2000 movs r0, #0 + 800d9da: f7f4 fce5 bl 80023a8 + 800d9de: 2002 movs r0, #2 + 800d9e0: f7ff ff44 bl 800d86c + 800d9e4: f004 0407 and.w r4, r4, #7 + 800d9e8: 2201 movs r2, #1 + 800d9ea: f10d 0107 add.w r1, sp, #7 + 800d9ee: 2084 movs r0, #132 ; 0x84 + 800d9f0: f88d 4007 strb.w r4, [sp, #7] + 800d9f4: f7ff ffde bl 800d9b4 + 800d9f8: 4b02 ldr r3, [pc, #8] ; (800da04 ) + 800d9fa: 2200 movs r2, #0 + 800d9fc: 701a strb r2, [r3, #0] + 800d9fe: b002 add sp, #8 + 800da00: bd10 pop {r4, pc} + 800da02: bf00 nop + 800da04: 20001b62 .word 0x20001b62 + +0800da08 : + 800da08: b507 push {r0, r1, r2, lr} + 800da0a: 2201 movs r2, #1 + 800da0c: f88d 0007 strb.w r0, [sp, #7] + 800da10: f10d 0107 add.w r1, sp, #7 + 800da14: 2080 movs r0, #128 ; 0x80 + 800da16: f7ff ffcd bl 800d9b4 + 800da1a: f89d 3007 ldrb.w r3, [sp, #7] + 800da1e: 2b00 cmp r3, #0 + 800da20: 4b03 ldr r3, [pc, #12] ; (800da30 ) + 800da22: bf0c ite eq + 800da24: 2201 moveq r2, #1 + 800da26: 2202 movne r2, #2 + 800da28: 701a strb r2, [r3, #0] + 800da2a: b003 add sp, #12 + 800da2c: f85d fb04 ldr.w pc, [sp], #4 + 800da30: 20001b62 .word 0x20001b62 + +0800da34 : + 800da34: b507 push {r0, r1, r2, lr} + 800da36: 4b09 ldr r3, [pc, #36] ; (800da5c ) + 800da38: f88d 0006 strb.w r0, [sp, #6] + 800da3c: 2204 movs r2, #4 + 800da3e: 701a strb r2, [r3, #0] + 800da40: 0c03 lsrs r3, r0, #16 + 800da42: f88d 3004 strb.w r3, [sp, #4] + 800da46: 2203 movs r2, #3 + 800da48: 0a03 lsrs r3, r0, #8 + 800da4a: a901 add r1, sp, #4 + 800da4c: 2083 movs r0, #131 ; 0x83 + 800da4e: f88d 3005 strb.w r3, [sp, #5] + 800da52: f7ff ffaf bl 800d9b4 + 800da56: b003 add sp, #12 + 800da58: f85d fb04 ldr.w pc, [sp], #4 + 800da5c: 20001b62 .word 0x20001b62 + +0800da60 : + 800da60: b510 push {r4, lr} + 800da62: 4614 mov r4, r2 + 800da64: f7ff ff90 bl 800d988 + 800da68: 4620 mov r0, r4 + 800da6a: e8bd 4010 ldmia.w sp!, {r4, lr} + 800da6e: f7ff bfe1 b.w 800da34 + ... + +0800da74 : + 800da74: b507 push {r0, r1, r2, lr} + 800da76: 4b09 ldr r3, [pc, #36] ; (800da9c ) + 800da78: f88d 0006 strb.w r0, [sp, #6] + 800da7c: 2205 movs r2, #5 + 800da7e: 701a strb r2, [r3, #0] + 800da80: 0c03 lsrs r3, r0, #16 + 800da82: f88d 3004 strb.w r3, [sp, #4] + 800da86: 2203 movs r2, #3 + 800da88: 0a03 lsrs r3, r0, #8 + 800da8a: a901 add r1, sp, #4 + 800da8c: 2082 movs r0, #130 ; 0x82 + 800da8e: f88d 3005 strb.w r3, [sp, #5] + 800da92: f7ff ff8f bl 800d9b4 + 800da96: b003 add sp, #12 + 800da98: f85d fb04 ldr.w pc, [sp], #4 + 800da9c: 20001b62 .word 0x20001b62 + +0800daa0 : + 800daa0: b573 push {r0, r1, r4, r5, r6, lr} + 800daa2: 2600 movs r6, #0 + 800daa4: f640 00e2 movw r0, #2274 ; 0x8e2 + 800daa8: 9601 str r6, [sp, #4] + 800daaa: f7ff fecf bl 800d84c + 800daae: f000 01fe and.w r1, r0, #254 ; 0xfe + 800dab2: 4605 mov r5, r0 + 800dab4: f640 00e2 movw r0, #2274 ; 0x8e2 + 800dab8: f7ff feb8 bl 800d82c + 800dabc: f640 00e5 movw r0, #2277 ; 0x8e5 + 800dac0: f7ff fec4 bl 800d84c + 800dac4: f000 017f and.w r1, r0, #127 ; 0x7f + 800dac8: 4604 mov r4, r0 + 800daca: f640 00e5 movw r0, #2277 ; 0x8e5 + 800dace: f7ff fead bl 800d82c + 800dad2: f06f 407f mvn.w r0, #4278190080 ; 0xff000000 + 800dad6: f7ff ffcd bl 800da74 + 800dada: 2204 movs r2, #4 + 800dadc: eb0d 0102 add.w r1, sp, r2 + 800dae0: f640 0019 movw r0, #2073 ; 0x819 + 800dae4: f7ff ff30 bl 800d948 + 800dae8: 4630 mov r0, r6 + 800daea: f7ff ff8d bl 800da08 + 800daee: 4629 mov r1, r5 + 800daf0: f640 00e2 movw r0, #2274 ; 0x8e2 + 800daf4: f7ff fe9a bl 800d82c + 800daf8: 4621 mov r1, r4 + 800dafa: f640 00e5 movw r0, #2277 ; 0x8e5 + 800dafe: f7ff fe95 bl 800d82c + 800db02: 9801 ldr r0, [sp, #4] + 800db04: b002 add sp, #8 + 800db06: bd70 pop {r4, r5, r6, pc} + +0800db08 : + 800db08: b513 push {r0, r1, r4, lr} + 800db0a: 4b0c ldr r3, [pc, #48] ; (800db3c ) + 800db0c: 4604 mov r4, r0 + 800db0e: 2205 movs r2, #5 + 800db10: 2197 movs r1, #151 ; 0x97 + 800db12: f640 00ac movw r0, #2220 ; 0x8ac + 800db16: 701a strb r2, [r3, #0] + 800db18: f7ff fe88 bl 800d82c + 800db1c: 0c23 lsrs r3, r4, #16 + 800db1e: f88d 3004 strb.w r3, [sp, #4] + 800db22: 2203 movs r2, #3 + 800db24: 0a23 lsrs r3, r4, #8 + 800db26: a901 add r1, sp, #4 + 800db28: 2082 movs r0, #130 ; 0x82 + 800db2a: f88d 3005 strb.w r3, [sp, #5] + 800db2e: f88d 4006 strb.w r4, [sp, #6] + 800db32: f7ff ff3f bl 800d9b4 + 800db36: b002 add sp, #8 + 800db38: bd10 pop {r4, pc} + 800db3a: bf00 nop + 800db3c: 20001b62 .word 0x20001b62 + +0800db40 : + 800db40: b507 push {r0, r1, r2, lr} + 800db42: 0c03 lsrs r3, r0, #16 + 800db44: f88d 3000 strb.w r3, [sp] + 800db48: 0a03 lsrs r3, r0, #8 + 800db4a: f88d 3001 strb.w r3, [sp, #1] + 800db4e: 0c0b lsrs r3, r1, #16 + 800db50: ba49 rev16 r1, r1 + 800db52: f88d 0002 strb.w r0, [sp, #2] + 800db56: f8ad 1004 strh.w r1, [sp, #4] + 800db5a: 2206 movs r2, #6 + 800db5c: 4669 mov r1, sp + 800db5e: 2094 movs r0, #148 ; 0x94 + 800db60: f88d 3003 strb.w r3, [sp, #3] + 800db64: f7ff ff26 bl 800d9b4 + 800db68: 4b02 ldr r3, [pc, #8] ; (800db74 ) + 800db6a: 2206 movs r2, #6 + 800db6c: 701a strb r2, [r3, #0] + 800db6e: b003 add sp, #12 + 800db70: f85d fb04 ldr.w pc, [sp], #4 + 800db74: 20001b62 .word 0x20001b62 + +0800db78 : + 800db78: 2200 movs r2, #0 + 800db7a: b508 push {r3, lr} + 800db7c: 4611 mov r1, r2 + 800db7e: 20c5 movs r0, #197 ; 0xc5 + 800db80: f7ff ff18 bl 800d9b4 + 800db84: 4b01 ldr r3, [pc, #4] ; (800db8c ) + 800db86: 2207 movs r2, #7 + 800db88: 701a strb r2, [r3, #0] + 800db8a: bd08 pop {r3, pc} + 800db8c: 20001b62 .word 0x20001b62 + +0800db90 : + 800db90: 2200 movs r2, #0 + 800db92: 4611 mov r1, r2 + 800db94: 20d1 movs r0, #209 ; 0xd1 + 800db96: f7ff bf0d b.w 800d9b4 + +0800db9a : + 800db9a: 2200 movs r2, #0 + 800db9c: 4611 mov r1, r2 + 800db9e: 20d2 movs r0, #210 ; 0xd2 + 800dba0: f7ff bf08 b.w 800d9b4 + +0800dba4 : + 800dba4: b507 push {r0, r1, r2, lr} + 800dba6: 2201 movs r2, #1 + 800dba8: f88d 0007 strb.w r0, [sp, #7] + 800dbac: f10d 0107 add.w r1, sp, #7 + 800dbb0: 209f movs r0, #159 ; 0x9f + 800dbb2: f7ff feff bl 800d9b4 + 800dbb6: b003 add sp, #12 + 800dbb8: f85d fb04 ldr.w pc, [sp], #4 + +0800dbbc : + 800dbbc: b507 push {r0, r1, r2, lr} + 800dbbe: 2201 movs r2, #1 + 800dbc0: f88d 0007 strb.w r0, [sp, #7] + 800dbc4: f10d 0107 add.w r1, sp, #7 + 800dbc8: 20a0 movs r0, #160 ; 0xa0 + 800dbca: f7ff fef3 bl 800d9b4 + 800dbce: f89d 1007 ldrb.w r1, [sp, #7] + 800dbd2: 293f cmp r1, #63 ; 0x3f + 800dbd4: d907 bls.n 800dbe6 + 800dbd6: f001 01f8 and.w r1, r1, #248 ; 0xf8 + 800dbda: 3101 adds r1, #1 + 800dbdc: b2c9 uxtb r1, r1 + 800dbde: f240 7006 movw r0, #1798 ; 0x706 + 800dbe2: f7ff fe23 bl 800d82c + 800dbe6: b003 add sp, #12 + 800dbe8: f85d fb04 ldr.w pc, [sp], #4 + +0800dbec : + 800dbec: b507 push {r0, r1, r2, lr} + 800dbee: f7f4 fc01 bl 80023f4 + 800dbf2: 1e43 subs r3, r0, #1 + 800dbf4: 4258 negs r0, r3 + 800dbf6: 4158 adcs r0, r3 + 800dbf8: f88d 0007 strb.w r0, [sp, #7] + 800dbfc: 2201 movs r2, #1 + 800dbfe: f10d 0107 add.w r1, sp, #7 + 800dc02: 2096 movs r0, #150 ; 0x96 + 800dc04: f7ff fed6 bl 800d9b4 800dc08: b003 add sp, #12 800dc0a: f85d fb04 ldr.w pc, [sp], #4 - 800dc0e: bf00 nop - 800dc10: 200001c4 .word 0x200001c4 -0800dc14 : - 800dc14: b507 push {r0, r1, r2, lr} - 800dc16: 2301 movs r3, #1 - 800dc18: 4601 mov r1, r0 - 800dc1a: f10d 0207 add.w r2, sp, #7 - 800dc1e: 4804 ldr r0, [pc, #16] ; (800dc30 ) - 800dc20: f7f7 f89f bl 8004d62 - 800dc24: f89d 0007 ldrb.w r0, [sp, #7] - 800dc28: b003 add sp, #12 - 800dc2a: f85d fb04 ldr.w pc, [sp], #4 - 800dc2e: bf00 nop - 800dc30: 200001c4 .word 0x200001c4 - -0800dc34 : - 800dc34: b510 push {r4, lr} - 800dc36: 4604 mov r4, r0 - 800dc38: f7f4 fda0 bl 800277c - 800dc3c: 2801 cmp r0, #1 - 800dc3e: d10c bne.n 800dc5a - 800dc40: f640 1023 movw r0, #2339 ; 0x923 - 800dc44: f7ff ffe6 bl 800dc14 - 800dc48: f000 01f9 and.w r1, r0, #249 ; 0xf9 - 800dc4c: 4321 orrs r1, r4 - 800dc4e: f640 1023 movw r0, #2339 ; 0x923 - 800dc52: e8bd 4010 ldmia.w sp!, {r4, lr} - 800dc56: f7ff bfcd b.w 800dbf4 - 800dc5a: bd10 pop {r4, pc} - -0800dc5c : - 800dc5c: b510 push {r4, lr} - 800dc5e: 4b0c ldr r3, [pc, #48] ; (800dc90 ) - 800dc60: 781b ldrb r3, [r3, #0] - 800dc62: 4604 mov r4, r0 - 800dc64: b99b cbnz r3, 800dc8e - 800dc66: f44f 60d7 mov.w r0, #1720 ; 0x6b8 - 800dc6a: f7ff ffd3 bl 800dc14 - 800dc6e: f3c4 2100 ubfx r1, r4, #8, #1 - 800dc72: f000 00fe and.w r0, r0, #254 ; 0xfe - 800dc76: 4301 orrs r1, r0 - 800dc78: f44f 60d7 mov.w r0, #1720 ; 0x6b8 - 800dc7c: f7ff ffba bl 800dbf4 - 800dc80: b2e1 uxtb r1, r4 - 800dc82: f240 60b9 movw r0, #1721 ; 0x6b9 - 800dc86: e8bd 4010 ldmia.w sp!, {r4, lr} - 800dc8a: f7ff bfb3 b.w 800dbf4 - 800dc8e: bd10 pop {r4, pc} - 800dc90: 20001b63 .word 0x20001b63 - -0800dc94 : - 800dc94: b510 push {r4, lr} - 800dc96: 4613 mov r3, r2 - 800dc98: f3ef 8410 mrs r4, PRIMASK - 800dc9c: b672 cpsid i - 800dc9e: 460a mov r2, r1 - 800dca0: 4601 mov r1, r0 - 800dca2: 4803 ldr r0, [pc, #12] ; (800dcb0 ) - 800dca4: f7f7 f824 bl 8004cf0 - 800dca8: f384 8810 msr PRIMASK, r4 - 800dcac: bd10 pop {r4, pc} - 800dcae: bf00 nop - 800dcb0: 200001c4 .word 0x200001c4 - -0800dcb4 : - 800dcb4: b508 push {r3, lr} - 800dcb6: 4601 mov r1, r0 - 800dcb8: 2208 movs r2, #8 - 800dcba: f44f 60d8 mov.w r0, #1728 ; 0x6c0 - 800dcbe: f7ff ffe9 bl 800dc94 - 800dcc2: 2000 movs r0, #0 - 800dcc4: bd08 pop {r3, pc} +0800dc0e : + 800dc0e: b507 push {r0, r1, r2, lr} + 800dc10: f000 007f and.w r0, r0, #127 ; 0x7f + 800dc14: f88d 0007 strb.w r0, [sp, #7] + 800dc18: 2201 movs r2, #1 + 800dc1a: f10d 0107 add.w r1, sp, #7 + 800dc1e: 2089 movs r0, #137 ; 0x89 + 800dc20: f7ff fec8 bl 800d9b4 + 800dc24: b003 add sp, #12 + 800dc26: f85d fb04 ldr.w pc, [sp], #4 ... -0800dcc8 : - 800dcc8: b507 push {r0, r1, r2, lr} - 800dcca: 4b07 ldr r3, [pc, #28] ; (800dce8 ) - 800dccc: 781b ldrb r3, [r3, #0] - 800dcce: ba40 rev16 r0, r0 - 800dcd0: f8ad 0004 strh.w r0, [sp, #4] - 800dcd4: b92b cbnz r3, 800dce2 - 800dcd6: 2202 movs r2, #2 - 800dcd8: a901 add r1, sp, #4 - 800dcda: f240 60bc movw r0, #1724 ; 0x6bc - 800dcde: f7ff ffd9 bl 800dc94 - 800dce2: b003 add sp, #12 - 800dce4: f85d fb04 ldr.w pc, [sp], #4 - 800dce8: 20001b63 .word 0x20001b63 +0800dc2c : + 800dc2c: 4b15 ldr r3, [pc, #84] ; (800dc84 ) + 800dc2e: 4298 cmp r0, r3 + 800dc30: b507 push {r0, r1, r2, lr} + 800dc32: d81b bhi.n 800dc6c + 800dc34: 4b14 ldr r3, [pc, #80] ; (800dc88 ) + 800dc36: 4298 cmp r0, r3 + 800dc38: d81b bhi.n 800dc72 + 800dc3a: 4b14 ldr r3, [pc, #80] ; (800dc8c ) + 800dc3c: 4298 cmp r0, r3 + 800dc3e: d81b bhi.n 800dc78 + 800dc40: 4b13 ldr r3, [pc, #76] ; (800dc90 ) + 800dc42: 4298 cmp r0, r3 + 800dc44: d81b bhi.n 800dc7e + 800dc46: 4b13 ldr r3, [pc, #76] ; (800dc94 ) + 800dc48: 4298 cmp r0, r3 + 800dc4a: bf95 itete ls + 800dc4c: 2229 movls r2, #41 ; 0x29 + 800dc4e: 226b movhi r2, #107 ; 0x6b + 800dc50: 232b movls r3, #43 ; 0x2b + 800dc52: 236f movhi r3, #111 ; 0x6f + 800dc54: f88d 2004 strb.w r2, [sp, #4] + 800dc58: a901 add r1, sp, #4 + 800dc5a: 2202 movs r2, #2 + 800dc5c: 2098 movs r0, #152 ; 0x98 + 800dc5e: f88d 3005 strb.w r3, [sp, #5] + 800dc62: f7ff fea7 bl 800d9b4 + 800dc66: b003 add sp, #12 + 800dc68: f85d fb04 ldr.w pc, [sp], #4 + 800dc6c: 22e1 movs r2, #225 ; 0xe1 + 800dc6e: 23e9 movs r3, #233 ; 0xe9 + 800dc70: e7f0 b.n 800dc54 + 800dc72: 22d7 movs r2, #215 ; 0xd7 + 800dc74: 23db movs r3, #219 ; 0xdb + 800dc76: e7ed b.n 800dc54 + 800dc78: 22c1 movs r2, #193 ; 0xc1 + 800dc7a: 23c5 movs r3, #197 ; 0xc5 + 800dc7c: e7ea b.n 800dc54 + 800dc7e: 2275 movs r2, #117 ; 0x75 + 800dc80: 2381 movs r3, #129 ; 0x81 + 800dc82: e7e7 b.n 800dc54 + 800dc84: 35a4e900 .word 0x35a4e900 + 800dc88: 32a9f880 .word 0x32a9f880 + 800dc8c: 2de54480 .word 0x2de54480 + 800dc90: 1b6b0b00 .word 0x1b6b0b00 + 800dc94: 1954fc40 .word 0x1954fc40 -0800dcec : - 800dcec: b507 push {r0, r1, r2, lr} - 800dcee: 4b07 ldr r3, [pc, #28] ; (800dd0c ) - 800dcf0: 781b ldrb r3, [r3, #0] - 800dcf2: ba40 rev16 r0, r0 - 800dcf4: f8ad 0004 strh.w r0, [sp, #4] - 800dcf8: b92b cbnz r3, 800dd06 - 800dcfa: 2202 movs r2, #2 - 800dcfc: a901 add r1, sp, #4 - 800dcfe: f240 60be movw r0, #1726 ; 0x6be - 800dd02: f7ff ffc7 bl 800dc94 - 800dd06: b003 add sp, #12 - 800dd08: f85d fb04 ldr.w pc, [sp], #4 - 800dd0c: 20001b63 .word 0x20001b63 +0800dc98 : + 800dc98: b507 push {r0, r1, r2, lr} + 800dc9a: f88d 2006 strb.w r2, [sp, #6] + 800dc9e: 2204 movs r2, #4 + 800dca0: f88d 0004 strb.w r0, [sp, #4] + 800dca4: f88d 1005 strb.w r1, [sp, #5] + 800dca8: 2095 movs r0, #149 ; 0x95 + 800dcaa: eb0d 0102 add.w r1, sp, r2 + 800dcae: f88d 3007 strb.w r3, [sp, #7] + 800dcb2: f7ff fe7f bl 800d9b4 + 800dcb6: b003 add sp, #12 + 800dcb8: f85d fb04 ldr.w pc, [sp], #4 -0800dd10 : +0800dcbc : + 800dcbc: b507 push {r0, r1, r2, lr} + 800dcbe: ba52 rev16 r2, r2 + 800dcc0: f8ad 2004 strh.w r2, [sp, #4] + 800dcc4: ba40 rev16 r0, r0 + 800dcc6: 2208 movs r2, #8 + 800dcc8: ba49 rev16 r1, r1 + 800dcca: f8ad 0000 strh.w r0, [sp] + 800dcce: f8ad 1002 strh.w r1, [sp, #2] + 800dcd2: ba5b rev16 r3, r3 + 800dcd4: 4669 mov r1, sp + 800dcd6: 4610 mov r0, r2 + 800dcd8: f8ad 3006 strh.w r3, [sp, #6] + 800dcdc: f7ff fe6a bl 800d9b4 + 800dce0: b003 add sp, #12 + 800dce2: f85d fb04 ldr.w pc, [sp], #4 + +0800dce6 : + 800dce6: b507 push {r0, r1, r2, lr} + 800dce8: 0c0b lsrs r3, r1, #16 + 800dcea: 2204 movs r2, #4 + 800dcec: f000 0007 and.w r0, r0, #7 + 800dcf0: ba49 rev16 r1, r1 + 800dcf2: f88d 0004 strb.w r0, [sp, #4] + 800dcf6: f8ad 1006 strh.w r1, [sp, #6] + 800dcfa: 2097 movs r0, #151 ; 0x97 + 800dcfc: eb0d 0102 add.w r1, sp, r2 + 800dd00: f88d 3005 strb.w r3, [sp, #5] + 800dd04: f7ff fe56 bl 800d9b4 + 800dd08: b003 add sp, #12 + 800dd0a: f85d fb04 ldr.w pc, [sp], #4 + ... + +0800dd10 : 800dd10: b510 push {r4, lr} - 800dd12: 4613 mov r3, r2 - 800dd14: f3ef 8410 mrs r4, PRIMASK - 800dd18: b672 cpsid i - 800dd1a: 460a mov r2, r1 - 800dd1c: 4601 mov r1, r0 - 800dd1e: 4803 ldr r0, [pc, #12] ; (800dd2c ) - 800dd20: f7f7 f81f bl 8004d62 - 800dd24: f384 8810 msr PRIMASK, r4 - 800dd28: bd10 pop {r4, pc} - 800dd2a: bf00 nop - 800dd2c: 200001c4 .word 0x200001c4 + 800dd12: b108 cbz r0, 800dd18 + 800dd14: 4b19 ldr r3, [pc, #100] ; (800dd7c ) + 800dd16: 6018 str r0, [r3, #0] + 800dd18: f7f3 fcb6 bl 8001688 + 800dd1c: 2002 movs r0, #2 + 800dd1e: f7ff fda5 bl 800d86c + 800dd22: 2400 movs r4, #0 + 800dd24: 4b16 ldr r3, [pc, #88] ; (800dd80 ) + 800dd26: 4620 mov r0, r4 + 800dd28: 701c strb r4, [r3, #0] + 800dd2a: f7ff fe6d bl 800da08 + 800dd2e: f7f4 fb5f bl 80023f0 + 800dd32: 2801 cmp r0, #1 + 800dd34: d117 bne.n 800dd66 + 800dd36: f44f 7120 mov.w r1, #640 ; 0x280 + 800dd3a: f7ff ffd4 bl 800dce6 + 800dd3e: f640 1011 movw r0, #2321 ; 0x911 + 800dd42: 4621 mov r1, r4 + 800dd44: f7ff fd72 bl 800d82c + 800dd48: f04f 007f mov.w r0, #127 ; 0x7f + 800dd4c: f7ff ff5f bl 800dc0e + 800dd50: 210e movs r1, #14 + 800dd52: f640 101f movw r0, #2335 ; 0x91f + 800dd56: f7ff fd69 bl 800d82c + 800dd5a: f7f4 faf1 bl 8002340 + 800dd5e: 4b09 ldr r3, [pc, #36] ; (800dd84 ) + 800dd60: 2201 movs r2, #1 + 800dd62: 701a strb r2, [r3, #0] + 800dd64: bd10 pop {r4, pc} + 800dd66: 2110 movs r1, #16 + 800dd68: f640 1011 movw r0, #2321 ; 0x911 + 800dd6c: f7ff fd5e bl 800d82c + 800dd70: 2110 movs r1, #16 + 800dd72: f640 1012 movw r0, #2322 ; 0x912 + 800dd76: f7ff fd59 bl 800d82c + 800dd7a: e7e9 b.n 800dd50 + 800dd7c: 20001b64 .word 0x20001b64 + 800dd80: 20001b60 .word 0x20001b60 + 800dd84: 20001b62 .word 0x20001b62 -0800dd30 : - 800dd30: b510 push {r4, lr} - 800dd32: 4613 mov r3, r2 - 800dd34: f3ef 8410 mrs r4, PRIMASK - 800dd38: b672 cpsid i - 800dd3a: 460a mov r2, r1 - 800dd3c: 4601 mov r1, r0 - 800dd3e: 4803 ldr r0, [pc, #12] ; (800dd4c ) - 800dd40: f7f7 f901 bl 8004f46 - 800dd44: f384 8810 msr PRIMASK, r4 - 800dd48: bd10 pop {r4, pc} - 800dd4a: bf00 nop - 800dd4c: 200001c4 .word 0x200001c4 +0800dd88 : + 800dd88: b537 push {r0, r1, r2, r4, r5, lr} + 800dd8a: 4d0c ldr r5, [pc, #48] ; (800ddbc ) + 800dd8c: 782b ldrb r3, [r5, #0] + 800dd8e: 4604 mov r4, r0 + 800dd90: b91b cbnz r3, 800dd9a + 800dd92: f7ff ff4b bl 800dc2c + 800dd96: 2301 movs r3, #1 + 800dd98: 702b strb r3, [r5, #0] + 800dd9a: 2300 movs r3, #0 + 800dd9c: 4a08 ldr r2, [pc, #32] ; (800ddc0 ) + 800dd9e: 0660 lsls r0, r4, #25 + 800dda0: 09e1 lsrs r1, r4, #7 + 800dda2: f7f2 ff01 bl 8000ba8 <__aeabi_uldivmod> + 800dda6: 2204 movs r2, #4 + 800dda8: ba00 rev r0, r0 + 800ddaa: 9001 str r0, [sp, #4] + 800ddac: eb0d 0102 add.w r1, sp, r2 + 800ddb0: 2086 movs r0, #134 ; 0x86 + 800ddb2: f7ff fdff bl 800d9b4 + 800ddb6: b003 add sp, #12 + 800ddb8: bd30 pop {r4, r5, pc} + 800ddba: bf00 nop + 800ddbc: 20001b60 .word 0x20001b60 + 800ddc0: 01e84800 .word 0x01e84800 -0800dd50 : - 800dd50: 460a mov r2, r1 - 800dd52: 4601 mov r1, r0 - 800dd54: 2000 movs r0, #0 - 800dd56: f7ff bfeb b.w 800dd30 - ... +0800ddc4 : + 800ddc4: b507 push {r0, r1, r2, lr} + 800ddc6: 4b09 ldr r3, [pc, #36] ; (800ddec ) + 800ddc8: f88d 0007 strb.w r0, [sp, #7] + 800ddcc: 4601 mov r1, r0 + 800ddce: 7018 strb r0, [r3, #0] + 800ddd0: b918 cbnz r0, 800ddda + 800ddd2: f240 60ac movw r0, #1708 ; 0x6ac + 800ddd6: f7ff fd29 bl 800d82c + 800ddda: 2201 movs r2, #1 + 800dddc: f10d 0107 add.w r1, sp, #7 + 800dde0: 208a movs r0, #138 ; 0x8a + 800dde2: f7ff fde7 bl 800d9b4 + 800dde6: b003 add sp, #12 + 800dde8: f85d fb04 ldr.w pc, [sp], #4 + 800ddec: 20001b63 .word 0x20001b63 -0800dd5c : - 800dd5c: b510 push {r4, lr} - 800dd5e: 4613 mov r3, r2 - 800dd60: f3ef 8410 mrs r4, PRIMASK - 800dd64: b672 cpsid i - 800dd66: 460a mov r2, r1 - 800dd68: 4601 mov r1, r0 - 800dd6a: 4803 ldr r0, [pc, #12] ; (800dd78 ) - 800dd6c: f7f7 f91e bl 8004fac - 800dd70: f384 8810 msr PRIMASK, r4 - 800dd74: bd10 pop {r4, pc} - 800dd76: bf00 nop - 800dd78: 200001c4 .word 0x200001c4 +0800ddf0 : + 800ddf0: 2801 cmp r0, #1 + 800ddf2: b573 push {r0, r1, r4, r5, r6, lr} + 800ddf4: 460c mov r4, r1 + 800ddf6: 4616 mov r6, r2 + 800ddf8: d137 bne.n 800de6a + 800ddfa: 2000 movs r0, #0 + 800ddfc: f7f4 fafc bl 80023f8 + 800de00: 42a0 cmp r0, r4 + 800de02: bfb8 it lt + 800de04: b244 sxtblt r4, r0 + 800de06: 280e cmp r0, #14 + 800de08: 4605 mov r5, r0 + 800de0a: d11a bne.n 800de42 + 800de0c: 2301 movs r3, #1 + 800de0e: 461a mov r2, r3 + 800de10: 2100 movs r1, #0 + 800de12: 2004 movs r0, #4 + 800de14: f7ff ff40 bl 800dc98 + 800de18: f06f 0310 mvn.w r3, #16 + 800de1c: 429c cmp r4, r3 + 800de1e: bfb8 it lt + 800de20: 461c movlt r4, r3 + 800de22: 2118 movs r1, #24 + 800de24: f640 00e7 movw r0, #2279 ; 0x8e7 + 800de28: f7ff fd00 bl 800d82c + 800de2c: 2202 movs r2, #2 + 800de2e: a901 add r1, sp, #4 + 800de30: 208e movs r0, #142 ; 0x8e + 800de32: f88d 4004 strb.w r4, [sp, #4] + 800de36: f88d 6005 strb.w r6, [sp, #5] + 800de3a: f7ff fdbb bl 800d9b4 + 800de3e: b002 add sp, #8 + 800de40: bd70 pop {r4, r5, r6, pc} + 800de42: 2301 movs r3, #1 + 800de44: 280a cmp r0, #10 + 800de46: b2e4 uxtb r4, r4 + 800de48: 461a mov r2, r3 + 800de4a: f04f 0100 mov.w r1, #0 + 800de4e: d105 bne.n 800de5c + 800de50: 4618 mov r0, r3 + 800de52: f7ff ff21 bl 800dc98 + 800de56: 3403 adds r4, #3 + 800de58: b264 sxtb r4, r4 + 800de5a: e7dd b.n 800de18 + 800de5c: 2007 movs r0, #7 + 800de5e: f1c5 050e rsb r5, r5, #14 + 800de62: f7ff ff19 bl 800dc98 + 800de66: 442c add r4, r5 + 800de68: e7f6 b.n 800de58 + 800de6a: f640 00d8 movw r0, #2264 ; 0x8d8 + 800de6e: f7ff fced bl 800d84c + 800de72: f040 011e orr.w r1, r0, #30 + 800de76: b2c9 uxtb r1, r1 + 800de78: f640 00d8 movw r0, #2264 ; 0x8d8 + 800de7c: f7ff fcd6 bl 800d82c + 800de80: 2001 movs r0, #1 + 800de82: f7f4 fab9 bl 80023f8 + 800de86: 42a0 cmp r0, r4 + 800de88: bfb8 it lt + 800de8a: b244 sxtblt r4, r0 + 800de8c: 2814 cmp r0, #20 + 800de8e: 4605 mov r5, r0 + 800de90: f04f 0301 mov.w r3, #1 + 800de94: f04f 0200 mov.w r2, #0 + 800de98: d10c bne.n 800deb4 + 800de9a: 2105 movs r1, #5 + 800de9c: 2003 movs r0, #3 + 800de9e: f7ff fefb bl 800dc98 + 800dea2: 3402 adds r4, #2 + 800dea4: b264 sxtb r4, r4 + 800dea6: f06f 0308 mvn.w r3, #8 + 800deaa: 429c cmp r4, r3 + 800deac: bfb8 it lt + 800deae: 461c movlt r4, r3 + 800deb0: 2138 movs r1, #56 ; 0x38 + 800deb2: e7b7 b.n 800de24 + 800deb4: 2811 cmp r0, #17 + 800deb6: d105 bne.n 800dec4 + 800deb8: 2103 movs r1, #3 + 800deba: 2002 movs r0, #2 + 800debc: f7ff feec bl 800dc98 + 800dec0: 3405 adds r4, #5 + 800dec2: e7ef b.n 800dea4 + 800dec4: 280e cmp r0, #14 + 800dec6: d104 bne.n 800ded2 + 800dec8: 2102 movs r1, #2 + 800deca: 4608 mov r0, r1 + 800decc: f7ff fee4 bl 800dc98 + 800ded0: e7e9 b.n 800dea6 + 800ded2: f1c5 0516 rsb r5, r5, #22 + 800ded6: 2107 movs r1, #7 + 800ded8: 2004 movs r0, #4 + 800deda: 4425 add r5, r4 + 800dedc: f7ff fedc bl 800dc98 + 800dee0: b26c sxtb r4, r5 + 800dee2: e7e0 b.n 800dea6 -0800dd7c : - 800dd7c: b510 push {r4, lr} - 800dd7e: 4613 mov r3, r2 - 800dd80: f3ef 8410 mrs r4, PRIMASK - 800dd84: b672 cpsid i - 800dd86: 460a mov r2, r1 - 800dd88: 4601 mov r1, r0 - 800dd8a: 4803 ldr r0, [pc, #12] ; (800dd98 ) - 800dd8c: f7f7 f824 bl 8004dd8 - 800dd90: f384 8810 msr PRIMASK, r4 - 800dd94: bd10 pop {r4, pc} - 800dd96: bf00 nop - 800dd98: 200001c4 .word 0x200001c4 +0800dee4 : + 800dee4: b513 push {r0, r1, r4, lr} + 800dee6: 4a31 ldr r2, [pc, #196] ; (800dfac ) + 800dee8: 4604 mov r4, r0 + 800deea: 6851 ldr r1, [r2, #4] + 800deec: 6810 ldr r0, [r2, #0] + 800deee: 466b mov r3, sp + 800def0: c303 stmia r3!, {r0, r1} + 800def2: 4b2f ldr r3, [pc, #188] ; (800dfb0 ) + 800def4: 7820 ldrb r0, [r4, #0] + 800def6: 781b ldrb r3, [r3, #0] + 800def8: 4283 cmp r3, r0 + 800defa: d001 beq.n 800df00 + 800defc: f7ff ff62 bl 800ddc4 + 800df00: 7823 ldrb r3, [r4, #0] + 800df02: 2b03 cmp r3, #3 + 800df04: d827 bhi.n 800df56 + 800df06: e8df f003 tbb [pc, r3] + 800df0a: 3902 .short 0x3902 + 800df0c: 3c28 .short 0x3c28 + 800df0e: 6862 ldr r2, [r4, #4] + 800df10: 4b28 ldr r3, [pc, #160] ; (800dfb4 ) + 800df12: fbb3 f3f2 udiv r3, r3, r2 + 800df16: 0c1a lsrs r2, r3, #16 + 800df18: 68a1 ldr r1, [r4, #8] + 800df1a: f88d 2000 strb.w r2, [sp] + 800df1e: f88d 3002 strb.w r3, [sp, #2] + 800df22: 0a1a lsrs r2, r3, #8 + 800df24: 7b23 ldrb r3, [r4, #12] + 800df26: f88d 3003 strb.w r3, [sp, #3] + 800df2a: 7b63 ldrb r3, [r4, #13] + 800df2c: f88d 2001 strb.w r2, [sp, #1] + 800df30: f88d 3004 strb.w r3, [sp, #4] + 800df34: 4a20 ldr r2, [pc, #128] ; (800dfb8 ) + 800df36: 2300 movs r3, #0 + 800df38: 0648 lsls r0, r1, #25 + 800df3a: 09c9 lsrs r1, r1, #7 + 800df3c: f7f2 fe34 bl 8000ba8 <__aeabi_uldivmod> + 800df40: 0c03 lsrs r3, r0, #16 + 800df42: ba40 rev16 r0, r0 + 800df44: f88d 3005 strb.w r3, [sp, #5] + 800df48: f8ad 0006 strh.w r0, [sp, #6] + 800df4c: 2208 movs r2, #8 + 800df4e: 4669 mov r1, sp + 800df50: 208b movs r0, #139 ; 0x8b + 800df52: f7ff fd2f bl 800d9b4 + 800df56: b002 add sp, #8 + 800df58: bd10 pop {r4, pc} + 800df5a: 6922 ldr r2, [r4, #16] + 800df5c: 4b15 ldr r3, [pc, #84] ; (800dfb4 ) + 800df5e: fbb3 f3f2 udiv r3, r3, r2 + 800df62: 0c1a lsrs r2, r3, #16 + 800df64: f88d 2000 strb.w r2, [sp] + 800df68: f88d 3002 strb.w r3, [sp, #2] + 800df6c: 0a1a lsrs r2, r3, #8 + 800df6e: 7d23 ldrb r3, [r4, #20] + 800df70: f88d 2001 strb.w r2, [sp, #1] + 800df74: f88d 3003 strb.w r3, [sp, #3] + 800df78: 2204 movs r2, #4 + 800df7a: e7e8 b.n 800df4e + 800df7c: 69a3 ldr r3, [r4, #24] + 800df7e: 9300 str r3, [sp, #0] + 800df80: e7fa b.n 800df78 + 800df82: 6862 ldr r2, [r4, #4] + 800df84: 4b0b ldr r3, [pc, #44] ; (800dfb4 ) + 800df86: fbb3 f3f2 udiv r3, r3, r2 + 800df8a: 0c1a lsrs r2, r3, #16 + 800df8c: f88d 2000 strb.w r2, [sp] + 800df90: f88d 3002 strb.w r3, [sp, #2] + 800df94: 0a1a lsrs r2, r3, #8 + 800df96: 7b23 ldrb r3, [r4, #12] + 800df98: f88d 3003 strb.w r3, [sp, #3] + 800df9c: 7b63 ldrb r3, [r4, #13] + 800df9e: f88d 2001 strb.w r2, [sp, #1] + 800dfa2: f88d 3004 strb.w r3, [sp, #4] + 800dfa6: 2205 movs r2, #5 + 800dfa8: e7d1 b.n 800df4e + 800dfaa: bf00 nop + 800dfac: 0800f128 .word 0x0800f128 + 800dfb0: 20001b63 .word 0x20001b63 + 800dfb4: 3d090000 .word 0x3d090000 + 800dfb8: 01e84800 .word 0x01e84800 -0800dd9c : - 800dd9c: b513 push {r0, r1, r4, lr} - 800dd9e: 4604 mov r4, r0 - 800dda0: 2000 movs r0, #0 - 800dda2: f7f4 fcc5 bl 8002730 - 800dda6: 2002 movs r0, #2 - 800dda8: f7ff ff44 bl 800dc34 - 800ddac: f004 0407 and.w r4, r4, #7 - 800ddb0: 2201 movs r2, #1 - 800ddb2: f10d 0107 add.w r1, sp, #7 - 800ddb6: 2084 movs r0, #132 ; 0x84 - 800ddb8: f88d 4007 strb.w r4, [sp, #7] - 800ddbc: f7ff ffde bl 800dd7c - 800ddc0: 4b02 ldr r3, [pc, #8] ; (800ddcc ) - 800ddc2: 2200 movs r2, #0 - 800ddc4: 701a strb r2, [r3, #0] - 800ddc6: b002 add sp, #8 - 800ddc8: bd10 pop {r4, pc} - 800ddca: bf00 nop - 800ddcc: 20001b62 .word 0x20001b62 +0800dfbc : + 800dfbc: b51f push {r0, r1, r2, r3, r4, lr} + 800dfbe: 4a2e ldr r2, [pc, #184] ; (800e078 ) + 800dfc0: 4604 mov r4, r0 + 800dfc2: 68d1 ldr r1, [r2, #12] + 800dfc4: 6890 ldr r0, [r2, #8] + 800dfc6: 7c12 ldrb r2, [r2, #16] + 800dfc8: ab01 add r3, sp, #4 + 800dfca: c303 stmia r3!, {r0, r1} + 800dfcc: 701a strb r2, [r3, #0] + 800dfce: 4b2b ldr r3, [pc, #172] ; (800e07c ) + 800dfd0: 7820 ldrb r0, [r4, #0] + 800dfd2: 781b ldrb r3, [r3, #0] + 800dfd4: 4283 cmp r3, r0 + 800dfd6: d001 beq.n 800dfdc + 800dfd8: f7ff fef4 bl 800ddc4 + 800dfdc: 7823 ldrb r3, [r4, #0] + 800dfde: 2b03 cmp r3, #3 + 800dfe0: d826 bhi.n 800e030 + 800dfe2: e8df f003 tbb [pc, r3] + 800dfe6: 3802 .short 0x3802 + 800dfe8: 0233 .short 0x0233 + 800dfea: 7a63 ldrb r3, [r4, #9] + 800dfec: 2bf1 cmp r3, #241 ; 0xf1 + 800dfee: d121 bne.n 800e034 + 800dff0: f64f 70ff movw r0, #65535 ; 0xffff + 800dff4: f7ff fc84 bl 800d900 + 800dff8: f248 0005 movw r0, #32773 ; 0x8005 + 800dffc: f7ff fc92 bl 800d924 + 800e000: 2302 movs r3, #2 + 800e002: 8862 ldrh r2, [r4, #2] + 800e004: 88a1 ldrh r1, [r4, #4] + 800e006: f8ad 1006 strh.w r1, [sp, #6] + 800e00a: ba52 rev16 r2, r2 + 800e00c: 88e1 ldrh r1, [r4, #6] + 800e00e: f8ad 2004 strh.w r2, [sp, #4] + 800e012: f88d 300b strb.w r3, [sp, #11] + 800e016: 7a22 ldrb r2, [r4, #8] + 800e018: 7aa3 ldrb r3, [r4, #10] + 800e01a: f88d 200a strb.w r2, [sp, #10] + 800e01e: f8ad 1008 strh.w r1, [sp, #8] + 800e022: f88d 300c strb.w r3, [sp, #12] + 800e026: 2209 movs r2, #9 + 800e028: a901 add r1, sp, #4 + 800e02a: 208c movs r0, #140 ; 0x8c + 800e02c: f7ff fcc2 bl 800d9b4 + 800e030: b004 add sp, #16 + 800e032: bd10 pop {r4, pc} + 800e034: 2bf2 cmp r3, #242 ; 0xf2 + 800e036: d1e4 bne.n 800e002 + 800e038: f641 500f movw r0, #7439 ; 0x1d0f + 800e03c: f7ff fc60 bl 800d900 + 800e040: f241 0021 movw r0, #4129 ; 0x1021 + 800e044: f7ff fc6e bl 800d924 + 800e048: 2306 movs r3, #6 + 800e04a: e7da b.n 800e002 + 800e04c: 7b23 ldrb r3, [r4, #12] + 800e04e: f88d 3004 strb.w r3, [sp, #4] + 800e052: 2201 movs r2, #1 + 800e054: e7e8 b.n 800e028 + 800e056: 89e3 ldrh r3, [r4, #14] + 800e058: 4a09 ldr r2, [pc, #36] ; (800e080 ) + 800e05a: ba5b rev16 r3, r3 + 800e05c: f8ad 3004 strh.w r3, [sp, #4] + 800e060: 7c23 ldrb r3, [r4, #16] + 800e062: 7013 strb r3, [r2, #0] + 800e064: f88d 3006 strb.w r3, [sp, #6] + 800e068: 7c63 ldrb r3, [r4, #17] + 800e06a: f88d 3007 strb.w r3, [sp, #7] + 800e06e: 8a63 ldrh r3, [r4, #18] + 800e070: f8ad 3008 strh.w r3, [sp, #8] + 800e074: 2206 movs r2, #6 + 800e076: e7d7 b.n 800e028 + 800e078: 0800f128 .word 0x0800f128 + 800e07c: 20001b63 .word 0x20001b63 + 800e080: 20001b61 .word 0x20001b61 -0800ddd0 : - 800ddd0: b507 push {r0, r1, r2, lr} - 800ddd2: 2201 movs r2, #1 - 800ddd4: f88d 0007 strb.w r0, [sp, #7] - 800ddd8: f10d 0107 add.w r1, sp, #7 - 800dddc: 2080 movs r0, #128 ; 0x80 - 800ddde: f7ff ffcd bl 800dd7c - 800dde2: f89d 3007 ldrb.w r3, [sp, #7] - 800dde6: 2b00 cmp r3, #0 - 800dde8: 4b03 ldr r3, [pc, #12] ; (800ddf8 ) - 800ddea: bf0c ite eq - 800ddec: 2201 moveq r2, #1 - 800ddee: 2202 movne r2, #2 - 800ddf0: 701a strb r2, [r3, #0] - 800ddf2: b003 add sp, #12 - 800ddf4: f85d fb04 ldr.w pc, [sp], #4 - 800ddf8: 20001b62 .word 0x20001b62 - -0800ddfc : - 800ddfc: b507 push {r0, r1, r2, lr} - 800ddfe: 4b09 ldr r3, [pc, #36] ; (800de24 ) - 800de00: f88d 0006 strb.w r0, [sp, #6] - 800de04: 2204 movs r2, #4 - 800de06: 701a strb r2, [r3, #0] - 800de08: 0c03 lsrs r3, r0, #16 - 800de0a: f88d 3004 strb.w r3, [sp, #4] - 800de0e: 2203 movs r2, #3 - 800de10: 0a03 lsrs r3, r0, #8 - 800de12: a901 add r1, sp, #4 - 800de14: 2083 movs r0, #131 ; 0x83 - 800de16: f88d 3005 strb.w r3, [sp, #5] - 800de1a: f7ff ffaf bl 800dd7c - 800de1e: b003 add sp, #12 - 800de20: f85d fb04 ldr.w pc, [sp], #4 - 800de24: 20001b62 .word 0x20001b62 - -0800de28 : - 800de28: b510 push {r4, lr} - 800de2a: 4614 mov r4, r2 - 800de2c: f7ff ff90 bl 800dd50 - 800de30: 4620 mov r0, r4 - 800de32: e8bd 4010 ldmia.w sp!, {r4, lr} - 800de36: f7ff bfe1 b.w 800ddfc - ... - -0800de3c : - 800de3c: b507 push {r0, r1, r2, lr} - 800de3e: 4b09 ldr r3, [pc, #36] ; (800de64 ) - 800de40: f88d 0006 strb.w r0, [sp, #6] - 800de44: 2205 movs r2, #5 - 800de46: 701a strb r2, [r3, #0] - 800de48: 0c03 lsrs r3, r0, #16 - 800de4a: f88d 3004 strb.w r3, [sp, #4] - 800de4e: 2203 movs r2, #3 - 800de50: 0a03 lsrs r3, r0, #8 - 800de52: a901 add r1, sp, #4 - 800de54: 2082 movs r0, #130 ; 0x82 - 800de56: f88d 3005 strb.w r3, [sp, #5] - 800de5a: f7ff ff8f bl 800dd7c - 800de5e: b003 add sp, #12 - 800de60: f85d fb04 ldr.w pc, [sp], #4 - 800de64: 20001b62 .word 0x20001b62 - -0800de68 : - 800de68: b573 push {r0, r1, r4, r5, r6, lr} - 800de6a: 2600 movs r6, #0 - 800de6c: f640 00e2 movw r0, #2274 ; 0x8e2 - 800de70: 9601 str r6, [sp, #4] - 800de72: f7ff fecf bl 800dc14 - 800de76: f000 01fe and.w r1, r0, #254 ; 0xfe - 800de7a: 4605 mov r5, r0 - 800de7c: f640 00e2 movw r0, #2274 ; 0x8e2 - 800de80: f7ff feb8 bl 800dbf4 - 800de84: f640 00e5 movw r0, #2277 ; 0x8e5 - 800de88: f7ff fec4 bl 800dc14 - 800de8c: f000 017f and.w r1, r0, #127 ; 0x7f - 800de90: 4604 mov r4, r0 - 800de92: f640 00e5 movw r0, #2277 ; 0x8e5 - 800de96: f7ff fead bl 800dbf4 - 800de9a: f06f 407f mvn.w r0, #4278190080 ; 0xff000000 - 800de9e: f7ff ffcd bl 800de3c - 800dea2: 2204 movs r2, #4 - 800dea4: eb0d 0102 add.w r1, sp, r2 - 800dea8: f640 0019 movw r0, #2073 ; 0x819 - 800deac: f7ff ff30 bl 800dd10 - 800deb0: 4630 mov r0, r6 - 800deb2: f7ff ff8d bl 800ddd0 - 800deb6: 4629 mov r1, r5 - 800deb8: f640 00e2 movw r0, #2274 ; 0x8e2 - 800debc: f7ff fe9a bl 800dbf4 - 800dec0: 4621 mov r1, r4 - 800dec2: f640 00e5 movw r0, #2277 ; 0x8e5 - 800dec6: f7ff fe95 bl 800dbf4 - 800deca: 9801 ldr r0, [sp, #4] - 800decc: b002 add sp, #8 - 800dece: bd70 pop {r4, r5, r6, pc} - -0800ded0 : - 800ded0: b513 push {r0, r1, r4, lr} - 800ded2: 4b0c ldr r3, [pc, #48] ; (800df04 ) - 800ded4: 4604 mov r4, r0 - 800ded6: 2205 movs r2, #5 - 800ded8: 2197 movs r1, #151 ; 0x97 - 800deda: f640 00ac movw r0, #2220 ; 0x8ac - 800dede: 701a strb r2, [r3, #0] - 800dee0: f7ff fe88 bl 800dbf4 - 800dee4: 0c23 lsrs r3, r4, #16 - 800dee6: f88d 3004 strb.w r3, [sp, #4] - 800deea: 2203 movs r2, #3 - 800deec: 0a23 lsrs r3, r4, #8 - 800deee: a901 add r1, sp, #4 - 800def0: 2082 movs r0, #130 ; 0x82 - 800def2: f88d 3005 strb.w r3, [sp, #5] - 800def6: f88d 4006 strb.w r4, [sp, #6] - 800defa: f7ff ff3f bl 800dd7c - 800defe: b002 add sp, #8 - 800df00: bd10 pop {r4, pc} - 800df02: bf00 nop - 800df04: 20001b62 .word 0x20001b62 - -0800df08 : - 800df08: b507 push {r0, r1, r2, lr} - 800df0a: 0c03 lsrs r3, r0, #16 - 800df0c: f88d 3000 strb.w r3, [sp] - 800df10: 0a03 lsrs r3, r0, #8 - 800df12: f88d 3001 strb.w r3, [sp, #1] - 800df16: 0c0b lsrs r3, r1, #16 - 800df18: ba49 rev16 r1, r1 - 800df1a: f88d 0002 strb.w r0, [sp, #2] - 800df1e: f8ad 1004 strh.w r1, [sp, #4] - 800df22: 2206 movs r2, #6 - 800df24: 4669 mov r1, sp - 800df26: 2094 movs r0, #148 ; 0x94 - 800df28: f88d 3003 strb.w r3, [sp, #3] - 800df2c: f7ff ff26 bl 800dd7c - 800df30: 4b02 ldr r3, [pc, #8] ; (800df3c ) - 800df32: 2206 movs r2, #6 - 800df34: 701a strb r2, [r3, #0] - 800df36: b003 add sp, #12 - 800df38: f85d fb04 ldr.w pc, [sp], #4 - 800df3c: 20001b62 .word 0x20001b62 - -0800df40 : - 800df40: 2200 movs r2, #0 - 800df42: b508 push {r3, lr} - 800df44: 4611 mov r1, r2 - 800df46: 20c5 movs r0, #197 ; 0xc5 - 800df48: f7ff ff18 bl 800dd7c - 800df4c: 4b01 ldr r3, [pc, #4] ; (800df54 ) - 800df4e: 2207 movs r2, #7 - 800df50: 701a strb r2, [r3, #0] - 800df52: bd08 pop {r3, pc} - 800df54: 20001b62 .word 0x20001b62 - -0800df58 : - 800df58: 2200 movs r2, #0 - 800df5a: 4611 mov r1, r2 - 800df5c: 20d1 movs r0, #209 ; 0xd1 - 800df5e: f7ff bf0d b.w 800dd7c - -0800df62 : - 800df62: 2200 movs r2, #0 - 800df64: 4611 mov r1, r2 - 800df66: 20d2 movs r0, #210 ; 0xd2 - 800df68: f7ff bf08 b.w 800dd7c - -0800df6c : - 800df6c: b507 push {r0, r1, r2, lr} - 800df6e: 2201 movs r2, #1 - 800df70: f88d 0007 strb.w r0, [sp, #7] - 800df74: f10d 0107 add.w r1, sp, #7 - 800df78: 209f movs r0, #159 ; 0x9f - 800df7a: f7ff feff bl 800dd7c - 800df7e: b003 add sp, #12 - 800df80: f85d fb04 ldr.w pc, [sp], #4 - -0800df84 : - 800df84: b507 push {r0, r1, r2, lr} - 800df86: 2201 movs r2, #1 - 800df88: f88d 0007 strb.w r0, [sp, #7] - 800df8c: f10d 0107 add.w r1, sp, #7 - 800df90: 20a0 movs r0, #160 ; 0xa0 - 800df92: f7ff fef3 bl 800dd7c - 800df96: f89d 1007 ldrb.w r1, [sp, #7] - 800df9a: 293f cmp r1, #63 ; 0x3f - 800df9c: d907 bls.n 800dfae - 800df9e: f001 01f8 and.w r1, r1, #248 ; 0xf8 - 800dfa2: 3101 adds r1, #1 - 800dfa4: b2c9 uxtb r1, r1 - 800dfa6: f240 7006 movw r0, #1798 ; 0x706 - 800dfaa: f7ff fe23 bl 800dbf4 - 800dfae: b003 add sp, #12 - 800dfb0: f85d fb04 ldr.w pc, [sp], #4 - -0800dfb4 : - 800dfb4: b507 push {r0, r1, r2, lr} - 800dfb6: f7f4 fbe1 bl 800277c - 800dfba: 1e43 subs r3, r0, #1 - 800dfbc: 4258 negs r0, r3 - 800dfbe: 4158 adcs r0, r3 - 800dfc0: f88d 0007 strb.w r0, [sp, #7] - 800dfc4: 2201 movs r2, #1 - 800dfc6: f10d 0107 add.w r1, sp, #7 - 800dfca: 2096 movs r0, #150 ; 0x96 - 800dfcc: f7ff fed6 bl 800dd7c - 800dfd0: b003 add sp, #12 - 800dfd2: f85d fb04 ldr.w pc, [sp], #4 - -0800dfd6 : - 800dfd6: b507 push {r0, r1, r2, lr} - 800dfd8: f000 007f and.w r0, r0, #127 ; 0x7f - 800dfdc: f88d 0007 strb.w r0, [sp, #7] - 800dfe0: 2201 movs r2, #1 - 800dfe2: f10d 0107 add.w r1, sp, #7 - 800dfe6: 2089 movs r0, #137 ; 0x89 - 800dfe8: f7ff fec8 bl 800dd7c - 800dfec: b003 add sp, #12 - 800dfee: f85d fb04 ldr.w pc, [sp], #4 - ... - -0800dff4 : - 800dff4: 4b15 ldr r3, [pc, #84] ; (800e04c ) - 800dff6: 4298 cmp r0, r3 - 800dff8: b507 push {r0, r1, r2, lr} - 800dffa: d81b bhi.n 800e034 - 800dffc: 4b14 ldr r3, [pc, #80] ; (800e050 ) - 800dffe: 4298 cmp r0, r3 - 800e000: d81b bhi.n 800e03a - 800e002: 4b14 ldr r3, [pc, #80] ; (800e054 ) - 800e004: 4298 cmp r0, r3 - 800e006: d81b bhi.n 800e040 - 800e008: 4b13 ldr r3, [pc, #76] ; (800e058 ) - 800e00a: 4298 cmp r0, r3 - 800e00c: d81b bhi.n 800e046 - 800e00e: 4b13 ldr r3, [pc, #76] ; (800e05c ) - 800e010: 4298 cmp r0, r3 - 800e012: bf95 itete ls - 800e014: 2229 movls r2, #41 ; 0x29 - 800e016: 226b movhi r2, #107 ; 0x6b - 800e018: 232b movls r3, #43 ; 0x2b - 800e01a: 236f movhi r3, #111 ; 0x6f - 800e01c: f88d 2004 strb.w r2, [sp, #4] - 800e020: a901 add r1, sp, #4 - 800e022: 2202 movs r2, #2 - 800e024: 2098 movs r0, #152 ; 0x98 - 800e026: f88d 3005 strb.w r3, [sp, #5] - 800e02a: f7ff fea7 bl 800dd7c - 800e02e: b003 add sp, #12 - 800e030: f85d fb04 ldr.w pc, [sp], #4 - 800e034: 22e1 movs r2, #225 ; 0xe1 - 800e036: 23e9 movs r3, #233 ; 0xe9 - 800e038: e7f0 b.n 800e01c - 800e03a: 22d7 movs r2, #215 ; 0xd7 - 800e03c: 23db movs r3, #219 ; 0xdb - 800e03e: e7ed b.n 800e01c - 800e040: 22c1 movs r2, #193 ; 0xc1 - 800e042: 23c5 movs r3, #197 ; 0xc5 - 800e044: e7ea b.n 800e01c - 800e046: 2275 movs r2, #117 ; 0x75 - 800e048: 2381 movs r3, #129 ; 0x81 - 800e04a: e7e7 b.n 800e01c - 800e04c: 35a4e900 .word 0x35a4e900 - 800e050: 32a9f880 .word 0x32a9f880 - 800e054: 2de54480 .word 0x2de54480 - 800e058: 1b6b0b00 .word 0x1b6b0b00 - 800e05c: 1954fc40 .word 0x1954fc40 - -0800e060 : - 800e060: b507 push {r0, r1, r2, lr} - 800e062: f88d 2006 strb.w r2, [sp, #6] - 800e066: 2204 movs r2, #4 - 800e068: f88d 0004 strb.w r0, [sp, #4] - 800e06c: f88d 1005 strb.w r1, [sp, #5] - 800e070: 2095 movs r0, #149 ; 0x95 - 800e072: eb0d 0102 add.w r1, sp, r2 - 800e076: f88d 3007 strb.w r3, [sp, #7] - 800e07a: f7ff fe7f bl 800dd7c - 800e07e: b003 add sp, #12 - 800e080: f85d fb04 ldr.w pc, [sp], #4 - -0800e084 : +0800e084 : 800e084: b507 push {r0, r1, r2, lr} - 800e086: ba52 rev16 r2, r2 - 800e088: f8ad 2004 strh.w r2, [sp, #4] - 800e08c: ba40 rev16 r0, r0 - 800e08e: 2208 movs r2, #8 - 800e090: ba49 rev16 r1, r1 - 800e092: f8ad 0000 strh.w r0, [sp] - 800e096: f8ad 1002 strh.w r1, [sp, #2] - 800e09a: ba5b rev16 r3, r3 - 800e09c: 4669 mov r1, sp - 800e09e: 4610 mov r0, r2 - 800e0a0: f8ad 3006 strh.w r3, [sp, #6] - 800e0a4: f7ff fe6a bl 800dd7c - 800e0a8: b003 add sp, #12 - 800e0aa: f85d fb04 ldr.w pc, [sp], #4 - -0800e0ae : - 800e0ae: b507 push {r0, r1, r2, lr} - 800e0b0: 0c0b lsrs r3, r1, #16 - 800e0b2: 2204 movs r2, #4 - 800e0b4: f000 0007 and.w r0, r0, #7 - 800e0b8: ba49 rev16 r1, r1 - 800e0ba: f88d 0004 strb.w r0, [sp, #4] - 800e0be: f8ad 1006 strh.w r1, [sp, #6] - 800e0c2: 2097 movs r0, #151 ; 0x97 - 800e0c4: eb0d 0102 add.w r1, sp, r2 - 800e0c8: f88d 3005 strb.w r3, [sp, #5] - 800e0cc: f7ff fe56 bl 800dd7c - 800e0d0: b003 add sp, #12 - 800e0d2: f85d fb04 ldr.w pc, [sp], #4 + 800e086: 2202 movs r2, #2 + 800e088: f88d 0004 strb.w r0, [sp, #4] + 800e08c: f88d 1005 strb.w r1, [sp, #5] + 800e090: 208f movs r0, #143 ; 0x8f + 800e092: a901 add r1, sp, #4 + 800e094: f7ff fc8e bl 800d9b4 + 800e098: b003 add sp, #12 + 800e09a: f85d fb04 ldr.w pc, [sp], #4 ... -0800e0d8 : - 800e0d8: b510 push {r4, lr} - 800e0da: b108 cbz r0, 800e0e0 - 800e0dc: 4b19 ldr r3, [pc, #100] ; (800e144 ) - 800e0de: 6018 str r0, [r3, #0] - 800e0e0: f7f3 faea bl 80016b8 - 800e0e4: 2002 movs r0, #2 - 800e0e6: f7ff fda5 bl 800dc34 - 800e0ea: 2400 movs r4, #0 - 800e0ec: 4b16 ldr r3, [pc, #88] ; (800e148 ) - 800e0ee: 4620 mov r0, r4 - 800e0f0: 701c strb r4, [r3, #0] - 800e0f2: f7ff fe6d bl 800ddd0 - 800e0f6: f7f4 fb3f bl 8002778 - 800e0fa: 2801 cmp r0, #1 - 800e0fc: d117 bne.n 800e12e - 800e0fe: f44f 7120 mov.w r1, #640 ; 0x280 - 800e102: f7ff ffd4 bl 800e0ae - 800e106: f640 1011 movw r0, #2321 ; 0x911 - 800e10a: 4621 mov r1, r4 - 800e10c: f7ff fd72 bl 800dbf4 - 800e110: f04f 007f mov.w r0, #127 ; 0x7f - 800e114: f7ff ff5f bl 800dfd6 - 800e118: 210e movs r1, #14 - 800e11a: f640 101f movw r0, #2335 ; 0x91f - 800e11e: f7ff fd69 bl 800dbf4 - 800e122: f7f4 fad1 bl 80026c8 - 800e126: 4b09 ldr r3, [pc, #36] ; (800e14c ) - 800e128: 2201 movs r2, #1 - 800e12a: 701a strb r2, [r3, #0] - 800e12c: bd10 pop {r4, pc} - 800e12e: 2110 movs r1, #16 - 800e130: f640 1011 movw r0, #2321 ; 0x911 - 800e134: f7ff fd5e bl 800dbf4 - 800e138: 2110 movs r1, #16 - 800e13a: f640 1012 movw r0, #2322 ; 0x912 - 800e13e: f7ff fd59 bl 800dbf4 - 800e142: e7e9 b.n 800e118 - 800e144: 20001b64 .word 0x20001b64 - 800e148: 20001b60 .word 0x20001b60 - 800e14c: 20001b62 .word 0x20001b62 +0800e0a0 : + 800e0a0: b510 push {r4, lr} + 800e0a2: 4613 mov r3, r2 + 800e0a4: f3ef 8410 mrs r4, PRIMASK + 800e0a8: b672 cpsid i + 800e0aa: 460a mov r2, r1 + 800e0ac: 4601 mov r1, r0 + 800e0ae: 4803 ldr r0, [pc, #12] ; (800e0bc ) + 800e0b0: f7f6 fd06 bl 8004ac0 + 800e0b4: f384 8810 msr PRIMASK, r4 + 800e0b8: bd10 pop {r4, pc} + 800e0ba: bf00 nop + 800e0bc: 200001c4 .word 0x200001c4 -0800e150 : - 800e150: b537 push {r0, r1, r2, r4, r5, lr} - 800e152: 4d0c ldr r5, [pc, #48] ; (800e184 ) - 800e154: 782b ldrb r3, [r5, #0] - 800e156: 4604 mov r4, r0 - 800e158: b91b cbnz r3, 800e162 - 800e15a: f7ff ff4b bl 800dff4 - 800e15e: 2301 movs r3, #1 - 800e160: 702b strb r3, [r5, #0] - 800e162: 2300 movs r3, #0 - 800e164: 4a08 ldr r2, [pc, #32] ; (800e188 ) - 800e166: 0660 lsls r0, r4, #25 - 800e168: 09e1 lsrs r1, r4, #7 - 800e16a: f7f2 fd1d bl 8000ba8 <__aeabi_uldivmod> - 800e16e: 2204 movs r2, #4 - 800e170: ba00 rev r0, r0 - 800e172: 9001 str r0, [sp, #4] - 800e174: eb0d 0102 add.w r1, sp, r2 - 800e178: 2086 movs r0, #134 ; 0x86 - 800e17a: f7ff fdff bl 800dd7c - 800e17e: b003 add sp, #12 - 800e180: bd30 pop {r4, r5, pc} - 800e182: bf00 nop - 800e184: 20001b60 .word 0x20001b60 - 800e188: 01e84800 .word 0x01e84800 +0800e0c0 : + 800e0c0: b507 push {r0, r1, r2, lr} + 800e0c2: 2201 movs r2, #1 + 800e0c4: a901 add r1, sp, #4 + 800e0c6: 2015 movs r0, #21 + 800e0c8: f7ff ffea bl 800e0a0 + 800e0cc: f89d 0004 ldrb.w r0, [sp, #4] + 800e0d0: 4240 negs r0, r0 + 800e0d2: 1040 asrs r0, r0, #1 + 800e0d4: b003 add sp, #12 + 800e0d6: f85d fb04 ldr.w pc, [sp], #4 + ... -0800e18c : - 800e18c: b507 push {r0, r1, r2, lr} - 800e18e: 4b09 ldr r3, [pc, #36] ; (800e1b4 ) - 800e190: f88d 0007 strb.w r0, [sp, #7] - 800e194: 4601 mov r1, r0 - 800e196: 7018 strb r0, [r3, #0] - 800e198: b918 cbnz r0, 800e1a2 - 800e19a: f240 60ac movw r0, #1708 ; 0x6ac - 800e19e: f7ff fd29 bl 800dbf4 - 800e1a2: 2201 movs r2, #1 - 800e1a4: f10d 0107 add.w r1, sp, #7 - 800e1a8: 208a movs r0, #138 ; 0x8a - 800e1aa: f7ff fde7 bl 800dd7c - 800e1ae: b003 add sp, #12 - 800e1b0: f85d fb04 ldr.w pc, [sp], #4 - 800e1b4: 20001b63 .word 0x20001b63 +0800e0dc : + 800e0dc: b537 push {r0, r1, r2, r4, r5, lr} + 800e0de: 4605 mov r5, r0 + 800e0e0: 460c mov r4, r1 + 800e0e2: 2202 movs r2, #2 + 800e0e4: a901 add r1, sp, #4 + 800e0e6: 2013 movs r0, #19 + 800e0e8: f7ff ffda bl 800e0a0 + 800e0ec: 4b0a ldr r3, [pc, #40] ; (800e118 ) + 800e0ee: 781b ldrb r3, [r3, #0] + 800e0f0: 2b01 cmp r3, #1 + 800e0f2: d10d bne.n 800e110 + 800e0f4: 4b09 ldr r3, [pc, #36] ; (800e11c ) + 800e0f6: 781b ldrb r3, [r3, #0] + 800e0f8: 2b01 cmp r3, #1 + 800e0fa: d109 bne.n 800e110 + 800e0fc: f240 7002 movw r0, #1794 ; 0x702 + 800e100: f7ff fba4 bl 800d84c + 800e104: f89d 3005 ldrb.w r3, [sp, #5] + 800e108: 7028 strb r0, [r5, #0] + 800e10a: 7023 strb r3, [r4, #0] + 800e10c: b003 add sp, #12 + 800e10e: bd30 pop {r4, r5, pc} + 800e110: f89d 0004 ldrb.w r0, [sp, #4] + 800e114: e7f6 b.n 800e104 + 800e116: bf00 nop + 800e118: 20001b63 .word 0x20001b63 + 800e11c: 20001b61 .word 0x20001b61 -0800e1b8 : - 800e1b8: 2801 cmp r0, #1 - 800e1ba: b573 push {r0, r1, r4, r5, r6, lr} - 800e1bc: 460c mov r4, r1 - 800e1be: 4616 mov r6, r2 - 800e1c0: d137 bne.n 800e232 - 800e1c2: 2000 movs r0, #0 - 800e1c4: f7f4 fadc bl 8002780 - 800e1c8: 42a0 cmp r0, r4 - 800e1ca: bfb8 it lt - 800e1cc: b244 sxtblt r4, r0 - 800e1ce: 280e cmp r0, #14 - 800e1d0: 4605 mov r5, r0 - 800e1d2: d11a bne.n 800e20a - 800e1d4: 2301 movs r3, #1 - 800e1d6: 461a mov r2, r3 - 800e1d8: 2100 movs r1, #0 +0800e120 : + 800e120: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} + 800e122: 460d mov r5, r1 + 800e124: 4606 mov r6, r0 + 800e126: 2400 movs r4, #0 + 800e128: f10d 0107 add.w r1, sp, #7 + 800e12c: 4628 mov r0, r5 + 800e12e: 4617 mov r7, r2 + 800e130: f88d 4007 strb.w r4, [sp, #7] + 800e134: f7ff ffd2 bl 800e0dc + 800e138: 782a ldrb r2, [r5, #0] + 800e13a: 42ba cmp r2, r7 + 800e13c: d807 bhi.n 800e14e + 800e13e: f89d 0007 ldrb.w r0, [sp, #7] + 800e142: 4631 mov r1, r6 + 800e144: f7ff fc26 bl 800d994 + 800e148: 4620 mov r0, r4 + 800e14a: b003 add sp, #12 + 800e14c: bdf0 pop {r4, r5, r6, r7, pc} + 800e14e: 2001 movs r0, #1 + 800e150: e7fb b.n 800e14a + ... + +0800e154 : + 800e154: b513 push {r0, r1, r4, lr} + 800e156: 2203 movs r2, #3 + 800e158: 4604 mov r4, r0 + 800e15a: a901 add r1, sp, #4 + 800e15c: 2014 movs r0, #20 + 800e15e: f7ff ff9f bl 800e0a0 + 800e162: 4b18 ldr r3, [pc, #96] ; (800e1c4 ) + 800e164: 781a ldrb r2, [r3, #0] + 800e166: 7022 strb r2, [r4, #0] + 800e168: b14a cbz r2, 800e17e + 800e16a: 2a01 cmp r2, #1 + 800e16c: d017 beq.n 800e19e + 800e16e: 2214 movs r2, #20 + 800e170: 2100 movs r1, #0 + 800e172: 4620 mov r0, r4 + 800e174: f000 fad2 bl 800e71c + 800e178: 230f movs r3, #15 + 800e17a: 7023 strb r3, [r4, #0] + 800e17c: e00d b.n 800e19a + 800e17e: f89d 3004 ldrb.w r3, [sp, #4] + 800e182: 7123 strb r3, [r4, #4] + 800e184: f89d 3005 ldrb.w r3, [sp, #5] + 800e188: 60a2 str r2, [r4, #8] + 800e18a: 425b negs r3, r3 + 800e18c: 105b asrs r3, r3, #1 + 800e18e: 71a3 strb r3, [r4, #6] + 800e190: f89d 3006 ldrb.w r3, [sp, #6] + 800e194: 425b negs r3, r3 + 800e196: 105b asrs r3, r3, #1 + 800e198: 7163 strb r3, [r4, #5] + 800e19a: b002 add sp, #8 + 800e19c: bd10 pop {r4, pc} + 800e19e: f89d 3004 ldrb.w r3, [sp, #4] + 800e1a2: 425b negs r3, r3 + 800e1a4: 105b asrs r3, r3, #1 + 800e1a6: 7323 strb r3, [r4, #12] + 800e1a8: f99d 3005 ldrsb.w r3, [sp, #5] + 800e1ac: 3302 adds r3, #2 + 800e1ae: 109b asrs r3, r3, #2 + 800e1b0: 7363 strb r3, [r4, #13] + 800e1b2: f89d 3006 ldrb.w r3, [sp, #6] + 800e1b6: 425b negs r3, r3 + 800e1b8: 105b asrs r3, r3, #1 + 800e1ba: 73a3 strb r3, [r4, #14] + 800e1bc: 4b02 ldr r3, [pc, #8] ; (800e1c8 ) + 800e1be: 681b ldr r3, [r3, #0] + 800e1c0: 6123 str r3, [r4, #16] + 800e1c2: e7ea b.n 800e19a + 800e1c4: 20001b63 .word 0x20001b63 + 800e1c8: 20001b5c .word 0x20001b5c + +0800e1cc : + 800e1cc: 2901 cmp r1, #1 + 800e1ce: b508 push {r3, lr} + 800e1d0: 4603 mov r3, r0 + 800e1d2: 4608 mov r0, r1 + 800e1d4: d10e bne.n 800e1f4 + 800e1d6: 2b01 cmp r3, #1 + 800e1d8: d107 bne.n 800e1ea 800e1da: 2004 movs r0, #4 - 800e1dc: f7ff ff40 bl 800e060 - 800e1e0: f06f 0310 mvn.w r3, #16 - 800e1e4: 429c cmp r4, r3 - 800e1e6: bfb8 it lt - 800e1e8: 461c movlt r4, r3 - 800e1ea: 2118 movs r1, #24 - 800e1ec: f640 00e7 movw r0, #2279 ; 0x8e7 - 800e1f0: f7ff fd00 bl 800dbf4 - 800e1f4: 2202 movs r2, #2 - 800e1f6: a901 add r1, sp, #4 - 800e1f8: 208e movs r0, #142 ; 0x8e - 800e1fa: f88d 4004 strb.w r4, [sp, #4] - 800e1fe: f88d 6005 strb.w r6, [sp, #5] - 800e202: f7ff fdbb bl 800dd7c - 800e206: b002 add sp, #8 - 800e208: bd70 pop {r4, r5, r6, pc} - 800e20a: 2301 movs r3, #1 - 800e20c: 280a cmp r0, #10 - 800e20e: b2e4 uxtb r4, r4 - 800e210: 461a mov r2, r3 - 800e212: f04f 0100 mov.w r1, #0 - 800e216: d105 bne.n 800e224 - 800e218: 4618 mov r0, r3 - 800e21a: f7ff ff21 bl 800e060 - 800e21e: 3403 adds r4, #3 - 800e220: b264 sxtb r4, r4 - 800e222: e7dd b.n 800e1e0 - 800e224: 2007 movs r0, #7 - 800e226: f1c5 050e rsb r5, r5, #14 - 800e22a: f7ff ff19 bl 800e060 - 800e22e: 442c add r4, r5 - 800e230: e7f6 b.n 800e220 - 800e232: f640 00d8 movw r0, #2264 ; 0x8d8 - 800e236: f7ff fced bl 800dc14 - 800e23a: f040 011e orr.w r1, r0, #30 - 800e23e: b2c9 uxtb r1, r1 - 800e240: f640 00d8 movw r0, #2264 ; 0x8d8 - 800e244: f7ff fcd6 bl 800dbf4 - 800e248: 2001 movs r0, #1 - 800e24a: f7f4 fa99 bl 8002780 - 800e24e: 42a0 cmp r0, r4 - 800e250: bfb8 it lt - 800e252: b244 sxtblt r4, r0 - 800e254: 2814 cmp r0, #20 - 800e256: 4605 mov r5, r0 - 800e258: f04f 0301 mov.w r3, #1 - 800e25c: f04f 0200 mov.w r2, #0 - 800e260: d10c bne.n 800e27c - 800e262: 2105 movs r1, #5 - 800e264: 2003 movs r0, #3 - 800e266: f7ff fefb bl 800e060 - 800e26a: 3402 adds r4, #2 - 800e26c: b264 sxtb r4, r4 - 800e26e: f06f 0308 mvn.w r3, #8 - 800e272: 429c cmp r4, r3 - 800e274: bfb8 it lt - 800e276: 461c movlt r4, r3 - 800e278: 2138 movs r1, #56 ; 0x38 - 800e27a: e7b7 b.n 800e1ec - 800e27c: 2811 cmp r0, #17 - 800e27e: d105 bne.n 800e28c - 800e280: 2103 movs r1, #3 - 800e282: 2002 movs r0, #2 - 800e284: f7ff feec bl 800e060 - 800e288: 3405 adds r4, #5 - 800e28a: e7ef b.n 800e26c - 800e28c: 280e cmp r0, #14 - 800e28e: d104 bne.n 800e29a - 800e290: 2102 movs r1, #2 - 800e292: 4608 mov r0, r1 - 800e294: f7ff fee4 bl 800e060 - 800e298: e7e9 b.n 800e26e - 800e29a: f1c5 0516 rsb r5, r5, #22 - 800e29e: 2107 movs r1, #7 - 800e2a0: 2004 movs r0, #4 - 800e2a2: 4425 add r5, r4 - 800e2a4: f7ff fedc bl 800e060 - 800e2a8: b26c sxtb r4, r5 - 800e2aa: e7e0 b.n 800e26e + 800e1dc: f7ff fb46 bl 800d86c + 800e1e0: 2002 movs r0, #2 + 800e1e2: e8bd 4008 ldmia.w sp!, {r3, lr} + 800e1e6: f7f4 b8df b.w 80023a8 + 800e1ea: 2b02 cmp r3, #2 + 800e1ec: bf14 ite ne + 800e1ee: 4608 movne r0, r1 + 800e1f0: 2003 moveq r0, #3 + 800e1f2: e7f6 b.n 800e1e2 + 800e1f4: 2001 movs r0, #1 + 800e1f6: e7f4 b.n 800e1e2 -0800e2ac : - 800e2ac: b513 push {r0, r1, r4, lr} - 800e2ae: 4a31 ldr r2, [pc, #196] ; (800e374 ) - 800e2b0: 4604 mov r4, r0 - 800e2b2: 6851 ldr r1, [r2, #4] - 800e2b4: 6810 ldr r0, [r2, #0] - 800e2b6: 466b mov r3, sp - 800e2b8: c303 stmia r3!, {r0, r1} - 800e2ba: 4b2f ldr r3, [pc, #188] ; (800e378 ) - 800e2bc: 7820 ldrb r0, [r4, #0] - 800e2be: 781b ldrb r3, [r3, #0] - 800e2c0: 4283 cmp r3, r0 - 800e2c2: d001 beq.n 800e2c8 - 800e2c4: f7ff ff62 bl 800e18c - 800e2c8: 7823 ldrb r3, [r4, #0] - 800e2ca: 2b03 cmp r3, #3 - 800e2cc: d827 bhi.n 800e31e - 800e2ce: e8df f003 tbb [pc, r3] - 800e2d2: 3902 .short 0x3902 - 800e2d4: 3c28 .short 0x3c28 - 800e2d6: 6862 ldr r2, [r4, #4] - 800e2d8: 4b28 ldr r3, [pc, #160] ; (800e37c ) - 800e2da: fbb3 f3f2 udiv r3, r3, r2 - 800e2de: 0c1a lsrs r2, r3, #16 - 800e2e0: 68a1 ldr r1, [r4, #8] - 800e2e2: f88d 2000 strb.w r2, [sp] - 800e2e6: f88d 3002 strb.w r3, [sp, #2] - 800e2ea: 0a1a lsrs r2, r3, #8 - 800e2ec: 7b23 ldrb r3, [r4, #12] - 800e2ee: f88d 3003 strb.w r3, [sp, #3] - 800e2f2: 7b63 ldrb r3, [r4, #13] - 800e2f4: f88d 2001 strb.w r2, [sp, #1] - 800e2f8: f88d 3004 strb.w r3, [sp, #4] - 800e2fc: 4a20 ldr r2, [pc, #128] ; (800e380 ) - 800e2fe: 2300 movs r3, #0 - 800e300: 0648 lsls r0, r1, #25 - 800e302: 09c9 lsrs r1, r1, #7 - 800e304: f7f2 fc50 bl 8000ba8 <__aeabi_uldivmod> - 800e308: 0c03 lsrs r3, r0, #16 - 800e30a: ba40 rev16 r0, r0 - 800e30c: f88d 3005 strb.w r3, [sp, #5] - 800e310: f8ad 0006 strh.w r0, [sp, #6] - 800e314: 2208 movs r2, #8 - 800e316: 4669 mov r1, sp - 800e318: 208b movs r0, #139 ; 0x8b - 800e31a: f7ff fd2f bl 800dd7c - 800e31e: b002 add sp, #8 - 800e320: bd10 pop {r4, pc} - 800e322: 6922 ldr r2, [r4, #16] - 800e324: 4b15 ldr r3, [pc, #84] ; (800e37c ) - 800e326: fbb3 f3f2 udiv r3, r3, r2 - 800e32a: 0c1a lsrs r2, r3, #16 - 800e32c: f88d 2000 strb.w r2, [sp] - 800e330: f88d 3002 strb.w r3, [sp, #2] - 800e334: 0a1a lsrs r2, r3, #8 - 800e336: 7d23 ldrb r3, [r4, #20] - 800e338: f88d 2001 strb.w r2, [sp, #1] - 800e33c: f88d 3003 strb.w r3, [sp, #3] - 800e340: 2204 movs r2, #4 - 800e342: e7e8 b.n 800e316 - 800e344: 69a3 ldr r3, [r4, #24] - 800e346: 9300 str r3, [sp, #0] - 800e348: e7fa b.n 800e340 - 800e34a: 6862 ldr r2, [r4, #4] - 800e34c: 4b0b ldr r3, [pc, #44] ; (800e37c ) - 800e34e: fbb3 f3f2 udiv r3, r3, r2 - 800e352: 0c1a lsrs r2, r3, #16 - 800e354: f88d 2000 strb.w r2, [sp] - 800e358: f88d 3002 strb.w r3, [sp, #2] - 800e35c: 0a1a lsrs r2, r3, #8 - 800e35e: 7b23 ldrb r3, [r4, #12] - 800e360: f88d 3003 strb.w r3, [sp, #3] - 800e364: 7b63 ldrb r3, [r4, #13] - 800e366: f88d 2001 strb.w r2, [sp, #1] - 800e36a: f88d 3004 strb.w r3, [sp, #4] - 800e36e: 2205 movs r2, #5 - 800e370: e7d1 b.n 800e316 - 800e372: bf00 nop - 800e374: 0800f4f0 .word 0x0800f4f0 - 800e378: 20001b63 .word 0x20001b63 - 800e37c: 3d090000 .word 0x3d090000 - 800e380: 01e84800 .word 0x01e84800 +0800e1f8 : + 800e1f8: b538 push {r3, r4, r5, lr} + 800e1fa: 4604 mov r4, r0 + 800e1fc: f7f4 f8f6 bl 80023ec + 800e200: b150 cbz r0, 800e218 + 800e202: 2802 cmp r0, #2 + 800e204: bf14 ite ne + 800e206: 2501 movne r5, #1 + 800e208: 2502 moveq r5, #2 + 800e20a: 4628 mov r0, r5 + 800e20c: 2202 movs r2, #2 + 800e20e: 4621 mov r1, r4 + 800e210: f7ff fdee bl 800ddf0 + 800e214: 4628 mov r0, r5 + 800e216: bd38 pop {r3, r4, r5, pc} + 800e218: 2c0f cmp r4, #15 + 800e21a: bfcc ite gt + 800e21c: 2502 movgt r5, #2 + 800e21e: 2501 movle r5, #1 + 800e220: e7f3 b.n 800e20a -0800e384 : - 800e384: b51f push {r0, r1, r2, r3, r4, lr} - 800e386: 4a2e ldr r2, [pc, #184] ; (800e440 ) - 800e388: 4604 mov r4, r0 - 800e38a: 68d1 ldr r1, [r2, #12] - 800e38c: 6890 ldr r0, [r2, #8] - 800e38e: 7c12 ldrb r2, [r2, #16] - 800e390: ab01 add r3, sp, #4 - 800e392: c303 stmia r3!, {r0, r1} - 800e394: 701a strb r2, [r3, #0] - 800e396: 4b2b ldr r3, [pc, #172] ; (800e444 ) - 800e398: 7820 ldrb r0, [r4, #0] - 800e39a: 781b ldrb r3, [r3, #0] - 800e39c: 4283 cmp r3, r0 - 800e39e: d001 beq.n 800e3a4 - 800e3a0: f7ff fef4 bl 800e18c - 800e3a4: 7823 ldrb r3, [r4, #0] - 800e3a6: 2b03 cmp r3, #3 - 800e3a8: d826 bhi.n 800e3f8 - 800e3aa: e8df f003 tbb [pc, r3] - 800e3ae: 3802 .short 0x3802 - 800e3b0: 0233 .short 0x0233 - 800e3b2: 7a63 ldrb r3, [r4, #9] - 800e3b4: 2bf1 cmp r3, #241 ; 0xf1 - 800e3b6: d121 bne.n 800e3fc - 800e3b8: f64f 70ff movw r0, #65535 ; 0xffff - 800e3bc: f7ff fc84 bl 800dcc8 - 800e3c0: f248 0005 movw r0, #32773 ; 0x8005 - 800e3c4: f7ff fc92 bl 800dcec - 800e3c8: 2302 movs r3, #2 - 800e3ca: 8862 ldrh r2, [r4, #2] - 800e3cc: 88a1 ldrh r1, [r4, #4] - 800e3ce: f8ad 1006 strh.w r1, [sp, #6] - 800e3d2: ba52 rev16 r2, r2 - 800e3d4: 88e1 ldrh r1, [r4, #6] - 800e3d6: f8ad 2004 strh.w r2, [sp, #4] - 800e3da: f88d 300b strb.w r3, [sp, #11] - 800e3de: 7a22 ldrb r2, [r4, #8] - 800e3e0: 7aa3 ldrb r3, [r4, #10] - 800e3e2: f88d 200a strb.w r2, [sp, #10] - 800e3e6: f8ad 1008 strh.w r1, [sp, #8] - 800e3ea: f88d 300c strb.w r3, [sp, #12] - 800e3ee: 2209 movs r2, #9 - 800e3f0: a901 add r1, sp, #4 - 800e3f2: 208c movs r0, #140 ; 0x8c - 800e3f4: f7ff fcc2 bl 800dd7c - 800e3f8: b004 add sp, #16 - 800e3fa: bd10 pop {r4, pc} - 800e3fc: 2bf2 cmp r3, #242 ; 0xf2 - 800e3fe: d1e4 bne.n 800e3ca - 800e400: f641 500f movw r0, #7439 ; 0x1d0f - 800e404: f7ff fc60 bl 800dcc8 - 800e408: f241 0021 movw r0, #4129 ; 0x1021 - 800e40c: f7ff fc6e bl 800dcec - 800e410: 2306 movs r3, #6 - 800e412: e7da b.n 800e3ca - 800e414: 7b23 ldrb r3, [r4, #12] - 800e416: f88d 3004 strb.w r3, [sp, #4] - 800e41a: 2201 movs r2, #1 - 800e41c: e7e8 b.n 800e3f0 - 800e41e: 89e3 ldrh r3, [r4, #14] - 800e420: 4a09 ldr r2, [pc, #36] ; (800e448 ) - 800e422: ba5b rev16 r3, r3 - 800e424: f8ad 3004 strh.w r3, [sp, #4] - 800e428: 7c23 ldrb r3, [r4, #16] - 800e42a: 7013 strb r3, [r2, #0] - 800e42c: f88d 3006 strb.w r3, [sp, #6] - 800e430: 7c63 ldrb r3, [r4, #17] - 800e432: f88d 3007 strb.w r3, [sp, #7] - 800e436: 8a63 ldrh r3, [r4, #18] - 800e438: f8ad 3008 strh.w r3, [sp, #8] - 800e43c: 2206 movs r2, #6 - 800e43e: e7d7 b.n 800e3f0 - 800e440: 0800f4f0 .word 0x0800f4f0 - 800e444: 20001b63 .word 0x20001b63 - 800e448: 20001b61 .word 0x20001b61 - -0800e44c : - 800e44c: b507 push {r0, r1, r2, lr} - 800e44e: 2202 movs r2, #2 - 800e450: f88d 0004 strb.w r0, [sp, #4] - 800e454: f88d 1005 strb.w r1, [sp, #5] - 800e458: 208f movs r0, #143 ; 0x8f - 800e45a: a901 add r1, sp, #4 - 800e45c: f7ff fc8e bl 800dd7c - 800e460: b003 add sp, #12 - 800e462: f85d fb04 ldr.w pc, [sp], #4 +0800e222 : + 800e222: 200a movs r0, #10 + 800e224: 4770 bx lr ... -0800e468 : - 800e468: b510 push {r4, lr} - 800e46a: 4613 mov r3, r2 - 800e46c: f3ef 8410 mrs r4, PRIMASK - 800e470: b672 cpsid i - 800e472: 460a mov r2, r1 - 800e474: 4601 mov r1, r0 - 800e476: 4803 ldr r0, [pc, #12] ; (800e484 ) - 800e478: f7f6 fce6 bl 8004e48 - 800e47c: f384 8810 msr PRIMASK, r4 - 800e480: bd10 pop {r4, pc} - 800e482: bf00 nop - 800e484: 200001c4 .word 0x200001c4 +0800e228 : + 800e228: 4b01 ldr r3, [pc, #4] ; (800e230 ) + 800e22a: 2001 movs r0, #1 + 800e22c: 681b ldr r3, [r3, #0] + 800e22e: 4718 bx r3 + 800e230: 20001b64 .word 0x20001b64 -0800e488 : - 800e488: b507 push {r0, r1, r2, lr} - 800e48a: 2201 movs r2, #1 - 800e48c: a901 add r1, sp, #4 - 800e48e: 2015 movs r0, #21 - 800e490: f7ff ffea bl 800e468 - 800e494: f89d 0004 ldrb.w r0, [sp, #4] - 800e498: 4240 negs r0, r0 - 800e49a: 1040 asrs r0, r0, #1 - 800e49c: b003 add sp, #12 - 800e49e: f85d fb04 ldr.w pc, [sp], #4 - ... +0800e234 : + 800e234: 4b01 ldr r3, [pc, #4] ; (800e23c ) + 800e236: 2002 movs r0, #2 + 800e238: 681b ldr r3, [r3, #0] + 800e23a: 4718 bx r3 + 800e23c: 20001b64 .word 0x20001b64 -0800e4a4 : - 800e4a4: b537 push {r0, r1, r2, r4, r5, lr} - 800e4a6: 4605 mov r5, r0 - 800e4a8: 460c mov r4, r1 - 800e4aa: 2202 movs r2, #2 - 800e4ac: a901 add r1, sp, #4 - 800e4ae: 2013 movs r0, #19 - 800e4b0: f7ff ffda bl 800e468 - 800e4b4: 4b0a ldr r3, [pc, #40] ; (800e4e0 ) - 800e4b6: 781b ldrb r3, [r3, #0] - 800e4b8: 2b01 cmp r3, #1 - 800e4ba: d10d bne.n 800e4d8 - 800e4bc: 4b09 ldr r3, [pc, #36] ; (800e4e4 ) - 800e4be: 781b ldrb r3, [r3, #0] - 800e4c0: 2b01 cmp r3, #1 - 800e4c2: d109 bne.n 800e4d8 - 800e4c4: f240 7002 movw r0, #1794 ; 0x702 - 800e4c8: f7ff fba4 bl 800dc14 - 800e4cc: f89d 3005 ldrb.w r3, [sp, #5] - 800e4d0: 7028 strb r0, [r5, #0] - 800e4d2: 7023 strb r3, [r4, #0] - 800e4d4: b003 add sp, #12 - 800e4d6: bd30 pop {r4, r5, pc} - 800e4d8: f89d 0004 ldrb.w r0, [sp, #4] - 800e4dc: e7f6 b.n 800e4cc - 800e4de: bf00 nop - 800e4e0: 20001b63 .word 0x20001b63 - 800e4e4: 20001b61 .word 0x20001b61 +0800e240 : + 800e240: 4b01 ldr r3, [pc, #4] ; (800e248 ) + 800e242: 2040 movs r0, #64 ; 0x40 + 800e244: 681b ldr r3, [r3, #0] + 800e246: 4718 bx r3 + 800e248: 20001b64 .word 0x20001b64 -0800e4e8 : - 800e4e8: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} - 800e4ea: 460d mov r5, r1 - 800e4ec: 4606 mov r6, r0 - 800e4ee: 2400 movs r4, #0 - 800e4f0: f10d 0107 add.w r1, sp, #7 - 800e4f4: 4628 mov r0, r5 - 800e4f6: 4617 mov r7, r2 - 800e4f8: f88d 4007 strb.w r4, [sp, #7] - 800e4fc: f7ff ffd2 bl 800e4a4 - 800e500: 782a ldrb r2, [r5, #0] - 800e502: 42ba cmp r2, r7 - 800e504: d807 bhi.n 800e516 - 800e506: f89d 0007 ldrb.w r0, [sp, #7] - 800e50a: 4631 mov r1, r6 - 800e50c: f7ff fc26 bl 800dd5c - 800e510: 4620 mov r0, r4 - 800e512: b003 add sp, #12 - 800e514: bdf0 pop {r4, r5, r6, r7, pc} - 800e516: 2001 movs r0, #1 - 800e518: e7fb b.n 800e512 - ... +0800e24c : + 800e24c: b111 cbz r1, 800e254 + 800e24e: 2901 cmp r1, #1 + 800e250: d004 beq.n 800e25c + 800e252: 4770 bx lr + 800e254: 4b04 ldr r3, [pc, #16] ; (800e268 ) + 800e256: 681b ldr r3, [r3, #0] + 800e258: 2080 movs r0, #128 ; 0x80 + 800e25a: 4718 bx r3 + 800e25c: 4b02 ldr r3, [pc, #8] ; (800e268 ) + 800e25e: f44f 7080 mov.w r0, #256 ; 0x100 + 800e262: 681b ldr r3, [r3, #0] + 800e264: e7f9 b.n 800e25a + 800e266: bf00 nop + 800e268: 20001b64 .word 0x20001b64 -0800e51c : - 800e51c: b513 push {r0, r1, r4, lr} - 800e51e: 2203 movs r2, #3 - 800e520: 4604 mov r4, r0 - 800e522: a901 add r1, sp, #4 - 800e524: 2014 movs r0, #20 - 800e526: f7ff ff9f bl 800e468 - 800e52a: 4b18 ldr r3, [pc, #96] ; (800e58c ) - 800e52c: 781a ldrb r2, [r3, #0] - 800e52e: 7022 strb r2, [r4, #0] - 800e530: b14a cbz r2, 800e546 - 800e532: 2a01 cmp r2, #1 - 800e534: d017 beq.n 800e566 - 800e536: 2214 movs r2, #20 - 800e538: 2100 movs r1, #0 - 800e53a: 4620 mov r0, r4 - 800e53c: f000 fad2 bl 800eae4 - 800e540: 230f movs r3, #15 - 800e542: 7023 strb r3, [r4, #0] - 800e544: e00d b.n 800e562 - 800e546: f89d 3004 ldrb.w r3, [sp, #4] - 800e54a: 7123 strb r3, [r4, #4] - 800e54c: f89d 3005 ldrb.w r3, [sp, #5] - 800e550: 60a2 str r2, [r4, #8] - 800e552: 425b negs r3, r3 - 800e554: 105b asrs r3, r3, #1 - 800e556: 71a3 strb r3, [r4, #6] - 800e558: f89d 3006 ldrb.w r3, [sp, #6] - 800e55c: 425b negs r3, r3 - 800e55e: 105b asrs r3, r3, #1 - 800e560: 7163 strb r3, [r4, #5] - 800e562: b002 add sp, #8 - 800e564: bd10 pop {r4, pc} - 800e566: f89d 3004 ldrb.w r3, [sp, #4] - 800e56a: 425b negs r3, r3 - 800e56c: 105b asrs r3, r3, #1 - 800e56e: 7323 strb r3, [r4, #12] - 800e570: f99d 3005 ldrsb.w r3, [sp, #5] - 800e574: 3302 adds r3, #2 - 800e576: 109b asrs r3, r3, #2 - 800e578: 7363 strb r3, [r4, #13] - 800e57a: f89d 3006 ldrb.w r3, [sp, #6] - 800e57e: 425b negs r3, r3 - 800e580: 105b asrs r3, r3, #1 - 800e582: 73a3 strb r3, [r4, #14] - 800e584: 4b02 ldr r3, [pc, #8] ; (800e590 ) - 800e586: 681b ldr r3, [r3, #0] - 800e588: 6123 str r3, [r4, #16] - 800e58a: e7ea b.n 800e562 - 800e58c: 20001b63 .word 0x20001b63 - 800e590: 20001b5c .word 0x20001b5c +0800e26c : + 800e26c: 4b02 ldr r3, [pc, #8] ; (800e278 ) + 800e26e: f44f 7000 mov.w r0, #512 ; 0x200 + 800e272: 681b ldr r3, [r3, #0] + 800e274: 4718 bx r3 + 800e276: bf00 nop + 800e278: 20001b64 .word 0x20001b64 -0800e594 : - 800e594: 2901 cmp r1, #1 - 800e596: b508 push {r3, lr} - 800e598: 4603 mov r3, r0 - 800e59a: 4608 mov r0, r1 - 800e59c: d10e bne.n 800e5bc - 800e59e: 2b01 cmp r3, #1 - 800e5a0: d107 bne.n 800e5b2 - 800e5a2: 2004 movs r0, #4 - 800e5a4: f7ff fb46 bl 800dc34 - 800e5a8: 2002 movs r0, #2 - 800e5aa: e8bd 4008 ldmia.w sp!, {r3, lr} - 800e5ae: f7f4 b8bf b.w 8002730 - 800e5b2: 2b02 cmp r3, #2 - 800e5b4: bf14 ite ne - 800e5b6: 4608 movne r0, r1 - 800e5b8: 2003 moveq r0, #3 - 800e5ba: e7f6 b.n 800e5aa - 800e5bc: 2001 movs r0, #1 - 800e5be: e7f4 b.n 800e5aa +0800e27c : + 800e27c: 4b01 ldr r3, [pc, #4] ; (800e284 ) + 800e27e: 2020 movs r0, #32 + 800e280: 681b ldr r3, [r3, #0] + 800e282: 4718 bx r3 + 800e284: 20001b64 .word 0x20001b64 -0800e5c0 : - 800e5c0: b538 push {r3, r4, r5, lr} - 800e5c2: 4604 mov r4, r0 - 800e5c4: f7f4 f8d6 bl 8002774 - 800e5c8: b150 cbz r0, 800e5e0 - 800e5ca: 2802 cmp r0, #2 - 800e5cc: bf14 ite ne - 800e5ce: 2501 movne r5, #1 - 800e5d0: 2502 moveq r5, #2 - 800e5d2: 4628 mov r0, r5 - 800e5d4: 2202 movs r2, #2 - 800e5d6: 4621 mov r1, r4 - 800e5d8: f7ff fdee bl 800e1b8 - 800e5dc: 4628 mov r0, r5 - 800e5de: bd38 pop {r3, r4, r5, pc} - 800e5e0: 2c0f cmp r4, #15 - 800e5e2: bfcc ite gt - 800e5e4: 2502 movgt r5, #2 - 800e5e6: 2501 movle r5, #1 - 800e5e8: e7f3 b.n 800e5d2 +0800e288 : + 800e288: 4b01 ldr r3, [pc, #4] ; (800e290 ) + 800e28a: 2004 movs r0, #4 + 800e28c: 681b ldr r3, [r3, #0] + 800e28e: 4718 bx r3 + 800e290: 20001b64 .word 0x20001b64 -0800e5ea : - 800e5ea: 200a movs r0, #10 - 800e5ec: 4770 bx lr - ... +0800e294 : + 800e294: 4b01 ldr r3, [pc, #4] ; (800e29c ) + 800e296: 2008 movs r0, #8 + 800e298: 681b ldr r3, [r3, #0] + 800e29a: 4718 bx r3 + 800e29c: 20001b64 .word 0x20001b64 -0800e5f0 : - 800e5f0: 4b01 ldr r3, [pc, #4] ; (800e5f8 ) - 800e5f2: 2001 movs r0, #1 - 800e5f4: 681b ldr r3, [r3, #0] - 800e5f6: 4718 bx r3 - 800e5f8: 20001b64 .word 0x20001b64 +0800e2a0 : + 800e2a0: 4b01 ldr r3, [pc, #4] ; (800e2a8 ) + 800e2a2: 2010 movs r0, #16 + 800e2a4: 681b ldr r3, [r3, #0] + 800e2a6: 4718 bx r3 + 800e2a8: 20001b64 .word 0x20001b64 -0800e5fc : - 800e5fc: 4b01 ldr r3, [pc, #4] ; (800e604 ) - 800e5fe: 2002 movs r0, #2 - 800e600: 681b ldr r3, [r3, #0] - 800e602: 4718 bx r3 - 800e604: 20001b64 .word 0x20001b64 +0800e2ac : + 800e2ac: 4b02 ldr r3, [pc, #8] ; (800e2b8 ) + 800e2ae: f44f 4080 mov.w r0, #16384 ; 0x4000 + 800e2b2: 681b ldr r3, [r3, #0] + 800e2b4: 4718 bx r3 + 800e2b6: bf00 nop + 800e2b8: 20001b64 .word 0x20001b64 -0800e608 : - 800e608: 4b01 ldr r3, [pc, #4] ; (800e610 ) - 800e60a: 2040 movs r0, #64 ; 0x40 - 800e60c: 681b ldr r3, [r3, #0] - 800e60e: 4718 bx r3 - 800e610: 20001b64 .word 0x20001b64 +0800e2bc : + 800e2bc: b168 cbz r0, 800e2da + 800e2be: 4a08 ldr r2, [pc, #32] ; (800e2e0 ) + 800e2c0: 2300 movs r3, #0 + 800e2c2: f852 1033 ldr.w r1, [r2, r3, lsl #3] + 800e2c6: 4281 cmp r1, r0 + 800e2c8: d903 bls.n 800e2d2 + 800e2ca: eb02 02c3 add.w r2, r2, r3, lsl #3 + 800e2ce: 7910 ldrb r0, [r2, #4] + 800e2d0: 4770 bx lr + 800e2d2: 3301 adds r3, #1 + 800e2d4: 2b16 cmp r3, #22 + 800e2d6: d1f4 bne.n 800e2c2 + 800e2d8: e7fe b.n 800e2d8 + 800e2da: 201f movs r0, #31 + 800e2dc: 4770 bx lr + 800e2de: bf00 nop + 800e2e0: 0800fa98 .word 0x0800fa98 -0800e614 : - 800e614: b111 cbz r1, 800e61c - 800e616: 2901 cmp r1, #1 - 800e618: d004 beq.n 800e624 - 800e61a: 4770 bx lr - 800e61c: 4b04 ldr r3, [pc, #16] ; (800e630 ) - 800e61e: 681b ldr r3, [r3, #0] - 800e620: 2080 movs r0, #128 ; 0x80 - 800e622: 4718 bx r3 - 800e624: 4b02 ldr r3, [pc, #8] ; (800e630 ) - 800e626: f44f 7080 mov.w r0, #256 ; 0x100 - 800e62a: 681b ldr r3, [r3, #0] - 800e62c: e7f9 b.n 800e622 - 800e62e: bf00 nop - 800e630: 20001b64 .word 0x20001b64 +0800e2e4 : + 800e2e4: b573 push {r0, r1, r4, r5, r6, lr} + 800e2e6: 4b1d ldr r3, [pc, #116] ; (800e35c ) + 800e2e8: 9301 str r3, [sp, #4] + 800e2ea: 4604 mov r4, r0 + 800e2ec: f640 0007 movw r0, #2055 ; 0x807 + 800e2f0: 460d mov r5, r1 + 800e2f2: f7ff faab bl 800d84c + 800e2f6: f3c0 03c1 ubfx r3, r0, #3, #2 + 800e2fa: 3308 adds r3, #8 + 800e2fc: 446b add r3, sp + 800e2fe: f813 2c04 ldrb.w r2, [r3, #-4] + 800e302: f000 0307 and.w r3, r0, #7 + 800e306: 3301 adds r3, #1 + 800e308: fa02 f303 lsl.w r3, r2, r3 + 800e30c: 4a14 ldr r2, [pc, #80] ; (800e360 ) + 800e30e: fbb2 f2f3 udiv r2, r2, r3 + 800e312: fbb2 f0f4 udiv r0, r2, r4 + 800e316: 2807 cmp r0, #7 + 800e318: d81e bhi.n 800e358 + 800e31a: 0040 lsls r0, r0, #1 + 800e31c: 2803 cmp r0, #3 + 800e31e: bf8c ite hi + 800e320: 2302 movhi r3, #2 + 800e322: 2304 movls r3, #4 + 800e324: f44f 60d6 mov.w r0, #1712 ; 0x6b0 + 800e328: fb02 f403 mul.w r4, r2, r3 + 800e32c: f7ff fa8e bl 800d84c + 800e330: 0206 lsls r6, r0, #8 + 800e332: f240 60b1 movw r0, #1713 ; 0x6b1 + 800e336: f7ff fa89 bl 800d84c + 800e33a: f406 6670 and.w r6, r6, #3840 ; 0xf00 + 800e33e: 4330 orrs r0, r6 + 800e340: 0503 lsls r3, r0, #20 + 800e342: bf44 itt mi + 800e344: ea6f 5000 mvnmi.w r0, r0, lsl #20 + 800e348: ea6f 5010 mvnmi.w r0, r0, lsr #20 + 800e34c: 0963 lsrs r3, r4, #5 + 800e34e: 4343 muls r3, r0 + 800e350: 11db asrs r3, r3, #7 + 800e352: 602b str r3, [r5, #0] + 800e354: b002 add sp, #8 + 800e356: bd70 pop {r4, r5, r6, pc} + 800e358: 2301 movs r3, #1 + 800e35a: e7e3 b.n 800e324 + 800e35c: 0c0a0804 .word 0x0c0a0804 + 800e360: 01e84800 .word 0x01e84800 -0800e634 : - 800e634: 4b02 ldr r3, [pc, #8] ; (800e640 ) - 800e636: f44f 7000 mov.w r0, #512 ; 0x200 - 800e63a: 681b ldr r3, [r3, #0] +0800e364 : + 800e364: f04f 30ff mov.w r0, #4294967295 + 800e368: 4770 bx lr + +0800e36a : + 800e36a: f04f 30ff mov.w r0, #4294967295 + 800e36e: 4770 bx lr + +0800e370 : + 800e370: f04f 30ff mov.w r0, #4294967295 + 800e374: 4770 bx lr + +0800e376 : + 800e376: 4770 bx lr + +0800e378 : + 800e378: 2000 movs r0, #0 + 800e37a: 4770 bx lr + +0800e37c : + 800e37c: 2000 movs r0, #0 + 800e37e: 4770 bx lr + +0800e380 : + 800e380: 4770 bx lr + +0800e382 : + 800e382: f04f 30ff mov.w r0, #4294967295 + 800e386: 4770 bx lr + +0800e388 : + 800e388: f04f 30ff mov.w r0, #4294967295 + 800e38c: 4770 bx lr + +0800e38e : + 800e38e: 4770 bx lr + +0800e390 : + 800e390: 4770 bx lr + +0800e392 : + 800e392: 4770 bx lr + +0800e394 : + 800e394: b570 push {r4, r5, r6, lr} + 800e396: f3ef 8610 mrs r6, PRIMASK + 800e39a: b672 cpsid i + 800e39c: 4b14 ldr r3, [pc, #80] ; (800e3f0 ) + 800e39e: 8a5c ldrh r4, [r3, #18] + 800e3a0: 8a1a ldrh r2, [r3, #16] + 800e3a2: 4294 cmp r4, r2 + 800e3a4: d113 bne.n 800e3ce + 800e3a6: f5c4 6280 rsb r2, r4, #1024 ; 0x400 + 800e3aa: b292 uxth r2, r2 + 800e3ac: 4290 cmp r0, r2 + 800e3ae: d306 bcc.n 800e3be + 800e3b0: 4284 cmp r4, r0 + 800e3b2: d918 bls.n 800e3e6 + 800e3b4: 2201 movs r2, #1 + 800e3b6: 709a strb r2, [r3, #2] + 800e3b8: 2200 movs r2, #0 + 800e3ba: 801c strh r4, [r3, #0] + 800e3bc: 825a strh r2, [r3, #18] + 800e3be: 8a5a ldrh r2, [r3, #18] + 800e3c0: 800a strh r2, [r1, #0] + 800e3c2: 4402 add r2, r0 + 800e3c4: f3c2 0209 ubfx r2, r2, #0, #10 + 800e3c8: 825a strh r2, [r3, #18] + 800e3ca: 2000 movs r0, #0 + 800e3cc: e00d b.n 800e3ea + 800e3ce: d906 bls.n 800e3de + 800e3d0: f5c4 6580 rsb r5, r4, #1024 ; 0x400 + 800e3d4: b2ad uxth r5, r5 + 800e3d6: 4285 cmp r5, r0 + 800e3d8: d8f1 bhi.n 800e3be + 800e3da: 4282 cmp r2, r0 + 800e3dc: e7e9 b.n 800e3b2 + 800e3de: 1b12 subs r2, r2, r4 + 800e3e0: b292 uxth r2, r2 + 800e3e2: 4282 cmp r2, r0 + 800e3e4: d8eb bhi.n 800e3be + 800e3e6: f04f 30ff mov.w r0, #4294967295 + 800e3ea: f386 8810 msr PRIMASK, r6 + 800e3ee: bd70 pop {r4, r5, r6, pc} + 800e3f0: 20001f68 .word 0x20001f68 + +0800e3f4 : + 800e3f4: f3ef 8110 mrs r1, PRIMASK + 800e3f8: b672 cpsid i + 800e3fa: 4a03 ldr r2, [pc, #12] ; (800e408 ) + 800e3fc: 8ad3 ldrh r3, [r2, #22] + 800e3fe: 3301 adds r3, #1 + 800e400: 82d3 strh r3, [r2, #22] + 800e402: f381 8810 msr PRIMASK, r1 + 800e406: 4770 bx lr + 800e408: 20001f68 .word 0x20001f68 + +0800e40c : + 800e40c: f3ef 8110 mrs r1, PRIMASK + 800e410: b672 cpsid i + 800e412: 4a03 ldr r2, [pc, #12] ; (800e420 ) + 800e414: 8ad3 ldrh r3, [r2, #22] + 800e416: 3b01 subs r3, #1 + 800e418: 82d3 strh r3, [r2, #22] + 800e41a: f381 8810 msr PRIMASK, r1 + 800e41e: 4770 bx lr + 800e420: 20001f68 .word 0x20001f68 + +0800e424 : + 800e424: b510 push {r4, lr} + 800e426: 4808 ldr r0, [pc, #32] ; (800e448 ) + 800e428: 2218 movs r2, #24 + 800e42a: 2100 movs r1, #0 + 800e42c: f000 f976 bl 800e71c + 800e430: 4806 ldr r0, [pc, #24] ; (800e44c ) + 800e432: f44f 6280 mov.w r2, #1024 ; 0x400 + 800e436: 2100 movs r1, #0 + 800e438: f000 f970 bl 800e71c + 800e43c: 4b04 ldr r3, [pc, #16] ; (800e450 ) + 800e43e: 4805 ldr r0, [pc, #20] ; (800e454 ) + 800e440: 681b ldr r3, [r3, #0] + 800e442: e8bd 4010 ldmia.w sp!, {r4, lr} + 800e446: 4718 bx r3 + 800e448: 20001f68 .word 0x20001f68 + 800e44c: 20001b68 .word 0x20001b68 + 800e450: 0800f1a0 .word 0x0800f1a0 + 800e454: 0800e5c5 .word 0x0800e5c5 + +0800e458 : + 800e458: 4b01 ldr r3, [pc, #4] ; (800e460 ) + 800e45a: 6058 str r0, [r3, #4] + 800e45c: 4770 bx lr + 800e45e: bf00 nop + 800e460: 20001f68 .word 0x20001f68 + +0800e464 : + 800e464: 4b01 ldr r3, [pc, #4] ; (800e46c ) + 800e466: 7218 strb r0, [r3, #8] + 800e468: 4770 bx lr + 800e46a: bf00 nop + 800e46c: 20001f68 .word 0x20001f68 + +0800e470 : + 800e470: b573 push {r0, r1, r4, r5, r6, lr} + 800e472: f3ef 8510 mrs r5, PRIMASK + 800e476: b672 cpsid i + 800e478: 4c1c ldr r4, [pc, #112] ; (800e4ec ) + 800e47a: 8ae0 ldrh r0, [r4, #22] + 800e47c: 2800 cmp r0, #0 + 800e47e: d12f bne.n 800e4e0 + 800e480: f7ff ffb8 bl 800e3f4 + 800e484: 8a21 ldrh r1, [r4, #16] + 800e486: 8a62 ldrh r2, [r4, #18] + 800e488: 4291 cmp r1, r2 + 800e48a: d027 beq.n 800e4dc + 800e48c: 78a3 ldrb r3, [r4, #2] + 800e48e: 2b01 cmp r3, #1 + 800e490: d112 bne.n 800e4b8 + 800e492: 8823 ldrh r3, [r4, #0] + 800e494: 8020 strh r0, [r4, #0] + 800e496: 1a5b subs r3, r3, r1 + 800e498: b29b uxth r3, r3 + 800e49a: 2102 movs r1, #2 + 800e49c: 82a3 strh r3, [r4, #20] + 800e49e: 70a1 strb r1, [r4, #2] + 800e4a0: b963 cbnz r3, 800e4bc + 800e4a2: 70a3 strb r3, [r4, #2] + 800e4a4: 8223 strh r3, [r4, #16] + 800e4a6: 8a23 ldrh r3, [r4, #16] + 800e4a8: 429a cmp r2, r3 + 800e4aa: bf8b itete hi + 800e4ac: 1ad2 subhi r2, r2, r3 + 800e4ae: f5c3 6380 rsbls r3, r3, #1024 ; 0x400 + 800e4b2: 82a2 strhhi r2, [r4, #20] + 800e4b4: 82a3 strhls r3, [r4, #20] + 800e4b6: e001 b.n 800e4bc + 800e4b8: 2b00 cmp r3, #0 + 800e4ba: d0f4 beq.n 800e4a6 + 800e4bc: 8a23 ldrh r3, [r4, #16] + 800e4be: 4e0c ldr r6, [pc, #48] ; (800e4f0 ) + 800e4c0: 441e add r6, r3 + 800e4c2: f385 8810 msr PRIMASK, r5 + 800e4c6: f7f3 f9cb bl 8001860 + 800e4ca: 4b0a ldr r3, [pc, #40] ; (800e4f4 ) + 800e4cc: 8aa1 ldrh r1, [r4, #20] + 800e4ce: 68db ldr r3, [r3, #12] + 800e4d0: 9301 str r3, [sp, #4] + 800e4d2: 4630 mov r0, r6 + 800e4d4: b002 add sp, #8 + 800e4d6: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 800e4da: 4718 bx r3 + 800e4dc: f7ff ff96 bl 800e40c + 800e4e0: f385 8810 msr PRIMASK, r5 + 800e4e4: 2000 movs r0, #0 + 800e4e6: b002 add sp, #8 + 800e4e8: bd70 pop {r4, r5, r6, pc} + 800e4ea: bf00 nop + 800e4ec: 20001f68 .word 0x20001f68 + 800e4f0: 20001b68 .word 0x20001b68 + 800e4f4: 0800f1a0 .word 0x0800f1a0 + +0800e4f8 : + 800e4f8: b408 push {r3} + 800e4fa: b5f0 push {r4, r5, r6, r7, lr} + 800e4fc: b086 sub sp, #24 + 800e4fe: 2300 movs r3, #0 + 800e500: f8ad 3000 strh.w r3, [sp] + 800e504: 4b2c ldr r3, [pc, #176] ; (800e5b8 ) + 800e506: 9c0b ldr r4, [sp, #44] ; 0x2c + 800e508: 7a1d ldrb r5, [r3, #8] + 800e50a: 4285 cmp r5, r0 + 800e50c: d34d bcc.n 800e5aa + 800e50e: 68d8 ldr r0, [r3, #12] + 800e510: 4381 bics r1, r0 + 800e512: d14d bne.n 800e5b0 + 800e514: 685b ldr r3, [r3, #4] + 800e516: b11b cbz r3, 800e520 + 800e518: b112 cbz r2, 800e520 + 800e51a: 4669 mov r1, sp + 800e51c: a802 add r0, sp, #8 + 800e51e: 4798 blx r3 + 800e520: ab0c add r3, sp, #48 ; 0x30 + 800e522: 4622 mov r2, r4 + 800e524: f44f 7100 mov.w r1, #512 ; 0x200 + 800e528: 4824 ldr r0, [pc, #144] ; (800e5bc ) + 800e52a: 9301 str r3, [sp, #4] + 800e52c: f000 fbf6 bl 800ed1c + 800e530: f7ff ff60 bl 800e3f4 + 800e534: f8bd 3000 ldrh.w r3, [sp] + 800e538: 4418 add r0, r3 + 800e53a: f10d 0102 add.w r1, sp, #2 + 800e53e: b280 uxth r0, r0 + 800e540: f7ff ff28 bl 800e394 + 800e544: 3001 adds r0, #1 + 800e546: d02b beq.n 800e5a0 + 800e548: 2200 movs r2, #0 + 800e54a: f8bd 3000 ldrh.w r3, [sp] + 800e54e: f8bd 7002 ldrh.w r7, [sp, #2] + 800e552: 481b ldr r0, [pc, #108] ; (800e5c0 ) + 800e554: f10d 0c08 add.w ip, sp, #8 + 800e558: 4616 mov r6, r2 + 800e55a: b291 uxth r1, r2 + 800e55c: fa17 f582 uxtah r5, r7, r2 + 800e560: 428b cmp r3, r1 + 800e562: b2ad uxth r5, r5 + 800e564: d816 bhi.n 800e594 + 800e566: 443b add r3, r7 + 800e568: b29b uxth r3, r3 + 800e56a: b10e cbz r6, 800e570 + 800e56c: f8ad 3002 strh.w r3, [sp, #2] + 800e570: f8bd 5002 ldrh.w r5, [sp, #2] + 800e574: 9b01 ldr r3, [sp, #4] + 800e576: 4622 mov r2, r4 + 800e578: f44f 7100 mov.w r1, #512 ; 0x200 + 800e57c: 4428 add r0, r5 + 800e57e: f000 fbcd bl 800ed1c + 800e582: f7ff ff43 bl 800e40c + 800e586: f7ff ff73 bl 800e470 + 800e58a: b006 add sp, #24 + 800e58c: e8bd 40f0 ldmia.w sp!, {r4, r5, r6, r7, lr} + 800e590: b001 add sp, #4 + 800e592: 4770 bx lr + 800e594: f81c 1b01 ldrb.w r1, [ip], #1 + 800e598: 5541 strb r1, [r0, r5] + 800e59a: 3201 adds r2, #1 + 800e59c: 2601 movs r6, #1 + 800e59e: e7dc b.n 800e55a + 800e5a0: f7ff ff34 bl 800e40c + 800e5a4: f06f 0002 mvn.w r0, #2 + 800e5a8: e7ef b.n 800e58a + 800e5aa: f06f 0004 mvn.w r0, #4 + 800e5ae: e7ec b.n 800e58a + 800e5b0: f06f 0005 mvn.w r0, #5 + 800e5b4: e7e9 b.n 800e58a + 800e5b6: bf00 nop + 800e5b8: 20001f68 .word 0x20001f68 + 800e5bc: 20001f80 .word 0x20001f80 + 800e5c0: 20001b68 .word 0x20001b68 + +0800e5c4 : + 800e5c4: b513 push {r0, r1, r4, lr} + 800e5c6: f3ef 8410 mrs r4, PRIMASK + 800e5ca: b672 cpsid i + 800e5cc: 4b20 ldr r3, [pc, #128] ; (800e650 ) + 800e5ce: 789a ldrb r2, [r3, #2] + 800e5d0: 8a58 ldrh r0, [r3, #18] + 800e5d2: 2a02 cmp r2, #2 + 800e5d4: bf1d ittte ne + 800e5d6: 8a1a ldrhne r2, [r3, #16] + 800e5d8: 8a99 ldrhne r1, [r3, #20] + 800e5da: 1852 addne r2, r2, r1 + 800e5dc: 2200 moveq r2, #0 + 800e5de: bf14 ite ne + 800e5e0: f3c2 0209 ubfxne r2, r2, #0, #10 + 800e5e4: 709a strbeq r2, [r3, #2] + 800e5e6: 4290 cmp r0, r2 + 800e5e8: 821a strh r2, [r3, #16] + 800e5ea: d028 beq.n 800e63e + 800e5ec: 8ad9 ldrh r1, [r3, #22] + 800e5ee: 2901 cmp r1, #1 + 800e5f0: d125 bne.n 800e63e + 800e5f2: 7899 ldrb r1, [r3, #2] + 800e5f4: 2901 cmp r1, #1 + 800e5f6: d113 bne.n 800e620 + 800e5f8: 8819 ldrh r1, [r3, #0] + 800e5fa: 1a8a subs r2, r1, r2 + 800e5fc: 2102 movs r1, #2 + 800e5fe: b292 uxth r2, r2 + 800e600: 7099 strb r1, [r3, #2] + 800e602: 2100 movs r1, #0 + 800e604: 829a strh r2, [r3, #20] + 800e606: 8019 strh r1, [r3, #0] + 800e608: b962 cbnz r2, 800e624 + 800e60a: 709a strb r2, [r3, #2] + 800e60c: 821a strh r2, [r3, #16] + 800e60e: 8a1a ldrh r2, [r3, #16] + 800e610: 4290 cmp r0, r2 + 800e612: bf8b itete hi + 800e614: 1a80 subhi r0, r0, r2 + 800e616: f5c2 6280 rsbls r2, r2, #1024 ; 0x400 + 800e61a: 8298 strhhi r0, [r3, #20] + 800e61c: 829a strhls r2, [r3, #20] + 800e61e: e001 b.n 800e624 + 800e620: 2900 cmp r1, #0 + 800e622: d0f4 beq.n 800e60e + 800e624: 8a1a ldrh r2, [r3, #16] + 800e626: 480b ldr r0, [pc, #44] ; (800e654 ) + 800e628: 4410 add r0, r2 + 800e62a: f384 8810 msr PRIMASK, r4 + 800e62e: 4a0a ldr r2, [pc, #40] ; (800e658 ) + 800e630: 8a99 ldrh r1, [r3, #20] + 800e632: 68d3 ldr r3, [r2, #12] + 800e634: 9301 str r3, [sp, #4] + 800e636: b002 add sp, #8 + 800e638: e8bd 4010 ldmia.w sp!, {r4, lr} 800e63c: 4718 bx r3 - 800e63e: bf00 nop - 800e640: 20001b64 .word 0x20001b64 + 800e63e: f384 8810 msr PRIMASK, r4 + 800e642: f7f3 f911 bl 8001868 + 800e646: b002 add sp, #8 + 800e648: e8bd 4010 ldmia.w sp!, {r4, lr} + 800e64c: f7ff bede b.w 800e40c + 800e650: 20001f68 .word 0x20001f68 + 800e654: 20001b68 .word 0x20001b68 + 800e658: 0800f1a0 .word 0x0800f1a0 -0800e644 : - 800e644: 4b01 ldr r3, [pc, #4] ; (800e64c ) - 800e646: 2020 movs r0, #32 - 800e648: 681b ldr r3, [r3, #0] - 800e64a: 4718 bx r3 - 800e64c: 20001b64 .word 0x20001b64 +0800e65c : + 800e65c: 4a02 ldr r2, [pc, #8] ; (800e668 ) + 800e65e: 2300 movs r3, #0 + 800e660: 6013 str r3, [r2, #0] + 800e662: 4a02 ldr r2, [pc, #8] ; (800e66c ) + 800e664: 6013 str r3, [r2, #0] + 800e666: 4770 bx lr + 800e668: 20002184 .word 0x20002184 + 800e66c: 20002180 .word 0x20002180 -0800e650 : - 800e650: 4b01 ldr r3, [pc, #4] ; (800e658 ) - 800e652: 2004 movs r0, #4 - 800e654: 681b ldr r3, [r3, #0] - 800e656: 4718 bx r3 - 800e658: 20001b64 .word 0x20001b64 +0800e670 : + 800e670: b510 push {r4, lr} + 800e672: f3ef 8410 mrs r4, PRIMASK + 800e676: b672 cpsid i + 800e678: b141 cbz r1, 800e68c + 800e67a: 2901 cmp r1, #1 + 800e67c: d103 bne.n 800e686 + 800e67e: 4a06 ldr r2, [pc, #24] ; (800e698 ) + 800e680: 6813 ldr r3, [r2, #0] + 800e682: 4303 orrs r3, r0 + 800e684: 6013 str r3, [r2, #0] + 800e686: f384 8810 msr PRIMASK, r4 + 800e68a: bd10 pop {r4, pc} + 800e68c: 4a02 ldr r2, [pc, #8] ; (800e698 ) + 800e68e: 6813 ldr r3, [r2, #0] + 800e690: ea23 0300 bic.w r3, r3, r0 + 800e694: e7f6 b.n 800e684 + 800e696: bf00 nop + 800e698: 20002184 .word 0x20002184 -0800e65c : - 800e65c: 4b01 ldr r3, [pc, #4] ; (800e664 ) - 800e65e: 2008 movs r0, #8 - 800e660: 681b ldr r3, [r3, #0] - 800e662: 4718 bx r3 - 800e664: 20001b64 .word 0x20001b64 +0800e69c : + 800e69c: b510 push {r4, lr} + 800e69e: f3ef 8410 mrs r4, PRIMASK + 800e6a2: b672 cpsid i + 800e6a4: b141 cbz r1, 800e6b8 + 800e6a6: 2901 cmp r1, #1 + 800e6a8: d103 bne.n 800e6b2 + 800e6aa: 4a06 ldr r2, [pc, #24] ; (800e6c4 ) + 800e6ac: 6813 ldr r3, [r2, #0] + 800e6ae: 4303 orrs r3, r0 + 800e6b0: 6013 str r3, [r2, #0] + 800e6b2: f384 8810 msr PRIMASK, r4 + 800e6b6: bd10 pop {r4, pc} + 800e6b8: 4a02 ldr r2, [pc, #8] ; (800e6c4 ) + 800e6ba: 6813 ldr r3, [r2, #0] + 800e6bc: ea23 0300 bic.w r3, r3, r0 + 800e6c0: e7f6 b.n 800e6b0 + 800e6c2: bf00 nop + 800e6c4: 20002180 .word 0x20002180 -0800e668 : - 800e668: 4b01 ldr r3, [pc, #4] ; (800e670 ) - 800e66a: 2010 movs r0, #16 - 800e66c: 681b ldr r3, [r3, #0] - 800e66e: 4718 bx r3 - 800e670: 20001b64 .word 0x20001b64 +0800e6c8 : + 800e6c8: b538 push {r3, r4, r5, lr} + 800e6ca: f3ef 8510 mrs r5, PRIMASK + 800e6ce: b672 cpsid i + 800e6d0: 4b0a ldr r3, [pc, #40] ; (800e6fc ) + 800e6d2: 4c0b ldr r4, [pc, #44] ; (800e700 ) + 800e6d4: 681b ldr r3, [r3, #0] + 800e6d6: b133 cbz r3, 800e6e6 + 800e6d8: 6823 ldr r3, [r4, #0] + 800e6da: 4798 blx r3 + 800e6dc: 6863 ldr r3, [r4, #4] + 800e6de: 4798 blx r3 + 800e6e0: f385 8810 msr PRIMASK, r5 + 800e6e4: bd38 pop {r3, r4, r5, pc} + 800e6e6: 4b07 ldr r3, [pc, #28] ; (800e704 ) + 800e6e8: 681b ldr r3, [r3, #0] + 800e6ea: b11b cbz r3, 800e6f4 + 800e6ec: 68a3 ldr r3, [r4, #8] + 800e6ee: 4798 blx r3 + 800e6f0: 68e3 ldr r3, [r4, #12] + 800e6f2: e7f4 b.n 800e6de + 800e6f4: 6923 ldr r3, [r4, #16] + 800e6f6: 4798 blx r3 + 800e6f8: 6963 ldr r3, [r4, #20] + 800e6fa: e7f0 b.n 800e6de + 800e6fc: 20002184 .word 0x20002184 + 800e700: 0800f13c .word 0x0800f13c + 800e704: 20002180 .word 0x20002180 -0800e674 : - 800e674: 4b02 ldr r3, [pc, #8] ; (800e680 ) - 800e676: f44f 4080 mov.w r0, #16384 ; 0x4000 - 800e67a: 681b ldr r3, [r3, #0] - 800e67c: 4718 bx r3 - 800e67e: bf00 nop - 800e680: 20001b64 .word 0x20001b64 +0800e708 : + 800e708: 3801 subs r0, #1 + 800e70a: 440a add r2, r1 + 800e70c: 4291 cmp r1, r2 + 800e70e: d100 bne.n 800e712 + 800e710: 4770 bx lr + 800e712: f811 3b01 ldrb.w r3, [r1], #1 + 800e716: f800 3f01 strb.w r3, [r0, #1]! + 800e71a: e7f7 b.n 800e70c -0800e684 : - 800e684: b168 cbz r0, 800e6a2 - 800e686: 4a08 ldr r2, [pc, #32] ; (800e6a8 ) - 800e688: 2300 movs r3, #0 - 800e68a: f852 1033 ldr.w r1, [r2, r3, lsl #3] - 800e68e: 4281 cmp r1, r0 - 800e690: d903 bls.n 800e69a - 800e692: eb02 02c3 add.w r2, r2, r3, lsl #3 - 800e696: 7910 ldrb r0, [r2, #4] - 800e698: 4770 bx lr - 800e69a: 3301 adds r3, #1 - 800e69c: 2b16 cmp r3, #22 - 800e69e: d1f4 bne.n 800e68a - 800e6a0: e7fe b.n 800e6a0 - 800e6a2: 201f movs r0, #31 - 800e6a4: 4770 bx lr - 800e6a6: bf00 nop - 800e6a8: 08010258 .word 0x08010258 +0800e71c : + 800e71c: f000 bc1c b.w 800ef58 -0800e6ac : - 800e6ac: b573 push {r0, r1, r4, r5, r6, lr} - 800e6ae: 4b1d ldr r3, [pc, #116] ; (800e724 ) - 800e6b0: 9301 str r3, [sp, #4] - 800e6b2: 4604 mov r4, r0 - 800e6b4: f640 0007 movw r0, #2055 ; 0x807 - 800e6b8: 460d mov r5, r1 - 800e6ba: f7ff faab bl 800dc14 - 800e6be: f3c0 03c1 ubfx r3, r0, #3, #2 - 800e6c2: 3308 adds r3, #8 - 800e6c4: 446b add r3, sp - 800e6c6: f813 2c04 ldrb.w r2, [r3, #-4] - 800e6ca: f000 0307 and.w r3, r0, #7 - 800e6ce: 3301 adds r3, #1 - 800e6d0: fa02 f303 lsl.w r3, r2, r3 - 800e6d4: 4a14 ldr r2, [pc, #80] ; (800e728 ) - 800e6d6: fbb2 f2f3 udiv r2, r2, r3 - 800e6da: fbb2 f0f4 udiv r0, r2, r4 - 800e6de: 2807 cmp r0, #7 - 800e6e0: d81e bhi.n 800e720 - 800e6e2: 0040 lsls r0, r0, #1 - 800e6e4: 2803 cmp r0, #3 - 800e6e6: bf8c ite hi - 800e6e8: 2302 movhi r3, #2 - 800e6ea: 2304 movls r3, #4 - 800e6ec: f44f 60d6 mov.w r0, #1712 ; 0x6b0 - 800e6f0: fb02 f403 mul.w r4, r2, r3 - 800e6f4: f7ff fa8e bl 800dc14 - 800e6f8: 0206 lsls r6, r0, #8 - 800e6fa: f240 60b1 movw r0, #1713 ; 0x6b1 - 800e6fe: f7ff fa89 bl 800dc14 - 800e702: f406 6670 and.w r6, r6, #3840 ; 0xf00 - 800e706: 4330 orrs r0, r6 - 800e708: 0503 lsls r3, r0, #20 - 800e70a: bf44 itt mi - 800e70c: ea6f 5000 mvnmi.w r0, r0, lsl #20 - 800e710: ea6f 5010 mvnmi.w r0, r0, lsr #20 - 800e714: 0963 lsrs r3, r4, #5 - 800e716: 4343 muls r3, r0 - 800e718: 11db asrs r3, r3, #7 - 800e71a: 602b str r3, [r5, #0] - 800e71c: b002 add sp, #8 - 800e71e: bd70 pop {r4, r5, r6, pc} - 800e720: 2301 movs r3, #1 - 800e722: e7e3 b.n 800e6ec - 800e724: 0c0a0804 .word 0x0c0a0804 - 800e728: 01e84800 .word 0x01e84800 +0800e720 : + 800e720: b510 push {r4, lr} + 800e722: f3ef 8410 mrs r4, PRIMASK + 800e726: b672 cpsid i + 800e728: 4a06 ldr r2, [pc, #24] ; (800e744 ) + 800e72a: 6813 ldr r3, [r2, #0] + 800e72c: 4303 orrs r3, r0 + 800e72e: 6013 str r3, [r2, #0] + 800e730: 4a05 ldr r2, [pc, #20] ; (800e748 ) + 800e732: f852 3031 ldr.w r3, [r2, r1, lsl #3] + 800e736: 4303 orrs r3, r0 + 800e738: f842 3031 str.w r3, [r2, r1, lsl #3] + 800e73c: f384 8810 msr PRIMASK, r4 + 800e740: bd10 pop {r4, pc} + 800e742: bf00 nop + 800e744: 200021ac .word 0x200021ac + 800e748: 200021a4 .word 0x200021a4 -0800e72c : - 800e72c: f04f 30ff mov.w r0, #4294967295 - 800e730: 4770 bx lr +0800e74c : + 800e74c: 4770 bx lr -0800e732 : - 800e732: f04f 30ff mov.w r0, #4294967295 - 800e736: 4770 bx lr - -0800e738 : - 800e738: f04f 30ff mov.w r0, #4294967295 - 800e73c: 4770 bx lr - -0800e73e : - 800e73e: 4770 bx lr - -0800e740 : - 800e740: 2000 movs r0, #0 - 800e742: 4770 bx lr - -0800e744 : - 800e744: 2000 movs r0, #0 - 800e746: 4770 bx lr - -0800e748 : - 800e748: 4770 bx lr - -0800e74a : - 800e74a: f04f 30ff mov.w r0, #4294967295 +0800e74e : 800e74e: 4770 bx lr -0800e750 : - 800e750: f04f 30ff mov.w r0, #4294967295 - 800e754: 4770 bx lr +0800e750 : + 800e750: 0c03 lsrs r3, r0, #16 + 800e752: 041b lsls r3, r3, #16 + 800e754: b9c3 cbnz r3, 800e788 + 800e756: 0400 lsls r0, r0, #16 + 800e758: 2310 movs r3, #16 + 800e75a: f010 4f7f tst.w r0, #4278190080 ; 0xff000000 + 800e75e: bf02 ittt eq + 800e760: 3308 addeq r3, #8 + 800e762: 0200 lsleq r0, r0, #8 + 800e764: b2db uxtbeq r3, r3 + 800e766: f010 4f70 tst.w r0, #4026531840 ; 0xf0000000 + 800e76a: bf08 it eq + 800e76c: 0100 lsleq r0, r0, #4 + 800e76e: ea4f 7010 mov.w r0, r0, lsr #28 + 800e772: 4a06 ldr r2, [pc, #24] ; (800e78c ) + 800e774: bf08 it eq + 800e776: 3304 addeq r3, #4 + 800e778: 5c12 ldrb r2, [r2, r0] + 800e77a: bf08 it eq + 800e77c: b2db uxtbeq r3, r3 + 800e77e: f1c3 031f rsb r3, r3, #31 + 800e782: 1a98 subs r0, r3, r2 + 800e784: b2c0 uxtb r0, r0 + 800e786: 4770 bx lr + 800e788: 2300 movs r3, #0 + 800e78a: e7e6 b.n 800e75a + 800e78c: 0800fb48 .word 0x0800fb48 -0800e756 : - 800e756: 4770 bx lr +0800e790 : + 800e790: e92d 4ff8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800e794: 4d38 ldr r5, [pc, #224] ; (800e878 ) + 800e796: 4e39 ldr r6, [pc, #228] ; (800e87c ) + 800e798: f8d5 8000 ldr.w r8, [r5] + 800e79c: f8df b0e0 ldr.w fp, [pc, #224] ; 800e880 + 800e7a0: f8df a0e0 ldr.w sl, [pc, #224] ; 800e884 + 800e7a4: f8df 90e0 ldr.w r9, [pc, #224] ; 800e888 + 800e7a8: f8d6 c000 ldr.w ip, [r6] + 800e7ac: 4f37 ldr r7, [pc, #220] ; (800e88c ) + 800e7ae: f8db 1000 ldr.w r1, [fp] + 800e7b2: 4c37 ldr r4, [pc, #220] ; (800e890 ) + 800e7b4: f8da 2000 ldr.w r2, [sl] + 800e7b8: f8d9 3000 ldr.w r3, [r9] + 800e7bc: ea08 0000 and.w r0, r8, r0 + 800e7c0: 6028 str r0, [r5, #0] + 800e7c2: 6828 ldr r0, [r5, #0] + 800e7c4: ea00 0e02 and.w lr, r0, r2 + 800e7c8: ea1e 0f0c tst.w lr, ip + 800e7cc: d001 beq.n 800e7d2 + 800e7ce: 4219 tst r1, r3 + 800e7d0: d01e beq.n 800e810 + 800e7d2: f04f 33ff mov.w r3, #4294967295 + 800e7d6: 603b str r3, [r7, #0] + 800e7d8: f7ff ffb8 bl 800e74c + 800e7dc: f3ef 8410 mrs r4, PRIMASK + 800e7e0: b672 cpsid i + 800e7e2: 6833 ldr r3, [r6, #0] + 800e7e4: f8db 2000 ldr.w r2, [fp] + 800e7e8: f8da 1000 ldr.w r1, [sl] + 800e7ec: 400b ands r3, r1 + 800e7ee: 6829 ldr r1, [r5, #0] + 800e7f0: 420b tst r3, r1 + 800e7f2: d105 bne.n 800e800 + 800e7f4: f8d9 3000 ldr.w r3, [r9] + 800e7f8: 4213 tst r3, r2 + 800e7fa: d101 bne.n 800e800 + 800e7fc: f7f2 ffbe bl 800177c + 800e800: f384 8810 msr PRIMASK, r4 + 800e804: f7ff ffa3 bl 800e74e + 800e808: f8c5 8000 str.w r8, [r5] + 800e80c: e8bd 8ff8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800e810: 6823 ldr r3, [r4, #0] + 800e812: 6823 ldr r3, [r4, #0] + 800e814: 4003 ands r3, r0 + 800e816: 4013 ands r3, r2 + 800e818: 6862 ldr r2, [r4, #4] + 800e81a: 421a tst r2, r3 + 800e81c: bf04 itt eq + 800e81e: f04f 32ff moveq.w r2, #4294967295 + 800e822: 6062 streq r2, [r4, #4] + 800e824: 6860 ldr r0, [r4, #4] + 800e826: 4018 ands r0, r3 + 800e828: f7ff ff92 bl 800e750 + 800e82c: 6862 ldr r2, [r4, #4] + 800e82e: 6038 str r0, [r7, #0] + 800e830: 2301 movs r3, #1 + 800e832: fa03 f000 lsl.w r0, r3, r0 + 800e836: ea22 0200 bic.w r2, r2, r0 + 800e83a: 6062 str r2, [r4, #4] + 800e83c: f3ef 8110 mrs r1, PRIMASK + 800e840: b672 cpsid i + 800e842: 683a ldr r2, [r7, #0] + 800e844: 4093 lsls r3, r2 + 800e846: 6832 ldr r2, [r6, #0] + 800e848: ea22 0203 bic.w r2, r2, r3 + 800e84c: 6032 str r2, [r6, #0] + 800e84e: 6822 ldr r2, [r4, #0] + 800e850: ea22 0303 bic.w r3, r2, r3 + 800e854: 6023 str r3, [r4, #0] + 800e856: f381 8810 msr PRIMASK, r1 + 800e85a: 4a0e ldr r2, [pc, #56] ; (800e894 ) + 800e85c: 683b ldr r3, [r7, #0] + 800e85e: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 800e862: 4798 blx r3 + 800e864: f8d6 c000 ldr.w ip, [r6] + 800e868: f8db 1000 ldr.w r1, [fp] + 800e86c: f8da 2000 ldr.w r2, [sl] + 800e870: f8d9 3000 ldr.w r3, [r9] + 800e874: e7a5 b.n 800e7c2 + 800e876: bf00 nop + 800e878: 20000100 .word 0x20000100 + 800e87c: 200021ac .word 0x200021ac + 800e880: 2000218c .word 0x2000218c + 800e884: 20000104 .word 0x20000104 + 800e888: 20002190 .word 0x20002190 + 800e88c: 20002188 .word 0x20002188 + 800e890: 200021a4 .word 0x200021a4 + 800e894: 20002194 .word 0x20002194 -0800e758 : - 800e758: 4770 bx lr - -0800e75a : - 800e75a: 4770 bx lr - -0800e75c : - 800e75c: b570 push {r4, r5, r6, lr} - 800e75e: f3ef 8610 mrs r6, PRIMASK - 800e762: b672 cpsid i - 800e764: 4b14 ldr r3, [pc, #80] ; (800e7b8 ) - 800e766: 8a5c ldrh r4, [r3, #18] - 800e768: 8a1a ldrh r2, [r3, #16] - 800e76a: 4294 cmp r4, r2 - 800e76c: d113 bne.n 800e796 - 800e76e: f5c4 6280 rsb r2, r4, #1024 ; 0x400 - 800e772: b292 uxth r2, r2 - 800e774: 4290 cmp r0, r2 - 800e776: d306 bcc.n 800e786 - 800e778: 4284 cmp r4, r0 - 800e77a: d918 bls.n 800e7ae - 800e77c: 2201 movs r2, #1 - 800e77e: 709a strb r2, [r3, #2] - 800e780: 2200 movs r2, #0 - 800e782: 801c strh r4, [r3, #0] - 800e784: 825a strh r2, [r3, #18] - 800e786: 8a5a ldrh r2, [r3, #18] - 800e788: 800a strh r2, [r1, #0] - 800e78a: 4402 add r2, r0 - 800e78c: f3c2 0209 ubfx r2, r2, #0, #10 - 800e790: 825a strh r2, [r3, #18] - 800e792: 2000 movs r0, #0 - 800e794: e00d b.n 800e7b2 - 800e796: d906 bls.n 800e7a6 - 800e798: f5c4 6580 rsb r5, r4, #1024 ; 0x400 - 800e79c: b2ad uxth r5, r5 - 800e79e: 4285 cmp r5, r0 - 800e7a0: d8f1 bhi.n 800e786 - 800e7a2: 4282 cmp r2, r0 - 800e7a4: e7e9 b.n 800e77a - 800e7a6: 1b12 subs r2, r2, r4 - 800e7a8: b292 uxth r2, r2 - 800e7aa: 4282 cmp r2, r0 - 800e7ac: d8eb bhi.n 800e786 - 800e7ae: f04f 30ff mov.w r0, #4294967295 - 800e7b2: f386 8810 msr PRIMASK, r6 - 800e7b6: bd70 pop {r4, r5, r6, pc} - 800e7b8: 20001f68 .word 0x20001f68 - -0800e7bc : - 800e7bc: f3ef 8110 mrs r1, PRIMASK - 800e7c0: b672 cpsid i - 800e7c2: 4a03 ldr r2, [pc, #12] ; (800e7d0 ) - 800e7c4: 8ad3 ldrh r3, [r2, #22] - 800e7c6: 3301 adds r3, #1 - 800e7c8: 82d3 strh r3, [r2, #22] - 800e7ca: f381 8810 msr PRIMASK, r1 - 800e7ce: 4770 bx lr - 800e7d0: 20001f68 .word 0x20001f68 - -0800e7d4 : - 800e7d4: f3ef 8110 mrs r1, PRIMASK - 800e7d8: b672 cpsid i - 800e7da: 4a03 ldr r2, [pc, #12] ; (800e7e8 ) - 800e7dc: 8ad3 ldrh r3, [r2, #22] - 800e7de: 3b01 subs r3, #1 - 800e7e0: 82d3 strh r3, [r2, #22] - 800e7e2: f381 8810 msr PRIMASK, r1 - 800e7e6: 4770 bx lr - 800e7e8: 20001f68 .word 0x20001f68 - -0800e7ec : - 800e7ec: b510 push {r4, lr} - 800e7ee: 4808 ldr r0, [pc, #32] ; (800e810 ) - 800e7f0: 2218 movs r2, #24 - 800e7f2: 2100 movs r1, #0 - 800e7f4: f000 f976 bl 800eae4 - 800e7f8: 4806 ldr r0, [pc, #24] ; (800e814 ) - 800e7fa: f44f 6280 mov.w r2, #1024 ; 0x400 - 800e7fe: 2100 movs r1, #0 - 800e800: f000 f970 bl 800eae4 - 800e804: 4b04 ldr r3, [pc, #16] ; (800e818 ) - 800e806: 4805 ldr r0, [pc, #20] ; (800e81c ) - 800e808: 681b ldr r3, [r3, #0] - 800e80a: e8bd 4010 ldmia.w sp!, {r4, lr} - 800e80e: 4718 bx r3 - 800e810: 20001f68 .word 0x20001f68 - 800e814: 20001b68 .word 0x20001b68 - 800e818: 0800f568 .word 0x0800f568 - 800e81c: 0800e98d .word 0x0800e98d - -0800e820 : - 800e820: 4b01 ldr r3, [pc, #4] ; (800e828 ) - 800e822: 6058 str r0, [r3, #4] - 800e824: 4770 bx lr - 800e826: bf00 nop - 800e828: 20001f68 .word 0x20001f68 - -0800e82c : - 800e82c: 4b01 ldr r3, [pc, #4] ; (800e834 ) - 800e82e: 7218 strb r0, [r3, #8] - 800e830: 4770 bx lr - 800e832: bf00 nop - 800e834: 20001f68 .word 0x20001f68 - -0800e838 : - 800e838: b573 push {r0, r1, r4, r5, r6, lr} - 800e83a: f3ef 8510 mrs r5, PRIMASK - 800e83e: b672 cpsid i - 800e840: 4c1c ldr r4, [pc, #112] ; (800e8b4 ) - 800e842: 8ae0 ldrh r0, [r4, #22] - 800e844: 2800 cmp r0, #0 - 800e846: d12f bne.n 800e8a8 - 800e848: f7ff ffb8 bl 800e7bc - 800e84c: 8a21 ldrh r1, [r4, #16] - 800e84e: 8a62 ldrh r2, [r4, #18] - 800e850: 4291 cmp r1, r2 - 800e852: d027 beq.n 800e8a4 - 800e854: 78a3 ldrb r3, [r4, #2] - 800e856: 2b01 cmp r3, #1 - 800e858: d112 bne.n 800e880 - 800e85a: 8823 ldrh r3, [r4, #0] - 800e85c: 8020 strh r0, [r4, #0] - 800e85e: 1a5b subs r3, r3, r1 - 800e860: b29b uxth r3, r3 - 800e862: 2102 movs r1, #2 - 800e864: 82a3 strh r3, [r4, #20] - 800e866: 70a1 strb r1, [r4, #2] - 800e868: b963 cbnz r3, 800e884 - 800e86a: 70a3 strb r3, [r4, #2] - 800e86c: 8223 strh r3, [r4, #16] - 800e86e: 8a23 ldrh r3, [r4, #16] - 800e870: 429a cmp r2, r3 - 800e872: bf8b itete hi - 800e874: 1ad2 subhi r2, r2, r3 - 800e876: f5c3 6380 rsbls r3, r3, #1024 ; 0x400 - 800e87a: 82a2 strhhi r2, [r4, #20] - 800e87c: 82a3 strhls r3, [r4, #20] - 800e87e: e001 b.n 800e884 - 800e880: 2b00 cmp r3, #0 - 800e882: d0f4 beq.n 800e86e - 800e884: 8a23 ldrh r3, [r4, #16] - 800e886: 4e0c ldr r6, [pc, #48] ; (800e8b8 ) - 800e888: 441e add r6, r3 - 800e88a: f385 8810 msr PRIMASK, r5 - 800e88e: f7f2 ffff bl 8001890 - 800e892: 4b0a ldr r3, [pc, #40] ; (800e8bc ) - 800e894: 8aa1 ldrh r1, [r4, #20] - 800e896: 68db ldr r3, [r3, #12] - 800e898: 9301 str r3, [sp, #4] - 800e89a: 4630 mov r0, r6 - 800e89c: b002 add sp, #8 - 800e89e: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 800e8a2: 4718 bx r3 - 800e8a4: f7ff ff96 bl 800e7d4 - 800e8a8: f385 8810 msr PRIMASK, r5 - 800e8ac: 2000 movs r0, #0 - 800e8ae: b002 add sp, #8 - 800e8b0: bd70 pop {r4, r5, r6, pc} +0800e898 : + 800e898: b510 push {r4, lr} + 800e89a: 4611 mov r1, r2 + 800e89c: f3ef 8410 mrs r4, PRIMASK + 800e8a0: b672 cpsid i + 800e8a2: f7ff ff55 bl 800e750 + 800e8a6: 4b03 ldr r3, [pc, #12] ; (800e8b4 ) + 800e8a8: f843 1020 str.w r1, [r3, r0, lsl #2] + 800e8ac: f384 8810 msr PRIMASK, r4 + 800e8b0: bd10 pop {r4, pc} 800e8b2: bf00 nop - 800e8b4: 20001f68 .word 0x20001f68 - 800e8b8: 20001b68 .word 0x20001b68 - 800e8bc: 0800f568 .word 0x0800f568 + 800e8b4: 20002194 .word 0x20002194 -0800e8c0 : - 800e8c0: b408 push {r3} - 800e8c2: b5f0 push {r4, r5, r6, r7, lr} - 800e8c4: b086 sub sp, #24 - 800e8c6: 2300 movs r3, #0 - 800e8c8: f8ad 3000 strh.w r3, [sp] - 800e8cc: 4b2c ldr r3, [pc, #176] ; (800e980 ) - 800e8ce: 9c0b ldr r4, [sp, #44] ; 0x2c - 800e8d0: 7a1d ldrb r5, [r3, #8] - 800e8d2: 4285 cmp r5, r0 - 800e8d4: d34d bcc.n 800e972 - 800e8d6: 68d8 ldr r0, [r3, #12] - 800e8d8: 4381 bics r1, r0 - 800e8da: d14d bne.n 800e978 - 800e8dc: 685b ldr r3, [r3, #4] - 800e8de: b11b cbz r3, 800e8e8 - 800e8e0: b112 cbz r2, 800e8e8 - 800e8e2: 4669 mov r1, sp - 800e8e4: a802 add r0, sp, #8 - 800e8e6: 4798 blx r3 - 800e8e8: ab0c add r3, sp, #48 ; 0x30 - 800e8ea: 4622 mov r2, r4 - 800e8ec: f44f 7100 mov.w r1, #512 ; 0x200 - 800e8f0: 4824 ldr r0, [pc, #144] ; (800e984 ) - 800e8f2: 9301 str r3, [sp, #4] - 800e8f4: f000 fbf6 bl 800f0e4 - 800e8f8: f7ff ff60 bl 800e7bc - 800e8fc: f8bd 3000 ldrh.w r3, [sp] - 800e900: 4418 add r0, r3 - 800e902: f10d 0102 add.w r1, sp, #2 - 800e906: b280 uxth r0, r0 - 800e908: f7ff ff28 bl 800e75c - 800e90c: 3001 adds r0, #1 - 800e90e: d02b beq.n 800e968 - 800e910: 2200 movs r2, #0 - 800e912: f8bd 3000 ldrh.w r3, [sp] - 800e916: f8bd 7002 ldrh.w r7, [sp, #2] - 800e91a: 481b ldr r0, [pc, #108] ; (800e988 ) - 800e91c: f10d 0c08 add.w ip, sp, #8 - 800e920: 4616 mov r6, r2 - 800e922: b291 uxth r1, r2 - 800e924: fa17 f582 uxtah r5, r7, r2 - 800e928: 428b cmp r3, r1 - 800e92a: b2ad uxth r5, r5 - 800e92c: d816 bhi.n 800e95c - 800e92e: 443b add r3, r7 - 800e930: b29b uxth r3, r3 - 800e932: b10e cbz r6, 800e938 - 800e934: f8ad 3002 strh.w r3, [sp, #2] - 800e938: f8bd 5002 ldrh.w r5, [sp, #2] - 800e93c: 9b01 ldr r3, [sp, #4] - 800e93e: 4622 mov r2, r4 - 800e940: f44f 7100 mov.w r1, #512 ; 0x200 - 800e944: 4428 add r0, r5 - 800e946: f000 fbcd bl 800f0e4 - 800e94a: f7ff ff43 bl 800e7d4 - 800e94e: f7ff ff73 bl 800e838 - 800e952: b006 add sp, #24 - 800e954: e8bd 40f0 ldmia.w sp!, {r4, r5, r6, r7, lr} - 800e958: b001 add sp, #4 - 800e95a: 4770 bx lr - 800e95c: f81c 1b01 ldrb.w r1, [ip], #1 - 800e960: 5541 strb r1, [r0, r5] - 800e962: 3201 adds r2, #1 - 800e964: 2601 movs r6, #1 - 800e966: e7dc b.n 800e922 - 800e968: f7ff ff34 bl 800e7d4 - 800e96c: f06f 0002 mvn.w r0, #2 - 800e970: e7ef b.n 800e952 - 800e972: f06f 0004 mvn.w r0, #4 - 800e976: e7ec b.n 800e952 - 800e978: f06f 0005 mvn.w r0, #5 - 800e97c: e7e9 b.n 800e952 - 800e97e: bf00 nop - 800e980: 20001f68 .word 0x20001f68 - 800e984: 20001f80 .word 0x20001f80 - 800e988: 20001b68 .word 0x20001b68 +0800e8b8 : + 800e8b8: b082 sub sp, #8 + 800e8ba: b082 sub sp, #8 + 800e8bc: f10d 0c08 add.w ip, sp, #8 + 800e8c0: e90c 0006 stmdb ip, {r1, r2} + 800e8c4: f8bd 2004 ldrh.w r2, [sp, #4] + 800e8c8: 9303 str r3, [sp, #12] + 800e8ca: 440b add r3, r1 + 800e8cc: f8bd 1010 ldrh.w r1, [sp, #16] + 800e8d0: 440a add r2, r1 + 800e8d2: b291 uxth r1, r2 + 800e8d4: b212 sxth r2, r2 + 800e8d6: f5b2 7f7a cmp.w r2, #1000 ; 0x3e8 + 800e8da: bfa2 ittt ge + 800e8dc: f5a1 727a subge.w r2, r1, #1000 ; 0x3e8 + 800e8e0: 3301 addge r3, #1 + 800e8e2: b212 sxthge r2, r2 + 800e8e4: 6003 str r3, [r0, #0] + 800e8e6: 8082 strh r2, [r0, #4] + 800e8e8: b002 add sp, #8 + 800e8ea: b002 add sp, #8 + 800e8ec: 4770 bx lr -0800e98c : - 800e98c: b513 push {r0, r1, r4, lr} - 800e98e: f3ef 8410 mrs r4, PRIMASK - 800e992: b672 cpsid i - 800e994: 4b20 ldr r3, [pc, #128] ; (800ea18 ) - 800e996: 789a ldrb r2, [r3, #2] - 800e998: 8a58 ldrh r0, [r3, #18] - 800e99a: 2a02 cmp r2, #2 - 800e99c: bf1d ittte ne - 800e99e: 8a1a ldrhne r2, [r3, #16] - 800e9a0: 8a99 ldrhne r1, [r3, #20] - 800e9a2: 1852 addne r2, r2, r1 - 800e9a4: 2200 moveq r2, #0 - 800e9a6: bf14 ite ne - 800e9a8: f3c2 0209 ubfxne r2, r2, #0, #10 - 800e9ac: 709a strbeq r2, [r3, #2] - 800e9ae: 4290 cmp r0, r2 - 800e9b0: 821a strh r2, [r3, #16] - 800e9b2: d028 beq.n 800ea06 - 800e9b4: 8ad9 ldrh r1, [r3, #22] - 800e9b6: 2901 cmp r1, #1 - 800e9b8: d125 bne.n 800ea06 - 800e9ba: 7899 ldrb r1, [r3, #2] - 800e9bc: 2901 cmp r1, #1 - 800e9be: d113 bne.n 800e9e8 - 800e9c0: 8819 ldrh r1, [r3, #0] - 800e9c2: 1a8a subs r2, r1, r2 - 800e9c4: 2102 movs r1, #2 - 800e9c6: b292 uxth r2, r2 - 800e9c8: 7099 strb r1, [r3, #2] - 800e9ca: 2100 movs r1, #0 - 800e9cc: 829a strh r2, [r3, #20] - 800e9ce: 8019 strh r1, [r3, #0] - 800e9d0: b962 cbnz r2, 800e9ec - 800e9d2: 709a strb r2, [r3, #2] - 800e9d4: 821a strh r2, [r3, #16] - 800e9d6: 8a1a ldrh r2, [r3, #16] - 800e9d8: 4290 cmp r0, r2 - 800e9da: bf8b itete hi - 800e9dc: 1a80 subhi r0, r0, r2 - 800e9de: f5c2 6280 rsbls r2, r2, #1024 ; 0x400 - 800e9e2: 8298 strhhi r0, [r3, #20] - 800e9e4: 829a strhls r2, [r3, #20] - 800e9e6: e001 b.n 800e9ec - 800e9e8: 2900 cmp r1, #0 - 800e9ea: d0f4 beq.n 800e9d6 - 800e9ec: 8a1a ldrh r2, [r3, #16] - 800e9ee: 480b ldr r0, [pc, #44] ; (800ea1c ) - 800e9f0: 4410 add r0, r2 - 800e9f2: f384 8810 msr PRIMASK, r4 - 800e9f6: 4a0a ldr r2, [pc, #40] ; (800ea20 ) - 800e9f8: 8a99 ldrh r1, [r3, #20] - 800e9fa: 68d3 ldr r3, [r2, #12] - 800e9fc: 9301 str r3, [sp, #4] - 800e9fe: b002 add sp, #8 - 800ea00: e8bd 4010 ldmia.w sp!, {r4, lr} - 800ea04: 4718 bx r3 - 800ea06: f384 8810 msr PRIMASK, r4 - 800ea0a: f7f2 ff45 bl 8001898 - 800ea0e: b002 add sp, #8 - 800ea10: e8bd 4010 ldmia.w sp!, {r4, lr} - 800ea14: f7ff bede b.w 800e7d4 - 800ea18: 20001f68 .word 0x20001f68 - 800ea1c: 20001b68 .word 0x20001b68 - 800ea20: 0800f568 .word 0x0800f568 +0800e8ee : + 800e8ee: b082 sub sp, #8 + 800e8f0: b082 sub sp, #8 + 800e8f2: f10d 0c08 add.w ip, sp, #8 + 800e8f6: e90c 0006 stmdb ip, {r1, r2} + 800e8fa: f8bd 2004 ldrh.w r2, [sp, #4] + 800e8fe: 9303 str r3, [sp, #12] + 800e900: 1acb subs r3, r1, r3 + 800e902: f8bd 1010 ldrh.w r1, [sp, #16] + 800e906: 1a52 subs r2, r2, r1 + 800e908: b291 uxth r1, r2 + 800e90a: b212 sxth r2, r2 + 800e90c: 2a00 cmp r2, #0 + 800e90e: bfbe ittt lt + 800e910: f501 727a addlt.w r2, r1, #1000 ; 0x3e8 + 800e914: f103 33ff addlt.w r3, r3, #4294967295 + 800e918: b212 sxthlt r2, r2 + 800e91a: 6003 str r3, [r0, #0] + 800e91c: 8082 strh r2, [r0, #4] + 800e91e: b002 add sp, #8 + 800e920: b002 add sp, #8 + 800e922: 4770 bx lr -0800ea24 : - 800ea24: 4a02 ldr r2, [pc, #8] ; (800ea30 ) - 800ea26: 2300 movs r3, #0 - 800ea28: 6013 str r3, [r2, #0] - 800ea2a: 4a02 ldr r2, [pc, #8] ; (800ea34 ) - 800ea2c: 6013 str r3, [r2, #0] - 800ea2e: 4770 bx lr - 800ea30: 20002184 .word 0x20002184 - 800ea34: 20002180 .word 0x20002180 +0800e924 : + 800e924: b530 push {r4, r5, lr} + 800e926: b085 sub sp, #20 + 800e928: 4d11 ldr r5, [pc, #68] ; (800e970 ) + 800e92a: 466b mov r3, sp + 800e92c: e883 0003 stmia.w r3, {r0, r1} + 800e930: 2300 movs r3, #0 + 800e932: 9302 str r3, [sp, #8] + 800e934: f8ad 300c strh.w r3, [sp, #12] + 800e938: a803 add r0, sp, #12 + 800e93a: 692b ldr r3, [r5, #16] + 800e93c: 4798 blx r3 + 800e93e: 9b00 ldr r3, [sp, #0] + 800e940: f8bd 4004 ldrh.w r4, [sp, #4] + 800e944: 9002 str r0, [sp, #8] + 800e946: 1a18 subs r0, r3, r0 + 800e948: f8bd 300c ldrh.w r3, [sp, #12] + 800e94c: 1ae4 subs r4, r4, r3 + 800e94e: b2a3 uxth r3, r4 + 800e950: b224 sxth r4, r4 + 800e952: 2c00 cmp r4, #0 + 800e954: bfbe ittt lt + 800e956: f503 737a addlt.w r3, r3, #1000 ; 0x3e8 + 800e95a: b21c sxthlt r4, r3 + 800e95c: f100 30ff addlt.w r0, r0, #4294967295 + 800e960: 682b ldr r3, [r5, #0] + 800e962: 4798 blx r3 + 800e964: 68ab ldr r3, [r5, #8] + 800e966: 4620 mov r0, r4 + 800e968: 4798 blx r3 + 800e96a: b005 add sp, #20 + 800e96c: bd30 pop {r4, r5, pc} + 800e96e: bf00 nop + 800e970: 0800f160 .word 0x0800f160 -0800ea38 : - 800ea38: b510 push {r4, lr} - 800ea3a: f3ef 8410 mrs r4, PRIMASK - 800ea3e: b672 cpsid i - 800ea40: b141 cbz r1, 800ea54 - 800ea42: 2901 cmp r1, #1 - 800ea44: d103 bne.n 800ea4e - 800ea46: 4a06 ldr r2, [pc, #24] ; (800ea60 ) - 800ea48: 6813 ldr r3, [r2, #0] - 800ea4a: 4303 orrs r3, r0 - 800ea4c: 6013 str r3, [r2, #0] - 800ea4e: f384 8810 msr PRIMASK, r4 - 800ea52: bd10 pop {r4, pc} - 800ea54: 4a02 ldr r2, [pc, #8] ; (800ea60 ) - 800ea56: 6813 ldr r3, [r2, #0] - 800ea58: ea23 0300 bic.w r3, r3, r0 - 800ea5c: e7f6 b.n 800ea4c - 800ea5e: bf00 nop - 800ea60: 20002184 .word 0x20002184 +0800e974 : + 800e974: b573 push {r0, r1, r4, r5, r6, lr} + 800e976: 4e11 ldr r6, [pc, #68] ; (800e9bc ) + 800e978: 2300 movs r3, #0 + 800e97a: 4605 mov r5, r0 + 800e97c: 9300 str r3, [sp, #0] + 800e97e: f8ad 3004 strh.w r3, [sp, #4] + 800e982: a801 add r0, sp, #4 + 800e984: 6933 ldr r3, [r6, #16] + 800e986: 4798 blx r3 + 800e988: 68f3 ldr r3, [r6, #12] + 800e98a: 9000 str r0, [sp, #0] + 800e98c: 4798 blx r3 + 800e98e: 6873 ldr r3, [r6, #4] + 800e990: 4604 mov r4, r0 + 800e992: 4798 blx r3 + 800e994: 9b00 ldr r3, [sp, #0] + 800e996: 4418 add r0, r3 + 800e998: f8bd 3004 ldrh.w r3, [sp, #4] + 800e99c: 4423 add r3, r4 + 800e99e: b29a uxth r2, r3 + 800e9a0: b21b sxth r3, r3 + 800e9a2: f5b3 7f7a cmp.w r3, #1000 ; 0x3e8 + 800e9a6: bfa2 ittt ge + 800e9a8: 3001 addge r0, #1 + 800e9aa: f5a2 737a subge.w r3, r2, #1000 ; 0x3e8 + 800e9ae: b21b sxthge r3, r3 + 800e9b0: 6028 str r0, [r5, #0] + 800e9b2: 4628 mov r0, r5 + 800e9b4: 80ab strh r3, [r5, #4] + 800e9b6: b002 add sp, #8 + 800e9b8: bd70 pop {r4, r5, r6, pc} + 800e9ba: bf00 nop + 800e9bc: 0800f160 .word 0x0800f160 -0800ea64 : - 800ea64: b510 push {r4, lr} - 800ea66: f3ef 8410 mrs r4, PRIMASK - 800ea6a: b672 cpsid i - 800ea6c: b141 cbz r1, 800ea80 - 800ea6e: 2901 cmp r1, #1 - 800ea70: d103 bne.n 800ea7a - 800ea72: 4a06 ldr r2, [pc, #24] ; (800ea8c ) - 800ea74: 6813 ldr r3, [r2, #0] - 800ea76: 4303 orrs r3, r0 - 800ea78: 6013 str r3, [r2, #0] - 800ea7a: f384 8810 msr PRIMASK, r4 - 800ea7e: bd10 pop {r4, pc} - 800ea80: 4a02 ldr r2, [pc, #8] ; (800ea8c ) - 800ea82: 6813 ldr r3, [r2, #0] - 800ea84: ea23 0300 bic.w r3, r3, r0 - 800ea88: e7f6 b.n 800ea78 - 800ea8a: bf00 nop - 800ea8c: 20002180 .word 0x20002180 +0800e9c0 : + 800e9c0: b537 push {r0, r1, r2, r4, r5, lr} + 800e9c2: 2300 movs r3, #0 + 800e9c4: 9300 str r3, [sp, #0] + 800e9c6: f8ad 3004 strh.w r3, [sp, #4] + 800e9ca: 4b07 ldr r3, [pc, #28] ; (800e9e8 ) + 800e9cc: 4604 mov r4, r0 + 800e9ce: 691b ldr r3, [r3, #16] + 800e9d0: a801 add r0, sp, #4 + 800e9d2: 4798 blx r3 + 800e9d4: 466d mov r5, sp + 800e9d6: 9000 str r0, [sp, #0] + 800e9d8: e895 0003 ldmia.w r5, {r0, r1} + 800e9dc: e884 0003 stmia.w r4, {r0, r1} + 800e9e0: 4620 mov r0, r4 + 800e9e2: b003 add sp, #12 + 800e9e4: bd30 pop {r4, r5, pc} + 800e9e6: bf00 nop + 800e9e8: 0800f160 .word 0x0800f160 -0800ea90 : - 800ea90: b538 push {r3, r4, r5, lr} - 800ea92: f3ef 8510 mrs r5, PRIMASK - 800ea96: b672 cpsid i - 800ea98: 4b0a ldr r3, [pc, #40] ; (800eac4 ) - 800ea9a: 4c0b ldr r4, [pc, #44] ; (800eac8 ) - 800ea9c: 681b ldr r3, [r3, #0] - 800ea9e: b133 cbz r3, 800eaae - 800eaa0: 6823 ldr r3, [r4, #0] - 800eaa2: 4798 blx r3 - 800eaa4: 6863 ldr r3, [r4, #4] - 800eaa6: 4798 blx r3 - 800eaa8: f385 8810 msr PRIMASK, r5 - 800eaac: bd38 pop {r3, r4, r5, pc} - 800eaae: 4b07 ldr r3, [pc, #28] ; (800eacc ) - 800eab0: 681b ldr r3, [r3, #0] - 800eab2: b11b cbz r3, 800eabc - 800eab4: 68a3 ldr r3, [r4, #8] - 800eab6: 4798 blx r3 - 800eab8: 68e3 ldr r3, [r4, #12] - 800eaba: e7f4 b.n 800eaa6 - 800eabc: 6923 ldr r3, [r4, #16] - 800eabe: 4798 blx r3 - 800eac0: 6963 ldr r3, [r4, #20] - 800eac2: e7f0 b.n 800eaa6 - 800eac4: 20002184 .word 0x20002184 - 800eac8: 0800f504 .word 0x0800f504 - 800eacc: 20002180 .word 0x20002180 +0800e9ec : + 800e9ec: b537 push {r0, r1, r2, r4, r5, lr} + 800e9ee: 4d0f ldr r5, [pc, #60] ; (800ea2c ) + 800e9f0: ab02 add r3, sp, #8 + 800e9f2: e903 0003 stmdb r3, {r0, r1} + 800e9f6: 68eb ldr r3, [r5, #12] + 800e9f8: 4798 blx r3 + 800e9fa: 686b ldr r3, [r5, #4] + 800e9fc: 4604 mov r4, r0 + 800e9fe: 4798 blx r3 + 800ea00: f8bd 3004 ldrh.w r3, [sp, #4] + 800ea04: 9a00 ldr r2, [sp, #0] + 800ea06: 1b1b subs r3, r3, r4 + 800ea08: b299 uxth r1, r3 + 800ea0a: b21b sxth r3, r3 + 800ea0c: 2b00 cmp r3, #0 + 800ea0e: eba2 0200 sub.w r2, r2, r0 + 800ea12: bfbe ittt lt + 800ea14: f501 717a addlt.w r1, r1, #1000 ; 0x3e8 + 800ea18: f102 32ff addlt.w r2, r2, #4294967295 + 800ea1c: b20b sxthlt r3, r1 + 800ea1e: f44f 707a mov.w r0, #1000 ; 0x3e8 + 800ea22: fb00 3002 mla r0, r0, r2, r3 + 800ea26: b003 add sp, #12 + 800ea28: bd30 pop {r4, r5, pc} + 800ea2a: bf00 nop + 800ea2c: 0800f160 .word 0x0800f160 -0800ead0 : - 800ead0: 3801 subs r0, #1 - 800ead2: 440a add r2, r1 - 800ead4: 4291 cmp r1, r2 - 800ead6: d100 bne.n 800eada - 800ead8: 4770 bx lr - 800eada: f811 3b01 ldrb.w r3, [r1], #1 - 800eade: f800 3f01 strb.w r3, [r0, #1]! - 800eae2: e7f7 b.n 800ead4 +0800ea30 : + 800ea30: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800ea34: f44f 757a mov.w r5, #1000 ; 0x3e8 + 800ea38: fbb1 f5f5 udiv r5, r1, r5 + 800ea3c: ebc5 1345 rsb r3, r5, r5, lsl #5 + 800ea40: f8df 803c ldr.w r8, [pc, #60] ; 800ea80 + 800ea44: eb05 0383 add.w r3, r5, r3, lsl #2 + 800ea48: eba1 03c3 sub.w r3, r1, r3, lsl #3 + 800ea4c: b29c uxth r4, r3 + 800ea4e: f8d8 300c ldr.w r3, [r8, #12] + 800ea52: 4606 mov r6, r0 + 800ea54: 4798 blx r3 + 800ea56: f8d8 3004 ldr.w r3, [r8, #4] + 800ea5a: 4607 mov r7, r0 + 800ea5c: 4798 blx r3 + 800ea5e: 19e3 adds r3, r4, r7 + 800ea60: b299 uxth r1, r3 + 800ea62: b21b sxth r3, r3 + 800ea64: f5b3 7f7a cmp.w r3, #1000 ; 0x3e8 + 800ea68: 4428 add r0, r5 + 800ea6a: bfa2 ittt ge + 800ea6c: f5a1 737a subge.w r3, r1, #1000 ; 0x3e8 + 800ea70: 3001 addge r0, #1 + 800ea72: b21b sxthge r3, r3 + 800ea74: 6030 str r0, [r6, #0] + 800ea76: 80b3 strh r3, [r6, #4] + 800ea78: 4630 mov r0, r6 + 800ea7a: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800ea7e: bf00 nop + 800ea80: 0800f160 .word 0x0800f160 -0800eae4 : - 800eae4: f000 bc1c b.w 800f320 +0800ea84 : + 800ea84: 4b02 ldr r3, [pc, #8] ; (800ea90 ) + 800ea86: 2200 movs r2, #0 + 800ea88: 601a str r2, [r3, #0] + 800ea8a: 4b02 ldr r3, [pc, #8] ; (800ea94 ) + 800ea8c: 681b ldr r3, [r3, #0] + 800ea8e: 4718 bx r3 + 800ea90: 200021b0 .word 0x200021b0 + 800ea94: 0800f174 .word 0x0800f174 -0800eae8 : - 800eae8: b510 push {r4, lr} - 800eaea: f3ef 8410 mrs r4, PRIMASK - 800eaee: b672 cpsid i - 800eaf0: 4a06 ldr r2, [pc, #24] ; (800eb0c ) - 800eaf2: 6813 ldr r3, [r2, #0] - 800eaf4: 4303 orrs r3, r0 - 800eaf6: 6013 str r3, [r2, #0] - 800eaf8: 4a05 ldr r2, [pc, #20] ; (800eb10 ) - 800eafa: f852 3031 ldr.w r3, [r2, r1, lsl #3] - 800eafe: 4303 orrs r3, r0 - 800eb00: f842 3031 str.w r3, [r2, r1, lsl #3] - 800eb04: f384 8810 msr PRIMASK, r4 - 800eb08: bd10 pop {r4, pc} - 800eb0a: bf00 nop - 800eb0c: 200021ac .word 0x200021ac - 800eb10: 200021a4 .word 0x200021a4 +0800ea98 : + 800ea98: b5f8 push {r3, r4, r5, r6, r7, lr} + 800ea9a: 4604 mov r4, r0 + 800ea9c: 4617 mov r7, r2 + 800ea9e: 4608 mov r0, r1 + 800eaa0: 461e mov r6, r3 + 800eaa2: b17c cbz r4, 800eac4 + 800eaa4: b173 cbz r3, 800eac4 + 800eaa6: 4b08 ldr r3, [pc, #32] ; (800eac8 ) + 800eaa8: 2500 movs r5, #0 + 800eaaa: 6a5b ldr r3, [r3, #36] ; 0x24 + 800eaac: 6025 str r5, [r4, #0] + 800eaae: 4798 blx r3 + 800eab0: 9b06 ldr r3, [sp, #24] + 800eab2: 6060 str r0, [r4, #4] + 800eab4: 8125 strh r5, [r4, #8] + 800eab6: 72a5 strb r5, [r4, #10] + 800eab8: 60e6 str r6, [r4, #12] + 800eaba: 6123 str r3, [r4, #16] + 800eabc: 72e7 strb r7, [r4, #11] + 800eabe: 6165 str r5, [r4, #20] + 800eac0: 4628 mov r0, r5 + 800eac2: bdf8 pop {r3, r4, r5, r6, r7, pc} + 800eac4: 2001 movs r0, #1 + 800eac6: e7fc b.n 800eac2 + 800eac8: 0800f174 .word 0x0800f174 -0800eb14 : +0800eacc : + 800eacc: b510 push {r4, lr} + 800eace: 4c03 ldr r4, [pc, #12] ; (800eadc ) + 800ead0: 69e3 ldr r3, [r4, #28] + 800ead2: 4798 blx r3 + 800ead4: 6aa3 ldr r3, [r4, #40] ; 0x28 + 800ead6: e8bd 4010 ldmia.w sp!, {r4, lr} + 800eada: 4718 bx r3 + 800eadc: 0800f174 .word 0x0800f174 + +0800eae0 : + 800eae0: b570 push {r4, r5, r6, lr} + 800eae2: 4d06 ldr r5, [pc, #24] ; (800eafc ) + 800eae4: 69eb ldr r3, [r5, #28] + 800eae6: 4606 mov r6, r0 + 800eae8: 4798 blx r3 + 800eaea: 6a6b ldr r3, [r5, #36] ; 0x24 + 800eaec: 4604 mov r4, r0 + 800eaee: 4630 mov r0, r6 + 800eaf0: 4798 blx r3 + 800eaf2: 6aab ldr r3, [r5, #40] ; 0x28 + 800eaf4: 1a20 subs r0, r4, r0 + 800eaf6: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 800eafa: 4718 bx r3 + 800eafc: 0800f174 .word 0x0800f174 + +0800eb00 : + 800eb00: 4b05 ldr r3, [pc, #20] ; (800eb18 ) + 800eb02: 681b ldr r3, [r3, #0] + 800eb04: b90b cbnz r3, 800eb0a + 800eb06: 4618 mov r0, r3 + 800eb08: 4770 bx lr + 800eb0a: 4283 cmp r3, r0 + 800eb0c: d001 beq.n 800eb12 + 800eb0e: 695b ldr r3, [r3, #20] + 800eb10: e7f8 b.n 800eb04 + 800eb12: 2001 movs r0, #1 800eb14: 4770 bx lr + 800eb16: bf00 nop + 800eb18: 200021b0 .word 0x200021b0 -0800eb16 : - 800eb16: 4770 bx lr +0800eb1c : + 800eb1c: e92d 41f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, lr} + 800eb20: 4e0b ldr r6, [pc, #44] ; (800eb50 ) + 800eb22: 6a33 ldr r3, [r6, #32] + 800eb24: 4604 mov r4, r0 + 800eb26: 4798 blx r3 + 800eb28: 2301 movs r3, #1 + 800eb2a: 69b7 ldr r7, [r6, #24] + 800eb2c: 7223 strb r3, [r4, #8] + 800eb2e: f8d4 8000 ldr.w r8, [r4] + 800eb32: 4605 mov r5, r0 + 800eb34: 47b8 blx r7 + 800eb36: 4428 add r0, r5 + 800eb38: 4580 cmp r8, r0 + 800eb3a: d202 bcs.n 800eb42 + 800eb3c: 47b8 blx r7 + 800eb3e: 4428 add r0, r5 + 800eb40: 6020 str r0, [r4, #0] + 800eb42: 68b3 ldr r3, [r6, #8] + 800eb44: 6820 ldr r0, [r4, #0] + 800eb46: 9301 str r3, [sp, #4] + 800eb48: b002 add sp, #8 + 800eb4a: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 800eb4e: 4718 bx r3 + 800eb50: 0800f174 .word 0x0800f174 -0800eb18 : - 800eb18: 0c03 lsrs r3, r0, #16 - 800eb1a: 041b lsls r3, r3, #16 - 800eb1c: b9c3 cbnz r3, 800eb50 - 800eb1e: 0400 lsls r0, r0, #16 - 800eb20: 2310 movs r3, #16 - 800eb22: f010 4f7f tst.w r0, #4278190080 ; 0xff000000 - 800eb26: bf02 ittt eq - 800eb28: 3308 addeq r3, #8 - 800eb2a: 0200 lsleq r0, r0, #8 - 800eb2c: b2db uxtbeq r3, r3 - 800eb2e: f010 4f70 tst.w r0, #4026531840 ; 0xf0000000 - 800eb32: bf08 it eq - 800eb34: 0100 lsleq r0, r0, #4 - 800eb36: ea4f 7010 mov.w r0, r0, lsr #28 - 800eb3a: 4a06 ldr r2, [pc, #24] ; (800eb54 ) - 800eb3c: bf08 it eq - 800eb3e: 3304 addeq r3, #4 - 800eb40: 5c12 ldrb r2, [r2, r0] - 800eb42: bf08 it eq - 800eb44: b2db uxtbeq r3, r3 - 800eb46: f1c3 031f rsb r3, r3, #31 - 800eb4a: 1a98 subs r0, r3, r2 - 800eb4c: b2c0 uxtb r0, r0 - 800eb4e: 4770 bx lr - 800eb50: 2300 movs r3, #0 - 800eb52: e7e6 b.n 800eb22 - 800eb54: 08010308 .word 0x08010308 +0800eb54 : + 800eb54: b570 push {r4, r5, r6, lr} + 800eb56: b320 cbz r0, 800eba2 + 800eb58: f3ef 8610 mrs r6, PRIMASK + 800eb5c: b672 cpsid i + 800eb5e: 4d12 ldr r5, [pc, #72] ; (800eba8 ) + 800eb60: 682b ldr r3, [r5, #0] + 800eb62: 2201 movs r2, #1 + 800eb64: 7282 strb r2, [r0, #10] + 800eb66: b153 cbz r3, 800eb7e + 800eb68: 2200 movs r2, #0 + 800eb6a: 7242 strb r2, [r0, #9] + 800eb6c: 4298 cmp r0, r3 + 800eb6e: 695c ldr r4, [r3, #20] + 800eb70: d10e bne.n 800eb90 + 800eb72: 7202 strb r2, [r0, #8] + 800eb74: b13c cbz r4, 800eb86 + 800eb76: 4620 mov r0, r4 + 800eb78: 602c str r4, [r5, #0] + 800eb7a: f7ff ffcf bl 800eb1c + 800eb7e: f386 8810 msr PRIMASK, r6 + 800eb82: 2000 movs r0, #0 + 800eb84: bd70 pop {r4, r5, r6, pc} + 800eb86: 4b09 ldr r3, [pc, #36] ; (800ebac ) + 800eb88: 68db ldr r3, [r3, #12] + 800eb8a: 4798 blx r3 + 800eb8c: 602c str r4, [r5, #0] + 800eb8e: e7f6 b.n 800eb7e + 800eb90: 461a mov r2, r3 + 800eb92: 695b ldr r3, [r3, #20] + 800eb94: 2b00 cmp r3, #0 + 800eb96: d0f2 beq.n 800eb7e + 800eb98: 4298 cmp r0, r3 + 800eb9a: d1f9 bne.n 800eb90 + 800eb9c: 6943 ldr r3, [r0, #20] + 800eb9e: 6153 str r3, [r2, #20] + 800eba0: e7ed b.n 800eb7e + 800eba2: 2001 movs r0, #1 + 800eba4: e7ee b.n 800eb84 + 800eba6: bf00 nop + 800eba8: 200021b0 .word 0x200021b0 + 800ebac: 0800f174 .word 0x0800f174 -0800eb58 : - 800eb58: e92d 4ff8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800eb5c: 4d38 ldr r5, [pc, #224] ; (800ec40 ) - 800eb5e: 4e39 ldr r6, [pc, #228] ; (800ec44 ) - 800eb60: f8d5 8000 ldr.w r8, [r5] - 800eb64: f8df b0e0 ldr.w fp, [pc, #224] ; 800ec48 - 800eb68: f8df a0e0 ldr.w sl, [pc, #224] ; 800ec4c - 800eb6c: f8df 90e0 ldr.w r9, [pc, #224] ; 800ec50 - 800eb70: f8d6 c000 ldr.w ip, [r6] - 800eb74: 4f37 ldr r7, [pc, #220] ; (800ec54 ) - 800eb76: f8db 1000 ldr.w r1, [fp] - 800eb7a: 4c37 ldr r4, [pc, #220] ; (800ec58 ) - 800eb7c: f8da 2000 ldr.w r2, [sl] - 800eb80: f8d9 3000 ldr.w r3, [r9] - 800eb84: ea08 0000 and.w r0, r8, r0 - 800eb88: 6028 str r0, [r5, #0] - 800eb8a: 6828 ldr r0, [r5, #0] - 800eb8c: ea00 0e02 and.w lr, r0, r2 - 800eb90: ea1e 0f0c tst.w lr, ip - 800eb94: d001 beq.n 800eb9a - 800eb96: 4219 tst r1, r3 - 800eb98: d01e beq.n 800ebd8 - 800eb9a: f04f 33ff mov.w r3, #4294967295 - 800eb9e: 603b str r3, [r7, #0] - 800eba0: f7ff ffb8 bl 800eb14 - 800eba4: f3ef 8410 mrs r4, PRIMASK - 800eba8: b672 cpsid i - 800ebaa: 6833 ldr r3, [r6, #0] - 800ebac: f8db 2000 ldr.w r2, [fp] - 800ebb0: f8da 1000 ldr.w r1, [sl] - 800ebb4: 400b ands r3, r1 - 800ebb6: 6829 ldr r1, [r5, #0] - 800ebb8: 420b tst r3, r1 - 800ebba: d105 bne.n 800ebc8 - 800ebbc: f8d9 3000 ldr.w r3, [r9] - 800ebc0: 4213 tst r3, r2 - 800ebc2: d101 bne.n 800ebc8 - 800ebc4: f7f2 fdf2 bl 80017ac - 800ebc8: f384 8810 msr PRIMASK, r4 - 800ebcc: f7ff ffa3 bl 800eb16 - 800ebd0: f8c5 8000 str.w r8, [r5] - 800ebd4: e8bd 8ff8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800ebd8: 6823 ldr r3, [r4, #0] - 800ebda: 6823 ldr r3, [r4, #0] - 800ebdc: 4003 ands r3, r0 - 800ebde: 4013 ands r3, r2 - 800ebe0: 6862 ldr r2, [r4, #4] - 800ebe2: 421a tst r2, r3 - 800ebe4: bf04 itt eq - 800ebe6: f04f 32ff moveq.w r2, #4294967295 - 800ebea: 6062 streq r2, [r4, #4] - 800ebec: 6860 ldr r0, [r4, #4] - 800ebee: 4018 ands r0, r3 - 800ebf0: f7ff ff92 bl 800eb18 - 800ebf4: 6862 ldr r2, [r4, #4] - 800ebf6: 6038 str r0, [r7, #0] - 800ebf8: 2301 movs r3, #1 - 800ebfa: fa03 f000 lsl.w r0, r3, r0 - 800ebfe: ea22 0200 bic.w r2, r2, r0 - 800ec02: 6062 str r2, [r4, #4] - 800ec04: f3ef 8110 mrs r1, PRIMASK +0800ebb0 : + 800ebb0: 4b08 ldr r3, [pc, #32] ; (800ebd4 ) + 800ebb2: b510 push {r4, lr} + 800ebb4: 681a ldr r2, [r3, #0] + 800ebb6: 6953 ldr r3, [r2, #20] + 800ebb8: 6951 ldr r1, [r2, #20] + 800ebba: b911 cbnz r1, 800ebc2 + 800ebbc: 6150 str r0, [r2, #20] + 800ebbe: 6141 str r1, [r0, #20] + 800ebc0: bd10 pop {r4, pc} + 800ebc2: 6804 ldr r4, [r0, #0] + 800ebc4: 6819 ldr r1, [r3, #0] + 800ebc6: 428c cmp r4, r1 + 800ebc8: d902 bls.n 800ebd0 + 800ebca: 461a mov r2, r3 + 800ebcc: 695b ldr r3, [r3, #20] + 800ebce: e7f3 b.n 800ebb8 + 800ebd0: 4619 mov r1, r3 + 800ebd2: e7f3 b.n 800ebbc + 800ebd4: 200021b0 .word 0x200021b0 + +0800ebd8 : + 800ebd8: 4a04 ldr r2, [pc, #16] ; (800ebec ) + 800ebda: 6813 ldr r3, [r2, #0] + 800ebdc: b10b cbz r3, 800ebe2 + 800ebde: 2100 movs r1, #0 + 800ebe0: 7219 strb r1, [r3, #8] + 800ebe2: 6143 str r3, [r0, #20] + 800ebe4: 6010 str r0, [r2, #0] + 800ebe6: f7ff bf99 b.w 800eb1c + 800ebea: bf00 nop + 800ebec: 200021b0 .word 0x200021b0 + +0800ebf0 : + 800ebf0: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800ebf4: 4604 mov r4, r0 + 800ebf6: 2800 cmp r0, #0 + 800ebf8: d02d beq.n 800ec56 + 800ebfa: f7ff ff81 bl 800eb00 + 800ebfe: bb50 cbnz r0, 800ec56 + 800ec00: 7a65 ldrb r5, [r4, #9] + 800ec02: bb45 cbnz r5, 800ec56 + 800ec04: f3ef 8810 mrs r8, PRIMASK 800ec08: b672 cpsid i - 800ec0a: 683a ldr r2, [r7, #0] - 800ec0c: 4093 lsls r3, r2 - 800ec0e: 6832 ldr r2, [r6, #0] - 800ec10: ea22 0203 bic.w r2, r2, r3 - 800ec14: 6032 str r2, [r6, #0] - 800ec16: 6822 ldr r2, [r4, #0] - 800ec18: ea22 0303 bic.w r3, r2, r3 - 800ec1c: 6023 str r3, [r4, #0] - 800ec1e: f381 8810 msr PRIMASK, r1 - 800ec22: 4a0e ldr r2, [pc, #56] ; (800ec5c ) + 800ec0a: 4e14 ldr r6, [pc, #80] ; (800ec5c ) + 800ec0c: 6867 ldr r7, [r4, #4] + 800ec0e: 6a33 ldr r3, [r6, #32] + 800ec10: 4798 blx r3 + 800ec12: 4287 cmp r7, r0 + 800ec14: bf2c ite cs + 800ec16: 6027 strcs r7, [r4, #0] + 800ec18: 6020 strcc r0, [r4, #0] + 800ec1a: 4f11 ldr r7, [pc, #68] ; (800ec60 ) + 800ec1c: 72a5 strb r5, [r4, #10] + 800ec1e: f44f 7380 mov.w r3, #256 ; 0x100 + 800ec22: 8123 strh r3, [r4, #8] 800ec24: 683b ldr r3, [r7, #0] - 800ec26: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 800ec26: b94b cbnz r3, 800ec3c + 800ec28: 6933 ldr r3, [r6, #16] 800ec2a: 4798 blx r3 - 800ec2c: f8d6 c000 ldr.w ip, [r6] - 800ec30: f8db 1000 ldr.w r1, [fp] - 800ec34: f8da 2000 ldr.w r2, [sl] - 800ec38: f8d9 3000 ldr.w r3, [r9] - 800ec3c: e7a5 b.n 800eb8a - 800ec3e: bf00 nop - 800ec40: 20000100 .word 0x20000100 - 800ec44: 200021ac .word 0x200021ac - 800ec48: 2000218c .word 0x2000218c - 800ec4c: 20000104 .word 0x20000104 - 800ec50: 20002190 .word 0x20002190 - 800ec54: 20002188 .word 0x20002188 - 800ec58: 200021a4 .word 0x200021a4 - 800ec5c: 20002194 .word 0x20002194 + 800ec2c: 4620 mov r0, r4 + 800ec2e: f7ff ffd3 bl 800ebd8 + 800ec32: f388 8810 msr PRIMASK, r8 + 800ec36: 4628 mov r0, r5 + 800ec38: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800ec3c: 69b3 ldr r3, [r6, #24] + 800ec3e: 4798 blx r3 + 800ec40: 6823 ldr r3, [r4, #0] + 800ec42: 4418 add r0, r3 + 800ec44: 683b ldr r3, [r7, #0] + 800ec46: 6020 str r0, [r4, #0] + 800ec48: 681b ldr r3, [r3, #0] + 800ec4a: 4298 cmp r0, r3 + 800ec4c: 4620 mov r0, r4 + 800ec4e: d3ee bcc.n 800ec2e + 800ec50: f7ff ffae bl 800ebb0 + 800ec54: e7ed b.n 800ec32 + 800ec56: 2501 movs r5, #1 + 800ec58: e7ed b.n 800ec36 + 800ec5a: bf00 nop + 800ec5c: 0800f174 .word 0x0800f174 + 800ec60: 200021b0 .word 0x200021b0 -0800ec60 : - 800ec60: b510 push {r4, lr} - 800ec62: 4611 mov r1, r2 - 800ec64: f3ef 8410 mrs r4, PRIMASK - 800ec68: b672 cpsid i - 800ec6a: f7ff ff55 bl 800eb18 - 800ec6e: 4b03 ldr r3, [pc, #12] ; (800ec7c ) - 800ec70: f843 1020 str.w r1, [r3, r0, lsl #2] - 800ec74: f384 8810 msr PRIMASK, r4 - 800ec78: bd10 pop {r4, pc} - 800ec7a: bf00 nop - 800ec7c: 20002194 .word 0x20002194 +0800ec64 : + 800ec64: b510 push {r4, lr} + 800ec66: 4604 mov r4, r0 + 800ec68: 4608 mov r0, r1 + 800ec6a: b17c cbz r4, 800ec8c + 800ec6c: 4b08 ldr r3, [pc, #32] ; (800ec90 ) + 800ec6e: 6a5b ldr r3, [r3, #36] ; 0x24 + 800ec70: 4798 blx r3 + 800ec72: 6060 str r0, [r4, #4] + 800ec74: 4620 mov r0, r4 + 800ec76: f7ff ff43 bl 800eb00 + 800ec7a: b140 cbz r0, 800ec8e + 800ec7c: 4620 mov r0, r4 + 800ec7e: f7ff ff69 bl 800eb54 + 800ec82: 4620 mov r0, r4 + 800ec84: e8bd 4010 ldmia.w sp!, {r4, lr} + 800ec88: f7ff bfb2 b.w 800ebf0 + 800ec8c: 2001 movs r0, #1 + 800ec8e: bd10 pop {r4, pc} + 800ec90: 0800f174 .word 0x0800f174 -0800ec80 : - 800ec80: b082 sub sp, #8 - 800ec82: b082 sub sp, #8 - 800ec84: f10d 0c08 add.w ip, sp, #8 - 800ec88: e90c 0006 stmdb ip, {r1, r2} - 800ec8c: f8bd 2004 ldrh.w r2, [sp, #4] - 800ec90: 9303 str r3, [sp, #12] - 800ec92: 440b add r3, r1 - 800ec94: f8bd 1010 ldrh.w r1, [sp, #16] - 800ec98: 440a add r2, r1 - 800ec9a: b291 uxth r1, r2 - 800ec9c: b212 sxth r2, r2 - 800ec9e: f5b2 7f7a cmp.w r2, #1000 ; 0x3e8 - 800eca2: bfa2 ittt ge - 800eca4: f5a1 727a subge.w r2, r1, #1000 ; 0x3e8 - 800eca8: 3301 addge r3, #1 - 800ecaa: b212 sxthge r2, r2 - 800ecac: 6003 str r3, [r0, #0] - 800ecae: 8082 strh r2, [r0, #4] - 800ecb0: b002 add sp, #8 - 800ecb2: b002 add sp, #8 - 800ecb4: 4770 bx lr +0800ec94 : + 800ec94: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800ec98: f3ef 8710 mrs r7, PRIMASK + 800ec9c: b672 cpsid i + 800ec9e: 4e1d ldr r6, [pc, #116] ; (800ed14 ) + 800eca0: 4d1d ldr r5, [pc, #116] ; (800ed18 ) + 800eca2: 6973 ldr r3, [r6, #20] + 800eca4: 4798 blx r3 + 800eca6: 6933 ldr r3, [r6, #16] + 800eca8: 4604 mov r4, r0 + 800ecaa: 4798 blx r3 + 800ecac: 682b ldr r3, [r5, #0] + 800ecae: b94b cbnz r3, 800ecc4 + 800ecb0: f04f 0800 mov.w r8, #0 + 800ecb4: 682b ldr r3, [r5, #0] + 800ecb6: b98b cbnz r3, 800ecdc + 800ecb8: 6828 ldr r0, [r5, #0] + 800ecba: bb28 cbnz r0, 800ed08 + 800ecbc: f387 8810 msr PRIMASK, r7 + 800ecc0: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800ecc4: 1b01 subs r1, r0, r4 + 800ecc6: 1a24 subs r4, r4, r0 + 800ecc8: 681a ldr r2, [r3, #0] + 800ecca: 428a cmp r2, r1 + 800eccc: bf8c ite hi + 800ecce: 1912 addhi r2, r2, r4 + 800ecd0: 2200 movls r2, #0 + 800ecd2: 601a str r2, [r3, #0] + 800ecd4: 695b ldr r3, [r3, #20] + 800ecd6: 2b00 cmp r3, #0 + 800ecd8: d1f6 bne.n 800ecc8 + 800ecda: e7e9 b.n 800ecb0 + 800ecdc: 681c ldr r4, [r3, #0] + 800ecde: b11c cbz r4, 800ece8 + 800ece0: 69b3 ldr r3, [r6, #24] + 800ece2: 4798 blx r3 + 800ece4: 4284 cmp r4, r0 + 800ece6: d2e7 bcs.n 800ecb8 + 800ece8: 682c ldr r4, [r5, #0] + 800ecea: 6963 ldr r3, [r4, #20] + 800ecec: 602b str r3, [r5, #0] + 800ecee: f8a4 8008 strh.w r8, [r4, #8] + 800ecf2: e9d4 3003 ldrd r3, r0, [r4, #12] + 800ecf6: 4798 blx r3 + 800ecf8: 8963 ldrh r3, [r4, #10] + 800ecfa: f5b3 7f80 cmp.w r3, #256 ; 0x100 + 800ecfe: d1d9 bne.n 800ecb4 + 800ed00: 4620 mov r0, r4 + 800ed02: f7ff ff75 bl 800ebf0 + 800ed06: e7d5 b.n 800ecb4 + 800ed08: 7a03 ldrb r3, [r0, #8] + 800ed0a: 2b00 cmp r3, #0 + 800ed0c: d1d6 bne.n 800ecbc + 800ed0e: f7ff ff05 bl 800eb1c + 800ed12: e7d3 b.n 800ecbc + 800ed14: 0800f174 .word 0x0800f174 + 800ed18: 200021b0 .word 0x200021b0 -0800ecb6 : - 800ecb6: b082 sub sp, #8 - 800ecb8: b082 sub sp, #8 - 800ecba: f10d 0c08 add.w ip, sp, #8 - 800ecbe: e90c 0006 stmdb ip, {r1, r2} - 800ecc2: f8bd 2004 ldrh.w r2, [sp, #4] - 800ecc6: 9303 str r3, [sp, #12] - 800ecc8: 1acb subs r3, r1, r3 - 800ecca: f8bd 1010 ldrh.w r1, [sp, #16] - 800ecce: 1a52 subs r2, r2, r1 - 800ecd0: b291 uxth r1, r2 - 800ecd2: b212 sxth r2, r2 - 800ecd4: 2a00 cmp r2, #0 - 800ecd6: bfbe ittt lt - 800ecd8: f501 727a addlt.w r2, r1, #1000 ; 0x3e8 - 800ecdc: f103 33ff addlt.w r3, r3, #4294967295 - 800ece0: b212 sxthlt r2, r2 - 800ece2: 6003 str r3, [r0, #0] - 800ece4: 8082 strh r2, [r0, #4] - 800ece6: b002 add sp, #8 - 800ece8: b002 add sp, #8 - 800ecea: 4770 bx lr +0800ed1c : + 800ed1c: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800ed20: b097 sub sp, #92 ; 0x5c + 800ed22: 2900 cmp r1, #0 + 800ed24: 4680 mov r8, r0 + 800ed26: 9103 str r1, [sp, #12] + 800ed28: f340 810e ble.w 800ef48 + 800ed2c: 469a mov sl, r3 + 800ed2e: 4604 mov r4, r0 + 800ed30: 9903 ldr r1, [sp, #12] + 800ed32: 7813 ldrb r3, [r2, #0] + 800ed34: eba4 0008 sub.w r0, r4, r8 + 800ed38: 3901 subs r1, #1 + 800ed3a: b923 cbnz r3, 800ed46 + 800ed3c: 2300 movs r3, #0 + 800ed3e: 7023 strb r3, [r4, #0] + 800ed40: b017 add sp, #92 ; 0x5c + 800ed42: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800ed46: 4288 cmp r0, r1 + 800ed48: daf8 bge.n 800ed3c + 800ed4a: 2b25 cmp r3, #37 ; 0x25 + 800ed4c: d004 beq.n 800ed58 + 800ed4e: f804 3b01 strb.w r3, [r4], #1 + 800ed52: 4616 mov r6, r2 + 800ed54: 1c72 adds r2, r6, #1 + 800ed56: e7eb b.n 800ed30 + 800ed58: f892 c001 ldrb.w ip, [r2, #1] + 800ed5c: f1ac 0330 sub.w r3, ip, #48 ; 0x30 + 800ed60: f1d3 0e00 rsbs lr, r3, #0 + 800ed64: eb4e 0e03 adc.w lr, lr, r3 + 800ed68: f1ac 0330 sub.w r3, ip, #48 ; 0x30 + 800ed6c: 2b09 cmp r3, #9 + 800ed6e: f102 0601 add.w r6, r2, #1 + 800ed72: d829 bhi.n 800edc8 + 800ed74: 4632 mov r2, r6 + 800ed76: 2500 movs r5, #0 + 800ed78: f04f 090a mov.w r9, #10 + 800ed7c: 4616 mov r6, r2 + 800ed7e: f812 3b01 ldrb.w r3, [r2], #1 + 800ed82: f1a3 0030 sub.w r0, r3, #48 ; 0x30 + 800ed86: 2809 cmp r0, #9 + 800ed88: d919 bls.n 800edbe + 800ed8a: 7833 ldrb r3, [r6, #0] + 800ed8c: 2b69 cmp r3, #105 ; 0x69 + 800ed8e: f000 809c beq.w 800eeca + 800ed92: d81c bhi.n 800edce + 800ed94: 2b63 cmp r3, #99 ; 0x63 + 800ed96: d028 beq.n 800edea + 800ed98: 2b64 cmp r3, #100 ; 0x64 + 800ed9a: f000 8096 beq.w 800eeca + 800ed9e: 2b58 cmp r3, #88 ; 0x58 + 800eda0: d05b beq.n 800ee5a + 800eda2: 2b25 cmp r3, #37 ; 0x25 + 800eda4: d119 bne.n 800edda + 800eda6: 7833 ldrb r3, [r6, #0] + 800eda8: 2b00 cmp r3, #0 + 800edaa: f000 8092 beq.w 800eed2 + 800edae: f804 3b01 strb.w r3, [r4], #1 + 800edb2: eba4 0308 sub.w r3, r4, r8 + 800edb6: 428b cmp r3, r1 + 800edb8: f280 8089 bge.w 800eece + 800edbc: e7ca b.n 800ed54 + 800edbe: fb09 3305 mla r3, r9, r5, r3 + 800edc2: f1a3 0530 sub.w r5, r3, #48 ; 0x30 + 800edc6: e7d9 b.n 800ed7c + 800edc8: f04f 35ff mov.w r5, #4294967295 + 800edcc: e7dd b.n 800ed8a + 800edce: 2b75 cmp r3, #117 ; 0x75 + 800edd0: d07d beq.n 800eece + 800edd2: 2b78 cmp r3, #120 ; 0x78 + 800edd4: d043 beq.n 800ee5e + 800edd6: 2b73 cmp r3, #115 ; 0x73 + 800edd8: d01e beq.n 800ee18 + 800edda: 2325 movs r3, #37 ; 0x25 + 800eddc: f804 3b01 strb.w r3, [r4], #1 + 800ede0: eba4 0308 sub.w r3, r4, r8 + 800ede4: 428b cmp r3, r1 + 800ede6: da72 bge.n 800eece + 800ede8: e7dd b.n 800eda6 + 800edea: 2d00 cmp r5, #0 + 800edec: f105 39ff add.w r9, r5, #4294967295 + 800edf0: bfd8 it le + 800edf2: f04f 0900 movle.w r9, #0 + 800edf6: 464a mov r2, r9 + 800edf8: 4620 mov r0, r4 + 800edfa: 2120 movs r1, #32 + 800edfc: f000 f8ac bl 800ef58 + 800ee00: 4653 mov r3, sl + 800ee02: 44a1 add r9, r4 + 800ee04: 2d00 cmp r5, #0 + 800ee06: f853 2b04 ldr.w r2, [r3], #4 + 800ee0a: f889 2000 strb.w r2, [r9] + 800ee0e: bfd8 it le + 800ee10: 2501 movle r5, #1 + 800ee12: 442c add r4, r5 + 800ee14: 469a mov sl, r3 + 800ee16: e79d b.n 800ed54 + 800ee18: 4b4c ldr r3, [pc, #304] ; (800ef4c ) + 800ee1a: f85a 7b04 ldr.w r7, [sl], #4 + 800ee1e: 2f00 cmp r7, #0 + 800ee20: bf08 it eq + 800ee22: 461f moveq r7, r3 + 800ee24: 4638 mov r0, r7 + 800ee26: f7f1 f9a7 bl 8000178 + 800ee2a: eba5 0b00 sub.w fp, r5, r0 + 800ee2e: 4285 cmp r5, r0 + 800ee30: bfb8 it lt + 800ee32: f04f 0b00 movlt.w fp, #0 + 800ee36: 465a mov r2, fp + 800ee38: 4681 mov r9, r0 + 800ee3a: 2120 movs r1, #32 + 800ee3c: 4620 mov r0, r4 + 800ee3e: f000 f88b bl 800ef58 + 800ee42: 44a3 add fp, r4 + 800ee44: 2300 movs r3, #0 + 800ee46: 454b cmp r3, r9 + 800ee48: db02 blt.n 800ee50 + 800ee4a: eb0b 0409 add.w r4, fp, r9 + 800ee4e: e781 b.n 800ed54 + 800ee50: 5cfa ldrb r2, [r7, r3] + 800ee52: f80b 2003 strb.w r2, [fp, r3] + 800ee56: 3301 adds r3, #1 + 800ee58: e7f5 b.n 800ee46 + 800ee5a: f04e 0e40 orr.w lr, lr, #64 ; 0x40 + 800ee5e: 2010 movs r0, #16 + 800ee60: f8df 90ec ldr.w r9, [pc, #236] ; 800ef50 + 800ee64: 4f3b ldr r7, [pc, #236] ; (800ef54 ) + 800ee66: f01e 0f40 tst.w lr, #64 ; 0x40 + 800ee6a: bf08 it eq + 800ee6c: 464f moveq r7, r9 + 800ee6e: 4653 mov r3, sl + 800ee70: f1bc 0f30 cmp.w ip, #48 ; 0x30 + 800ee74: 9701 str r7, [sp, #4] + 800ee76: eba4 0208 sub.w r2, r4, r8 + 800ee7a: bf0c ite eq + 800ee7c: 2730 moveq r7, #48 ; 0x30 + 800ee7e: 2720 movne r7, #32 + 800ee80: f01e 0f02 tst.w lr, #2 + 800ee84: eba1 0202 sub.w r2, r1, r2 + 800ee88: 9702 str r7, [sp, #8] + 800ee8a: f853 1b04 ldr.w r1, [r3], #4 + 800ee8e: d022 beq.n 800eed6 + 800ee90: 2900 cmp r1, #0 + 800ee92: da20 bge.n 800eed6 + 800ee94: 4249 negs r1, r1 + 800ee96: 3d01 subs r5, #1 + 800ee98: f04f 0e2d mov.w lr, #45 ; 0x2d + 800ee9c: af05 add r7, sp, #20 + 800ee9e: 9700 str r7, [sp, #0] + 800eea0: 2700 movs r7, #0 + 800eea2: 4689 mov r9, r1 + 800eea4: f8dd a004 ldr.w sl, [sp, #4] + 800eea8: fbb1 f1f0 udiv r1, r1, r0 + 800eeac: fb00 9b11 mls fp, r0, r1, r9 + 800eeb0: 4548 cmp r0, r9 + 800eeb2: f81a b00b ldrb.w fp, [sl, fp] + 800eeb6: f8dd a000 ldr.w sl, [sp] + 800eeba: f80a bb01 strb.w fp, [sl], #1 + 800eebe: f107 0701 add.w r7, r7, #1 + 800eec2: f8cd a000 str.w sl, [sp] + 800eec6: d9ec bls.n 800eea2 + 800eec8: e00e b.n 800eee8 + 800eeca: f04e 0e02 orr.w lr, lr, #2 + 800eece: 200a movs r0, #10 + 800eed0: e7c6 b.n 800ee60 + 800eed2: 3e01 subs r6, #1 + 800eed4: e76d b.n 800edb2 + 800eed6: b111 cbz r1, 800eede + 800eed8: f04f 0e00 mov.w lr, #0 + 800eedc: e7de b.n 800ee9c + 800eede: 2030 movs r0, #48 ; 0x30 + 800eee0: f88d 0014 strb.w r0, [sp, #20] + 800eee4: 468e mov lr, r1 + 800eee6: 2701 movs r7, #1 + 800eee8: f1bc 0f30 cmp.w ip, #48 ; 0x30 + 800eeec: eba5 0507 sub.w r5, r5, r7 + 800eef0: d004 beq.n 800eefc + 800eef2: 2020 movs r0, #32 + 800eef4: 2d00 cmp r5, #0 + 800eef6: f105 35ff add.w r5, r5, #4294967295 + 800eefa: dc09 bgt.n 800ef10 + 800eefc: f1be 0f00 cmp.w lr, #0 + 800ef00: d004 beq.n 800ef0c + 800ef02: 212d movs r1, #45 ; 0x2d + 800ef04: 3a01 subs r2, #1 + 800ef06: f804 1b01 strb.w r1, [r4], #1 + 800ef0a: d083 beq.n 800ee14 + 800ef0c: 4425 add r5, r4 + 800ef0e: e00a b.n 800ef26 + 800ef10: 3a01 subs r2, #1 + 800ef12: f804 0b01 strb.w r0, [r4], #1 + 800ef16: d1ed bne.n 800eef4 + 800ef18: e77c b.n 800ee14 + 800ef1a: 9902 ldr r1, [sp, #8] + 800ef1c: f804 1b01 strb.w r1, [r4], #1 + 800ef20: 3a01 subs r2, #1 + 800ef22: f43f af77 beq.w 800ee14 + 800ef26: 1b29 subs r1, r5, r4 + 800ef28: 2900 cmp r1, #0 + 800ef2a: dcf6 bgt.n 800ef1a + 800ef2c: a905 add r1, sp, #20 + 800ef2e: 4439 add r1, r7 + 800ef30: 4422 add r2, r4 + 800ef32: 4427 add r7, r4 + 800ef34: 42a7 cmp r7, r4 + 800ef36: f43f af6d beq.w 800ee14 + 800ef3a: f811 0d01 ldrb.w r0, [r1, #-1]! + 800ef3e: f804 0b01 strb.w r0, [r4], #1 + 800ef42: 4294 cmp r4, r2 + 800ef44: d1f6 bne.n 800ef34 + 800ef46: e765 b.n 800ee14 + 800ef48: 2000 movs r0, #0 + 800ef4a: e6f9 b.n 800ed40 + 800ef4c: 0800fb58 .word 0x0800fb58 + 800ef50: 0800fb5f .word 0x0800fb5f + 800ef54: 0800fb84 .word 0x0800fb84 -0800ecec : - 800ecec: b530 push {r4, r5, lr} - 800ecee: b085 sub sp, #20 - 800ecf0: 4d11 ldr r5, [pc, #68] ; (800ed38 ) - 800ecf2: 466b mov r3, sp - 800ecf4: e883 0003 stmia.w r3, {r0, r1} - 800ecf8: 2300 movs r3, #0 - 800ecfa: 9302 str r3, [sp, #8] - 800ecfc: f8ad 300c strh.w r3, [sp, #12] - 800ed00: a803 add r0, sp, #12 - 800ed02: 692b ldr r3, [r5, #16] - 800ed04: 4798 blx r3 - 800ed06: 9b00 ldr r3, [sp, #0] - 800ed08: f8bd 4004 ldrh.w r4, [sp, #4] - 800ed0c: 9002 str r0, [sp, #8] - 800ed0e: 1a18 subs r0, r3, r0 - 800ed10: f8bd 300c ldrh.w r3, [sp, #12] - 800ed14: 1ae4 subs r4, r4, r3 - 800ed16: b2a3 uxth r3, r4 - 800ed18: b224 sxth r4, r4 - 800ed1a: 2c00 cmp r4, #0 - 800ed1c: bfbe ittt lt - 800ed1e: f503 737a addlt.w r3, r3, #1000 ; 0x3e8 - 800ed22: b21c sxthlt r4, r3 - 800ed24: f100 30ff addlt.w r0, r0, #4294967295 - 800ed28: 682b ldr r3, [r5, #0] - 800ed2a: 4798 blx r3 - 800ed2c: 68ab ldr r3, [r5, #8] - 800ed2e: 4620 mov r0, r4 - 800ed30: 4798 blx r3 - 800ed32: b005 add sp, #20 - 800ed34: bd30 pop {r4, r5, pc} - 800ed36: bf00 nop - 800ed38: 0800f528 .word 0x0800f528 +0800ef58 : + 800ef58: 4402 add r2, r0 + 800ef5a: 4603 mov r3, r0 + 800ef5c: 4293 cmp r3, r2 + 800ef5e: d100 bne.n 800ef62 + 800ef60: 4770 bx lr + 800ef62: f803 1b01 strb.w r1, [r3], #1 + 800ef66: e7f9 b.n 800ef5c -0800ed3c : - 800ed3c: b573 push {r0, r1, r4, r5, r6, lr} - 800ed3e: 4e11 ldr r6, [pc, #68] ; (800ed84 ) - 800ed40: 2300 movs r3, #0 - 800ed42: 4605 mov r5, r0 - 800ed44: 9300 str r3, [sp, #0] - 800ed46: f8ad 3004 strh.w r3, [sp, #4] - 800ed4a: a801 add r0, sp, #4 - 800ed4c: 6933 ldr r3, [r6, #16] - 800ed4e: 4798 blx r3 - 800ed50: 68f3 ldr r3, [r6, #12] - 800ed52: 9000 str r0, [sp, #0] - 800ed54: 4798 blx r3 - 800ed56: 6873 ldr r3, [r6, #4] - 800ed58: 4604 mov r4, r0 - 800ed5a: 4798 blx r3 - 800ed5c: 9b00 ldr r3, [sp, #0] - 800ed5e: 4418 add r0, r3 - 800ed60: f8bd 3004 ldrh.w r3, [sp, #4] - 800ed64: 4423 add r3, r4 - 800ed66: b29a uxth r2, r3 - 800ed68: b21b sxth r3, r3 - 800ed6a: f5b3 7f7a cmp.w r3, #1000 ; 0x3e8 - 800ed6e: bfa2 ittt ge - 800ed70: 3001 addge r0, #1 - 800ed72: f5a2 737a subge.w r3, r2, #1000 ; 0x3e8 - 800ed76: b21b sxthge r3, r3 - 800ed78: 6028 str r0, [r5, #0] - 800ed7a: 4628 mov r0, r5 - 800ed7c: 80ab strh r3, [r5, #4] - 800ed7e: b002 add sp, #8 - 800ed80: bd70 pop {r4, r5, r6, pc} - 800ed82: bf00 nop - 800ed84: 0800f528 .word 0x0800f528 +0800ef68 <__libc_init_array>: + 800ef68: b570 push {r4, r5, r6, lr} + 800ef6a: 4d0d ldr r5, [pc, #52] ; (800efa0 <__libc_init_array+0x38>) + 800ef6c: 4c0d ldr r4, [pc, #52] ; (800efa4 <__libc_init_array+0x3c>) + 800ef6e: 1b64 subs r4, r4, r5 + 800ef70: 10a4 asrs r4, r4, #2 + 800ef72: 2600 movs r6, #0 + 800ef74: 42a6 cmp r6, r4 + 800ef76: d109 bne.n 800ef8c <__libc_init_array+0x24> + 800ef78: 4d0b ldr r5, [pc, #44] ; (800efa8 <__libc_init_array+0x40>) + 800ef7a: 4c0c ldr r4, [pc, #48] ; (800efac <__libc_init_array+0x44>) + 800ef7c: f000 f898 bl 800f0b0 <_init> + 800ef80: 1b64 subs r4, r4, r5 + 800ef82: 10a4 asrs r4, r4, #2 + 800ef84: 2600 movs r6, #0 + 800ef86: 42a6 cmp r6, r4 + 800ef88: d105 bne.n 800ef96 <__libc_init_array+0x2e> + 800ef8a: bd70 pop {r4, r5, r6, pc} + 800ef8c: f855 3b04 ldr.w r3, [r5], #4 + 800ef90: 4798 blx r3 + 800ef92: 3601 adds r6, #1 + 800ef94: e7ee b.n 800ef74 <__libc_init_array+0xc> + 800ef96: f855 3b04 ldr.w r3, [r5], #4 + 800ef9a: 4798 blx r3 + 800ef9c: 3601 adds r6, #1 + 800ef9e: e7f2 b.n 800ef86 <__libc_init_array+0x1e> + 800efa0: 0800fc8c .word 0x0800fc8c + 800efa4: 0800fc8c .word 0x0800fc8c + 800efa8: 0800fc8c .word 0x0800fc8c + 800efac: 0800fc90 .word 0x0800fc90 -0800ed88 : - 800ed88: b537 push {r0, r1, r2, r4, r5, lr} - 800ed8a: 2300 movs r3, #0 - 800ed8c: 9300 str r3, [sp, #0] - 800ed8e: f8ad 3004 strh.w r3, [sp, #4] - 800ed92: 4b07 ldr r3, [pc, #28] ; (800edb0 ) - 800ed94: 4604 mov r4, r0 - 800ed96: 691b ldr r3, [r3, #16] - 800ed98: a801 add r0, sp, #4 - 800ed9a: 4798 blx r3 - 800ed9c: 466d mov r5, sp - 800ed9e: 9000 str r0, [sp, #0] - 800eda0: e895 0003 ldmia.w r5, {r0, r1} - 800eda4: e884 0003 stmia.w r4, {r0, r1} - 800eda8: 4620 mov r0, r4 - 800edaa: b003 add sp, #12 - 800edac: bd30 pop {r4, r5, pc} - 800edae: bf00 nop - 800edb0: 0800f528 .word 0x0800f528 +0800efb0 : + 800efb0: f3c1 520a ubfx r2, r1, #20, #11 + 800efb4: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} + 800efb8: f2a2 36ff subw r6, r2, #1023 ; 0x3ff + 800efbc: 2e13 cmp r6, #19 + 800efbe: 460b mov r3, r1 + 800efc0: 4607 mov r7, r0 + 800efc2: 460c mov r4, r1 + 800efc4: 4605 mov r5, r0 + 800efc6: dc32 bgt.n 800f02e + 800efc8: 2e00 cmp r6, #0 + 800efca: da14 bge.n 800eff6 + 800efcc: a334 add r3, pc, #208 ; (adr r3, 800f0a0 ) + 800efce: e9d3 2300 ldrd r2, r3, [r3] + 800efd2: f7f1 f8df bl 8000194 <__adddf3> + 800efd6: 2200 movs r2, #0 + 800efd8: 2300 movs r3, #0 + 800efda: f7f1 fb0f bl 80005fc <__aeabi_dcmpgt> + 800efde: b138 cbz r0, 800eff0 + 800efe0: 2c00 cmp r4, #0 + 800efe2: da56 bge.n 800f092 + 800efe4: f024 4400 bic.w r4, r4, #2147483648 ; 0x80000000 + 800efe8: 4325 orrs r5, r4 + 800efea: d055 beq.n 800f098 + 800efec: 4c2e ldr r4, [pc, #184] ; (800f0a8 ) + 800efee: 2500 movs r5, #0 + 800eff0: 4623 mov r3, r4 + 800eff2: 462f mov r7, r5 + 800eff4: e025 b.n 800f042 + 800eff6: 4a2d ldr r2, [pc, #180] ; (800f0ac ) + 800eff8: fa42 f806 asr.w r8, r2, r6 + 800effc: ea01 0208 and.w r2, r1, r8 + 800f000: 4302 orrs r2, r0 + 800f002: d01e beq.n 800f042 + 800f004: a326 add r3, pc, #152 ; (adr r3, 800f0a0 ) + 800f006: e9d3 2300 ldrd r2, r3, [r3] + 800f00a: f7f1 f8c3 bl 8000194 <__adddf3> + 800f00e: 2200 movs r2, #0 + 800f010: 2300 movs r3, #0 + 800f012: f7f1 faf3 bl 80005fc <__aeabi_dcmpgt> + 800f016: 2800 cmp r0, #0 + 800f018: d0ea beq.n 800eff0 + 800f01a: 2c00 cmp r4, #0 + 800f01c: bfbe ittt lt + 800f01e: f44f 1380 movlt.w r3, #1048576 ; 0x100000 + 800f022: 4133 asrlt r3, r6 + 800f024: 18e4 addlt r4, r4, r3 + 800f026: ea24 0408 bic.w r4, r4, r8 + 800f02a: 2500 movs r5, #0 + 800f02c: e7e0 b.n 800eff0 + 800f02e: 2e33 cmp r6, #51 ; 0x33 + 800f030: dd0b ble.n 800f04a + 800f032: f5b6 6f80 cmp.w r6, #1024 ; 0x400 + 800f036: d104 bne.n 800f042 + 800f038: 4602 mov r2, r0 + 800f03a: f7f1 f8ab bl 8000194 <__adddf3> + 800f03e: 4607 mov r7, r0 + 800f040: 460b mov r3, r1 + 800f042: 4638 mov r0, r7 + 800f044: 4619 mov r1, r3 + 800f046: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} + 800f04a: f2a2 4213 subw r2, r2, #1043 ; 0x413 + 800f04e: f04f 38ff mov.w r8, #4294967295 + 800f052: fa28 f802 lsr.w r8, r8, r2 + 800f056: ea10 0f08 tst.w r0, r8 + 800f05a: d0f2 beq.n 800f042 + 800f05c: a310 add r3, pc, #64 ; (adr r3, 800f0a0 ) + 800f05e: e9d3 2300 ldrd r2, r3, [r3] + 800f062: f7f1 f897 bl 8000194 <__adddf3> + 800f066: 2200 movs r2, #0 + 800f068: 2300 movs r3, #0 + 800f06a: f7f1 fac7 bl 80005fc <__aeabi_dcmpgt> + 800f06e: 2800 cmp r0, #0 + 800f070: d0be beq.n 800eff0 + 800f072: 2c00 cmp r4, #0 + 800f074: da0a bge.n 800f08c + 800f076: 2e14 cmp r6, #20 + 800f078: d101 bne.n 800f07e + 800f07a: 3401 adds r4, #1 + 800f07c: e006 b.n 800f08c + 800f07e: f1c6 0634 rsb r6, r6, #52 ; 0x34 + 800f082: 2301 movs r3, #1 + 800f084: 40b3 lsls r3, r6 + 800f086: 441d add r5, r3 + 800f088: 42af cmp r7, r5 + 800f08a: d8f6 bhi.n 800f07a + 800f08c: ea25 0508 bic.w r5, r5, r8 + 800f090: e7ae b.n 800eff0 + 800f092: 2500 movs r5, #0 + 800f094: 462c mov r4, r5 + 800f096: e7ab b.n 800eff0 + 800f098: f04f 4400 mov.w r4, #2147483648 ; 0x80000000 + 800f09c: e7a8 b.n 800eff0 + 800f09e: bf00 nop + 800f0a0: 8800759c .word 0x8800759c + 800f0a4: 7e37e43c .word 0x7e37e43c + 800f0a8: bff00000 .word 0xbff00000 + 800f0ac: 000fffff .word 0x000fffff -0800edb4 : - 800edb4: b537 push {r0, r1, r2, r4, r5, lr} - 800edb6: 4d0f ldr r5, [pc, #60] ; (800edf4 ) - 800edb8: ab02 add r3, sp, #8 - 800edba: e903 0003 stmdb r3, {r0, r1} - 800edbe: 68eb ldr r3, [r5, #12] - 800edc0: 4798 blx r3 - 800edc2: 686b ldr r3, [r5, #4] - 800edc4: 4604 mov r4, r0 - 800edc6: 4798 blx r3 - 800edc8: f8bd 3004 ldrh.w r3, [sp, #4] - 800edcc: 9a00 ldr r2, [sp, #0] - 800edce: 1b1b subs r3, r3, r4 - 800edd0: b299 uxth r1, r3 - 800edd2: b21b sxth r3, r3 - 800edd4: 2b00 cmp r3, #0 - 800edd6: eba2 0200 sub.w r2, r2, r0 - 800edda: bfbe ittt lt - 800eddc: f501 717a addlt.w r1, r1, #1000 ; 0x3e8 - 800ede0: f102 32ff addlt.w r2, r2, #4294967295 - 800ede4: b20b sxthlt r3, r1 - 800ede6: f44f 707a mov.w r0, #1000 ; 0x3e8 - 800edea: fb00 3002 mla r0, r0, r2, r3 - 800edee: b003 add sp, #12 - 800edf0: bd30 pop {r4, r5, pc} - 800edf2: bf00 nop - 800edf4: 0800f528 .word 0x0800f528 +0800f0b0 <_init>: + 800f0b0: b5f8 push {r3, r4, r5, r6, r7, lr} + 800f0b2: bf00 nop + 800f0b4: bcf8 pop {r3, r4, r5, r6, r7} + 800f0b6: bc08 pop {r3} + 800f0b8: 469e mov lr, r3 + 800f0ba: 4770 bx lr -0800edf8 : - 800edf8: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800edfc: f44f 757a mov.w r5, #1000 ; 0x3e8 - 800ee00: fbb1 f5f5 udiv r5, r1, r5 - 800ee04: ebc5 1345 rsb r3, r5, r5, lsl #5 - 800ee08: f8df 803c ldr.w r8, [pc, #60] ; 800ee48 - 800ee0c: eb05 0383 add.w r3, r5, r3, lsl #2 - 800ee10: eba1 03c3 sub.w r3, r1, r3, lsl #3 - 800ee14: b29c uxth r4, r3 - 800ee16: f8d8 300c ldr.w r3, [r8, #12] - 800ee1a: 4606 mov r6, r0 - 800ee1c: 4798 blx r3 - 800ee1e: f8d8 3004 ldr.w r3, [r8, #4] - 800ee22: 4607 mov r7, r0 - 800ee24: 4798 blx r3 - 800ee26: 19e3 adds r3, r4, r7 - 800ee28: b299 uxth r1, r3 - 800ee2a: b21b sxth r3, r3 - 800ee2c: f5b3 7f7a cmp.w r3, #1000 ; 0x3e8 - 800ee30: 4428 add r0, r5 - 800ee32: bfa2 ittt ge - 800ee34: f5a1 737a subge.w r3, r1, #1000 ; 0x3e8 - 800ee38: 3001 addge r0, #1 - 800ee3a: b21b sxthge r3, r3 - 800ee3c: 6030 str r0, [r6, #0] - 800ee3e: 80b3 strh r3, [r6, #4] - 800ee40: 4630 mov r0, r6 - 800ee42: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800ee46: bf00 nop - 800ee48: 0800f528 .word 0x0800f528 - -0800ee4c : - 800ee4c: 4b02 ldr r3, [pc, #8] ; (800ee58 ) - 800ee4e: 2200 movs r2, #0 - 800ee50: 601a str r2, [r3, #0] - 800ee52: 4b02 ldr r3, [pc, #8] ; (800ee5c ) - 800ee54: 681b ldr r3, [r3, #0] - 800ee56: 4718 bx r3 - 800ee58: 200021b0 .word 0x200021b0 - 800ee5c: 0800f53c .word 0x0800f53c - -0800ee60 : - 800ee60: b5f8 push {r3, r4, r5, r6, r7, lr} - 800ee62: 4604 mov r4, r0 - 800ee64: 4617 mov r7, r2 - 800ee66: 4608 mov r0, r1 - 800ee68: 461e mov r6, r3 - 800ee6a: b17c cbz r4, 800ee8c - 800ee6c: b173 cbz r3, 800ee8c - 800ee6e: 4b08 ldr r3, [pc, #32] ; (800ee90 ) - 800ee70: 2500 movs r5, #0 - 800ee72: 6a5b ldr r3, [r3, #36] ; 0x24 - 800ee74: 6025 str r5, [r4, #0] - 800ee76: 4798 blx r3 - 800ee78: 9b06 ldr r3, [sp, #24] - 800ee7a: 6060 str r0, [r4, #4] - 800ee7c: 8125 strh r5, [r4, #8] - 800ee7e: 72a5 strb r5, [r4, #10] - 800ee80: 60e6 str r6, [r4, #12] - 800ee82: 6123 str r3, [r4, #16] - 800ee84: 72e7 strb r7, [r4, #11] - 800ee86: 6165 str r5, [r4, #20] - 800ee88: 4628 mov r0, r5 - 800ee8a: bdf8 pop {r3, r4, r5, r6, r7, pc} - 800ee8c: 2001 movs r0, #1 - 800ee8e: e7fc b.n 800ee8a - 800ee90: 0800f53c .word 0x0800f53c - -0800ee94 : - 800ee94: b510 push {r4, lr} - 800ee96: 4c03 ldr r4, [pc, #12] ; (800eea4 ) - 800ee98: 69e3 ldr r3, [r4, #28] - 800ee9a: 4798 blx r3 - 800ee9c: 6aa3 ldr r3, [r4, #40] ; 0x28 - 800ee9e: e8bd 4010 ldmia.w sp!, {r4, lr} - 800eea2: 4718 bx r3 - 800eea4: 0800f53c .word 0x0800f53c - -0800eea8 : - 800eea8: b570 push {r4, r5, r6, lr} - 800eeaa: 4d06 ldr r5, [pc, #24] ; (800eec4 ) - 800eeac: 69eb ldr r3, [r5, #28] - 800eeae: 4606 mov r6, r0 - 800eeb0: 4798 blx r3 - 800eeb2: 6a6b ldr r3, [r5, #36] ; 0x24 - 800eeb4: 4604 mov r4, r0 - 800eeb6: 4630 mov r0, r6 - 800eeb8: 4798 blx r3 - 800eeba: 6aab ldr r3, [r5, #40] ; 0x28 - 800eebc: 1a20 subs r0, r4, r0 - 800eebe: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 800eec2: 4718 bx r3 - 800eec4: 0800f53c .word 0x0800f53c - -0800eec8 : - 800eec8: 4b05 ldr r3, [pc, #20] ; (800eee0 ) - 800eeca: 681b ldr r3, [r3, #0] - 800eecc: b90b cbnz r3, 800eed2 - 800eece: 4618 mov r0, r3 - 800eed0: 4770 bx lr - 800eed2: 4283 cmp r3, r0 - 800eed4: d001 beq.n 800eeda - 800eed6: 695b ldr r3, [r3, #20] - 800eed8: e7f8 b.n 800eecc - 800eeda: 2001 movs r0, #1 - 800eedc: 4770 bx lr - 800eede: bf00 nop - 800eee0: 200021b0 .word 0x200021b0 - -0800eee4 : - 800eee4: e92d 41f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, lr} - 800eee8: 4e0b ldr r6, [pc, #44] ; (800ef18 ) - 800eeea: 6a33 ldr r3, [r6, #32] - 800eeec: 4604 mov r4, r0 - 800eeee: 4798 blx r3 - 800eef0: 2301 movs r3, #1 - 800eef2: 69b7 ldr r7, [r6, #24] - 800eef4: 7223 strb r3, [r4, #8] - 800eef6: f8d4 8000 ldr.w r8, [r4] - 800eefa: 4605 mov r5, r0 - 800eefc: 47b8 blx r7 - 800eefe: 4428 add r0, r5 - 800ef00: 4580 cmp r8, r0 - 800ef02: d202 bcs.n 800ef0a - 800ef04: 47b8 blx r7 - 800ef06: 4428 add r0, r5 - 800ef08: 6020 str r0, [r4, #0] - 800ef0a: 68b3 ldr r3, [r6, #8] - 800ef0c: 6820 ldr r0, [r4, #0] - 800ef0e: 9301 str r3, [sp, #4] - 800ef10: b002 add sp, #8 - 800ef12: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 800ef16: 4718 bx r3 - 800ef18: 0800f53c .word 0x0800f53c - -0800ef1c : - 800ef1c: b570 push {r4, r5, r6, lr} - 800ef1e: b320 cbz r0, 800ef6a - 800ef20: f3ef 8610 mrs r6, PRIMASK - 800ef24: b672 cpsid i - 800ef26: 4d12 ldr r5, [pc, #72] ; (800ef70 ) - 800ef28: 682b ldr r3, [r5, #0] - 800ef2a: 2201 movs r2, #1 - 800ef2c: 7282 strb r2, [r0, #10] - 800ef2e: b153 cbz r3, 800ef46 - 800ef30: 2200 movs r2, #0 - 800ef32: 7242 strb r2, [r0, #9] - 800ef34: 4298 cmp r0, r3 - 800ef36: 695c ldr r4, [r3, #20] - 800ef38: d10e bne.n 800ef58 - 800ef3a: 7202 strb r2, [r0, #8] - 800ef3c: b13c cbz r4, 800ef4e - 800ef3e: 4620 mov r0, r4 - 800ef40: 602c str r4, [r5, #0] - 800ef42: f7ff ffcf bl 800eee4 - 800ef46: f386 8810 msr PRIMASK, r6 - 800ef4a: 2000 movs r0, #0 - 800ef4c: bd70 pop {r4, r5, r6, pc} - 800ef4e: 4b09 ldr r3, [pc, #36] ; (800ef74 ) - 800ef50: 68db ldr r3, [r3, #12] - 800ef52: 4798 blx r3 - 800ef54: 602c str r4, [r5, #0] - 800ef56: e7f6 b.n 800ef46 - 800ef58: 461a mov r2, r3 - 800ef5a: 695b ldr r3, [r3, #20] - 800ef5c: 2b00 cmp r3, #0 - 800ef5e: d0f2 beq.n 800ef46 - 800ef60: 4298 cmp r0, r3 - 800ef62: d1f9 bne.n 800ef58 - 800ef64: 6943 ldr r3, [r0, #20] - 800ef66: 6153 str r3, [r2, #20] - 800ef68: e7ed b.n 800ef46 - 800ef6a: 2001 movs r0, #1 - 800ef6c: e7ee b.n 800ef4c - 800ef6e: bf00 nop - 800ef70: 200021b0 .word 0x200021b0 - 800ef74: 0800f53c .word 0x0800f53c - -0800ef78 : - 800ef78: 4b08 ldr r3, [pc, #32] ; (800ef9c ) - 800ef7a: b510 push {r4, lr} - 800ef7c: 681a ldr r2, [r3, #0] - 800ef7e: 6953 ldr r3, [r2, #20] - 800ef80: 6951 ldr r1, [r2, #20] - 800ef82: b911 cbnz r1, 800ef8a - 800ef84: 6150 str r0, [r2, #20] - 800ef86: 6141 str r1, [r0, #20] - 800ef88: bd10 pop {r4, pc} - 800ef8a: 6804 ldr r4, [r0, #0] - 800ef8c: 6819 ldr r1, [r3, #0] - 800ef8e: 428c cmp r4, r1 - 800ef90: d902 bls.n 800ef98 - 800ef92: 461a mov r2, r3 - 800ef94: 695b ldr r3, [r3, #20] - 800ef96: e7f3 b.n 800ef80 - 800ef98: 4619 mov r1, r3 - 800ef9a: e7f3 b.n 800ef84 - 800ef9c: 200021b0 .word 0x200021b0 - -0800efa0 : - 800efa0: 4a04 ldr r2, [pc, #16] ; (800efb4 ) - 800efa2: 6813 ldr r3, [r2, #0] - 800efa4: b10b cbz r3, 800efaa - 800efa6: 2100 movs r1, #0 - 800efa8: 7219 strb r1, [r3, #8] - 800efaa: 6143 str r3, [r0, #20] - 800efac: 6010 str r0, [r2, #0] - 800efae: f7ff bf99 b.w 800eee4 - 800efb2: bf00 nop - 800efb4: 200021b0 .word 0x200021b0 - -0800efb8 : - 800efb8: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800efbc: 4604 mov r4, r0 - 800efbe: 2800 cmp r0, #0 - 800efc0: d02d beq.n 800f01e - 800efc2: f7ff ff81 bl 800eec8 - 800efc6: bb50 cbnz r0, 800f01e - 800efc8: 7a65 ldrb r5, [r4, #9] - 800efca: bb45 cbnz r5, 800f01e - 800efcc: f3ef 8810 mrs r8, PRIMASK - 800efd0: b672 cpsid i - 800efd2: 4e14 ldr r6, [pc, #80] ; (800f024 ) - 800efd4: 6867 ldr r7, [r4, #4] - 800efd6: 6a33 ldr r3, [r6, #32] - 800efd8: 4798 blx r3 - 800efda: 4287 cmp r7, r0 - 800efdc: bf2c ite cs - 800efde: 6027 strcs r7, [r4, #0] - 800efe0: 6020 strcc r0, [r4, #0] - 800efe2: 4f11 ldr r7, [pc, #68] ; (800f028 ) - 800efe4: 72a5 strb r5, [r4, #10] - 800efe6: f44f 7380 mov.w r3, #256 ; 0x100 - 800efea: 8123 strh r3, [r4, #8] - 800efec: 683b ldr r3, [r7, #0] - 800efee: b94b cbnz r3, 800f004 - 800eff0: 6933 ldr r3, [r6, #16] - 800eff2: 4798 blx r3 - 800eff4: 4620 mov r0, r4 - 800eff6: f7ff ffd3 bl 800efa0 - 800effa: f388 8810 msr PRIMASK, r8 - 800effe: 4628 mov r0, r5 - 800f000: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800f004: 69b3 ldr r3, [r6, #24] - 800f006: 4798 blx r3 - 800f008: 6823 ldr r3, [r4, #0] - 800f00a: 4418 add r0, r3 - 800f00c: 683b ldr r3, [r7, #0] - 800f00e: 6020 str r0, [r4, #0] - 800f010: 681b ldr r3, [r3, #0] - 800f012: 4298 cmp r0, r3 - 800f014: 4620 mov r0, r4 - 800f016: d3ee bcc.n 800eff6 - 800f018: f7ff ffae bl 800ef78 - 800f01c: e7ed b.n 800effa - 800f01e: 2501 movs r5, #1 - 800f020: e7ed b.n 800effe - 800f022: bf00 nop - 800f024: 0800f53c .word 0x0800f53c - 800f028: 200021b0 .word 0x200021b0 - -0800f02c : - 800f02c: b510 push {r4, lr} - 800f02e: 4604 mov r4, r0 - 800f030: 4608 mov r0, r1 - 800f032: b17c cbz r4, 800f054 - 800f034: 4b08 ldr r3, [pc, #32] ; (800f058 ) - 800f036: 6a5b ldr r3, [r3, #36] ; 0x24 - 800f038: 4798 blx r3 - 800f03a: 6060 str r0, [r4, #4] - 800f03c: 4620 mov r0, r4 - 800f03e: f7ff ff43 bl 800eec8 - 800f042: b140 cbz r0, 800f056 - 800f044: 4620 mov r0, r4 - 800f046: f7ff ff69 bl 800ef1c - 800f04a: 4620 mov r0, r4 - 800f04c: e8bd 4010 ldmia.w sp!, {r4, lr} - 800f050: f7ff bfb2 b.w 800efb8 - 800f054: 2001 movs r0, #1 - 800f056: bd10 pop {r4, pc} - 800f058: 0800f53c .word 0x0800f53c - -0800f05c : - 800f05c: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800f060: f3ef 8710 mrs r7, PRIMASK - 800f064: b672 cpsid i - 800f066: 4e1d ldr r6, [pc, #116] ; (800f0dc ) - 800f068: 4d1d ldr r5, [pc, #116] ; (800f0e0 ) - 800f06a: 6973 ldr r3, [r6, #20] - 800f06c: 4798 blx r3 - 800f06e: 6933 ldr r3, [r6, #16] - 800f070: 4604 mov r4, r0 - 800f072: 4798 blx r3 - 800f074: 682b ldr r3, [r5, #0] - 800f076: b94b cbnz r3, 800f08c - 800f078: f04f 0800 mov.w r8, #0 - 800f07c: 682b ldr r3, [r5, #0] - 800f07e: b98b cbnz r3, 800f0a4 - 800f080: 6828 ldr r0, [r5, #0] - 800f082: bb28 cbnz r0, 800f0d0 - 800f084: f387 8810 msr PRIMASK, r7 - 800f088: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800f08c: 1b01 subs r1, r0, r4 - 800f08e: 1a24 subs r4, r4, r0 - 800f090: 681a ldr r2, [r3, #0] - 800f092: 428a cmp r2, r1 - 800f094: bf8c ite hi - 800f096: 1912 addhi r2, r2, r4 - 800f098: 2200 movls r2, #0 - 800f09a: 601a str r2, [r3, #0] - 800f09c: 695b ldr r3, [r3, #20] - 800f09e: 2b00 cmp r3, #0 - 800f0a0: d1f6 bne.n 800f090 - 800f0a2: e7e9 b.n 800f078 - 800f0a4: 681c ldr r4, [r3, #0] - 800f0a6: b11c cbz r4, 800f0b0 - 800f0a8: 69b3 ldr r3, [r6, #24] - 800f0aa: 4798 blx r3 - 800f0ac: 4284 cmp r4, r0 - 800f0ae: d2e7 bcs.n 800f080 - 800f0b0: 682c ldr r4, [r5, #0] - 800f0b2: 6963 ldr r3, [r4, #20] - 800f0b4: 602b str r3, [r5, #0] - 800f0b6: f8a4 8008 strh.w r8, [r4, #8] - 800f0ba: e9d4 3003 ldrd r3, r0, [r4, #12] - 800f0be: 4798 blx r3 - 800f0c0: 8963 ldrh r3, [r4, #10] - 800f0c2: f5b3 7f80 cmp.w r3, #256 ; 0x100 - 800f0c6: d1d9 bne.n 800f07c - 800f0c8: 4620 mov r0, r4 - 800f0ca: f7ff ff75 bl 800efb8 - 800f0ce: e7d5 b.n 800f07c - 800f0d0: 7a03 ldrb r3, [r0, #8] - 800f0d2: 2b00 cmp r3, #0 - 800f0d4: d1d6 bne.n 800f084 - 800f0d6: f7ff ff05 bl 800eee4 - 800f0da: e7d3 b.n 800f084 - 800f0dc: 0800f53c .word 0x0800f53c - 800f0e0: 200021b0 .word 0x200021b0 - -0800f0e4 : - 800f0e4: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800f0e8: b097 sub sp, #92 ; 0x5c - 800f0ea: 2900 cmp r1, #0 - 800f0ec: 4680 mov r8, r0 - 800f0ee: 9103 str r1, [sp, #12] - 800f0f0: f340 810e ble.w 800f310 - 800f0f4: 469a mov sl, r3 - 800f0f6: 4604 mov r4, r0 - 800f0f8: 9903 ldr r1, [sp, #12] - 800f0fa: 7813 ldrb r3, [r2, #0] - 800f0fc: eba4 0008 sub.w r0, r4, r8 - 800f100: 3901 subs r1, #1 - 800f102: b923 cbnz r3, 800f10e - 800f104: 2300 movs r3, #0 - 800f106: 7023 strb r3, [r4, #0] - 800f108: b017 add sp, #92 ; 0x5c - 800f10a: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800f10e: 4288 cmp r0, r1 - 800f110: daf8 bge.n 800f104 - 800f112: 2b25 cmp r3, #37 ; 0x25 - 800f114: d004 beq.n 800f120 - 800f116: f804 3b01 strb.w r3, [r4], #1 - 800f11a: 4616 mov r6, r2 - 800f11c: 1c72 adds r2, r6, #1 - 800f11e: e7eb b.n 800f0f8 - 800f120: f892 c001 ldrb.w ip, [r2, #1] - 800f124: f1ac 0330 sub.w r3, ip, #48 ; 0x30 - 800f128: f1d3 0e00 rsbs lr, r3, #0 - 800f12c: eb4e 0e03 adc.w lr, lr, r3 - 800f130: f1ac 0330 sub.w r3, ip, #48 ; 0x30 - 800f134: 2b09 cmp r3, #9 - 800f136: f102 0601 add.w r6, r2, #1 - 800f13a: d829 bhi.n 800f190 - 800f13c: 4632 mov r2, r6 - 800f13e: 2500 movs r5, #0 - 800f140: f04f 090a mov.w r9, #10 - 800f144: 4616 mov r6, r2 - 800f146: f812 3b01 ldrb.w r3, [r2], #1 - 800f14a: f1a3 0030 sub.w r0, r3, #48 ; 0x30 - 800f14e: 2809 cmp r0, #9 - 800f150: d919 bls.n 800f186 - 800f152: 7833 ldrb r3, [r6, #0] - 800f154: 2b69 cmp r3, #105 ; 0x69 - 800f156: f000 809c beq.w 800f292 - 800f15a: d81c bhi.n 800f196 - 800f15c: 2b63 cmp r3, #99 ; 0x63 - 800f15e: d028 beq.n 800f1b2 - 800f160: 2b64 cmp r3, #100 ; 0x64 - 800f162: f000 8096 beq.w 800f292 - 800f166: 2b58 cmp r3, #88 ; 0x58 - 800f168: d05b beq.n 800f222 - 800f16a: 2b25 cmp r3, #37 ; 0x25 - 800f16c: d119 bne.n 800f1a2 - 800f16e: 7833 ldrb r3, [r6, #0] - 800f170: 2b00 cmp r3, #0 - 800f172: f000 8092 beq.w 800f29a - 800f176: f804 3b01 strb.w r3, [r4], #1 - 800f17a: eba4 0308 sub.w r3, r4, r8 - 800f17e: 428b cmp r3, r1 - 800f180: f280 8089 bge.w 800f296 - 800f184: e7ca b.n 800f11c - 800f186: fb09 3305 mla r3, r9, r5, r3 - 800f18a: f1a3 0530 sub.w r5, r3, #48 ; 0x30 - 800f18e: e7d9 b.n 800f144 - 800f190: f04f 35ff mov.w r5, #4294967295 - 800f194: e7dd b.n 800f152 - 800f196: 2b75 cmp r3, #117 ; 0x75 - 800f198: d07d beq.n 800f296 - 800f19a: 2b78 cmp r3, #120 ; 0x78 - 800f19c: d043 beq.n 800f226 - 800f19e: 2b73 cmp r3, #115 ; 0x73 - 800f1a0: d01e beq.n 800f1e0 - 800f1a2: 2325 movs r3, #37 ; 0x25 - 800f1a4: f804 3b01 strb.w r3, [r4], #1 - 800f1a8: eba4 0308 sub.w r3, r4, r8 - 800f1ac: 428b cmp r3, r1 - 800f1ae: da72 bge.n 800f296 - 800f1b0: e7dd b.n 800f16e - 800f1b2: 2d00 cmp r5, #0 - 800f1b4: f105 39ff add.w r9, r5, #4294967295 - 800f1b8: bfd8 it le - 800f1ba: f04f 0900 movle.w r9, #0 - 800f1be: 464a mov r2, r9 - 800f1c0: 4620 mov r0, r4 - 800f1c2: 2120 movs r1, #32 - 800f1c4: f000 f8ac bl 800f320 - 800f1c8: 4653 mov r3, sl - 800f1ca: 44a1 add r9, r4 - 800f1cc: 2d00 cmp r5, #0 - 800f1ce: f853 2b04 ldr.w r2, [r3], #4 - 800f1d2: f889 2000 strb.w r2, [r9] - 800f1d6: bfd8 it le - 800f1d8: 2501 movle r5, #1 - 800f1da: 442c add r4, r5 - 800f1dc: 469a mov sl, r3 - 800f1de: e79d b.n 800f11c - 800f1e0: 4b4c ldr r3, [pc, #304] ; (800f314 ) - 800f1e2: f85a 7b04 ldr.w r7, [sl], #4 - 800f1e6: 2f00 cmp r7, #0 - 800f1e8: bf08 it eq - 800f1ea: 461f moveq r7, r3 - 800f1ec: 4638 mov r0, r7 - 800f1ee: f7f0 ffc3 bl 8000178 - 800f1f2: eba5 0b00 sub.w fp, r5, r0 - 800f1f6: 4285 cmp r5, r0 - 800f1f8: bfb8 it lt - 800f1fa: f04f 0b00 movlt.w fp, #0 - 800f1fe: 465a mov r2, fp - 800f200: 4681 mov r9, r0 - 800f202: 2120 movs r1, #32 - 800f204: 4620 mov r0, r4 - 800f206: f000 f88b bl 800f320 - 800f20a: 44a3 add fp, r4 - 800f20c: 2300 movs r3, #0 - 800f20e: 454b cmp r3, r9 - 800f210: db02 blt.n 800f218 - 800f212: eb0b 0409 add.w r4, fp, r9 - 800f216: e781 b.n 800f11c - 800f218: 5cfa ldrb r2, [r7, r3] - 800f21a: f80b 2003 strb.w r2, [fp, r3] - 800f21e: 3301 adds r3, #1 - 800f220: e7f5 b.n 800f20e - 800f222: f04e 0e40 orr.w lr, lr, #64 ; 0x40 - 800f226: 2010 movs r0, #16 - 800f228: f8df 90ec ldr.w r9, [pc, #236] ; 800f318 - 800f22c: 4f3b ldr r7, [pc, #236] ; (800f31c ) - 800f22e: f01e 0f40 tst.w lr, #64 ; 0x40 - 800f232: bf08 it eq - 800f234: 464f moveq r7, r9 - 800f236: 4653 mov r3, sl - 800f238: f1bc 0f30 cmp.w ip, #48 ; 0x30 - 800f23c: 9701 str r7, [sp, #4] - 800f23e: eba4 0208 sub.w r2, r4, r8 - 800f242: bf0c ite eq - 800f244: 2730 moveq r7, #48 ; 0x30 - 800f246: 2720 movne r7, #32 - 800f248: f01e 0f02 tst.w lr, #2 - 800f24c: eba1 0202 sub.w r2, r1, r2 - 800f250: 9702 str r7, [sp, #8] - 800f252: f853 1b04 ldr.w r1, [r3], #4 - 800f256: d022 beq.n 800f29e - 800f258: 2900 cmp r1, #0 - 800f25a: da20 bge.n 800f29e - 800f25c: 4249 negs r1, r1 - 800f25e: 3d01 subs r5, #1 - 800f260: f04f 0e2d mov.w lr, #45 ; 0x2d - 800f264: af05 add r7, sp, #20 - 800f266: 9700 str r7, [sp, #0] - 800f268: 2700 movs r7, #0 - 800f26a: 4689 mov r9, r1 - 800f26c: f8dd a004 ldr.w sl, [sp, #4] - 800f270: fbb1 f1f0 udiv r1, r1, r0 - 800f274: fb00 9b11 mls fp, r0, r1, r9 - 800f278: 4548 cmp r0, r9 - 800f27a: f81a b00b ldrb.w fp, [sl, fp] - 800f27e: f8dd a000 ldr.w sl, [sp] - 800f282: f80a bb01 strb.w fp, [sl], #1 - 800f286: f107 0701 add.w r7, r7, #1 - 800f28a: f8cd a000 str.w sl, [sp] - 800f28e: d9ec bls.n 800f26a - 800f290: e00e b.n 800f2b0 - 800f292: f04e 0e02 orr.w lr, lr, #2 - 800f296: 200a movs r0, #10 - 800f298: e7c6 b.n 800f228 - 800f29a: 3e01 subs r6, #1 - 800f29c: e76d b.n 800f17a - 800f29e: b111 cbz r1, 800f2a6 - 800f2a0: f04f 0e00 mov.w lr, #0 - 800f2a4: e7de b.n 800f264 - 800f2a6: 2030 movs r0, #48 ; 0x30 - 800f2a8: f88d 0014 strb.w r0, [sp, #20] - 800f2ac: 468e mov lr, r1 - 800f2ae: 2701 movs r7, #1 - 800f2b0: f1bc 0f30 cmp.w ip, #48 ; 0x30 - 800f2b4: eba5 0507 sub.w r5, r5, r7 - 800f2b8: d004 beq.n 800f2c4 - 800f2ba: 2020 movs r0, #32 - 800f2bc: 2d00 cmp r5, #0 - 800f2be: f105 35ff add.w r5, r5, #4294967295 - 800f2c2: dc09 bgt.n 800f2d8 - 800f2c4: f1be 0f00 cmp.w lr, #0 - 800f2c8: d004 beq.n 800f2d4 - 800f2ca: 212d movs r1, #45 ; 0x2d - 800f2cc: 3a01 subs r2, #1 - 800f2ce: f804 1b01 strb.w r1, [r4], #1 - 800f2d2: d083 beq.n 800f1dc - 800f2d4: 4425 add r5, r4 - 800f2d6: e00a b.n 800f2ee - 800f2d8: 3a01 subs r2, #1 - 800f2da: f804 0b01 strb.w r0, [r4], #1 - 800f2de: d1ed bne.n 800f2bc - 800f2e0: e77c b.n 800f1dc - 800f2e2: 9902 ldr r1, [sp, #8] - 800f2e4: f804 1b01 strb.w r1, [r4], #1 - 800f2e8: 3a01 subs r2, #1 - 800f2ea: f43f af77 beq.w 800f1dc - 800f2ee: 1b29 subs r1, r5, r4 - 800f2f0: 2900 cmp r1, #0 - 800f2f2: dcf6 bgt.n 800f2e2 - 800f2f4: a905 add r1, sp, #20 - 800f2f6: 4439 add r1, r7 - 800f2f8: 4422 add r2, r4 - 800f2fa: 4427 add r7, r4 - 800f2fc: 42a7 cmp r7, r4 - 800f2fe: f43f af6d beq.w 800f1dc - 800f302: f811 0d01 ldrb.w r0, [r1, #-1]! - 800f306: f804 0b01 strb.w r0, [r4], #1 - 800f30a: 4294 cmp r4, r2 - 800f30c: d1f6 bne.n 800f2fc - 800f30e: e765 b.n 800f1dc - 800f310: 2000 movs r0, #0 - 800f312: e6f9 b.n 800f108 - 800f314: 08010318 .word 0x08010318 - 800f318: 0801031f .word 0x0801031f - 800f31c: 08010344 .word 0x08010344 - -0800f320 : - 800f320: 4402 add r2, r0 - 800f322: 4603 mov r3, r0 - 800f324: 4293 cmp r3, r2 - 800f326: d100 bne.n 800f32a - 800f328: 4770 bx lr - 800f32a: f803 1b01 strb.w r1, [r3], #1 - 800f32e: e7f9 b.n 800f324 - -0800f330 <__libc_init_array>: - 800f330: b570 push {r4, r5, r6, lr} - 800f332: 4d0d ldr r5, [pc, #52] ; (800f368 <__libc_init_array+0x38>) - 800f334: 4c0d ldr r4, [pc, #52] ; (800f36c <__libc_init_array+0x3c>) - 800f336: 1b64 subs r4, r4, r5 - 800f338: 10a4 asrs r4, r4, #2 - 800f33a: 2600 movs r6, #0 - 800f33c: 42a6 cmp r6, r4 - 800f33e: d109 bne.n 800f354 <__libc_init_array+0x24> - 800f340: 4d0b ldr r5, [pc, #44] ; (800f370 <__libc_init_array+0x40>) - 800f342: 4c0c ldr r4, [pc, #48] ; (800f374 <__libc_init_array+0x44>) - 800f344: f000 f898 bl 800f478 <_init> - 800f348: 1b64 subs r4, r4, r5 - 800f34a: 10a4 asrs r4, r4, #2 - 800f34c: 2600 movs r6, #0 - 800f34e: 42a6 cmp r6, r4 - 800f350: d105 bne.n 800f35e <__libc_init_array+0x2e> - 800f352: bd70 pop {r4, r5, r6, pc} - 800f354: f855 3b04 ldr.w r3, [r5], #4 - 800f358: 4798 blx r3 - 800f35a: 3601 adds r6, #1 - 800f35c: e7ee b.n 800f33c <__libc_init_array+0xc> - 800f35e: f855 3b04 ldr.w r3, [r5], #4 - 800f362: 4798 blx r3 - 800f364: 3601 adds r6, #1 - 800f366: e7f2 b.n 800f34e <__libc_init_array+0x1e> - 800f368: 0801044c .word 0x0801044c - 800f36c: 0801044c .word 0x0801044c - 800f370: 0801044c .word 0x0801044c - 800f374: 08010450 .word 0x08010450 - -0800f378 : - 800f378: f3c1 520a ubfx r2, r1, #20, #11 - 800f37c: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} - 800f380: f2a2 36ff subw r6, r2, #1023 ; 0x3ff - 800f384: 2e13 cmp r6, #19 - 800f386: 460b mov r3, r1 - 800f388: 4607 mov r7, r0 - 800f38a: 460c mov r4, r1 - 800f38c: 4605 mov r5, r0 - 800f38e: dc32 bgt.n 800f3f6 - 800f390: 2e00 cmp r6, #0 - 800f392: da14 bge.n 800f3be - 800f394: a334 add r3, pc, #208 ; (adr r3, 800f468 ) - 800f396: e9d3 2300 ldrd r2, r3, [r3] - 800f39a: f7f0 fefb bl 8000194 <__adddf3> - 800f39e: 2200 movs r2, #0 - 800f3a0: 2300 movs r3, #0 - 800f3a2: f7f1 f92b bl 80005fc <__aeabi_dcmpgt> - 800f3a6: b138 cbz r0, 800f3b8 - 800f3a8: 2c00 cmp r4, #0 - 800f3aa: da56 bge.n 800f45a - 800f3ac: f024 4400 bic.w r4, r4, #2147483648 ; 0x80000000 - 800f3b0: 4325 orrs r5, r4 - 800f3b2: d055 beq.n 800f460 - 800f3b4: 4c2e ldr r4, [pc, #184] ; (800f470 ) - 800f3b6: 2500 movs r5, #0 - 800f3b8: 4623 mov r3, r4 - 800f3ba: 462f mov r7, r5 - 800f3bc: e025 b.n 800f40a - 800f3be: 4a2d ldr r2, [pc, #180] ; (800f474 ) - 800f3c0: fa42 f806 asr.w r8, r2, r6 - 800f3c4: ea01 0208 and.w r2, r1, r8 - 800f3c8: 4302 orrs r2, r0 - 800f3ca: d01e beq.n 800f40a - 800f3cc: a326 add r3, pc, #152 ; (adr r3, 800f468 ) - 800f3ce: e9d3 2300 ldrd r2, r3, [r3] - 800f3d2: f7f0 fedf bl 8000194 <__adddf3> - 800f3d6: 2200 movs r2, #0 - 800f3d8: 2300 movs r3, #0 - 800f3da: f7f1 f90f bl 80005fc <__aeabi_dcmpgt> - 800f3de: 2800 cmp r0, #0 - 800f3e0: d0ea beq.n 800f3b8 - 800f3e2: 2c00 cmp r4, #0 - 800f3e4: bfbe ittt lt - 800f3e6: f44f 1380 movlt.w r3, #1048576 ; 0x100000 - 800f3ea: 4133 asrlt r3, r6 - 800f3ec: 18e4 addlt r4, r4, r3 - 800f3ee: ea24 0408 bic.w r4, r4, r8 - 800f3f2: 2500 movs r5, #0 - 800f3f4: e7e0 b.n 800f3b8 - 800f3f6: 2e33 cmp r6, #51 ; 0x33 - 800f3f8: dd0b ble.n 800f412 - 800f3fa: f5b6 6f80 cmp.w r6, #1024 ; 0x400 - 800f3fe: d104 bne.n 800f40a - 800f400: 4602 mov r2, r0 - 800f402: f7f0 fec7 bl 8000194 <__adddf3> - 800f406: 4607 mov r7, r0 - 800f408: 460b mov r3, r1 - 800f40a: 4638 mov r0, r7 - 800f40c: 4619 mov r1, r3 - 800f40e: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} - 800f412: f2a2 4213 subw r2, r2, #1043 ; 0x413 - 800f416: f04f 38ff mov.w r8, #4294967295 - 800f41a: fa28 f802 lsr.w r8, r8, r2 - 800f41e: ea10 0f08 tst.w r0, r8 - 800f422: d0f2 beq.n 800f40a - 800f424: a310 add r3, pc, #64 ; (adr r3, 800f468 ) - 800f426: e9d3 2300 ldrd r2, r3, [r3] - 800f42a: f7f0 feb3 bl 8000194 <__adddf3> - 800f42e: 2200 movs r2, #0 - 800f430: 2300 movs r3, #0 - 800f432: f7f1 f8e3 bl 80005fc <__aeabi_dcmpgt> - 800f436: 2800 cmp r0, #0 - 800f438: d0be beq.n 800f3b8 - 800f43a: 2c00 cmp r4, #0 - 800f43c: da0a bge.n 800f454 - 800f43e: 2e14 cmp r6, #20 - 800f440: d101 bne.n 800f446 - 800f442: 3401 adds r4, #1 - 800f444: e006 b.n 800f454 - 800f446: f1c6 0634 rsb r6, r6, #52 ; 0x34 - 800f44a: 2301 movs r3, #1 - 800f44c: 40b3 lsls r3, r6 - 800f44e: 441d add r5, r3 - 800f450: 42af cmp r7, r5 - 800f452: d8f6 bhi.n 800f442 - 800f454: ea25 0508 bic.w r5, r5, r8 - 800f458: e7ae b.n 800f3b8 - 800f45a: 2500 movs r5, #0 - 800f45c: 462c mov r4, r5 - 800f45e: e7ab b.n 800f3b8 - 800f460: f04f 4400 mov.w r4, #2147483648 ; 0x80000000 - 800f464: e7a8 b.n 800f3b8 - 800f466: bf00 nop - 800f468: 8800759c .word 0x8800759c - 800f46c: 7e37e43c .word 0x7e37e43c - 800f470: bff00000 .word 0xbff00000 - 800f474: 000fffff .word 0x000fffff - -0800f478 <_init>: - 800f478: b5f8 push {r3, r4, r5, r6, r7, lr} - 800f47a: bf00 nop - 800f47c: bcf8 pop {r3, r4, r5, r6, r7} - 800f47e: bc08 pop {r3} - 800f480: 469e mov lr, r3 - 800f482: 4770 bx lr - -0800f484 <_fini>: - 800f484: b5f8 push {r3, r4, r5, r6, r7, lr} - 800f486: bf00 nop - 800f488: bcf8 pop {r3, r4, r5, r6, r7} - 800f48a: bc08 pop {r3} - 800f48c: 469e mov lr, r3 - 800f48e: 4770 bx lr +0800f0bc <_fini>: + 800f0bc: b5f8 push {r3, r4, r5, r6, r7, lr} + 800f0be: bf00 nop + 800f0c0: bcf8 pop {r3, r4, r5, r6, r7} + 800f0c2: bc08 pop {r3} + 800f0c4: 469e mov lr, r3 + 800f0c6: 4770 bx lr