From 7393f62d3d87af2a54bca824302342ae080de083 Mon Sep 17 00:00:00 2001 From: YunHorn Technology Date: Wed, 13 Mar 2024 13:06:48 +0800 Subject: [PATCH] add LED ON /OFF --- Core/Src/gpio.c | 2 +- LoRaWAN/App/lora_app.c | 3 +- .../User/LoRaWAN/App/lora_app.cyclo | 40 +- .../Release/LoRaWAN_End_Node_E5CC.bin | Bin 64884 -> 64900 bytes .../Release/LoRaWAN_End_Node_E5CC.list | 41027 ++++++++-------- 5 files changed, 20540 insertions(+), 20532 deletions(-) diff --git a/Core/Src/gpio.c b/Core/Src/gpio.c index df13c59..062e463 100644 --- a/Core/Src/gpio.c +++ b/Core/Src/gpio.c @@ -90,7 +90,7 @@ void MX_GPIO_Init(void) HAL_GPIO_Init(BUT3_GPIO_Port, &GPIO_InitStruct); #endif __HAL_RCC_GPIOB_CLK_ENABLE(); - GPIO_InitStruct.Pin = GPIO_PIN_4; + GPIO_InitStruct.Pin = GPIO_PIN_4|GPIO_PIN_2; GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; GPIO_InitStruct.Pull = GPIO_PULLDOWN; GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH; diff --git a/LoRaWAN/App/lora_app.c b/LoRaWAN/App/lora_app.c index d5e1101..b24c035 100644 --- a/LoRaWAN/App/lora_app.c +++ b/LoRaWAN/App/lora_app.c @@ -558,7 +558,7 @@ static void SendTxData(void) UTIL_TIMER_Time_t nextTxIn = 0; //HAL_GPIO_WritePin(GPIOB, GPIO_PIN_4, GPIO_PIN_RESET); /* PME OFF */ HAL_GPIO_WritePin(GPIOB, GPIO_PIN_4, GPIO_PIN_SET); /* PME ON */ - + HAL_GPIO_WritePin(GPIOB, GPIO_PIN_2, GPIO_PIN_SET); /* LED ON */ if (LmHandlerIsBusy() == false) { #ifdef CAYENNE_LPP @@ -664,6 +664,7 @@ static void SendTxData(void) UTIL_TIMER_SetPeriod(&TxTimer, MAX(nextTxIn, TxPeriodicity)); UTIL_TIMER_Start(&TxTimer); } + HAL_GPIO_WritePin(GPIOB, GPIO_PIN_2, GPIO_PIN_RESET); /* LED OFF */ HAL_GPIO_WritePin(GPIOB, GPIO_PIN_4, GPIO_PIN_RESET); /* PME OFF */ /* USER CODE END SendTxData_1 */ } diff --git a/STM32CubeIDE/Release/Application/User/LoRaWAN/App/lora_app.cyclo b/STM32CubeIDE/Release/Application/User/LoRaWAN/App/lora_app.cyclo index 44157af..578cae1 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:762:13:OnBeaconStatusChange 1 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:797:13:OnSysTimeUpdate 1 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:804:13:OnClassChange 1 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:845:13:OnTxFrameCtrlChanged 1 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:856:13:OnPingSlotPeriodicityChanged 1 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:671:13:OnTxTimerEvent 1 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:811:13:OnMacProcessNotify 1 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:823:13:OnTxPeriodicityChanged 2 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:918:13:OnStopJoinTimerEvent 2 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:691:13:OnRxTimerLedEvent 1 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:686:13:OnTxTimerLedEvent 1 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:974:13:OnStoreContextRequest 2 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:989:13:OnRestoreContextRequest 1 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:881:13:StopJoin 2 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:934:13:StoreContext 1 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:763:13:OnBeaconStatusChange 1 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:798:13:OnSysTimeUpdate 1 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:805:13:OnClassChange 1 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:846:13:OnTxFrameCtrlChanged 1 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:857:13:OnPingSlotPeriodicityChanged 1 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:672:13:OnTxTimerEvent 1 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:812:13:OnMacProcessNotify 1 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:824:13:OnTxPeriodicityChanged 2 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:919:13:OnStopJoinTimerEvent 2 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:692:13:OnRxTimerLedEvent 1 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:687:13:OnTxTimerLedEvent 1 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:975:13:OnStoreContextRequest 2 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:990:13:OnRestoreContextRequest 1 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:882:13:StopJoin 2 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:935: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:696:13:OnJoinTimerLedEvent 1 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:867:13:OnSystemReset 3 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:703:13:OnTxData 3 -D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:732:13:OnJoinRequest 3 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:697:13:OnJoinTimerLedEvent 1 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:868:13:OnSystemReset 3 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:704:13:OnTxData 3 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:733: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:956:13:OnNvmDataChange 1 +D:/ONEDRIVE/STM32WLV13/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_E5CC/LoRaWAN/App/lora_app.c:957: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 dacac32221d627a9fcb50f6b254f11da84f80070..e960db8e3cee6350334255ef3d83369b45de4df1 100644 GIT binary patch delta 4635 zcmZ`*4OCNCwm$nNAvZ#XM2rHFk`O2$y8Pi;K|}*cfB{Pd9i?as6>DgVV5>!^?Ly0Q zl-F@u-_hj{b@e%YRvm{C=9Z~QAzJ^ZrAieob*LhaDX7Cy(HqFmefxsW_}=PE)_3+k z-#&YvzkSZR14D{`cPmtcfT?S%DyeExB;jRjA3GwS)c0b2|Nr5h*q+F`pRp7C$@Zq7 zu|4s7N>&Yb{uD7>KmIe$ZBKD>C-U!Uzs{%ZPxJquu4`1~Sk}_n5DGhK0T^MYum)CX z;YaHHMS1#cAKyUO-64IZVjCQ6>xBithTJmOGZc^sY_V6?yM}U^G?mBt@7#V^s(dOe zZ@85<1X*8dw}HLd$~SWC5UtZ0;V?a?v%m-Rt}aXOa+w;qm;eVv zl`~Lrtb%6fD^|2rFt|sC*iEUMxd?RmB6e-v!+CO$`vN$x&^dw;{&4dJeu5MKQ zQgujY2C8K@hDK~$eMJUw%(_STDUBQJl{VZ5o0ds*>A3JhnaySOsk%mLw+xUpTBK!V zgW7C}9A6Q@5`6xd0W8<&pPf5EQbUW0DS$oilf)t1mCs!PY_4RsnQSdT>8t_lCC3FE z;rwxgCswjJfW1Mlj4RMud@37Z6Md?=gjr~EaB=J%uM(Ml?_4Wk_pzK4DjDn42gwA zY7UKt$uui8N;|%Fcn31E2R4?z6B-rN<2Ko%mvQV#9T z6J;7$K_WQwXRiP&b46jEd`y$ZPq!@eTrUTfHz=>W%x*e@Ycp5QjC`7l5~2n*Aw zkK&q731B_6AuM{v4$p9wV;&5(#wdviR~~ogw_oZSH918MrXn6KpZLsnKa>_p9+MKa zn>6qlbMEUN|4b5rxsw8{$Bio{>#Klux#gJ3k$N$(4$OPJqfL0SGP!?x{I&V1I(mIY ztDZ^E`oujN$2}5fmpgDo#~9SD#eOIHlx(HDsL4OaKNF&&DwJ$+(6lzzreN8U3hl4q znN6_D+H$H552@;Fp47|IHq}dFzDK@eRJQqeHkY|yz_>~?u$SCQ7V1*lzHcCrIp}rY zo1Oj3%nuLJz)f+QevlgQq8M#M{0(F&zpi%&bfem(;e)u5D9xsjc_+t@n!K zq!UJc+`~@gb+4$Gj$u3j<9+B1wMQ`ELW{hjA9_e)x{t&(UGR#Mj~<;lJMfxMCWDdO z-tHB@r|P81`eVb~pqIqV8F>4!S3E*9l2Tv?tw}OkYJ4Y*TwH(W+s=5rJlDS!kAbVO zeZ0L;RrPQtwq8rmBu$=PhOv-8aFFUI|DtF>_4ai&~GYTI4cQ)=+;?bprnUq8Mr|&Jw0oJw#R$SXidM@dEu5< z?4sUTX6-k_%%jdGWKPq#6 zNX+{t}1WUsZ(Qz*OF9Tn4dI ze;t=#Dv2hW9Y0V1EUp1}KEv?+0GOxNp(+Iq~`e^sqec?Fh2- zslgf#-_tB>IF_Z>rJT!6&svM%j1Zfm21uh*Q-ko0NKf6xNp5;Qb%Or#kjmC$ul0it zVoGT7ir-RWTAc9+ezz%jKih44p&wjQOyt_-=YVbSiic=%S|xM~ooRbG{F)j^LC zm2p@F0`17zq1iHz@EwS5x@KNF92J`9O;Uh`_P!7gu{3Oc6RZgEI^^^6)nkdX$umPZzo?mF-RC&U!h0lO7V@SiL^y!LU=LvT# zc!DjL5k<;90&a084PUg}+`WkKcM*e#bH5_|gU3?VWwg+JiwgA#_wlvHmm}%^fSN=O zkW8vy+yysj|Khzs>DGdBs1xADT+l9GfNpt&S0NJV(!y$$9bJp)-wT(+b3*o#E=786 z5#f&`ntujYU;f{G<5O*9pC>phlohF!P(jy}lxwyxCH#67F|DF^ODfHSFA*MIA$-WI zgx`hwF|=&ihZh6N<=FB)VdL`K9BdF)+4DL0QaJV62@c=0nzC{%2g{q5+{t zyNtkJ|4VN}{UIXp9l}=%WpBGVz)NpkJO>YiJ?{i6)>$h1e2NT1(~-MchatEibV+?2K*cmO}q z;|KdS!)`dBIkf2yR}J#ePKFSZ+-hSw5IMpb;ozY_(8?y6K8EIC;nW|~6gU=5{SJTx zy0>ARDg$ksgqDVvmBuy~*kWuC#c?h(mSbE4cnd4o0ndPVLzwZGF3{u*5dIpr_tCH; zMhF!WkE~EaiLm#}6P%{x5#dYFUP8+p;jm5E;xK~hZ!RQ+x?@-6jjQ?U3(y=B(H${M z$T~Th1179HtpWHwtv<6$KX`@kbB)AwA(WU3P7!{cFzM`JKNZ2}rB&$u_98c;(x&!8 zC=d+aIRT2O_o7qPDoy<7U4yFpRq`axH#qG8j9G*He_hxX=)R&=;a5rj z-)cZBtn1nZV5LFV%0NdqT>Bby!o2G%I9M+<-Y5svW*kBtjlKC6DCnM>aj;o9cQY3Z zS%VyYLg=iL_+zU*oS5v`(Pld7)_y(`9oCzPiC#ZBhO%1~FohO7%a!-VN0M;KSpkqq z(|fbA+}az5WlL`wme7}P$V5jjn?!^baoI+Da7H}_Swc(u;tfmCqH9#-^px(*`1Cco z+u)2Pw4pB?meBUTd@Q4G7h<{L_F*ii-igO@`JHN5BJ|z~0uTi6T?=TeZo+3E-k`Dl zvG`Kw_nURAJ%oRPwW!n0{gIm6E)qd3_e3LY?4La9{NtK5ME}wMEWTC-7Ona8F?mr) zXQIOJ9PWMs!it!Q$V8+H^9QPxRj*Mvj>Eofb zjxtVH>pOL+_?!-F#<6OhLT^zS2cq@=S*le0i9VkHMpWdW=nW({_w5_B%XzCWu5a&s zzPh2oy8A9;D-#o7 z$5AyDs~Gw=$FY_Z1l)&HCV+SS+4Z8$Ak5XN0xPD(Kth3kr)z*IOZ!Y%@-MZlx!TA zgQt?q;|%fpJZ$TGd%RAAJZ(4IhUgke650Sol3%WZ{@_M*mPeV3BZD}GR+CtL1Rf-L zdXqL*Vp}EQniK$0g``f;;rGZEy$SCjc6}&bL>&6WhUIPs#<1OuBBvO2F#1~e6lj0x z4r&SNKz0;^%<>ogC52TT*;LhWn>8~uY#&mh*AZ3QWuNF(TCwqvYb_e}7VLvO@XNjd zugqZ%L7$iHh~Do+^j>Fej@S9*A88yPIQOO<+5dnc2BLVoJf0RihBZ%w5nKS?49s>r z95R>(zaQC?8Hmkgs2lvgJmBxQBl}^9Rpqj6tVvO+pok2NPfYC}nQnYqFroVq3iwXl zrg}xS3-*m@>4lL|AJbBsgX~iW5u4Dqx8?l*&P$sF= z(&}NY6;Ga68$kcX>z^Ayv%UV-!XcCqR)vfKG|MXqBd{yqxdP}*5@#`5I&KG<18AxJ zG>oul0%DOFy&gb+P0mj!(}sFg7DOYxsw_l9Noq({>@`sd%uO-NjOcBUQ!A6@y{MHU zFvmdu-*-Z#fbJy6Lhi=T_Q0`8GF2nv(;bu7gs~t_UZXcUN7sn4U|+kKTn*LZCL)B! z;&{S^MdK)v7Z#-*+c~)GtBkX-LQwvMVylU;F7EG0aU1x{*{y&qPTOz$x!Po)Oz>u zblX&GQ$}ewV`2&W)fDR(!qDH7FAdfS*W9p=zB31B>sMWUsySoxF+ET4#0Z1r>vOFq z$~d$DMKau9e~oFiD+=o5KS;{N7fe>ql^RTQhvjvb+4_C3Hd%5lkFj721ND+X$V4vs zKP8jx;=*o)r|06rV#af}$;Rep46R_ApniHJzdZR=DQE_{G_eA6WM+5~zC+f9hik-k zSo4Gc>L9J*(K9~v_^KT0fOf_xkr7rNcIV@N1hr}MD_f0~EO<6}Ih!BoP)Qz>60D0P za1vKoV`1E*{e0#Q9JQg3Mzm#>aAp6rKAO3vMG{Ip@*ShH+b`x>b8FZSZ9imANpYWz@g@K8=?@$;YIFbD}+(v5weL z*YRz_&5VW@H*e-@{5x`LW;UKr^e-*Th?UfqbFMEEHml8p+g6AICmk~A;vPAaS46=e z9f1CL=q@w)%= zal;~tNgMj`8&UY4l&7TQX0kQKU?Sc_1}1L6@u4#buF4hfCqc)J5T9f#S2a9(38FtH zmr~+i_>I@kavp})qz>s3g=+6A7~Err#VHTj1dDSNv?$DlOqtoDR-F}v*(B}daBVtd zrr0j30w6DiEPOfT#c=OA*XIfHlBz97!AgIyHd$sM3u2yw5oKmSb`0LSZZlD(Vr85G zW}@(ti!V>n_KOD$=IlYo>06@UB)U{id(Ou^cC-U?nxv(Mrx}&2HlmKo?ZtxwIp zx6R*trn2XzD3p3<*eUru7pN%%OaFh_u_H&-x>hy1s>5_j{d>1wPmaKo~`sFI68!m#mg!&YXJ zvW(4)#zTfOrs%GWs4UlQTm0}@WK8Z5g$pD;GY&&-WQO84vNUrUzRUM#Ze_5Uth4OK z{rt?FZ&bL0^yP2V)Dy4FY5bnz zFYtsfJjKqYg&CA(nyQvKy^=J5Rv>c}Usbviha7j8{_K4JXXjuMKQd<$HWZC$nDjeA zRqwEfIS?|%Qb>^^eGp-{kVTT_&gZ)3BGv)8321u_v6r7{*_N?`w9hTq#XNvF9Nv?- z2SaK!c?czwsMmY(eWEC9##_m@vKqXX*S}GSwMC_nR*cxeBE&|KCFQGBuS4o=GF(0% zoB4Tf_A0X1R3dgaVEZrN*t~z{o1cl1bDm-gzp_%T#FeD+ts2eB3dF8ZA!7x>^Otcq z{}r+QRftu+jo8&-9{^9?HpI4oE`rE~{O0+08N7&JZ7X5$*SzC5hZuZ=Y+Y0XQoA@B z?;tOLY$p|qt@s4l0rDJqwD=Of!FSgTKq!CkJ%T~a`M`;@mwbrWKg(DK`w5t{9I^F) z0RUHr*sTC@=_uUK*zLbX>{US2M~JQFSAOVbFkFIlNesTuw|*3;lt0rDteMge{(=wS zKUjdJ?;`fF4jFF@BX;v*-~oxiMS&I<5%1b!m_bqFT*%$gcuWOq$!FE_fX}X1%c_?s zN(Ee0zx|{vl#nzzx1`dk*IIf@udF1B7@a3ElCV(X?4(HVc{= zzEE=YtB3dkIlE&(<4c19#gnd`m-O<`4u>M69JM+dBe{pYe8;Xptd(6deE{4n@Ax`X z0b>bo*@(kqfIWeX?Fy@Z)~44Ed|R8tScl>2p8@?w%9PZIYT@EE>e-vT8r<=g&oh|!cjMru#P$Y?c8TPlq96 z_7TL+=hKgWVWtd@CU#Kz#sWX=d~(4LKMA?cmn@v?`Di&A<>r?VMI1uK8X=ub!7pAYxxt`YOrcK zyo8%c>W%lYmbBi8!^`>J8--Y3GR(jq8$o7C_@7Q&1TxxSsLM(Et?hUm>ASTK8_7~< zjq;&@T>NckEyl^Dtj`K^TVEW=?!HWr`a321Wayr;qR6mH#%i#Iab)Pk)6JAL--l6tVm zfSr|*H}Cgg`-5GOSzNji>;Ru_&HfA6+EF{973}9^JH5nb2g>%VB?+Ct2Z8-Yc5&f4 z*wo^xw@CHy`i8B?5Lj>4d|dK=w}1ys*`Y;gMa3AG=@#P4j%-vk*^;a z!1&+DBF~Iz&D`jki$=tr1;j#oZ#ZIkKpS8X&<;2PXeQmB1srEXY|#SvE}#(rQ}zAo NfL{phK2j#e{V%4@6WIU& diff --git a/STM32CubeIDE/Release/LoRaWAN_End_Node_E5CC.list b/STM32CubeIDE/Release/LoRaWAN_End_Node_E5CC.list index ac1b290..f7bf903 100644 --- a/STM32CubeIDE/Release/LoRaWAN_End_Node_E5CC.list +++ b/STM32CubeIDE/Release/LoRaWAN_End_Node_E5CC.list @@ -5,27 +5,27 @@ 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 0000ef68 08000138 08000138 00010138 2**3 + 1 .text 0000ef78 08000138 08000138 00010138 2**3 CONTENTS, ALLOC, LOAD, READONLY, CODE - 2 .rodata 00000ae4 0800f0a0 0800f0a0 0001f0a0 2**2 + 2 .rodata 00000ae4 0800f0b0 0800f0b0 0001f0b0 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA - 3 .USER_embedded_Keys 000000d8 0800fb84 0800fb84 0001fb84 2**2 + 3 .USER_embedded_Keys 000000d8 0800fb94 0800fb94 0001fb94 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA - 4 .ARM.extab 00000000 0800fc5c 0800fc5c 00020108 2**0 + 4 .ARM.extab 00000000 0800fc6c 0800fc6c 00020108 2**0 CONTENTS - 5 .ARM 00000008 0800fc5c 0800fc5c 0001fc5c 2**2 + 5 .ARM 00000008 0800fc6c 0800fc6c 0001fc6c 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA - 6 .preinit_array 00000000 0800fc64 0800fc64 00020108 2**0 + 6 .preinit_array 00000000 0800fc74 0800fc74 00020108 2**0 CONTENTS, ALLOC, LOAD, DATA - 7 .init_array 00000004 0800fc64 0800fc64 0001fc64 2**2 + 7 .init_array 00000004 0800fc74 0800fc74 0001fc74 2**2 CONTENTS, ALLOC, LOAD, DATA - 8 .fini_array 00000004 0800fc68 0800fc68 0001fc68 2**2 + 8 .fini_array 00000004 0800fc78 0800fc78 0001fc78 2**2 CONTENTS, ALLOC, LOAD, DATA - 9 .data 00000108 20000000 0800fc6c 00020000 2**2 + 9 .data 00000108 20000000 0800fc7c 00020000 2**2 CONTENTS, ALLOC, LOAD, DATA - 10 .bss 000020ac 20000108 0800fd74 00020108 2**2 + 10 .bss 000020ac 20000108 0800fd84 00020108 2**2 ALLOC - 11 ._user_heap_stack 00000a04 200021b4 0800fd74 000221b4 2**0 + 11 ._user_heap_stack 00000a04 200021b4 0800fd84 000221b4 2**0 ALLOC 12 .ARM.attributes 0000002a 00000000 00000000 00020108 2**0 CONTENTS, READONLY @@ -50,7 +50,7 @@ Disassembly of section .text: 800014e: bd10 pop {r4, pc} 8000150: 20000108 .word 0x20000108 8000154: 00000000 .word 0x00000000 - 8000158: 0800f088 .word 0x0800f088 + 8000158: 0800f098 .word 0x0800f098 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: 0800f088 .word 0x0800f088 + 8000174: 0800f098 .word 0x0800f098 08000178 : 8000178: 4603 mov r3, r0 @@ -1286,7 +1286,7 @@ 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 fad4 bl 8002490 + 8000ee4: f001 fade bl 80024a4 8000ee8: b118 cbz r0, 8000ef2 8000eea: e8bd 4008 ldmia.w sp!, {r3, lr} 8000eee: f000 bb23 b.w 8001538 @@ -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: f001 fe34 bl 8002bc0 + 8000f54: f001 fe3e bl 8002bd4 8000f58: b108 cbz r0, 8000f5e 8000f5a: f000 faed bl 8001538 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 fbf0 bl 800274c + 8000f68: f001 fbfa bl 8002760 8000f6c: b108 cbz r0, 8000f72 8000f6e: f000 fae3 bl 8001538 8000f72: 480c ldr r0, [pc, #48] ; (8000fa4 ) - 8000f74: f001 fd4e bl 8002a14 + 8000f74: f001 fd58 bl 8002a28 8000f78: b108 cbz r0, 8000f7e 8000f7a: f000 fadd bl 8001538 8000f7e: f04f 31ff mov.w r1, #4294967295 8000f82: 4808 ldr r0, [pc, #32] ; (8000fa4 ) - 8000f84: f001 fb84 bl 8002690 + 8000f84: f001 fb8e bl 80026a4 8000f88: 4806 ldr r0, [pc, #24] ; (8000fa4 ) - 8000f8a: f001 fdfb bl 8002b84 + 8000f8a: f001 fe05 bl 8002b98 8000f8e: 4805 ldr r0, [pc, #20] ; (8000fa4 ) - 8000f90: f001 fbd8 bl 8002744 + 8000f90: f001 fbe2 bl 8002758 8000f94: 4604 mov r4, r0 8000f96: 4803 ldr r0, [pc, #12] ; (8000fa4 ) - 8000f98: f001 fd9e bl 8002ad8 + 8000f98: f001 fda8 bl 8002aec 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: f001 fe30 bl 8002cfc + 8001098: f001 fe3a bl 8002d10 800109c: 200f movs r0, #15 800109e: b003 add sp, #12 80010a0: f85d eb04 ldr.w lr, [sp], #4 - 80010a4: f001 be5c b.w 8002d60 + 80010a4: f001 be66 b.w 8002d74 080010a8 : 80010a8: b508 push {r3, lr} - 80010aa: f002 f8a1 bl 80031f0 + 80010aa: f002 f8ab bl 8003204 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 f8a5 bl 8003214 + 80010c6: f002 f8af bl 8003228 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 f881 bl 80031f0 + 80010ea: f002 f88b bl 8003204 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 f8ee bl 8003314 + 8001134: f002 f8f8 bl 8003328 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 f866 bl 8003214 + 8001144: f002 f870 bl 8003228 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 f818 bl 80031f0 + 80011bc: f002 f822 bl 8003204 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: f001 fff7 bl 8003214 + 8001222: f002 f801 bl 8003228 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 fa20 bl 800e6dc + 8001298: f00d fa2a bl 800e6f0 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 fa15 bl 800e6dc + 80012ae: f00d fa1f bl 800e6f0 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: f001 ffd3 bl 8003288 + 80012de: f001 ffdd bl 800329c 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 f9c4 bl 800e6dc + 8001350: f00d f9ce bl 800e6f0 8001354: 2000 movs r0, #0 8001356: bd70 pop {r4, r5, r6, pc} 8001358: f04f 30ff mov.w r0, #4294967295 @@ -1771,13 +1771,13 @@ Disassembly of section .text: 80013de: 4628 mov r0, r5 80013e0: e9cd 2301 strd r2, r3, [sp, #4] 80013e4: 9403 str r4, [sp, #12] - 80013e6: f001 ffe3 bl 80033b0 + 80013e6: f001 ffed bl 80033c4 80013ea: a901 add r1, sp, #4 80013ec: 4822 ldr r0, [pc, #136] ; (8001478 ) - 80013ee: f001 ffdf bl 80033b0 + 80013ee: f001 ffe9 bl 80033c4 80013f2: a901 add r1, sp, #4 80013f4: f04f 4090 mov.w r0, #1207959552 ; 0x48000000 - 80013f8: f001 ffda bl 80033b0 + 80013f8: f001 ffe4 bl 80033c4 80013fc: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 8001400: 4628 mov r0, r5 8001402: 6cda ldr r2, [r3, #76] ; 0x4c @@ -1791,34 +1791,34 @@ Disassembly of section .text: 8001418: 64da str r2, [r3, #76] ; 0x4c 800141a: f44f 413a mov.w r1, #47616 ; 0xba00 800141e: 4622 mov r2, r4 - 8001420: f002 f8e6 bl 80035f0 + 8001420: f002 f8f0 bl 8003604 8001424: 2002 movs r0, #2 8001426: f7ff ffbb bl 80013a0 - 800142a: 2110 movs r1, #16 + 800142a: 2114 movs r1, #20 800142c: 2301 movs r3, #1 800142e: e9cd 1301 strd r1, r3, [sp, #4] 8001432: e9cd 0003 strd r0, r0, [sp, #12] 8001436: a901 add r1, sp, #4 8001438: 4628 mov r0, r5 - 800143a: f001 ffb9 bl 80033b0 + 800143a: f001 ffc3 bl 80033c4 800143e: 4622 mov r2, r4 8001440: 4621 mov r1, r4 8001442: 2006 movs r0, #6 - 8001444: f001 fc5a bl 8002cfc + 8001444: f001 fc64 bl 8002d10 8001448: 2006 movs r0, #6 - 800144a: f001 fc89 bl 8002d60 + 800144a: f001 fc93 bl 8002d74 800144e: 4622 mov r2, r4 8001450: 4621 mov r1, r4 8001452: 2007 movs r0, #7 - 8001454: f001 fc52 bl 8002cfc + 8001454: f001 fc5c bl 8002d10 8001458: 2007 movs r0, #7 - 800145a: f001 fc81 bl 8002d60 + 800145a: f001 fc8b bl 8002d74 800145e: 4622 mov r2, r4 8001460: 4621 mov r1, r4 8001462: 2016 movs r0, #22 - 8001464: f001 fc4a bl 8002cfc + 8001464: f001 fc54 bl 8002d10 8001468: 2016 movs r0, #22 - 800146a: f001 fc79 bl 8002d60 + 800146a: f001 fc83 bl 8002d74 800146e: b007 add sp, #28 8001470: bd30 pop {r4, r5, pc} 8001472: bf00 nop @@ -1831,12 +1831,12 @@ Disassembly of section .text: 8001480: 2248 movs r2, #72 ; 0x48 8001482: 2100 movs r1, #0 8001484: a808 add r0, sp, #32 - 8001486: f00d fd51 bl 800ef2c + 8001486: f00d fd5b bl 800ef40 800148a: 2218 movs r2, #24 800148c: 2100 movs r1, #0 800148e: a802 add r0, sp, #8 - 8001490: f00d fd4c bl 800ef2c - 8001494: f002 f8c6 bl 8003624 + 8001490: f00d fd56 bl 800ef40 + 8001494: f002 f8d0 bl 8003638 8001498: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 800149c: 2001 movs r0, #1 800149e: f8d2 3090 ldr.w r3, [r2, #144] ; 0x90 @@ -1859,7 +1859,7 @@ Disassembly of section .text: 80014d4: 22b0 movs r2, #176 ; 0xb0 80014d6: a808 add r0, sp, #32 80014d8: e9cd 2312 strd r2, r3, [sp, #72] ; 0x48 - 80014dc: f002 fa2c bl 8003938 + 80014dc: f002 fa36 bl 800394c 80014e0: b108 cbz r0, 80014e6 80014e2: b672 cpsid i 80014e4: e7fe b.n 80014e4 @@ -1869,7 +1869,7 @@ Disassembly of section .text: 80014f0: e9cd 0006 strd r0, r0, [sp, #24] 80014f4: 2102 movs r1, #2 80014f6: a802 add r0, sp, #8 - 80014f8: f002 fcb8 bl 8003e6c + 80014f8: f002 fcc2 bl 8003e80 80014fc: b108 cbz r0, 8001502 80014fe: b672 cpsid i 8001500: e7fe b.n 8001500 @@ -1878,16 +1878,16 @@ Disassembly of section .text: 08001508
: 8001508: b508 push {r3, lr} - 800150a: f000 ff87 bl 800241c + 800150a: f000 ff91 bl 8002430 800150e: f7ff ffb5 bl 800147c 8001512: f7ff ff51 bl 80013b8 8001516: 4806 ldr r0, [pc, #24] ; (8001530 ) - 8001518: f003 fbcc bl 8004cb4 + 8001518: f003 fbd6 bl 8004cc8 800151c: f000 fc3e bl 8001d9c 8001520: 4804 ldr r0, [pc, #16] ; (8001534 ) 8001522: 2201 movs r2, #1 8001524: 2110 movs r1, #16 - 8001526: f002 f863 bl 80035f0 + 8001526: f002 f86d bl 8003604 800152a: f000 fc3e bl 8001daa 800152e: e7fc b.n 800152a 8001530: 20000238 .word 0x20000238 @@ -1903,7 +1903,7 @@ Disassembly of section .text: 8001540: 222c movs r2, #44 ; 0x2c 8001542: 2100 movs r1, #0 8001544: a801 add r0, sp, #4 - 8001546: f00d fcf1 bl 800ef2c + 8001546: f00d fcfb bl 800ef40 800154a: 4817 ldr r0, [pc, #92] ; (80015a8 ) 800154c: 4b17 ldr r3, [pc, #92] ; (80015ac ) 800154e: 6003 str r3, [r0, #0] @@ -1916,11 +1916,11 @@ Disassembly of section .text: 8001562: 6183 str r3, [r0, #24] 8001564: f44f 7380 mov.w r3, #256 ; 0x100 8001568: 6243 str r3, [r0, #36] ; 0x24 - 800156a: f002 ff29 bl 80043c0 + 800156a: f002 ff33 bl 80043d4 800156e: b108 cbz r0, 8001574 8001570: f7ff ffe2 bl 8001538 8001574: 480c ldr r0, [pc, #48] ; (80015a8 ) - 8001576: f003 f84f bl 8004618 + 8001576: f003 f859 bl 800462c 800157a: b108 cbz r0, 8001580 800157c: f7ff ffdc bl 8001538 8001580: f04f 5300 mov.w r3, #536870912 ; 0x20000000 @@ -1933,7 +1933,7 @@ Disassembly of section .text: 8001592: 9202 str r2, [sp, #8] 8001594: 9206 str r2, [sp, #24] 8001596: 930b str r3, [sp, #44] ; 0x2c - 8001598: f002 ff72 bl 8004480 + 8001598: f002 ff7c bl 8004494 800159c: b108 cbz r0, 80015a2 800159e: f7ff ffcb bl 8001538 80015a2: b00d add sp, #52 ; 0x34 @@ -1948,7 +1948,7 @@ Disassembly of section .text: 80015b6: 2238 movs r2, #56 ; 0x38 80015b8: 2100 movs r1, #0 80015ba: a802 add r0, sp, #8 - 80015bc: f00d fcb6 bl 800ef2c + 80015bc: f00d fcc0 bl 800ef40 80015c0: 6822 ldr r2, [r4, #0] 80015c2: 4b19 ldr r3, [pc, #100] ; (8001628 ) 80015c4: 429a cmp r2, r3 @@ -1958,7 +1958,7 @@ Disassembly of section .text: 80015ce: a802 add r0, sp, #8 80015d0: f44f 7380 mov.w r3, #256 ; 0x100 80015d4: 930f str r3, [sp, #60] ; 0x3c - 80015d6: f002 fd6d bl 80040b4 + 80015d6: f002 fd77 bl 80040c8 80015da: b108 cbz r0, 80015e0 80015dc: f7ff ffac bl 8001538 80015e0: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 @@ -1975,15 +1975,15 @@ Disassembly of section .text: 8001602: 4611 mov r1, r2 8001604: 9301 str r3, [sp, #4] 8001606: 9b01 ldr r3, [sp, #4] - 8001608: f001 fb78 bl 8002cfc + 8001608: f001 fb82 bl 8002d10 800160c: 2002 movs r0, #2 - 800160e: f001 fba7 bl 8002d60 + 800160e: f001 fbb1 bl 8002d74 8001612: 2200 movs r2, #0 8001614: 202a movs r0, #42 ; 0x2a 8001616: 4611 mov r1, r2 - 8001618: f001 fb70 bl 8002cfc + 8001618: f001 fb7a bl 8002d10 800161c: 202a movs r0, #42 ; 0x2a - 800161e: f001 fb9f bl 8002d60 + 800161e: f001 fba9 bl 8002d74 8001622: b010 add sp, #64 ; 0x40 8001624: bd10 pop {r4, pc} 8001626: bf00 nop @@ -1991,41 +1991,41 @@ Disassembly of section .text: 0800162c : 800162c: b508 push {r3, lr} - 800162e: f000 ff0b bl 8002448 + 800162e: f000 ff15 bl 800245c 8001632: 4b03 ldr r3, [pc, #12] ; (8001640 ) 8001634: 2207 movs r2, #7 8001636: 619a str r2, [r3, #24] 8001638: e8bd 4008 ldmia.w sp!, {r3, lr} - 800163c: f002 b81a b.w 8003674 + 800163c: f002 b824 b.w 8003688 8001640: 58000400 .word 0x58000400 08001644 : - 8001644: f000 bf07 b.w 8002456 + 8001644: f000 bf11 b.w 800246a 08001648 : 8001648: b508 push {r3, lr} - 800164a: f000 fefd bl 8002448 + 800164a: f000 ff07 bl 800245c 800164e: 4b04 ldr r3, [pc, #16] ; (8001660 ) 8001650: 2001 movs r0, #1 8001652: f8c3 0088 str.w r0, [r3, #136] ; 0x88 8001656: e8bd 4008 ldmia.w sp!, {r3, lr} - 800165a: f002 b84d b.w 80036f8 + 800165a: f002 b857 b.w 800370c 800165e: bf00 nop 8001660: 58000400 .word 0x58000400 08001664 : 8001664: b508 push {r3, lr} - 8001666: f000 feef bl 8002448 + 8001666: f000 fef9 bl 800245c 800166a: e8bd 4008 ldmia.w sp!, {r3, lr} 800166e: 2101 movs r1, #1 8001670: 2000 movs r0, #0 - 8001672: f001 bfdf b.w 8003634 + 8001672: f001 bfe9 b.w 8003648 08001676 : - 8001676: f000 beee b.w 8002456 + 8001676: f000 bef8 b.w 800246a 0800167a : - 800167a: f000 beec b.w 8002456 + 800167a: f000 bef6 b.w 800246a 0800167e : 800167e: 4770 bx lr @@ -2060,44 +2060,44 @@ Disassembly of section .text: 08001694 : 8001694: 4801 ldr r0, [pc, #4] ; (800169c ) - 8001696: f002 bfe5 b.w 8004664 + 8001696: f002 bfef b.w 8004678 800169a: bf00 nop 800169c: 2000018c .word 0x2000018c 080016a0 : 80016a0: 2001 movs r0, #1 - 80016a2: f001 bfb3 b.w 800360c + 80016a2: f001 bfbd b.w 8003620 080016a6 : 80016a6: 2002 movs r0, #2 - 80016a8: f001 bfb0 b.w 800360c + 80016a8: f001 bfba b.w 8003620 080016ac : 80016ac: 4801 ldr r0, [pc, #4] ; (80016b4 ) - 80016ae: f001 bd31 b.w 8003114 + 80016ae: f001 bd3b b.w 8003128 80016b2: bf00 nop 80016b4: 200001d8 .word 0x200001d8 080016b8 : 80016b8: 2040 movs r0, #64 ; 0x40 - 80016ba: f001 bfa7 b.w 800360c + 80016ba: f001 bfb1 b.w 8003620 ... 080016c0 : 80016c0: 4801 ldr r0, [pc, #4] ; (80016c8 ) - 80016c2: f003 bbb3 b.w 8004e2c + 80016c2: f003 bbbd b.w 8004e40 80016c6: bf00 nop 80016c8: 20000238 .word 0x20000238 080016cc : 80016cc: 4801 ldr r0, [pc, #4] ; (80016d4 ) - 80016ce: f002 bdfb b.w 80042c8 + 80016ce: f002 be05 b.w 80042dc 80016d2: bf00 nop 80016d4: 2000018c .word 0x2000018c 080016d8 : 80016d8: 4801 ldr r0, [pc, #4] ; (80016e0 ) - 80016da: f003 b9ee b.w 8004aba + 80016da: f003 b9f8 b.w 8004ace 80016de: bf00 nop 80016e0: 200001c4 .word 0x200001c4 @@ -2106,7 +2106,7 @@ Disassembly of section .text: 80016e6: b508 push {r3, lr} 80016e8: 2308 movs r3, #8 80016ea: 6003 str r3, [r0, #0] - 80016ec: f003 f800 bl 80046f0 + 80016ec: f003 f80a bl 8004704 80016f0: b118 cbz r0, 80016fa 80016f2: e8bd 4008 ldmia.w sp!, {r3, lr} 80016f6: f7ff bf1f b.w 8001538 @@ -2126,11 +2126,11 @@ Disassembly of section .text: 8001718: 4611 mov r1, r2 800171a: 2032 movs r0, #50 ; 0x32 800171c: 9b01 ldr r3, [sp, #4] - 800171e: f001 faed bl 8002cfc + 800171e: f001 faf7 bl 8002d10 8001722: 2032 movs r0, #50 ; 0x32 8001724: b003 add sp, #12 8001726: f85d eb04 ldr.w lr, [sp], #4 - 800172a: f001 bb19 b.w 8002d60 + 800172a: f001 bb23 b.w 8002d74 ... 08001730 : @@ -2140,13 +2140,13 @@ Disassembly of section .text: 8001736: ab05 add r3, sp, #20 8001738: 2110 movs r1, #16 800173a: 9301 str r3, [sp, #4] - 800173c: f00d fad8 bl 800ecf0 + 800173c: f00d fae2 bl 800ed04 8001740: b003 add sp, #12 8001742: f85d eb04 ldr.w lr, [sp], #4 8001746: b002 add sp, #8 8001748: 4770 bx lr 800174a: bf00 nop - 800174c: 0800f12c .word 0x0800f12c + 800174c: 0800f13c .word 0x0800f13c 08001750 : 8001750: b530 push {r4, r5, lr} @@ -2154,7 +2154,7 @@ Disassembly of section .text: 8001754: 4604 mov r4, r0 8001756: a802 add r0, sp, #8 8001758: 460d mov r5, r1 - 800175a: f00d f8f5 bl 800e948 + 800175a: f00d f8ff bl 800e95c 800175e: f9bd 300c ldrsh.w r3, [sp, #12] 8001762: 4a06 ldr r2, [pc, #24] ; (800177c ) 8001764: 9300 str r3, [sp, #0] @@ -2167,7 +2167,7 @@ Disassembly of section .text: 8001776: 8028 strh r0, [r5, #0] 8001778: b005 add sp, #20 800177a: bd30 pop {r4, r5, pc} - 800177c: 0800f12c .word 0x0800f12c + 800177c: 0800f13c .word 0x0800f13c 08001780 : 8001780: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 @@ -2175,31 +2175,31 @@ Disassembly of section .text: 8001786: 6893 ldr r3, [r2, #8] 8001788: f423 4300 bic.w r3, r3, #32768 ; 0x8000 800178c: 6093 str r3, [r2, #8] - 800178e: f00d f963 bl 800ea58 + 800178e: f00d f96d bl 800ea6c 8001792: 4b0d ldr r3, [pc, #52] ; (80017c8 ) 8001794: 2401 movs r4, #1 8001796: 701c strb r4, [r3, #0] - 8001798: f00c fe2e bl 800e3f8 + 8001798: f00c fe38 bl 800e40c 800179c: 480b ldr r0, [pc, #44] ; (80017cc ) - 800179e: f00c fe45 bl 800e42c + 800179e: f00c fe4f bl 800e440 80017a2: 4b0b ldr r3, [pc, #44] ; (80017d0 ) 80017a4: f44f 4200 mov.w r2, #32768 ; 0x8000 80017a8: 611a str r2, [r3, #16] 80017aa: 2000 movs r0, #0 - 80017ac: f00c fe44 bl 800e438 + 80017ac: f00c fe4e bl 800e44c 80017b0: f7ff fbfa bl 8000fa8 80017b4: f000 f8b4 bl 8001920 - 80017b8: f00c ff3a bl 800e630 + 80017b8: f00c ff44 bl 800e644 80017bc: 4621 mov r1, r4 80017be: 4620 mov r0, r4 80017c0: e8bd 4010 ldmia.w sp!, {r4, lr} - 80017c4: f00c bf54 b.w 800e670 + 80017c4: f00c bf5e b.w 800e684 80017c8: 200001d0 .word 0x200001d0 80017cc: 08001751 .word 0x08001751 80017d0: 58004000 .word 0x58004000 080017d4 : - 80017d4: f00c bf62 b.w 800e69c + 80017d4: f00c bf6c b.w 800e6b0 080017d8 : 80017d8: b508 push {r3, lr} @@ -2239,11 +2239,11 @@ Disassembly of section .text: 8001828: 1c59 adds r1, r3, #1 800182a: 4604 mov r4, r0 800182c: d119 bne.n 8001862 - 800182e: f000 fe19 bl 8002464 + 800182e: f000 fe23 bl 8002478 8001832: 4605 mov r5, r0 - 8001834: f000 fe22 bl 800247c + 8001834: f000 fe2c bl 8002490 8001838: 4405 add r5, r0 - 800183a: f000 fe19 bl 8002470 + 800183a: f000 fe23 bl 8002484 800183e: 0e2b lsrs r3, r5, #24 8001840: 71e3 strb r3, [r4, #7] 8001842: 0c2b lsrs r3, r5, #16 @@ -2285,11 +2285,11 @@ Disassembly of section .text: 8001896: 3301 adds r3, #1 8001898: 4605 mov r5, r0 800189a: d109 bne.n 80018b0 - 800189c: f000 fde2 bl 8002464 + 800189c: f000 fdec bl 8002478 80018a0: 4604 mov r4, r0 - 80018a2: f000 fde5 bl 8002470 + 80018a2: f000 fdef bl 8002484 80018a6: 4044 eors r4, r0 - 80018a8: f000 fde8 bl 800247c + 80018a8: f000 fdf2 bl 8002490 80018ac: 4044 eors r4, r0 80018ae: 602c str r4, [r5, #0] 80018b0: bd38 pop {r3, r4, r5, pc} @@ -2299,12 +2299,12 @@ Disassembly of section .text: 080018b8 : 80018b8: 2101 movs r1, #1 80018ba: 2002 movs r0, #2 - 80018bc: f00c bec2 b.w 800e644 + 80018bc: f00c becc b.w 800e658 080018c0 : 80018c0: 2100 movs r1, #0 80018c2: 2002 movs r0, #2 - 80018c4: f00c bebe b.w 800e644 + 80018c4: f00c bec8 b.w 800e658 080018c8 : 80018c8: 2000 movs r0, #0 @@ -2424,7 +2424,7 @@ Disassembly of section .text: 80019a8: 65da str r2, [r3, #92] ; 0x5c 80019aa: f44f 7180 mov.w r1, #256 ; 0x100 80019ae: 4620 mov r0, r4 - 80019b0: f002 fc50 bl 8004254 + 80019b0: f002 fc5a bl 8004268 80019b4: f04f 33ff mov.w r3, #4294967295 80019b8: 6323 str r3, [r4, #48] ; 0x30 80019ba: 2000 movs r0, #0 @@ -2437,7 +2437,7 @@ Disassembly of section .text: 80019c8: 4602 mov r2, r0 80019ca: 2100 movs r1, #0 80019cc: 4801 ldr r0, [pc, #4] ; (80019d4 ) - 80019ce: f002 be5a b.w 8004686 + 80019ce: f002 be64 b.w 800469a 80019d2: bf00 nop 80019d4: 2000018c .word 0x2000018c @@ -2445,7 +2445,7 @@ Disassembly of section .text: 80019d8: 4602 mov r2, r0 80019da: 2101 movs r1, #1 80019dc: 4801 ldr r0, [pc, #4] ; (80019e4 ) - 80019de: f002 be52 b.w 8004686 + 80019de: f002 be5c b.w 800469a 80019e2: bf00 nop 80019e4: 2000018c .word 0x2000018c @@ -2456,7 +2456,7 @@ Disassembly of section .text: 80019ee: 2100 movs r1, #0 80019f0: 4604 mov r4, r0 80019f2: a801 add r0, sp, #4 - 80019f4: f00d fa9a bl 800ef2c + 80019f4: f00d faa4 bl 800ef40 80019f8: f7ff ffd2 bl 80019a0 80019fc: 4b0c ldr r3, [pc, #48] ; (8001a30 ) 80019fe: 480d ldr r0, [pc, #52] ; (8001a34 ) @@ -2473,7 +2473,7 @@ Disassembly of section .text: 8001a18: a901 add r1, sp, #4 8001a1a: 9402 str r4, [sp, #8] 8001a1c: 930b str r3, [sp, #44] ; 0x2c - 8001a1e: f002 fd2f bl 8004480 + 8001a1e: f002 fd39 bl 8004494 8001a22: b108 cbz r0, 8001a28 8001a24: f7ff fd88 bl 8001538 8001a28: 2000 movs r0, #0 @@ -2490,7 +2490,7 @@ Disassembly of section .text: 8001a40: 2102 movs r1, #2 8001a42: 4604 mov r4, r0 8001a44: 4807 ldr r0, [pc, #28] ; (8001a64 ) - 8001a46: f002 fe25 bl 8004694 + 8001a46: f002 fe2f bl 80046a8 8001a4a: f3c4 0209 ubfx r2, r4, #0, #10 8001a4e: f44f 717a mov.w r1, #1000 ; 0x3e8 8001a52: fba2 2101 umull r2, r1, r2, r1 @@ -2505,13 +2505,13 @@ Disassembly of section .text: 08001a68 : 8001a68: 4801 ldr r0, [pc, #4] ; (8001a70 ) 8001a6a: 2100 movs r1, #0 - 8001a6c: f002 be12 b.w 8004694 + 8001a6c: f002 be1c b.w 80046a8 8001a70: 2000018c .word 0x2000018c 08001a74 : 8001a74: 4801 ldr r0, [pc, #4] ; (8001a7c ) 8001a76: 2101 movs r1, #1 - 8001a78: f002 be0c b.w 8004694 + 8001a78: f002 be16 b.w 80046a8 8001a7c: 2000018c .word 0x2000018c 08001a80 : @@ -2526,14 +2526,14 @@ Disassembly of section .text: 8001a94: f7ff ff84 bl 80019a0 8001a98: f44f 7180 mov.w r1, #256 ; 0x100 8001a9c: 4620 mov r0, r4 - 8001a9e: f002 fbd9 bl 8004254 + 8001a9e: f002 fbe3 bl 8004268 8001aa2: 4620 mov r0, r4 8001aa4: 6327 str r7, [r4, #48] ; 0x30 - 8001aa6: f002 fd99 bl 80045dc + 8001aa6: f002 fda3 bl 80045f0 8001aaa: 4632 mov r2, r6 8001aac: 4620 mov r0, r4 8001aae: 2102 movs r1, #2 - 8001ab0: f002 fde9 bl 8004686 + 8001ab0: f002 fdf3 bl 800469a 8001ab4: f7ff ff5a bl 800196c 8001ab8: 2301 movs r3, #1 8001aba: 702b strb r3, [r5, #0] @@ -2562,7 +2562,7 @@ Disassembly of section .text: 8001af0: e7f7 b.n 8001ae2 08001af2 : - 8001af2: f00d b8b9 b.w 800ec68 + 8001af2: f00d b8c3 b.w 800ec7c ... 08001af8 : @@ -2570,12 +2570,12 @@ Disassembly of section .text: 8001afa: 4c06 ldr r4, [pc, #24] ; (8001b14 ) 8001afc: 2102 movs r1, #2 8001afe: 4620 mov r0, r4 - 8001b00: f002 fdc8 bl 8004694 + 8001b00: f002 fdd2 bl 80046a8 8001b04: 2102 movs r1, #2 8001b06: 1c42 adds r2, r0, #1 8001b08: 4620 mov r0, r4 8001b0a: e8bd 4010 ldmia.w sp!, {r4, lr} - 8001b0e: f002 bdba b.w 8004686 + 8001b0e: f002 bdc4 b.w 800469a 8001b12: bf00 nop 8001b14: 2000018c .word 0x2000018c @@ -2592,16 +2592,16 @@ Disassembly of section .text: 8001b32: e9c0 3307 strd r3, r3, [r0, #28] 8001b36: e9c0 3309 strd r3, r3, [r0, #36] ; 0x24 8001b3a: 6103 str r3, [r0, #16] - 8001b3c: f003 ff57 bl 80059ee + 8001b3c: f003 ff61 bl 8005a02 8001b40: b108 cbz r0, 8001b46 8001b42: f7ff fcf9 bl 8001538 8001b46: 4808 ldr r0, [pc, #32] ; (8001b68 ) 8001b48: 2100 movs r1, #0 - 8001b4a: f004 f8cc bl 8005ce6 + 8001b4a: f004 f8d6 bl 8005cfa 8001b4e: b108 cbz r0, 8001b54 8001b50: f7ff fcf2 bl 8001538 8001b54: 4804 ldr r0, [pc, #16] ; (8001b68 ) - 8001b56: f004 f8a6 bl 8005ca6 + 8001b56: f004 f8b0 bl 8005cba 8001b5a: b118 cbz r0, 8001b64 8001b5c: e8bd 4008 ldmia.w sp!, {r3, lr} 8001b60: f7ff bcea b.w 8001538 @@ -2617,11 +2617,11 @@ Disassembly of section .text: 8001b76: 2214 movs r2, #20 8001b78: 2100 movs r1, #0 8001b7a: a803 add r0, sp, #12 - 8001b7c: f00d f9d6 bl 800ef2c + 8001b7c: f00d f9e0 bl 800ef40 8001b80: 2238 movs r2, #56 ; 0x38 8001b82: 2100 movs r1, #0 8001b84: a808 add r0, sp, #32 - 8001b86: f00d f9d1 bl 800ef2c + 8001b86: f00d f9db bl 800ef40 8001b8a: 6832 ldr r2, [r6, #0] 8001b8c: 4b2c ldr r3, [pc, #176] ; (8001c40 ) 8001b8e: 429a cmp r2, r3 @@ -2631,7 +2631,7 @@ Disassembly of section .text: 8001b96: a808 add r0, sp, #32 8001b98: 4b2a ldr r3, [pc, #168] ; (8001c44 ) 8001b9a: 930a str r3, [sp, #40] ; 0x28 - 8001b9c: f002 fa8a bl 80040b4 + 8001b9c: f002 fa94 bl 80040c8 8001ba0: b108 cbz r0, 8001ba6 8001ba2: f7ff fcc9 bl 8001538 8001ba6: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 @@ -2659,14 +2659,14 @@ Disassembly of section .text: 8001bde: f04f 4090 mov.w r0, #1207959552 ; 0x48000000 8001be2: e9cd 5405 strd r5, r4, [sp, #20] 8001be6: 9307 str r3, [sp, #28] - 8001be8: f001 fbe2 bl 80033b0 + 8001be8: f001 fbec bl 80033c4 8001bec: 2308 movs r3, #8 8001bee: a903 add r1, sp, #12 8001bf0: f04f 4090 mov.w r0, #1207959552 ; 0x48000000 8001bf4: e9cd 3403 strd r3, r4, [sp, #12] 8001bf8: e9cd 5505 strd r5, r5, [sp, #20] 8001bfc: 4c12 ldr r4, [pc, #72] ; (8001c48 ) - 8001bfe: f001 fbd7 bl 80033b0 + 8001bfe: f001 fbe1 bl 80033c4 8001c02: 4912 ldr r1, [pc, #72] ; (8001c4c ) 8001c04: 6225 str r5, [r4, #32] 8001c06: 2314 movs r3, #20 @@ -2677,7 +2677,7 @@ Disassembly of section .text: 8001c14: 2380 movs r3, #128 ; 0x80 8001c16: e9c4 3504 strd r3, r5, [r4, #16] 8001c1a: e9c4 5506 strd r5, r5, [r4, #24] - 8001c1e: f001 f8ff bl 8002e20 + 8001c1e: f001 f909 bl 8002e34 8001c22: b108 cbz r0, 8001c28 8001c24: f7ff fc88 bl 8001538 8001c28: 2025 movs r0, #37 ; 0x25 @@ -2685,9 +2685,9 @@ Disassembly of section .text: 8001c2c: 2200 movs r2, #0 8001c2e: 2102 movs r1, #2 8001c30: 62a6 str r6, [r4, #40] ; 0x28 - 8001c32: f001 f863 bl 8002cfc + 8001c32: f001 f86d bl 8002d10 8001c36: 2025 movs r0, #37 ; 0x25 - 8001c38: f001 f892 bl 8002d60 + 8001c38: f001 f89c bl 8002d74 8001c3c: b016 add sp, #88 ; 0x58 8001c3e: bd70 pop {r4, r5, r6, pc} 8001c40: 40004400 .word 0x40004400 @@ -2708,12 +2708,12 @@ Disassembly of section .text: 8001c64: f423 3300 bic.w r3, r3, #131072 ; 0x20000 8001c68: 6593 str r3, [r2, #88] ; 0x58 8001c6a: f04f 4090 mov.w r0, #1207959552 ; 0x48000000 - 8001c6e: f001 fc4b bl 8003508 + 8001c6e: f001 fc55 bl 800351c 8001c72: 6fe0 ldr r0, [r4, #124] ; 0x7c - 8001c74: f001 f948 bl 8002f08 + 8001c74: f001 f952 bl 8002f1c 8001c78: e8bd 4010 ldmia.w sp!, {r4, lr} 8001c7c: 2025 movs r0, #37 ; 0x25 - 8001c7e: f001 b87d b.w 8002d7c + 8001c7e: f001 b887 b.w 8002d90 8001c82: bd10 pop {r4, pc} 8001c84: 40004400 .word 0x40004400 @@ -2722,7 +2722,7 @@ Disassembly of section .text: 8001c8a: 460a mov r2, r1 8001c8c: 4601 mov r1, r0 8001c8e: 4802 ldr r0, [pc, #8] ; (8001c98 ) - 8001c90: f003 f830 bl 8004cf4 + 8001c90: f003 f83a bl 8004d08 8001c94: 2000 movs r0, #0 8001c96: bd08 pop {r3, pc} 8001c98: 20000238 .word 0x20000238 @@ -2737,7 +2737,7 @@ Disassembly of section .text: 8001caa: ab02 add r3, sp, #8 8001cac: e913 0006 ldmdb r3, {r1, r2} 8001cb0: 4620 mov r0, r4 - 8001cb2: f003 ff9c bl 8005bee + 8001cb2: f003 ffa6 bl 8005c02 8001cb6: 6823 ldr r3, [r4, #0] 8001cb8: 69da ldr r2, [r3, #28] 8001cba: 03d1 lsls r1, r2, #15 @@ -2749,11 +2749,11 @@ Disassembly of section .text: 8001cc6: 4808 ldr r0, [pc, #32] ; (8001ce8 ) 8001cc8: f442 0280 orr.w r2, r2, #4194304 ; 0x400000 8001ccc: 609a str r2, [r3, #8] - 8001cce: f003 ffd4 bl 8005c7a + 8001cce: f003 ffde bl 8005c8e 8001cd2: 4906 ldr r1, [pc, #24] ; (8001cec ) 8001cd4: 4804 ldr r0, [pc, #16] ; (8001ce8 ) 8001cd6: 2201 movs r2, #1 - 8001cd8: f003 ff42 bl 8005b60 + 8001cd8: f003 ff4c bl 8005b74 8001cdc: 2000 movs r0, #0 8001cde: b002 add sp, #8 8001ce0: bd10 pop {r4, pc} @@ -2789,7 +2789,7 @@ Disassembly of section .text: 8001d2e: 639a str r2, [r3, #56] ; 0x38 8001d30: f7ff ff8e bl 8001c50 8001d34: 200f movs r0, #15 - 8001d36: f001 f821 bl 8002d7c + 8001d36: f001 f82b bl 8002d90 8001d3a: 2000 movs r0, #0 8001d3c: bd08 pop {r3, pc} 8001d3e: bf00 nop @@ -2828,7 +2828,7 @@ Disassembly of section .text: 8001d80: 4905 ldr r1, [pc, #20] ; (8001d98 ) 8001d82: e8bd 4010 ldmia.w sp!, {r4, lr} 8001d86: 2201 movs r2, #1 - 8001d88: f003 beea b.w 8005b60 + 8001d88: f003 bef4 b.w 8005b74 8001d8c: bd10 pop {r4, pc} 8001d8e: bf00 nop 8001d90: 40004400 .word 0x40004400 @@ -2839,11 +2839,11 @@ Disassembly of section .text: 8001d9c: b508 push {r3, lr} 8001d9e: f7ff fcef bl 8001780 8001da2: e8bd 4008 ldmia.w sp!, {r3, lr} - 8001da6: f000 b9fd b.w 80021a4 + 8001da6: f000 ba07 b.w 80021b8 08001daa : 8001daa: f04f 30ff mov.w r0, #4294967295 - 8001dae: f00c bcd9 b.w 800e764 + 8001dae: f00c bce3 b.w 800e778 08001db2 : 8001db2: 4770 bx lr @@ -2872,16 +2872,16 @@ Disassembly of section .text: 8001dd0: b508 push {r3, lr} 8001dd2: 2002 movs r0, #2 8001dd4: 2100 movs r1, #0 - 8001dd6: f00c fc8d bl 800e6f4 + 8001dd6: f00c fc97 bl 800e708 8001dda: e8bd 4008 ldmia.w sp!, {r3, lr} 8001dde: 4801 ldr r0, [pc, #4] ; (8001de4 ) - 8001de0: f00c bef0 b.w 800ebc4 + 8001de0: f00c befa b.w 800ebd8 8001de4: 20000428 .word 0x20000428 08001de8 : 8001de8: 2100 movs r1, #0 8001dea: 2001 movs r0, #1 - 8001dec: f00c bc82 b.w 800e6f4 + 8001dec: f00c bc8c b.w 800e708 08001df0 : 8001df0: b510 push {r4, lr} @@ -2889,13 +2889,13 @@ Disassembly of section .text: 8001df4: b160 cbz r0, 8001e10 8001df6: 6020 str r0, [r4, #0] 8001df8: 4808 ldr r0, [pc, #32] ; (8001e1c ) - 8001dfa: f00c fe95 bl 800eb28 + 8001dfa: f00c fe9f bl 800eb3c 8001dfe: 6821 ldr r1, [r4, #0] 8001e00: 4806 ldr r0, [pc, #24] ; (8001e1c ) - 8001e02: f00c ff19 bl 800ec38 + 8001e02: f00c ff23 bl 800ec4c 8001e06: e8bd 4010 ldmia.w sp!, {r4, lr} 8001e0a: 4804 ldr r0, [pc, #16] ; (8001e1c ) - 8001e0c: f00c beda b.w 800ebc4 + 8001e0c: f00c bee4 b.w 800ebd8 8001e10: f247 5330 movw r3, #30000 ; 0x7530 8001e14: 6023 str r3, [r4, #0] 8001e16: e7ef b.n 8001df8 @@ -2910,20 +2910,20 @@ Disassembly of section .text: 8001e28: d103 bne.n 8001e32 8001e2a: 2100 movs r1, #0 8001e2c: 2008 movs r0, #8 - 8001e2e: f00c fc61 bl 800e6f4 + 8001e2e: f00c fc6b bl 800e708 8001e32: 480b ldr r0, [pc, #44] ; (8001e60 ) 8001e34: 2200 movs r2, #0 8001e36: f44f 4100 mov.w r1, #32768 ; 0x8000 - 8001e3a: f001 fbd9 bl 80035f0 + 8001e3a: f001 fbe3 bl 8003604 8001e3e: 4808 ldr r0, [pc, #32] ; (8001e60 ) 8001e40: 2200 movs r2, #0 8001e42: f44f 7100 mov.w r1, #512 ; 0x200 - 8001e46: f001 fbd3 bl 80035f0 + 8001e46: f001 fbdd bl 8003604 8001e4a: e8bd 4008 ldmia.w sp!, {r3, lr} 8001e4e: 4804 ldr r0, [pc, #16] ; (8001e60 ) 8001e50: 2200 movs r2, #0 8001e52: f44f 6100 mov.w r1, #2048 ; 0x800 - 8001e56: f001 bbcb b.w 80035f0 + 8001e56: f001 bbd5 b.w 8003604 8001e5a: bf00 nop 8001e5c: 20000000 .word 0x20000000 8001e60: 48000400 .word 0x48000400 @@ -2932,14 +2932,14 @@ Disassembly of section .text: 8001e64: 4802 ldr r0, [pc, #8] ; (8001e70 ) 8001e66: 2200 movs r2, #0 8001e68: f44f 4100 mov.w r1, #32768 ; 0x8000 - 8001e6c: f001 bbc0 b.w 80035f0 + 8001e6c: f001 bbca b.w 8003604 8001e70: 48000400 .word 0x48000400 08001e74 : 8001e74: 4802 ldr r0, [pc, #8] ; (8001e80 ) 8001e76: 2200 movs r2, #0 8001e78: f44f 7100 mov.w r1, #512 ; 0x200 - 8001e7c: f001 bbb8 b.w 80035f0 + 8001e7c: f001 bbc2 b.w 8003604 8001e80: 48000400 .word 0x48000400 08001e84 : @@ -2970,32 +2970,32 @@ Disassembly of section .text: 8001eba: 4815 ldr r0, [pc, #84] ; (8001f10 ) 8001ebc: 2201 movs r2, #1 8001ebe: f44f 4100 mov.w r1, #32768 ; 0x8000 - 8001ec2: f001 fb95 bl 80035f0 + 8001ec2: f001 fb9f bl 8003604 8001ec6: 4812 ldr r0, [pc, #72] ; (8001f10 ) 8001ec8: 2201 movs r2, #1 8001eca: f44f 7100 mov.w r1, #512 ; 0x200 - 8001ece: f001 fb8f bl 80035f0 + 8001ece: f001 fb99 bl 8003604 8001ed2: 480f ldr r0, [pc, #60] ; (8001f10 ) 8001ed4: 2201 movs r2, #1 8001ed6: f44f 6100 mov.w r1, #2048 ; 0x800 - 8001eda: f001 fb89 bl 80035f0 + 8001eda: f001 fb93 bl 8003604 8001ede: 480d ldr r0, [pc, #52] ; (8001f14 ) - 8001ee0: f00c fe22 bl 800eb28 - 8001ee4: f004 fb64 bl 80065b0 + 8001ee0: f00c fe2c bl 800eb3c + 8001ee4: f004 fb6e bl 80065c4 8001ee8: b960 cbnz r0, 8001f04 8001eea: 4c0b ldr r4, [pc, #44] ; (8001f18 ) 8001eec: 480b ldr r0, [pc, #44] ; (8001f1c ) 8001eee: 2501 movs r5, #1 8001ef0: 7025 strb r5, [r4, #0] - 8001ef2: f004 f9ef bl 80062d4 + 8001ef2: f004 f9f9 bl 80062e8 8001ef6: 7820 ldrb r0, [r4, #0] 8001ef8: 4629 mov r1, r5 - 8001efa: f003 ff41 bl 8005d80 + 8001efa: f003 ff4b bl 8005d94 8001efe: 4805 ldr r0, [pc, #20] ; (8001f14 ) - 8001f00: f00c fe60 bl 800ebc4 + 8001f00: f00c fe6a bl 800ebd8 8001f04: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} 8001f08: 4805 ldr r0, [pc, #20] ; (8001f20 ) - 8001f0a: f00c be5b b.w 800ebc4 + 8001f0a: f00c be65 b.w 800ebd8 8001f0e: bf00 nop 8001f10: 48000400 .word 0x48000400 8001f14: 20000428 .word 0x20000428 @@ -3004,7 +3004,7 @@ Disassembly of section .text: 8001f20: 200003f8 .word 0x200003f8 08001f24 : - 8001f24: f004 bbe0 b.w 80066e8 + 8001f24: f004 bbea b.w 80066fc 08001f28 : 8001f28: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} @@ -3013,21080 +3013,21087 @@ Disassembly of section .text: 8001f32: 2201 movs r2, #1 8001f34: 2110 movs r1, #16 8001f36: 4605 mov r5, r0 - 8001f38: 484c ldr r0, [pc, #304] ; (800206c ) - 8001f3a: f001 fb59 bl 80035f0 - 8001f3e: f004 f815 bl 8005f6c - 8001f42: 4607 mov r7, r0 - 8001f44: b1b0 cbz r0, 8001f74 - 8001f46: 2400 movs r4, #0 - 8001f48: 4849 ldr r0, [pc, #292] ; (8002070 ) - 8001f4a: f00c fded bl 800eb28 - 8001f4e: 4b49 ldr r3, [pc, #292] ; (8002074 ) - 8001f50: 4847 ldr r0, [pc, #284] ; (8002070 ) - 8001f52: 6819 ldr r1, [r3, #0] - 8001f54: 42a1 cmp r1, r4 - 8001f56: bf38 it cc - 8001f58: 4621 movcc r1, r4 - 8001f5a: f00c fe6d bl 800ec38 - 8001f5e: 4844 ldr r0, [pc, #272] ; (8002070 ) - 8001f60: f00c fe30 bl 800ebc4 - 8001f64: 4841 ldr r0, [pc, #260] ; (800206c ) - 8001f66: 2200 movs r2, #0 - 8001f68: 2110 movs r1, #16 - 8001f6a: f001 fb41 bl 80035f0 - 8001f6e: b007 add sp, #28 - 8001f70: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} - 8001f74: 4c40 ldr r4, [pc, #256] ; (8002078 ) - 8001f76: 4668 mov r0, sp - 8001f78: f7ff fcb6 bl 80018e8 - 8001f7c: 2302 movs r3, #2 - 8001f7e: 9802 ldr r0, [sp, #8] - 8001f80: 7023 strb r3, [r4, #0] - 8001f82: 493e ldr r1, [pc, #248] ; (800207c ) - 8001f84: f7fe fc7a bl 800087c <__aeabi_fmul> - 8001f88: f7fe fdee bl 8000b68 <__aeabi_f2uiz> - 8001f8c: b286 uxth r6, r0 - 8001f8e: 9801 ldr r0, [sp, #4] - 8001f90: f7fe fdc4 bl 8000b1c <__aeabi_f2iz> - 8001f94: 493a ldr r1, [pc, #232] ; (8002080 ) - 8001f96: fa0f f880 sxth.w r8, r0 - 8001f9a: 9800 ldr r0, [sp, #0] - 8001f9c: f7fe fc6e bl 800087c <__aeabi_fmul> - 8001fa0: 4936 ldr r1, [pc, #216] ; (800207c ) - 8001fa2: f7fe fd1f bl 80009e4 <__aeabi_fdiv> - 8001fa6: f7fe fddf bl 8000b68 <__aeabi_f2uiz> - 8001faa: 4a36 ldr r2, [pc, #216] ; (8002084 ) - 8001fac: 6863 ldr r3, [r4, #4] - 8001fae: 7812 ldrb r2, [r2, #0] - 8001fb0: 701a strb r2, [r3, #0] - 8001fb2: 6863 ldr r3, [r4, #4] - 8001fb4: f3c0 2207 ubfx r2, r0, #8, #8 - 8001fb8: 705a strb r2, [r3, #1] - 8001fba: 6863 ldr r3, [r4, #4] - 8001fbc: 7098 strb r0, [r3, #2] - 8001fbe: 6863 ldr r3, [r4, #4] - 8001fc0: f883 8003 strb.w r8, [r3, #3] - 8001fc4: 6863 ldr r3, [r4, #4] - 8001fc6: 0a32 lsrs r2, r6, #8 - 8001fc8: 711a strb r2, [r3, #4] - 8001fca: 6863 ldr r3, [r4, #4] - 8001fcc: 715e strb r6, [r3, #5] - 8001fce: 4e2e ldr r6, [pc, #184] ; (8002088 ) - 8001fd0: 7833 ldrb r3, [r6, #0] - 8001fd2: 2b08 cmp r3, #8 - 8001fd4: d001 beq.n 8001fda - 8001fd6: 2b01 cmp r3, #1 - 8001fd8: d82d bhi.n 8002036 - 8001fda: 6862 ldr r2, [r4, #4] - 8001fdc: 2300 movs r3, #0 - 8001fde: 7193 strb r3, [r2, #6] - 8001fe0: 6862 ldr r2, [r4, #4] - 8001fe2: 71d3 strb r3, [r2, #7] - 8001fe4: 6862 ldr r2, [r4, #4] - 8001fe6: b228 sxth r0, r5 - 8001fe8: eb00 0040 add.w r0, r0, r0, lsl #1 - 8001fec: 7213 strb r3, [r2, #8] - 8001fee: 7253 strb r3, [r2, #9] - 8001ff0: eb00 1040 add.w r0, r0, r0, lsl #5 - 8001ff4: 23fe movs r3, #254 ; 0xfe - 8001ff6: fbb0 f0f3 udiv r0, r0, r3 - 8001ffa: 230b movs r3, #11 - 8001ffc: 7290 strb r0, [r2, #10] - 8001ffe: 7063 strb r3, [r4, #1] - 8002000: 4c22 ldr r4, [pc, #136] ; (800208c ) - 8002002: 7a63 ldrb r3, [r4, #9] - 8002004: b163 cbz r3, 8002020 - 8002006: f003 ff9d bl 8005f44 - 800200a: 2801 cmp r0, #1 - 800200c: d108 bne.n 8002020 - 800200e: 4620 mov r0, r4 - 8002010: f00c fd8a bl 800eb28 - 8002014: 4815 ldr r0, [pc, #84] ; (800206c ) - 8002016: 2200 movs r2, #0 - 8002018: f44f 6100 mov.w r1, #2048 ; 0x800 - 800201c: f001 fae8 bl 80035f0 - 8002020: 78f1 ldrb r1, [r6, #3] - 8002022: 4815 ldr r0, [pc, #84] ; (8002078 ) - 8002024: 2200 movs r2, #0 - 8002026: f003 ffb7 bl 8005f98 - 800202a: 3006 adds r0, #6 - 800202c: d18b bne.n 8001f46 - 800202e: f003 ff83 bl 8005f38 - 8002032: 4604 mov r4, r0 - 8002034: e788 b.n 8001f48 - 8002036: e9dd 8503 ldrd r8, r5, [sp, #12] - 800203a: f8d4 9004 ldr.w r9, [r4, #4] - 800203e: f7ff fbcb bl 80017d8 - 8002042: f889 0006 strb.w r0, [r9, #6] - 8002046: 6863 ldr r3, [r4, #4] - 8002048: ea4f 4228 mov.w r2, r8, asr #16 - 800204c: 71da strb r2, [r3, #7] - 800204e: 6863 ldr r3, [r4, #4] - 8002050: ea4f 2228 mov.w r2, r8, asr #8 - 8002054: 721a strb r2, [r3, #8] - 8002056: 142a asrs r2, r5, #16 - 8002058: 729a strb r2, [r3, #10] - 800205a: 122a asrs r2, r5, #8 - 800205c: f883 8009 strb.w r8, [r3, #9] - 8002060: 72da strb r2, [r3, #11] - 8002062: 731d strb r5, [r3, #12] - 8002064: 735f strb r7, [r3, #13] - 8002066: 739f strb r7, [r3, #14] - 8002068: 230f movs r3, #15 - 800206a: e7c8 b.n 8001ffe - 800206c: 48000400 .word 0x48000400 - 8002070: 20000428 .word 0x20000428 - 8002074: 20000070 .word 0x20000070 - 8002078: 20000004 .word 0x20000004 - 800207c: 41200000 .word 0x41200000 - 8002080: 42c80000 .word 0x42c80000 - 8002084: 200003c7 .word 0x200003c7 - 8002088: 20000058 .word 0x20000058 - 800208c: 200003c8 .word 0x200003c8 + 8001f38: 4851 ldr r0, [pc, #324] ; (8002080 ) + 8001f3a: f001 fb63 bl 8003604 + 8001f3e: 4850 ldr r0, [pc, #320] ; (8002080 ) + 8001f40: 2201 movs r2, #1 + 8001f42: 2104 movs r1, #4 + 8001f44: f001 fb5e bl 8003604 + 8001f48: f004 f81a bl 8005f80 + 8001f4c: 4607 mov r7, r0 + 8001f4e: b1d8 cbz r0, 8001f88 + 8001f50: 2400 movs r4, #0 + 8001f52: 484c ldr r0, [pc, #304] ; (8002084 ) + 8001f54: f00c fdf2 bl 800eb3c + 8001f58: 4b4b ldr r3, [pc, #300] ; (8002088 ) + 8001f5a: 484a ldr r0, [pc, #296] ; (8002084 ) + 8001f5c: 6819 ldr r1, [r3, #0] + 8001f5e: 42a1 cmp r1, r4 + 8001f60: bf38 it cc + 8001f62: 4621 movcc r1, r4 + 8001f64: f00c fe72 bl 800ec4c + 8001f68: 4846 ldr r0, [pc, #280] ; (8002084 ) + 8001f6a: f00c fe35 bl 800ebd8 + 8001f6e: 4844 ldr r0, [pc, #272] ; (8002080 ) + 8001f70: 2200 movs r2, #0 + 8001f72: 2104 movs r1, #4 + 8001f74: f001 fb46 bl 8003604 + 8001f78: 4841 ldr r0, [pc, #260] ; (8002080 ) + 8001f7a: 2200 movs r2, #0 + 8001f7c: 2110 movs r1, #16 + 8001f7e: f001 fb41 bl 8003604 + 8001f82: b007 add sp, #28 + 8001f84: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 8001f88: 4c40 ldr r4, [pc, #256] ; (800208c ) + 8001f8a: 4668 mov r0, sp + 8001f8c: f7ff fcac bl 80018e8 + 8001f90: 2302 movs r3, #2 + 8001f92: 9802 ldr r0, [sp, #8] + 8001f94: 7023 strb r3, [r4, #0] + 8001f96: 493e ldr r1, [pc, #248] ; (8002090 ) + 8001f98: f7fe fc70 bl 800087c <__aeabi_fmul> + 8001f9c: f7fe fde4 bl 8000b68 <__aeabi_f2uiz> + 8001fa0: b286 uxth r6, r0 + 8001fa2: 9801 ldr r0, [sp, #4] + 8001fa4: f7fe fdba bl 8000b1c <__aeabi_f2iz> + 8001fa8: 493a ldr r1, [pc, #232] ; (8002094 ) + 8001faa: fa0f f880 sxth.w r8, r0 + 8001fae: 9800 ldr r0, [sp, #0] + 8001fb0: f7fe fc64 bl 800087c <__aeabi_fmul> + 8001fb4: 4936 ldr r1, [pc, #216] ; (8002090 ) + 8001fb6: f7fe fd15 bl 80009e4 <__aeabi_fdiv> + 8001fba: f7fe fdd5 bl 8000b68 <__aeabi_f2uiz> + 8001fbe: 4a36 ldr r2, [pc, #216] ; (8002098 ) + 8001fc0: 6863 ldr r3, [r4, #4] + 8001fc2: 7812 ldrb r2, [r2, #0] + 8001fc4: 701a strb r2, [r3, #0] + 8001fc6: 6863 ldr r3, [r4, #4] + 8001fc8: f3c0 2207 ubfx r2, r0, #8, #8 + 8001fcc: 705a strb r2, [r3, #1] + 8001fce: 6863 ldr r3, [r4, #4] + 8001fd0: 7098 strb r0, [r3, #2] + 8001fd2: 6863 ldr r3, [r4, #4] + 8001fd4: f883 8003 strb.w r8, [r3, #3] + 8001fd8: 6863 ldr r3, [r4, #4] + 8001fda: 0a32 lsrs r2, r6, #8 + 8001fdc: 711a strb r2, [r3, #4] + 8001fde: 6863 ldr r3, [r4, #4] + 8001fe0: 715e strb r6, [r3, #5] + 8001fe2: 4e2e ldr r6, [pc, #184] ; (800209c ) + 8001fe4: 7833 ldrb r3, [r6, #0] + 8001fe6: 2b08 cmp r3, #8 + 8001fe8: d001 beq.n 8001fee + 8001fea: 2b01 cmp r3, #1 + 8001fec: d82d bhi.n 800204a + 8001fee: 6862 ldr r2, [r4, #4] + 8001ff0: 2300 movs r3, #0 + 8001ff2: 7193 strb r3, [r2, #6] + 8001ff4: 6862 ldr r2, [r4, #4] + 8001ff6: 71d3 strb r3, [r2, #7] + 8001ff8: 6862 ldr r2, [r4, #4] + 8001ffa: b228 sxth r0, r5 + 8001ffc: eb00 0040 add.w r0, r0, r0, lsl #1 + 8002000: 7213 strb r3, [r2, #8] + 8002002: 7253 strb r3, [r2, #9] + 8002004: eb00 1040 add.w r0, r0, r0, lsl #5 + 8002008: 23fe movs r3, #254 ; 0xfe + 800200a: fbb0 f0f3 udiv r0, r0, r3 + 800200e: 230b movs r3, #11 + 8002010: 7290 strb r0, [r2, #10] + 8002012: 7063 strb r3, [r4, #1] + 8002014: 4c22 ldr r4, [pc, #136] ; (80020a0 ) + 8002016: 7a63 ldrb r3, [r4, #9] + 8002018: b163 cbz r3, 8002034 + 800201a: f003 ff9d bl 8005f58 + 800201e: 2801 cmp r0, #1 + 8002020: d108 bne.n 8002034 + 8002022: 4620 mov r0, r4 + 8002024: f00c fd8a bl 800eb3c + 8002028: 4815 ldr r0, [pc, #84] ; (8002080 ) + 800202a: 2200 movs r2, #0 + 800202c: f44f 6100 mov.w r1, #2048 ; 0x800 + 8002030: f001 fae8 bl 8003604 + 8002034: 78f1 ldrb r1, [r6, #3] + 8002036: 4815 ldr r0, [pc, #84] ; (800208c ) + 8002038: 2200 movs r2, #0 + 800203a: f003 ffb7 bl 8005fac + 800203e: 3006 adds r0, #6 + 8002040: d186 bne.n 8001f50 + 8002042: f003 ff83 bl 8005f4c + 8002046: 4604 mov r4, r0 + 8002048: e783 b.n 8001f52 + 800204a: e9dd 8503 ldrd r8, r5, [sp, #12] + 800204e: f8d4 9004 ldr.w r9, [r4, #4] + 8002052: f7ff fbc1 bl 80017d8 + 8002056: f889 0006 strb.w r0, [r9, #6] + 800205a: 6863 ldr r3, [r4, #4] + 800205c: ea4f 4228 mov.w r2, r8, asr #16 + 8002060: 71da strb r2, [r3, #7] + 8002062: 6863 ldr r3, [r4, #4] + 8002064: ea4f 2228 mov.w r2, r8, asr #8 + 8002068: 721a strb r2, [r3, #8] + 800206a: 142a asrs r2, r5, #16 + 800206c: 729a strb r2, [r3, #10] + 800206e: 122a asrs r2, r5, #8 + 8002070: f883 8009 strb.w r8, [r3, #9] + 8002074: 72da strb r2, [r3, #11] + 8002076: 731d strb r5, [r3, #12] + 8002078: 735f strb r7, [r3, #13] + 800207a: 739f strb r7, [r3, #14] + 800207c: 230f movs r3, #15 + 800207e: e7c8 b.n 8002012 + 8002080: 48000400 .word 0x48000400 + 8002084: 20000428 .word 0x20000428 + 8002088: 20000070 .word 0x20000070 + 800208c: 20000004 .word 0x20000004 + 8002090: 41200000 .word 0x41200000 + 8002094: 42c80000 .word 0x42c80000 + 8002098: 200003c7 .word 0x200003c7 + 800209c: 20000058 .word 0x20000058 + 80020a0: 200003c8 .word 0x200003c8 -08002090 : - 8002090: 4802 ldr r0, [pc, #8] ; (800209c ) - 8002092: f44f 6100 mov.w r1, #2048 ; 0x800 - 8002096: f001 bab0 b.w 80035fa - 800209a: bf00 nop - 800209c: 48000400 .word 0x48000400 +080020a4 : + 80020a4: 4802 ldr r0, [pc, #8] ; (80020b0 ) + 80020a6: f44f 6100 mov.w r1, #2048 ; 0x800 + 80020aa: f001 bab0 b.w 800360e + 80020ae: bf00 nop + 80020b0: 48000400 .word 0x48000400 -080020a0 : - 80020a0: b508 push {r3, lr} - 80020a2: f004 fa8e bl 80065c2 - 80020a6: b980 cbnz r0, 80020ca - 80020a8: f003 ff4c bl 8005f44 - 80020ac: 2801 cmp r0, #1 - 80020ae: d10c bne.n 80020ca - 80020b0: f3bf 8f4f dsb sy - 80020b4: 4905 ldr r1, [pc, #20] ; (80020cc ) - 80020b6: 4b06 ldr r3, [pc, #24] ; (80020d0 ) - 80020b8: 68ca ldr r2, [r1, #12] - 80020ba: f402 62e0 and.w r2, r2, #1792 ; 0x700 - 80020be: 4313 orrs r3, r2 - 80020c0: 60cb str r3, [r1, #12] - 80020c2: f3bf 8f4f dsb sy - 80020c6: bf00 nop - 80020c8: e7fd b.n 80020c6 - 80020ca: bd08 pop {r3, pc} - 80020cc: e000ed00 .word 0xe000ed00 - 80020d0: 05fa0004 .word 0x05fa0004 +080020b4 : + 80020b4: b508 push {r3, lr} + 80020b6: f004 fa8e bl 80065d6 + 80020ba: b980 cbnz r0, 80020de + 80020bc: f003 ff4c bl 8005f58 + 80020c0: 2801 cmp r0, #1 + 80020c2: d10c bne.n 80020de + 80020c4: f3bf 8f4f dsb sy + 80020c8: 4905 ldr r1, [pc, #20] ; (80020e0 ) + 80020ca: 4b06 ldr r3, [pc, #24] ; (80020e4 ) + 80020cc: 68ca ldr r2, [r1, #12] + 80020ce: f402 62e0 and.w r2, r2, #1792 ; 0x700 + 80020d2: 4313 orrs r3, r2 + 80020d4: 60cb str r3, [r1, #12] + 80020d6: f3bf 8f4f dsb sy + 80020da: bf00 nop + 80020dc: e7fd b.n 80020da + 80020de: bd08 pop {r3, pc} + 80020e0: e000ed00 .word 0xe000ed00 + 80020e4: 05fa0004 .word 0x05fa0004 -080020d4 : - 80020d4: b508 push {r3, lr} - 80020d6: b160 cbz r0, 80020f2 - 80020d8: 7803 ldrb r3, [r0, #0] - 80020da: b153 cbz r3, 80020f2 - 80020dc: 4805 ldr r0, [pc, #20] ; (80020f4 ) - 80020de: 2201 movs r2, #1 - 80020e0: f44f 7100 mov.w r1, #512 ; 0x200 - 80020e4: f001 fa84 bl 80035f0 - 80020e8: e8bd 4008 ldmia.w sp!, {r3, lr} - 80020ec: 4802 ldr r0, [pc, #8] ; (80020f8 ) - 80020ee: f00c bd69 b.w 800ebc4 - 80020f2: bd08 pop {r3, pc} - 80020f4: 48000400 .word 0x48000400 - 80020f8: 20000410 .word 0x20000410 +080020e8 : + 80020e8: b508 push {r3, lr} + 80020ea: b160 cbz r0, 8002106 + 80020ec: 7803 ldrb r3, [r0, #0] + 80020ee: b153 cbz r3, 8002106 + 80020f0: 4805 ldr r0, [pc, #20] ; (8002108 ) + 80020f2: 2201 movs r2, #1 + 80020f4: f44f 7100 mov.w r1, #512 ; 0x200 + 80020f8: f001 fa84 bl 8003604 + 80020fc: e8bd 4008 ldmia.w sp!, {r3, lr} + 8002100: 4802 ldr r0, [pc, #8] ; (800210c ) + 8002102: f00c bd69 b.w 800ebd8 + 8002106: bd08 pop {r3, pc} + 8002108: 48000400 .word 0x48000400 + 800210c: 20000410 .word 0x20000410 -080020fc : - 80020fc: b510 push {r4, lr} - 80020fe: b168 cbz r0, 800211c - 8002100: f990 4006 ldrsb.w r4, [r0, #6] - 8002104: b954 cbnz r4, 800211c - 8002106: 4806 ldr r0, [pc, #24] ; (8002120 ) - 8002108: f00c fd0e bl 800eb28 - 800210c: 4622 mov r2, r4 - 800210e: 4805 ldr r0, [pc, #20] ; (8002124 ) - 8002110: e8bd 4010 ldmia.w sp!, {r4, lr} - 8002114: f44f 6100 mov.w r1, #2048 ; 0x800 - 8002118: f001 ba6a b.w 80035f0 - 800211c: bd10 pop {r4, pc} - 800211e: bf00 nop - 8002120: 200003c8 .word 0x200003c8 - 8002124: 48000400 .word 0x48000400 +08002110 : + 8002110: b510 push {r4, lr} + 8002112: b168 cbz r0, 8002130 + 8002114: f990 4006 ldrsb.w r4, [r0, #6] + 8002118: b954 cbnz r4, 8002130 + 800211a: 4806 ldr r0, [pc, #24] ; (8002134 ) + 800211c: f00c fd0e bl 800eb3c + 8002120: 4622 mov r2, r4 + 8002122: 4805 ldr r0, [pc, #20] ; (8002138 ) + 8002124: e8bd 4010 ldmia.w sp!, {r4, lr} + 8002128: f44f 6100 mov.w r1, #2048 ; 0x800 + 800212c: f001 ba6a b.w 8003604 + 8002130: bd10 pop {r4, pc} + 8002132: bf00 nop + 8002134: 200003c8 .word 0x200003c8 + 8002138: 48000400 .word 0x48000400 -08002128 : - 8002128: b538 push {r3, r4, r5, lr} - 800212a: 4604 mov r4, r0 - 800212c: 460d mov r5, r1 - 800212e: b381 cbz r1, 8002192 - 8002130: 4818 ldr r0, [pc, #96] ; (8002194 ) - 8002132: 2201 movs r2, #1 - 8002134: f44f 4100 mov.w r1, #32768 ; 0x8000 - 8002138: f001 fa5a bl 80035f0 - 800213c: 4816 ldr r0, [pc, #88] ; (8002198 ) - 800213e: f00c fd41 bl 800ebc4 - 8002142: 782b ldrb r3, [r5, #0] - 8002144: b32b cbz r3, 8002192 - 8002146: b324 cbz r4, 8002192 - 8002148: 6863 ldr r3, [r4, #4] - 800214a: 7822 ldrb r2, [r4, #0] - 800214c: b30b cbz r3, 8002192 - 800214e: 2a02 cmp r2, #2 - 8002150: d00e beq.n 8002170 - 8002152: 2a03 cmp r2, #3 - 8002154: d11d bne.n 8002192 - 8002156: 7862 ldrb r2, [r4, #1] - 8002158: 2a01 cmp r2, #1 - 800215a: d11a bne.n 8002192 - 800215c: 7818 ldrb r0, [r3, #0] - 800215e: 2801 cmp r0, #1 - 8002160: d002 beq.n 8002168 - 8002162: 2802 cmp r0, #2 - 8002164: d000 beq.n 8002168 - 8002166: b9a0 cbnz r0, 8002192 - 8002168: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} - 800216c: f003 bfe0 b.w 8006130 - 8002170: 7862 ldrb r2, [r4, #1] - 8002172: 2a01 cmp r2, #1 - 8002174: d10d bne.n 8002192 - 8002176: 781b ldrb r3, [r3, #0] - 8002178: 4908 ldr r1, [pc, #32] ; (800219c ) - 800217a: f003 0301 and.w r3, r3, #1 - 800217e: 700b strb r3, [r1, #0] - 8002180: b903 cbnz r3, 8002184 - 8002182: 461a mov r2, r3 - 8002184: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} - 8002188: 4802 ldr r0, [pc, #8] ; (8002194 ) - 800218a: f44f 6100 mov.w r1, #2048 ; 0x800 - 800218e: f001 ba2f b.w 80035f0 - 8002192: bd38 pop {r3, r4, r5, pc} - 8002194: 48000400 .word 0x48000400 - 8002198: 200003e0 .word 0x200003e0 - 800219c: 200003c7 .word 0x200003c7 +0800213c : + 800213c: b538 push {r3, r4, r5, lr} + 800213e: 4604 mov r4, r0 + 8002140: 460d mov r5, r1 + 8002142: b381 cbz r1, 80021a6 + 8002144: 4818 ldr r0, [pc, #96] ; (80021a8 ) + 8002146: 2201 movs r2, #1 + 8002148: f44f 4100 mov.w r1, #32768 ; 0x8000 + 800214c: f001 fa5a bl 8003604 + 8002150: 4816 ldr r0, [pc, #88] ; (80021ac ) + 8002152: f00c fd41 bl 800ebd8 + 8002156: 782b ldrb r3, [r5, #0] + 8002158: b32b cbz r3, 80021a6 + 800215a: b324 cbz r4, 80021a6 + 800215c: 6863 ldr r3, [r4, #4] + 800215e: 7822 ldrb r2, [r4, #0] + 8002160: b30b cbz r3, 80021a6 + 8002162: 2a02 cmp r2, #2 + 8002164: d00e beq.n 8002184 + 8002166: 2a03 cmp r2, #3 + 8002168: d11d bne.n 80021a6 + 800216a: 7862 ldrb r2, [r4, #1] + 800216c: 2a01 cmp r2, #1 + 800216e: d11a bne.n 80021a6 + 8002170: 7818 ldrb r0, [r3, #0] + 8002172: 2801 cmp r0, #1 + 8002174: d002 beq.n 800217c + 8002176: 2802 cmp r0, #2 + 8002178: d000 beq.n 800217c + 800217a: b9a0 cbnz r0, 80021a6 + 800217c: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} + 8002180: f003 bfe0 b.w 8006144 + 8002184: 7862 ldrb r2, [r4, #1] + 8002186: 2a01 cmp r2, #1 + 8002188: d10d bne.n 80021a6 + 800218a: 781b ldrb r3, [r3, #0] + 800218c: 4908 ldr r1, [pc, #32] ; (80021b0 ) + 800218e: f003 0301 and.w r3, r3, #1 + 8002192: 700b strb r3, [r1, #0] + 8002194: b903 cbnz r3, 8002198 + 8002196: 461a mov r2, r3 + 8002198: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} + 800219c: 4802 ldr r0, [pc, #8] ; (80021a8 ) + 800219e: f44f 6100 mov.w r1, #2048 ; 0x800 + 80021a2: f001 ba2f b.w 8003604 + 80021a6: bd38 pop {r3, r4, r5, pc} + 80021a8: 48000400 .word 0x48000400 + 80021ac: 200003e0 .word 0x200003e0 + 80021b0: 200003c7 .word 0x200003c7 -080021a0 : - 80021a0: 4770 bx lr +080021b4 : + 80021b4: 4770 bx lr ... -080021a4 : - 80021a4: b51f push {r0, r1, r2, r3, r4, lr} - 80021a6: 2400 movs r4, #0 - 80021a8: a903 add r1, sp, #12 - 80021aa: 4620 mov r0, r4 - 80021ac: 9403 str r4, [sp, #12] - 80021ae: f004 f9eb bl 8006588 - 80021b2: a903 add r1, sp, #12 - 80021b4: 2001 movs r0, #1 - 80021b6: f004 f9e7 bl 8006588 - 80021ba: 4b2c ldr r3, [pc, #176] ; (800226c ) - 80021bc: 482c ldr r0, [pc, #176] ; (8002270 ) - 80021be: 9400 str r4, [sp, #0] - 80021c0: 4622 mov r2, r4 - 80021c2: f44f 71fa mov.w r1, #500 ; 0x1f4 - 80021c6: f00c fc51 bl 800ea6c - 80021ca: 4b2a ldr r3, [pc, #168] ; (8002274 ) - 80021cc: 482a ldr r0, [pc, #168] ; (8002278 ) - 80021ce: 9400 str r4, [sp, #0] - 80021d0: 4622 mov r2, r4 - 80021d2: f44f 71fa mov.w r1, #500 ; 0x1f4 - 80021d6: f00c fc49 bl 800ea6c - 80021da: 4b28 ldr r3, [pc, #160] ; (800227c ) - 80021dc: 4828 ldr r0, [pc, #160] ; (8002280 ) - 80021de: 9400 str r4, [sp, #0] - 80021e0: 2201 movs r2, #1 - 80021e2: f44f 71fa mov.w r1, #500 ; 0x1f4 - 80021e6: f00c fc41 bl 800ea6c - 80021ea: 4620 mov r0, r4 - 80021ec: f7fe ffba bl 8001164 - 80021f0: b108 cbz r0, 80021f6 - 80021f2: f7ff f9a1 bl 8001538 - 80021f6: 4b23 ldr r3, [pc, #140] ; (8002284 ) - 80021f8: 9400 str r4, [sp, #0] - 80021fa: 2200 movs r2, #0 - 80021fc: f44f 61fa mov.w r1, #2000 ; 0x7d0 - 8002200: 4821 ldr r0, [pc, #132] ; (8002288 ) - 8002202: f00c fc33 bl 800ea6c - 8002206: 4a21 ldr r2, [pc, #132] ; (800228c ) - 8002208: 2100 movs r1, #0 - 800220a: 2001 movs r0, #1 - 800220c: f00c fb2e bl 800e86c - 8002210: 4a1f ldr r2, [pc, #124] ; (8002290 ) - 8002212: 2100 movs r1, #0 - 8002214: 2002 movs r0, #2 - 8002216: f00c fb29 bl 800e86c - 800221a: 4a1e ldr r2, [pc, #120] ; (8002294 ) +080021b8 : + 80021b8: b51f push {r0, r1, r2, r3, r4, lr} + 80021ba: 2400 movs r4, #0 + 80021bc: a903 add r1, sp, #12 + 80021be: 4620 mov r0, r4 + 80021c0: 9403 str r4, [sp, #12] + 80021c2: f004 f9eb bl 800659c + 80021c6: a903 add r1, sp, #12 + 80021c8: 2001 movs r0, #1 + 80021ca: f004 f9e7 bl 800659c + 80021ce: 4b2c ldr r3, [pc, #176] ; (8002280 ) + 80021d0: 482c ldr r0, [pc, #176] ; (8002284 ) + 80021d2: 9400 str r4, [sp, #0] + 80021d4: 4622 mov r2, r4 + 80021d6: f44f 71fa mov.w r1, #500 ; 0x1f4 + 80021da: f00c fc51 bl 800ea80 + 80021de: 4b2a ldr r3, [pc, #168] ; (8002288 ) + 80021e0: 482a ldr r0, [pc, #168] ; (800228c ) + 80021e2: 9400 str r4, [sp, #0] + 80021e4: 4622 mov r2, r4 + 80021e6: f44f 71fa mov.w r1, #500 ; 0x1f4 + 80021ea: f00c fc49 bl 800ea80 + 80021ee: 4b28 ldr r3, [pc, #160] ; (8002290 ) + 80021f0: 4828 ldr r0, [pc, #160] ; (8002294 ) + 80021f2: 9400 str r4, [sp, #0] + 80021f4: 2201 movs r2, #1 + 80021f6: f44f 71fa mov.w r1, #500 ; 0x1f4 + 80021fa: f00c fc41 bl 800ea80 + 80021fe: 4620 mov r0, r4 + 8002200: f7fe ffb0 bl 8001164 + 8002204: b108 cbz r0, 800220a + 8002206: f7ff f997 bl 8001538 + 800220a: 4b23 ldr r3, [pc, #140] ; (8002298 ) + 800220c: 9400 str r4, [sp, #0] + 800220e: 2200 movs r2, #0 + 8002210: f44f 61fa mov.w r1, #2000 ; 0x7d0 + 8002214: 4821 ldr r0, [pc, #132] ; (800229c ) + 8002216: f00c fc33 bl 800ea80 + 800221a: 4a21 ldr r2, [pc, #132] ; (80022a0 ) 800221c: 2100 movs r1, #0 - 800221e: 2004 movs r0, #4 - 8002220: f00c fb24 bl 800e86c - 8002224: 4a1c ldr r2, [pc, #112] ; (8002298 ) + 800221e: 2001 movs r0, #1 + 8002220: f00c fb2e bl 800e880 + 8002224: 4a1f ldr r2, [pc, #124] ; (80022a4 ) 8002226: 2100 movs r1, #0 - 8002228: 2008 movs r0, #8 - 800222a: f00c fb1f bl 800e86c - 800222e: f000 f84f bl 80022d0 - 8002232: 491a ldr r1, [pc, #104] ; (800229c ) - 8002234: 481a ldr r0, [pc, #104] ; (80022a0 ) - 8002236: f004 f95d bl 80064f4 - 800223a: 481a ldr r0, [pc, #104] ; (80022a4 ) - 800223c: f004 f84a bl 80062d4 - 8002240: 480f ldr r0, [pc, #60] ; (8002280 ) - 8002242: f00c fcbf bl 800ebc4 - 8002246: 4b18 ldr r3, [pc, #96] ; (80022a8 ) - 8002248: 2100 movs r1, #0 - 800224a: 7818 ldrb r0, [r3, #0] - 800224c: f003 fd98 bl 8005d80 - 8002250: 4916 ldr r1, [pc, #88] ; (80022ac ) - 8002252: 9400 str r4, [sp, #0] - 8002254: 4b16 ldr r3, [pc, #88] ; (80022b0 ) - 8002256: 6809 ldr r1, [r1, #0] - 8002258: 4816 ldr r0, [pc, #88] ; (80022b4 ) - 800225a: 2200 movs r2, #0 - 800225c: f00c fc06 bl 800ea6c - 8002260: 4814 ldr r0, [pc, #80] ; (80022b4 ) - 8002262: f00c fcaf bl 800ebc4 - 8002266: b004 add sp, #16 - 8002268: bd10 pop {r4, pc} - 800226a: bf00 nop - 800226c: 08001e75 .word 0x08001e75 - 8002270: 20000410 .word 0x20000410 - 8002274: 08001e65 .word 0x08001e65 - 8002278: 200003e0 .word 0x200003e0 - 800227c: 08002091 .word 0x08002091 - 8002280: 200003c8 .word 0x200003c8 - 8002284: 08001e21 .word 0x08001e21 - 8002288: 200003f8 .word 0x200003f8 - 800228c: 080060cd .word 0x080060cd - 8002290: 08001f29 .word 0x08001f29 - 8002294: 08001f25 .word 0x08001f25 - 8002298: 08001eb9 .word 0x08001eb9 - 800229c: 01030000 .word 0x01030000 - 80022a0: 2000000c .word 0x2000000c - 80022a4: 20000058 .word 0x20000058 - 80022a8: 20000000 .word 0x20000000 - 80022ac: 20000070 .word 0x20000070 - 80022b0: 08001dd1 .word 0x08001dd1 - 80022b4: 20000428 .word 0x20000428 + 8002228: 2002 movs r0, #2 + 800222a: f00c fb29 bl 800e880 + 800222e: 4a1e ldr r2, [pc, #120] ; (80022a8 ) + 8002230: 2100 movs r1, #0 + 8002232: 2004 movs r0, #4 + 8002234: f00c fb24 bl 800e880 + 8002238: 4a1c ldr r2, [pc, #112] ; (80022ac ) + 800223a: 2100 movs r1, #0 + 800223c: 2008 movs r0, #8 + 800223e: f00c fb1f bl 800e880 + 8002242: f000 f84f bl 80022e4 + 8002246: 491a ldr r1, [pc, #104] ; (80022b0 ) + 8002248: 481a ldr r0, [pc, #104] ; (80022b4 ) + 800224a: f004 f95d bl 8006508 + 800224e: 481a ldr r0, [pc, #104] ; (80022b8 ) + 8002250: f004 f84a bl 80062e8 + 8002254: 480f ldr r0, [pc, #60] ; (8002294 ) + 8002256: f00c fcbf bl 800ebd8 + 800225a: 4b18 ldr r3, [pc, #96] ; (80022bc ) + 800225c: 2100 movs r1, #0 + 800225e: 7818 ldrb r0, [r3, #0] + 8002260: f003 fd98 bl 8005d94 + 8002264: 4916 ldr r1, [pc, #88] ; (80022c0 ) + 8002266: 9400 str r4, [sp, #0] + 8002268: 4b16 ldr r3, [pc, #88] ; (80022c4 ) + 800226a: 6809 ldr r1, [r1, #0] + 800226c: 4816 ldr r0, [pc, #88] ; (80022c8 ) + 800226e: 2200 movs r2, #0 + 8002270: f00c fc06 bl 800ea80 + 8002274: 4814 ldr r0, [pc, #80] ; (80022c8 ) + 8002276: f00c fcaf bl 800ebd8 + 800227a: b004 add sp, #16 + 800227c: bd10 pop {r4, pc} + 800227e: bf00 nop + 8002280: 08001e75 .word 0x08001e75 + 8002284: 20000410 .word 0x20000410 + 8002288: 08001e65 .word 0x08001e65 + 800228c: 200003e0 .word 0x200003e0 + 8002290: 080020a5 .word 0x080020a5 + 8002294: 200003c8 .word 0x200003c8 + 8002298: 08001e21 .word 0x08001e21 + 800229c: 200003f8 .word 0x200003f8 + 80022a0: 080060e1 .word 0x080060e1 + 80022a4: 08001f29 .word 0x08001f29 + 80022a8: 08001f25 .word 0x08001f25 + 80022ac: 08001eb9 .word 0x08001eb9 + 80022b0: 01030000 .word 0x01030000 + 80022b4: 2000000c .word 0x2000000c + 80022b8: 20000058 .word 0x20000058 + 80022bc: 20000000 .word 0x20000000 + 80022c0: 20000070 .word 0x20000070 + 80022c4: 08001dd1 .word 0x08001dd1 + 80022c8: 20000428 .word 0x20000428 -080022b8 : - 80022b8: 2802 cmp r0, #2 - 80022ba: d004 beq.n 80022c6 - 80022bc: 2840 cmp r0, #64 ; 0x40 - 80022be: d106 bne.n 80022ce - 80022c0: 2100 movs r1, #0 - 80022c2: 2004 movs r0, #4 - 80022c4: e001 b.n 80022ca - 80022c6: 2100 movs r1, #0 - 80022c8: 2008 movs r0, #8 - 80022ca: f00c ba13 b.w 800e6f4 - 80022ce: 4770 bx lr +080022cc : + 80022cc: 2802 cmp r0, #2 + 80022ce: d004 beq.n 80022da + 80022d0: 2840 cmp r0, #64 ; 0x40 + 80022d2: d106 bne.n 80022e2 + 80022d4: 2100 movs r1, #0 + 80022d6: 2004 movs r0, #4 + 80022d8: e001 b.n 80022de + 80022da: 2100 movs r1, #0 + 80022dc: 2008 movs r0, #8 + 80022de: f00c ba13 b.w 800e708 + 80022e2: 4770 bx lr -080022d0 : - 80022d0: 4b03 ldr r3, [pc, #12] ; (80022e0 ) - 80022d2: 2200 movs r2, #0 - 80022d4: e9c3 2202 strd r2, r2, [r3, #8] - 80022d8: 2201 movs r2, #1 - 80022da: e9c3 2200 strd r2, r2, [r3] - 80022de: 4770 bx lr - 80022e0: 20000440 .word 0x20000440 +080022e4 : + 80022e4: 4b03 ldr r3, [pc, #12] ; (80022f4 ) + 80022e6: 2200 movs r2, #0 + 80022e8: e9c3 2202 strd r2, r2, [r3, #8] + 80022ec: 2201 movs r2, #1 + 80022ee: e9c3 2200 strd r2, r2, [r3] + 80022f2: 4770 bx lr + 80022f4: 20000440 .word 0x20000440 -080022e4 : - 80022e4: 4800 ldr r0, [pc, #0] ; (80022e8 ) - 80022e6: 4770 bx lr - 80022e8: 20000440 .word 0x20000440 +080022f8 : + 80022f8: 4800 ldr r0, [pc, #0] ; (80022fc ) + 80022fa: 4770 bx lr + 80022fc: 20000440 .word 0x20000440 -080022ec : - 80022ec: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 80022f0: b082 sub sp, #8 - 80022f2: 6cda ldr r2, [r3, #76] ; 0x4c - 80022f4: 4302 orrs r2, r0 - 80022f6: 64da str r2, [r3, #76] ; 0x4c - 80022f8: 6cdb ldr r3, [r3, #76] ; 0x4c - 80022fa: 4003 ands r3, r0 - 80022fc: 9301 str r3, [sp, #4] - 80022fe: 9b01 ldr r3, [sp, #4] - 8002300: b002 add sp, #8 - 8002302: 4770 bx lr +08002300 : + 8002300: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8002304: b082 sub sp, #8 + 8002306: 6cda ldr r2, [r3, #76] ; 0x4c + 8002308: 4302 orrs r2, r0 + 800230a: 64da str r2, [r3, #76] ; 0x4c + 800230c: 6cdb ldr r3, [r3, #76] ; 0x4c + 800230e: 4003 ands r3, r0 + 8002310: 9301 str r3, [sp, #4] + 8002312: 9b01 ldr r3, [sp, #4] + 8002314: b002 add sp, #8 + 8002316: 4770 bx lr -08002304 : - 8002304: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8002308: b086 sub sp, #24 - 800230a: 2400 movs r4, #0 - 800230c: 2002 movs r0, #2 - 800230e: 4d15 ldr r5, [pc, #84] ; (8002364 ) - 8002310: 9405 str r4, [sp, #20] - 8002312: f7ff ffeb bl 80022ec - 8002316: 2004 movs r0, #4 - 8002318: f7ff ffe8 bl 80022ec - 800231c: 4f12 ldr r7, [pc, #72] ; (8002368 ) - 800231e: 9403 str r4, [sp, #12] - 8002320: f44f 7680 mov.w r6, #256 ; 0x100 - 8002324: 2301 movs r3, #1 - 8002326: eb0d 0100 add.w r1, sp, r0 - 800232a: e9cd 6301 strd r6, r3, [sp, #4] - 800232e: 4628 mov r0, r5 - 8002330: 2303 movs r3, #3 - 8002332: 9304 str r3, [sp, #16] - 8002334: f44f 5800 mov.w r8, #8192 ; 0x2000 - 8002338: f001 f83a bl 80033b0 - 800233c: a901 add r1, sp, #4 - 800233e: 4638 mov r0, r7 - 8002340: f8cd 8004 str.w r8, [sp, #4] - 8002344: f001 f834 bl 80033b0 - 8002348: 4622 mov r2, r4 - 800234a: 4641 mov r1, r8 - 800234c: 4638 mov r0, r7 - 800234e: f001 f94f bl 80035f0 - 8002352: 4628 mov r0, r5 - 8002354: 4622 mov r2, r4 - 8002356: 4631 mov r1, r6 - 8002358: f001 f94a bl 80035f0 - 800235c: 4620 mov r0, r4 - 800235e: b006 add sp, #24 - 8002360: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8002364: 48000400 .word 0x48000400 - 8002368: 48000800 .word 0x48000800 +08002318 : + 8002318: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800231c: b086 sub sp, #24 + 800231e: 2400 movs r4, #0 + 8002320: 2002 movs r0, #2 + 8002322: 4d15 ldr r5, [pc, #84] ; (8002378 ) + 8002324: 9405 str r4, [sp, #20] + 8002326: f7ff ffeb bl 8002300 + 800232a: 2004 movs r0, #4 + 800232c: f7ff ffe8 bl 8002300 + 8002330: 4f12 ldr r7, [pc, #72] ; (800237c ) + 8002332: 9403 str r4, [sp, #12] + 8002334: f44f 7680 mov.w r6, #256 ; 0x100 + 8002338: 2301 movs r3, #1 + 800233a: eb0d 0100 add.w r1, sp, r0 + 800233e: e9cd 6301 strd r6, r3, [sp, #4] + 8002342: 4628 mov r0, r5 + 8002344: 2303 movs r3, #3 + 8002346: 9304 str r3, [sp, #16] + 8002348: f44f 5800 mov.w r8, #8192 ; 0x2000 + 800234c: f001 f83a bl 80033c4 + 8002350: a901 add r1, sp, #4 + 8002352: 4638 mov r0, r7 + 8002354: f8cd 8004 str.w r8, [sp, #4] + 8002358: f001 f834 bl 80033c4 + 800235c: 4622 mov r2, r4 + 800235e: 4641 mov r1, r8 + 8002360: 4638 mov r0, r7 + 8002362: f001 f94f bl 8003604 + 8002366: 4628 mov r0, r5 + 8002368: 4622 mov r2, r4 + 800236a: 4631 mov r1, r6 + 800236c: f001 f94a bl 8003604 + 8002370: 4620 mov r0, r4 + 8002372: b006 add sp, #24 + 8002374: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8002378: 48000400 .word 0x48000400 + 800237c: 48000800 .word 0x48000800 -0800236c : - 800236c: 2803 cmp r0, #3 - 800236e: b510 push {r4, lr} - 8002370: d80e bhi.n 8002390 - 8002372: 2801 cmp r0, #1 - 8002374: d810 bhi.n 8002398 - 8002376: b968 cbnz r0, 8002394 - 8002378: 4602 mov r2, r0 - 800237a: 480b ldr r0, [pc, #44] ; (80023a8 ) - 800237c: f44f 7180 mov.w r1, #256 ; 0x100 - 8002380: f001 f936 bl 80035f0 - 8002384: 2200 movs r2, #0 - 8002386: 4809 ldr r0, [pc, #36] ; (80023ac ) - 8002388: f44f 5100 mov.w r1, #8192 ; 0x2000 - 800238c: f001 f930 bl 80035f0 - 8002390: 2000 movs r0, #0 - 8002392: bd10 pop {r4, pc} - 8002394: 2201 movs r2, #1 - 8002396: e7f0 b.n 800237a +08002380 : + 8002380: 2803 cmp r0, #3 + 8002382: b510 push {r4, lr} + 8002384: d80e bhi.n 80023a4 + 8002386: 2801 cmp r0, #1 + 8002388: d810 bhi.n 80023ac + 800238a: b968 cbnz r0, 80023a8 + 800238c: 4602 mov r2, r0 + 800238e: 480b ldr r0, [pc, #44] ; (80023bc ) + 8002390: f44f 7180 mov.w r1, #256 ; 0x100 + 8002394: f001 f936 bl 8003604 8002398: 2200 movs r2, #0 - 800239a: 4803 ldr r0, [pc, #12] ; (80023a8 ) - 800239c: f44f 7180 mov.w r1, #256 ; 0x100 - 80023a0: f001 f926 bl 80035f0 - 80023a4: 2201 movs r2, #1 - 80023a6: e7ee b.n 8002386 - 80023a8: 48000400 .word 0x48000400 - 80023ac: 48000800 .word 0x48000800 + 800239a: 4809 ldr r0, [pc, #36] ; (80023c0 ) + 800239c: f44f 5100 mov.w r1, #8192 ; 0x2000 + 80023a0: f001 f930 bl 8003604 + 80023a4: 2000 movs r0, #0 + 80023a6: bd10 pop {r4, pc} + 80023a8: 2201 movs r2, #1 + 80023aa: e7f0 b.n 800238e + 80023ac: 2200 movs r2, #0 + 80023ae: 4803 ldr r0, [pc, #12] ; (80023bc ) + 80023b0: f44f 7180 mov.w r1, #256 ; 0x100 + 80023b4: f001 f926 bl 8003604 + 80023b8: 2201 movs r2, #1 + 80023ba: e7ee b.n 800239a + 80023bc: 48000400 .word 0x48000400 + 80023c0: 48000800 .word 0x48000800 -080023b0 : - 80023b0: 2002 movs r0, #2 - 80023b2: 4770 bx lr +080023c4 : + 80023c4: 2002 movs r0, #2 + 80023c6: 4770 bx lr -080023b4 : - 80023b4: 2000 movs r0, #0 - 80023b6: 4770 bx lr +080023c8 : + 80023c8: 2000 movs r0, #0 + 80023ca: 4770 bx lr -080023b8 : - 80023b8: 2001 movs r0, #1 - 80023ba: 4770 bx lr +080023cc : + 80023cc: 2001 movs r0, #1 + 80023ce: 4770 bx lr -080023bc : - 80023bc: 2800 cmp r0, #0 - 80023be: bf0c ite eq - 80023c0: 200f moveq r0, #15 - 80023c2: 2016 movne r0, #22 - 80023c4: 4770 bx lr +080023d0 : + 80023d0: 2800 cmp r0, #0 + 80023d2: bf0c ite eq + 80023d4: 200f moveq r0, #15 + 80023d6: 2016 movne r0, #22 + 80023d8: 4770 bx lr ... -080023c8 : - 80023c8: 480d ldr r0, [pc, #52] ; (8002400 ) - 80023ca: 4685 mov sp, r0 - 80023cc: f000 f825 bl 800241a - 80023d0: 480c ldr r0, [pc, #48] ; (8002404 ) - 80023d2: 490d ldr r1, [pc, #52] ; (8002408 ) - 80023d4: 4a0d ldr r2, [pc, #52] ; (800240c ) - 80023d6: 2300 movs r3, #0 - 80023d8: e002 b.n 80023e0 - -080023da : - 80023da: 58d4 ldr r4, [r2, r3] - 80023dc: 50c4 str r4, [r0, r3] - 80023de: 3304 adds r3, #4 - -080023e0 : - 80023e0: 18c4 adds r4, r0, r3 - 80023e2: 428c cmp r4, r1 - 80023e4: d3f9 bcc.n 80023da - 80023e6: 4a0a ldr r2, [pc, #40] ; (8002410 ) - 80023e8: 4c0a ldr r4, [pc, #40] ; (8002414 ) +080023dc : + 80023dc: 480d ldr r0, [pc, #52] ; (8002414 ) + 80023de: 4685 mov sp, r0 + 80023e0: f000 f825 bl 800242e + 80023e4: 480c ldr r0, [pc, #48] ; (8002418 ) + 80023e6: 490d ldr r1, [pc, #52] ; (800241c ) + 80023e8: 4a0d ldr r2, [pc, #52] ; (8002420 ) 80023ea: 2300 movs r3, #0 - 80023ec: e001 b.n 80023f2 + 80023ec: e002 b.n 80023f4 -080023ee : - 80023ee: 6013 str r3, [r2, #0] - 80023f0: 3204 adds r2, #4 +080023ee : + 80023ee: 58d4 ldr r4, [r2, r3] + 80023f0: 50c4 str r4, [r0, r3] + 80023f2: 3304 adds r3, #4 -080023f2 : - 80023f2: 42a2 cmp r2, r4 - 80023f4: d3fb bcc.n 80023ee - 80023f6: f00c fda1 bl 800ef3c <__libc_init_array> - 80023fa: f7ff f885 bl 8001508
+080023f4 : + 80023f4: 18c4 adds r4, r0, r3 + 80023f6: 428c cmp r4, r1 + 80023f8: d3f9 bcc.n 80023ee + 80023fa: 4a0a ldr r2, [pc, #40] ; (8002424 ) + 80023fc: 4c0a ldr r4, [pc, #40] ; (8002428 ) + 80023fe: 2300 movs r3, #0 + 8002400: e001 b.n 8002406 -080023fe : - 80023fe: e7fe b.n 80023fe - 8002400: 20010000 .word 0x20010000 - 8002404: 20000000 .word 0x20000000 - 8002408: 20000108 .word 0x20000108 - 800240c: 0800fc6c .word 0x0800fc6c - 8002410: 20000108 .word 0x20000108 - 8002414: 200021b4 .word 0x200021b4 +08002402 : + 8002402: 6013 str r3, [r2, #0] + 8002404: 3204 adds r2, #4 -08002418 : - 8002418: e7fe b.n 8002418 +08002406 : + 8002406: 42a2 cmp r2, r4 + 8002408: d3fb bcc.n 8002402 + 800240a: f00c fda1 bl 800ef50 <__libc_init_array> + 800240e: f7ff f87b bl 8001508
-0800241a : - 800241a: 4770 bx lr +08002412 : + 8002412: e7fe b.n 8002412 + 8002414: 20010000 .word 0x20010000 + 8002418: 20000000 .word 0x20000000 + 800241c: 20000108 .word 0x20000108 + 8002420: 0800fc7c .word 0x0800fc7c + 8002424: 20000108 .word 0x20000108 + 8002428: 200021b4 .word 0x200021b4 -0800241c : - 800241c: b510 push {r4, lr} - 800241e: 2003 movs r0, #3 - 8002420: f000 fc5a bl 8002cd8 - 8002424: f001 fa78 bl 8003918 - 8002428: 4b06 ldr r3, [pc, #24] ; (8002444 ) - 800242a: 6018 str r0, [r3, #0] - 800242c: 200f movs r0, #15 - 800242e: f7ff fa4b bl 80018c8 - 8002432: 4604 mov r4, r0 - 8002434: b918 cbnz r0, 800243e - 8002436: f7ff f922 bl 800167e - 800243a: 4620 mov r0, r4 - 800243c: bd10 pop {r4, pc} - 800243e: 2401 movs r4, #1 - 8002440: e7fb b.n 800243a - 8002442: bf00 nop - 8002444: 20000074 .word 0x20000074 +0800242c : + 800242c: e7fe b.n 800242c -08002448 : - 8002448: f04f 22e0 mov.w r2, #3758153728 ; 0xe000e000 - 800244c: 6913 ldr r3, [r2, #16] - 800244e: f023 0302 bic.w r3, r3, #2 - 8002452: 6113 str r3, [r2, #16] - 8002454: 4770 bx lr +0800242e : + 800242e: 4770 bx lr -08002456 : - 8002456: f04f 22e0 mov.w r2, #3758153728 ; 0xe000e000 - 800245a: 6913 ldr r3, [r2, #16] - 800245c: f043 0302 orr.w r3, r3, #2 - 8002460: 6113 str r3, [r2, #16] - 8002462: 4770 bx lr +08002430 : + 8002430: b510 push {r4, lr} + 8002432: 2003 movs r0, #3 + 8002434: f000 fc5a bl 8002cec + 8002438: f001 fa78 bl 800392c + 800243c: 4b06 ldr r3, [pc, #24] ; (8002458 ) + 800243e: 6018 str r0, [r3, #0] + 8002440: 200f movs r0, #15 + 8002442: f7ff fa41 bl 80018c8 + 8002446: 4604 mov r4, r0 + 8002448: b918 cbnz r0, 8002452 + 800244a: f7ff f918 bl 800167e + 800244e: 4620 mov r0, r4 + 8002450: bd10 pop {r4, pc} + 8002452: 2401 movs r4, #1 + 8002454: e7fb b.n 800244e + 8002456: bf00 nop + 8002458: 20000074 .word 0x20000074 -08002464 : - 8002464: 4b01 ldr r3, [pc, #4] ; (800246c ) - 8002466: f8d3 0590 ldr.w r0, [r3, #1424] ; 0x590 - 800246a: 4770 bx lr - 800246c: 1fff7000 .word 0x1fff7000 +0800245c : + 800245c: f04f 22e0 mov.w r2, #3758153728 ; 0xe000e000 + 8002460: 6913 ldr r3, [r2, #16] + 8002462: f023 0302 bic.w r3, r3, #2 + 8002466: 6113 str r3, [r2, #16] + 8002468: 4770 bx lr -08002470 : - 8002470: 4b01 ldr r3, [pc, #4] ; (8002478 ) - 8002472: f8d3 0594 ldr.w r0, [r3, #1428] ; 0x594 +0800246a : + 800246a: f04f 22e0 mov.w r2, #3758153728 ; 0xe000e000 + 800246e: 6913 ldr r3, [r2, #16] + 8002470: f043 0302 orr.w r3, r3, #2 + 8002474: 6113 str r3, [r2, #16] 8002476: 4770 bx lr - 8002478: 1fff7000 .word 0x1fff7000 -0800247c : - 800247c: 4b01 ldr r3, [pc, #4] ; (8002484 ) - 800247e: f8d3 0598 ldr.w r0, [r3, #1432] ; 0x598 - 8002482: 4770 bx lr - 8002484: 1fff7000 .word 0x1fff7000 +08002478 : + 8002478: 4b01 ldr r3, [pc, #4] ; (8002480 ) + 800247a: f8d3 0590 ldr.w r0, [r3, #1424] ; 0x590 + 800247e: 4770 bx lr + 8002480: 1fff7000 .word 0x1fff7000 -08002488 : - 8002488: 6880 ldr r0, [r0, #8] - 800248a: f3c0 0080 ubfx r0, r0, #2, #1 - 800248e: 4770 bx lr +08002484 : + 8002484: 4b01 ldr r3, [pc, #4] ; (800248c ) + 8002486: f8d3 0594 ldr.w r0, [r3, #1428] ; 0x594 + 800248a: 4770 bx lr + 800248c: 1fff7000 .word 0x1fff7000 -08002490 : - 8002490: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} - 8002492: 2300 movs r3, #0 - 8002494: 9301 str r3, [sp, #4] - 8002496: 4604 mov r4, r0 - 8002498: 2800 cmp r0, #0 - 800249a: f000 80e9 beq.w 8002670 - 800249e: 6d85 ldr r5, [r0, #88] ; 0x58 - 80024a0: b925 cbnz r5, 80024ac - 80024a2: f7fe fd2b bl 8000efc - 80024a6: 65e5 str r5, [r4, #92] ; 0x5c - 80024a8: f884 5054 strb.w r5, [r4, #84] ; 0x54 - 80024ac: 6823 ldr r3, [r4, #0] - 80024ae: 689a ldr r2, [r3, #8] - 80024b0: 00d0 lsls r0, r2, #3 - 80024b2: f140 80a1 bpl.w 80025f8 - 80024b6: 689a ldr r2, [r3, #8] - 80024b8: 00d1 lsls r1, r2, #3 - 80024ba: f100 80b4 bmi.w 8002626 - 80024be: 6da2 ldr r2, [r4, #88] ; 0x58 - 80024c0: f042 0210 orr.w r2, r2, #16 - 80024c4: 65a2 str r2, [r4, #88] ; 0x58 - 80024c6: 6de2 ldr r2, [r4, #92] ; 0x5c - 80024c8: f042 0201 orr.w r2, r2, #1 - 80024cc: 65e2 str r2, [r4, #92] ; 0x5c - 80024ce: 2501 movs r5, #1 - 80024d0: 4618 mov r0, r3 - 80024d2: f7ff ffd9 bl 8002488 - 80024d6: 6da2 ldr r2, [r4, #88] ; 0x58 - 80024d8: f002 0210 and.w r2, r2, #16 - 80024dc: 4302 orrs r2, r0 - 80024de: f040 80c9 bne.w 8002674 - 80024e2: 6da2 ldr r2, [r4, #88] ; 0x58 - 80024e4: 6920 ldr r0, [r4, #16] - 80024e6: f422 7281 bic.w r2, r2, #258 ; 0x102 - 80024ea: f042 0202 orr.w r2, r2, #2 - 80024ee: 65a2 str r2, [r4, #88] ; 0x58 - 80024f0: 689a ldr r2, [r3, #8] - 80024f2: 07d2 lsls r2, r2, #31 - 80024f4: d45d bmi.n 80025b2 - 80024f6: 6b22 ldr r2, [r4, #48] ; 0x30 - 80024f8: 7ea6 ldrb r6, [r4, #26] - 80024fa: f894 c02c ldrb.w ip, [r4, #44] ; 0x2c - 80024fe: 3a00 subs r2, #0 - 8002500: bf18 it ne - 8002502: 2201 movne r2, #1 - 8002504: 0317 lsls r7, r2, #12 - 8002506: e9d4 1202 ldrd r1, r2, [r4, #8] - 800250a: 430a orrs r2, r1 - 800250c: 7e21 ldrb r1, [r4, #24] - 800250e: ea42 3281 orr.w r2, r2, r1, lsl #14 - 8002512: 7e61 ldrb r1, [r4, #25] - 8002514: ea42 32c1 orr.w r2, r2, r1, lsl #15 - 8002518: ea42 3246 orr.w r2, r2, r6, lsl #13 - 800251c: 2800 cmp r0, #0 - 800251e: ea42 024c orr.w r2, r2, ip, lsl #1 - 8002522: bfb4 ite lt - 8002524: f020 4100 biclt.w r1, r0, #2147483648 ; 0x80000000 - 8002528: f44f 1100 movge.w r1, #2097152 ; 0x200000 - 800252c: 433a orrs r2, r7 - 800252e: 430a orrs r2, r1 - 8002530: f894 1020 ldrb.w r1, [r4, #32] - 8002534: 2901 cmp r1, #1 - 8002536: d103 bne.n 8002540 - 8002538: 2e00 cmp r6, #0 - 800253a: d176 bne.n 800262a - 800253c: f442 3280 orr.w r2, r2, #65536 ; 0x10000 - 8002540: 6a61 ldr r1, [r4, #36] ; 0x24 - 8002542: b121 cbz r1, 800254e - 8002544: 6aa6 ldr r6, [r4, #40] ; 0x28 - 8002546: f401 71e0 and.w r1, r1, #448 ; 0x1c0 - 800254a: 4331 orrs r1, r6 - 800254c: 430a orrs r2, r1 - 800254e: 68d9 ldr r1, [r3, #12] - 8002550: 6ce6 ldr r6, [r4, #76] ; 0x4c - 8002552: f421 31fe bic.w r1, r1, #130048 ; 0x1fc00 - 8002556: f421 71ff bic.w r1, r1, #510 ; 0x1fe - 800255a: 4311 orrs r1, r2 - 800255c: 60d9 str r1, [r3, #12] - 800255e: f894 203c ldrb.w r2, [r4, #60] ; 0x3c - 8002562: 6861 ldr r1, [r4, #4] - 8002564: 2a01 cmp r2, #1 - 8002566: f001 4c40 and.w ip, r1, #3221225472 ; 0xc0000000 - 800256a: ea4c 0606 orr.w r6, ip, r6 - 800256e: d109 bne.n 8002584 - 8002570: e9d4 2710 ldrd r2, r7, [r4, #64] ; 0x40 - 8002574: 433a orrs r2, r7 - 8002576: 4332 orrs r2, r6 - 8002578: 6ca6 ldr r6, [r4, #72] ; 0x48 - 800257a: 4332 orrs r2, r6 - 800257c: ea42 020c orr.w r2, r2, ip - 8002580: f042 0601 orr.w r6, r2, #1 - 8002584: 691f ldr r7, [r3, #16] - 8002586: 4a3e ldr r2, [pc, #248] ; (8002680 ) - 8002588: 403a ands r2, r7 +08002490 : + 8002490: 4b01 ldr r3, [pc, #4] ; (8002498 ) + 8002492: f8d3 0598 ldr.w r0, [r3, #1432] ; 0x598 + 8002496: 4770 bx lr + 8002498: 1fff7000 .word 0x1fff7000 + +0800249c : + 800249c: 6880 ldr r0, [r0, #8] + 800249e: f3c0 0080 ubfx r0, r0, #2, #1 + 80024a2: 4770 bx lr + +080024a4 : + 80024a4: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} + 80024a6: 2300 movs r3, #0 + 80024a8: 9301 str r3, [sp, #4] + 80024aa: 4604 mov r4, r0 + 80024ac: 2800 cmp r0, #0 + 80024ae: f000 80e9 beq.w 8002684 + 80024b2: 6d85 ldr r5, [r0, #88] ; 0x58 + 80024b4: b925 cbnz r5, 80024c0 + 80024b6: f7fe fd21 bl 8000efc + 80024ba: 65e5 str r5, [r4, #92] ; 0x5c + 80024bc: f884 5054 strb.w r5, [r4, #84] ; 0x54 + 80024c0: 6823 ldr r3, [r4, #0] + 80024c2: 689a ldr r2, [r3, #8] + 80024c4: 00d0 lsls r0, r2, #3 + 80024c6: f140 80a1 bpl.w 800260c + 80024ca: 689a ldr r2, [r3, #8] + 80024cc: 00d1 lsls r1, r2, #3 + 80024ce: f100 80b4 bmi.w 800263a + 80024d2: 6da2 ldr r2, [r4, #88] ; 0x58 + 80024d4: f042 0210 orr.w r2, r2, #16 + 80024d8: 65a2 str r2, [r4, #88] ; 0x58 + 80024da: 6de2 ldr r2, [r4, #92] ; 0x5c + 80024dc: f042 0201 orr.w r2, r2, #1 + 80024e0: 65e2 str r2, [r4, #92] ; 0x5c + 80024e2: 2501 movs r5, #1 + 80024e4: 4618 mov r0, r3 + 80024e6: f7ff ffd9 bl 800249c + 80024ea: 6da2 ldr r2, [r4, #88] ; 0x58 + 80024ec: f002 0210 and.w r2, r2, #16 + 80024f0: 4302 orrs r2, r0 + 80024f2: f040 80c9 bne.w 8002688 + 80024f6: 6da2 ldr r2, [r4, #88] ; 0x58 + 80024f8: 6920 ldr r0, [r4, #16] + 80024fa: f422 7281 bic.w r2, r2, #258 ; 0x102 + 80024fe: f042 0202 orr.w r2, r2, #2 + 8002502: 65a2 str r2, [r4, #88] ; 0x58 + 8002504: 689a ldr r2, [r3, #8] + 8002506: 07d2 lsls r2, r2, #31 + 8002508: d45d bmi.n 80025c6 + 800250a: 6b22 ldr r2, [r4, #48] ; 0x30 + 800250c: 7ea6 ldrb r6, [r4, #26] + 800250e: f894 c02c ldrb.w ip, [r4, #44] ; 0x2c + 8002512: 3a00 subs r2, #0 + 8002514: bf18 it ne + 8002516: 2201 movne r2, #1 + 8002518: 0317 lsls r7, r2, #12 + 800251a: e9d4 1202 ldrd r1, r2, [r4, #8] + 800251e: 430a orrs r2, r1 + 8002520: 7e21 ldrb r1, [r4, #24] + 8002522: ea42 3281 orr.w r2, r2, r1, lsl #14 + 8002526: 7e61 ldrb r1, [r4, #25] + 8002528: ea42 32c1 orr.w r2, r2, r1, lsl #15 + 800252c: ea42 3246 orr.w r2, r2, r6, lsl #13 + 8002530: 2800 cmp r0, #0 + 8002532: ea42 024c orr.w r2, r2, ip, lsl #1 + 8002536: bfb4 ite lt + 8002538: f020 4100 biclt.w r1, r0, #2147483648 ; 0x80000000 + 800253c: f44f 1100 movge.w r1, #2097152 ; 0x200000 + 8002540: 433a orrs r2, r7 + 8002542: 430a orrs r2, r1 + 8002544: f894 1020 ldrb.w r1, [r4, #32] + 8002548: 2901 cmp r1, #1 + 800254a: d103 bne.n 8002554 + 800254c: 2e00 cmp r6, #0 + 800254e: d176 bne.n 800263e + 8002550: f442 3280 orr.w r2, r2, #65536 ; 0x10000 + 8002554: 6a61 ldr r1, [r4, #36] ; 0x24 + 8002556: b121 cbz r1, 8002562 + 8002558: 6aa6 ldr r6, [r4, #40] ; 0x28 + 800255a: f401 71e0 and.w r1, r1, #448 ; 0x1c0 + 800255e: 4331 orrs r1, r6 + 8002560: 430a orrs r2, r1 + 8002562: 68d9 ldr r1, [r3, #12] + 8002564: 6ce6 ldr r6, [r4, #76] ; 0x4c + 8002566: f421 31fe bic.w r1, r1, #130048 ; 0x1fc00 + 800256a: f421 71ff bic.w r1, r1, #510 ; 0x1fe + 800256e: 4311 orrs r1, r2 + 8002570: 60d9 str r1, [r3, #12] + 8002572: f894 203c ldrb.w r2, [r4, #60] ; 0x3c + 8002576: 6861 ldr r1, [r4, #4] + 8002578: 2a01 cmp r2, #1 + 800257a: f001 4c40 and.w ip, r1, #3221225472 ; 0xc0000000 + 800257e: ea4c 0606 orr.w r6, ip, r6 + 8002582: d109 bne.n 8002598 + 8002584: e9d4 2710 ldrd r2, r7, [r4, #64] ; 0x40 + 8002588: 433a orrs r2, r7 800258a: 4332 orrs r2, r6 - 800258c: 611a str r2, [r3, #16] - 800258e: f021 4200 bic.w r2, r1, #2147483648 ; 0x80000000 - 8002592: f1b2 4f80 cmp.w r2, #1073741824 ; 0x40000000 - 8002596: d00c beq.n 80025b2 - 8002598: f1b1 4f00 cmp.w r1, #2147483648 ; 0x80000000 - 800259c: d009 beq.n 80025b2 - 800259e: 4e39 ldr r6, [pc, #228] ; (8002684 ) - 80025a0: f8d6 2708 ldr.w r2, [r6, #1800] ; 0x708 - 80025a4: f401 1170 and.w r1, r1, #3932160 ; 0x3c0000 - 80025a8: f422 1270 bic.w r2, r2, #3932160 ; 0x3c0000 - 80025ac: 430a orrs r2, r1 - 80025ae: f8c6 2708 str.w r2, [r6, #1800] ; 0x708 - 80025b2: 695a ldr r2, [r3, #20] - 80025b4: 6b66 ldr r6, [r4, #52] ; 0x34 - 80025b6: 6ba1 ldr r1, [r4, #56] ; 0x38 - 80025b8: f022 0207 bic.w r2, r2, #7 - 80025bc: 4332 orrs r2, r6 - 80025be: 615a str r2, [r3, #20] - 80025c0: 695a ldr r2, [r3, #20] - 80025c2: f022 0270 bic.w r2, r2, #112 ; 0x70 - 80025c6: ea42 1201 orr.w r2, r2, r1, lsl #4 - 80025ca: 615a str r2, [r3, #20] - 80025cc: 2800 cmp r0, #0 - 80025ce: d135 bne.n 800263c - 80025d0: 6a9a ldr r2, [r3, #40] ; 0x28 - 80025d2: f062 020f orn r2, r2, #15 - 80025d6: 629a str r2, [r3, #40] ; 0x28 - 80025d8: 695b ldr r3, [r3, #20] - 80025da: f003 0307 and.w r3, r3, #7 - 80025de: 429e cmp r6, r3 - 80025e0: d13c bne.n 800265c - 80025e2: 2300 movs r3, #0 - 80025e4: 65e3 str r3, [r4, #92] ; 0x5c - 80025e6: 6da3 ldr r3, [r4, #88] ; 0x58 - 80025e8: f023 0303 bic.w r3, r3, #3 - 80025ec: f043 0301 orr.w r3, r3, #1 - 80025f0: 65a3 str r3, [r4, #88] ; 0x58 - 80025f2: 4628 mov r0, r5 - 80025f4: b003 add sp, #12 - 80025f6: bdf0 pop {r4, r5, r6, r7, pc} - 80025f8: 689a ldr r2, [r3, #8] - 80025fa: 4923 ldr r1, [pc, #140] ; (8002688 ) - 80025fc: f022 4210 bic.w r2, r2, #2415919104 ; 0x90000000 - 8002600: f022 0217 bic.w r2, r2, #23 - 8002604: f042 5280 orr.w r2, r2, #268435456 ; 0x10000000 - 8002608: 609a str r2, [r3, #8] - 800260a: 4a20 ldr r2, [pc, #128] ; (800268c ) - 800260c: 6812 ldr r2, [r2, #0] - 800260e: fbb2 f2f1 udiv r2, r2, r1 - 8002612: 3201 adds r2, #1 - 8002614: 0052 lsls r2, r2, #1 - 8002616: 9201 str r2, [sp, #4] - 8002618: 9a01 ldr r2, [sp, #4] - 800261a: 2a00 cmp r2, #0 - 800261c: f43f af4b beq.w 80024b6 - 8002620: 9a01 ldr r2, [sp, #4] - 8002622: 3a01 subs r2, #1 - 8002624: e7f7 b.n 8002616 - 8002626: 2500 movs r5, #0 - 8002628: e752 b.n 80024d0 - 800262a: 6da1 ldr r1, [r4, #88] ; 0x58 - 800262c: f041 0120 orr.w r1, r1, #32 - 8002630: 65a1 str r1, [r4, #88] ; 0x58 - 8002632: 6de1 ldr r1, [r4, #92] ; 0x5c - 8002634: f041 0101 orr.w r1, r1, #1 - 8002638: 65e1 str r1, [r4, #92] ; 0x5c - 800263a: e781 b.n 8002540 - 800263c: f5b0 1f00 cmp.w r0, #2097152 ; 0x200000 - 8002640: d1ca bne.n 80025d8 - 8002642: 6a9a ldr r2, [r3, #40] ; 0x28 - 8002644: 69e2 ldr r2, [r4, #28] - 8002646: 3a01 subs r2, #1 - 8002648: 0092 lsls r2, r2, #2 - 800264a: f06f 010f mvn.w r1, #15 - 800264e: f002 021c and.w r2, r2, #28 - 8002652: fa01 f202 lsl.w r2, r1, r2 - 8002656: 6e21 ldr r1, [r4, #96] ; 0x60 - 8002658: 430a orrs r2, r1 - 800265a: e7bc b.n 80025d6 - 800265c: 6da3 ldr r3, [r4, #88] ; 0x58 - 800265e: f023 0312 bic.w r3, r3, #18 - 8002662: f043 0310 orr.w r3, r3, #16 - 8002666: 65a3 str r3, [r4, #88] ; 0x58 - 8002668: 6de3 ldr r3, [r4, #92] ; 0x5c - 800266a: f043 0301 orr.w r3, r3, #1 - 800266e: 65e3 str r3, [r4, #92] ; 0x5c - 8002670: 2501 movs r5, #1 - 8002672: e7be b.n 80025f2 - 8002674: 6da3 ldr r3, [r4, #88] ; 0x58 + 800258c: 6ca6 ldr r6, [r4, #72] ; 0x48 + 800258e: 4332 orrs r2, r6 + 8002590: ea42 020c orr.w r2, r2, ip + 8002594: f042 0601 orr.w r6, r2, #1 + 8002598: 691f ldr r7, [r3, #16] + 800259a: 4a3e ldr r2, [pc, #248] ; (8002694 ) + 800259c: 403a ands r2, r7 + 800259e: 4332 orrs r2, r6 + 80025a0: 611a str r2, [r3, #16] + 80025a2: f021 4200 bic.w r2, r1, #2147483648 ; 0x80000000 + 80025a6: f1b2 4f80 cmp.w r2, #1073741824 ; 0x40000000 + 80025aa: d00c beq.n 80025c6 + 80025ac: f1b1 4f00 cmp.w r1, #2147483648 ; 0x80000000 + 80025b0: d009 beq.n 80025c6 + 80025b2: 4e39 ldr r6, [pc, #228] ; (8002698 ) + 80025b4: f8d6 2708 ldr.w r2, [r6, #1800] ; 0x708 + 80025b8: f401 1170 and.w r1, r1, #3932160 ; 0x3c0000 + 80025bc: f422 1270 bic.w r2, r2, #3932160 ; 0x3c0000 + 80025c0: 430a orrs r2, r1 + 80025c2: f8c6 2708 str.w r2, [r6, #1800] ; 0x708 + 80025c6: 695a ldr r2, [r3, #20] + 80025c8: 6b66 ldr r6, [r4, #52] ; 0x34 + 80025ca: 6ba1 ldr r1, [r4, #56] ; 0x38 + 80025cc: f022 0207 bic.w r2, r2, #7 + 80025d0: 4332 orrs r2, r6 + 80025d2: 615a str r2, [r3, #20] + 80025d4: 695a ldr r2, [r3, #20] + 80025d6: f022 0270 bic.w r2, r2, #112 ; 0x70 + 80025da: ea42 1201 orr.w r2, r2, r1, lsl #4 + 80025de: 615a str r2, [r3, #20] + 80025e0: 2800 cmp r0, #0 + 80025e2: d135 bne.n 8002650 + 80025e4: 6a9a ldr r2, [r3, #40] ; 0x28 + 80025e6: f062 020f orn r2, r2, #15 + 80025ea: 629a str r2, [r3, #40] ; 0x28 + 80025ec: 695b ldr r3, [r3, #20] + 80025ee: f003 0307 and.w r3, r3, #7 + 80025f2: 429e cmp r6, r3 + 80025f4: d13c bne.n 8002670 + 80025f6: 2300 movs r3, #0 + 80025f8: 65e3 str r3, [r4, #92] ; 0x5c + 80025fa: 6da3 ldr r3, [r4, #88] ; 0x58 + 80025fc: f023 0303 bic.w r3, r3, #3 + 8002600: f043 0301 orr.w r3, r3, #1 + 8002604: 65a3 str r3, [r4, #88] ; 0x58 + 8002606: 4628 mov r0, r5 + 8002608: b003 add sp, #12 + 800260a: bdf0 pop {r4, r5, r6, r7, pc} + 800260c: 689a ldr r2, [r3, #8] + 800260e: 4923 ldr r1, [pc, #140] ; (800269c ) + 8002610: f022 4210 bic.w r2, r2, #2415919104 ; 0x90000000 + 8002614: f022 0217 bic.w r2, r2, #23 + 8002618: f042 5280 orr.w r2, r2, #268435456 ; 0x10000000 + 800261c: 609a str r2, [r3, #8] + 800261e: 4a20 ldr r2, [pc, #128] ; (80026a0 ) + 8002620: 6812 ldr r2, [r2, #0] + 8002622: fbb2 f2f1 udiv r2, r2, r1 + 8002626: 3201 adds r2, #1 + 8002628: 0052 lsls r2, r2, #1 + 800262a: 9201 str r2, [sp, #4] + 800262c: 9a01 ldr r2, [sp, #4] + 800262e: 2a00 cmp r2, #0 + 8002630: f43f af4b beq.w 80024ca + 8002634: 9a01 ldr r2, [sp, #4] + 8002636: 3a01 subs r2, #1 + 8002638: e7f7 b.n 800262a + 800263a: 2500 movs r5, #0 + 800263c: e752 b.n 80024e4 + 800263e: 6da1 ldr r1, [r4, #88] ; 0x58 + 8002640: f041 0120 orr.w r1, r1, #32 + 8002644: 65a1 str r1, [r4, #88] ; 0x58 + 8002646: 6de1 ldr r1, [r4, #92] ; 0x5c + 8002648: f041 0101 orr.w r1, r1, #1 + 800264c: 65e1 str r1, [r4, #92] ; 0x5c + 800264e: e781 b.n 8002554 + 8002650: f5b0 1f00 cmp.w r0, #2097152 ; 0x200000 + 8002654: d1ca bne.n 80025ec + 8002656: 6a9a ldr r2, [r3, #40] ; 0x28 + 8002658: 69e2 ldr r2, [r4, #28] + 800265a: 3a01 subs r2, #1 + 800265c: 0092 lsls r2, r2, #2 + 800265e: f06f 010f mvn.w r1, #15 + 8002662: f002 021c and.w r2, r2, #28 + 8002666: fa01 f202 lsl.w r2, r1, r2 + 800266a: 6e21 ldr r1, [r4, #96] ; 0x60 + 800266c: 430a orrs r2, r1 + 800266e: e7bc b.n 80025ea + 8002670: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002672: f023 0312 bic.w r3, r3, #18 8002676: f043 0310 orr.w r3, r3, #16 800267a: 65a3 str r3, [r4, #88] ; 0x58 - 800267c: e7f8 b.n 8002670 - 800267e: bf00 nop - 8002680: 1ffffc02 .word 0x1ffffc02 - 8002684: 40012000 .word 0x40012000 - 8002688: 00030d40 .word 0x00030d40 - 800268c: 20000074 .word 0x20000074 + 800267c: 6de3 ldr r3, [r4, #92] ; 0x5c + 800267e: f043 0301 orr.w r3, r3, #1 + 8002682: 65e3 str r3, [r4, #92] ; 0x5c + 8002684: 2501 movs r5, #1 + 8002686: e7be b.n 8002606 + 8002688: 6da3 ldr r3, [r4, #88] ; 0x58 + 800268a: f043 0310 orr.w r3, r3, #16 + 800268e: 65a3 str r3, [r4, #88] ; 0x58 + 8002690: e7f8 b.n 8002684 + 8002692: bf00 nop + 8002694: 1ffffc02 .word 0x1ffffc02 + 8002698: 40012000 .word 0x40012000 + 800269c: 00030d40 .word 0x00030d40 + 80026a0: 20000074 .word 0x20000074 -08002690 : - 8002690: b5f8 push {r3, r4, r5, r6, r7, lr} - 8002692: 6945 ldr r5, [r0, #20] - 8002694: 2d08 cmp r5, #8 - 8002696: 4604 mov r4, r0 - 8002698: 460e mov r6, r1 - 800269a: d00a beq.n 80026b2 - 800269c: 6803 ldr r3, [r0, #0] - 800269e: 68db ldr r3, [r3, #12] - 80026a0: 07d8 lsls r0, r3, #31 - 80026a2: d505 bpl.n 80026b0 - 80026a4: 6da3 ldr r3, [r4, #88] ; 0x58 - 80026a6: f043 0320 orr.w r3, r3, #32 - 80026aa: 65a3 str r3, [r4, #88] ; 0x58 - 80026ac: 2001 movs r0, #1 - 80026ae: bdf8 pop {r3, r4, r5, r6, r7, pc} - 80026b0: 2504 movs r5, #4 - 80026b2: f7ff f90b bl 80018cc - 80026b6: 4607 mov r7, r0 - 80026b8: 6823 ldr r3, [r4, #0] - 80026ba: 681a ldr r2, [r3, #0] - 80026bc: 422a tst r2, r5 - 80026be: d021 beq.n 8002704 - 80026c0: 6da2 ldr r2, [r4, #88] ; 0x58 - 80026c2: f442 7200 orr.w r2, r2, #512 ; 0x200 - 80026c6: 65a2 str r2, [r4, #88] ; 0x58 - 80026c8: 68da ldr r2, [r3, #12] - 80026ca: f412 6f40 tst.w r2, #3072 ; 0xc00 - 80026ce: d114 bne.n 80026fa - 80026d0: 7ea2 ldrb r2, [r4, #26] - 80026d2: b992 cbnz r2, 80026fa - 80026d4: 681a ldr r2, [r3, #0] - 80026d6: 0712 lsls r2, r2, #28 - 80026d8: d50f bpl.n 80026fa - 80026da: 4618 mov r0, r3 - 80026dc: f7ff fed4 bl 8002488 - 80026e0: bb28 cbnz r0, 800272e - 80026e2: 685a ldr r2, [r3, #4] - 80026e4: f022 020c bic.w r2, r2, #12 - 80026e8: 605a str r2, [r3, #4] - 80026ea: 6da2 ldr r2, [r4, #88] ; 0x58 - 80026ec: f422 7280 bic.w r2, r2, #256 ; 0x100 - 80026f0: f022 0201 bic.w r2, r2, #1 - 80026f4: f042 0201 orr.w r2, r2, #1 - 80026f8: 65a2 str r2, [r4, #88] ; 0x58 - 80026fa: 7e20 ldrb r0, [r4, #24] - 80026fc: bb00 cbnz r0, 8002740 - 80026fe: 220c movs r2, #12 - 8002700: 601a str r2, [r3, #0] - 8002702: e7d4 b.n 80026ae - 8002704: 1c71 adds r1, r6, #1 - 8002706: d0d8 beq.n 80026ba - 8002708: f7ff f8e0 bl 80018cc - 800270c: 1bc0 subs r0, r0, r7 - 800270e: 42b0 cmp r0, r6 - 8002710: d801 bhi.n 8002716 - 8002712: 2e00 cmp r6, #0 - 8002714: d1d0 bne.n 80026b8 - 8002716: 6823 ldr r3, [r4, #0] - 8002718: 681b ldr r3, [r3, #0] - 800271a: 402b ands r3, r5 - 800271c: d1cc bne.n 80026b8 - 800271e: 6da2 ldr r2, [r4, #88] ; 0x58 - 8002720: f884 3054 strb.w r3, [r4, #84] ; 0x54 - 8002724: f042 0204 orr.w r2, r2, #4 - 8002728: 65a2 str r2, [r4, #88] ; 0x58 - 800272a: 2003 movs r0, #3 - 800272c: e7bf b.n 80026ae - 800272e: 6da2 ldr r2, [r4, #88] ; 0x58 - 8002730: f042 0220 orr.w r2, r2, #32 - 8002734: 65a2 str r2, [r4, #88] ; 0x58 - 8002736: 6de2 ldr r2, [r4, #92] ; 0x5c - 8002738: f042 0201 orr.w r2, r2, #1 - 800273c: 65e2 str r2, [r4, #92] ; 0x5c - 800273e: e7dc b.n 80026fa - 8002740: 2000 movs r0, #0 - 8002742: e7b4 b.n 80026ae +080026a4 : + 80026a4: b5f8 push {r3, r4, r5, r6, r7, lr} + 80026a6: 6945 ldr r5, [r0, #20] + 80026a8: 2d08 cmp r5, #8 + 80026aa: 4604 mov r4, r0 + 80026ac: 460e mov r6, r1 + 80026ae: d00a beq.n 80026c6 + 80026b0: 6803 ldr r3, [r0, #0] + 80026b2: 68db ldr r3, [r3, #12] + 80026b4: 07d8 lsls r0, r3, #31 + 80026b6: d505 bpl.n 80026c4 + 80026b8: 6da3 ldr r3, [r4, #88] ; 0x58 + 80026ba: f043 0320 orr.w r3, r3, #32 + 80026be: 65a3 str r3, [r4, #88] ; 0x58 + 80026c0: 2001 movs r0, #1 + 80026c2: bdf8 pop {r3, r4, r5, r6, r7, pc} + 80026c4: 2504 movs r5, #4 + 80026c6: f7ff f901 bl 80018cc + 80026ca: 4607 mov r7, r0 + 80026cc: 6823 ldr r3, [r4, #0] + 80026ce: 681a ldr r2, [r3, #0] + 80026d0: 422a tst r2, r5 + 80026d2: d021 beq.n 8002718 + 80026d4: 6da2 ldr r2, [r4, #88] ; 0x58 + 80026d6: f442 7200 orr.w r2, r2, #512 ; 0x200 + 80026da: 65a2 str r2, [r4, #88] ; 0x58 + 80026dc: 68da ldr r2, [r3, #12] + 80026de: f412 6f40 tst.w r2, #3072 ; 0xc00 + 80026e2: d114 bne.n 800270e + 80026e4: 7ea2 ldrb r2, [r4, #26] + 80026e6: b992 cbnz r2, 800270e + 80026e8: 681a ldr r2, [r3, #0] + 80026ea: 0712 lsls r2, r2, #28 + 80026ec: d50f bpl.n 800270e + 80026ee: 4618 mov r0, r3 + 80026f0: f7ff fed4 bl 800249c + 80026f4: bb28 cbnz r0, 8002742 + 80026f6: 685a ldr r2, [r3, #4] + 80026f8: f022 020c bic.w r2, r2, #12 + 80026fc: 605a str r2, [r3, #4] + 80026fe: 6da2 ldr r2, [r4, #88] ; 0x58 + 8002700: f422 7280 bic.w r2, r2, #256 ; 0x100 + 8002704: f022 0201 bic.w r2, r2, #1 + 8002708: f042 0201 orr.w r2, r2, #1 + 800270c: 65a2 str r2, [r4, #88] ; 0x58 + 800270e: 7e20 ldrb r0, [r4, #24] + 8002710: bb00 cbnz r0, 8002754 + 8002712: 220c movs r2, #12 + 8002714: 601a str r2, [r3, #0] + 8002716: e7d4 b.n 80026c2 + 8002718: 1c71 adds r1, r6, #1 + 800271a: d0d8 beq.n 80026ce + 800271c: f7ff f8d6 bl 80018cc + 8002720: 1bc0 subs r0, r0, r7 + 8002722: 42b0 cmp r0, r6 + 8002724: d801 bhi.n 800272a + 8002726: 2e00 cmp r6, #0 + 8002728: d1d0 bne.n 80026cc + 800272a: 6823 ldr r3, [r4, #0] + 800272c: 681b ldr r3, [r3, #0] + 800272e: 402b ands r3, r5 + 8002730: d1cc bne.n 80026cc + 8002732: 6da2 ldr r2, [r4, #88] ; 0x58 + 8002734: f884 3054 strb.w r3, [r4, #84] ; 0x54 + 8002738: f042 0204 orr.w r2, r2, #4 + 800273c: 65a2 str r2, [r4, #88] ; 0x58 + 800273e: 2003 movs r0, #3 + 8002740: e7bf b.n 80026c2 + 8002742: 6da2 ldr r2, [r4, #88] ; 0x58 + 8002744: f042 0220 orr.w r2, r2, #32 + 8002748: 65a2 str r2, [r4, #88] ; 0x58 + 800274a: 6de2 ldr r2, [r4, #92] ; 0x5c + 800274c: f042 0201 orr.w r2, r2, #1 + 8002750: 65e2 str r2, [r4, #92] ; 0x5c + 8002752: e7dc b.n 800270e + 8002754: 2000 movs r0, #0 + 8002756: e7b4 b.n 80026c2 -08002744 : - 8002744: 6803 ldr r3, [r0, #0] - 8002746: 6c18 ldr r0, [r3, #64] ; 0x40 - 8002748: 4770 bx lr +08002758 : + 8002758: 6803 ldr r3, [r0, #0] + 800275a: 6c18 ldr r0, [r3, #64] ; 0x40 + 800275c: 4770 bx lr ... -0800274c : - 800274c: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} - 800274e: 2300 movs r3, #0 - 8002750: 9301 str r3, [sp, #4] - 8002752: f890 3054 ldrb.w r3, [r0, #84] ; 0x54 - 8002756: 2b01 cmp r3, #1 - 8002758: 4604 mov r4, r0 - 800275a: f000 80c5 beq.w 80028e8 - 800275e: 6805 ldr r5, [r0, #0] - 8002760: 6906 ldr r6, [r0, #16] - 8002762: 2301 movs r3, #1 - 8002764: f880 3054 strb.w r3, [r0, #84] ; 0x54 - 8002768: 4628 mov r0, r5 - 800276a: f7ff fe8d bl 8002488 - 800276e: 2800 cmp r0, #0 - 8002770: f040 80b4 bne.w 80028dc - 8002774: e9d1 2000 ldrd r2, r0, [r1] - 8002778: 2802 cmp r0, #2 - 800277a: f026 0304 bic.w r3, r6, #4 - 800277e: f000 8082 beq.w 8002886 - 8002782: f1b3 4f00 cmp.w r3, #2147483648 ; 0x80000000 - 8002786: f3c2 0e11 ubfx lr, r2, #0, #18 - 800278a: d113 bne.n 80027b4 - 800278c: 6aab ldr r3, [r5, #40] ; 0x28 - 800278e: ea43 030e orr.w r3, r3, lr - 8002792: 62ab str r3, [r5, #40] ; 0x28 - 8002794: 688b ldr r3, [r1, #8] - 8002796: 6968 ldr r0, [r5, #20] - 8002798: ea03 2302 and.w r3, r3, r2, lsl #8 - 800279c: f023 437c bic.w r3, r3, #4227858432 ; 0xfc000000 - 80027a0: f023 03ff bic.w r3, r3, #255 ; 0xff - 80027a4: ea20 2102 bic.w r1, r0, r2, lsl #8 - 80027a8: 430b orrs r3, r1 - 80027aa: 2a00 cmp r2, #0 - 80027ac: 616b str r3, [r5, #20] - 80027ae: db26 blt.n 80027fe - 80027b0: 2000 movs r0, #0 - 80027b2: e055 b.n 8002860 - 80027b4: 6e23 ldr r3, [r4, #96] ; 0x60 - 80027b6: f000 071f and.w r7, r0, #31 - 80027ba: f04f 0c0f mov.w ip, #15 - 80027be: fa0c fc07 lsl.w ip, ip, r7 - 80027c2: ea6f 060c mvn.w r6, ip - 80027c6: ea23 0c0c bic.w ip, r3, ip - 80027ca: f1be 0f00 cmp.w lr, #0 - 80027ce: d111 bne.n 80027f4 - 80027d0: f3c2 6384 ubfx r3, r2, #26, #5 - 80027d4: 40bb lsls r3, r7 - 80027d6: ea43 030c orr.w r3, r3, ip - 80027da: 6623 str r3, [r4, #96] ; 0x60 - 80027dc: 0880 lsrs r0, r0, #2 - 80027de: 69e3 ldr r3, [r4, #28] - 80027e0: 3001 adds r0, #1 - 80027e2: 4298 cmp r0, r3 - 80027e4: d8d6 bhi.n 8002794 - 80027e6: 6aa8 ldr r0, [r5, #40] ; 0x28 - 80027e8: f3c2 6383 ubfx r3, r2, #26, #4 - 80027ec: 40bb lsls r3, r7 - 80027ee: 4006 ands r6, r0 - 80027f0: 4333 orrs r3, r6 - 80027f2: e7ce b.n 8002792 - 80027f4: fa92 f3a2 rbit r3, r2 - 80027f8: fab3 f383 clz r3, r3 - 80027fc: e7ea b.n 80027d4 - 80027fe: 493b ldr r1, [pc, #236] ; (80028ec ) - 8002800: 483b ldr r0, [pc, #236] ; (80028f0 ) - 8002802: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 - 8002806: 4282 cmp r2, r0 - 8002808: f003 75e0 and.w r5, r3, #29360128 ; 0x1c00000 - 800280c: d119 bne.n 8002842 - 800280e: 021b lsls r3, r3, #8 - 8002810: d4ce bmi.n 80027b0 - 8002812: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 - 8002816: f023 73e0 bic.w r3, r3, #29360128 ; 0x1c00000 - 800281a: 432b orrs r3, r5 - 800281c: f443 0300 orr.w r3, r3, #8388608 ; 0x800000 - 8002820: f8c1 3708 str.w r3, [r1, #1800] ; 0x708 - 8002824: 4b33 ldr r3, [pc, #204] ; (80028f4 ) - 8002826: 681a ldr r2, [r3, #0] - 8002828: 4b33 ldr r3, [pc, #204] ; (80028f8 ) - 800282a: fbb2 f2f3 udiv r2, r2, r3 - 800282e: 230c movs r3, #12 - 8002830: fb02 3303 mla r3, r2, r3, r3 - 8002834: 9301 str r3, [sp, #4] - 8002836: 9b01 ldr r3, [sp, #4] - 8002838: 2b00 cmp r3, #0 - 800283a: d0b9 beq.n 80027b0 - 800283c: 9b01 ldr r3, [sp, #4] - 800283e: 3b01 subs r3, #1 - 8002840: e7f8 b.n 8002834 - 8002842: 482e ldr r0, [pc, #184] ; (80028fc ) - 8002844: 4282 cmp r2, r0 - 8002846: d110 bne.n 800286a - 8002848: f013 7080 ands.w r0, r3, #16777216 ; 0x1000000 - 800284c: d1b0 bne.n 80027b0 - 800284e: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 - 8002852: f023 73e0 bic.w r3, r3, #29360128 ; 0x1c00000 - 8002856: 432b orrs r3, r5 - 8002858: f043 7380 orr.w r3, r3, #16777216 ; 0x1000000 - 800285c: f8c1 3708 str.w r3, [r1, #1800] ; 0x708 - 8002860: 2300 movs r3, #0 - 8002862: f884 3054 strb.w r3, [r4, #84] ; 0x54 - 8002866: b003 add sp, #12 - 8002868: bdf0 pop {r4, r5, r6, r7, pc} - 800286a: 4825 ldr r0, [pc, #148] ; (8002900 ) - 800286c: 4282 cmp r2, r0 - 800286e: d19f bne.n 80027b0 - 8002870: f413 0080 ands.w r0, r3, #4194304 ; 0x400000 - 8002874: d19c bne.n 80027b0 - 8002876: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 - 800287a: f023 73e0 bic.w r3, r3, #29360128 ; 0x1c00000 - 800287e: 432b orrs r3, r5 - 8002880: f443 0380 orr.w r3, r3, #4194304 ; 0x400000 - 8002884: e7ea b.n 800285c - 8002886: f1b3 4f00 cmp.w r3, #2147483648 ; 0x80000000 - 800288a: bf01 itttt eq - 800288c: 6aab ldreq r3, [r5, #40] ; 0x28 - 800288e: f3c2 0111 ubfxeq r1, r2, #0, #18 - 8002892: 438b biceq r3, r1 - 8002894: 62ab streq r3, [r5, #40] ; 0x28 - 8002896: 2a00 cmp r2, #0 - 8002898: da8a bge.n 80027b0 - 800289a: 4815 ldr r0, [pc, #84] ; (80028f0 ) - 800289c: 4913 ldr r1, [pc, #76] ; (80028ec ) - 800289e: 4282 cmp r2, r0 - 80028a0: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 - 80028a4: d109 bne.n 80028ba - 80028a6: f8d1 2708 ldr.w r2, [r1, #1800] ; 0x708 - 80028aa: f003 73a0 and.w r3, r3, #20971520 ; 0x1400000 - 80028ae: f022 72e0 bic.w r2, r2, #29360128 ; 0x1c00000 - 80028b2: 4313 orrs r3, r2 - 80028b4: f8c1 3708 str.w r3, [r1, #1800] ; 0x708 - 80028b8: e77a b.n 80027b0 - 80028ba: 4810 ldr r0, [pc, #64] ; (80028fc ) - 80028bc: 4282 cmp r2, r0 - 80028be: d104 bne.n 80028ca - 80028c0: f8d1 2708 ldr.w r2, [r1, #1800] ; 0x708 - 80028c4: f403 0340 and.w r3, r3, #12582912 ; 0xc00000 - 80028c8: e7f1 b.n 80028ae - 80028ca: 480d ldr r0, [pc, #52] ; (8002900 ) - 80028cc: 4282 cmp r2, r0 - 80028ce: f47f af6f bne.w 80027b0 - 80028d2: f8d1 2708 ldr.w r2, [r1, #1800] ; 0x708 - 80028d6: f003 73c0 and.w r3, r3, #25165824 ; 0x1800000 - 80028da: e7e8 b.n 80028ae - 80028dc: 6da2 ldr r2, [r4, #88] ; 0x58 - 80028de: f042 0220 orr.w r2, r2, #32 - 80028e2: 65a2 str r2, [r4, #88] ; 0x58 - 80028e4: 4618 mov r0, r3 - 80028e6: e7bb b.n 8002860 - 80028e8: 2002 movs r0, #2 - 80028ea: e7bc b.n 8002866 - 80028ec: 40012000 .word 0x40012000 - 80028f0: b0001000 .word 0xb0001000 - 80028f4: 20000074 .word 0x20000074 - 80028f8: 00030d40 .word 0x00030d40 - 80028fc: b8004000 .word 0xb8004000 - 8002900: b4002000 .word 0xb4002000 +08002760 : + 8002760: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} + 8002762: 2300 movs r3, #0 + 8002764: 9301 str r3, [sp, #4] + 8002766: f890 3054 ldrb.w r3, [r0, #84] ; 0x54 + 800276a: 2b01 cmp r3, #1 + 800276c: 4604 mov r4, r0 + 800276e: f000 80c5 beq.w 80028fc + 8002772: 6805 ldr r5, [r0, #0] + 8002774: 6906 ldr r6, [r0, #16] + 8002776: 2301 movs r3, #1 + 8002778: f880 3054 strb.w r3, [r0, #84] ; 0x54 + 800277c: 4628 mov r0, r5 + 800277e: f7ff fe8d bl 800249c + 8002782: 2800 cmp r0, #0 + 8002784: f040 80b4 bne.w 80028f0 + 8002788: e9d1 2000 ldrd r2, r0, [r1] + 800278c: 2802 cmp r0, #2 + 800278e: f026 0304 bic.w r3, r6, #4 + 8002792: f000 8082 beq.w 800289a + 8002796: f1b3 4f00 cmp.w r3, #2147483648 ; 0x80000000 + 800279a: f3c2 0e11 ubfx lr, r2, #0, #18 + 800279e: d113 bne.n 80027c8 + 80027a0: 6aab ldr r3, [r5, #40] ; 0x28 + 80027a2: ea43 030e orr.w r3, r3, lr + 80027a6: 62ab str r3, [r5, #40] ; 0x28 + 80027a8: 688b ldr r3, [r1, #8] + 80027aa: 6968 ldr r0, [r5, #20] + 80027ac: ea03 2302 and.w r3, r3, r2, lsl #8 + 80027b0: f023 437c bic.w r3, r3, #4227858432 ; 0xfc000000 + 80027b4: f023 03ff bic.w r3, r3, #255 ; 0xff + 80027b8: ea20 2102 bic.w r1, r0, r2, lsl #8 + 80027bc: 430b orrs r3, r1 + 80027be: 2a00 cmp r2, #0 + 80027c0: 616b str r3, [r5, #20] + 80027c2: db26 blt.n 8002812 + 80027c4: 2000 movs r0, #0 + 80027c6: e055 b.n 8002874 + 80027c8: 6e23 ldr r3, [r4, #96] ; 0x60 + 80027ca: f000 071f and.w r7, r0, #31 + 80027ce: f04f 0c0f mov.w ip, #15 + 80027d2: fa0c fc07 lsl.w ip, ip, r7 + 80027d6: ea6f 060c mvn.w r6, ip + 80027da: ea23 0c0c bic.w ip, r3, ip + 80027de: f1be 0f00 cmp.w lr, #0 + 80027e2: d111 bne.n 8002808 + 80027e4: f3c2 6384 ubfx r3, r2, #26, #5 + 80027e8: 40bb lsls r3, r7 + 80027ea: ea43 030c orr.w r3, r3, ip + 80027ee: 6623 str r3, [r4, #96] ; 0x60 + 80027f0: 0880 lsrs r0, r0, #2 + 80027f2: 69e3 ldr r3, [r4, #28] + 80027f4: 3001 adds r0, #1 + 80027f6: 4298 cmp r0, r3 + 80027f8: d8d6 bhi.n 80027a8 + 80027fa: 6aa8 ldr r0, [r5, #40] ; 0x28 + 80027fc: f3c2 6383 ubfx r3, r2, #26, #4 + 8002800: 40bb lsls r3, r7 + 8002802: 4006 ands r6, r0 + 8002804: 4333 orrs r3, r6 + 8002806: e7ce b.n 80027a6 + 8002808: fa92 f3a2 rbit r3, r2 + 800280c: fab3 f383 clz r3, r3 + 8002810: e7ea b.n 80027e8 + 8002812: 493b ldr r1, [pc, #236] ; (8002900 ) + 8002814: 483b ldr r0, [pc, #236] ; (8002904 ) + 8002816: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 + 800281a: 4282 cmp r2, r0 + 800281c: f003 75e0 and.w r5, r3, #29360128 ; 0x1c00000 + 8002820: d119 bne.n 8002856 + 8002822: 021b lsls r3, r3, #8 + 8002824: d4ce bmi.n 80027c4 + 8002826: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 + 800282a: f023 73e0 bic.w r3, r3, #29360128 ; 0x1c00000 + 800282e: 432b orrs r3, r5 + 8002830: f443 0300 orr.w r3, r3, #8388608 ; 0x800000 + 8002834: f8c1 3708 str.w r3, [r1, #1800] ; 0x708 + 8002838: 4b33 ldr r3, [pc, #204] ; (8002908 ) + 800283a: 681a ldr r2, [r3, #0] + 800283c: 4b33 ldr r3, [pc, #204] ; (800290c ) + 800283e: fbb2 f2f3 udiv r2, r2, r3 + 8002842: 230c movs r3, #12 + 8002844: fb02 3303 mla r3, r2, r3, r3 + 8002848: 9301 str r3, [sp, #4] + 800284a: 9b01 ldr r3, [sp, #4] + 800284c: 2b00 cmp r3, #0 + 800284e: d0b9 beq.n 80027c4 + 8002850: 9b01 ldr r3, [sp, #4] + 8002852: 3b01 subs r3, #1 + 8002854: e7f8 b.n 8002848 + 8002856: 482e ldr r0, [pc, #184] ; (8002910 ) + 8002858: 4282 cmp r2, r0 + 800285a: d110 bne.n 800287e + 800285c: f013 7080 ands.w r0, r3, #16777216 ; 0x1000000 + 8002860: d1b0 bne.n 80027c4 + 8002862: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 + 8002866: f023 73e0 bic.w r3, r3, #29360128 ; 0x1c00000 + 800286a: 432b orrs r3, r5 + 800286c: f043 7380 orr.w r3, r3, #16777216 ; 0x1000000 + 8002870: f8c1 3708 str.w r3, [r1, #1800] ; 0x708 + 8002874: 2300 movs r3, #0 + 8002876: f884 3054 strb.w r3, [r4, #84] ; 0x54 + 800287a: b003 add sp, #12 + 800287c: bdf0 pop {r4, r5, r6, r7, pc} + 800287e: 4825 ldr r0, [pc, #148] ; (8002914 ) + 8002880: 4282 cmp r2, r0 + 8002882: d19f bne.n 80027c4 + 8002884: f413 0080 ands.w r0, r3, #4194304 ; 0x400000 + 8002888: d19c bne.n 80027c4 + 800288a: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 + 800288e: f023 73e0 bic.w r3, r3, #29360128 ; 0x1c00000 + 8002892: 432b orrs r3, r5 + 8002894: f443 0380 orr.w r3, r3, #4194304 ; 0x400000 + 8002898: e7ea b.n 8002870 + 800289a: f1b3 4f00 cmp.w r3, #2147483648 ; 0x80000000 + 800289e: bf01 itttt eq + 80028a0: 6aab ldreq r3, [r5, #40] ; 0x28 + 80028a2: f3c2 0111 ubfxeq r1, r2, #0, #18 + 80028a6: 438b biceq r3, r1 + 80028a8: 62ab streq r3, [r5, #40] ; 0x28 + 80028aa: 2a00 cmp r2, #0 + 80028ac: da8a bge.n 80027c4 + 80028ae: 4815 ldr r0, [pc, #84] ; (8002904 ) + 80028b0: 4913 ldr r1, [pc, #76] ; (8002900 ) + 80028b2: 4282 cmp r2, r0 + 80028b4: f8d1 3708 ldr.w r3, [r1, #1800] ; 0x708 + 80028b8: d109 bne.n 80028ce + 80028ba: f8d1 2708 ldr.w r2, [r1, #1800] ; 0x708 + 80028be: f003 73a0 and.w r3, r3, #20971520 ; 0x1400000 + 80028c2: f022 72e0 bic.w r2, r2, #29360128 ; 0x1c00000 + 80028c6: 4313 orrs r3, r2 + 80028c8: f8c1 3708 str.w r3, [r1, #1800] ; 0x708 + 80028cc: e77a b.n 80027c4 + 80028ce: 4810 ldr r0, [pc, #64] ; (8002910 ) + 80028d0: 4282 cmp r2, r0 + 80028d2: d104 bne.n 80028de + 80028d4: f8d1 2708 ldr.w r2, [r1, #1800] ; 0x708 + 80028d8: f403 0340 and.w r3, r3, #12582912 ; 0xc00000 + 80028dc: e7f1 b.n 80028c2 + 80028de: 480d ldr r0, [pc, #52] ; (8002914 ) + 80028e0: 4282 cmp r2, r0 + 80028e2: f47f af6f bne.w 80027c4 + 80028e6: f8d1 2708 ldr.w r2, [r1, #1800] ; 0x708 + 80028ea: f003 73c0 and.w r3, r3, #25165824 ; 0x1800000 + 80028ee: e7e8 b.n 80028c2 + 80028f0: 6da2 ldr r2, [r4, #88] ; 0x58 + 80028f2: f042 0220 orr.w r2, r2, #32 + 80028f6: 65a2 str r2, [r4, #88] ; 0x58 + 80028f8: 4618 mov r0, r3 + 80028fa: e7bb b.n 8002874 + 80028fc: 2002 movs r0, #2 + 80028fe: e7bc b.n 800287a + 8002900: 40012000 .word 0x40012000 + 8002904: b0001000 .word 0xb0001000 + 8002908: 20000074 .word 0x20000074 + 800290c: 00030d40 .word 0x00030d40 + 8002910: b8004000 .word 0xb8004000 + 8002914: b4002000 .word 0xb4002000 -08002904 : - 8002904: 6802 ldr r2, [r0, #0] - 8002906: b538 push {r3, r4, r5, lr} - 8002908: 4604 mov r4, r0 - 800290a: 4610 mov r0, r2 - 800290c: f7ff fdbc bl 8002488 - 8002910: b908 cbnz r0, 8002916 - 8002912: 2000 movs r0, #0 - 8002914: bd38 pop {r3, r4, r5, pc} - 8002916: 6893 ldr r3, [r2, #8] - 8002918: 0799 lsls r1, r3, #30 - 800291a: d407 bmi.n 800292c - 800291c: 6893 ldr r3, [r2, #8] - 800291e: f023 4300 bic.w r3, r3, #2147483648 ; 0x80000000 - 8002922: f023 0317 bic.w r3, r3, #23 - 8002926: f043 0310 orr.w r3, r3, #16 - 800292a: 6093 str r3, [r2, #8] - 800292c: f7fe ffce bl 80018cc - 8002930: 4605 mov r5, r0 - 8002932: 6823 ldr r3, [r4, #0] - 8002934: 689b ldr r3, [r3, #8] - 8002936: 075b lsls r3, r3, #29 - 8002938: d5eb bpl.n 8002912 - 800293a: f7fe ffc7 bl 80018cc - 800293e: 1b40 subs r0, r0, r5 - 8002940: 2802 cmp r0, #2 - 8002942: d9f6 bls.n 8002932 - 8002944: 6823 ldr r3, [r4, #0] - 8002946: 689b ldr r3, [r3, #8] - 8002948: 075a lsls r2, r3, #29 - 800294a: d5f2 bpl.n 8002932 - 800294c: 6da3 ldr r3, [r4, #88] ; 0x58 - 800294e: f043 0310 orr.w r3, r3, #16 - 8002952: 65a3 str r3, [r4, #88] ; 0x58 - 8002954: 6de3 ldr r3, [r4, #92] ; 0x5c - 8002956: f043 0301 orr.w r3, r3, #1 - 800295a: 65e3 str r3, [r4, #92] ; 0x5c - 800295c: 2001 movs r0, #1 - 800295e: e7d9 b.n 8002914 +08002918 : + 8002918: 6802 ldr r2, [r0, #0] + 800291a: b538 push {r3, r4, r5, lr} + 800291c: 4604 mov r4, r0 + 800291e: 4610 mov r0, r2 + 8002920: f7ff fdbc bl 800249c + 8002924: b908 cbnz r0, 800292a + 8002926: 2000 movs r0, #0 + 8002928: bd38 pop {r3, r4, r5, pc} + 800292a: 6893 ldr r3, [r2, #8] + 800292c: 0799 lsls r1, r3, #30 + 800292e: d407 bmi.n 8002940 + 8002930: 6893 ldr r3, [r2, #8] + 8002932: f023 4300 bic.w r3, r3, #2147483648 ; 0x80000000 + 8002936: f023 0317 bic.w r3, r3, #23 + 800293a: f043 0310 orr.w r3, r3, #16 + 800293e: 6093 str r3, [r2, #8] + 8002940: f7fe ffc4 bl 80018cc + 8002944: 4605 mov r5, r0 + 8002946: 6823 ldr r3, [r4, #0] + 8002948: 689b ldr r3, [r3, #8] + 800294a: 075b lsls r3, r3, #29 + 800294c: d5eb bpl.n 8002926 + 800294e: f7fe ffbd bl 80018cc + 8002952: 1b40 subs r0, r0, r5 + 8002954: 2802 cmp r0, #2 + 8002956: d9f6 bls.n 8002946 + 8002958: 6823 ldr r3, [r4, #0] + 800295a: 689b ldr r3, [r3, #8] + 800295c: 075a lsls r2, r3, #29 + 800295e: d5f2 bpl.n 8002946 + 8002960: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002962: f043 0310 orr.w r3, r3, #16 + 8002966: 65a3 str r3, [r4, #88] ; 0x58 + 8002968: 6de3 ldr r3, [r4, #92] ; 0x5c + 800296a: f043 0301 orr.w r3, r3, #1 + 800296e: 65e3 str r3, [r4, #92] ; 0x5c + 8002970: 2001 movs r0, #1 + 8002972: e7d9 b.n 8002928 -08002960 : - 8002960: b573 push {r0, r1, r4, r5, r6, lr} - 8002962: 2300 movs r3, #0 - 8002964: 6802 ldr r2, [r0, #0] - 8002966: 9301 str r3, [sp, #4] - 8002968: 6893 ldr r3, [r2, #8] - 800296a: 07dd lsls r5, r3, #31 - 800296c: 4604 mov r4, r0 - 800296e: d502 bpl.n 8002976 - 8002970: 2000 movs r0, #0 - 8002972: b002 add sp, #8 - 8002974: bd70 pop {r4, r5, r6, pc} - 8002976: 6891 ldr r1, [r2, #8] - 8002978: 4b21 ldr r3, [pc, #132] ; (8002a00 ) - 800297a: 4219 tst r1, r3 - 800297c: d009 beq.n 8002992 - 800297e: 6da3 ldr r3, [r4, #88] ; 0x58 - 8002980: f043 0310 orr.w r3, r3, #16 - 8002984: 65a3 str r3, [r4, #88] ; 0x58 - 8002986: 6de3 ldr r3, [r4, #92] ; 0x5c - 8002988: f043 0301 orr.w r3, r3, #1 - 800298c: 65e3 str r3, [r4, #92] ; 0x5c - 800298e: 2001 movs r0, #1 - 8002990: e7ef b.n 8002972 - 8002992: 6893 ldr r3, [r2, #8] - 8002994: f023 4300 bic.w r3, r3, #2147483648 ; 0x80000000 - 8002998: f023 0317 bic.w r3, r3, #23 +08002974 : + 8002974: b573 push {r0, r1, r4, r5, r6, lr} + 8002976: 2300 movs r3, #0 + 8002978: 6802 ldr r2, [r0, #0] + 800297a: 9301 str r3, [sp, #4] + 800297c: 6893 ldr r3, [r2, #8] + 800297e: 07dd lsls r5, r3, #31 + 8002980: 4604 mov r4, r0 + 8002982: d502 bpl.n 800298a + 8002984: 2000 movs r0, #0 + 8002986: b002 add sp, #8 + 8002988: bd70 pop {r4, r5, r6, pc} + 800298a: 6891 ldr r1, [r2, #8] + 800298c: 4b21 ldr r3, [pc, #132] ; (8002a14 ) + 800298e: 4219 tst r1, r3 + 8002990: d009 beq.n 80029a6 + 8002992: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002994: f043 0310 orr.w r3, r3, #16 + 8002998: 65a3 str r3, [r4, #88] ; 0x58 + 800299a: 6de3 ldr r3, [r4, #92] ; 0x5c 800299c: f043 0301 orr.w r3, r3, #1 - 80029a0: 6093 str r3, [r2, #8] - 80029a2: 4b18 ldr r3, [pc, #96] ; (8002a04 ) - 80029a4: f8d3 3708 ldr.w r3, [r3, #1800] ; 0x708 - 80029a8: 0218 lsls r0, r3, #8 - 80029aa: d41c bmi.n 80029e6 - 80029ac: 7e63 ldrb r3, [r4, #25] - 80029ae: 2b01 cmp r3, #1 - 80029b0: d0de beq.n 8002970 - 80029b2: f7fe ff8b bl 80018cc - 80029b6: 4e14 ldr r6, [pc, #80] ; (8002a08 ) - 80029b8: 4605 mov r5, r0 - 80029ba: 6822 ldr r2, [r4, #0] - 80029bc: 6813 ldr r3, [r2, #0] - 80029be: 07db lsls r3, r3, #31 - 80029c0: d4d6 bmi.n 8002970 - 80029c2: 6893 ldr r3, [r2, #8] - 80029c4: 07d9 lsls r1, r3, #31 - 80029c6: bf5f itttt pl - 80029c8: 6893 ldrpl r3, [r2, #8] - 80029ca: 4033 andpl r3, r6 - 80029cc: f043 0301 orrpl.w r3, r3, #1 - 80029d0: 6093 strpl r3, [r2, #8] - 80029d2: f7fe ff7b bl 80018cc - 80029d6: 1b40 subs r0, r0, r5 - 80029d8: 2802 cmp r0, #2 - 80029da: d9ee bls.n 80029ba - 80029dc: 6823 ldr r3, [r4, #0] - 80029de: 681b ldr r3, [r3, #0] - 80029e0: 07da lsls r2, r3, #31 - 80029e2: d4ea bmi.n 80029ba - 80029e4: e7cb b.n 800297e - 80029e6: 4b09 ldr r3, [pc, #36] ; (8002a0c ) - 80029e8: 4a09 ldr r2, [pc, #36] ; (8002a10 ) - 80029ea: 681b ldr r3, [r3, #0] - 80029ec: fbb3 f3f2 udiv r3, r3, r2 - 80029f0: 3301 adds r3, #1 - 80029f2: 9301 str r3, [sp, #4] - 80029f4: 9b01 ldr r3, [sp, #4] - 80029f6: 2b00 cmp r3, #0 - 80029f8: d0d8 beq.n 80029ac - 80029fa: 9b01 ldr r3, [sp, #4] - 80029fc: 3b01 subs r3, #1 - 80029fe: e7f8 b.n 80029f2 - 8002a00: 80000017 .word 0x80000017 - 8002a04: 40012000 .word 0x40012000 - 8002a08: 7fffffe8 .word 0x7fffffe8 - 8002a0c: 20000074 .word 0x20000074 - 8002a10: 00030d40 .word 0x00030d40 + 80029a0: 65e3 str r3, [r4, #92] ; 0x5c + 80029a2: 2001 movs r0, #1 + 80029a4: e7ef b.n 8002986 + 80029a6: 6893 ldr r3, [r2, #8] + 80029a8: f023 4300 bic.w r3, r3, #2147483648 ; 0x80000000 + 80029ac: f023 0317 bic.w r3, r3, #23 + 80029b0: f043 0301 orr.w r3, r3, #1 + 80029b4: 6093 str r3, [r2, #8] + 80029b6: 4b18 ldr r3, [pc, #96] ; (8002a18 ) + 80029b8: f8d3 3708 ldr.w r3, [r3, #1800] ; 0x708 + 80029bc: 0218 lsls r0, r3, #8 + 80029be: d41c bmi.n 80029fa + 80029c0: 7e63 ldrb r3, [r4, #25] + 80029c2: 2b01 cmp r3, #1 + 80029c4: d0de beq.n 8002984 + 80029c6: f7fe ff81 bl 80018cc + 80029ca: 4e14 ldr r6, [pc, #80] ; (8002a1c ) + 80029cc: 4605 mov r5, r0 + 80029ce: 6822 ldr r2, [r4, #0] + 80029d0: 6813 ldr r3, [r2, #0] + 80029d2: 07db lsls r3, r3, #31 + 80029d4: d4d6 bmi.n 8002984 + 80029d6: 6893 ldr r3, [r2, #8] + 80029d8: 07d9 lsls r1, r3, #31 + 80029da: bf5f itttt pl + 80029dc: 6893 ldrpl r3, [r2, #8] + 80029de: 4033 andpl r3, r6 + 80029e0: f043 0301 orrpl.w r3, r3, #1 + 80029e4: 6093 strpl r3, [r2, #8] + 80029e6: f7fe ff71 bl 80018cc + 80029ea: 1b40 subs r0, r0, r5 + 80029ec: 2802 cmp r0, #2 + 80029ee: d9ee bls.n 80029ce + 80029f0: 6823 ldr r3, [r4, #0] + 80029f2: 681b ldr r3, [r3, #0] + 80029f4: 07da lsls r2, r3, #31 + 80029f6: d4ea bmi.n 80029ce + 80029f8: e7cb b.n 8002992 + 80029fa: 4b09 ldr r3, [pc, #36] ; (8002a20 ) + 80029fc: 4a09 ldr r2, [pc, #36] ; (8002a24 ) + 80029fe: 681b ldr r3, [r3, #0] + 8002a00: fbb3 f3f2 udiv r3, r3, r2 + 8002a04: 3301 adds r3, #1 + 8002a06: 9301 str r3, [sp, #4] + 8002a08: 9b01 ldr r3, [sp, #4] + 8002a0a: 2b00 cmp r3, #0 + 8002a0c: d0d8 beq.n 80029c0 + 8002a0e: 9b01 ldr r3, [sp, #4] + 8002a10: 3b01 subs r3, #1 + 8002a12: e7f8 b.n 8002a06 + 8002a14: 80000017 .word 0x80000017 + 8002a18: 40012000 .word 0x40012000 + 8002a1c: 7fffffe8 .word 0x7fffffe8 + 8002a20: 20000074 .word 0x20000074 + 8002a24: 00030d40 .word 0x00030d40 -08002a14 : - 8002a14: b538 push {r3, r4, r5, lr} - 8002a16: 4604 mov r4, r0 - 8002a18: 6800 ldr r0, [r0, #0] - 8002a1a: f7ff fd35 bl 8002488 - 8002a1e: 4605 mov r5, r0 - 8002a20: bb20 cbnz r0, 8002a6c - 8002a22: f894 3054 ldrb.w r3, [r4, #84] ; 0x54 - 8002a26: 2b01 cmp r3, #1 - 8002a28: d020 beq.n 8002a6c - 8002a2a: 2301 movs r3, #1 - 8002a2c: f884 3054 strb.w r3, [r4, #84] ; 0x54 - 8002a30: 4620 mov r0, r4 - 8002a32: f7ff ff95 bl 8002960 - 8002a36: b9b0 cbnz r0, 8002a66 - 8002a38: 6da3 ldr r3, [r4, #88] ; 0x58 - 8002a3a: 6822 ldr r2, [r4, #0] - 8002a3c: f423 6370 bic.w r3, r3, #3840 ; 0xf00 - 8002a40: f023 0301 bic.w r3, r3, #1 - 8002a44: f443 7380 orr.w r3, r3, #256 ; 0x100 - 8002a48: 65a3 str r3, [r4, #88] ; 0x58 - 8002a4a: 231c movs r3, #28 - 8002a4c: 65e0 str r0, [r4, #92] ; 0x5c - 8002a4e: 6013 str r3, [r2, #0] - 8002a50: f884 0054 strb.w r0, [r4, #84] ; 0x54 - 8002a54: 6893 ldr r3, [r2, #8] - 8002a56: f023 4300 bic.w r3, r3, #2147483648 ; 0x80000000 - 8002a5a: f023 0317 bic.w r3, r3, #23 - 8002a5e: f043 0304 orr.w r3, r3, #4 - 8002a62: 6093 str r3, [r2, #8] - 8002a64: bd38 pop {r3, r4, r5, pc} - 8002a66: f884 5054 strb.w r5, [r4, #84] ; 0x54 - 8002a6a: e7fb b.n 8002a64 - 8002a6c: 2002 movs r0, #2 - 8002a6e: e7f9 b.n 8002a64 +08002a28 : + 8002a28: b538 push {r3, r4, r5, lr} + 8002a2a: 4604 mov r4, r0 + 8002a2c: 6800 ldr r0, [r0, #0] + 8002a2e: f7ff fd35 bl 800249c + 8002a32: 4605 mov r5, r0 + 8002a34: bb20 cbnz r0, 8002a80 + 8002a36: f894 3054 ldrb.w r3, [r4, #84] ; 0x54 + 8002a3a: 2b01 cmp r3, #1 + 8002a3c: d020 beq.n 8002a80 + 8002a3e: 2301 movs r3, #1 + 8002a40: f884 3054 strb.w r3, [r4, #84] ; 0x54 + 8002a44: 4620 mov r0, r4 + 8002a46: f7ff ff95 bl 8002974 + 8002a4a: b9b0 cbnz r0, 8002a7a + 8002a4c: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002a4e: 6822 ldr r2, [r4, #0] + 8002a50: f423 6370 bic.w r3, r3, #3840 ; 0xf00 + 8002a54: f023 0301 bic.w r3, r3, #1 + 8002a58: f443 7380 orr.w r3, r3, #256 ; 0x100 + 8002a5c: 65a3 str r3, [r4, #88] ; 0x58 + 8002a5e: 231c movs r3, #28 + 8002a60: 65e0 str r0, [r4, #92] ; 0x5c + 8002a62: 6013 str r3, [r2, #0] + 8002a64: f884 0054 strb.w r0, [r4, #84] ; 0x54 + 8002a68: 6893 ldr r3, [r2, #8] + 8002a6a: f023 4300 bic.w r3, r3, #2147483648 ; 0x80000000 + 8002a6e: f023 0317 bic.w r3, r3, #23 + 8002a72: f043 0304 orr.w r3, r3, #4 + 8002a76: 6093 str r3, [r2, #8] + 8002a78: bd38 pop {r3, r4, r5, pc} + 8002a7a: f884 5054 strb.w r5, [r4, #84] ; 0x54 + 8002a7e: e7fb b.n 8002a78 + 8002a80: 2002 movs r0, #2 + 8002a82: e7f9 b.n 8002a78 -08002a70 : - 8002a70: 6802 ldr r2, [r0, #0] - 8002a72: b538 push {r3, r4, r5, lr} - 8002a74: 6893 ldr r3, [r2, #8] - 8002a76: 6891 ldr r1, [r2, #8] - 8002a78: 4604 mov r4, r0 - 8002a7a: 07c8 lsls r0, r1, #31 - 8002a7c: d401 bmi.n 8002a82 - 8002a7e: 2000 movs r0, #0 - 8002a80: bd38 pop {r3, r4, r5, pc} - 8002a82: 0799 lsls r1, r3, #30 - 8002a84: d4fb bmi.n 8002a7e - 8002a86: 6893 ldr r3, [r2, #8] - 8002a88: f003 0305 and.w r3, r3, #5 - 8002a8c: 2b01 cmp r3, #1 - 8002a8e: d119 bne.n 8002ac4 - 8002a90: 6893 ldr r3, [r2, #8] - 8002a92: f023 4300 bic.w r3, r3, #2147483648 ; 0x80000000 - 8002a96: f023 0317 bic.w r3, r3, #23 - 8002a9a: f043 0302 orr.w r3, r3, #2 - 8002a9e: 6093 str r3, [r2, #8] - 8002aa0: 2303 movs r3, #3 - 8002aa2: 6013 str r3, [r2, #0] - 8002aa4: f7fe ff12 bl 80018cc - 8002aa8: 4605 mov r5, r0 - 8002aaa: 6823 ldr r3, [r4, #0] - 8002aac: 689b ldr r3, [r3, #8] - 8002aae: 07db lsls r3, r3, #31 - 8002ab0: d5e5 bpl.n 8002a7e - 8002ab2: f7fe ff0b bl 80018cc - 8002ab6: 1b40 subs r0, r0, r5 - 8002ab8: 2802 cmp r0, #2 - 8002aba: d9f6 bls.n 8002aaa - 8002abc: 6823 ldr r3, [r4, #0] - 8002abe: 689b ldr r3, [r3, #8] - 8002ac0: 07da lsls r2, r3, #31 - 8002ac2: d5f2 bpl.n 8002aaa - 8002ac4: 6da3 ldr r3, [r4, #88] ; 0x58 - 8002ac6: f043 0310 orr.w r3, r3, #16 - 8002aca: 65a3 str r3, [r4, #88] ; 0x58 - 8002acc: 6de3 ldr r3, [r4, #92] ; 0x5c - 8002ace: f043 0301 orr.w r3, r3, #1 - 8002ad2: 65e3 str r3, [r4, #92] ; 0x5c - 8002ad4: 2001 movs r0, #1 - 8002ad6: e7d3 b.n 8002a80 +08002a84 : + 8002a84: 6802 ldr r2, [r0, #0] + 8002a86: b538 push {r3, r4, r5, lr} + 8002a88: 6893 ldr r3, [r2, #8] + 8002a8a: 6891 ldr r1, [r2, #8] + 8002a8c: 4604 mov r4, r0 + 8002a8e: 07c8 lsls r0, r1, #31 + 8002a90: d401 bmi.n 8002a96 + 8002a92: 2000 movs r0, #0 + 8002a94: bd38 pop {r3, r4, r5, pc} + 8002a96: 0799 lsls r1, r3, #30 + 8002a98: d4fb bmi.n 8002a92 + 8002a9a: 6893 ldr r3, [r2, #8] + 8002a9c: f003 0305 and.w r3, r3, #5 + 8002aa0: 2b01 cmp r3, #1 + 8002aa2: d119 bne.n 8002ad8 + 8002aa4: 6893 ldr r3, [r2, #8] + 8002aa6: f023 4300 bic.w r3, r3, #2147483648 ; 0x80000000 + 8002aaa: f023 0317 bic.w r3, r3, #23 + 8002aae: f043 0302 orr.w r3, r3, #2 + 8002ab2: 6093 str r3, [r2, #8] + 8002ab4: 2303 movs r3, #3 + 8002ab6: 6013 str r3, [r2, #0] + 8002ab8: f7fe ff08 bl 80018cc + 8002abc: 4605 mov r5, r0 + 8002abe: 6823 ldr r3, [r4, #0] + 8002ac0: 689b ldr r3, [r3, #8] + 8002ac2: 07db lsls r3, r3, #31 + 8002ac4: d5e5 bpl.n 8002a92 + 8002ac6: f7fe ff01 bl 80018cc + 8002aca: 1b40 subs r0, r0, r5 + 8002acc: 2802 cmp r0, #2 + 8002ace: d9f6 bls.n 8002abe + 8002ad0: 6823 ldr r3, [r4, #0] + 8002ad2: 689b ldr r3, [r3, #8] + 8002ad4: 07da lsls r2, r3, #31 + 8002ad6: d5f2 bpl.n 8002abe + 8002ad8: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002ada: f043 0310 orr.w r3, r3, #16 + 8002ade: 65a3 str r3, [r4, #88] ; 0x58 + 8002ae0: 6de3 ldr r3, [r4, #92] ; 0x5c + 8002ae2: f043 0301 orr.w r3, r3, #1 + 8002ae6: 65e3 str r3, [r4, #92] ; 0x5c + 8002ae8: 2001 movs r0, #1 + 8002aea: e7d3 b.n 8002a94 -08002ad8 : - 8002ad8: b570 push {r4, r5, r6, lr} - 8002ada: 4604 mov r4, r0 - 8002adc: 2800 cmp r0, #0 - 8002ade: d04b beq.n 8002b78 - 8002ae0: 6d83 ldr r3, [r0, #88] ; 0x58 - 8002ae2: f043 0302 orr.w r3, r3, #2 - 8002ae6: 6583 str r3, [r0, #88] ; 0x58 - 8002ae8: f7ff ff0c bl 8002904 - 8002aec: 4605 mov r5, r0 - 8002aee: b968 cbnz r0, 8002b0c - 8002af0: 4620 mov r0, r4 - 8002af2: f7ff ffbd bl 8002a70 - 8002af6: 4605 mov r5, r0 - 8002af8: b908 cbnz r0, 8002afe - 8002afa: 2301 movs r3, #1 - 8002afc: 65a3 str r3, [r4, #88] ; 0x58 - 8002afe: 6822 ldr r2, [r4, #0] - 8002b00: 6893 ldr r3, [r2, #8] - 8002b02: f023 4310 bic.w r3, r3, #2415919104 ; 0x90000000 - 8002b06: f023 0317 bic.w r3, r3, #23 - 8002b0a: 6093 str r3, [r2, #8] - 8002b0c: 6823 ldr r3, [r4, #0] - 8002b0e: 685a ldr r2, [r3, #4] - 8002b10: f422 7267 bic.w r2, r2, #924 ; 0x39c - 8002b14: f022 0203 bic.w r2, r2, #3 - 8002b18: 605a str r2, [r3, #4] - 8002b1a: f240 329f movw r2, #927 ; 0x39f - 8002b1e: 601a str r2, [r3, #0] - 8002b20: 68d9 ldr r1, [r3, #12] - 8002b22: 4a16 ldr r2, [pc, #88] ; (8002b7c ) - 8002b24: 400a ands r2, r1 - 8002b26: 60da str r2, [r3, #12] - 8002b28: 691a ldr r2, [r3, #16] - 8002b2a: f022 4240 bic.w r2, r2, #3221225472 ; 0xc0000000 - 8002b2e: 611a str r2, [r3, #16] - 8002b30: 695a ldr r2, [r3, #20] - 8002b32: f022 0207 bic.w r2, r2, #7 - 8002b36: 615a str r2, [r3, #20] - 8002b38: 6a1a ldr r2, [r3, #32] - 8002b3a: f002 22f0 and.w r2, r2, #4026593280 ; 0xf000f000 - 8002b3e: 621a str r2, [r3, #32] - 8002b40: 6a5a ldr r2, [r3, #36] ; 0x24 - 8002b42: f002 22f0 and.w r2, r2, #4026593280 ; 0xf000f000 - 8002b46: 625a str r2, [r3, #36] ; 0x24 - 8002b48: 6ada ldr r2, [r3, #44] ; 0x2c - 8002b4a: f002 22f0 and.w r2, r2, #4026593280 ; 0xf000f000 - 8002b4e: 62da str r2, [r3, #44] ; 0x2c - 8002b50: 6a9a ldr r2, [r3, #40] ; 0x28 - 8002b52: 4a0b ldr r2, [pc, #44] ; (8002b80 ) - 8002b54: 2600 movs r6, #0 - 8002b56: 629e str r6, [r3, #40] ; 0x28 - 8002b58: f8d2 3708 ldr.w r3, [r2, #1800] ; 0x708 - 8002b5c: f023 73fe bic.w r3, r3, #33292288 ; 0x1fc0000 - 8002b60: f8c2 3708 str.w r3, [r2, #1800] ; 0x708 - 8002b64: 4620 mov r0, r4 - 8002b66: f7fe f9dd bl 8000f24 - 8002b6a: 65e6 str r6, [r4, #92] ; 0x5c - 8002b6c: 6626 str r6, [r4, #96] ; 0x60 - 8002b6e: 65a6 str r6, [r4, #88] ; 0x58 - 8002b70: f884 6054 strb.w r6, [r4, #84] ; 0x54 - 8002b74: 4628 mov r0, r5 - 8002b76: bd70 pop {r4, r5, r6, pc} - 8002b78: 2501 movs r5, #1 - 8002b7a: e7fb b.n 8002b74 - 8002b7c: 833e0200 .word 0x833e0200 - 8002b80: 40012000 .word 0x40012000 +08002aec : + 8002aec: b570 push {r4, r5, r6, lr} + 8002aee: 4604 mov r4, r0 + 8002af0: 2800 cmp r0, #0 + 8002af2: d04b beq.n 8002b8c + 8002af4: 6d83 ldr r3, [r0, #88] ; 0x58 + 8002af6: f043 0302 orr.w r3, r3, #2 + 8002afa: 6583 str r3, [r0, #88] ; 0x58 + 8002afc: f7ff ff0c bl 8002918 + 8002b00: 4605 mov r5, r0 + 8002b02: b968 cbnz r0, 8002b20 + 8002b04: 4620 mov r0, r4 + 8002b06: f7ff ffbd bl 8002a84 + 8002b0a: 4605 mov r5, r0 + 8002b0c: b908 cbnz r0, 8002b12 + 8002b0e: 2301 movs r3, #1 + 8002b10: 65a3 str r3, [r4, #88] ; 0x58 + 8002b12: 6822 ldr r2, [r4, #0] + 8002b14: 6893 ldr r3, [r2, #8] + 8002b16: f023 4310 bic.w r3, r3, #2415919104 ; 0x90000000 + 8002b1a: f023 0317 bic.w r3, r3, #23 + 8002b1e: 6093 str r3, [r2, #8] + 8002b20: 6823 ldr r3, [r4, #0] + 8002b22: 685a ldr r2, [r3, #4] + 8002b24: f422 7267 bic.w r2, r2, #924 ; 0x39c + 8002b28: f022 0203 bic.w r2, r2, #3 + 8002b2c: 605a str r2, [r3, #4] + 8002b2e: f240 329f movw r2, #927 ; 0x39f + 8002b32: 601a str r2, [r3, #0] + 8002b34: 68d9 ldr r1, [r3, #12] + 8002b36: 4a16 ldr r2, [pc, #88] ; (8002b90 ) + 8002b38: 400a ands r2, r1 + 8002b3a: 60da str r2, [r3, #12] + 8002b3c: 691a ldr r2, [r3, #16] + 8002b3e: f022 4240 bic.w r2, r2, #3221225472 ; 0xc0000000 + 8002b42: 611a str r2, [r3, #16] + 8002b44: 695a ldr r2, [r3, #20] + 8002b46: f022 0207 bic.w r2, r2, #7 + 8002b4a: 615a str r2, [r3, #20] + 8002b4c: 6a1a ldr r2, [r3, #32] + 8002b4e: f002 22f0 and.w r2, r2, #4026593280 ; 0xf000f000 + 8002b52: 621a str r2, [r3, #32] + 8002b54: 6a5a ldr r2, [r3, #36] ; 0x24 + 8002b56: f002 22f0 and.w r2, r2, #4026593280 ; 0xf000f000 + 8002b5a: 625a str r2, [r3, #36] ; 0x24 + 8002b5c: 6ada ldr r2, [r3, #44] ; 0x2c + 8002b5e: f002 22f0 and.w r2, r2, #4026593280 ; 0xf000f000 + 8002b62: 62da str r2, [r3, #44] ; 0x2c + 8002b64: 6a9a ldr r2, [r3, #40] ; 0x28 + 8002b66: 4a0b ldr r2, [pc, #44] ; (8002b94 ) + 8002b68: 2600 movs r6, #0 + 8002b6a: 629e str r6, [r3, #40] ; 0x28 + 8002b6c: f8d2 3708 ldr.w r3, [r2, #1800] ; 0x708 + 8002b70: f023 73fe bic.w r3, r3, #33292288 ; 0x1fc0000 + 8002b74: f8c2 3708 str.w r3, [r2, #1800] ; 0x708 + 8002b78: 4620 mov r0, r4 + 8002b7a: f7fe f9d3 bl 8000f24 + 8002b7e: 65e6 str r6, [r4, #92] ; 0x5c + 8002b80: 6626 str r6, [r4, #96] ; 0x60 + 8002b82: 65a6 str r6, [r4, #88] ; 0x58 + 8002b84: f884 6054 strb.w r6, [r4, #84] ; 0x54 + 8002b88: 4628 mov r0, r5 + 8002b8a: bd70 pop {r4, r5, r6, pc} + 8002b8c: 2501 movs r5, #1 + 8002b8e: e7fb b.n 8002b88 + 8002b90: 833e0200 .word 0x833e0200 + 8002b94: 40012000 .word 0x40012000 -08002b84 : - 8002b84: b510 push {r4, lr} - 8002b86: f890 3054 ldrb.w r3, [r0, #84] ; 0x54 - 8002b8a: 2b01 cmp r3, #1 - 8002b8c: 4604 mov r4, r0 - 8002b8e: d015 beq.n 8002bbc - 8002b90: 2301 movs r3, #1 - 8002b92: f880 3054 strb.w r3, [r0, #84] ; 0x54 - 8002b96: f7ff feb5 bl 8002904 - 8002b9a: b958 cbnz r0, 8002bb4 - 8002b9c: 4620 mov r0, r4 - 8002b9e: f7ff ff67 bl 8002a70 - 8002ba2: b938 cbnz r0, 8002bb4 - 8002ba4: 6da3 ldr r3, [r4, #88] ; 0x58 - 8002ba6: f423 7380 bic.w r3, r3, #256 ; 0x100 - 8002baa: f023 0301 bic.w r3, r3, #1 - 8002bae: f043 0301 orr.w r3, r3, #1 - 8002bb2: 65a3 str r3, [r4, #88] ; 0x58 - 8002bb4: 2300 movs r3, #0 - 8002bb6: f884 3054 strb.w r3, [r4, #84] ; 0x54 - 8002bba: bd10 pop {r4, pc} - 8002bbc: 2002 movs r0, #2 - 8002bbe: e7fc b.n 8002bba +08002b98 : + 8002b98: b510 push {r4, lr} + 8002b9a: f890 3054 ldrb.w r3, [r0, #84] ; 0x54 + 8002b9e: 2b01 cmp r3, #1 + 8002ba0: 4604 mov r4, r0 + 8002ba2: d015 beq.n 8002bd0 + 8002ba4: 2301 movs r3, #1 + 8002ba6: f880 3054 strb.w r3, [r0, #84] ; 0x54 + 8002baa: f7ff feb5 bl 8002918 + 8002bae: b958 cbnz r0, 8002bc8 + 8002bb0: 4620 mov r0, r4 + 8002bb2: f7ff ff67 bl 8002a84 + 8002bb6: b938 cbnz r0, 8002bc8 + 8002bb8: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002bba: f423 7380 bic.w r3, r3, #256 ; 0x100 + 8002bbe: f023 0301 bic.w r3, r3, #1 + 8002bc2: f043 0301 orr.w r3, r3, #1 + 8002bc6: 65a3 str r3, [r4, #88] ; 0x58 + 8002bc8: 2300 movs r3, #0 + 8002bca: f884 3054 strb.w r3, [r4, #84] ; 0x54 + 8002bce: bd10 pop {r4, pc} + 8002bd0: 2002 movs r0, #2 + 8002bd2: e7fc b.n 8002bce -08002bc0 : - 8002bc0: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} - 8002bc2: 2300 movs r3, #0 - 8002bc4: 9301 str r3, [sp, #4] - 8002bc6: f890 3054 ldrb.w r3, [r0, #84] ; 0x54 - 8002bca: 2b01 cmp r3, #1 - 8002bcc: 4604 mov r4, r0 - 8002bce: d07f beq.n 8002cd0 - 8002bd0: 2301 movs r3, #1 - 8002bd2: f880 3054 strb.w r3, [r0, #84] ; 0x54 - 8002bd6: f7ff ff4b bl 8002a70 - 8002bda: 6823 ldr r3, [r4, #0] - 8002bdc: 689a ldr r2, [r3, #8] - 8002bde: f012 0201 ands.w r2, r2, #1 - 8002be2: 4605 mov r5, r0 - 8002be4: d007 beq.n 8002bf6 - 8002be6: 6da3 ldr r3, [r4, #88] ; 0x58 - 8002be8: f043 0310 orr.w r3, r3, #16 - 8002bec: 65a3 str r3, [r4, #88] ; 0x58 - 8002bee: 2300 movs r3, #0 - 8002bf0: f884 3054 strb.w r3, [r4, #84] ; 0x54 - 8002bf4: e02d b.n 8002c52 - 8002bf6: 6da1 ldr r1, [r4, #88] ; 0x58 - 8002bf8: 4f36 ldr r7, [pc, #216] ; (8002cd4 ) - 8002bfa: f421 7181 bic.w r1, r1, #258 ; 0x102 - 8002bfe: f041 0102 orr.w r1, r1, #2 - 8002c02: 65a1 str r1, [r4, #88] ; 0x58 - 8002c04: 68de ldr r6, [r3, #12] - 8002c06: 68d9 ldr r1, [r3, #12] - 8002c08: f426 46ff bic.w r6, r6, #32640 ; 0x7f80 - 8002c0c: f026 067c bic.w r6, r6, #124 ; 0x7c - 8002c10: f421 4100 bic.w r1, r1, #32768 ; 0x8000 - 8002c14: 0436 lsls r6, r6, #16 - 8002c16: f021 0103 bic.w r1, r1, #3 - 8002c1a: 0c36 lsrs r6, r6, #16 - 8002c1c: 60d9 str r1, [r3, #12] - 8002c1e: 2008 movs r0, #8 - 8002c20: 6899 ldr r1, [r3, #8] - 8002c22: 4039 ands r1, r7 - 8002c24: f041 4100 orr.w r1, r1, #2147483648 ; 0x80000000 - 8002c28: 6099 str r1, [r3, #8] - 8002c2a: 6899 ldr r1, [r3, #8] - 8002c2c: 2900 cmp r1, #0 - 8002c2e: da13 bge.n 8002c58 - 8002c30: 9901 ldr r1, [sp, #4] - 8002c32: 3101 adds r1, #1 - 8002c34: 9101 str r1, [sp, #4] - 8002c36: 9901 ldr r1, [sp, #4] - 8002c38: f5b1 3f2e cmp.w r1, #178176 ; 0x2b800 - 8002c3c: d3f5 bcc.n 8002c2a - 8002c3e: 6da3 ldr r3, [r4, #88] ; 0x58 - 8002c40: f023 0312 bic.w r3, r3, #18 - 8002c44: f043 0310 orr.w r3, r3, #16 - 8002c48: 65a3 str r3, [r4, #88] ; 0x58 - 8002c4a: 2300 movs r3, #0 - 8002c4c: f884 3054 strb.w r3, [r4, #84] ; 0x54 - 8002c50: 2501 movs r5, #1 - 8002c52: 4628 mov r0, r5 - 8002c54: b003 add sp, #12 - 8002c56: bdf0 pop {r4, r5, r6, r7, pc} - 8002c58: f8d3 10b4 ldr.w r1, [r3, #180] ; 0xb4 - 8002c5c: 3801 subs r0, #1 - 8002c5e: f001 017f and.w r1, r1, #127 ; 0x7f - 8002c62: 440a add r2, r1 - 8002c64: d1dc bne.n 8002c20 - 8002c66: 6899 ldr r1, [r3, #8] - 8002c68: 481a ldr r0, [pc, #104] ; (8002cd4 ) - 8002c6a: 4001 ands r1, r0 - 8002c6c: f041 0101 orr.w r1, r1, #1 - 8002c70: 6099 str r1, [r3, #8] - 8002c72: f8d3 10b4 ldr.w r1, [r3, #180] ; 0xb4 - 8002c76: f021 017f bic.w r1, r1, #127 ; 0x7f - 8002c7a: ea41 02d2 orr.w r2, r1, r2, lsr #3 - 8002c7e: f8c3 20b4 str.w r2, [r3, #180] ; 0xb4 - 8002c82: 689a ldr r2, [r3, #8] - 8002c84: 4002 ands r2, r0 - 8002c86: f042 0202 orr.w r2, r2, #2 - 8002c8a: 609a str r2, [r3, #8] - 8002c8c: f7fe fe1e bl 80018cc - 8002c90: 4607 mov r7, r0 - 8002c92: 6823 ldr r3, [r4, #0] - 8002c94: 689a ldr r2, [r3, #8] - 8002c96: 07d2 lsls r2, r2, #31 - 8002c98: d408 bmi.n 8002cac - 8002c9a: 68da ldr r2, [r3, #12] - 8002c9c: 4332 orrs r2, r6 - 8002c9e: 60da str r2, [r3, #12] - 8002ca0: 6da3 ldr r3, [r4, #88] ; 0x58 - 8002ca2: f023 0303 bic.w r3, r3, #3 - 8002ca6: f043 0301 orr.w r3, r3, #1 - 8002caa: e79f b.n 8002bec - 8002cac: f7fe fe0e bl 80018cc - 8002cb0: 1bc0 subs r0, r0, r7 - 8002cb2: 2802 cmp r0, #2 - 8002cb4: d9ed bls.n 8002c92 - 8002cb6: 6823 ldr r3, [r4, #0] - 8002cb8: 689b ldr r3, [r3, #8] - 8002cba: 07d9 lsls r1, r3, #31 - 8002cbc: d5e9 bpl.n 8002c92 - 8002cbe: 6da3 ldr r3, [r4, #88] ; 0x58 - 8002cc0: f043 0310 orr.w r3, r3, #16 - 8002cc4: 65a3 str r3, [r4, #88] ; 0x58 - 8002cc6: 6de3 ldr r3, [r4, #92] ; 0x5c - 8002cc8: f043 0301 orr.w r3, r3, #1 - 8002ccc: 65e3 str r3, [r4, #92] ; 0x5c - 8002cce: e7bf b.n 8002c50 - 8002cd0: 2502 movs r5, #2 - 8002cd2: e7be b.n 8002c52 - 8002cd4: 7fffffe8 .word 0x7fffffe8 +08002bd4 : + 8002bd4: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} + 8002bd6: 2300 movs r3, #0 + 8002bd8: 9301 str r3, [sp, #4] + 8002bda: f890 3054 ldrb.w r3, [r0, #84] ; 0x54 + 8002bde: 2b01 cmp r3, #1 + 8002be0: 4604 mov r4, r0 + 8002be2: d07f beq.n 8002ce4 + 8002be4: 2301 movs r3, #1 + 8002be6: f880 3054 strb.w r3, [r0, #84] ; 0x54 + 8002bea: f7ff ff4b bl 8002a84 + 8002bee: 6823 ldr r3, [r4, #0] + 8002bf0: 689a ldr r2, [r3, #8] + 8002bf2: f012 0201 ands.w r2, r2, #1 + 8002bf6: 4605 mov r5, r0 + 8002bf8: d007 beq.n 8002c0a + 8002bfa: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002bfc: f043 0310 orr.w r3, r3, #16 + 8002c00: 65a3 str r3, [r4, #88] ; 0x58 + 8002c02: 2300 movs r3, #0 + 8002c04: f884 3054 strb.w r3, [r4, #84] ; 0x54 + 8002c08: e02d b.n 8002c66 + 8002c0a: 6da1 ldr r1, [r4, #88] ; 0x58 + 8002c0c: 4f36 ldr r7, [pc, #216] ; (8002ce8 ) + 8002c0e: f421 7181 bic.w r1, r1, #258 ; 0x102 + 8002c12: f041 0102 orr.w r1, r1, #2 + 8002c16: 65a1 str r1, [r4, #88] ; 0x58 + 8002c18: 68de ldr r6, [r3, #12] + 8002c1a: 68d9 ldr r1, [r3, #12] + 8002c1c: f426 46ff bic.w r6, r6, #32640 ; 0x7f80 + 8002c20: f026 067c bic.w r6, r6, #124 ; 0x7c + 8002c24: f421 4100 bic.w r1, r1, #32768 ; 0x8000 + 8002c28: 0436 lsls r6, r6, #16 + 8002c2a: f021 0103 bic.w r1, r1, #3 + 8002c2e: 0c36 lsrs r6, r6, #16 + 8002c30: 60d9 str r1, [r3, #12] + 8002c32: 2008 movs r0, #8 + 8002c34: 6899 ldr r1, [r3, #8] + 8002c36: 4039 ands r1, r7 + 8002c38: f041 4100 orr.w r1, r1, #2147483648 ; 0x80000000 + 8002c3c: 6099 str r1, [r3, #8] + 8002c3e: 6899 ldr r1, [r3, #8] + 8002c40: 2900 cmp r1, #0 + 8002c42: da13 bge.n 8002c6c + 8002c44: 9901 ldr r1, [sp, #4] + 8002c46: 3101 adds r1, #1 + 8002c48: 9101 str r1, [sp, #4] + 8002c4a: 9901 ldr r1, [sp, #4] + 8002c4c: f5b1 3f2e cmp.w r1, #178176 ; 0x2b800 + 8002c50: d3f5 bcc.n 8002c3e + 8002c52: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002c54: f023 0312 bic.w r3, r3, #18 + 8002c58: f043 0310 orr.w r3, r3, #16 + 8002c5c: 65a3 str r3, [r4, #88] ; 0x58 + 8002c5e: 2300 movs r3, #0 + 8002c60: f884 3054 strb.w r3, [r4, #84] ; 0x54 + 8002c64: 2501 movs r5, #1 + 8002c66: 4628 mov r0, r5 + 8002c68: b003 add sp, #12 + 8002c6a: bdf0 pop {r4, r5, r6, r7, pc} + 8002c6c: f8d3 10b4 ldr.w r1, [r3, #180] ; 0xb4 + 8002c70: 3801 subs r0, #1 + 8002c72: f001 017f and.w r1, r1, #127 ; 0x7f + 8002c76: 440a add r2, r1 + 8002c78: d1dc bne.n 8002c34 + 8002c7a: 6899 ldr r1, [r3, #8] + 8002c7c: 481a ldr r0, [pc, #104] ; (8002ce8 ) + 8002c7e: 4001 ands r1, r0 + 8002c80: f041 0101 orr.w r1, r1, #1 + 8002c84: 6099 str r1, [r3, #8] + 8002c86: f8d3 10b4 ldr.w r1, [r3, #180] ; 0xb4 + 8002c8a: f021 017f bic.w r1, r1, #127 ; 0x7f + 8002c8e: ea41 02d2 orr.w r2, r1, r2, lsr #3 + 8002c92: f8c3 20b4 str.w r2, [r3, #180] ; 0xb4 + 8002c96: 689a ldr r2, [r3, #8] + 8002c98: 4002 ands r2, r0 + 8002c9a: f042 0202 orr.w r2, r2, #2 + 8002c9e: 609a str r2, [r3, #8] + 8002ca0: f7fe fe14 bl 80018cc + 8002ca4: 4607 mov r7, r0 + 8002ca6: 6823 ldr r3, [r4, #0] + 8002ca8: 689a ldr r2, [r3, #8] + 8002caa: 07d2 lsls r2, r2, #31 + 8002cac: d408 bmi.n 8002cc0 + 8002cae: 68da ldr r2, [r3, #12] + 8002cb0: 4332 orrs r2, r6 + 8002cb2: 60da str r2, [r3, #12] + 8002cb4: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002cb6: f023 0303 bic.w r3, r3, #3 + 8002cba: f043 0301 orr.w r3, r3, #1 + 8002cbe: e79f b.n 8002c00 + 8002cc0: f7fe fe04 bl 80018cc + 8002cc4: 1bc0 subs r0, r0, r7 + 8002cc6: 2802 cmp r0, #2 + 8002cc8: d9ed bls.n 8002ca6 + 8002cca: 6823 ldr r3, [r4, #0] + 8002ccc: 689b ldr r3, [r3, #8] + 8002cce: 07d9 lsls r1, r3, #31 + 8002cd0: d5e9 bpl.n 8002ca6 + 8002cd2: 6da3 ldr r3, [r4, #88] ; 0x58 + 8002cd4: f043 0310 orr.w r3, r3, #16 + 8002cd8: 65a3 str r3, [r4, #88] ; 0x58 + 8002cda: 6de3 ldr r3, [r4, #92] ; 0x5c + 8002cdc: f043 0301 orr.w r3, r3, #1 + 8002ce0: 65e3 str r3, [r4, #92] ; 0x5c + 8002ce2: e7bf b.n 8002c64 + 8002ce4: 2502 movs r5, #2 + 8002ce6: e7be b.n 8002c66 + 8002ce8: 7fffffe8 .word 0x7fffffe8 -08002cd8 : - 8002cd8: 4907 ldr r1, [pc, #28] ; (8002cf8 ) - 8002cda: 68ca ldr r2, [r1, #12] - 8002cdc: f422 62e0 bic.w r2, r2, #1792 ; 0x700 - 8002ce0: 0203 lsls r3, r0, #8 - 8002ce2: 0412 lsls r2, r2, #16 - 8002ce4: f403 63e0 and.w r3, r3, #1792 ; 0x700 - 8002ce8: 0c12 lsrs r2, r2, #16 - 8002cea: 4313 orrs r3, r2 - 8002cec: f043 63bf orr.w r3, r3, #100139008 ; 0x5f80000 - 8002cf0: f443 3300 orr.w r3, r3, #131072 ; 0x20000 - 8002cf4: 60cb str r3, [r1, #12] - 8002cf6: 4770 bx lr - 8002cf8: e000ed00 .word 0xe000ed00 +08002cec : + 8002cec: 4907 ldr r1, [pc, #28] ; (8002d0c ) + 8002cee: 68ca ldr r2, [r1, #12] + 8002cf0: f422 62e0 bic.w r2, r2, #1792 ; 0x700 + 8002cf4: 0203 lsls r3, r0, #8 + 8002cf6: 0412 lsls r2, r2, #16 + 8002cf8: f403 63e0 and.w r3, r3, #1792 ; 0x700 + 8002cfc: 0c12 lsrs r2, r2, #16 + 8002cfe: 4313 orrs r3, r2 + 8002d00: f043 63bf orr.w r3, r3, #100139008 ; 0x5f80000 + 8002d04: f443 3300 orr.w r3, r3, #131072 ; 0x20000 + 8002d08: 60cb str r3, [r1, #12] + 8002d0a: 4770 bx lr + 8002d0c: e000ed00 .word 0xe000ed00 -08002cfc : - 8002cfc: 4b16 ldr r3, [pc, #88] ; (8002d58 ) - 8002cfe: b530 push {r4, r5, lr} - 8002d00: 68dc ldr r4, [r3, #12] - 8002d02: f3c4 2402 ubfx r4, r4, #8, #3 - 8002d06: f1c4 0307 rsb r3, r4, #7 - 8002d0a: 1d25 adds r5, r4, #4 - 8002d0c: 2b04 cmp r3, #4 - 8002d0e: bf28 it cs - 8002d10: 2304 movcs r3, #4 - 8002d12: 2d06 cmp r5, #6 - 8002d14: f04f 35ff mov.w r5, #4294967295 - 8002d18: bf8c ite hi - 8002d1a: 3c03 subhi r4, #3 - 8002d1c: 2400 movls r4, #0 - 8002d1e: fa05 f303 lsl.w r3, r5, r3 - 8002d22: ea21 0303 bic.w r3, r1, r3 - 8002d26: 40a5 lsls r5, r4 - 8002d28: ea22 0205 bic.w r2, r2, r5 - 8002d2c: 40a3 lsls r3, r4 - 8002d2e: 2800 cmp r0, #0 - 8002d30: ea43 0302 orr.w r3, r3, r2 - 8002d34: bfac ite ge - 8002d36: f100 4060 addge.w r0, r0, #3758096384 ; 0xe0000000 - 8002d3a: 4a08 ldrlt r2, [pc, #32] ; (8002d5c ) - 8002d3c: ea4f 1303 mov.w r3, r3, lsl #4 - 8002d40: bfb8 it lt - 8002d42: f000 000f andlt.w r0, r0, #15 - 8002d46: b2db uxtb r3, r3 - 8002d48: bfaa itet ge - 8002d4a: f500 4061 addge.w r0, r0, #57600 ; 0xe100 - 8002d4e: 5413 strblt r3, [r2, r0] - 8002d50: f880 3300 strbge.w r3, [r0, #768] ; 0x300 - 8002d54: bd30 pop {r4, r5, pc} - 8002d56: bf00 nop - 8002d58: e000ed00 .word 0xe000ed00 - 8002d5c: e000ed14 .word 0xe000ed14 +08002d10 : + 8002d10: 4b16 ldr r3, [pc, #88] ; (8002d6c ) + 8002d12: b530 push {r4, r5, lr} + 8002d14: 68dc ldr r4, [r3, #12] + 8002d16: f3c4 2402 ubfx r4, r4, #8, #3 + 8002d1a: f1c4 0307 rsb r3, r4, #7 + 8002d1e: 1d25 adds r5, r4, #4 + 8002d20: 2b04 cmp r3, #4 + 8002d22: bf28 it cs + 8002d24: 2304 movcs r3, #4 + 8002d26: 2d06 cmp r5, #6 + 8002d28: f04f 35ff mov.w r5, #4294967295 + 8002d2c: bf8c ite hi + 8002d2e: 3c03 subhi r4, #3 + 8002d30: 2400 movls r4, #0 + 8002d32: fa05 f303 lsl.w r3, r5, r3 + 8002d36: ea21 0303 bic.w r3, r1, r3 + 8002d3a: 40a5 lsls r5, r4 + 8002d3c: ea22 0205 bic.w r2, r2, r5 + 8002d40: 40a3 lsls r3, r4 + 8002d42: 2800 cmp r0, #0 + 8002d44: ea43 0302 orr.w r3, r3, r2 + 8002d48: bfac ite ge + 8002d4a: f100 4060 addge.w r0, r0, #3758096384 ; 0xe0000000 + 8002d4e: 4a08 ldrlt r2, [pc, #32] ; (8002d70 ) + 8002d50: ea4f 1303 mov.w r3, r3, lsl #4 + 8002d54: bfb8 it lt + 8002d56: f000 000f andlt.w r0, r0, #15 + 8002d5a: b2db uxtb r3, r3 + 8002d5c: bfaa itet ge + 8002d5e: f500 4061 addge.w r0, r0, #57600 ; 0xe100 + 8002d62: 5413 strblt r3, [r2, r0] + 8002d64: f880 3300 strbge.w r3, [r0, #768] ; 0x300 + 8002d68: bd30 pop {r4, r5, pc} + 8002d6a: bf00 nop + 8002d6c: e000ed00 .word 0xe000ed00 + 8002d70: e000ed14 .word 0xe000ed14 -08002d60 : - 8002d60: 2800 cmp r0, #0 - 8002d62: db07 blt.n 8002d74 - 8002d64: 4a04 ldr r2, [pc, #16] ; (8002d78 ) - 8002d66: 0941 lsrs r1, r0, #5 - 8002d68: 2301 movs r3, #1 - 8002d6a: f000 001f and.w r0, r0, #31 - 8002d6e: 4083 lsls r3, r0 - 8002d70: f842 3021 str.w r3, [r2, r1, lsl #2] - 8002d74: 4770 bx lr - 8002d76: bf00 nop - 8002d78: e000e100 .word 0xe000e100 +08002d74 : + 8002d74: 2800 cmp r0, #0 + 8002d76: db07 blt.n 8002d88 + 8002d78: 4a04 ldr r2, [pc, #16] ; (8002d8c ) + 8002d7a: 0941 lsrs r1, r0, #5 + 8002d7c: 2301 movs r3, #1 + 8002d7e: f000 001f and.w r0, r0, #31 + 8002d82: 4083 lsls r3, r0 + 8002d84: f842 3021 str.w r3, [r2, r1, lsl #2] + 8002d88: 4770 bx lr + 8002d8a: bf00 nop + 8002d8c: e000e100 .word 0xe000e100 -08002d7c : - 8002d7c: 2800 cmp r0, #0 - 8002d7e: db0c blt.n 8002d9a - 8002d80: 0943 lsrs r3, r0, #5 - 8002d82: 4906 ldr r1, [pc, #24] ; (8002d9c ) - 8002d84: f000 001f and.w r0, r0, #31 - 8002d88: 3320 adds r3, #32 - 8002d8a: 2201 movs r2, #1 - 8002d8c: 4082 lsls r2, r0 - 8002d8e: f841 2023 str.w r2, [r1, r3, lsl #2] - 8002d92: f3bf 8f4f dsb sy - 8002d96: f3bf 8f6f isb sy - 8002d9a: 4770 bx lr - 8002d9c: e000e100 .word 0xe000e100 +08002d90 : + 8002d90: 2800 cmp r0, #0 + 8002d92: db0c blt.n 8002dae + 8002d94: 0943 lsrs r3, r0, #5 + 8002d96: 4906 ldr r1, [pc, #24] ; (8002db0 ) + 8002d98: f000 001f and.w r0, r0, #31 + 8002d9c: 3320 adds r3, #32 + 8002d9e: 2201 movs r2, #1 + 8002da0: 4082 lsls r2, r0 + 8002da2: f841 2023 str.w r2, [r1, r3, lsl #2] + 8002da6: f3bf 8f4f dsb sy + 8002daa: f3bf 8f6f isb sy + 8002dae: 4770 bx lr + 8002db0: e000e100 .word 0xe000e100 -08002da0 : - 8002da0: b570 push {r4, r5, r6, lr} - 8002da2: e9d0 4513 ldrd r4, r5, [r0, #76] ; 0x4c - 8002da6: 6065 str r5, [r4, #4] - 8002da8: 6d44 ldr r4, [r0, #84] ; 0x54 - 8002daa: b114 cbz r4, 8002db2 - 8002dac: e9d0 4516 ldrd r4, r5, [r0, #88] ; 0x58 - 8002db0: 6065 str r5, [r4, #4] - 8002db2: e9d0 5410 ldrd r5, r4, [r0, #64] ; 0x40 - 8002db6: f004 061c and.w r6, r4, #28 - 8002dba: 2401 movs r4, #1 - 8002dbc: 40b4 lsls r4, r6 - 8002dbe: 606c str r4, [r5, #4] - 8002dc0: 6804 ldr r4, [r0, #0] - 8002dc2: 6063 str r3, [r4, #4] - 8002dc4: 6883 ldr r3, [r0, #8] - 8002dc6: 2b10 cmp r3, #16 - 8002dc8: bf0b itete eq - 8002dca: 60a2 streq r2, [r4, #8] - 8002dcc: 60a1 strne r1, [r4, #8] - 8002dce: 60e1 streq r1, [r4, #12] - 8002dd0: 60e2 strne r2, [r4, #12] - 8002dd2: bd70 pop {r4, r5, r6, pc} +08002db4 : + 8002db4: b570 push {r4, r5, r6, lr} + 8002db6: e9d0 4513 ldrd r4, r5, [r0, #76] ; 0x4c + 8002dba: 6065 str r5, [r4, #4] + 8002dbc: 6d44 ldr r4, [r0, #84] ; 0x54 + 8002dbe: b114 cbz r4, 8002dc6 + 8002dc0: e9d0 4516 ldrd r4, r5, [r0, #88] ; 0x58 + 8002dc4: 6065 str r5, [r4, #4] + 8002dc6: e9d0 5410 ldrd r5, r4, [r0, #64] ; 0x40 + 8002dca: f004 061c and.w r6, r4, #28 + 8002dce: 2401 movs r4, #1 + 8002dd0: 40b4 lsls r4, r6 + 8002dd2: 606c str r4, [r5, #4] + 8002dd4: 6804 ldr r4, [r0, #0] + 8002dd6: 6063 str r3, [r4, #4] + 8002dd8: 6883 ldr r3, [r0, #8] + 8002dda: 2b10 cmp r3, #16 + 8002ddc: bf0b itete eq + 8002dde: 60a2 streq r2, [r4, #8] + 8002de0: 60a1 strne r1, [r4, #8] + 8002de2: 60e1 streq r1, [r4, #12] + 8002de4: 60e2 strne r2, [r4, #12] + 8002de6: bd70 pop {r4, r5, r6, pc} -08002dd4 : - 8002dd4: 6802 ldr r2, [r0, #0] - 8002dd6: 6c41 ldr r1, [r0, #68] ; 0x44 - 8002dd8: b2d3 uxtb r3, r2 - 8002dda: b510 push {r4, lr} - 8002ddc: 3b08 subs r3, #8 - 8002dde: 2414 movs r4, #20 - 8002de0: fbb3 f3f4 udiv r3, r3, r4 - 8002de4: 4c0b ldr r4, [pc, #44] ; (8002e14 ) - 8002de6: 42a2 cmp r2, r4 - 8002de8: bf88 it hi - 8002dea: 4a0b ldrhi r2, [pc, #44] ; (8002e18 ) - 8002dec: f021 0103 bic.w r1, r1, #3 - 8002df0: bf99 ittee ls - 8002df2: f101 4280 addls.w r2, r1, #1073741824 ; 0x40000000 - 8002df6: f502 3202 addls.w r2, r2, #133120 ; 0x20800 - 8002dfa: 1852 addhi r2, r2, r1 - 8002dfc: 3307 addhi r3, #7 - 8002dfe: 6482 str r2, [r0, #72] ; 0x48 - 8002e00: 4a06 ldr r2, [pc, #24] ; (8002e1c ) - 8002e02: 64c2 str r2, [r0, #76] ; 0x4c - 8002e04: f003 031f and.w r3, r3, #31 - 8002e08: 2201 movs r2, #1 - 8002e0a: fa02 f303 lsl.w r3, r2, r3 - 8002e0e: 6503 str r3, [r0, #80] ; 0x50 - 8002e10: bd10 pop {r4, pc} - 8002e12: bf00 nop - 8002e14: 40020407 .word 0x40020407 - 8002e18: 4002081c .word 0x4002081c - 8002e1c: 40020880 .word 0x40020880 +08002de8 : + 8002de8: 6802 ldr r2, [r0, #0] + 8002dea: 6c41 ldr r1, [r0, #68] ; 0x44 + 8002dec: b2d3 uxtb r3, r2 + 8002dee: b510 push {r4, lr} + 8002df0: 3b08 subs r3, #8 + 8002df2: 2414 movs r4, #20 + 8002df4: fbb3 f3f4 udiv r3, r3, r4 + 8002df8: 4c0b ldr r4, [pc, #44] ; (8002e28 ) + 8002dfa: 42a2 cmp r2, r4 + 8002dfc: bf88 it hi + 8002dfe: 4a0b ldrhi r2, [pc, #44] ; (8002e2c ) + 8002e00: f021 0103 bic.w r1, r1, #3 + 8002e04: bf99 ittee ls + 8002e06: f101 4280 addls.w r2, r1, #1073741824 ; 0x40000000 + 8002e0a: f502 3202 addls.w r2, r2, #133120 ; 0x20800 + 8002e0e: 1852 addhi r2, r2, r1 + 8002e10: 3307 addhi r3, #7 + 8002e12: 6482 str r2, [r0, #72] ; 0x48 + 8002e14: 4a06 ldr r2, [pc, #24] ; (8002e30 ) + 8002e16: 64c2 str r2, [r0, #76] ; 0x4c + 8002e18: f003 031f and.w r3, r3, #31 + 8002e1c: 2201 movs r2, #1 + 8002e1e: fa02 f303 lsl.w r3, r2, r3 + 8002e22: 6503 str r3, [r0, #80] ; 0x50 + 8002e24: bd10 pop {r4, pc} + 8002e26: bf00 nop + 8002e28: 40020407 .word 0x40020407 + 8002e2c: 4002081c .word 0x4002081c + 8002e30: 40020880 .word 0x40020880 -08002e20 : - 8002e20: b538 push {r3, r4, r5, lr} - 8002e22: 2800 cmp r0, #0 - 8002e24: d05e beq.n 8002ee4 - 8002e26: 6802 ldr r2, [r0, #0] - 8002e28: 4b2f ldr r3, [pc, #188] ; (8002ee8 ) - 8002e2a: 429a cmp r2, r3 - 8002e2c: f04f 0114 mov.w r1, #20 - 8002e30: d84c bhi.n 8002ecc - 8002e32: 4b2e ldr r3, [pc, #184] ; (8002eec ) - 8002e34: 4413 add r3, r2 - 8002e36: fbb3 f3f1 udiv r3, r3, r1 - 8002e3a: 492d ldr r1, [pc, #180] ; (8002ef0 ) - 8002e3c: 009b lsls r3, r3, #2 - 8002e3e: e9c0 1310 strd r1, r3, [r0, #64] ; 0x40 - 8002e42: 2302 movs r3, #2 - 8002e44: f880 3025 strb.w r3, [r0, #37] ; 0x25 - 8002e48: 6813 ldr r3, [r2, #0] - 8002e4a: 6905 ldr r5, [r0, #16] - 8002e4c: f423 43ff bic.w r3, r3, #32640 ; 0x7f80 - 8002e50: f023 0370 bic.w r3, r3, #112 ; 0x70 - 8002e54: 6013 str r3, [r2, #0] - 8002e56: e9d0 4302 ldrd r4, r3, [r0, #8] - 8002e5a: 4323 orrs r3, r4 - 8002e5c: 432b orrs r3, r5 - 8002e5e: 6945 ldr r5, [r0, #20] - 8002e60: 6811 ldr r1, [r2, #0] - 8002e62: 432b orrs r3, r5 - 8002e64: 6985 ldr r5, [r0, #24] - 8002e66: 432b orrs r3, r5 - 8002e68: 69c5 ldr r5, [r0, #28] - 8002e6a: 432b orrs r3, r5 - 8002e6c: 6a05 ldr r5, [r0, #32] - 8002e6e: 432b orrs r3, r5 - 8002e70: 430b orrs r3, r1 - 8002e72: 6013 str r3, [r2, #0] - 8002e74: f7ff ffae bl 8002dd4 - 8002e78: f5b4 4f80 cmp.w r4, #16384 ; 0x4000 - 8002e7c: bf04 itt eq - 8002e7e: 2300 moveq r3, #0 - 8002e80: 6043 streq r3, [r0, #4] - 8002e82: 6842 ldr r2, [r0, #4] - 8002e84: 6c81 ldr r1, [r0, #72] ; 0x48 - 8002e86: f002 037f and.w r3, r2, #127 ; 0x7f - 8002e8a: 600b str r3, [r1, #0] - 8002e8c: e9d0 1413 ldrd r1, r4, [r0, #76] ; 0x4c - 8002e90: 3a01 subs r2, #1 - 8002e92: 2a03 cmp r2, #3 - 8002e94: 604c str r4, [r1, #4] - 8002e96: d820 bhi.n 8002eda - 8002e98: 4a16 ldr r2, [pc, #88] ; (8002ef4 ) - 8002e9a: 4917 ldr r1, [pc, #92] ; (8002ef8 ) - 8002e9c: 6581 str r1, [r0, #88] ; 0x58 - 8002e9e: 441a add r2, r3 - 8002ea0: 3b01 subs r3, #1 - 8002ea2: 0092 lsls r2, r2, #2 - 8002ea4: 2101 movs r1, #1 - 8002ea6: f003 0303 and.w r3, r3, #3 - 8002eaa: fa01 f303 lsl.w r3, r1, r3 - 8002eae: 2100 movs r1, #0 - 8002eb0: 6542 str r2, [r0, #84] ; 0x54 - 8002eb2: 65c3 str r3, [r0, #92] ; 0x5c - 8002eb4: 6011 str r1, [r2, #0] - 8002eb6: 4a11 ldr r2, [pc, #68] ; (8002efc ) - 8002eb8: 6453 str r3, [r2, #68] ; 0x44 - 8002eba: 2300 movs r3, #0 - 8002ebc: 2201 movs r2, #1 - 8002ebe: 63c3 str r3, [r0, #60] ; 0x3c - 8002ec0: f880 3024 strb.w r3, [r0, #36] ; 0x24 - 8002ec4: f880 2025 strb.w r2, [r0, #37] ; 0x25 - 8002ec8: 4618 mov r0, r3 - 8002eca: bd38 pop {r3, r4, r5, pc} - 8002ecc: 4b0c ldr r3, [pc, #48] ; (8002f00 ) - 8002ece: 4413 add r3, r2 - 8002ed0: fbb3 f3f1 udiv r3, r3, r1 - 8002ed4: 490b ldr r1, [pc, #44] ; (8002f04 ) - 8002ed6: 009b lsls r3, r3, #2 - 8002ed8: e7b1 b.n 8002e3e - 8002eda: 2300 movs r3, #0 - 8002edc: e9c0 3315 strd r3, r3, [r0, #84] ; 0x54 - 8002ee0: 65c3 str r3, [r0, #92] ; 0x5c - 8002ee2: e7ea b.n 8002eba - 8002ee4: 2001 movs r0, #1 - 8002ee6: e7f0 b.n 8002eca - 8002ee8: 40020407 .word 0x40020407 - 8002eec: bffdfff8 .word 0xbffdfff8 - 8002ef0: 40020000 .word 0x40020000 - 8002ef4: 1000823f .word 0x1000823f - 8002ef8: 40020940 .word 0x40020940 - 8002efc: 40020900 .word 0x40020900 - 8002f00: bffdfbf8 .word 0xbffdfbf8 - 8002f04: 40020400 .word 0x40020400 +08002e34 : + 8002e34: b538 push {r3, r4, r5, lr} + 8002e36: 2800 cmp r0, #0 + 8002e38: d05e beq.n 8002ef8 + 8002e3a: 6802 ldr r2, [r0, #0] + 8002e3c: 4b2f ldr r3, [pc, #188] ; (8002efc ) + 8002e3e: 429a cmp r2, r3 + 8002e40: f04f 0114 mov.w r1, #20 + 8002e44: d84c bhi.n 8002ee0 + 8002e46: 4b2e ldr r3, [pc, #184] ; (8002f00 ) + 8002e48: 4413 add r3, r2 + 8002e4a: fbb3 f3f1 udiv r3, r3, r1 + 8002e4e: 492d ldr r1, [pc, #180] ; (8002f04 ) + 8002e50: 009b lsls r3, r3, #2 + 8002e52: e9c0 1310 strd r1, r3, [r0, #64] ; 0x40 + 8002e56: 2302 movs r3, #2 + 8002e58: f880 3025 strb.w r3, [r0, #37] ; 0x25 + 8002e5c: 6813 ldr r3, [r2, #0] + 8002e5e: 6905 ldr r5, [r0, #16] + 8002e60: f423 43ff bic.w r3, r3, #32640 ; 0x7f80 + 8002e64: f023 0370 bic.w r3, r3, #112 ; 0x70 + 8002e68: 6013 str r3, [r2, #0] + 8002e6a: e9d0 4302 ldrd r4, r3, [r0, #8] + 8002e6e: 4323 orrs r3, r4 + 8002e70: 432b orrs r3, r5 + 8002e72: 6945 ldr r5, [r0, #20] + 8002e74: 6811 ldr r1, [r2, #0] + 8002e76: 432b orrs r3, r5 + 8002e78: 6985 ldr r5, [r0, #24] + 8002e7a: 432b orrs r3, r5 + 8002e7c: 69c5 ldr r5, [r0, #28] + 8002e7e: 432b orrs r3, r5 + 8002e80: 6a05 ldr r5, [r0, #32] + 8002e82: 432b orrs r3, r5 + 8002e84: 430b orrs r3, r1 + 8002e86: 6013 str r3, [r2, #0] + 8002e88: f7ff ffae bl 8002de8 + 8002e8c: f5b4 4f80 cmp.w r4, #16384 ; 0x4000 + 8002e90: bf04 itt eq + 8002e92: 2300 moveq r3, #0 + 8002e94: 6043 streq r3, [r0, #4] + 8002e96: 6842 ldr r2, [r0, #4] + 8002e98: 6c81 ldr r1, [r0, #72] ; 0x48 + 8002e9a: f002 037f and.w r3, r2, #127 ; 0x7f + 8002e9e: 600b str r3, [r1, #0] + 8002ea0: e9d0 1413 ldrd r1, r4, [r0, #76] ; 0x4c + 8002ea4: 3a01 subs r2, #1 + 8002ea6: 2a03 cmp r2, #3 + 8002ea8: 604c str r4, [r1, #4] + 8002eaa: d820 bhi.n 8002eee + 8002eac: 4a16 ldr r2, [pc, #88] ; (8002f08 ) + 8002eae: 4917 ldr r1, [pc, #92] ; (8002f0c ) + 8002eb0: 6581 str r1, [r0, #88] ; 0x58 + 8002eb2: 441a add r2, r3 + 8002eb4: 3b01 subs r3, #1 + 8002eb6: 0092 lsls r2, r2, #2 + 8002eb8: 2101 movs r1, #1 + 8002eba: f003 0303 and.w r3, r3, #3 + 8002ebe: fa01 f303 lsl.w r3, r1, r3 + 8002ec2: 2100 movs r1, #0 + 8002ec4: 6542 str r2, [r0, #84] ; 0x54 + 8002ec6: 65c3 str r3, [r0, #92] ; 0x5c + 8002ec8: 6011 str r1, [r2, #0] + 8002eca: 4a11 ldr r2, [pc, #68] ; (8002f10 ) + 8002ecc: 6453 str r3, [r2, #68] ; 0x44 + 8002ece: 2300 movs r3, #0 + 8002ed0: 2201 movs r2, #1 + 8002ed2: 63c3 str r3, [r0, #60] ; 0x3c + 8002ed4: f880 3024 strb.w r3, [r0, #36] ; 0x24 + 8002ed8: f880 2025 strb.w r2, [r0, #37] ; 0x25 + 8002edc: 4618 mov r0, r3 + 8002ede: bd38 pop {r3, r4, r5, pc} + 8002ee0: 4b0c ldr r3, [pc, #48] ; (8002f14 ) + 8002ee2: 4413 add r3, r2 + 8002ee4: fbb3 f3f1 udiv r3, r3, r1 + 8002ee8: 490b ldr r1, [pc, #44] ; (8002f18 ) + 8002eea: 009b lsls r3, r3, #2 + 8002eec: e7b1 b.n 8002e52 + 8002eee: 2300 movs r3, #0 + 8002ef0: e9c0 3315 strd r3, r3, [r0, #84] ; 0x54 + 8002ef4: 65c3 str r3, [r0, #92] ; 0x5c + 8002ef6: e7ea b.n 8002ece + 8002ef8: 2001 movs r0, #1 + 8002efa: e7f0 b.n 8002ede + 8002efc: 40020407 .word 0x40020407 + 8002f00: bffdfff8 .word 0xbffdfff8 + 8002f04: 40020000 .word 0x40020000 + 8002f08: 1000823f .word 0x1000823f + 8002f0c: 40020940 .word 0x40020940 + 8002f10: 40020900 .word 0x40020900 + 8002f14: bffdfbf8 .word 0xbffdfbf8 + 8002f18: 40020400 .word 0x40020400 -08002f08 : - 8002f08: b538 push {r3, r4, r5, lr} - 8002f0a: 2800 cmp r0, #0 - 8002f0c: d041 beq.n 8002f92 - 8002f0e: 6802 ldr r2, [r0, #0] - 8002f10: 6813 ldr r3, [r2, #0] - 8002f12: f023 0301 bic.w r3, r3, #1 - 8002f16: 6013 str r3, [r2, #0] - 8002f18: 4b1f ldr r3, [pc, #124] ; (8002f98 ) - 8002f1a: 429a cmp r2, r3 - 8002f1c: f04f 0114 mov.w r1, #20 - 8002f20: d830 bhi.n 8002f84 - 8002f22: 4b1e ldr r3, [pc, #120] ; (8002f9c ) - 8002f24: 4413 add r3, r2 - 8002f26: fbb3 f3f1 udiv r3, r3, r1 - 8002f2a: 491d ldr r1, [pc, #116] ; (8002fa0 ) - 8002f2c: 009b lsls r3, r3, #2 - 8002f2e: e9c0 1310 strd r1, r3, [r0, #64] ; 0x40 - 8002f32: 2401 movs r4, #1 - 8002f34: f003 031c and.w r3, r3, #28 - 8002f38: fa04 f303 lsl.w r3, r4, r3 - 8002f3c: 2500 movs r5, #0 - 8002f3e: 6015 str r5, [r2, #0] - 8002f40: 604b str r3, [r1, #4] - 8002f42: f7ff ff47 bl 8002dd4 - 8002f46: 6c83 ldr r3, [r0, #72] ; 0x48 - 8002f48: 6841 ldr r1, [r0, #4] - 8002f4a: 601d str r5, [r3, #0] - 8002f4c: e9d0 3213 ldrd r3, r2, [r0, #76] ; 0x4c - 8002f50: 605a str r2, [r3, #4] - 8002f52: 1e4a subs r2, r1, #1 - 8002f54: 2a03 cmp r2, #3 - 8002f56: d806 bhi.n 8002f66 - 8002f58: 4b12 ldr r3, [pc, #72] ; (8002fa4 ) - 8002f5a: 440b add r3, r1 - 8002f5c: 009b lsls r3, r3, #2 - 8002f5e: 4094 lsls r4, r2 - 8002f60: 601d str r5, [r3, #0] - 8002f62: 4b11 ldr r3, [pc, #68] ; (8002fa8 ) - 8002f64: 645c str r4, [r3, #68] ; 0x44 - 8002f66: 2300 movs r3, #0 - 8002f68: 63c3 str r3, [r0, #60] ; 0x3c - 8002f6a: e9c0 3315 strd r3, r3, [r0, #84] ; 0x54 - 8002f6e: e9c0 330b strd r3, r3, [r0, #44] ; 0x2c - 8002f72: e9c0 330d strd r3, r3, [r0, #52] ; 0x34 - 8002f76: 65c3 str r3, [r0, #92] ; 0x5c - 8002f78: f880 3025 strb.w r3, [r0, #37] ; 0x25 - 8002f7c: f880 3024 strb.w r3, [r0, #36] ; 0x24 - 8002f80: 4618 mov r0, r3 - 8002f82: bd38 pop {r3, r4, r5, pc} - 8002f84: 4b09 ldr r3, [pc, #36] ; (8002fac ) - 8002f86: 4413 add r3, r2 - 8002f88: fbb3 f3f1 udiv r3, r3, r1 - 8002f8c: 4908 ldr r1, [pc, #32] ; (8002fb0 ) - 8002f8e: 009b lsls r3, r3, #2 - 8002f90: e7cd b.n 8002f2e - 8002f92: 2001 movs r0, #1 - 8002f94: e7f5 b.n 8002f82 - 8002f96: bf00 nop - 8002f98: 40020407 .word 0x40020407 - 8002f9c: bffdfff8 .word 0xbffdfff8 - 8002fa0: 40020000 .word 0x40020000 - 8002fa4: 1000823f .word 0x1000823f - 8002fa8: 40020900 .word 0x40020900 - 8002fac: bffdfbf8 .word 0xbffdfbf8 - 8002fb0: 40020400 .word 0x40020400 +08002f1c : + 8002f1c: b538 push {r3, r4, r5, lr} + 8002f1e: 2800 cmp r0, #0 + 8002f20: d041 beq.n 8002fa6 + 8002f22: 6802 ldr r2, [r0, #0] + 8002f24: 6813 ldr r3, [r2, #0] + 8002f26: f023 0301 bic.w r3, r3, #1 + 8002f2a: 6013 str r3, [r2, #0] + 8002f2c: 4b1f ldr r3, [pc, #124] ; (8002fac ) + 8002f2e: 429a cmp r2, r3 + 8002f30: f04f 0114 mov.w r1, #20 + 8002f34: d830 bhi.n 8002f98 + 8002f36: 4b1e ldr r3, [pc, #120] ; (8002fb0 ) + 8002f38: 4413 add r3, r2 + 8002f3a: fbb3 f3f1 udiv r3, r3, r1 + 8002f3e: 491d ldr r1, [pc, #116] ; (8002fb4 ) + 8002f40: 009b lsls r3, r3, #2 + 8002f42: e9c0 1310 strd r1, r3, [r0, #64] ; 0x40 + 8002f46: 2401 movs r4, #1 + 8002f48: f003 031c and.w r3, r3, #28 + 8002f4c: fa04 f303 lsl.w r3, r4, r3 + 8002f50: 2500 movs r5, #0 + 8002f52: 6015 str r5, [r2, #0] + 8002f54: 604b str r3, [r1, #4] + 8002f56: f7ff ff47 bl 8002de8 + 8002f5a: 6c83 ldr r3, [r0, #72] ; 0x48 + 8002f5c: 6841 ldr r1, [r0, #4] + 8002f5e: 601d str r5, [r3, #0] + 8002f60: e9d0 3213 ldrd r3, r2, [r0, #76] ; 0x4c + 8002f64: 605a str r2, [r3, #4] + 8002f66: 1e4a subs r2, r1, #1 + 8002f68: 2a03 cmp r2, #3 + 8002f6a: d806 bhi.n 8002f7a + 8002f6c: 4b12 ldr r3, [pc, #72] ; (8002fb8 ) + 8002f6e: 440b add r3, r1 + 8002f70: 009b lsls r3, r3, #2 + 8002f72: 4094 lsls r4, r2 + 8002f74: 601d str r5, [r3, #0] + 8002f76: 4b11 ldr r3, [pc, #68] ; (8002fbc ) + 8002f78: 645c str r4, [r3, #68] ; 0x44 + 8002f7a: 2300 movs r3, #0 + 8002f7c: 63c3 str r3, [r0, #60] ; 0x3c + 8002f7e: e9c0 3315 strd r3, r3, [r0, #84] ; 0x54 + 8002f82: e9c0 330b strd r3, r3, [r0, #44] ; 0x2c + 8002f86: e9c0 330d strd r3, r3, [r0, #52] ; 0x34 + 8002f8a: 65c3 str r3, [r0, #92] ; 0x5c + 8002f8c: f880 3025 strb.w r3, [r0, #37] ; 0x25 + 8002f90: f880 3024 strb.w r3, [r0, #36] ; 0x24 + 8002f94: 4618 mov r0, r3 + 8002f96: bd38 pop {r3, r4, r5, pc} + 8002f98: 4b09 ldr r3, [pc, #36] ; (8002fc0 ) + 8002f9a: 4413 add r3, r2 + 8002f9c: fbb3 f3f1 udiv r3, r3, r1 + 8002fa0: 4908 ldr r1, [pc, #32] ; (8002fc4 ) + 8002fa2: 009b lsls r3, r3, #2 + 8002fa4: e7cd b.n 8002f42 + 8002fa6: 2001 movs r0, #1 + 8002fa8: e7f5 b.n 8002f96 + 8002faa: bf00 nop + 8002fac: 40020407 .word 0x40020407 + 8002fb0: bffdfff8 .word 0xbffdfff8 + 8002fb4: 40020000 .word 0x40020000 + 8002fb8: 1000823f .word 0x1000823f + 8002fbc: 40020900 .word 0x40020900 + 8002fc0: bffdfbf8 .word 0xbffdfbf8 + 8002fc4: 40020400 .word 0x40020400 -08002fb4 : - 8002fb4: b570 push {r4, r5, r6, lr} - 8002fb6: f890 5024 ldrb.w r5, [r0, #36] ; 0x24 - 8002fba: 2d01 cmp r5, #1 - 8002fbc: 4604 mov r4, r0 - 8002fbe: d03b beq.n 8003038 - 8002fc0: f890 6025 ldrb.w r6, [r0, #37] ; 0x25 - 8002fc4: 2501 movs r5, #1 - 8002fc6: 42ae cmp r6, r5 - 8002fc8: f880 5024 strb.w r5, [r0, #36] ; 0x24 - 8002fcc: f04f 0600 mov.w r6, #0 - 8002fd0: d12c bne.n 800302c - 8002fd2: 2502 movs r5, #2 - 8002fd4: f880 5025 strb.w r5, [r0, #37] ; 0x25 - 8002fd8: 6805 ldr r5, [r0, #0] - 8002fda: 63c6 str r6, [r0, #60] ; 0x3c - 8002fdc: 682e ldr r6, [r5, #0] - 8002fde: f026 0601 bic.w r6, r6, #1 - 8002fe2: 602e str r6, [r5, #0] - 8002fe4: f7ff fedc bl 8002da0 - 8002fe8: 6b03 ldr r3, [r0, #48] ; 0x30 - 8002fea: b1bb cbz r3, 800301c - 8002fec: 682b ldr r3, [r5, #0] - 8002fee: f043 030e orr.w r3, r3, #14 - 8002ff2: 602b str r3, [r5, #0] - 8002ff4: 6ca3 ldr r3, [r4, #72] ; 0x48 - 8002ff6: 681a ldr r2, [r3, #0] - 8002ff8: 03d2 lsls r2, r2, #15 - 8002ffa: bf42 ittt mi - 8002ffc: 681a ldrmi r2, [r3, #0] - 8002ffe: f442 7280 orrmi.w r2, r2, #256 ; 0x100 - 8003002: 601a strmi r2, [r3, #0] - 8003004: 6d63 ldr r3, [r4, #84] ; 0x54 - 8003006: b11b cbz r3, 8003010 - 8003008: 681a ldr r2, [r3, #0] - 800300a: f442 7280 orr.w r2, r2, #256 ; 0x100 - 800300e: 601a str r2, [r3, #0] - 8003010: 682b ldr r3, [r5, #0] - 8003012: f043 0301 orr.w r3, r3, #1 - 8003016: 602b str r3, [r5, #0] - 8003018: 2000 movs r0, #0 - 800301a: bd70 pop {r4, r5, r6, pc} - 800301c: 682b ldr r3, [r5, #0] - 800301e: f023 0304 bic.w r3, r3, #4 - 8003022: 602b str r3, [r5, #0] +08002fc8 : + 8002fc8: b570 push {r4, r5, r6, lr} + 8002fca: f890 5024 ldrb.w r5, [r0, #36] ; 0x24 + 8002fce: 2d01 cmp r5, #1 + 8002fd0: 4604 mov r4, r0 + 8002fd2: d03b beq.n 800304c + 8002fd4: f890 6025 ldrb.w r6, [r0, #37] ; 0x25 + 8002fd8: 2501 movs r5, #1 + 8002fda: 42ae cmp r6, r5 + 8002fdc: f880 5024 strb.w r5, [r0, #36] ; 0x24 + 8002fe0: f04f 0600 mov.w r6, #0 + 8002fe4: d12c bne.n 8003040 + 8002fe6: 2502 movs r5, #2 + 8002fe8: f880 5025 strb.w r5, [r0, #37] ; 0x25 + 8002fec: 6805 ldr r5, [r0, #0] + 8002fee: 63c6 str r6, [r0, #60] ; 0x3c + 8002ff0: 682e ldr r6, [r5, #0] + 8002ff2: f026 0601 bic.w r6, r6, #1 + 8002ff6: 602e str r6, [r5, #0] + 8002ff8: f7ff fedc bl 8002db4 + 8002ffc: 6b03 ldr r3, [r0, #48] ; 0x30 + 8002ffe: b1bb cbz r3, 8003030 + 8003000: 682b ldr r3, [r5, #0] + 8003002: f043 030e orr.w r3, r3, #14 + 8003006: 602b str r3, [r5, #0] + 8003008: 6ca3 ldr r3, [r4, #72] ; 0x48 + 800300a: 681a ldr r2, [r3, #0] + 800300c: 03d2 lsls r2, r2, #15 + 800300e: bf42 ittt mi + 8003010: 681a ldrmi r2, [r3, #0] + 8003012: f442 7280 orrmi.w r2, r2, #256 ; 0x100 + 8003016: 601a strmi r2, [r3, #0] + 8003018: 6d63 ldr r3, [r4, #84] ; 0x54 + 800301a: b11b cbz r3, 8003024 + 800301c: 681a ldr r2, [r3, #0] + 800301e: f442 7280 orr.w r2, r2, #256 ; 0x100 + 8003022: 601a str r2, [r3, #0] 8003024: 682b ldr r3, [r5, #0] - 8003026: f043 030a orr.w r3, r3, #10 - 800302a: e7e2 b.n 8002ff2 - 800302c: 2380 movs r3, #128 ; 0x80 - 800302e: 63c3 str r3, [r0, #60] ; 0x3c - 8003030: f880 6024 strb.w r6, [r0, #36] ; 0x24 - 8003034: 4628 mov r0, r5 - 8003036: e7f0 b.n 800301a - 8003038: 2002 movs r0, #2 - 800303a: e7ee b.n 800301a + 8003026: f043 0301 orr.w r3, r3, #1 + 800302a: 602b str r3, [r5, #0] + 800302c: 2000 movs r0, #0 + 800302e: bd70 pop {r4, r5, r6, pc} + 8003030: 682b ldr r3, [r5, #0] + 8003032: f023 0304 bic.w r3, r3, #4 + 8003036: 602b str r3, [r5, #0] + 8003038: 682b ldr r3, [r5, #0] + 800303a: f043 030a orr.w r3, r3, #10 + 800303e: e7e2 b.n 8003006 + 8003040: 2380 movs r3, #128 ; 0x80 + 8003042: 63c3 str r3, [r0, #60] ; 0x3c + 8003044: f880 6024 strb.w r6, [r0, #36] ; 0x24 + 8003048: 4628 mov r0, r5 + 800304a: e7f0 b.n 800302e + 800304c: 2002 movs r0, #2 + 800304e: e7ee b.n 800302e -0800303c : - 800303c: 4603 mov r3, r0 - 800303e: b140 cbz r0, 8003052 - 8003040: f890 2025 ldrb.w r2, [r0, #37] ; 0x25 - 8003044: 2a02 cmp r2, #2 - 8003046: d006 beq.n 8003056 - 8003048: 2204 movs r2, #4 - 800304a: 63c2 str r2, [r0, #60] ; 0x3c - 800304c: 2200 movs r2, #0 - 800304e: f880 2024 strb.w r2, [r0, #36] ; 0x24 - 8003052: 2001 movs r0, #1 - 8003054: 4770 bx lr - 8003056: 6802 ldr r2, [r0, #0] - 8003058: 6c80 ldr r0, [r0, #72] ; 0x48 - 800305a: 6811 ldr r1, [r2, #0] - 800305c: f021 010e bic.w r1, r1, #14 - 8003060: 6011 str r1, [r2, #0] - 8003062: 6801 ldr r1, [r0, #0] - 8003064: f421 7180 bic.w r1, r1, #256 ; 0x100 - 8003068: 6001 str r1, [r0, #0] - 800306a: 6811 ldr r1, [r2, #0] - 800306c: f021 0101 bic.w r1, r1, #1 - 8003070: 6011 str r1, [r2, #0] - 8003072: e9d3 0210 ldrd r0, r2, [r3, #64] ; 0x40 - 8003076: f002 011c and.w r1, r2, #28 - 800307a: 2201 movs r2, #1 - 800307c: 408a lsls r2, r1 - 800307e: 6042 str r2, [r0, #4] - 8003080: e9d3 2113 ldrd r2, r1, [r3, #76] ; 0x4c - 8003084: 6051 str r1, [r2, #4] - 8003086: 6d5a ldr r2, [r3, #84] ; 0x54 - 8003088: b132 cbz r2, 8003098 - 800308a: 6811 ldr r1, [r2, #0] - 800308c: f421 7180 bic.w r1, r1, #256 ; 0x100 - 8003090: 6011 str r1, [r2, #0] - 8003092: e9d3 2116 ldrd r2, r1, [r3, #88] ; 0x58 - 8003096: 6051 str r1, [r2, #4] - 8003098: 2201 movs r2, #1 - 800309a: 2000 movs r0, #0 - 800309c: f883 2025 strb.w r2, [r3, #37] ; 0x25 - 80030a0: f883 0024 strb.w r0, [r3, #36] ; 0x24 - 80030a4: 4770 bx lr +08003050 : + 8003050: 4603 mov r3, r0 + 8003052: b140 cbz r0, 8003066 + 8003054: f890 2025 ldrb.w r2, [r0, #37] ; 0x25 + 8003058: 2a02 cmp r2, #2 + 800305a: d006 beq.n 800306a + 800305c: 2204 movs r2, #4 + 800305e: 63c2 str r2, [r0, #60] ; 0x3c + 8003060: 2200 movs r2, #0 + 8003062: f880 2024 strb.w r2, [r0, #36] ; 0x24 + 8003066: 2001 movs r0, #1 + 8003068: 4770 bx lr + 800306a: 6802 ldr r2, [r0, #0] + 800306c: 6c80 ldr r0, [r0, #72] ; 0x48 + 800306e: 6811 ldr r1, [r2, #0] + 8003070: f021 010e bic.w r1, r1, #14 + 8003074: 6011 str r1, [r2, #0] + 8003076: 6801 ldr r1, [r0, #0] + 8003078: f421 7180 bic.w r1, r1, #256 ; 0x100 + 800307c: 6001 str r1, [r0, #0] + 800307e: 6811 ldr r1, [r2, #0] + 8003080: f021 0101 bic.w r1, r1, #1 + 8003084: 6011 str r1, [r2, #0] + 8003086: e9d3 0210 ldrd r0, r2, [r3, #64] ; 0x40 + 800308a: f002 011c and.w r1, r2, #28 + 800308e: 2201 movs r2, #1 + 8003090: 408a lsls r2, r1 + 8003092: 6042 str r2, [r0, #4] + 8003094: e9d3 2113 ldrd r2, r1, [r3, #76] ; 0x4c + 8003098: 6051 str r1, [r2, #4] + 800309a: 6d5a ldr r2, [r3, #84] ; 0x54 + 800309c: b132 cbz r2, 80030ac + 800309e: 6811 ldr r1, [r2, #0] + 80030a0: f421 7180 bic.w r1, r1, #256 ; 0x100 + 80030a4: 6011 str r1, [r2, #0] + 80030a6: e9d3 2116 ldrd r2, r1, [r3, #88] ; 0x58 + 80030aa: 6051 str r1, [r2, #4] + 80030ac: 2201 movs r2, #1 + 80030ae: 2000 movs r0, #0 + 80030b0: f883 2025 strb.w r2, [r3, #37] ; 0x25 + 80030b4: f883 0024 strb.w r0, [r3, #36] ; 0x24 + 80030b8: 4770 bx lr -080030a6 : - 80030a6: b510 push {r4, lr} - 80030a8: f890 3025 ldrb.w r3, [r0, #37] ; 0x25 - 80030ac: 2b02 cmp r3, #2 - 80030ae: d003 beq.n 80030b8 - 80030b0: 2304 movs r3, #4 - 80030b2: 63c3 str r3, [r0, #60] ; 0x3c - 80030b4: 2001 movs r0, #1 - 80030b6: bd10 pop {r4, pc} - 80030b8: 6803 ldr r3, [r0, #0] - 80030ba: 681a ldr r2, [r3, #0] - 80030bc: f022 020e bic.w r2, r2, #14 - 80030c0: 601a str r2, [r3, #0] - 80030c2: 681a ldr r2, [r3, #0] - 80030c4: f022 0201 bic.w r2, r2, #1 - 80030c8: 601a str r2, [r3, #0] - 80030ca: 6c82 ldr r2, [r0, #72] ; 0x48 - 80030cc: 6813 ldr r3, [r2, #0] - 80030ce: f423 7380 bic.w r3, r3, #256 ; 0x100 - 80030d2: 6013 str r3, [r2, #0] - 80030d4: e9d0 1310 ldrd r1, r3, [r0, #64] ; 0x40 - 80030d8: f003 021c and.w r2, r3, #28 - 80030dc: 2301 movs r3, #1 - 80030de: 4093 lsls r3, r2 - 80030e0: 604b str r3, [r1, #4] - 80030e2: e9d0 3213 ldrd r3, r2, [r0, #76] ; 0x4c - 80030e6: 605a str r2, [r3, #4] - 80030e8: 6d43 ldr r3, [r0, #84] ; 0x54 - 80030ea: b133 cbz r3, 80030fa - 80030ec: 681a ldr r2, [r3, #0] - 80030ee: f422 7280 bic.w r2, r2, #256 ; 0x100 - 80030f2: 601a str r2, [r3, #0] - 80030f4: e9d0 3216 ldrd r3, r2, [r0, #88] ; 0x58 - 80030f8: 605a str r2, [r3, #4] - 80030fa: 2301 movs r3, #1 - 80030fc: f880 3025 strb.w r3, [r0, #37] ; 0x25 - 8003100: 6b83 ldr r3, [r0, #56] ; 0x38 - 8003102: 2400 movs r4, #0 - 8003104: f880 4024 strb.w r4, [r0, #36] ; 0x24 - 8003108: b113 cbz r3, 8003110 - 800310a: 4798 blx r3 - 800310c: 4620 mov r0, r4 - 800310e: e7d2 b.n 80030b6 - 8003110: 4618 mov r0, r3 - 8003112: e7d0 b.n 80030b6 +080030ba : + 80030ba: b510 push {r4, lr} + 80030bc: f890 3025 ldrb.w r3, [r0, #37] ; 0x25 + 80030c0: 2b02 cmp r3, #2 + 80030c2: d003 beq.n 80030cc + 80030c4: 2304 movs r3, #4 + 80030c6: 63c3 str r3, [r0, #60] ; 0x3c + 80030c8: 2001 movs r0, #1 + 80030ca: bd10 pop {r4, pc} + 80030cc: 6803 ldr r3, [r0, #0] + 80030ce: 681a ldr r2, [r3, #0] + 80030d0: f022 020e bic.w r2, r2, #14 + 80030d4: 601a str r2, [r3, #0] + 80030d6: 681a ldr r2, [r3, #0] + 80030d8: f022 0201 bic.w r2, r2, #1 + 80030dc: 601a str r2, [r3, #0] + 80030de: 6c82 ldr r2, [r0, #72] ; 0x48 + 80030e0: 6813 ldr r3, [r2, #0] + 80030e2: f423 7380 bic.w r3, r3, #256 ; 0x100 + 80030e6: 6013 str r3, [r2, #0] + 80030e8: e9d0 1310 ldrd r1, r3, [r0, #64] ; 0x40 + 80030ec: f003 021c and.w r2, r3, #28 + 80030f0: 2301 movs r3, #1 + 80030f2: 4093 lsls r3, r2 + 80030f4: 604b str r3, [r1, #4] + 80030f6: e9d0 3213 ldrd r3, r2, [r0, #76] ; 0x4c + 80030fa: 605a str r2, [r3, #4] + 80030fc: 6d43 ldr r3, [r0, #84] ; 0x54 + 80030fe: b133 cbz r3, 800310e + 8003100: 681a ldr r2, [r3, #0] + 8003102: f422 7280 bic.w r2, r2, #256 ; 0x100 + 8003106: 601a str r2, [r3, #0] + 8003108: e9d0 3216 ldrd r3, r2, [r0, #88] ; 0x58 + 800310c: 605a str r2, [r3, #4] + 800310e: 2301 movs r3, #1 + 8003110: f880 3025 strb.w r3, [r0, #37] ; 0x25 + 8003114: 6b83 ldr r3, [r0, #56] ; 0x38 + 8003116: 2400 movs r4, #0 + 8003118: f880 4024 strb.w r4, [r0, #36] ; 0x24 + 800311c: b113 cbz r3, 8003124 + 800311e: 4798 blx r3 + 8003120: 4620 mov r0, r4 + 8003122: e7d2 b.n 80030ca + 8003124: 4618 mov r0, r3 + 8003126: e7d0 b.n 80030ca -08003114 : - 8003114: b470 push {r4, r5, r6} - 8003116: 6c42 ldr r2, [r0, #68] ; 0x44 - 8003118: 6c04 ldr r4, [r0, #64] ; 0x40 - 800311a: 6803 ldr r3, [r0, #0] - 800311c: 6826 ldr r6, [r4, #0] - 800311e: 681d ldr r5, [r3, #0] - 8003120: f002 021c and.w r2, r2, #28 - 8003124: 2104 movs r1, #4 - 8003126: 4091 lsls r1, r2 - 8003128: 4231 tst r1, r6 - 800312a: d00f beq.n 800314c - 800312c: f015 0f04 tst.w r5, #4 - 8003130: d00c beq.n 800314c - 8003132: 681a ldr r2, [r3, #0] - 8003134: 0692 lsls r2, r2, #26 - 8003136: bf5e ittt pl - 8003138: 681a ldrpl r2, [r3, #0] - 800313a: f022 0204 bicpl.w r2, r2, #4 - 800313e: 601a strpl r2, [r3, #0] - 8003140: 6b03 ldr r3, [r0, #48] ; 0x30 - 8003142: 6061 str r1, [r4, #4] - 8003144: 2b00 cmp r3, #0 - 8003146: d033 beq.n 80031b0 - 8003148: bc70 pop {r4, r5, r6} - 800314a: 4718 bx r3 - 800314c: 2102 movs r1, #2 - 800314e: 4091 lsls r1, r2 - 8003150: 4231 tst r1, r6 - 8003152: d017 beq.n 8003184 - 8003154: f015 0f02 tst.w r5, #2 - 8003158: d014 beq.n 8003184 - 800315a: 681a ldr r2, [r3, #0] - 800315c: 0694 lsls r4, r2, #26 - 800315e: d406 bmi.n 800316e - 8003160: 681a ldr r2, [r3, #0] - 8003162: f022 020a bic.w r2, r2, #10 - 8003166: 601a str r2, [r3, #0] - 8003168: 2201 movs r2, #1 - 800316a: f880 2025 strb.w r2, [r0, #37] ; 0x25 - 800316e: 4a11 ldr r2, [pc, #68] ; (80031b4 ) - 8003170: 4293 cmp r3, r2 - 8003172: bf8c ite hi - 8003174: 4b10 ldrhi r3, [pc, #64] ; (80031b8 ) - 8003176: 4b11 ldrls r3, [pc, #68] ; (80031bc ) - 8003178: 6059 str r1, [r3, #4] - 800317a: 2300 movs r3, #0 - 800317c: f880 3024 strb.w r3, [r0, #36] ; 0x24 - 8003180: 6ac3 ldr r3, [r0, #44] ; 0x2c - 8003182: e7df b.n 8003144 - 8003184: 2108 movs r1, #8 - 8003186: 4091 lsls r1, r2 - 8003188: 4231 tst r1, r6 - 800318a: d011 beq.n 80031b0 - 800318c: 0729 lsls r1, r5, #28 - 800318e: d50f bpl.n 80031b0 - 8003190: 6819 ldr r1, [r3, #0] - 8003192: f021 010e bic.w r1, r1, #14 - 8003196: 6019 str r1, [r3, #0] - 8003198: 2301 movs r3, #1 - 800319a: fa03 f202 lsl.w r2, r3, r2 - 800319e: 6062 str r2, [r4, #4] - 80031a0: 63c3 str r3, [r0, #60] ; 0x3c - 80031a2: f880 3025 strb.w r3, [r0, #37] ; 0x25 - 80031a6: 2300 movs r3, #0 - 80031a8: f880 3024 strb.w r3, [r0, #36] ; 0x24 - 80031ac: 6b43 ldr r3, [r0, #52] ; 0x34 - 80031ae: e7c9 b.n 8003144 - 80031b0: bc70 pop {r4, r5, r6} - 80031b2: 4770 bx lr - 80031b4: 40020080 .word 0x40020080 - 80031b8: 40020400 .word 0x40020400 - 80031bc: 40020000 .word 0x40020000 +08003128 : + 8003128: b470 push {r4, r5, r6} + 800312a: 6c42 ldr r2, [r0, #68] ; 0x44 + 800312c: 6c04 ldr r4, [r0, #64] ; 0x40 + 800312e: 6803 ldr r3, [r0, #0] + 8003130: 6826 ldr r6, [r4, #0] + 8003132: 681d ldr r5, [r3, #0] + 8003134: f002 021c and.w r2, r2, #28 + 8003138: 2104 movs r1, #4 + 800313a: 4091 lsls r1, r2 + 800313c: 4231 tst r1, r6 + 800313e: d00f beq.n 8003160 + 8003140: f015 0f04 tst.w r5, #4 + 8003144: d00c beq.n 8003160 + 8003146: 681a ldr r2, [r3, #0] + 8003148: 0692 lsls r2, r2, #26 + 800314a: bf5e ittt pl + 800314c: 681a ldrpl r2, [r3, #0] + 800314e: f022 0204 bicpl.w r2, r2, #4 + 8003152: 601a strpl r2, [r3, #0] + 8003154: 6b03 ldr r3, [r0, #48] ; 0x30 + 8003156: 6061 str r1, [r4, #4] + 8003158: 2b00 cmp r3, #0 + 800315a: d033 beq.n 80031c4 + 800315c: bc70 pop {r4, r5, r6} + 800315e: 4718 bx r3 + 8003160: 2102 movs r1, #2 + 8003162: 4091 lsls r1, r2 + 8003164: 4231 tst r1, r6 + 8003166: d017 beq.n 8003198 + 8003168: f015 0f02 tst.w r5, #2 + 800316c: d014 beq.n 8003198 + 800316e: 681a ldr r2, [r3, #0] + 8003170: 0694 lsls r4, r2, #26 + 8003172: d406 bmi.n 8003182 + 8003174: 681a ldr r2, [r3, #0] + 8003176: f022 020a bic.w r2, r2, #10 + 800317a: 601a str r2, [r3, #0] + 800317c: 2201 movs r2, #1 + 800317e: f880 2025 strb.w r2, [r0, #37] ; 0x25 + 8003182: 4a11 ldr r2, [pc, #68] ; (80031c8 ) + 8003184: 4293 cmp r3, r2 + 8003186: bf8c ite hi + 8003188: 4b10 ldrhi r3, [pc, #64] ; (80031cc ) + 800318a: 4b11 ldrls r3, [pc, #68] ; (80031d0 ) + 800318c: 6059 str r1, [r3, #4] + 800318e: 2300 movs r3, #0 + 8003190: f880 3024 strb.w r3, [r0, #36] ; 0x24 + 8003194: 6ac3 ldr r3, [r0, #44] ; 0x2c + 8003196: e7df b.n 8003158 + 8003198: 2108 movs r1, #8 + 800319a: 4091 lsls r1, r2 + 800319c: 4231 tst r1, r6 + 800319e: d011 beq.n 80031c4 + 80031a0: 0729 lsls r1, r5, #28 + 80031a2: d50f bpl.n 80031c4 + 80031a4: 6819 ldr r1, [r3, #0] + 80031a6: f021 010e bic.w r1, r1, #14 + 80031aa: 6019 str r1, [r3, #0] + 80031ac: 2301 movs r3, #1 + 80031ae: fa03 f202 lsl.w r2, r3, r2 + 80031b2: 6062 str r2, [r4, #4] + 80031b4: 63c3 str r3, [r0, #60] ; 0x3c + 80031b6: f880 3025 strb.w r3, [r0, #37] ; 0x25 + 80031ba: 2300 movs r3, #0 + 80031bc: f880 3024 strb.w r3, [r0, #36] ; 0x24 + 80031c0: 6b43 ldr r3, [r0, #52] ; 0x34 + 80031c2: e7c9 b.n 8003158 + 80031c4: bc70 pop {r4, r5, r6} + 80031c6: 4770 bx lr + 80031c8: 40020080 .word 0x40020080 + 80031cc: 40020400 .word 0x40020400 + 80031d0: 40020000 .word 0x40020000 -080031c0 : - 80031c0: 4a0a ldr r2, [pc, #40] ; (80031ec ) - 80031c2: 6953 ldr r3, [r2, #20] - 80031c4: f443 2380 orr.w r3, r3, #262144 ; 0x40000 - 80031c8: b530 push {r4, r5, lr} - 80031ca: 6153 str r3, [r2, #20] - 80031cc: f3ef 8410 mrs r4, PRIMASK - 80031d0: b672 cpsid i - 80031d2: 2300 movs r3, #0 - 80031d4: 58cd ldr r5, [r1, r3] - 80031d6: 50c5 str r5, [r0, r3] - 80031d8: 3304 adds r3, #4 - 80031da: f5b3 7f80 cmp.w r3, #256 ; 0x100 - 80031de: d1f9 bne.n 80031d4 - 80031e0: 6913 ldr r3, [r2, #16] - 80031e2: 03db lsls r3, r3, #15 - 80031e4: d4fc bmi.n 80031e0 - 80031e6: f384 8810 msr PRIMASK, r4 - 80031ea: bd30 pop {r4, r5, pc} - 80031ec: 58004000 .word 0x58004000 +080031d4 : + 80031d4: 4a0a ldr r2, [pc, #40] ; (8003200 ) + 80031d6: 6953 ldr r3, [r2, #20] + 80031d8: f443 2380 orr.w r3, r3, #262144 ; 0x40000 + 80031dc: b530 push {r4, r5, lr} + 80031de: 6153 str r3, [r2, #20] + 80031e0: f3ef 8410 mrs r4, PRIMASK + 80031e4: b672 cpsid i + 80031e6: 2300 movs r3, #0 + 80031e8: 58cd ldr r5, [r1, r3] + 80031ea: 50c5 str r5, [r0, r3] + 80031ec: 3304 adds r3, #4 + 80031ee: f5b3 7f80 cmp.w r3, #256 ; 0x100 + 80031f2: d1f9 bne.n 80031e8 + 80031f4: 6913 ldr r3, [r2, #16] + 80031f6: 03db lsls r3, r3, #15 + 80031f8: d4fc bmi.n 80031f4 + 80031fa: f384 8810 msr PRIMASK, r4 + 80031fe: bd30 pop {r4, r5, pc} + 8003200: 58004000 .word 0x58004000 -080031f0 : - 80031f0: 4b06 ldr r3, [pc, #24] ; (800320c ) - 80031f2: 695a ldr r2, [r3, #20] - 80031f4: 2a00 cmp r2, #0 - 80031f6: bfbf itttt lt - 80031f8: 4a05 ldrlt r2, [pc, #20] ; (8003210 ) - 80031fa: 609a strlt r2, [r3, #8] - 80031fc: f102 3288 addlt.w r2, r2, #2290649224 ; 0x88888888 - 8003200: 609a strlt r2, [r3, #8] - 8003202: bfba itte lt - 8003204: 6958 ldrlt r0, [r3, #20] - 8003206: 0fc0 lsrlt r0, r0, #31 - 8003208: 2000 movge r0, #0 - 800320a: 4770 bx lr - 800320c: 58004000 .word 0x58004000 - 8003210: 45670123 .word 0x45670123 +08003204 : + 8003204: 4b06 ldr r3, [pc, #24] ; (8003220 ) + 8003206: 695a ldr r2, [r3, #20] + 8003208: 2a00 cmp r2, #0 + 800320a: bfbf itttt lt + 800320c: 4a05 ldrlt r2, [pc, #20] ; (8003224 ) + 800320e: 609a strlt r2, [r3, #8] + 8003210: f102 3288 addlt.w r2, r2, #2290649224 ; 0x88888888 + 8003214: 609a strlt r2, [r3, #8] + 8003216: bfba itte lt + 8003218: 6958 ldrlt r0, [r3, #20] + 800321a: 0fc0 lsrlt r0, r0, #31 + 800321c: 2000 movge r0, #0 + 800321e: 4770 bx lr + 8003220: 58004000 .word 0x58004000 + 8003224: 45670123 .word 0x45670123 -08003214 : - 8003214: 4b04 ldr r3, [pc, #16] ; (8003228 ) - 8003216: 695a ldr r2, [r3, #20] - 8003218: f042 4200 orr.w r2, r2, #2147483648 ; 0x80000000 - 800321c: 615a str r2, [r3, #20] - 800321e: 6958 ldr r0, [r3, #20] - 8003220: 43c0 mvns r0, r0 - 8003222: 0fc0 lsrs r0, r0, #31 - 8003224: 4770 bx lr - 8003226: bf00 nop - 8003228: 58004000 .word 0x58004000 +08003228 : + 8003228: 4b04 ldr r3, [pc, #16] ; (800323c ) + 800322a: 695a ldr r2, [r3, #20] + 800322c: f042 4200 orr.w r2, r2, #2147483648 ; 0x80000000 + 8003230: 615a str r2, [r3, #20] + 8003232: 6958 ldr r0, [r3, #20] + 8003234: 43c0 mvns r0, r0 + 8003236: 0fc0 lsrs r0, r0, #31 + 8003238: 4770 bx lr + 800323a: bf00 nop + 800323c: 58004000 .word 0x58004000 -0800322c : - 800322c: b570 push {r4, r5, r6, lr} - 800322e: 4605 mov r5, r0 - 8003230: f7fe fb4c bl 80018cc - 8003234: 4e12 ldr r6, [pc, #72] ; (8003280 ) - 8003236: 4604 mov r4, r0 - 8003238: 6933 ldr r3, [r6, #16] - 800323a: 03d9 lsls r1, r3, #15 - 800323c: d413 bmi.n 8003266 - 800323e: 6933 ldr r3, [r6, #16] - 8003240: 07da lsls r2, r3, #31 - 8003242: bf44 itt mi - 8003244: 2201 movmi r2, #1 - 8003246: 6132 strmi r2, [r6, #16] - 8003248: f24c 32fa movw r2, #50170 ; 0xc3fa - 800324c: 4013 ands r3, r2 - 800324e: d111 bne.n 8003274 - 8003250: 4e0b ldr r6, [pc, #44] ; (8003280 ) - 8003252: 6930 ldr r0, [r6, #16] - 8003254: f410 2080 ands.w r0, r0, #262144 ; 0x40000 - 8003258: d00b beq.n 8003272 - 800325a: f7fe fb37 bl 80018cc - 800325e: 1b00 subs r0, r0, r4 - 8003260: 42a8 cmp r0, r5 - 8003262: d3f6 bcc.n 8003252 - 8003264: e004 b.n 8003270 - 8003266: f7fe fb31 bl 80018cc - 800326a: 1b00 subs r0, r0, r4 - 800326c: 42a8 cmp r0, r5 - 800326e: d3e3 bcc.n 8003238 - 8003270: 2003 movs r0, #3 - 8003272: bd70 pop {r4, r5, r6, pc} - 8003274: 4a02 ldr r2, [pc, #8] ; (8003280 ) - 8003276: 6113 str r3, [r2, #16] - 8003278: 4a02 ldr r2, [pc, #8] ; (8003284 ) - 800327a: 2001 movs r0, #1 - 800327c: 6053 str r3, [r2, #4] - 800327e: e7f8 b.n 8003272 - 8003280: 58004000 .word 0x58004000 - 8003284: 20000450 .word 0x20000450 +08003240 : + 8003240: b570 push {r4, r5, r6, lr} + 8003242: 4605 mov r5, r0 + 8003244: f7fe fb42 bl 80018cc + 8003248: 4e12 ldr r6, [pc, #72] ; (8003294 ) + 800324a: 4604 mov r4, r0 + 800324c: 6933 ldr r3, [r6, #16] + 800324e: 03d9 lsls r1, r3, #15 + 8003250: d413 bmi.n 800327a + 8003252: 6933 ldr r3, [r6, #16] + 8003254: 07da lsls r2, r3, #31 + 8003256: bf44 itt mi + 8003258: 2201 movmi r2, #1 + 800325a: 6132 strmi r2, [r6, #16] + 800325c: f24c 32fa movw r2, #50170 ; 0xc3fa + 8003260: 4013 ands r3, r2 + 8003262: d111 bne.n 8003288 + 8003264: 4e0b ldr r6, [pc, #44] ; (8003294 ) + 8003266: 6930 ldr r0, [r6, #16] + 8003268: f410 2080 ands.w r0, r0, #262144 ; 0x40000 + 800326c: d00b beq.n 8003286 + 800326e: f7fe fb2d bl 80018cc + 8003272: 1b00 subs r0, r0, r4 + 8003274: 42a8 cmp r0, r5 + 8003276: d3f6 bcc.n 8003266 + 8003278: e004 b.n 8003284 + 800327a: f7fe fb27 bl 80018cc + 800327e: 1b00 subs r0, r0, r4 + 8003280: 42a8 cmp r0, r5 + 8003282: d3e3 bcc.n 800324c + 8003284: 2003 movs r0, #3 + 8003286: bd70 pop {r4, r5, r6, pc} + 8003288: 4a02 ldr r2, [pc, #8] ; (8003294 ) + 800328a: 6113 str r3, [r2, #16] + 800328c: 4a02 ldr r2, [pc, #8] ; (8003298 ) + 800328e: 2001 movs r0, #1 + 8003290: 6053 str r3, [r2, #4] + 8003292: e7f8 b.n 8003286 + 8003294: 58004000 .word 0x58004000 + 8003298: 20000450 .word 0x20000450 -08003288 : - 8003288: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800328c: 4d18 ldr r5, [pc, #96] ; (80032f0 ) - 800328e: 4698 mov r8, r3 - 8003290: 782b ldrb r3, [r5, #0] - 8003292: 2b01 cmp r3, #1 - 8003294: 4606 mov r6, r0 - 8003296: 460c mov r4, r1 - 8003298: 4617 mov r7, r2 - 800329a: d026 beq.n 80032ea - 800329c: 2301 movs r3, #1 - 800329e: 702b strb r3, [r5, #0] - 80032a0: f44f 707a mov.w r0, #1000 ; 0x3e8 - 80032a4: 2300 movs r3, #0 - 80032a6: 606b str r3, [r5, #4] - 80032a8: f7ff ffc0 bl 800322c - 80032ac: b9a0 cbnz r0, 80032d8 - 80032ae: 2e01 cmp r6, #1 - 80032b0: d116 bne.n 80032e0 - 80032b2: 4a10 ldr r2, [pc, #64] ; (80032f4 ) - 80032b4: 6953 ldr r3, [r2, #20] - 80032b6: f043 0301 orr.w r3, r3, #1 - 80032ba: 6153 str r3, [r2, #20] - 80032bc: 6027 str r7, [r4, #0] - 80032be: f3bf 8f6f isb sy - 80032c2: f8c4 8004 str.w r8, [r4, #4] - 80032c6: f44f 707a mov.w r0, #1000 ; 0x3e8 - 80032ca: f7ff ffaf bl 800322c - 80032ce: 4a09 ldr r2, [pc, #36] ; (80032f4 ) - 80032d0: 6953 ldr r3, [r2, #20] - 80032d2: ea23 0306 bic.w r3, r3, r6 - 80032d6: 6153 str r3, [r2, #20] - 80032d8: 2300 movs r3, #0 - 80032da: 702b strb r3, [r5, #0] - 80032dc: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 80032e0: 4639 mov r1, r7 - 80032e2: 4620 mov r0, r4 - 80032e4: f7ff ff6c bl 80031c0 - 80032e8: e7ed b.n 80032c6 - 80032ea: 2002 movs r0, #2 - 80032ec: e7f6 b.n 80032dc - 80032ee: bf00 nop - 80032f0: 20000450 .word 0x20000450 - 80032f4: 58004000 .word 0x58004000 +0800329c : + 800329c: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 80032a0: 4d18 ldr r5, [pc, #96] ; (8003304 ) + 80032a2: 4698 mov r8, r3 + 80032a4: 782b ldrb r3, [r5, #0] + 80032a6: 2b01 cmp r3, #1 + 80032a8: 4606 mov r6, r0 + 80032aa: 460c mov r4, r1 + 80032ac: 4617 mov r7, r2 + 80032ae: d026 beq.n 80032fe + 80032b0: 2301 movs r3, #1 + 80032b2: 702b strb r3, [r5, #0] + 80032b4: f44f 707a mov.w r0, #1000 ; 0x3e8 + 80032b8: 2300 movs r3, #0 + 80032ba: 606b str r3, [r5, #4] + 80032bc: f7ff ffc0 bl 8003240 + 80032c0: b9a0 cbnz r0, 80032ec + 80032c2: 2e01 cmp r6, #1 + 80032c4: d116 bne.n 80032f4 + 80032c6: 4a10 ldr r2, [pc, #64] ; (8003308 ) + 80032c8: 6953 ldr r3, [r2, #20] + 80032ca: f043 0301 orr.w r3, r3, #1 + 80032ce: 6153 str r3, [r2, #20] + 80032d0: 6027 str r7, [r4, #0] + 80032d2: f3bf 8f6f isb sy + 80032d6: f8c4 8004 str.w r8, [r4, #4] + 80032da: f44f 707a mov.w r0, #1000 ; 0x3e8 + 80032de: f7ff ffaf bl 8003240 + 80032e2: 4a09 ldr r2, [pc, #36] ; (8003308 ) + 80032e4: 6953 ldr r3, [r2, #20] + 80032e6: ea23 0306 bic.w r3, r3, r6 + 80032ea: 6153 str r3, [r2, #20] + 80032ec: 2300 movs r3, #0 + 80032ee: 702b strb r3, [r5, #0] + 80032f0: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 80032f4: 4639 mov r1, r7 + 80032f6: 4620 mov r0, r4 + 80032f8: f7ff ff6c bl 80031d4 + 80032fc: e7ed b.n 80032da + 80032fe: 2002 movs r0, #2 + 8003300: e7f6 b.n 80032f0 + 8003302: bf00 nop + 8003304: 20000450 .word 0x20000450 + 8003308: 58004000 .word 0x58004000 -080032f8 : - 80032f8: 4a05 ldr r2, [pc, #20] ; (8003310 ) - 80032fa: 6953 ldr r3, [r2, #20] - 80032fc: f423 737e bic.w r3, r3, #1016 ; 0x3f8 - 8003300: ea43 00c0 orr.w r0, r3, r0, lsl #3 - 8003304: f440 3080 orr.w r0, r0, #65536 ; 0x10000 - 8003308: f040 0002 orr.w r0, r0, #2 - 800330c: 6150 str r0, [r2, #20] - 800330e: 4770 bx lr - 8003310: 58004000 .word 0x58004000 +0800330c : + 800330c: 4a05 ldr r2, [pc, #20] ; (8003324 ) + 800330e: 6953 ldr r3, [r2, #20] + 8003310: f423 737e bic.w r3, r3, #1016 ; 0x3f8 + 8003314: ea43 00c0 orr.w r0, r3, r0, lsl #3 + 8003318: f440 3080 orr.w r0, r0, #65536 ; 0x10000 + 800331c: f040 0002 orr.w r0, r0, #2 + 8003320: 6150 str r0, [r2, #20] + 8003322: 4770 bx lr + 8003324: 58004000 .word 0x58004000 -08003314 : - 8003314: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8003318: 4f23 ldr r7, [pc, #140] ; (80033a8 ) - 800331a: 783b ldrb r3, [r7, #0] - 800331c: 2b01 cmp r3, #1 - 800331e: 4605 mov r5, r0 - 8003320: 4688 mov r8, r1 - 8003322: d03f beq.n 80033a4 - 8003324: 2301 movs r3, #1 - 8003326: 703b strb r3, [r7, #0] - 8003328: f44f 707a mov.w r0, #1000 ; 0x3e8 - 800332c: 2300 movs r3, #0 - 800332e: 607b str r3, [r7, #4] - 8003330: f7ff ff7c bl 800322c - 8003334: 4604 mov r4, r0 - 8003336: b988 cbnz r0, 800335c - 8003338: 682b ldr r3, [r5, #0] - 800333a: 2b04 cmp r3, #4 - 800333c: d113 bne.n 8003366 - 800333e: 4a1b ldr r2, [pc, #108] ; (80033ac ) - 8003340: 6953 ldr r3, [r2, #20] - 8003342: f443 3380 orr.w r3, r3, #65536 ; 0x10000 - 8003346: f043 0304 orr.w r3, r3, #4 - 800334a: 6153 str r3, [r2, #20] - 800334c: f44f 707a mov.w r0, #1000 ; 0x3e8 - 8003350: f7ff ff6c bl 800322c - 8003354: 4604 mov r4, r0 - 8003356: 4b15 ldr r3, [pc, #84] ; (80033ac ) - 8003358: 681a ldr r2, [r3, #0] - 800335a: 681b ldr r3, [r3, #0] - 800335c: 2300 movs r3, #0 - 800335e: 703b strb r3, [r7, #0] - 8003360: 4620 mov r0, r4 - 8003362: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8003366: f04f 33ff mov.w r3, #4294967295 - 800336a: f8c8 3000 str.w r3, [r8] - 800336e: 686e ldr r6, [r5, #4] - 8003370: e9d5 3201 ldrd r3, r2, [r5, #4] - 8003374: 4413 add r3, r2 - 8003376: 42b3 cmp r3, r6 - 8003378: d90a bls.n 8003390 - 800337a: 4630 mov r0, r6 - 800337c: f7ff ffbc bl 80032f8 - 8003380: f44f 707a mov.w r0, #1000 ; 0x3e8 - 8003384: f7ff ff52 bl 800322c - 8003388: b150 cbz r0, 80033a0 - 800338a: f8c8 6000 str.w r6, [r8] - 800338e: 4604 mov r4, r0 - 8003390: 4a06 ldr r2, [pc, #24] ; (80033ac ) - 8003392: 6953 ldr r3, [r2, #20] - 8003394: f423 737e bic.w r3, r3, #1016 ; 0x3f8 - 8003398: f023 0302 bic.w r3, r3, #2 - 800339c: 6153 str r3, [r2, #20] - 800339e: e7da b.n 8003356 - 80033a0: 3601 adds r6, #1 - 80033a2: e7e5 b.n 8003370 - 80033a4: 2402 movs r4, #2 - 80033a6: e7db b.n 8003360 - 80033a8: 20000450 .word 0x20000450 - 80033ac: 58004000 .word 0x58004000 +08003328 : + 8003328: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800332c: 4f23 ldr r7, [pc, #140] ; (80033bc ) + 800332e: 783b ldrb r3, [r7, #0] + 8003330: 2b01 cmp r3, #1 + 8003332: 4605 mov r5, r0 + 8003334: 4688 mov r8, r1 + 8003336: d03f beq.n 80033b8 + 8003338: 2301 movs r3, #1 + 800333a: 703b strb r3, [r7, #0] + 800333c: f44f 707a mov.w r0, #1000 ; 0x3e8 + 8003340: 2300 movs r3, #0 + 8003342: 607b str r3, [r7, #4] + 8003344: f7ff ff7c bl 8003240 + 8003348: 4604 mov r4, r0 + 800334a: b988 cbnz r0, 8003370 + 800334c: 682b ldr r3, [r5, #0] + 800334e: 2b04 cmp r3, #4 + 8003350: d113 bne.n 800337a + 8003352: 4a1b ldr r2, [pc, #108] ; (80033c0 ) + 8003354: 6953 ldr r3, [r2, #20] + 8003356: f443 3380 orr.w r3, r3, #65536 ; 0x10000 + 800335a: f043 0304 orr.w r3, r3, #4 + 800335e: 6153 str r3, [r2, #20] + 8003360: f44f 707a mov.w r0, #1000 ; 0x3e8 + 8003364: f7ff ff6c bl 8003240 + 8003368: 4604 mov r4, r0 + 800336a: 4b15 ldr r3, [pc, #84] ; (80033c0 ) + 800336c: 681a ldr r2, [r3, #0] + 800336e: 681b ldr r3, [r3, #0] + 8003370: 2300 movs r3, #0 + 8003372: 703b strb r3, [r7, #0] + 8003374: 4620 mov r0, r4 + 8003376: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800337a: f04f 33ff mov.w r3, #4294967295 + 800337e: f8c8 3000 str.w r3, [r8] + 8003382: 686e ldr r6, [r5, #4] + 8003384: e9d5 3201 ldrd r3, r2, [r5, #4] + 8003388: 4413 add r3, r2 + 800338a: 42b3 cmp r3, r6 + 800338c: d90a bls.n 80033a4 + 800338e: 4630 mov r0, r6 + 8003390: f7ff ffbc bl 800330c + 8003394: f44f 707a mov.w r0, #1000 ; 0x3e8 + 8003398: f7ff ff52 bl 8003240 + 800339c: b150 cbz r0, 80033b4 + 800339e: f8c8 6000 str.w r6, [r8] + 80033a2: 4604 mov r4, r0 + 80033a4: 4a06 ldr r2, [pc, #24] ; (80033c0 ) + 80033a6: 6953 ldr r3, [r2, #20] + 80033a8: f423 737e bic.w r3, r3, #1016 ; 0x3f8 + 80033ac: f023 0302 bic.w r3, r3, #2 + 80033b0: 6153 str r3, [r2, #20] + 80033b2: e7da b.n 800336a + 80033b4: 3601 adds r6, #1 + 80033b6: e7e5 b.n 8003384 + 80033b8: 2402 movs r4, #2 + 80033ba: e7db b.n 8003374 + 80033bc: 20000450 .word 0x20000450 + 80033c0: 58004000 .word 0x58004000 -080033b0 : - 80033b0: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 80033b4: 4c52 ldr r4, [pc, #328] ; (8003500 ) - 80033b6: 2300 movs r3, #0 - 80033b8: f04f 090f mov.w r9, #15 - 80033bc: 680a ldr r2, [r1, #0] - 80033be: fa32 f503 lsrs.w r5, r2, r3 - 80033c2: d101 bne.n 80033c8 - 80033c4: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 80033c8: 2501 movs r5, #1 - 80033ca: fa05 f803 lsl.w r8, r5, r3 - 80033ce: ea18 0202 ands.w r2, r8, r2 - 80033d2: f000 808e beq.w 80034f2 - 80033d6: 684e ldr r6, [r1, #4] - 80033d8: 2703 movs r7, #3 - 80033da: f006 0503 and.w r5, r6, #3 - 80033de: ea4f 0e43 mov.w lr, r3, lsl #1 - 80033e2: fa07 fc0e lsl.w ip, r7, lr - 80033e6: 1e6f subs r7, r5, #1 - 80033e8: 2f01 cmp r7, #1 - 80033ea: ea6f 0c0c mvn.w ip, ip - 80033ee: d832 bhi.n 8003456 - 80033f0: 6887 ldr r7, [r0, #8] - 80033f2: ea07 0a0c and.w sl, r7, ip - 80033f6: 68cf ldr r7, [r1, #12] - 80033f8: fa07 f70e lsl.w r7, r7, lr - 80033fc: ea47 070a orr.w r7, r7, sl - 8003400: 6087 str r7, [r0, #8] - 8003402: 6847 ldr r7, [r0, #4] - 8003404: ea27 0808 bic.w r8, r7, r8 - 8003408: f3c6 1700 ubfx r7, r6, #4, #1 - 800340c: 409f lsls r7, r3 - 800340e: ea47 0708 orr.w r7, r7, r8 - 8003412: 6047 str r7, [r0, #4] - 8003414: 68c7 ldr r7, [r0, #12] - 8003416: ea07 080c and.w r8, r7, ip - 800341a: 688f ldr r7, [r1, #8] - 800341c: fa07 f70e lsl.w r7, r7, lr - 8003420: ea47 0708 orr.w r7, r7, r8 - 8003424: 2d02 cmp r5, #2 - 8003426: 60c7 str r7, [r0, #12] - 8003428: d117 bne.n 800345a - 800342a: ea4f 08d3 mov.w r8, r3, lsr #3 - 800342e: eb00 0888 add.w r8, r0, r8, lsl #2 - 8003432: f003 0a07 and.w sl, r3, #7 - 8003436: f8d8 7020 ldr.w r7, [r8, #32] - 800343a: ea4f 0a8a mov.w sl, sl, lsl #2 - 800343e: fa09 fb0a lsl.w fp, r9, sl - 8003442: ea27 0b0b bic.w fp, r7, fp - 8003446: 690f ldr r7, [r1, #16] - 8003448: fa07 f70a lsl.w r7, r7, sl - 800344c: ea47 070b orr.w r7, r7, fp - 8003450: f8c8 7020 str.w r7, [r8, #32] - 8003454: e001 b.n 800345a - 8003456: 2d03 cmp r5, #3 - 8003458: d1dc bne.n 8003414 - 800345a: 6807 ldr r7, [r0, #0] - 800345c: fa05 f50e lsl.w r5, r5, lr - 8003460: ea07 070c and.w r7, r7, ip - 8003464: 433d orrs r5, r7 - 8003466: f416 3f40 tst.w r6, #196608 ; 0x30000 - 800346a: 6005 str r5, [r0, #0] - 800346c: d041 beq.n 80034f2 - 800346e: f023 0703 bic.w r7, r3, #3 - 8003472: f107 4780 add.w r7, r7, #1073741824 ; 0x40000000 - 8003476: f507 3780 add.w r7, r7, #65536 ; 0x10000 - 800347a: f003 0c03 and.w ip, r3, #3 - 800347e: 68bd ldr r5, [r7, #8] - 8003480: ea4f 0c8c mov.w ip, ip, lsl #2 - 8003484: f04f 0e07 mov.w lr, #7 - 8003488: fa0e fe0c lsl.w lr, lr, ip - 800348c: f1b0 4f90 cmp.w r0, #1207959552 ; 0x48000000 - 8003490: ea25 0e0e bic.w lr, r5, lr - 8003494: d02f beq.n 80034f6 - 8003496: 4d1b ldr r5, [pc, #108] ; (8003504 ) - 8003498: 42a8 cmp r0, r5 - 800349a: d02e beq.n 80034fa - 800349c: f505 6580 add.w r5, r5, #1024 ; 0x400 - 80034a0: 42a8 cmp r0, r5 - 80034a2: bf0c ite eq - 80034a4: 2502 moveq r5, #2 - 80034a6: 2507 movne r5, #7 - 80034a8: fa05 f50c lsl.w r5, r5, ip - 80034ac: ea45 050e orr.w r5, r5, lr - 80034b0: 60bd str r5, [r7, #8] - 80034b2: 6825 ldr r5, [r4, #0] - 80034b4: 43d7 mvns r7, r2 - 80034b6: f416 1f80 tst.w r6, #1048576 ; 0x100000 - 80034ba: bf0c ite eq - 80034bc: 403d andeq r5, r7 - 80034be: 4315 orrne r5, r2 - 80034c0: 6025 str r5, [r4, #0] - 80034c2: 6865 ldr r5, [r4, #4] - 80034c4: f416 1f00 tst.w r6, #2097152 ; 0x200000 - 80034c8: bf0c ite eq - 80034ca: 403d andeq r5, r7 - 80034cc: 4315 orrne r5, r2 - 80034ce: 6065 str r5, [r4, #4] - 80034d0: f8d4 5080 ldr.w r5, [r4, #128] ; 0x80 - 80034d4: f416 3f80 tst.w r6, #65536 ; 0x10000 - 80034d8: bf0c ite eq - 80034da: 403d andeq r5, r7 - 80034dc: 4315 orrne r5, r2 - 80034de: f8c4 5080 str.w r5, [r4, #128] ; 0x80 - 80034e2: f8d4 5084 ldr.w r5, [r4, #132] ; 0x84 - 80034e6: 03b6 lsls r6, r6, #14 - 80034e8: bf54 ite pl - 80034ea: 403d andpl r5, r7 - 80034ec: 4315 orrmi r5, r2 - 80034ee: f8c4 5084 str.w r5, [r4, #132] ; 0x84 - 80034f2: 3301 adds r3, #1 - 80034f4: e762 b.n 80033bc - 80034f6: 2500 movs r5, #0 - 80034f8: e7d6 b.n 80034a8 - 80034fa: 2501 movs r5, #1 - 80034fc: e7d4 b.n 80034a8 - 80034fe: bf00 nop - 8003500: 58000800 .word 0x58000800 - 8003504: 48000400 .word 0x48000400 +080033c4 : + 80033c4: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 80033c8: 4c52 ldr r4, [pc, #328] ; (8003514 ) + 80033ca: 2300 movs r3, #0 + 80033cc: f04f 090f mov.w r9, #15 + 80033d0: 680a ldr r2, [r1, #0] + 80033d2: fa32 f503 lsrs.w r5, r2, r3 + 80033d6: d101 bne.n 80033dc + 80033d8: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 80033dc: 2501 movs r5, #1 + 80033de: fa05 f803 lsl.w r8, r5, r3 + 80033e2: ea18 0202 ands.w r2, r8, r2 + 80033e6: f000 808e beq.w 8003506 + 80033ea: 684e ldr r6, [r1, #4] + 80033ec: 2703 movs r7, #3 + 80033ee: f006 0503 and.w r5, r6, #3 + 80033f2: ea4f 0e43 mov.w lr, r3, lsl #1 + 80033f6: fa07 fc0e lsl.w ip, r7, lr + 80033fa: 1e6f subs r7, r5, #1 + 80033fc: 2f01 cmp r7, #1 + 80033fe: ea6f 0c0c mvn.w ip, ip + 8003402: d832 bhi.n 800346a + 8003404: 6887 ldr r7, [r0, #8] + 8003406: ea07 0a0c and.w sl, r7, ip + 800340a: 68cf ldr r7, [r1, #12] + 800340c: fa07 f70e lsl.w r7, r7, lr + 8003410: ea47 070a orr.w r7, r7, sl + 8003414: 6087 str r7, [r0, #8] + 8003416: 6847 ldr r7, [r0, #4] + 8003418: ea27 0808 bic.w r8, r7, r8 + 800341c: f3c6 1700 ubfx r7, r6, #4, #1 + 8003420: 409f lsls r7, r3 + 8003422: ea47 0708 orr.w r7, r7, r8 + 8003426: 6047 str r7, [r0, #4] + 8003428: 68c7 ldr r7, [r0, #12] + 800342a: ea07 080c and.w r8, r7, ip + 800342e: 688f ldr r7, [r1, #8] + 8003430: fa07 f70e lsl.w r7, r7, lr + 8003434: ea47 0708 orr.w r7, r7, r8 + 8003438: 2d02 cmp r5, #2 + 800343a: 60c7 str r7, [r0, #12] + 800343c: d117 bne.n 800346e + 800343e: ea4f 08d3 mov.w r8, r3, lsr #3 + 8003442: eb00 0888 add.w r8, r0, r8, lsl #2 + 8003446: f003 0a07 and.w sl, r3, #7 + 800344a: f8d8 7020 ldr.w r7, [r8, #32] + 800344e: ea4f 0a8a mov.w sl, sl, lsl #2 + 8003452: fa09 fb0a lsl.w fp, r9, sl + 8003456: ea27 0b0b bic.w fp, r7, fp + 800345a: 690f ldr r7, [r1, #16] + 800345c: fa07 f70a lsl.w r7, r7, sl + 8003460: ea47 070b orr.w r7, r7, fp + 8003464: f8c8 7020 str.w r7, [r8, #32] + 8003468: e001 b.n 800346e + 800346a: 2d03 cmp r5, #3 + 800346c: d1dc bne.n 8003428 + 800346e: 6807 ldr r7, [r0, #0] + 8003470: fa05 f50e lsl.w r5, r5, lr + 8003474: ea07 070c and.w r7, r7, ip + 8003478: 433d orrs r5, r7 + 800347a: f416 3f40 tst.w r6, #196608 ; 0x30000 + 800347e: 6005 str r5, [r0, #0] + 8003480: d041 beq.n 8003506 + 8003482: f023 0703 bic.w r7, r3, #3 + 8003486: f107 4780 add.w r7, r7, #1073741824 ; 0x40000000 + 800348a: f507 3780 add.w r7, r7, #65536 ; 0x10000 + 800348e: f003 0c03 and.w ip, r3, #3 + 8003492: 68bd ldr r5, [r7, #8] + 8003494: ea4f 0c8c mov.w ip, ip, lsl #2 + 8003498: f04f 0e07 mov.w lr, #7 + 800349c: fa0e fe0c lsl.w lr, lr, ip + 80034a0: f1b0 4f90 cmp.w r0, #1207959552 ; 0x48000000 + 80034a4: ea25 0e0e bic.w lr, r5, lr + 80034a8: d02f beq.n 800350a + 80034aa: 4d1b ldr r5, [pc, #108] ; (8003518 ) + 80034ac: 42a8 cmp r0, r5 + 80034ae: d02e beq.n 800350e + 80034b0: f505 6580 add.w r5, r5, #1024 ; 0x400 + 80034b4: 42a8 cmp r0, r5 + 80034b6: bf0c ite eq + 80034b8: 2502 moveq r5, #2 + 80034ba: 2507 movne r5, #7 + 80034bc: fa05 f50c lsl.w r5, r5, ip + 80034c0: ea45 050e orr.w r5, r5, lr + 80034c4: 60bd str r5, [r7, #8] + 80034c6: 6825 ldr r5, [r4, #0] + 80034c8: 43d7 mvns r7, r2 + 80034ca: f416 1f80 tst.w r6, #1048576 ; 0x100000 + 80034ce: bf0c ite eq + 80034d0: 403d andeq r5, r7 + 80034d2: 4315 orrne r5, r2 + 80034d4: 6025 str r5, [r4, #0] + 80034d6: 6865 ldr r5, [r4, #4] + 80034d8: f416 1f00 tst.w r6, #2097152 ; 0x200000 + 80034dc: bf0c ite eq + 80034de: 403d andeq r5, r7 + 80034e0: 4315 orrne r5, r2 + 80034e2: 6065 str r5, [r4, #4] + 80034e4: f8d4 5080 ldr.w r5, [r4, #128] ; 0x80 + 80034e8: f416 3f80 tst.w r6, #65536 ; 0x10000 + 80034ec: bf0c ite eq + 80034ee: 403d andeq r5, r7 + 80034f0: 4315 orrne r5, r2 + 80034f2: f8c4 5080 str.w r5, [r4, #128] ; 0x80 + 80034f6: f8d4 5084 ldr.w r5, [r4, #132] ; 0x84 + 80034fa: 03b6 lsls r6, r6, #14 + 80034fc: bf54 ite pl + 80034fe: 403d andpl r5, r7 + 8003500: 4315 orrmi r5, r2 + 8003502: f8c4 5084 str.w r5, [r4, #132] ; 0x84 + 8003506: 3301 adds r3, #1 + 8003508: e762 b.n 80033d0 + 800350a: 2500 movs r5, #0 + 800350c: e7d6 b.n 80034bc + 800350e: 2501 movs r5, #1 + 8003510: e7d4 b.n 80034bc + 8003512: bf00 nop + 8003514: 58000800 .word 0x58000800 + 8003518: 48000400 .word 0x48000400 -08003508 : - 8003508: 4a37 ldr r2, [pc, #220] ; (80035e8 ) - 800350a: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800350e: 2300 movs r3, #0 - 8003510: f04f 0a01 mov.w sl, #1 - 8003514: f04f 0b07 mov.w fp, #7 - 8003518: f04f 090f mov.w r9, #15 - 800351c: fa31 f403 lsrs.w r4, r1, r3 - 8003520: d101 bne.n 8003526 - 8003522: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8003526: fa0a fc03 lsl.w ip, sl, r3 - 800352a: ea1c 0601 ands.w r6, ip, r1 - 800352e: d054 beq.n 80035da - 8003530: f023 0403 bic.w r4, r3, #3 - 8003534: f104 4480 add.w r4, r4, #1073741824 ; 0x40000000 - 8003538: f504 3480 add.w r4, r4, #65536 ; 0x10000 - 800353c: f003 0703 and.w r7, r3, #3 - 8003540: 68a5 ldr r5, [r4, #8] - 8003542: 00bf lsls r7, r7, #2 - 8003544: fa0b f807 lsl.w r8, fp, r7 - 8003548: f1b0 4f90 cmp.w r0, #1207959552 ; 0x48000000 - 800354c: ea08 0e05 and.w lr, r8, r5 - 8003550: d045 beq.n 80035de - 8003552: 4d26 ldr r5, [pc, #152] ; (80035ec ) - 8003554: 42a8 cmp r0, r5 - 8003556: d044 beq.n 80035e2 - 8003558: f505 6580 add.w r5, r5, #1024 ; 0x400 - 800355c: 42a8 cmp r0, r5 - 800355e: bf0c ite eq - 8003560: 2502 moveq r5, #2 - 8003562: 2507 movne r5, #7 - 8003564: 40bd lsls r5, r7 - 8003566: 4575 cmp r5, lr - 8003568: d117 bne.n 800359a - 800356a: f8d2 5080 ldr.w r5, [r2, #128] ; 0x80 - 800356e: ea25 0506 bic.w r5, r5, r6 - 8003572: f8c2 5080 str.w r5, [r2, #128] ; 0x80 - 8003576: f8d2 5084 ldr.w r5, [r2, #132] ; 0x84 - 800357a: ea25 0506 bic.w r5, r5, r6 - 800357e: f8c2 5084 str.w r5, [r2, #132] ; 0x84 - 8003582: 6815 ldr r5, [r2, #0] - 8003584: ea25 0506 bic.w r5, r5, r6 - 8003588: 6015 str r5, [r2, #0] - 800358a: 6855 ldr r5, [r2, #4] - 800358c: ea25 0506 bic.w r5, r5, r6 - 8003590: 6055 str r5, [r2, #4] - 8003592: 68a5 ldr r5, [r4, #8] - 8003594: ea25 0508 bic.w r5, r5, r8 - 8003598: 60a5 str r5, [r4, #8] - 800359a: 6805 ldr r5, [r0, #0] - 800359c: 2603 movs r6, #3 - 800359e: 005c lsls r4, r3, #1 - 80035a0: fa06 f404 lsl.w r4, r6, r4 - 80035a4: fa23 f606 lsr.w r6, r3, r6 - 80035a8: 4325 orrs r5, r4 - 80035aa: eb00 0686 add.w r6, r0, r6, lsl #2 - 80035ae: 6005 str r5, [r0, #0] - 80035b0: f003 0507 and.w r5, r3, #7 - 80035b4: 6a37 ldr r7, [r6, #32] - 80035b6: 00ad lsls r5, r5, #2 - 80035b8: fa09 f505 lsl.w r5, r9, r5 - 80035bc: ea27 0705 bic.w r7, r7, r5 - 80035c0: 6237 str r7, [r6, #32] - 80035c2: 6885 ldr r5, [r0, #8] - 80035c4: ea25 0504 bic.w r5, r5, r4 - 80035c8: 6085 str r5, [r0, #8] - 80035ca: 6845 ldr r5, [r0, #4] - 80035cc: ea25 050c bic.w r5, r5, ip - 80035d0: 6045 str r5, [r0, #4] - 80035d2: 68c5 ldr r5, [r0, #12] - 80035d4: ea25 0404 bic.w r4, r5, r4 - 80035d8: 60c4 str r4, [r0, #12] - 80035da: 3301 adds r3, #1 - 80035dc: e79e b.n 800351c - 80035de: 2500 movs r5, #0 - 80035e0: e7c0 b.n 8003564 - 80035e2: 2501 movs r5, #1 - 80035e4: e7be b.n 8003564 - 80035e6: bf00 nop - 80035e8: 58000800 .word 0x58000800 - 80035ec: 48000400 .word 0x48000400 +0800351c : + 800351c: 4a37 ldr r2, [pc, #220] ; (80035fc ) + 800351e: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8003522: 2300 movs r3, #0 + 8003524: f04f 0a01 mov.w sl, #1 + 8003528: f04f 0b07 mov.w fp, #7 + 800352c: f04f 090f mov.w r9, #15 + 8003530: fa31 f403 lsrs.w r4, r1, r3 + 8003534: d101 bne.n 800353a + 8003536: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800353a: fa0a fc03 lsl.w ip, sl, r3 + 800353e: ea1c 0601 ands.w r6, ip, r1 + 8003542: d054 beq.n 80035ee + 8003544: f023 0403 bic.w r4, r3, #3 + 8003548: f104 4480 add.w r4, r4, #1073741824 ; 0x40000000 + 800354c: f504 3480 add.w r4, r4, #65536 ; 0x10000 + 8003550: f003 0703 and.w r7, r3, #3 + 8003554: 68a5 ldr r5, [r4, #8] + 8003556: 00bf lsls r7, r7, #2 + 8003558: fa0b f807 lsl.w r8, fp, r7 + 800355c: f1b0 4f90 cmp.w r0, #1207959552 ; 0x48000000 + 8003560: ea08 0e05 and.w lr, r8, r5 + 8003564: d045 beq.n 80035f2 + 8003566: 4d26 ldr r5, [pc, #152] ; (8003600 ) + 8003568: 42a8 cmp r0, r5 + 800356a: d044 beq.n 80035f6 + 800356c: f505 6580 add.w r5, r5, #1024 ; 0x400 + 8003570: 42a8 cmp r0, r5 + 8003572: bf0c ite eq + 8003574: 2502 moveq r5, #2 + 8003576: 2507 movne r5, #7 + 8003578: 40bd lsls r5, r7 + 800357a: 4575 cmp r5, lr + 800357c: d117 bne.n 80035ae + 800357e: f8d2 5080 ldr.w r5, [r2, #128] ; 0x80 + 8003582: ea25 0506 bic.w r5, r5, r6 + 8003586: f8c2 5080 str.w r5, [r2, #128] ; 0x80 + 800358a: f8d2 5084 ldr.w r5, [r2, #132] ; 0x84 + 800358e: ea25 0506 bic.w r5, r5, r6 + 8003592: f8c2 5084 str.w r5, [r2, #132] ; 0x84 + 8003596: 6815 ldr r5, [r2, #0] + 8003598: ea25 0506 bic.w r5, r5, r6 + 800359c: 6015 str r5, [r2, #0] + 800359e: 6855 ldr r5, [r2, #4] + 80035a0: ea25 0506 bic.w r5, r5, r6 + 80035a4: 6055 str r5, [r2, #4] + 80035a6: 68a5 ldr r5, [r4, #8] + 80035a8: ea25 0508 bic.w r5, r5, r8 + 80035ac: 60a5 str r5, [r4, #8] + 80035ae: 6805 ldr r5, [r0, #0] + 80035b0: 2603 movs r6, #3 + 80035b2: 005c lsls r4, r3, #1 + 80035b4: fa06 f404 lsl.w r4, r6, r4 + 80035b8: fa23 f606 lsr.w r6, r3, r6 + 80035bc: 4325 orrs r5, r4 + 80035be: eb00 0686 add.w r6, r0, r6, lsl #2 + 80035c2: 6005 str r5, [r0, #0] + 80035c4: f003 0507 and.w r5, r3, #7 + 80035c8: 6a37 ldr r7, [r6, #32] + 80035ca: 00ad lsls r5, r5, #2 + 80035cc: fa09 f505 lsl.w r5, r9, r5 + 80035d0: ea27 0705 bic.w r7, r7, r5 + 80035d4: 6237 str r7, [r6, #32] + 80035d6: 6885 ldr r5, [r0, #8] + 80035d8: ea25 0504 bic.w r5, r5, r4 + 80035dc: 6085 str r5, [r0, #8] + 80035de: 6845 ldr r5, [r0, #4] + 80035e0: ea25 050c bic.w r5, r5, ip + 80035e4: 6045 str r5, [r0, #4] + 80035e6: 68c5 ldr r5, [r0, #12] + 80035e8: ea25 0404 bic.w r4, r5, r4 + 80035ec: 60c4 str r4, [r0, #12] + 80035ee: 3301 adds r3, #1 + 80035f0: e79e b.n 8003530 + 80035f2: 2500 movs r5, #0 + 80035f4: e7c0 b.n 8003578 + 80035f6: 2501 movs r5, #1 + 80035f8: e7be b.n 8003578 + 80035fa: bf00 nop + 80035fc: 58000800 .word 0x58000800 + 8003600: 48000400 .word 0x48000400 -080035f0 : - 80035f0: b10a cbz r2, 80035f6 - 80035f2: 6181 str r1, [r0, #24] - 80035f4: 4770 bx lr - 80035f6: 6281 str r1, [r0, #40] ; 0x28 - 80035f8: 4770 bx lr +08003604 : + 8003604: b10a cbz r2, 800360a + 8003606: 6181 str r1, [r0, #24] + 8003608: 4770 bx lr + 800360a: 6281 str r1, [r0, #40] ; 0x28 + 800360c: 4770 bx lr -080035fa : - 80035fa: 6943 ldr r3, [r0, #20] - 80035fc: ea01 0203 and.w r2, r1, r3 - 8003600: ea21 0103 bic.w r1, r1, r3 - 8003604: ea41 4102 orr.w r1, r1, r2, lsl #16 - 8003608: 6181 str r1, [r0, #24] - 800360a: 4770 bx lr +0800360e : + 800360e: 6943 ldr r3, [r0, #20] + 8003610: ea01 0203 and.w r2, r1, r3 + 8003614: ea21 0103 bic.w r1, r1, r3 + 8003618: ea41 4102 orr.w r1, r1, r2, lsl #16 + 800361c: 6181 str r1, [r0, #24] + 800361e: 4770 bx lr -0800360c : - 800360c: 4a04 ldr r2, [pc, #16] ; (8003620 ) - 800360e: 68d1 ldr r1, [r2, #12] - 8003610: 4201 tst r1, r0 - 8003612: b508 push {r3, lr} - 8003614: d002 beq.n 800361c - 8003616: 60d0 str r0, [r2, #12] - 8003618: f7fe fe4e bl 80022b8 - 800361c: bd08 pop {r3, pc} - 800361e: bf00 nop - 8003620: 58000800 .word 0x58000800 +08003620 : + 8003620: 4a04 ldr r2, [pc, #16] ; (8003634 ) + 8003622: 68d1 ldr r1, [r2, #12] + 8003624: 4201 tst r1, r0 + 8003626: b508 push {r3, lr} + 8003628: d002 beq.n 8003630 + 800362a: 60d0 str r0, [r2, #12] + 800362c: f7fe fe4e bl 80022cc + 8003630: bd08 pop {r3, pc} + 8003632: bf00 nop + 8003634: 58000800 .word 0x58000800 -08003624 : - 8003624: 4a02 ldr r2, [pc, #8] ; (8003630 ) - 8003626: 6813 ldr r3, [r2, #0] - 8003628: f443 7380 orr.w r3, r3, #256 ; 0x100 - 800362c: 6013 str r3, [r2, #0] - 800362e: 4770 bx lr - 8003630: 58000400 .word 0x58000400 +08003638 : + 8003638: 4a02 ldr r2, [pc, #8] ; (8003644 ) + 800363a: 6813 ldr r3, [r2, #0] + 800363c: f443 7380 orr.w r3, r3, #256 ; 0x100 + 8003640: 6013 str r3, [r2, #0] + 8003642: 4770 bx lr + 8003644: 58000400 .word 0x58000400 -08003634 : - 8003634: 4b0d ldr r3, [pc, #52] ; (800366c ) - 8003636: b510 push {r4, lr} - 8003638: 695b ldr r3, [r3, #20] - 800363a: 460c mov r4, r1 - 800363c: b928 cbnz r0, 800364a - 800363e: 059a lsls r2, r3, #22 - 8003640: d507 bpl.n 8003652 - 8003642: f000 f839 bl 80036b8 - 8003646: b120 cbz r0, 8003652 - 8003648: bd10 pop {r4, pc} - 800364a: 059b lsls r3, r3, #22 - 800364c: d401 bmi.n 8003652 - 800364e: f000 f82b bl 80036a8 - 8003652: 4a07 ldr r2, [pc, #28] ; (8003670 ) - 8003654: 6913 ldr r3, [r2, #16] - 8003656: 2c01 cmp r4, #1 - 8003658: f023 0304 bic.w r3, r3, #4 - 800365c: 6113 str r3, [r2, #16] - 800365e: d101 bne.n 8003664 - 8003660: bf30 wfi - 8003662: e7f1 b.n 8003648 - 8003664: bf40 sev - 8003666: bf20 wfe - 8003668: bf20 wfe - 800366a: e7ed b.n 8003648 - 800366c: 58000400 .word 0x58000400 - 8003670: e000ed00 .word 0xe000ed00 +08003648 : + 8003648: 4b0d ldr r3, [pc, #52] ; (8003680 ) + 800364a: b510 push {r4, lr} + 800364c: 695b ldr r3, [r3, #20] + 800364e: 460c mov r4, r1 + 8003650: b928 cbnz r0, 800365e + 8003652: 059a lsls r2, r3, #22 + 8003654: d507 bpl.n 8003666 + 8003656: f000 f839 bl 80036cc + 800365a: b120 cbz r0, 8003666 + 800365c: bd10 pop {r4, pc} + 800365e: 059b lsls r3, r3, #22 + 8003660: d401 bmi.n 8003666 + 8003662: f000 f82b bl 80036bc + 8003666: 4a07 ldr r2, [pc, #28] ; (8003684 ) + 8003668: 6913 ldr r3, [r2, #16] + 800366a: 2c01 cmp r4, #1 + 800366c: f023 0304 bic.w r3, r3, #4 + 8003670: 6113 str r3, [r2, #16] + 8003672: d101 bne.n 8003678 + 8003674: bf30 wfi + 8003676: e7f1 b.n 800365c + 8003678: bf40 sev + 800367a: bf20 wfe + 800367c: bf20 wfe + 800367e: e7ed b.n 800365c + 8003680: 58000400 .word 0x58000400 + 8003684: e000ed00 .word 0xe000ed00 -08003674 : - 8003674: 4a06 ldr r2, [pc, #24] ; (8003690 ) - 8003676: 6813 ldr r3, [r2, #0] - 8003678: f023 0307 bic.w r3, r3, #7 - 800367c: f043 0303 orr.w r3, r3, #3 - 8003680: 6013 str r3, [r2, #0] - 8003682: 4a04 ldr r2, [pc, #16] ; (8003694 ) - 8003684: 6913 ldr r3, [r2, #16] - 8003686: f043 0304 orr.w r3, r3, #4 - 800368a: 6113 str r3, [r2, #16] - 800368c: bf30 wfi - 800368e: 4770 bx lr - 8003690: 58000400 .word 0x58000400 - 8003694: e000ed00 .word 0xe000ed00 - -08003698 : - 8003698: 4b02 ldr r3, [pc, #8] ; (80036a4 ) - 800369a: 6818 ldr r0, [r3, #0] - 800369c: f400 60c0 and.w r0, r0, #1536 ; 0x600 - 80036a0: 4770 bx lr - 80036a2: bf00 nop +08003688 : + 8003688: 4a06 ldr r2, [pc, #24] ; (80036a4 ) + 800368a: 6813 ldr r3, [r2, #0] + 800368c: f023 0307 bic.w r3, r3, #7 + 8003690: f043 0303 orr.w r3, r3, #3 + 8003694: 6013 str r3, [r2, #0] + 8003696: 4a04 ldr r2, [pc, #16] ; (80036a8 ) + 8003698: 6913 ldr r3, [r2, #16] + 800369a: f043 0304 orr.w r3, r3, #4 + 800369e: 6113 str r3, [r2, #16] + 80036a0: bf30 wfi + 80036a2: 4770 bx lr 80036a4: 58000400 .word 0x58000400 + 80036a8: e000ed00 .word 0xe000ed00 -080036a8 : - 80036a8: 4a02 ldr r2, [pc, #8] ; (80036b4 ) - 80036aa: 6813 ldr r3, [r2, #0] - 80036ac: f443 4380 orr.w r3, r3, #16384 ; 0x4000 - 80036b0: 6013 str r3, [r2, #0] - 80036b2: 4770 bx lr - 80036b4: 58000400 .word 0x58000400 +080036ac : + 80036ac: 4b02 ldr r3, [pc, #8] ; (80036b8 ) + 80036ae: 6818 ldr r0, [r3, #0] + 80036b0: f400 60c0 and.w r0, r0, #1536 ; 0x600 + 80036b4: 4770 bx lr + 80036b6: bf00 nop + 80036b8: 58000400 .word 0x58000400 -080036b8 : - 80036b8: 4a0c ldr r2, [pc, #48] ; (80036ec ) - 80036ba: 6813 ldr r3, [r2, #0] - 80036bc: f423 4380 bic.w r3, r3, #16384 ; 0x4000 - 80036c0: 6013 str r3, [r2, #0] - 80036c2: 4b0b ldr r3, [pc, #44] ; (80036f0 ) - 80036c4: 681b ldr r3, [r3, #0] - 80036c6: 2132 movs r1, #50 ; 0x32 - 80036c8: 434b muls r3, r1 - 80036ca: 490a ldr r1, [pc, #40] ; (80036f4 ) - 80036cc: fbb3 f3f1 udiv r3, r3, r1 - 80036d0: 6951 ldr r1, [r2, #20] - 80036d2: 0589 lsls r1, r1, #22 - 80036d4: d500 bpl.n 80036d8 - 80036d6: b933 cbnz r3, 80036e6 - 80036d8: 6953 ldr r3, [r2, #20] - 80036da: f413 7f00 tst.w r3, #512 ; 0x200 - 80036de: bf14 ite ne - 80036e0: 2003 movne r0, #3 - 80036e2: 2000 moveq r0, #0 - 80036e4: 4770 bx lr - 80036e6: 3b01 subs r3, #1 - 80036e8: e7f2 b.n 80036d0 - 80036ea: bf00 nop - 80036ec: 58000400 .word 0x58000400 - 80036f0: 20000074 .word 0x20000074 - 80036f4: 000f4240 .word 0x000f4240 +080036bc : + 80036bc: 4a02 ldr r2, [pc, #8] ; (80036c8 ) + 80036be: 6813 ldr r3, [r2, #0] + 80036c0: f443 4380 orr.w r3, r3, #16384 ; 0x4000 + 80036c4: 6013 str r3, [r2, #0] + 80036c6: 4770 bx lr + 80036c8: 58000400 .word 0x58000400 -080036f8 : - 80036f8: 4a0b ldr r2, [pc, #44] ; (8003728 ) - 80036fa: 6813 ldr r3, [r2, #0] - 80036fc: f023 0307 bic.w r3, r3, #7 - 8003700: f043 0302 orr.w r3, r3, #2 - 8003704: 6013 str r3, [r2, #0] - 8003706: 4b09 ldr r3, [pc, #36] ; (800372c ) - 8003708: 691a ldr r2, [r3, #16] - 800370a: 2801 cmp r0, #1 - 800370c: f042 0204 orr.w r2, r2, #4 - 8003710: 611a str r2, [r3, #16] - 8003712: d105 bne.n 8003720 - 8003714: bf30 wfi - 8003716: 691a ldr r2, [r3, #16] - 8003718: f022 0204 bic.w r2, r2, #4 - 800371c: 611a str r2, [r3, #16] - 800371e: 4770 bx lr - 8003720: bf40 sev - 8003722: bf20 wfe - 8003724: bf20 wfe - 8003726: e7f6 b.n 8003716 - 8003728: 58000400 .word 0x58000400 - 800372c: e000ed00 .word 0xe000ed00 +080036cc : + 80036cc: 4a0c ldr r2, [pc, #48] ; (8003700 ) + 80036ce: 6813 ldr r3, [r2, #0] + 80036d0: f423 4380 bic.w r3, r3, #16384 ; 0x4000 + 80036d4: 6013 str r3, [r2, #0] + 80036d6: 4b0b ldr r3, [pc, #44] ; (8003704 ) + 80036d8: 681b ldr r3, [r3, #0] + 80036da: 2132 movs r1, #50 ; 0x32 + 80036dc: 434b muls r3, r1 + 80036de: 490a ldr r1, [pc, #40] ; (8003708 ) + 80036e0: fbb3 f3f1 udiv r3, r3, r1 + 80036e4: 6951 ldr r1, [r2, #20] + 80036e6: 0589 lsls r1, r1, #22 + 80036e8: d500 bpl.n 80036ec + 80036ea: b933 cbnz r3, 80036fa + 80036ec: 6953 ldr r3, [r2, #20] + 80036ee: f413 7f00 tst.w r3, #512 ; 0x200 + 80036f2: bf14 ite ne + 80036f4: 2003 movne r0, #3 + 80036f6: 2000 moveq r0, #0 + 80036f8: 4770 bx lr + 80036fa: 3b01 subs r3, #1 + 80036fc: e7f2 b.n 80036e4 + 80036fe: bf00 nop + 8003700: 58000400 .word 0x58000400 + 8003704: 20000074 .word 0x20000074 + 8003708: 000f4240 .word 0x000f4240 -08003730 : - 8003730: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003734: 6818 ldr r0, [r3, #0] - 8003736: f3c0 4040 ubfx r0, r0, #17, #1 - 800373a: 4770 bx lr +0800370c : + 800370c: 4a0b ldr r2, [pc, #44] ; (800373c ) + 800370e: 6813 ldr r3, [r2, #0] + 8003710: f023 0307 bic.w r3, r3, #7 + 8003714: f043 0302 orr.w r3, r3, #2 + 8003718: 6013 str r3, [r2, #0] + 800371a: 4b09 ldr r3, [pc, #36] ; (8003740 ) + 800371c: 691a ldr r2, [r3, #16] + 800371e: 2801 cmp r0, #1 + 8003720: f042 0204 orr.w r2, r2, #4 + 8003724: 611a str r2, [r3, #16] + 8003726: d105 bne.n 8003734 + 8003728: bf30 wfi + 800372a: 691a ldr r2, [r3, #16] + 800372c: f022 0204 bic.w r2, r2, #4 + 8003730: 611a str r2, [r3, #16] + 8003732: 4770 bx lr + 8003734: bf40 sev + 8003736: bf20 wfe + 8003738: bf20 wfe + 800373a: e7f6 b.n 800372a + 800373c: 58000400 .word 0x58000400 + 8003740: e000ed00 .word 0xe000ed00 -0800373c : - 800373c: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003740: 6818 ldr r0, [r3, #0] - 8003742: f3c0 0040 ubfx r0, r0, #1, #1 - 8003746: 4770 bx lr +08003744 : + 8003744: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8003748: 6818 ldr r0, [r3, #0] + 800374a: f3c0 4040 ubfx r0, r0, #17, #1 + 800374e: 4770 bx lr -08003748 : - 8003748: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 800374c: 6853 ldr r3, [r2, #4] - 800374e: f423 437f bic.w r3, r3, #65280 ; 0xff00 - 8003752: ea43 2300 orr.w r3, r3, r0, lsl #8 - 8003756: 6053 str r3, [r2, #4] - 8003758: 4770 bx lr +08003750 : + 8003750: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8003754: 6818 ldr r0, [r3, #0] + 8003756: f3c0 0040 ubfx r0, r0, #1, #1 + 800375a: 4770 bx lr -0800375a : - 800375a: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 800375e: 6818 ldr r0, [r3, #0] - 8003760: f3c0 6040 ubfx r0, r0, #25, #1 - 8003764: 4770 bx lr +0800375c : + 800375c: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8003760: 6853 ldr r3, [r2, #4] + 8003762: f423 437f bic.w r3, r3, #65280 ; 0xff00 + 8003766: ea43 2300 orr.w r3, r3, r0, lsl #8 + 800376a: 6053 str r3, [r2, #4] + 800376c: 4770 bx lr + +0800376e : + 800376e: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8003772: 6818 ldr r0, [r3, #0] + 8003774: f3c0 6040 ubfx r0, r0, #25, #1 + 8003778: 4770 bx lr ... -08003768 : - 8003768: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} - 800376a: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 800376e: 4a2c ldr r2, [pc, #176] ; (8003820 ) - 8003770: f8d3 3108 ldr.w r3, [r3, #264] ; 0x108 - 8003774: f3c0 1003 ubfx r0, r0, #4, #4 - 8003778: f003 030f and.w r3, r3, #15 - 800377c: f852 4020 ldr.w r4, [r2, r0, lsl #2] - 8003780: 4a28 ldr r2, [pc, #160] ; (8003824 ) - 8003782: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 8003786: fbb4 f4f3 udiv r4, r4, r3 - 800378a: f7ff ff85 bl 8003698 - 800378e: 4b26 ldr r3, [pc, #152] ; (8003828 ) - 8003790: 4605 mov r5, r0 - 8003792: e893 0007 ldmia.w r3, {r0, r1, r2} - 8003796: f5b5 7f00 cmp.w r5, #512 ; 0x200 - 800379a: ab04 add r3, sp, #16 - 800379c: e903 0007 stmdb r3, {r0, r1, r2} - 80037a0: d010 beq.n 80037c4 - 80037a2: 4b22 ldr r3, [pc, #136] ; (800382c ) - 80037a4: 429c cmp r4, r3 - 80037a6: d318 bcc.n 80037da - 80037a8: f503 03b7 add.w r3, r3, #5996544 ; 0x5b8000 - 80037ac: f603 537f addw r3, r3, #3455 ; 0xd7f - 80037b0: 429c cmp r4, r3 - 80037b2: d929 bls.n 8003808 - 80037b4: f503 1374 add.w r3, r3, #3997696 ; 0x3d0000 - 80037b8: f503 6310 add.w r3, r3, #2304 ; 0x900 - 80037bc: 429c cmp r4, r3 - 80037be: d825 bhi.n 800380c - 80037c0: 2302 movs r3, #2 - 80037c2: e00b b.n 80037dc - 80037c4: 4b1a ldr r3, [pc, #104] ; (8003830 ) - 80037c6: 429c cmp r4, r3 - 80037c8: d907 bls.n 80037da - 80037ca: 4b1a ldr r3, [pc, #104] ; (8003834 ) - 80037cc: 429c cmp r4, r3 - 80037ce: d91b bls.n 8003808 - 80037d0: f503 0337 add.w r3, r3, #11993088 ; 0xb70000 - 80037d4: f503 53d8 add.w r3, r3, #6912 ; 0x1b00 - 80037d8: e7f0 b.n 80037bc - 80037da: 2300 movs r3, #0 - 80037dc: aa04 add r2, sp, #16 - 80037de: eb02 0383 add.w r3, r2, r3, lsl #2 - 80037e2: f853 4c0c ldr.w r4, [r3, #-12] - 80037e6: 4d14 ldr r5, [pc, #80] ; (8003838 ) - 80037e8: 682b ldr r3, [r5, #0] - 80037ea: f023 0307 bic.w r3, r3, #7 - 80037ee: 4323 orrs r3, r4 - 80037f0: 602b str r3, [r5, #0] - 80037f2: f7fe f86b bl 80018cc - 80037f6: 4606 mov r6, r0 - 80037f8: 682b ldr r3, [r5, #0] - 80037fa: f003 0307 and.w r3, r3, #7 - 80037fe: 429c cmp r4, r3 - 8003800: d106 bne.n 8003810 - 8003802: 2000 movs r0, #0 - 8003804: b004 add sp, #16 - 8003806: bd70 pop {r4, r5, r6, pc} - 8003808: 2301 movs r3, #1 - 800380a: e7e7 b.n 80037dc - 800380c: 2400 movs r4, #0 - 800380e: e7ea b.n 80037e6 - 8003810: f7fe f85c bl 80018cc - 8003814: 1b80 subs r0, r0, r6 - 8003816: 2802 cmp r0, #2 - 8003818: d9ee bls.n 80037f8 - 800381a: 2003 movs r0, #3 - 800381c: e7f2 b.n 8003804 - 800381e: bf00 nop - 8003820: 0800f1e8 .word 0x0800f1e8 - 8003824: 0800f188 .word 0x0800f188 - 8003828: 0800f0a0 .word 0x0800f0a0 - 800382c: 006acfc0 .word 0x006acfc0 - 8003830: 0121eabf .word 0x0121eabf - 8003834: 0234933f .word 0x0234933f - 8003838: 58004000 .word 0x58004000 +0800377c : + 800377c: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} + 800377e: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8003782: 4a2c ldr r2, [pc, #176] ; (8003834 ) + 8003784: f8d3 3108 ldr.w r3, [r3, #264] ; 0x108 + 8003788: f3c0 1003 ubfx r0, r0, #4, #4 + 800378c: f003 030f and.w r3, r3, #15 + 8003790: f852 4020 ldr.w r4, [r2, r0, lsl #2] + 8003794: 4a28 ldr r2, [pc, #160] ; (8003838 ) + 8003796: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 800379a: fbb4 f4f3 udiv r4, r4, r3 + 800379e: f7ff ff85 bl 80036ac + 80037a2: 4b26 ldr r3, [pc, #152] ; (800383c ) + 80037a4: 4605 mov r5, r0 + 80037a6: e893 0007 ldmia.w r3, {r0, r1, r2} + 80037aa: f5b5 7f00 cmp.w r5, #512 ; 0x200 + 80037ae: ab04 add r3, sp, #16 + 80037b0: e903 0007 stmdb r3, {r0, r1, r2} + 80037b4: d010 beq.n 80037d8 + 80037b6: 4b22 ldr r3, [pc, #136] ; (8003840 ) + 80037b8: 429c cmp r4, r3 + 80037ba: d318 bcc.n 80037ee + 80037bc: f503 03b7 add.w r3, r3, #5996544 ; 0x5b8000 + 80037c0: f603 537f addw r3, r3, #3455 ; 0xd7f + 80037c4: 429c cmp r4, r3 + 80037c6: d929 bls.n 800381c + 80037c8: f503 1374 add.w r3, r3, #3997696 ; 0x3d0000 + 80037cc: f503 6310 add.w r3, r3, #2304 ; 0x900 + 80037d0: 429c cmp r4, r3 + 80037d2: d825 bhi.n 8003820 + 80037d4: 2302 movs r3, #2 + 80037d6: e00b b.n 80037f0 + 80037d8: 4b1a ldr r3, [pc, #104] ; (8003844 ) + 80037da: 429c cmp r4, r3 + 80037dc: d907 bls.n 80037ee + 80037de: 4b1a ldr r3, [pc, #104] ; (8003848 ) + 80037e0: 429c cmp r4, r3 + 80037e2: d91b bls.n 800381c + 80037e4: f503 0337 add.w r3, r3, #11993088 ; 0xb70000 + 80037e8: f503 53d8 add.w r3, r3, #6912 ; 0x1b00 + 80037ec: e7f0 b.n 80037d0 + 80037ee: 2300 movs r3, #0 + 80037f0: aa04 add r2, sp, #16 + 80037f2: eb02 0383 add.w r3, r2, r3, lsl #2 + 80037f6: f853 4c0c ldr.w r4, [r3, #-12] + 80037fa: 4d14 ldr r5, [pc, #80] ; (800384c ) + 80037fc: 682b ldr r3, [r5, #0] + 80037fe: f023 0307 bic.w r3, r3, #7 + 8003802: 4323 orrs r3, r4 + 8003804: 602b str r3, [r5, #0] + 8003806: f7fe f861 bl 80018cc + 800380a: 4606 mov r6, r0 + 800380c: 682b ldr r3, [r5, #0] + 800380e: f003 0307 and.w r3, r3, #7 + 8003812: 429c cmp r4, r3 + 8003814: d106 bne.n 8003824 + 8003816: 2000 movs r0, #0 + 8003818: b004 add sp, #16 + 800381a: bd70 pop {r4, r5, r6, pc} + 800381c: 2301 movs r3, #1 + 800381e: e7e7 b.n 80037f0 + 8003820: 2400 movs r4, #0 + 8003822: e7ea b.n 80037fa + 8003824: f7fe f852 bl 80018cc + 8003828: 1b80 subs r0, r0, r6 + 800382a: 2802 cmp r0, #2 + 800382c: d9ee bls.n 800380c + 800382e: 2003 movs r0, #3 + 8003830: e7f2 b.n 8003818 + 8003832: bf00 nop + 8003834: 0800f1f8 .word 0x0800f1f8 + 8003838: 0800f198 .word 0x0800f198 + 800383c: 0800f0b0 .word 0x0800f0b0 + 8003840: 006acfc0 .word 0x006acfc0 + 8003844: 0121eabf .word 0x0121eabf + 8003848: 0234933f .word 0x0234933f + 800384c: 58004000 .word 0x58004000 -0800383c : - 800383c: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003840: b510 push {r4, lr} - 8003842: 689a ldr r2, [r3, #8] - 8003844: 68d9 ldr r1, [r3, #12] - 8003846: f012 020c ands.w r2, r2, #12 - 800384a: d005 beq.n 8003858 - 800384c: 2a0c cmp r2, #12 - 800384e: d14a bne.n 80038e6 - 8003850: f001 0303 and.w r3, r1, #3 - 8003854: 2b01 cmp r3, #1 - 8003856: d150 bne.n 80038fa - 8003858: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 - 800385c: 482b ldr r0, [pc, #172] ; (800390c ) - 800385e: 680b ldr r3, [r1, #0] - 8003860: f013 0308 ands.w r3, r3, #8 - 8003864: d006 beq.n 8003874 - 8003866: 680b ldr r3, [r1, #0] - 8003868: f013 0308 ands.w r3, r3, #8 - 800386c: d137 bne.n 80038de - 800386e: f8d1 1094 ldr.w r1, [r1, #148] ; 0x94 - 8003872: e007 b.n 8003884 - 8003874: 680c ldr r4, [r1, #0] - 8003876: 0724 lsls r4, r4, #28 - 8003878: bf56 itet pl - 800387a: f8d1 3094 ldrpl.w r3, [r1, #148] ; 0x94 - 800387e: 6809 ldrmi r1, [r1, #0] - 8003880: f3c3 2303 ubfxpl r3, r3, #8, #4 - 8003884: f850 3023 ldr.w r3, [r0, r3, lsl #2] - 8003888: 2a00 cmp r2, #0 - 800388a: bf0c ite eq - 800388c: 4618 moveq r0, r3 - 800388e: 2000 movne r0, #0 - 8003890: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 - 8003894: 688a ldr r2, [r1, #8] - 8003896: f002 020c and.w r2, r2, #12 - 800389a: 2a0c cmp r2, #12 - 800389c: d11e bne.n 80038dc - 800389e: 68ca ldr r2, [r1, #12] - 80038a0: f002 0203 and.w r2, r2, #3 - 80038a4: 2a02 cmp r2, #2 - 80038a6: d02e beq.n 8003906 - 80038a8: 2a03 cmp r2, #3 - 80038aa: d106 bne.n 80038ba - 80038ac: 680b ldr r3, [r1, #0] - 80038ae: 4a18 ldr r2, [pc, #96] ; (8003910 ) - 80038b0: f413 1f80 tst.w r3, #1048576 ; 0x100000 - 80038b4: 4b17 ldr r3, [pc, #92] ; (8003914 ) - 80038b6: bf18 it ne - 80038b8: 4613 movne r3, r2 - 80038ba: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 80038be: 68d0 ldr r0, [r2, #12] - 80038c0: 68d1 ldr r1, [r2, #12] - 80038c2: 68d2 ldr r2, [r2, #12] - 80038c4: f3c0 2006 ubfx r0, r0, #8, #7 - 80038c8: 4358 muls r0, r3 - 80038ca: f3c1 1302 ubfx r3, r1, #4, #3 - 80038ce: 3301 adds r3, #1 - 80038d0: fbb0 f0f3 udiv r0, r0, r3 - 80038d4: 0f53 lsrs r3, r2, #29 - 80038d6: 3301 adds r3, #1 - 80038d8: fbb0 f0f3 udiv r0, r0, r3 - 80038dc: bd10 pop {r4, pc} - 80038de: 680b ldr r3, [r1, #0] - 80038e0: f3c3 1303 ubfx r3, r3, #4, #4 - 80038e4: e7ce b.n 8003884 - 80038e6: 2a04 cmp r2, #4 - 80038e8: d00a beq.n 8003900 - 80038ea: 2a08 cmp r2, #8 - 80038ec: d105 bne.n 80038fa - 80038ee: 681b ldr r3, [r3, #0] - 80038f0: f413 1380 ands.w r3, r3, #1048576 ; 0x100000 - 80038f4: d104 bne.n 8003900 - 80038f6: 4807 ldr r0, [pc, #28] ; (8003914 ) - 80038f8: e7ca b.n 8003890 - 80038fa: 2300 movs r3, #0 - 80038fc: 4618 mov r0, r3 - 80038fe: e7c7 b.n 8003890 - 8003900: 4803 ldr r0, [pc, #12] ; (8003910 ) - 8003902: 2300 movs r3, #0 - 8003904: e7c4 b.n 8003890 - 8003906: 4b02 ldr r3, [pc, #8] ; (8003910 ) - 8003908: e7d7 b.n 80038ba - 800390a: bf00 nop - 800390c: 0800f1e8 .word 0x0800f1e8 - 8003910: 00f42400 .word 0x00f42400 - 8003914: 01e84800 .word 0x01e84800 +08003850 : + 8003850: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8003854: b510 push {r4, lr} + 8003856: 689a ldr r2, [r3, #8] + 8003858: 68d9 ldr r1, [r3, #12] + 800385a: f012 020c ands.w r2, r2, #12 + 800385e: d005 beq.n 800386c + 8003860: 2a0c cmp r2, #12 + 8003862: d14a bne.n 80038fa + 8003864: f001 0303 and.w r3, r1, #3 + 8003868: 2b01 cmp r3, #1 + 800386a: d150 bne.n 800390e + 800386c: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 + 8003870: 482b ldr r0, [pc, #172] ; (8003920 ) + 8003872: 680b ldr r3, [r1, #0] + 8003874: f013 0308 ands.w r3, r3, #8 + 8003878: d006 beq.n 8003888 + 800387a: 680b ldr r3, [r1, #0] + 800387c: f013 0308 ands.w r3, r3, #8 + 8003880: d137 bne.n 80038f2 + 8003882: f8d1 1094 ldr.w r1, [r1, #148] ; 0x94 + 8003886: e007 b.n 8003898 + 8003888: 680c ldr r4, [r1, #0] + 800388a: 0724 lsls r4, r4, #28 + 800388c: bf56 itet pl + 800388e: f8d1 3094 ldrpl.w r3, [r1, #148] ; 0x94 + 8003892: 6809 ldrmi r1, [r1, #0] + 8003894: f3c3 2303 ubfxpl r3, r3, #8, #4 + 8003898: f850 3023 ldr.w r3, [r0, r3, lsl #2] + 800389c: 2a00 cmp r2, #0 + 800389e: bf0c ite eq + 80038a0: 4618 moveq r0, r3 + 80038a2: 2000 movne r0, #0 + 80038a4: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 + 80038a8: 688a ldr r2, [r1, #8] + 80038aa: f002 020c and.w r2, r2, #12 + 80038ae: 2a0c cmp r2, #12 + 80038b0: d11e bne.n 80038f0 + 80038b2: 68ca ldr r2, [r1, #12] + 80038b4: f002 0203 and.w r2, r2, #3 + 80038b8: 2a02 cmp r2, #2 + 80038ba: d02e beq.n 800391a + 80038bc: 2a03 cmp r2, #3 + 80038be: d106 bne.n 80038ce + 80038c0: 680b ldr r3, [r1, #0] + 80038c2: 4a18 ldr r2, [pc, #96] ; (8003924 ) + 80038c4: f413 1f80 tst.w r3, #1048576 ; 0x100000 + 80038c8: 4b17 ldr r3, [pc, #92] ; (8003928 ) + 80038ca: bf18 it ne + 80038cc: 4613 movne r3, r2 + 80038ce: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 80038d2: 68d0 ldr r0, [r2, #12] + 80038d4: 68d1 ldr r1, [r2, #12] + 80038d6: 68d2 ldr r2, [r2, #12] + 80038d8: f3c0 2006 ubfx r0, r0, #8, #7 + 80038dc: 4358 muls r0, r3 + 80038de: f3c1 1302 ubfx r3, r1, #4, #3 + 80038e2: 3301 adds r3, #1 + 80038e4: fbb0 f0f3 udiv r0, r0, r3 + 80038e8: 0f53 lsrs r3, r2, #29 + 80038ea: 3301 adds r3, #1 + 80038ec: fbb0 f0f3 udiv r0, r0, r3 + 80038f0: bd10 pop {r4, pc} + 80038f2: 680b ldr r3, [r1, #0] + 80038f4: f3c3 1303 ubfx r3, r3, #4, #4 + 80038f8: e7ce b.n 8003898 + 80038fa: 2a04 cmp r2, #4 + 80038fc: d00a beq.n 8003914 + 80038fe: 2a08 cmp r2, #8 + 8003900: d105 bne.n 800390e + 8003902: 681b ldr r3, [r3, #0] + 8003904: f413 1380 ands.w r3, r3, #1048576 ; 0x100000 + 8003908: d104 bne.n 8003914 + 800390a: 4807 ldr r0, [pc, #28] ; (8003928 ) + 800390c: e7ca b.n 80038a4 + 800390e: 2300 movs r3, #0 + 8003910: 4618 mov r0, r3 + 8003912: e7c7 b.n 80038a4 + 8003914: 4803 ldr r0, [pc, #12] ; (8003924 ) + 8003916: 2300 movs r3, #0 + 8003918: e7c4 b.n 80038a4 + 800391a: 4b02 ldr r3, [pc, #8] ; (8003924 ) + 800391c: e7d7 b.n 80038ce + 800391e: bf00 nop + 8003920: 0800f1f8 .word 0x0800f1f8 + 8003924: 00f42400 .word 0x00f42400 + 8003928: 01e84800 .word 0x01e84800 -08003918 : - 8003918: b508 push {r3, lr} - 800391a: f7ff ff8f bl 800383c - 800391e: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003922: 4a04 ldr r2, [pc, #16] ; (8003934 ) - 8003924: 689b ldr r3, [r3, #8] - 8003926: f3c3 1303 ubfx r3, r3, #4, #4 - 800392a: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 800392e: fbb0 f0f3 udiv r0, r0, r3 - 8003932: bd08 pop {r3, pc} - 8003934: 0800f188 .word 0x0800f188 +0800392c : + 800392c: b508 push {r3, lr} + 800392e: f7ff ff8f bl 8003850 + 8003932: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8003936: 4a04 ldr r2, [pc, #16] ; (8003948 ) + 8003938: 689b ldr r3, [r3, #8] + 800393a: f3c3 1303 ubfx r3, r3, #4, #4 + 800393e: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 8003942: fbb0 f0f3 udiv r0, r0, r3 + 8003946: bd08 pop {r3, pc} + 8003948: 0800f198 .word 0x0800f198 -08003938 : - 8003938: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800393c: 4604 mov r4, r0 - 800393e: 2800 cmp r0, #0 - 8003940: d053 beq.n 80039ea - 8003942: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003946: 689d ldr r5, [r3, #8] - 8003948: 68de ldr r6, [r3, #12] - 800394a: 6803 ldr r3, [r0, #0] - 800394c: 069b lsls r3, r3, #26 - 800394e: f005 050c and.w r5, r5, #12 - 8003952: f006 0603 and.w r6, r6, #3 - 8003956: d568 bpl.n 8003a2a - 8003958: 6a02 ldr r2, [r0, #32] - 800395a: b11d cbz r5, 8003964 - 800395c: 2d0c cmp r5, #12 - 800395e: d146 bne.n 80039ee - 8003960: 2e01 cmp r6, #1 - 8003962: d144 bne.n 80039ee - 8003964: 2a00 cmp r2, #0 - 8003966: d040 beq.n 80039ea - 8003968: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 800396c: 6aa1 ldr r1, [r4, #40] ; 0x28 - 800396e: 681a ldr r2, [r3, #0] - 8003970: 0717 lsls r7, r2, #28 - 8003972: bf56 itet pl - 8003974: f8d3 3094 ldrpl.w r3, [r3, #148] ; 0x94 - 8003978: 681b ldrmi r3, [r3, #0] - 800397a: 091b lsrpl r3, r3, #4 - 800397c: f003 03f0 and.w r3, r3, #240 ; 0xf0 - 8003980: 4299 cmp r1, r3 - 8003982: d91f bls.n 80039c4 - 8003984: 4608 mov r0, r1 - 8003986: f7ff feef bl 8003768 - 800398a: 2800 cmp r0, #0 - 800398c: d12d bne.n 80039ea - 800398e: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8003992: 6813 ldr r3, [r2, #0] - 8003994: f043 0308 orr.w r3, r3, #8 - 8003998: 6013 str r3, [r2, #0] - 800399a: 6813 ldr r3, [r2, #0] - 800399c: 6aa1 ldr r1, [r4, #40] ; 0x28 - 800399e: f023 03f0 bic.w r3, r3, #240 ; 0xf0 - 80039a2: 430b orrs r3, r1 - 80039a4: 6013 str r3, [r2, #0] - 80039a6: 6a60 ldr r0, [r4, #36] ; 0x24 - 80039a8: f7ff fece bl 8003748 - 80039ac: f7ff ffb4 bl 8003918 - 80039b0: 4bab ldr r3, [pc, #684] ; (8003c60 ) - 80039b2: 6018 str r0, [r3, #0] - 80039b4: 4bab ldr r3, [pc, #684] ; (8003c64 ) - 80039b6: 6818 ldr r0, [r3, #0] - 80039b8: f7fd ff86 bl 80018c8 - 80039bc: 2800 cmp r0, #0 - 80039be: d034 beq.n 8003a2a - 80039c0: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 80039c4: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 80039c8: 6813 ldr r3, [r2, #0] - 80039ca: f043 0308 orr.w r3, r3, #8 - 80039ce: 6013 str r3, [r2, #0] - 80039d0: 6813 ldr r3, [r2, #0] - 80039d2: f023 03f0 bic.w r3, r3, #240 ; 0xf0 - 80039d6: 430b orrs r3, r1 - 80039d8: 6013 str r3, [r2, #0] - 80039da: 6a60 ldr r0, [r4, #36] ; 0x24 - 80039dc: f7ff feb4 bl 8003748 - 80039e0: 4608 mov r0, r1 - 80039e2: f7ff fec1 bl 8003768 - 80039e6: 2800 cmp r0, #0 - 80039e8: d0e0 beq.n 80039ac - 80039ea: 2001 movs r0, #1 - 80039ec: e7e8 b.n 80039c0 - 80039ee: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 80039f2: 2a00 cmp r2, #0 - 80039f4: d054 beq.n 8003aa0 - 80039f6: 681a ldr r2, [r3, #0] - 80039f8: f042 0201 orr.w r2, r2, #1 - 80039fc: 601a str r2, [r3, #0] - 80039fe: f7fd ff65 bl 80018cc - 8003a02: 4607 mov r7, r0 - 8003a04: f7ff fe9a bl 800373c - 8003a08: 2800 cmp r0, #0 - 8003a0a: d042 beq.n 8003a92 - 8003a0c: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8003a10: 6813 ldr r3, [r2, #0] - 8003a12: f043 0308 orr.w r3, r3, #8 - 8003a16: 6013 str r3, [r2, #0] - 8003a18: 6813 ldr r3, [r2, #0] - 8003a1a: 6aa1 ldr r1, [r4, #40] ; 0x28 - 8003a1c: f023 03f0 bic.w r3, r3, #240 ; 0xf0 - 8003a20: 430b orrs r3, r1 - 8003a22: 6013 str r3, [r2, #0] - 8003a24: 6a60 ldr r0, [r4, #36] ; 0x24 - 8003a26: f7ff fe8f bl 8003748 - 8003a2a: 6823 ldr r3, [r4, #0] - 8003a2c: 07d8 lsls r0, r3, #31 - 8003a2e: d448 bmi.n 8003ac2 - 8003a30: 6823 ldr r3, [r4, #0] - 8003a32: 0799 lsls r1, r3, #30 - 8003a34: f100 808c bmi.w 8003b50 - 8003a38: 6823 ldr r3, [r4, #0] - 8003a3a: 071e lsls r6, r3, #28 - 8003a3c: f140 80fa bpl.w 8003c34 - 8003a40: 69a3 ldr r3, [r4, #24] - 8003a42: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 - 8003a46: 2b00 cmp r3, #0 - 8003a48: f000 80e1 beq.w 8003c0e - 8003a4c: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 - 8003a50: 69e1 ldr r1, [r4, #28] - 8003a52: f003 0210 and.w r2, r3, #16 - 8003a56: 4291 cmp r1, r2 - 8003a58: f000 80c4 beq.w 8003be4 - 8003a5c: f003 0203 and.w r2, r3, #3 - 8003a60: 2a02 cmp r2, #2 - 8003a62: d0c2 beq.n 80039ea - 8003a64: 07d8 lsls r0, r3, #31 - 8003a66: f140 80b3 bpl.w 8003bd0 - 8003a6a: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 - 8003a6e: f023 0301 bic.w r3, r3, #1 - 8003a72: f8c6 3094 str.w r3, [r6, #148] ; 0x94 - 8003a76: f7fd ff29 bl 80018cc - 8003a7a: 4607 mov r7, r0 - 8003a7c: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 - 8003a80: 0799 lsls r1, r3, #30 - 8003a82: f140 80a5 bpl.w 8003bd0 - 8003a86: f7fd ff21 bl 80018cc - 8003a8a: 1bc3 subs r3, r0, r7 - 8003a8c: 2b11 cmp r3, #17 - 8003a8e: d9f5 bls.n 8003a7c - 8003a90: e004 b.n 8003a9c - 8003a92: f7fd ff1b bl 80018cc - 8003a96: 1bc0 subs r0, r0, r7 - 8003a98: 2802 cmp r0, #2 - 8003a9a: d9b3 bls.n 8003a04 - 8003a9c: 2003 movs r0, #3 - 8003a9e: e78f b.n 80039c0 - 8003aa0: 681a ldr r2, [r3, #0] - 8003aa2: f022 0201 bic.w r2, r2, #1 - 8003aa6: 601a str r2, [r3, #0] - 8003aa8: f7fd ff10 bl 80018cc - 8003aac: 4607 mov r7, r0 - 8003aae: f7ff fe45 bl 800373c - 8003ab2: 2800 cmp r0, #0 - 8003ab4: d0b9 beq.n 8003a2a - 8003ab6: f7fd ff09 bl 80018cc - 8003aba: 1bc0 subs r0, r0, r7 - 8003abc: 2802 cmp r0, #2 - 8003abe: d9f6 bls.n 8003aae - 8003ac0: e7ec b.n 8003a9c - 8003ac2: 2d08 cmp r5, #8 - 8003ac4: d003 beq.n 8003ace - 8003ac6: 2d0c cmp r5, #12 - 8003ac8: d105 bne.n 8003ad6 - 8003aca: 2e03 cmp r6, #3 - 8003acc: d103 bne.n 8003ad6 - 8003ace: 6863 ldr r3, [r4, #4] - 8003ad0: 2b00 cmp r3, #0 - 8003ad2: d1ad bne.n 8003a30 - 8003ad4: e789 b.n 80039ea - 8003ad6: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003ada: 68a1 ldr r1, [r4, #8] - 8003adc: 681a ldr r2, [r3, #0] - 8003ade: f422 1280 bic.w r2, r2, #1048576 ; 0x100000 - 8003ae2: 430a orrs r2, r1 - 8003ae4: 601a str r2, [r3, #0] - 8003ae6: 6862 ldr r2, [r4, #4] - 8003ae8: f5b2 3f80 cmp.w r2, #65536 ; 0x10000 - 8003aec: d110 bne.n 8003b10 - 8003aee: 681a ldr r2, [r3, #0] - 8003af0: f442 3280 orr.w r2, r2, #65536 ; 0x10000 - 8003af4: 601a str r2, [r3, #0] - 8003af6: f7fd fee9 bl 80018cc - 8003afa: 4607 mov r7, r0 - 8003afc: f7ff fe18 bl 8003730 - 8003b00: 2800 cmp r0, #0 - 8003b02: d195 bne.n 8003a30 - 8003b04: f7fd fee2 bl 80018cc - 8003b08: 1bc0 subs r0, r0, r7 - 8003b0a: 2864 cmp r0, #100 ; 0x64 - 8003b0c: d9f6 bls.n 8003afc - 8003b0e: e7c5 b.n 8003a9c - 8003b10: f5b2 1f04 cmp.w r2, #2162688 ; 0x210000 - 8003b14: d104 bne.n 8003b20 - 8003b16: 681a ldr r2, [r3, #0] - 8003b18: f442 1200 orr.w r2, r2, #2097152 ; 0x200000 - 8003b1c: 601a str r2, [r3, #0] - 8003b1e: e7e6 b.n 8003aee - 8003b20: 6819 ldr r1, [r3, #0] - 8003b22: f421 3180 bic.w r1, r1, #65536 ; 0x10000 - 8003b26: 6019 str r1, [r3, #0] - 8003b28: 6819 ldr r1, [r3, #0] - 8003b2a: f421 1100 bic.w r1, r1, #2097152 ; 0x200000 - 8003b2e: 6019 str r1, [r3, #0] - 8003b30: 2a00 cmp r2, #0 - 8003b32: d1e0 bne.n 8003af6 - 8003b34: f7fd feca bl 80018cc - 8003b38: 4607 mov r7, r0 - 8003b3a: f7ff fdf9 bl 8003730 - 8003b3e: 2800 cmp r0, #0 - 8003b40: f43f af76 beq.w 8003a30 - 8003b44: f7fd fec2 bl 80018cc - 8003b48: 1bc0 subs r0, r0, r7 - 8003b4a: 2864 cmp r0, #100 ; 0x64 - 8003b4c: d9f5 bls.n 8003b3a - 8003b4e: e7a5 b.n 8003a9c - 8003b50: 2d04 cmp r5, #4 - 8003b52: 6923 ldr r3, [r4, #16] - 8003b54: d003 beq.n 8003b5e - 8003b56: 2d0c cmp r5, #12 - 8003b58: d10e bne.n 8003b78 - 8003b5a: 2e02 cmp r6, #2 - 8003b5c: d10c bne.n 8003b78 - 8003b5e: 2b00 cmp r3, #0 - 8003b60: f43f af43 beq.w 80039ea - 8003b64: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8003b68: 6961 ldr r1, [r4, #20] - 8003b6a: 6853 ldr r3, [r2, #4] - 8003b6c: f023 43fe bic.w r3, r3, #2130706432 ; 0x7f000000 - 8003b70: ea43 6301 orr.w r3, r3, r1, lsl #24 - 8003b74: 6053 str r3, [r2, #4] - 8003b76: e75f b.n 8003a38 - 8003b78: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 - 8003b7c: b1bb cbz r3, 8003bae - 8003b7e: 6833 ldr r3, [r6, #0] - 8003b80: f443 7380 orr.w r3, r3, #256 ; 0x100 - 8003b84: 6033 str r3, [r6, #0] - 8003b86: f7fd fea1 bl 80018cc - 8003b8a: 4607 mov r7, r0 - 8003b8c: 6833 ldr r3, [r6, #0] - 8003b8e: 055a lsls r2, r3, #21 - 8003b90: d507 bpl.n 8003ba2 - 8003b92: 6873 ldr r3, [r6, #4] - 8003b94: 6962 ldr r2, [r4, #20] - 8003b96: f023 43fe bic.w r3, r3, #2130706432 ; 0x7f000000 - 8003b9a: ea43 6302 orr.w r3, r3, r2, lsl #24 - 8003b9e: 6073 str r3, [r6, #4] - 8003ba0: e74a b.n 8003a38 - 8003ba2: f7fd fe93 bl 80018cc - 8003ba6: 1bc3 subs r3, r0, r7 - 8003ba8: 2b02 cmp r3, #2 - 8003baa: d9ef bls.n 8003b8c - 8003bac: e776 b.n 8003a9c - 8003bae: 6833 ldr r3, [r6, #0] - 8003bb0: f423 7380 bic.w r3, r3, #256 ; 0x100 - 8003bb4: 6033 str r3, [r6, #0] +0800394c : + 800394c: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8003950: 4604 mov r4, r0 + 8003952: 2800 cmp r0, #0 + 8003954: d053 beq.n 80039fe + 8003956: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 800395a: 689d ldr r5, [r3, #8] + 800395c: 68de ldr r6, [r3, #12] + 800395e: 6803 ldr r3, [r0, #0] + 8003960: 069b lsls r3, r3, #26 + 8003962: f005 050c and.w r5, r5, #12 + 8003966: f006 0603 and.w r6, r6, #3 + 800396a: d568 bpl.n 8003a3e + 800396c: 6a02 ldr r2, [r0, #32] + 800396e: b11d cbz r5, 8003978 + 8003970: 2d0c cmp r5, #12 + 8003972: d146 bne.n 8003a02 + 8003974: 2e01 cmp r6, #1 + 8003976: d144 bne.n 8003a02 + 8003978: 2a00 cmp r2, #0 + 800397a: d040 beq.n 80039fe + 800397c: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8003980: 6aa1 ldr r1, [r4, #40] ; 0x28 + 8003982: 681a ldr r2, [r3, #0] + 8003984: 0717 lsls r7, r2, #28 + 8003986: bf56 itet pl + 8003988: f8d3 3094 ldrpl.w r3, [r3, #148] ; 0x94 + 800398c: 681b ldrmi r3, [r3, #0] + 800398e: 091b lsrpl r3, r3, #4 + 8003990: f003 03f0 and.w r3, r3, #240 ; 0xf0 + 8003994: 4299 cmp r1, r3 + 8003996: d91f bls.n 80039d8 + 8003998: 4608 mov r0, r1 + 800399a: f7ff feef bl 800377c + 800399e: 2800 cmp r0, #0 + 80039a0: d12d bne.n 80039fe + 80039a2: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 80039a6: 6813 ldr r3, [r2, #0] + 80039a8: f043 0308 orr.w r3, r3, #8 + 80039ac: 6013 str r3, [r2, #0] + 80039ae: 6813 ldr r3, [r2, #0] + 80039b0: 6aa1 ldr r1, [r4, #40] ; 0x28 + 80039b2: f023 03f0 bic.w r3, r3, #240 ; 0xf0 + 80039b6: 430b orrs r3, r1 + 80039b8: 6013 str r3, [r2, #0] + 80039ba: 6a60 ldr r0, [r4, #36] ; 0x24 + 80039bc: f7ff fece bl 800375c + 80039c0: f7ff ffb4 bl 800392c + 80039c4: 4bab ldr r3, [pc, #684] ; (8003c74 ) + 80039c6: 6018 str r0, [r3, #0] + 80039c8: 4bab ldr r3, [pc, #684] ; (8003c78 ) + 80039ca: 6818 ldr r0, [r3, #0] + 80039cc: f7fd ff7c bl 80018c8 + 80039d0: 2800 cmp r0, #0 + 80039d2: d034 beq.n 8003a3e + 80039d4: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 80039d8: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 80039dc: 6813 ldr r3, [r2, #0] + 80039de: f043 0308 orr.w r3, r3, #8 + 80039e2: 6013 str r3, [r2, #0] + 80039e4: 6813 ldr r3, [r2, #0] + 80039e6: f023 03f0 bic.w r3, r3, #240 ; 0xf0 + 80039ea: 430b orrs r3, r1 + 80039ec: 6013 str r3, [r2, #0] + 80039ee: 6a60 ldr r0, [r4, #36] ; 0x24 + 80039f0: f7ff feb4 bl 800375c + 80039f4: 4608 mov r0, r1 + 80039f6: f7ff fec1 bl 800377c + 80039fa: 2800 cmp r0, #0 + 80039fc: d0e0 beq.n 80039c0 + 80039fe: 2001 movs r0, #1 + 8003a00: e7e8 b.n 80039d4 + 8003a02: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8003a06: 2a00 cmp r2, #0 + 8003a08: d054 beq.n 8003ab4 + 8003a0a: 681a ldr r2, [r3, #0] + 8003a0c: f042 0201 orr.w r2, r2, #1 + 8003a10: 601a str r2, [r3, #0] + 8003a12: f7fd ff5b bl 80018cc + 8003a16: 4607 mov r7, r0 + 8003a18: f7ff fe9a bl 8003750 + 8003a1c: 2800 cmp r0, #0 + 8003a1e: d042 beq.n 8003aa6 + 8003a20: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8003a24: 6813 ldr r3, [r2, #0] + 8003a26: f043 0308 orr.w r3, r3, #8 + 8003a2a: 6013 str r3, [r2, #0] + 8003a2c: 6813 ldr r3, [r2, #0] + 8003a2e: 6aa1 ldr r1, [r4, #40] ; 0x28 + 8003a30: f023 03f0 bic.w r3, r3, #240 ; 0xf0 + 8003a34: 430b orrs r3, r1 + 8003a36: 6013 str r3, [r2, #0] + 8003a38: 6a60 ldr r0, [r4, #36] ; 0x24 + 8003a3a: f7ff fe8f bl 800375c + 8003a3e: 6823 ldr r3, [r4, #0] + 8003a40: 07d8 lsls r0, r3, #31 + 8003a42: d448 bmi.n 8003ad6 + 8003a44: 6823 ldr r3, [r4, #0] + 8003a46: 0799 lsls r1, r3, #30 + 8003a48: f100 808c bmi.w 8003b64 + 8003a4c: 6823 ldr r3, [r4, #0] + 8003a4e: 071e lsls r6, r3, #28 + 8003a50: f140 80fa bpl.w 8003c48 + 8003a54: 69a3 ldr r3, [r4, #24] + 8003a56: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 + 8003a5a: 2b00 cmp r3, #0 + 8003a5c: f000 80e1 beq.w 8003c22 + 8003a60: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 + 8003a64: 69e1 ldr r1, [r4, #28] + 8003a66: f003 0210 and.w r2, r3, #16 + 8003a6a: 4291 cmp r1, r2 + 8003a6c: f000 80c4 beq.w 8003bf8 + 8003a70: f003 0203 and.w r2, r3, #3 + 8003a74: 2a02 cmp r2, #2 + 8003a76: d0c2 beq.n 80039fe + 8003a78: 07d8 lsls r0, r3, #31 + 8003a7a: f140 80b3 bpl.w 8003be4 + 8003a7e: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 + 8003a82: f023 0301 bic.w r3, r3, #1 + 8003a86: f8c6 3094 str.w r3, [r6, #148] ; 0x94 + 8003a8a: f7fd ff1f bl 80018cc + 8003a8e: 4607 mov r7, r0 + 8003a90: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 + 8003a94: 0799 lsls r1, r3, #30 + 8003a96: f140 80a5 bpl.w 8003be4 + 8003a9a: f7fd ff17 bl 80018cc + 8003a9e: 1bc3 subs r3, r0, r7 + 8003aa0: 2b11 cmp r3, #17 + 8003aa2: d9f5 bls.n 8003a90 + 8003aa4: e004 b.n 8003ab0 + 8003aa6: f7fd ff11 bl 80018cc + 8003aaa: 1bc0 subs r0, r0, r7 + 8003aac: 2802 cmp r0, #2 + 8003aae: d9b3 bls.n 8003a18 + 8003ab0: 2003 movs r0, #3 + 8003ab2: e78f b.n 80039d4 + 8003ab4: 681a ldr r2, [r3, #0] + 8003ab6: f022 0201 bic.w r2, r2, #1 + 8003aba: 601a str r2, [r3, #0] + 8003abc: f7fd ff06 bl 80018cc + 8003ac0: 4607 mov r7, r0 + 8003ac2: f7ff fe45 bl 8003750 + 8003ac6: 2800 cmp r0, #0 + 8003ac8: d0b9 beq.n 8003a3e + 8003aca: f7fd feff bl 80018cc + 8003ace: 1bc0 subs r0, r0, r7 + 8003ad0: 2802 cmp r0, #2 + 8003ad2: d9f6 bls.n 8003ac2 + 8003ad4: e7ec b.n 8003ab0 + 8003ad6: 2d08 cmp r5, #8 + 8003ad8: d003 beq.n 8003ae2 + 8003ada: 2d0c cmp r5, #12 + 8003adc: d105 bne.n 8003aea + 8003ade: 2e03 cmp r6, #3 + 8003ae0: d103 bne.n 8003aea + 8003ae2: 6863 ldr r3, [r4, #4] + 8003ae4: 2b00 cmp r3, #0 + 8003ae6: d1ad bne.n 8003a44 + 8003ae8: e789 b.n 80039fe + 8003aea: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8003aee: 68a1 ldr r1, [r4, #8] + 8003af0: 681a ldr r2, [r3, #0] + 8003af2: f422 1280 bic.w r2, r2, #1048576 ; 0x100000 + 8003af6: 430a orrs r2, r1 + 8003af8: 601a str r2, [r3, #0] + 8003afa: 6862 ldr r2, [r4, #4] + 8003afc: f5b2 3f80 cmp.w r2, #65536 ; 0x10000 + 8003b00: d110 bne.n 8003b24 + 8003b02: 681a ldr r2, [r3, #0] + 8003b04: f442 3280 orr.w r2, r2, #65536 ; 0x10000 + 8003b08: 601a str r2, [r3, #0] + 8003b0a: f7fd fedf bl 80018cc + 8003b0e: 4607 mov r7, r0 + 8003b10: f7ff fe18 bl 8003744 + 8003b14: 2800 cmp r0, #0 + 8003b16: d195 bne.n 8003a44 + 8003b18: f7fd fed8 bl 80018cc + 8003b1c: 1bc0 subs r0, r0, r7 + 8003b1e: 2864 cmp r0, #100 ; 0x64 + 8003b20: d9f6 bls.n 8003b10 + 8003b22: e7c5 b.n 8003ab0 + 8003b24: f5b2 1f04 cmp.w r2, #2162688 ; 0x210000 + 8003b28: d104 bne.n 8003b34 + 8003b2a: 681a ldr r2, [r3, #0] + 8003b2c: f442 1200 orr.w r2, r2, #2097152 ; 0x200000 + 8003b30: 601a str r2, [r3, #0] + 8003b32: e7e6 b.n 8003b02 + 8003b34: 6819 ldr r1, [r3, #0] + 8003b36: f421 3180 bic.w r1, r1, #65536 ; 0x10000 + 8003b3a: 6019 str r1, [r3, #0] + 8003b3c: 6819 ldr r1, [r3, #0] + 8003b3e: f421 1100 bic.w r1, r1, #2097152 ; 0x200000 + 8003b42: 6019 str r1, [r3, #0] + 8003b44: 2a00 cmp r2, #0 + 8003b46: d1e0 bne.n 8003b0a + 8003b48: f7fd fec0 bl 80018cc + 8003b4c: 4607 mov r7, r0 + 8003b4e: f7ff fdf9 bl 8003744 + 8003b52: 2800 cmp r0, #0 + 8003b54: f43f af76 beq.w 8003a44 + 8003b58: f7fd feb8 bl 80018cc + 8003b5c: 1bc0 subs r0, r0, r7 + 8003b5e: 2864 cmp r0, #100 ; 0x64 + 8003b60: d9f5 bls.n 8003b4e + 8003b62: e7a5 b.n 8003ab0 + 8003b64: 2d04 cmp r5, #4 + 8003b66: 6923 ldr r3, [r4, #16] + 8003b68: d003 beq.n 8003b72 + 8003b6a: 2d0c cmp r5, #12 + 8003b6c: d10e bne.n 8003b8c + 8003b6e: 2e02 cmp r6, #2 + 8003b70: d10c bne.n 8003b8c + 8003b72: 2b00 cmp r3, #0 + 8003b74: f43f af43 beq.w 80039fe + 8003b78: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8003b7c: 6961 ldr r1, [r4, #20] + 8003b7e: 6853 ldr r3, [r2, #4] + 8003b80: f023 43fe bic.w r3, r3, #2130706432 ; 0x7f000000 + 8003b84: ea43 6301 orr.w r3, r3, r1, lsl #24 + 8003b88: 6053 str r3, [r2, #4] + 8003b8a: e75f b.n 8003a4c + 8003b8c: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 + 8003b90: b1bb cbz r3, 8003bc2 + 8003b92: 6833 ldr r3, [r6, #0] + 8003b94: f443 7380 orr.w r3, r3, #256 ; 0x100 + 8003b98: 6033 str r3, [r6, #0] + 8003b9a: f7fd fe97 bl 80018cc + 8003b9e: 4607 mov r7, r0 + 8003ba0: 6833 ldr r3, [r6, #0] + 8003ba2: 055a lsls r2, r3, #21 + 8003ba4: d507 bpl.n 8003bb6 + 8003ba6: 6873 ldr r3, [r6, #4] + 8003ba8: 6962 ldr r2, [r4, #20] + 8003baa: f023 43fe bic.w r3, r3, #2130706432 ; 0x7f000000 + 8003bae: ea43 6302 orr.w r3, r3, r2, lsl #24 + 8003bb2: 6073 str r3, [r6, #4] + 8003bb4: e74a b.n 8003a4c 8003bb6: f7fd fe89 bl 80018cc - 8003bba: 4607 mov r7, r0 - 8003bbc: 6833 ldr r3, [r6, #0] - 8003bbe: 055b lsls r3, r3, #21 - 8003bc0: f57f af3a bpl.w 8003a38 - 8003bc4: f7fd fe82 bl 80018cc - 8003bc8: 1bc3 subs r3, r0, r7 - 8003bca: 2b02 cmp r3, #2 - 8003bcc: d9f6 bls.n 8003bbc - 8003bce: e765 b.n 8003a9c - 8003bd0: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8003bd4: 69e1 ldr r1, [r4, #28] - 8003bd6: f8d2 3094 ldr.w r3, [r2, #148] ; 0x94 - 8003bda: f023 0310 bic.w r3, r3, #16 - 8003bde: 430b orrs r3, r1 - 8003be0: f8c2 3094 str.w r3, [r2, #148] ; 0x94 - 8003be4: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 - 8003be8: f8d7 3094 ldr.w r3, [r7, #148] ; 0x94 - 8003bec: f043 0301 orr.w r3, r3, #1 - 8003bf0: f8c7 3094 str.w r3, [r7, #148] ; 0x94 - 8003bf4: f7fd fe6a bl 80018cc - 8003bf8: 4606 mov r6, r0 - 8003bfa: f8d7 3094 ldr.w r3, [r7, #148] ; 0x94 - 8003bfe: 079a lsls r2, r3, #30 - 8003c00: d418 bmi.n 8003c34 - 8003c02: f7fd fe63 bl 80018cc - 8003c06: 1b83 subs r3, r0, r6 - 8003c08: 2b11 cmp r3, #17 - 8003c0a: d9f6 bls.n 8003bfa - 8003c0c: e746 b.n 8003a9c - 8003c0e: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 - 8003c12: f023 0301 bic.w r3, r3, #1 - 8003c16: f8c6 3094 str.w r3, [r6, #148] ; 0x94 - 8003c1a: f7fd fe57 bl 80018cc - 8003c1e: 4607 mov r7, r0 - 8003c20: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 - 8003c24: 079b lsls r3, r3, #30 - 8003c26: d505 bpl.n 8003c34 - 8003c28: f7fd fe50 bl 80018cc - 8003c2c: 1bc3 subs r3, r0, r7 - 8003c2e: 2b11 cmp r3, #17 - 8003c30: d9f6 bls.n 8003c20 - 8003c32: e733 b.n 8003a9c - 8003c34: 6823 ldr r3, [r4, #0] - 8003c36: 0758 lsls r0, r3, #29 - 8003c38: d554 bpl.n 8003ce4 - 8003c3a: 4f0b ldr r7, [pc, #44] ; (8003c68 ) - 8003c3c: 683b ldr r3, [r7, #0] - 8003c3e: 05d9 lsls r1, r3, #23 - 8003c40: d414 bmi.n 8003c6c - 8003c42: f7ff fcef bl 8003624 - 8003c46: f7fd fe41 bl 80018cc - 8003c4a: 4606 mov r6, r0 - 8003c4c: 683b ldr r3, [r7, #0] - 8003c4e: 05da lsls r2, r3, #23 - 8003c50: d40c bmi.n 8003c6c - 8003c52: f7fd fe3b bl 80018cc - 8003c56: 1b83 subs r3, r0, r6 - 8003c58: 2b02 cmp r3, #2 - 8003c5a: d9f7 bls.n 8003c4c - 8003c5c: e71e b.n 8003a9c - 8003c5e: bf00 nop - 8003c60: 20000074 .word 0x20000074 - 8003c64: 20000078 .word 0x20000078 - 8003c68: 58000400 .word 0x58000400 - 8003c6c: 68e3 ldr r3, [r4, #12] - 8003c6e: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 - 8003c72: 2b00 cmp r3, #0 - 8003c74: d058 beq.n 8003d28 - 8003c76: f023 0380 bic.w r3, r3, #128 ; 0x80 - 8003c7a: 2b05 cmp r3, #5 - 8003c7c: bf02 ittt eq - 8003c7e: f8d6 3090 ldreq.w r3, [r6, #144] ; 0x90 - 8003c82: f043 0304 orreq.w r3, r3, #4 - 8003c86: f8c6 3090 streq.w r3, [r6, #144] ; 0x90 - 8003c8a: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 - 8003c8e: f7fd fe1d bl 80018cc - 8003c92: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 - 8003c96: f043 0301 orr.w r3, r3, #1 - 8003c9a: 4607 mov r7, r0 - 8003c9c: f8c6 3090 str.w r3, [r6, #144] ; 0x90 - 8003ca0: f241 3888 movw r8, #5000 ; 0x1388 - 8003ca4: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 - 8003ca8: 079b lsls r3, r3, #30 - 8003caa: d405 bmi.n 8003cb8 - 8003cac: f7fd fe0e bl 80018cc - 8003cb0: 1bc3 subs r3, r0, r7 - 8003cb2: 4543 cmp r3, r8 - 8003cb4: d9f6 bls.n 8003ca4 - 8003cb6: e6f1 b.n 8003a9c - 8003cb8: 68e3 ldr r3, [r4, #12] - 8003cba: f023 0304 bic.w r3, r3, #4 - 8003cbe: 2b81 cmp r3, #129 ; 0x81 - 8003cc0: d11b bne.n 8003cfa - 8003cc2: f7fd fe03 bl 80018cc - 8003cc6: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 - 8003cca: f043 0380 orr.w r3, r3, #128 ; 0x80 - 8003cce: f8c6 3090 str.w r3, [r6, #144] ; 0x90 - 8003cd2: 4607 mov r7, r0 - 8003cd4: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 - 8003cd8: f241 3888 movw r8, #5000 ; 0x1388 - 8003cdc: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 - 8003ce0: 0518 lsls r0, r3, #20 - 8003ce2: d504 bpl.n 8003cee - 8003ce4: 6ae0 ldr r0, [r4, #44] ; 0x2c - 8003ce6: 2800 cmp r0, #0 - 8003ce8: d14a bne.n 8003d80 - 8003cea: 2000 movs r0, #0 - 8003cec: e668 b.n 80039c0 - 8003cee: f7fd fded bl 80018cc - 8003cf2: 1bc0 subs r0, r0, r7 - 8003cf4: 4540 cmp r0, r8 - 8003cf6: d9f1 bls.n 8003cdc - 8003cf8: e6d0 b.n 8003a9c - 8003cfa: f7fd fde7 bl 80018cc - 8003cfe: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 - 8003d02: f023 0380 bic.w r3, r3, #128 ; 0x80 - 8003d06: f8c6 3090 str.w r3, [r6, #144] ; 0x90 - 8003d0a: 4607 mov r7, r0 - 8003d0c: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 - 8003d10: f241 3888 movw r8, #5000 ; 0x1388 - 8003d14: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 - 8003d18: 0519 lsls r1, r3, #20 - 8003d1a: d5e3 bpl.n 8003ce4 - 8003d1c: f7fd fdd6 bl 80018cc - 8003d20: 1bc0 subs r0, r0, r7 - 8003d22: 4540 cmp r0, r8 - 8003d24: d9f6 bls.n 8003d14 - 8003d26: e6b9 b.n 8003a9c - 8003d28: f7fd fdd0 bl 80018cc - 8003d2c: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 - 8003d30: f023 0380 bic.w r3, r3, #128 ; 0x80 - 8003d34: 4607 mov r7, r0 - 8003d36: f8c6 3090 str.w r3, [r6, #144] ; 0x90 - 8003d3a: f241 3888 movw r8, #5000 ; 0x1388 - 8003d3e: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 - 8003d42: 051a lsls r2, r3, #20 - 8003d44: d416 bmi.n 8003d74 - 8003d46: f7fd fdc1 bl 80018cc - 8003d4a: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 - 8003d4e: f023 0301 bic.w r3, r3, #1 - 8003d52: f8c6 3090 str.w r3, [r6, #144] ; 0x90 - 8003d56: 4607 mov r7, r0 - 8003d58: f04f 48b0 mov.w r8, #1476395008 ; 0x58000000 - 8003d5c: f241 3688 movw r6, #5000 ; 0x1388 - 8003d60: f8d8 3090 ldr.w r3, [r8, #144] ; 0x90 - 8003d64: 079b lsls r3, r3, #30 - 8003d66: d5bd bpl.n 8003ce4 - 8003d68: f7fd fdb0 bl 80018cc - 8003d6c: 1bc3 subs r3, r0, r7 - 8003d6e: 42b3 cmp r3, r6 - 8003d70: d9f6 bls.n 8003d60 - 8003d72: e693 b.n 8003a9c - 8003d74: f7fd fdaa bl 80018cc - 8003d78: 1bc0 subs r0, r0, r7 - 8003d7a: 4540 cmp r0, r8 - 8003d7c: d9df bls.n 8003d3e - 8003d7e: e68d b.n 8003a9c - 8003d80: 2d0c cmp r5, #12 - 8003d82: d04e beq.n 8003e22 - 8003d84: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003d88: 2802 cmp r0, #2 - 8003d8a: 681a ldr r2, [r3, #0] - 8003d8c: f022 7280 bic.w r2, r2, #16777216 ; 0x1000000 - 8003d90: 601a str r2, [r3, #0] - 8003d92: d133 bne.n 8003dfc - 8003d94: f7fd fd9a bl 80018cc - 8003d98: 4605 mov r5, r0 - 8003d9a: f7ff fcde bl 800375a - 8003d9e: bb38 cbnz r0, 8003df0 - 8003da0: e9d4 310c ldrd r3, r1, [r4, #48] ; 0x30 - 8003da4: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8003da8: 430b orrs r3, r1 - 8003daa: 68d0 ldr r0, [r2, #12] - 8003dac: 492d ldr r1, [pc, #180] ; (8003e64 ) - 8003dae: 4001 ands r1, r0 - 8003db0: 430b orrs r3, r1 - 8003db2: 6be1 ldr r1, [r4, #60] ; 0x3c - 8003db4: 430b orrs r3, r1 - 8003db6: 6c21 ldr r1, [r4, #64] ; 0x40 - 8003db8: 430b orrs r3, r1 - 8003dba: 6c61 ldr r1, [r4, #68] ; 0x44 + 8003bba: 1bc3 subs r3, r0, r7 + 8003bbc: 2b02 cmp r3, #2 + 8003bbe: d9ef bls.n 8003ba0 + 8003bc0: e776 b.n 8003ab0 + 8003bc2: 6833 ldr r3, [r6, #0] + 8003bc4: f423 7380 bic.w r3, r3, #256 ; 0x100 + 8003bc8: 6033 str r3, [r6, #0] + 8003bca: f7fd fe7f bl 80018cc + 8003bce: 4607 mov r7, r0 + 8003bd0: 6833 ldr r3, [r6, #0] + 8003bd2: 055b lsls r3, r3, #21 + 8003bd4: f57f af3a bpl.w 8003a4c + 8003bd8: f7fd fe78 bl 80018cc + 8003bdc: 1bc3 subs r3, r0, r7 + 8003bde: 2b02 cmp r3, #2 + 8003be0: d9f6 bls.n 8003bd0 + 8003be2: e765 b.n 8003ab0 + 8003be4: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8003be8: 69e1 ldr r1, [r4, #28] + 8003bea: f8d2 3094 ldr.w r3, [r2, #148] ; 0x94 + 8003bee: f023 0310 bic.w r3, r3, #16 + 8003bf2: 430b orrs r3, r1 + 8003bf4: f8c2 3094 str.w r3, [r2, #148] ; 0x94 + 8003bf8: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 + 8003bfc: f8d7 3094 ldr.w r3, [r7, #148] ; 0x94 + 8003c00: f043 0301 orr.w r3, r3, #1 + 8003c04: f8c7 3094 str.w r3, [r7, #148] ; 0x94 + 8003c08: f7fd fe60 bl 80018cc + 8003c0c: 4606 mov r6, r0 + 8003c0e: f8d7 3094 ldr.w r3, [r7, #148] ; 0x94 + 8003c12: 079a lsls r2, r3, #30 + 8003c14: d418 bmi.n 8003c48 + 8003c16: f7fd fe59 bl 80018cc + 8003c1a: 1b83 subs r3, r0, r6 + 8003c1c: 2b11 cmp r3, #17 + 8003c1e: d9f6 bls.n 8003c0e + 8003c20: e746 b.n 8003ab0 + 8003c22: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 + 8003c26: f023 0301 bic.w r3, r3, #1 + 8003c2a: f8c6 3094 str.w r3, [r6, #148] ; 0x94 + 8003c2e: f7fd fe4d bl 80018cc + 8003c32: 4607 mov r7, r0 + 8003c34: f8d6 3094 ldr.w r3, [r6, #148] ; 0x94 + 8003c38: 079b lsls r3, r3, #30 + 8003c3a: d505 bpl.n 8003c48 + 8003c3c: f7fd fe46 bl 80018cc + 8003c40: 1bc3 subs r3, r0, r7 + 8003c42: 2b11 cmp r3, #17 + 8003c44: d9f6 bls.n 8003c34 + 8003c46: e733 b.n 8003ab0 + 8003c48: 6823 ldr r3, [r4, #0] + 8003c4a: 0758 lsls r0, r3, #29 + 8003c4c: d554 bpl.n 8003cf8 + 8003c4e: 4f0b ldr r7, [pc, #44] ; (8003c7c ) + 8003c50: 683b ldr r3, [r7, #0] + 8003c52: 05d9 lsls r1, r3, #23 + 8003c54: d414 bmi.n 8003c80 + 8003c56: f7ff fcef bl 8003638 + 8003c5a: f7fd fe37 bl 80018cc + 8003c5e: 4606 mov r6, r0 + 8003c60: 683b ldr r3, [r7, #0] + 8003c62: 05da lsls r2, r3, #23 + 8003c64: d40c bmi.n 8003c80 + 8003c66: f7fd fe31 bl 80018cc + 8003c6a: 1b83 subs r3, r0, r6 + 8003c6c: 2b02 cmp r3, #2 + 8003c6e: d9f7 bls.n 8003c60 + 8003c70: e71e b.n 8003ab0 + 8003c72: bf00 nop + 8003c74: 20000074 .word 0x20000074 + 8003c78: 20000078 .word 0x20000078 + 8003c7c: 58000400 .word 0x58000400 + 8003c80: 68e3 ldr r3, [r4, #12] + 8003c82: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 + 8003c86: 2b00 cmp r3, #0 + 8003c88: d058 beq.n 8003d3c + 8003c8a: f023 0380 bic.w r3, r3, #128 ; 0x80 + 8003c8e: 2b05 cmp r3, #5 + 8003c90: bf02 ittt eq + 8003c92: f8d6 3090 ldreq.w r3, [r6, #144] ; 0x90 + 8003c96: f043 0304 orreq.w r3, r3, #4 + 8003c9a: f8c6 3090 streq.w r3, [r6, #144] ; 0x90 + 8003c9e: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 + 8003ca2: f7fd fe13 bl 80018cc + 8003ca6: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 + 8003caa: f043 0301 orr.w r3, r3, #1 + 8003cae: 4607 mov r7, r0 + 8003cb0: f8c6 3090 str.w r3, [r6, #144] ; 0x90 + 8003cb4: f241 3888 movw r8, #5000 ; 0x1388 + 8003cb8: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 + 8003cbc: 079b lsls r3, r3, #30 + 8003cbe: d405 bmi.n 8003ccc + 8003cc0: f7fd fe04 bl 80018cc + 8003cc4: 1bc3 subs r3, r0, r7 + 8003cc6: 4543 cmp r3, r8 + 8003cc8: d9f6 bls.n 8003cb8 + 8003cca: e6f1 b.n 8003ab0 + 8003ccc: 68e3 ldr r3, [r4, #12] + 8003cce: f023 0304 bic.w r3, r3, #4 + 8003cd2: 2b81 cmp r3, #129 ; 0x81 + 8003cd4: d11b bne.n 8003d0e + 8003cd6: f7fd fdf9 bl 80018cc + 8003cda: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 + 8003cde: f043 0380 orr.w r3, r3, #128 ; 0x80 + 8003ce2: f8c6 3090 str.w r3, [r6, #144] ; 0x90 + 8003ce6: 4607 mov r7, r0 + 8003ce8: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 + 8003cec: f241 3888 movw r8, #5000 ; 0x1388 + 8003cf0: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 + 8003cf4: 0518 lsls r0, r3, #20 + 8003cf6: d504 bpl.n 8003d02 + 8003cf8: 6ae0 ldr r0, [r4, #44] ; 0x2c + 8003cfa: 2800 cmp r0, #0 + 8003cfc: d14a bne.n 8003d94 + 8003cfe: 2000 movs r0, #0 + 8003d00: e668 b.n 80039d4 + 8003d02: f7fd fde3 bl 80018cc + 8003d06: 1bc0 subs r0, r0, r7 + 8003d08: 4540 cmp r0, r8 + 8003d0a: d9f1 bls.n 8003cf0 + 8003d0c: e6d0 b.n 8003ab0 + 8003d0e: f7fd fddd bl 80018cc + 8003d12: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 + 8003d16: f023 0380 bic.w r3, r3, #128 ; 0x80 + 8003d1a: f8c6 3090 str.w r3, [r6, #144] ; 0x90 + 8003d1e: 4607 mov r7, r0 + 8003d20: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 + 8003d24: f241 3888 movw r8, #5000 ; 0x1388 + 8003d28: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 + 8003d2c: 0519 lsls r1, r3, #20 + 8003d2e: d5e3 bpl.n 8003cf8 + 8003d30: f7fd fdcc bl 80018cc + 8003d34: 1bc0 subs r0, r0, r7 + 8003d36: 4540 cmp r0, r8 + 8003d38: d9f6 bls.n 8003d28 + 8003d3a: e6b9 b.n 8003ab0 + 8003d3c: f7fd fdc6 bl 80018cc + 8003d40: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 + 8003d44: f023 0380 bic.w r3, r3, #128 ; 0x80 + 8003d48: 4607 mov r7, r0 + 8003d4a: f8c6 3090 str.w r3, [r6, #144] ; 0x90 + 8003d4e: f241 3888 movw r8, #5000 ; 0x1388 + 8003d52: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 + 8003d56: 051a lsls r2, r3, #20 + 8003d58: d416 bmi.n 8003d88 + 8003d5a: f7fd fdb7 bl 80018cc + 8003d5e: f8d6 3090 ldr.w r3, [r6, #144] ; 0x90 + 8003d62: f023 0301 bic.w r3, r3, #1 + 8003d66: f8c6 3090 str.w r3, [r6, #144] ; 0x90 + 8003d6a: 4607 mov r7, r0 + 8003d6c: f04f 48b0 mov.w r8, #1476395008 ; 0x58000000 + 8003d70: f241 3688 movw r6, #5000 ; 0x1388 + 8003d74: f8d8 3090 ldr.w r3, [r8, #144] ; 0x90 + 8003d78: 079b lsls r3, r3, #30 + 8003d7a: d5bd bpl.n 8003cf8 + 8003d7c: f7fd fda6 bl 80018cc + 8003d80: 1bc3 subs r3, r0, r7 + 8003d82: 42b3 cmp r3, r6 + 8003d84: d9f6 bls.n 8003d74 + 8003d86: e693 b.n 8003ab0 + 8003d88: f7fd fda0 bl 80018cc + 8003d8c: 1bc0 subs r0, r0, r7 + 8003d8e: 4540 cmp r0, r8 + 8003d90: d9df bls.n 8003d52 + 8003d92: e68d b.n 8003ab0 + 8003d94: 2d0c cmp r5, #12 + 8003d96: d04e beq.n 8003e36 + 8003d98: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8003d9c: 2802 cmp r0, #2 + 8003d9e: 681a ldr r2, [r3, #0] + 8003da0: f022 7280 bic.w r2, r2, #16777216 ; 0x1000000 + 8003da4: 601a str r2, [r3, #0] + 8003da6: d133 bne.n 8003e10 + 8003da8: f7fd fd90 bl 80018cc + 8003dac: 4605 mov r5, r0 + 8003dae: f7ff fcde bl 800376e + 8003db2: bb38 cbnz r0, 8003e04 + 8003db4: e9d4 310c ldrd r3, r1, [r4, #48] ; 0x30 + 8003db8: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 8003dbc: 430b orrs r3, r1 - 8003dbe: 6ba1 ldr r1, [r4, #56] ; 0x38 - 8003dc0: ea43 2301 orr.w r3, r3, r1, lsl #8 - 8003dc4: 60d3 str r3, [r2, #12] - 8003dc6: 6813 ldr r3, [r2, #0] - 8003dc8: f043 7380 orr.w r3, r3, #16777216 ; 0x1000000 - 8003dcc: 6013 str r3, [r2, #0] - 8003dce: 68d3 ldr r3, [r2, #12] - 8003dd0: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000 - 8003dd4: 60d3 str r3, [r2, #12] - 8003dd6: f7fd fd79 bl 80018cc - 8003dda: 4604 mov r4, r0 - 8003ddc: f7ff fcbd bl 800375a - 8003de0: 2800 cmp r0, #0 - 8003de2: d182 bne.n 8003cea - 8003de4: f7fd fd72 bl 80018cc - 8003de8: 1b00 subs r0, r0, r4 - 8003dea: 280a cmp r0, #10 - 8003dec: d9f6 bls.n 8003ddc - 8003dee: e655 b.n 8003a9c - 8003df0: f7fd fd6c bl 80018cc - 8003df4: 1b40 subs r0, r0, r5 - 8003df6: 280a cmp r0, #10 - 8003df8: d9cf bls.n 8003d9a - 8003dfa: e64f b.n 8003a9c - 8003dfc: f7fd fd66 bl 80018cc - 8003e00: 4604 mov r4, r0 - 8003e02: f7ff fcaa bl 800375a - 8003e06: b930 cbnz r0, 8003e16 - 8003e08: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8003e0c: 4b16 ldr r3, [pc, #88] ; (8003e68 ) - 8003e0e: 68d1 ldr r1, [r2, #12] - 8003e10: 400b ands r3, r1 - 8003e12: 60d3 str r3, [r2, #12] - 8003e14: e5d4 b.n 80039c0 - 8003e16: f7fd fd59 bl 80018cc - 8003e1a: 1b00 subs r0, r0, r4 - 8003e1c: 280a cmp r0, #10 - 8003e1e: d9f0 bls.n 8003e02 - 8003e20: e63c b.n 8003a9c - 8003e22: 2801 cmp r0, #1 - 8003e24: f43f adcc beq.w 80039c0 - 8003e28: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003e2c: 6b22 ldr r2, [r4, #48] ; 0x30 - 8003e2e: 68db ldr r3, [r3, #12] - 8003e30: f003 0103 and.w r1, r3, #3 - 8003e34: 4291 cmp r1, r2 - 8003e36: f47f add8 bne.w 80039ea - 8003e3a: 6b61 ldr r1, [r4, #52] ; 0x34 - 8003e3c: f003 0270 and.w r2, r3, #112 ; 0x70 - 8003e40: 428a cmp r2, r1 - 8003e42: f47f add2 bne.w 80039ea - 8003e46: 6ba1 ldr r1, [r4, #56] ; 0x38 - 8003e48: f403 42fe and.w r2, r3, #32512 ; 0x7f00 - 8003e4c: ebb2 2f01 cmp.w r2, r1, lsl #8 - 8003e50: f47f adcb bne.w 80039ea - 8003e54: 6c62 ldr r2, [r4, #68] ; 0x44 - 8003e56: f003 4360 and.w r3, r3, #3758096384 ; 0xe0000000 - 8003e5a: 4293 cmp r3, r2 - 8003e5c: f43f af45 beq.w 8003cea - 8003e60: e5c3 b.n 80039ea - 8003e62: bf00 nop - 8003e64: 11c1808c .word 0x11c1808c - 8003e68: eefefffc .word 0xeefefffc + 8003dbe: 68d0 ldr r0, [r2, #12] + 8003dc0: 492d ldr r1, [pc, #180] ; (8003e78 ) + 8003dc2: 4001 ands r1, r0 + 8003dc4: 430b orrs r3, r1 + 8003dc6: 6be1 ldr r1, [r4, #60] ; 0x3c + 8003dc8: 430b orrs r3, r1 + 8003dca: 6c21 ldr r1, [r4, #64] ; 0x40 + 8003dcc: 430b orrs r3, r1 + 8003dce: 6c61 ldr r1, [r4, #68] ; 0x44 + 8003dd0: 430b orrs r3, r1 + 8003dd2: 6ba1 ldr r1, [r4, #56] ; 0x38 + 8003dd4: ea43 2301 orr.w r3, r3, r1, lsl #8 + 8003dd8: 60d3 str r3, [r2, #12] + 8003dda: 6813 ldr r3, [r2, #0] + 8003ddc: f043 7380 orr.w r3, r3, #16777216 ; 0x1000000 + 8003de0: 6013 str r3, [r2, #0] + 8003de2: 68d3 ldr r3, [r2, #12] + 8003de4: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000 + 8003de8: 60d3 str r3, [r2, #12] + 8003dea: f7fd fd6f bl 80018cc + 8003dee: 4604 mov r4, r0 + 8003df0: f7ff fcbd bl 800376e + 8003df4: 2800 cmp r0, #0 + 8003df6: d182 bne.n 8003cfe + 8003df8: f7fd fd68 bl 80018cc + 8003dfc: 1b00 subs r0, r0, r4 + 8003dfe: 280a cmp r0, #10 + 8003e00: d9f6 bls.n 8003df0 + 8003e02: e655 b.n 8003ab0 + 8003e04: f7fd fd62 bl 80018cc + 8003e08: 1b40 subs r0, r0, r5 + 8003e0a: 280a cmp r0, #10 + 8003e0c: d9cf bls.n 8003dae + 8003e0e: e64f b.n 8003ab0 + 8003e10: f7fd fd5c bl 80018cc + 8003e14: 4604 mov r4, r0 + 8003e16: f7ff fcaa bl 800376e + 8003e1a: b930 cbnz r0, 8003e2a + 8003e1c: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8003e20: 4b16 ldr r3, [pc, #88] ; (8003e7c ) + 8003e22: 68d1 ldr r1, [r2, #12] + 8003e24: 400b ands r3, r1 + 8003e26: 60d3 str r3, [r2, #12] + 8003e28: e5d4 b.n 80039d4 + 8003e2a: f7fd fd4f bl 80018cc + 8003e2e: 1b00 subs r0, r0, r4 + 8003e30: 280a cmp r0, #10 + 8003e32: d9f0 bls.n 8003e16 + 8003e34: e63c b.n 8003ab0 + 8003e36: 2801 cmp r0, #1 + 8003e38: f43f adcc beq.w 80039d4 + 8003e3c: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8003e40: 6b22 ldr r2, [r4, #48] ; 0x30 + 8003e42: 68db ldr r3, [r3, #12] + 8003e44: f003 0103 and.w r1, r3, #3 + 8003e48: 4291 cmp r1, r2 + 8003e4a: f47f add8 bne.w 80039fe + 8003e4e: 6b61 ldr r1, [r4, #52] ; 0x34 + 8003e50: f003 0270 and.w r2, r3, #112 ; 0x70 + 8003e54: 428a cmp r2, r1 + 8003e56: f47f add2 bne.w 80039fe + 8003e5a: 6ba1 ldr r1, [r4, #56] ; 0x38 + 8003e5c: f403 42fe and.w r2, r3, #32512 ; 0x7f00 + 8003e60: ebb2 2f01 cmp.w r2, r1, lsl #8 + 8003e64: f47f adcb bne.w 80039fe + 8003e68: 6c62 ldr r2, [r4, #68] ; 0x44 + 8003e6a: f003 4360 and.w r3, r3, #3758096384 ; 0xe0000000 + 8003e6e: 4293 cmp r3, r2 + 8003e70: f43f af45 beq.w 8003cfe + 8003e74: e5c3 b.n 80039fe + 8003e76: bf00 nop + 8003e78: 11c1808c .word 0x11c1808c + 8003e7c: eefefffc .word 0xeefefffc -08003e6c : - 8003e6c: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8003e70: 460d mov r5, r1 - 8003e72: 4604 mov r4, r0 - 8003e74: b910 cbnz r0, 8003e7c - 8003e76: 2001 movs r0, #1 - 8003e78: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8003e7c: 4e68 ldr r6, [pc, #416] ; (8004020 ) - 8003e7e: 6833 ldr r3, [r6, #0] - 8003e80: f003 0307 and.w r3, r3, #7 - 8003e84: 428b cmp r3, r1 - 8003e86: d316 bcc.n 8003eb6 - 8003e88: 6823 ldr r3, [r4, #0] - 8003e8a: 079a lsls r2, r3, #30 - 8003e8c: d527 bpl.n 8003ede - 8003e8e: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 - 8003e92: 68a2 ldr r2, [r4, #8] - 8003e94: 68bb ldr r3, [r7, #8] - 8003e96: f023 03f0 bic.w r3, r3, #240 ; 0xf0 - 8003e9a: 4313 orrs r3, r2 - 8003e9c: 60bb str r3, [r7, #8] - 8003e9e: f7fd fd15 bl 80018cc - 8003ea2: 4606 mov r6, r0 - 8003ea4: 68bb ldr r3, [r7, #8] - 8003ea6: 03db lsls r3, r3, #15 - 8003ea8: d419 bmi.n 8003ede - 8003eaa: f7fd fd0f bl 80018cc - 8003eae: 1b83 subs r3, r0, r6 - 8003eb0: 2b02 cmp r3, #2 - 8003eb2: d9f7 bls.n 8003ea4 - 8003eb4: e011 b.n 8003eda - 8003eb6: 6833 ldr r3, [r6, #0] - 8003eb8: f023 0307 bic.w r3, r3, #7 - 8003ebc: 430b orrs r3, r1 - 8003ebe: 6033 str r3, [r6, #0] - 8003ec0: f7fd fd04 bl 80018cc - 8003ec4: 4607 mov r7, r0 - 8003ec6: 6833 ldr r3, [r6, #0] - 8003ec8: f003 0307 and.w r3, r3, #7 - 8003ecc: 42ab cmp r3, r5 - 8003ece: d0db beq.n 8003e88 - 8003ed0: f7fd fcfc bl 80018cc - 8003ed4: 1bc0 subs r0, r0, r7 - 8003ed6: 2802 cmp r0, #2 - 8003ed8: d9f5 bls.n 8003ec6 - 8003eda: 2003 movs r0, #3 - 8003edc: e7cc b.n 8003e78 - 8003ede: 6823 ldr r3, [r4, #0] - 8003ee0: 0658 lsls r0, r3, #25 - 8003ee2: d517 bpl.n 8003f14 - 8003ee4: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 - 8003ee8: 6962 ldr r2, [r4, #20] - 8003eea: f8d7 3108 ldr.w r3, [r7, #264] ; 0x108 - 8003eee: f023 030f bic.w r3, r3, #15 - 8003ef2: ea43 1312 orr.w r3, r3, r2, lsr #4 - 8003ef6: f8c7 3108 str.w r3, [r7, #264] ; 0x108 - 8003efa: f7fd fce7 bl 80018cc - 8003efe: 4606 mov r6, r0 - 8003f00: f8d7 3108 ldr.w r3, [r7, #264] ; 0x108 - 8003f04: 03d9 lsls r1, r3, #15 - 8003f06: d405 bmi.n 8003f14 - 8003f08: f7fd fce0 bl 80018cc - 8003f0c: 1b83 subs r3, r0, r6 - 8003f0e: 2b02 cmp r3, #2 - 8003f10: d9f6 bls.n 8003f00 - 8003f12: e7e2 b.n 8003eda - 8003f14: 6823 ldr r3, [r4, #0] - 8003f16: 075a lsls r2, r3, #29 - 8003f18: d513 bpl.n 8003f42 - 8003f1a: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 - 8003f1e: 68e2 ldr r2, [r4, #12] - 8003f20: 68bb ldr r3, [r7, #8] - 8003f22: f423 63e0 bic.w r3, r3, #1792 ; 0x700 - 8003f26: 4313 orrs r3, r2 - 8003f28: 60bb str r3, [r7, #8] - 8003f2a: f7fd fccf bl 80018cc - 8003f2e: 4606 mov r6, r0 - 8003f30: 68bb ldr r3, [r7, #8] - 8003f32: 039b lsls r3, r3, #14 - 8003f34: d405 bmi.n 8003f42 - 8003f36: f7fd fcc9 bl 80018cc - 8003f3a: 1b83 subs r3, r0, r6 - 8003f3c: 2b02 cmp r3, #2 - 8003f3e: d9f7 bls.n 8003f30 - 8003f40: e7cb b.n 8003eda - 8003f42: 6823 ldr r3, [r4, #0] - 8003f44: 0718 lsls r0, r3, #28 - 8003f46: d514 bpl.n 8003f72 - 8003f48: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 - 8003f4c: 6922 ldr r2, [r4, #16] - 8003f4e: 68bb ldr r3, [r7, #8] - 8003f50: f423 5360 bic.w r3, r3, #14336 ; 0x3800 - 8003f54: ea43 03c2 orr.w r3, r3, r2, lsl #3 - 8003f58: 60bb str r3, [r7, #8] - 8003f5a: f7fd fcb7 bl 80018cc - 8003f5e: 4606 mov r6, r0 - 8003f60: 68bb ldr r3, [r7, #8] - 8003f62: 0359 lsls r1, r3, #13 - 8003f64: d405 bmi.n 8003f72 - 8003f66: f7fd fcb1 bl 80018cc - 8003f6a: 1b83 subs r3, r0, r6 - 8003f6c: 2b02 cmp r3, #2 - 8003f6e: d9f7 bls.n 8003f60 - 8003f70: e7b3 b.n 8003eda - 8003f72: 6823 ldr r3, [r4, #0] - 8003f74: 07da lsls r2, r3, #31 - 8003f76: d40f bmi.n 8003f98 - 8003f78: 4c29 ldr r4, [pc, #164] ; (8004020 ) - 8003f7a: 6823 ldr r3, [r4, #0] - 8003f7c: f003 0307 and.w r3, r3, #7 - 8003f80: 42ab cmp r3, r5 - 8003f82: d839 bhi.n 8003ff8 - 8003f84: f7ff fcc8 bl 8003918 - 8003f88: 4b26 ldr r3, [pc, #152] ; (8004024 ) - 8003f8a: 6018 str r0, [r3, #0] - 8003f8c: 4b26 ldr r3, [pc, #152] ; (8004028 ) - 8003f8e: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 8003f92: 6818 ldr r0, [r3, #0] - 8003f94: f7fd bc98 b.w 80018c8 - 8003f98: 6862 ldr r2, [r4, #4] - 8003f9a: 2a02 cmp r2, #2 - 8003f9c: d11d bne.n 8003fda - 8003f9e: f7ff fbc7 bl 8003730 - 8003fa2: 2800 cmp r0, #0 - 8003fa4: f43f af67 beq.w 8003e76 - 8003fa8: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 - 8003fac: f241 3888 movw r8, #5000 ; 0x1388 - 8003fb0: 68b3 ldr r3, [r6, #8] - 8003fb2: f023 0303 bic.w r3, r3, #3 - 8003fb6: 4313 orrs r3, r2 - 8003fb8: 60b3 str r3, [r6, #8] - 8003fba: f7fd fc87 bl 80018cc - 8003fbe: 4607 mov r7, r0 - 8003fc0: 68b3 ldr r3, [r6, #8] - 8003fc2: 6862 ldr r2, [r4, #4] - 8003fc4: f003 030c and.w r3, r3, #12 - 8003fc8: ebb3 0f82 cmp.w r3, r2, lsl #2 - 8003fcc: d0d4 beq.n 8003f78 +08003e80 : + 8003e80: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8003e84: 460d mov r5, r1 + 8003e86: 4604 mov r4, r0 + 8003e88: b910 cbnz r0, 8003e90 + 8003e8a: 2001 movs r0, #1 + 8003e8c: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8003e90: 4e68 ldr r6, [pc, #416] ; (8004034 ) + 8003e92: 6833 ldr r3, [r6, #0] + 8003e94: f003 0307 and.w r3, r3, #7 + 8003e98: 428b cmp r3, r1 + 8003e9a: d316 bcc.n 8003eca + 8003e9c: 6823 ldr r3, [r4, #0] + 8003e9e: 079a lsls r2, r3, #30 + 8003ea0: d527 bpl.n 8003ef2 + 8003ea2: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 + 8003ea6: 68a2 ldr r2, [r4, #8] + 8003ea8: 68bb ldr r3, [r7, #8] + 8003eaa: f023 03f0 bic.w r3, r3, #240 ; 0xf0 + 8003eae: 4313 orrs r3, r2 + 8003eb0: 60bb str r3, [r7, #8] + 8003eb2: f7fd fd0b bl 80018cc + 8003eb6: 4606 mov r6, r0 + 8003eb8: 68bb ldr r3, [r7, #8] + 8003eba: 03db lsls r3, r3, #15 + 8003ebc: d419 bmi.n 8003ef2 + 8003ebe: f7fd fd05 bl 80018cc + 8003ec2: 1b83 subs r3, r0, r6 + 8003ec4: 2b02 cmp r3, #2 + 8003ec6: d9f7 bls.n 8003eb8 + 8003ec8: e011 b.n 8003eee + 8003eca: 6833 ldr r3, [r6, #0] + 8003ecc: f023 0307 bic.w r3, r3, #7 + 8003ed0: 430b orrs r3, r1 + 8003ed2: 6033 str r3, [r6, #0] + 8003ed4: f7fd fcfa bl 80018cc + 8003ed8: 4607 mov r7, r0 + 8003eda: 6833 ldr r3, [r6, #0] + 8003edc: f003 0307 and.w r3, r3, #7 + 8003ee0: 42ab cmp r3, r5 + 8003ee2: d0db beq.n 8003e9c + 8003ee4: f7fd fcf2 bl 80018cc + 8003ee8: 1bc0 subs r0, r0, r7 + 8003eea: 2802 cmp r0, #2 + 8003eec: d9f5 bls.n 8003eda + 8003eee: 2003 movs r0, #3 + 8003ef0: e7cc b.n 8003e8c + 8003ef2: 6823 ldr r3, [r4, #0] + 8003ef4: 0658 lsls r0, r3, #25 + 8003ef6: d517 bpl.n 8003f28 + 8003ef8: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 + 8003efc: 6962 ldr r2, [r4, #20] + 8003efe: f8d7 3108 ldr.w r3, [r7, #264] ; 0x108 + 8003f02: f023 030f bic.w r3, r3, #15 + 8003f06: ea43 1312 orr.w r3, r3, r2, lsr #4 + 8003f0a: f8c7 3108 str.w r3, [r7, #264] ; 0x108 + 8003f0e: f7fd fcdd bl 80018cc + 8003f12: 4606 mov r6, r0 + 8003f14: f8d7 3108 ldr.w r3, [r7, #264] ; 0x108 + 8003f18: 03d9 lsls r1, r3, #15 + 8003f1a: d405 bmi.n 8003f28 + 8003f1c: f7fd fcd6 bl 80018cc + 8003f20: 1b83 subs r3, r0, r6 + 8003f22: 2b02 cmp r3, #2 + 8003f24: d9f6 bls.n 8003f14 + 8003f26: e7e2 b.n 8003eee + 8003f28: 6823 ldr r3, [r4, #0] + 8003f2a: 075a lsls r2, r3, #29 + 8003f2c: d513 bpl.n 8003f56 + 8003f2e: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 + 8003f32: 68e2 ldr r2, [r4, #12] + 8003f34: 68bb ldr r3, [r7, #8] + 8003f36: f423 63e0 bic.w r3, r3, #1792 ; 0x700 + 8003f3a: 4313 orrs r3, r2 + 8003f3c: 60bb str r3, [r7, #8] + 8003f3e: f7fd fcc5 bl 80018cc + 8003f42: 4606 mov r6, r0 + 8003f44: 68bb ldr r3, [r7, #8] + 8003f46: 039b lsls r3, r3, #14 + 8003f48: d405 bmi.n 8003f56 + 8003f4a: f7fd fcbf bl 80018cc + 8003f4e: 1b83 subs r3, r0, r6 + 8003f50: 2b02 cmp r3, #2 + 8003f52: d9f7 bls.n 8003f44 + 8003f54: e7cb b.n 8003eee + 8003f56: 6823 ldr r3, [r4, #0] + 8003f58: 0718 lsls r0, r3, #28 + 8003f5a: d514 bpl.n 8003f86 + 8003f5c: f04f 47b0 mov.w r7, #1476395008 ; 0x58000000 + 8003f60: 6922 ldr r2, [r4, #16] + 8003f62: 68bb ldr r3, [r7, #8] + 8003f64: f423 5360 bic.w r3, r3, #14336 ; 0x3800 + 8003f68: ea43 03c2 orr.w r3, r3, r2, lsl #3 + 8003f6c: 60bb str r3, [r7, #8] + 8003f6e: f7fd fcad bl 80018cc + 8003f72: 4606 mov r6, r0 + 8003f74: 68bb ldr r3, [r7, #8] + 8003f76: 0359 lsls r1, r3, #13 + 8003f78: d405 bmi.n 8003f86 + 8003f7a: f7fd fca7 bl 80018cc + 8003f7e: 1b83 subs r3, r0, r6 + 8003f80: 2b02 cmp r3, #2 + 8003f82: d9f7 bls.n 8003f74 + 8003f84: e7b3 b.n 8003eee + 8003f86: 6823 ldr r3, [r4, #0] + 8003f88: 07da lsls r2, r3, #31 + 8003f8a: d40f bmi.n 8003fac + 8003f8c: 4c29 ldr r4, [pc, #164] ; (8004034 ) + 8003f8e: 6823 ldr r3, [r4, #0] + 8003f90: f003 0307 and.w r3, r3, #7 + 8003f94: 42ab cmp r3, r5 + 8003f96: d839 bhi.n 800400c + 8003f98: f7ff fcc8 bl 800392c + 8003f9c: 4b26 ldr r3, [pc, #152] ; (8004038 ) + 8003f9e: 6018 str r0, [r3, #0] + 8003fa0: 4b26 ldr r3, [pc, #152] ; (800403c ) + 8003fa2: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 8003fa6: 6818 ldr r0, [r3, #0] + 8003fa8: f7fd bc8e b.w 80018c8 + 8003fac: 6862 ldr r2, [r4, #4] + 8003fae: 2a02 cmp r2, #2 + 8003fb0: d11d bne.n 8003fee + 8003fb2: f7ff fbc7 bl 8003744 + 8003fb6: 2800 cmp r0, #0 + 8003fb8: f43f af67 beq.w 8003e8a + 8003fbc: f04f 46b0 mov.w r6, #1476395008 ; 0x58000000 + 8003fc0: f241 3888 movw r8, #5000 ; 0x1388 + 8003fc4: 68b3 ldr r3, [r6, #8] + 8003fc6: f023 0303 bic.w r3, r3, #3 + 8003fca: 4313 orrs r3, r2 + 8003fcc: 60b3 str r3, [r6, #8] 8003fce: f7fd fc7d bl 80018cc - 8003fd2: 1bc0 subs r0, r0, r7 - 8003fd4: 4540 cmp r0, r8 - 8003fd6: d9f3 bls.n 8003fc0 - 8003fd8: e77f b.n 8003eda - 8003fda: 2a03 cmp r2, #3 - 8003fdc: d102 bne.n 8003fe4 - 8003fde: f7ff fbbc bl 800375a - 8003fe2: e7de b.n 8003fa2 - 8003fe4: b912 cbnz r2, 8003fec - 8003fe6: f7ff fba9 bl 800373c - 8003fea: e7da b.n 8003fa2 - 8003fec: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8003ff0: 681b ldr r3, [r3, #0] - 8003ff2: 055b lsls r3, r3, #21 - 8003ff4: d4d8 bmi.n 8003fa8 - 8003ff6: e73e b.n 8003e76 - 8003ff8: 6823 ldr r3, [r4, #0] - 8003ffa: f023 0307 bic.w r3, r3, #7 - 8003ffe: 432b orrs r3, r5 - 8004000: 6023 str r3, [r4, #0] - 8004002: f7fd fc63 bl 80018cc - 8004006: 4606 mov r6, r0 - 8004008: 6823 ldr r3, [r4, #0] - 800400a: f003 0307 and.w r3, r3, #7 - 800400e: 42ab cmp r3, r5 - 8004010: d0b8 beq.n 8003f84 - 8004012: f7fd fc5b bl 80018cc - 8004016: 1b80 subs r0, r0, r6 - 8004018: 2802 cmp r0, #2 - 800401a: d9f5 bls.n 8004008 - 800401c: e75d b.n 8003eda - 800401e: bf00 nop - 8004020: 58004000 .word 0x58004000 - 8004024: 20000074 .word 0x20000074 - 8004028: 20000078 .word 0x20000078 + 8003fd2: 4607 mov r7, r0 + 8003fd4: 68b3 ldr r3, [r6, #8] + 8003fd6: 6862 ldr r2, [r4, #4] + 8003fd8: f003 030c and.w r3, r3, #12 + 8003fdc: ebb3 0f82 cmp.w r3, r2, lsl #2 + 8003fe0: d0d4 beq.n 8003f8c + 8003fe2: f7fd fc73 bl 80018cc + 8003fe6: 1bc0 subs r0, r0, r7 + 8003fe8: 4540 cmp r0, r8 + 8003fea: d9f3 bls.n 8003fd4 + 8003fec: e77f b.n 8003eee + 8003fee: 2a03 cmp r2, #3 + 8003ff0: d102 bne.n 8003ff8 + 8003ff2: f7ff fbbc bl 800376e + 8003ff6: e7de b.n 8003fb6 + 8003ff8: b912 cbnz r2, 8004000 + 8003ffa: f7ff fba9 bl 8003750 + 8003ffe: e7da b.n 8003fb6 + 8004000: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8004004: 681b ldr r3, [r3, #0] + 8004006: 055b lsls r3, r3, #21 + 8004008: d4d8 bmi.n 8003fbc + 800400a: e73e b.n 8003e8a + 800400c: 6823 ldr r3, [r4, #0] + 800400e: f023 0307 bic.w r3, r3, #7 + 8004012: 432b orrs r3, r5 + 8004014: 6023 str r3, [r4, #0] + 8004016: f7fd fc59 bl 80018cc + 800401a: 4606 mov r6, r0 + 800401c: 6823 ldr r3, [r4, #0] + 800401e: f003 0307 and.w r3, r3, #7 + 8004022: 42ab cmp r3, r5 + 8004024: d0b8 beq.n 8003f98 + 8004026: f7fd fc51 bl 80018cc + 800402a: 1b80 subs r0, r0, r6 + 800402c: 2802 cmp r0, #2 + 800402e: d9f5 bls.n 800401c + 8004030: e75d b.n 8003eee + 8004032: bf00 nop + 8004034: 58004000 .word 0x58004000 + 8004038: 20000074 .word 0x20000074 + 800403c: 20000078 .word 0x20000078 -0800402c : - 800402c: b508 push {r3, lr} - 800402e: f7ff fc73 bl 8003918 - 8004032: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8004036: 4a04 ldr r2, [pc, #16] ; (8004048 ) - 8004038: 689b ldr r3, [r3, #8] - 800403a: f3c3 2302 ubfx r3, r3, #8, #3 - 800403e: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 8004042: 40d8 lsrs r0, r3 - 8004044: bd08 pop {r3, pc} - 8004046: bf00 nop - 8004048: 0800f1c8 .word 0x0800f1c8 +08004040 : + 8004040: b508 push {r3, lr} + 8004042: f7ff fc73 bl 800392c + 8004046: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 800404a: 4a04 ldr r2, [pc, #16] ; (800405c ) + 800404c: 689b ldr r3, [r3, #8] + 800404e: f3c3 2302 ubfx r3, r3, #8, #3 + 8004052: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 8004056: 40d8 lsrs r0, r3 + 8004058: bd08 pop {r3, pc} + 800405a: bf00 nop + 800405c: 0800f1d8 .word 0x0800f1d8 -0800404c : - 800404c: b508 push {r3, lr} - 800404e: f7ff fc63 bl 8003918 - 8004052: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8004056: 4a04 ldr r2, [pc, #16] ; (8004068 ) - 8004058: 689b ldr r3, [r3, #8] - 800405a: f3c3 23c2 ubfx r3, r3, #11, #3 - 800405e: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 8004062: 40d8 lsrs r0, r3 - 8004064: bd08 pop {r3, pc} - 8004066: bf00 nop - 8004068: 0800f1c8 .word 0x0800f1c8 +08004060 : + 8004060: b508 push {r3, lr} + 8004062: f7ff fc63 bl 800392c + 8004066: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 800406a: 4a04 ldr r2, [pc, #16] ; (800407c ) + 800406c: 689b ldr r3, [r3, #8] + 800406e: f3c3 23c2 ubfx r3, r3, #11, #3 + 8004072: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 8004076: 40d8 lsrs r0, r3 + 8004078: bd08 pop {r3, pc} + 800407a: bf00 nop + 800407c: 0800f1d8 .word 0x0800f1d8 -0800406c : - 800406c: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8004070: f8d3 0090 ldr.w r0, [r3, #144] ; 0x90 - 8004074: f3c0 0040 ubfx r0, r0, #1, #1 - 8004078: 4770 bx lr +08004080 : + 8004080: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8004084: f8d3 0090 ldr.w r0, [r3, #144] ; 0x90 + 8004088: f3c0 0040 ubfx r0, r0, #1, #1 + 800408c: 4770 bx lr -0800407a : - 800407a: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 - 800407e: 0902 lsrs r2, r0, #4 - 8004080: f8d1 3088 ldr.w r3, [r1, #136] ; 0x88 - 8004084: f402 227f and.w r2, r2, #1044480 ; 0xff000 - 8004088: 0100 lsls r0, r0, #4 - 800408a: ea23 0302 bic.w r3, r3, r2 - 800408e: f400 207f and.w r0, r0, #1044480 ; 0xff000 - 8004092: 4303 orrs r3, r0 - 8004094: f8c1 3088 str.w r3, [r1, #136] ; 0x88 - 8004098: 4770 bx lr +0800408e : + 800408e: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 + 8004092: 0902 lsrs r2, r0, #4 + 8004094: f8d1 3088 ldr.w r3, [r1, #136] ; 0x88 + 8004098: f402 227f and.w r2, r2, #1044480 ; 0xff000 + 800409c: 0100 lsls r0, r0, #4 + 800409e: ea23 0302 bic.w r3, r3, r2 + 80040a2: f400 207f and.w r0, r0, #1044480 ; 0xff000 + 80040a6: 4303 orrs r3, r0 + 80040a8: f8c1 3088 str.w r3, [r1, #136] ; 0x88 + 80040ac: 4770 bx lr -0800409a : - 800409a: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 - 800409e: 0c02 lsrs r2, r0, #16 - 80040a0: f8d1 3088 ldr.w r3, [r1, #136] ; 0x88 - 80040a4: 0412 lsls r2, r2, #16 - 80040a6: ea23 0302 bic.w r3, r3, r2 - 80040aa: ea43 4000 orr.w r0, r3, r0, lsl #16 - 80040ae: f8c1 0088 str.w r0, [r1, #136] ; 0x88 - 80040b2: 4770 bx lr +080040ae : + 80040ae: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 + 80040b2: 0c02 lsrs r2, r0, #16 + 80040b4: f8d1 3088 ldr.w r3, [r1, #136] ; 0x88 + 80040b8: 0412 lsls r2, r2, #16 + 80040ba: ea23 0302 bic.w r3, r3, r2 + 80040be: ea43 4000 orr.w r0, r3, r0, lsl #16 + 80040c2: f8c1 0088 str.w r0, [r1, #136] ; 0x88 + 80040c6: 4770 bx lr -080040b4 : - 80040b4: b570 push {r4, r5, r6, lr} - 80040b6: 6806 ldr r6, [r0, #0] - 80040b8: f416 3680 ands.w r6, r6, #65536 ; 0x10000 - 80040bc: 4604 mov r4, r0 - 80040be: d038 beq.n 8004132 - 80040c0: f7ff fab0 bl 8003624 - 80040c4: f7fd fc02 bl 80018cc - 80040c8: 4e61 ldr r6, [pc, #388] ; (8004250 ) - 80040ca: 4605 mov r5, r0 - 80040cc: 6833 ldr r3, [r6, #0] - 80040ce: 05db lsls r3, r3, #23 - 80040d0: d529 bpl.n 8004126 - 80040d2: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 80040d6: 6b61 ldr r1, [r4, #52] ; 0x34 - 80040d8: f8d3 2090 ldr.w r2, [r3, #144] ; 0x90 - 80040dc: f402 7240 and.w r2, r2, #768 ; 0x300 - 80040e0: 4291 cmp r1, r2 - 80040e2: d014 beq.n 800410e - 80040e4: f8d3 1090 ldr.w r1, [r3, #144] ; 0x90 - 80040e8: f8d3 2090 ldr.w r2, [r3, #144] ; 0x90 - 80040ec: f442 3280 orr.w r2, r2, #65536 ; 0x10000 - 80040f0: f8c3 2090 str.w r2, [r3, #144] ; 0x90 - 80040f4: f8d3 2090 ldr.w r2, [r3, #144] ; 0x90 - 80040f8: f421 7040 bic.w r0, r1, #768 ; 0x300 - 80040fc: f422 3280 bic.w r2, r2, #65536 ; 0x10000 - 8004100: 078d lsls r5, r1, #30 - 8004102: f8c3 2090 str.w r2, [r3, #144] ; 0x90 - 8004106: f8c3 0090 str.w r0, [r3, #144] ; 0x90 - 800410a: f100 8090 bmi.w 800422e - 800410e: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8004112: 6b61 ldr r1, [r4, #52] ; 0x34 - 8004114: f8d2 3090 ldr.w r3, [r2, #144] ; 0x90 - 8004118: f423 7340 bic.w r3, r3, #768 ; 0x300 - 800411c: 430b orrs r3, r1 - 800411e: f8c2 3090 str.w r3, [r2, #144] ; 0x90 - 8004122: 2600 movs r6, #0 - 8004124: e005 b.n 8004132 - 8004126: f7fd fbd1 bl 80018cc - 800412a: 1b40 subs r0, r0, r5 - 800412c: 2802 cmp r0, #2 - 800412e: d9cd bls.n 80040cc - 8004130: 2603 movs r6, #3 - 8004132: 6825 ldr r5, [r4, #0] - 8004134: 07e8 lsls r0, r5, #31 - 8004136: d50a bpl.n 800414e - 8004138: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 - 800413c: 6862 ldr r2, [r4, #4] - 800413e: f8d1 3088 ldr.w r3, [r1, #136] ; 0x88 - 8004142: ea23 4312 bic.w r3, r3, r2, lsr #16 - 8004146: b292 uxth r2, r2 - 8004148: 4313 orrs r3, r2 - 800414a: f8c1 3088 str.w r3, [r1, #136] ; 0x88 - 800414e: 07a9 lsls r1, r5, #30 - 8004150: d50a bpl.n 8004168 - 8004152: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 - 8004156: 68a2 ldr r2, [r4, #8] - 8004158: f8d1 3088 ldr.w r3, [r1, #136] ; 0x88 - 800415c: ea23 4312 bic.w r3, r3, r2, lsr #16 - 8004160: b292 uxth r2, r2 - 8004162: 4313 orrs r3, r2 - 8004164: f8c1 3088 str.w r3, [r1, #136] ; 0x88 - 8004168: 06aa lsls r2, r5, #26 - 800416a: d509 bpl.n 8004180 - 800416c: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 8004170: 6921 ldr r1, [r4, #16] - 8004172: f8d2 3088 ldr.w r3, [r2, #136] ; 0x88 - 8004176: f423 6340 bic.w r3, r3, #3072 ; 0xc00 - 800417a: 430b orrs r3, r1 - 800417c: f8c2 3088 str.w r3, [r2, #136] ; 0x88 - 8004180: 05ab lsls r3, r5, #22 - 8004182: d502 bpl.n 800418a - 8004184: 6a20 ldr r0, [r4, #32] - 8004186: f7ff ff88 bl 800409a - 800418a: 0568 lsls r0, r5, #21 - 800418c: d502 bpl.n 8004194 - 800418e: 6a60 ldr r0, [r4, #36] ; 0x24 - 8004190: f7ff ff83 bl 800409a - 8004194: 0529 lsls r1, r5, #20 - 8004196: d502 bpl.n 800419e - 8004198: 6aa0 ldr r0, [r4, #40] ; 0x28 - 800419a: f7ff ff7e bl 800409a - 800419e: 066a lsls r2, r5, #25 - 80041a0: d502 bpl.n 80041a8 - 80041a2: 6960 ldr r0, [r4, #20] - 80041a4: f7ff ff69 bl 800407a - 80041a8: 062b lsls r3, r5, #24 - 80041aa: d502 bpl.n 80041b2 - 80041ac: 69a0 ldr r0, [r4, #24] - 80041ae: f7ff ff64 bl 800407a - 80041b2: 05e8 lsls r0, r5, #23 - 80041b4: d502 bpl.n 80041bc - 80041b6: 69e0 ldr r0, [r4, #28] - 80041b8: f7ff ff5f bl 800407a - 80041bc: 06e9 lsls r1, r5, #27 - 80041be: d510 bpl.n 80041e2 - 80041c0: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 80041c4: 68e1 ldr r1, [r4, #12] - 80041c6: f8d2 3088 ldr.w r3, [r2, #136] ; 0x88 - 80041ca: f423 7340 bic.w r3, r3, #768 ; 0x300 - 80041ce: 430b orrs r3, r1 - 80041d0: f8c2 3088 str.w r3, [r2, #136] ; 0x88 - 80041d4: f5b1 7f80 cmp.w r1, #256 ; 0x100 - 80041d8: bf02 ittt eq - 80041da: 68d3 ldreq r3, [r2, #12] - 80041dc: f043 7380 orreq.w r3, r3, #16777216 ; 0x1000000 - 80041e0: 60d3 streq r3, [r2, #12] - 80041e2: 042a lsls r2, r5, #16 - 80041e4: d50e bpl.n 8004204 - 80041e6: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 80041ea: 6b21 ldr r1, [r4, #48] ; 0x30 - 80041ec: f8d2 3088 ldr.w r3, [r2, #136] ; 0x88 - 80041f0: f023 4340 bic.w r3, r3, #3221225472 ; 0xc0000000 - 80041f4: 430b orrs r3, r1 - 80041f6: f8c2 3088 str.w r3, [r2, #136] ; 0x88 - 80041fa: b919 cbnz r1, 8004204 - 80041fc: 68d3 ldr r3, [r2, #12] - 80041fe: f043 7380 orr.w r3, r3, #16777216 ; 0x1000000 - 8004202: 60d3 str r3, [r2, #12] - 8004204: 046b lsls r3, r5, #17 - 8004206: d510 bpl.n 800422a - 8004208: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 800420c: 6ae1 ldr r1, [r4, #44] ; 0x2c - 800420e: f8d2 3088 ldr.w r3, [r2, #136] ; 0x88 - 8004212: f023 5340 bic.w r3, r3, #805306368 ; 0x30000000 - 8004216: 430b orrs r3, r1 - 8004218: f1b1 5f00 cmp.w r1, #536870912 ; 0x20000000 - 800421c: f8c2 3088 str.w r3, [r2, #136] ; 0x88 - 8004220: d103 bne.n 800422a - 8004222: 68d3 ldr r3, [r2, #12] - 8004224: f443 3380 orr.w r3, r3, #65536 ; 0x10000 - 8004228: 60d3 str r3, [r2, #12] - 800422a: 4630 mov r0, r6 - 800422c: bd70 pop {r4, r5, r6, pc} - 800422e: f7fd fb4d bl 80018cc - 8004232: f241 3688 movw r6, #5000 ; 0x1388 - 8004236: 4605 mov r5, r0 - 8004238: f7ff ff18 bl 800406c - 800423c: 2801 cmp r0, #1 - 800423e: f43f af66 beq.w 800410e +080040c8 : + 80040c8: b570 push {r4, r5, r6, lr} + 80040ca: 6806 ldr r6, [r0, #0] + 80040cc: f416 3680 ands.w r6, r6, #65536 ; 0x10000 + 80040d0: 4604 mov r4, r0 + 80040d2: d038 beq.n 8004146 + 80040d4: f7ff fab0 bl 8003638 + 80040d8: f7fd fbf8 bl 80018cc + 80040dc: 4e61 ldr r6, [pc, #388] ; (8004264 ) + 80040de: 4605 mov r5, r0 + 80040e0: 6833 ldr r3, [r6, #0] + 80040e2: 05db lsls r3, r3, #23 + 80040e4: d529 bpl.n 800413a + 80040e6: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 80040ea: 6b61 ldr r1, [r4, #52] ; 0x34 + 80040ec: f8d3 2090 ldr.w r2, [r3, #144] ; 0x90 + 80040f0: f402 7240 and.w r2, r2, #768 ; 0x300 + 80040f4: 4291 cmp r1, r2 + 80040f6: d014 beq.n 8004122 + 80040f8: f8d3 1090 ldr.w r1, [r3, #144] ; 0x90 + 80040fc: f8d3 2090 ldr.w r2, [r3, #144] ; 0x90 + 8004100: f442 3280 orr.w r2, r2, #65536 ; 0x10000 + 8004104: f8c3 2090 str.w r2, [r3, #144] ; 0x90 + 8004108: f8d3 2090 ldr.w r2, [r3, #144] ; 0x90 + 800410c: f421 7040 bic.w r0, r1, #768 ; 0x300 + 8004110: f422 3280 bic.w r2, r2, #65536 ; 0x10000 + 8004114: 078d lsls r5, r1, #30 + 8004116: f8c3 2090 str.w r2, [r3, #144] ; 0x90 + 800411a: f8c3 0090 str.w r0, [r3, #144] ; 0x90 + 800411e: f100 8090 bmi.w 8004242 + 8004122: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8004126: 6b61 ldr r1, [r4, #52] ; 0x34 + 8004128: f8d2 3090 ldr.w r3, [r2, #144] ; 0x90 + 800412c: f423 7340 bic.w r3, r3, #768 ; 0x300 + 8004130: 430b orrs r3, r1 + 8004132: f8c2 3090 str.w r3, [r2, #144] ; 0x90 + 8004136: 2600 movs r6, #0 + 8004138: e005 b.n 8004146 + 800413a: f7fd fbc7 bl 80018cc + 800413e: 1b40 subs r0, r0, r5 + 8004140: 2802 cmp r0, #2 + 8004142: d9cd bls.n 80040e0 + 8004144: 2603 movs r6, #3 + 8004146: 6825 ldr r5, [r4, #0] + 8004148: 07e8 lsls r0, r5, #31 + 800414a: d50a bpl.n 8004162 + 800414c: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 + 8004150: 6862 ldr r2, [r4, #4] + 8004152: f8d1 3088 ldr.w r3, [r1, #136] ; 0x88 + 8004156: ea23 4312 bic.w r3, r3, r2, lsr #16 + 800415a: b292 uxth r2, r2 + 800415c: 4313 orrs r3, r2 + 800415e: f8c1 3088 str.w r3, [r1, #136] ; 0x88 + 8004162: 07a9 lsls r1, r5, #30 + 8004164: d50a bpl.n 800417c + 8004166: f04f 41b0 mov.w r1, #1476395008 ; 0x58000000 + 800416a: 68a2 ldr r2, [r4, #8] + 800416c: f8d1 3088 ldr.w r3, [r1, #136] ; 0x88 + 8004170: ea23 4312 bic.w r3, r3, r2, lsr #16 + 8004174: b292 uxth r2, r2 + 8004176: 4313 orrs r3, r2 + 8004178: f8c1 3088 str.w r3, [r1, #136] ; 0x88 + 800417c: 06aa lsls r2, r5, #26 + 800417e: d509 bpl.n 8004194 + 8004180: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8004184: 6921 ldr r1, [r4, #16] + 8004186: f8d2 3088 ldr.w r3, [r2, #136] ; 0x88 + 800418a: f423 6340 bic.w r3, r3, #3072 ; 0xc00 + 800418e: 430b orrs r3, r1 + 8004190: f8c2 3088 str.w r3, [r2, #136] ; 0x88 + 8004194: 05ab lsls r3, r5, #22 + 8004196: d502 bpl.n 800419e + 8004198: 6a20 ldr r0, [r4, #32] + 800419a: f7ff ff88 bl 80040ae + 800419e: 0568 lsls r0, r5, #21 + 80041a0: d502 bpl.n 80041a8 + 80041a2: 6a60 ldr r0, [r4, #36] ; 0x24 + 80041a4: f7ff ff83 bl 80040ae + 80041a8: 0529 lsls r1, r5, #20 + 80041aa: d502 bpl.n 80041b2 + 80041ac: 6aa0 ldr r0, [r4, #40] ; 0x28 + 80041ae: f7ff ff7e bl 80040ae + 80041b2: 066a lsls r2, r5, #25 + 80041b4: d502 bpl.n 80041bc + 80041b6: 6960 ldr r0, [r4, #20] + 80041b8: f7ff ff69 bl 800408e + 80041bc: 062b lsls r3, r5, #24 + 80041be: d502 bpl.n 80041c6 + 80041c0: 69a0 ldr r0, [r4, #24] + 80041c2: f7ff ff64 bl 800408e + 80041c6: 05e8 lsls r0, r5, #23 + 80041c8: d502 bpl.n 80041d0 + 80041ca: 69e0 ldr r0, [r4, #28] + 80041cc: f7ff ff5f bl 800408e + 80041d0: 06e9 lsls r1, r5, #27 + 80041d2: d510 bpl.n 80041f6 + 80041d4: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 80041d8: 68e1 ldr r1, [r4, #12] + 80041da: f8d2 3088 ldr.w r3, [r2, #136] ; 0x88 + 80041de: f423 7340 bic.w r3, r3, #768 ; 0x300 + 80041e2: 430b orrs r3, r1 + 80041e4: f8c2 3088 str.w r3, [r2, #136] ; 0x88 + 80041e8: f5b1 7f80 cmp.w r1, #256 ; 0x100 + 80041ec: bf02 ittt eq + 80041ee: 68d3 ldreq r3, [r2, #12] + 80041f0: f043 7380 orreq.w r3, r3, #16777216 ; 0x1000000 + 80041f4: 60d3 streq r3, [r2, #12] + 80041f6: 042a lsls r2, r5, #16 + 80041f8: d50e bpl.n 8004218 + 80041fa: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 80041fe: 6b21 ldr r1, [r4, #48] ; 0x30 + 8004200: f8d2 3088 ldr.w r3, [r2, #136] ; 0x88 + 8004204: f023 4340 bic.w r3, r3, #3221225472 ; 0xc0000000 + 8004208: 430b orrs r3, r1 + 800420a: f8c2 3088 str.w r3, [r2, #136] ; 0x88 + 800420e: b919 cbnz r1, 8004218 + 8004210: 68d3 ldr r3, [r2, #12] + 8004212: f043 7380 orr.w r3, r3, #16777216 ; 0x1000000 + 8004216: 60d3 str r3, [r2, #12] + 8004218: 046b lsls r3, r5, #17 + 800421a: d510 bpl.n 800423e + 800421c: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8004220: 6ae1 ldr r1, [r4, #44] ; 0x2c + 8004222: f8d2 3088 ldr.w r3, [r2, #136] ; 0x88 + 8004226: f023 5340 bic.w r3, r3, #805306368 ; 0x30000000 + 800422a: 430b orrs r3, r1 + 800422c: f1b1 5f00 cmp.w r1, #536870912 ; 0x20000000 + 8004230: f8c2 3088 str.w r3, [r2, #136] ; 0x88 + 8004234: d103 bne.n 800423e + 8004236: 68d3 ldr r3, [r2, #12] + 8004238: f443 3380 orr.w r3, r3, #65536 ; 0x10000 + 800423c: 60d3 str r3, [r2, #12] + 800423e: 4630 mov r0, r6 + 8004240: bd70 pop {r4, r5, r6, pc} 8004242: f7fd fb43 bl 80018cc - 8004246: 1b40 subs r0, r0, r5 - 8004248: 42b0 cmp r0, r6 - 800424a: d9f5 bls.n 8004238 - 800424c: e770 b.n 8004130 - 800424e: bf00 nop - 8004250: 58000400 .word 0x58000400 + 8004246: f241 3688 movw r6, #5000 ; 0x1388 + 800424a: 4605 mov r5, r0 + 800424c: f7ff ff18 bl 8004080 + 8004250: 2801 cmp r0, #1 + 8004252: f43f af66 beq.w 8004122 + 8004256: f7fd fb39 bl 80018cc + 800425a: 1b40 subs r0, r0, r5 + 800425c: 42b0 cmp r0, r6 + 800425e: d9f5 bls.n 800424c + 8004260: e770 b.n 8004144 + 8004262: bf00 nop + 8004264: 58000400 .word 0x58000400 -08004254 : - 8004254: b530 push {r4, r5, lr} - 8004256: f890 302c ldrb.w r3, [r0, #44] ; 0x2c - 800425a: 2b01 cmp r3, #1 - 800425c: 4602 mov r2, r0 - 800425e: f04f 0002 mov.w r0, #2 - 8004262: d022 beq.n 80042aa - 8004264: 4b17 ldr r3, [pc, #92] ; (80042c4 ) - 8004266: f882 002d strb.w r0, [r2, #45] ; 0x2d - 800426a: 24ca movs r4, #202 ; 0xca - 800426c: 2501 movs r5, #1 - 800426e: f882 502c strb.w r5, [r2, #44] ; 0x2c - 8004272: 625c str r4, [r3, #36] ; 0x24 - 8004274: 2453 movs r4, #83 ; 0x53 - 8004276: 625c str r4, [r3, #36] ; 0x24 - 8004278: f5b1 7f80 cmp.w r1, #256 ; 0x100 - 800427c: 6b14 ldr r4, [r2, #48] ; 0x30 - 800427e: 6999 ldr r1, [r3, #24] - 8004280: d114 bne.n 80042ac - 8004282: f421 5188 bic.w r1, r1, #4352 ; 0x1100 - 8004286: 6199 str r1, [r3, #24] - 8004288: 6c59 ldr r1, [r3, #68] ; 0x44 - 800428a: f024 0401 bic.w r4, r4, #1 - 800428e: f021 4100 bic.w r1, r1, #2147483648 ; 0x80000000 - 8004292: 6459 str r1, [r3, #68] ; 0x44 - 8004294: 6314 str r4, [r2, #48] ; 0x30 - 8004296: 65dd str r5, [r3, #92] ; 0x5c - 8004298: 4b0a ldr r3, [pc, #40] ; (80042c4 ) - 800429a: 21ff movs r1, #255 ; 0xff - 800429c: 6259 str r1, [r3, #36] ; 0x24 - 800429e: 2000 movs r0, #0 - 80042a0: 2301 movs r3, #1 - 80042a2: f882 302d strb.w r3, [r2, #45] ; 0x2d - 80042a6: f882 002c strb.w r0, [r2, #44] ; 0x2c - 80042aa: bd30 pop {r4, r5, pc} - 80042ac: f421 5108 bic.w r1, r1, #8704 ; 0x2200 - 80042b0: 6199 str r1, [r3, #24] - 80042b2: 6cd9 ldr r1, [r3, #76] ; 0x4c - 80042b4: f024 0402 bic.w r4, r4, #2 - 80042b8: f021 4100 bic.w r1, r1, #2147483648 ; 0x80000000 - 80042bc: 64d9 str r1, [r3, #76] ; 0x4c - 80042be: 6314 str r4, [r2, #48] ; 0x30 - 80042c0: 65d8 str r0, [r3, #92] ; 0x5c - 80042c2: e7e9 b.n 8004298 - 80042c4: 40002800 .word 0x40002800 +08004268 : + 8004268: b530 push {r4, r5, lr} + 800426a: f890 302c ldrb.w r3, [r0, #44] ; 0x2c + 800426e: 2b01 cmp r3, #1 + 8004270: 4602 mov r2, r0 + 8004272: f04f 0002 mov.w r0, #2 + 8004276: d022 beq.n 80042be + 8004278: 4b17 ldr r3, [pc, #92] ; (80042d8 ) + 800427a: f882 002d strb.w r0, [r2, #45] ; 0x2d + 800427e: 24ca movs r4, #202 ; 0xca + 8004280: 2501 movs r5, #1 + 8004282: f882 502c strb.w r5, [r2, #44] ; 0x2c + 8004286: 625c str r4, [r3, #36] ; 0x24 + 8004288: 2453 movs r4, #83 ; 0x53 + 800428a: 625c str r4, [r3, #36] ; 0x24 + 800428c: f5b1 7f80 cmp.w r1, #256 ; 0x100 + 8004290: 6b14 ldr r4, [r2, #48] ; 0x30 + 8004292: 6999 ldr r1, [r3, #24] + 8004294: d114 bne.n 80042c0 + 8004296: f421 5188 bic.w r1, r1, #4352 ; 0x1100 + 800429a: 6199 str r1, [r3, #24] + 800429c: 6c59 ldr r1, [r3, #68] ; 0x44 + 800429e: f024 0401 bic.w r4, r4, #1 + 80042a2: f021 4100 bic.w r1, r1, #2147483648 ; 0x80000000 + 80042a6: 6459 str r1, [r3, #68] ; 0x44 + 80042a8: 6314 str r4, [r2, #48] ; 0x30 + 80042aa: 65dd str r5, [r3, #92] ; 0x5c + 80042ac: 4b0a ldr r3, [pc, #40] ; (80042d8 ) + 80042ae: 21ff movs r1, #255 ; 0xff + 80042b0: 6259 str r1, [r3, #36] ; 0x24 + 80042b2: 2000 movs r0, #0 + 80042b4: 2301 movs r3, #1 + 80042b6: f882 302d strb.w r3, [r2, #45] ; 0x2d + 80042ba: f882 002c strb.w r0, [r2, #44] ; 0x2c + 80042be: bd30 pop {r4, r5, pc} + 80042c0: f421 5108 bic.w r1, r1, #8704 ; 0x2200 + 80042c4: 6199 str r1, [r3, #24] + 80042c6: 6cd9 ldr r1, [r3, #76] ; 0x4c + 80042c8: f024 0402 bic.w r4, r4, #2 + 80042cc: f021 4100 bic.w r1, r1, #2147483648 ; 0x80000000 + 80042d0: 64d9 str r1, [r3, #76] ; 0x4c + 80042d2: 6314 str r4, [r2, #48] ; 0x30 + 80042d4: 65d8 str r0, [r3, #92] ; 0x5c + 80042d6: e7e9 b.n 80042ac + 80042d8: 40002800 .word 0x40002800 -080042c8 : - 80042c8: b570 push {r4, r5, r6, lr} - 80042ca: 4e0b ldr r6, [pc, #44] ; (80042f8 ) - 80042cc: 6b03 ldr r3, [r0, #48] ; 0x30 - 80042ce: 6d75 ldr r5, [r6, #84] ; 0x54 - 80042d0: 401d ands r5, r3 - 80042d2: 07ea lsls r2, r5, #31 - 80042d4: 4604 mov r4, r0 - 80042d6: d503 bpl.n 80042e0 - 80042d8: 2301 movs r3, #1 - 80042da: 65f3 str r3, [r6, #92] ; 0x5c - 80042dc: f7fd fc09 bl 8001af2 - 80042e0: 07ab lsls r3, r5, #30 - 80042e2: d504 bpl.n 80042ee - 80042e4: 2302 movs r3, #2 - 80042e6: 65f3 str r3, [r6, #92] ; 0x5c - 80042e8: 4620 mov r0, r4 - 80042ea: f000 f9cb bl 8004684 - 80042ee: 2301 movs r3, #1 - 80042f0: f884 302d strb.w r3, [r4, #45] ; 0x2d - 80042f4: bd70 pop {r4, r5, r6, pc} - 80042f6: bf00 nop - 80042f8: 40002800 .word 0x40002800 +080042dc : + 80042dc: b570 push {r4, r5, r6, lr} + 80042de: 4e0b ldr r6, [pc, #44] ; (800430c ) + 80042e0: 6b03 ldr r3, [r0, #48] ; 0x30 + 80042e2: 6d75 ldr r5, [r6, #84] ; 0x54 + 80042e4: 401d ands r5, r3 + 80042e6: 07ea lsls r2, r5, #31 + 80042e8: 4604 mov r4, r0 + 80042ea: d503 bpl.n 80042f4 + 80042ec: 2301 movs r3, #1 + 80042ee: 65f3 str r3, [r6, #92] ; 0x5c + 80042f0: f7fd fbff bl 8001af2 + 80042f4: 07ab lsls r3, r5, #30 + 80042f6: d504 bpl.n 8004302 + 80042f8: 2302 movs r3, #2 + 80042fa: 65f3 str r3, [r6, #92] ; 0x5c + 80042fc: 4620 mov r0, r4 + 80042fe: f000 f9cb bl 8004698 + 8004302: 2301 movs r3, #1 + 8004304: f884 302d strb.w r3, [r4, #45] ; 0x2d + 8004308: bd70 pop {r4, r5, r6, pc} + 800430a: bf00 nop + 800430c: 40002800 .word 0x40002800 -080042fc : - 80042fc: b538 push {r3, r4, r5, lr} - 80042fe: 4c0a ldr r4, [pc, #40] ; (8004328 ) - 8004300: 68e3 ldr r3, [r4, #12] - 8004302: f023 0320 bic.w r3, r3, #32 - 8004306: 60e3 str r3, [r4, #12] - 8004308: f7fd fae0 bl 80018cc - 800430c: 4605 mov r5, r0 - 800430e: 68e3 ldr r3, [r4, #12] - 8004310: 069b lsls r3, r3, #26 - 8004312: d501 bpl.n 8004318 - 8004314: 2000 movs r0, #0 - 8004316: bd38 pop {r3, r4, r5, pc} - 8004318: f7fd fad8 bl 80018cc - 800431c: 1b40 subs r0, r0, r5 - 800431e: f5b0 7f7a cmp.w r0, #1000 ; 0x3e8 - 8004322: d9f4 bls.n 800430e - 8004324: 2003 movs r0, #3 - 8004326: e7f6 b.n 8004316 - 8004328: 40002800 .word 0x40002800 +08004310 : + 8004310: b538 push {r3, r4, r5, lr} + 8004312: 4c0a ldr r4, [pc, #40] ; (800433c ) + 8004314: 68e3 ldr r3, [r4, #12] + 8004316: f023 0320 bic.w r3, r3, #32 + 800431a: 60e3 str r3, [r4, #12] + 800431c: f7fd fad6 bl 80018cc + 8004320: 4605 mov r5, r0 + 8004322: 68e3 ldr r3, [r4, #12] + 8004324: 069b lsls r3, r3, #26 + 8004326: d501 bpl.n 800432c + 8004328: 2000 movs r0, #0 + 800432a: bd38 pop {r3, r4, r5, pc} + 800432c: f7fd face bl 80018cc + 8004330: 1b40 subs r0, r0, r5 + 8004332: f5b0 7f7a cmp.w r0, #1000 ; 0x3e8 + 8004336: d9f4 bls.n 8004322 + 8004338: 2003 movs r0, #3 + 800433a: e7f6 b.n 800432a + 800433c: 40002800 .word 0x40002800 -0800432c : - 800432c: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8004330: 4d11 ldr r5, [pc, #68] ; (8004378 ) - 8004332: 68ec ldr r4, [r5, #12] - 8004334: f014 0440 ands.w r4, r4, #64 ; 0x40 - 8004338: 4607 mov r7, r0 - 800433a: d11a bne.n 8004372 - 800433c: 68eb ldr r3, [r5, #12] - 800433e: f043 0380 orr.w r3, r3, #128 ; 0x80 - 8004342: 60eb str r3, [r5, #12] - 8004344: f7fd fac2 bl 80018cc - 8004348: f04f 0803 mov.w r8, #3 - 800434c: 4606 mov r6, r0 - 800434e: 68eb ldr r3, [r5, #12] - 8004350: 065b lsls r3, r3, #25 - 8004352: d401 bmi.n 8004358 - 8004354: 2c03 cmp r4, #3 - 8004356: d102 bne.n 800435e - 8004358: 4620 mov r0, r4 - 800435a: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800435e: f7fd fab5 bl 80018cc - 8004362: 1b80 subs r0, r0, r6 - 8004364: f5b0 7f7a cmp.w r0, #1000 ; 0x3e8 - 8004368: bf84 itt hi - 800436a: f887 802d strbhi.w r8, [r7, #45] ; 0x2d - 800436e: 2403 movhi r4, #3 - 8004370: e7ed b.n 800434e - 8004372: 2400 movs r4, #0 - 8004374: e7f0 b.n 8004358 - 8004376: bf00 nop - 8004378: 40002800 .word 0x40002800 +08004340 : + 8004340: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8004344: 4d11 ldr r5, [pc, #68] ; (800438c ) + 8004346: 68ec ldr r4, [r5, #12] + 8004348: f014 0440 ands.w r4, r4, #64 ; 0x40 + 800434c: 4607 mov r7, r0 + 800434e: d11a bne.n 8004386 + 8004350: 68eb ldr r3, [r5, #12] + 8004352: f043 0380 orr.w r3, r3, #128 ; 0x80 + 8004356: 60eb str r3, [r5, #12] + 8004358: f7fd fab8 bl 80018cc + 800435c: f04f 0803 mov.w r8, #3 + 8004360: 4606 mov r6, r0 + 8004362: 68eb ldr r3, [r5, #12] + 8004364: 065b lsls r3, r3, #25 + 8004366: d401 bmi.n 800436c + 8004368: 2c03 cmp r4, #3 + 800436a: d102 bne.n 8004372 + 800436c: 4620 mov r0, r4 + 800436e: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8004372: f7fd faab bl 80018cc + 8004376: 1b80 subs r0, r0, r6 + 8004378: f5b0 7f7a cmp.w r0, #1000 ; 0x3e8 + 800437c: bf84 itt hi + 800437e: f887 802d strbhi.w r8, [r7, #45] ; 0x2d + 8004382: 2403 movhi r4, #3 + 8004384: e7ed b.n 8004362 + 8004386: 2400 movs r4, #0 + 8004388: e7f0 b.n 800436c + 800438a: bf00 nop + 800438c: 40002800 .word 0x40002800 -0800437c : - 800437c: b538 push {r3, r4, r5, lr} - 800437e: 4c0f ldr r4, [pc, #60] ; (80043bc ) - 8004380: 68e3 ldr r3, [r4, #12] - 8004382: f023 0380 bic.w r3, r3, #128 ; 0x80 - 8004386: 60e3 str r3, [r4, #12] - 8004388: 69a3 ldr r3, [r4, #24] - 800438a: 069b lsls r3, r3, #26 - 800438c: 4605 mov r5, r0 - 800438e: d406 bmi.n 800439e - 8004390: f7ff ffb4 bl 80042fc - 8004394: b110 cbz r0, 800439c - 8004396: 2003 movs r0, #3 - 8004398: f885 002d strb.w r0, [r5, #45] ; 0x2d - 800439c: bd38 pop {r3, r4, r5, pc} - 800439e: 69a3 ldr r3, [r4, #24] - 80043a0: f023 0320 bic.w r3, r3, #32 - 80043a4: 61a3 str r3, [r4, #24] - 80043a6: f7ff ffa9 bl 80042fc - 80043aa: b110 cbz r0, 80043b2 - 80043ac: 2003 movs r0, #3 - 80043ae: f885 002d strb.w r0, [r5, #45] ; 0x2d +08004390 : + 8004390: b538 push {r3, r4, r5, lr} + 8004392: 4c0f ldr r4, [pc, #60] ; (80043d0 ) + 8004394: 68e3 ldr r3, [r4, #12] + 8004396: f023 0380 bic.w r3, r3, #128 ; 0x80 + 800439a: 60e3 str r3, [r4, #12] + 800439c: 69a3 ldr r3, [r4, #24] + 800439e: 069b lsls r3, r3, #26 + 80043a0: 4605 mov r5, r0 + 80043a2: d406 bmi.n 80043b2 + 80043a4: f7ff ffb4 bl 8004310 + 80043a8: b110 cbz r0, 80043b0 + 80043aa: 2003 movs r0, #3 + 80043ac: f885 002d strb.w r0, [r5, #45] ; 0x2d + 80043b0: bd38 pop {r3, r4, r5, pc} 80043b2: 69a3 ldr r3, [r4, #24] - 80043b4: f043 0320 orr.w r3, r3, #32 + 80043b4: f023 0320 bic.w r3, r3, #32 80043b8: 61a3 str r3, [r4, #24] - 80043ba: e7ef b.n 800439c - 80043bc: 40002800 .word 0x40002800 + 80043ba: f7ff ffa9 bl 8004310 + 80043be: b110 cbz r0, 80043c6 + 80043c0: 2003 movs r0, #3 + 80043c2: f885 002d strb.w r0, [r5, #45] ; 0x2d + 80043c6: 69a3 ldr r3, [r4, #24] + 80043c8: f043 0320 orr.w r3, r3, #32 + 80043cc: 61a3 str r3, [r4, #24] + 80043ce: e7ef b.n 80043b0 + 80043d0: 40002800 .word 0x40002800 -080043c0 : - 80043c0: b538 push {r3, r4, r5, lr} - 80043c2: 4604 mov r4, r0 - 80043c4: 2800 cmp r0, #0 - 80043c6: d04b beq.n 8004460 - 80043c8: f890 302d ldrb.w r3, [r0, #45] ; 0x2d - 80043cc: f003 02ff and.w r2, r3, #255 ; 0xff - 80043d0: b91b cbnz r3, 80043da - 80043d2: f880 202c strb.w r2, [r0, #44] ; 0x2c - 80043d6: f7fd f8eb bl 80015b0 - 80043da: 2302 movs r3, #2 - 80043dc: 4d21 ldr r5, [pc, #132] ; (8004464 ) - 80043de: f884 302d strb.w r3, [r4, #45] ; 0x2d - 80043e2: 68eb ldr r3, [r5, #12] - 80043e4: 06db lsls r3, r3, #27 - 80043e6: d432 bmi.n 800444e - 80043e8: 23ca movs r3, #202 ; 0xca - 80043ea: 626b str r3, [r5, #36] ; 0x24 - 80043ec: 2353 movs r3, #83 ; 0x53 - 80043ee: 626b str r3, [r5, #36] ; 0x24 - 80043f0: 4620 mov r0, r4 - 80043f2: f7ff ff9b bl 800432c - 80043f6: bb78 cbnz r0, 8004458 - 80043f8: 69ab ldr r3, [r5, #24] - 80043fa: f023 638e bic.w r3, r3, #74448896 ; 0x4700000 - 80043fe: f023 0340 bic.w r3, r3, #64 ; 0x40 - 8004402: 61ab str r3, [r5, #24] - 8004404: 6921 ldr r1, [r4, #16] - 8004406: 6863 ldr r3, [r4, #4] - 8004408: 69aa ldr r2, [r5, #24] - 800440a: 430b orrs r3, r1 - 800440c: 4313 orrs r3, r2 - 800440e: 69a2 ldr r2, [r4, #24] - 8004410: 4313 orrs r3, r2 - 8004412: 61ab str r3, [r5, #24] - 8004414: e9d4 2302 ldrd r2, r3, [r4, #8] - 8004418: ea43 4302 orr.w r3, r3, r2, lsl #16 - 800441c: 612b str r3, [r5, #16] - 800441e: e9d4 3109 ldrd r3, r1, [r4, #36] ; 0x24 - 8004422: 68ea ldr r2, [r5, #12] - 8004424: 430b orrs r3, r1 - 8004426: f422 52f8 bic.w r2, r2, #7936 ; 0x1f00 - 800442a: 4313 orrs r3, r2 - 800442c: 60eb str r3, [r5, #12] - 800442e: 4620 mov r0, r4 - 8004430: f7ff ffa4 bl 800437c - 8004434: b980 cbnz r0, 8004458 - 8004436: e9d4 1307 ldrd r1, r3, [r4, #28] - 800443a: 69aa ldr r2, [r5, #24] - 800443c: 430b orrs r3, r1 - 800443e: f022 4260 bic.w r2, r2, #3758096384 ; 0xe0000000 - 8004442: 4313 orrs r3, r2 - 8004444: 6962 ldr r2, [r4, #20] - 8004446: 4313 orrs r3, r2 - 8004448: 61ab str r3, [r5, #24] - 800444a: 23ff movs r3, #255 ; 0xff - 800444c: 626b str r3, [r5, #36] ; 0x24 - 800444e: 2301 movs r3, #1 - 8004450: f884 302d strb.w r3, [r4, #45] ; 0x2d - 8004454: 2000 movs r0, #0 - 8004456: e002 b.n 800445e - 8004458: 4b02 ldr r3, [pc, #8] ; (8004464 ) - 800445a: 22ff movs r2, #255 ; 0xff - 800445c: 625a str r2, [r3, #36] ; 0x24 - 800445e: bd38 pop {r3, r4, r5, pc} - 8004460: 2001 movs r0, #1 - 8004462: e7fc b.n 800445e - 8004464: 40002800 .word 0x40002800 +080043d4 : + 80043d4: b538 push {r3, r4, r5, lr} + 80043d6: 4604 mov r4, r0 + 80043d8: 2800 cmp r0, #0 + 80043da: d04b beq.n 8004474 + 80043dc: f890 302d ldrb.w r3, [r0, #45] ; 0x2d + 80043e0: f003 02ff and.w r2, r3, #255 ; 0xff + 80043e4: b91b cbnz r3, 80043ee + 80043e6: f880 202c strb.w r2, [r0, #44] ; 0x2c + 80043ea: f7fd f8e1 bl 80015b0 + 80043ee: 2302 movs r3, #2 + 80043f0: 4d21 ldr r5, [pc, #132] ; (8004478 ) + 80043f2: f884 302d strb.w r3, [r4, #45] ; 0x2d + 80043f6: 68eb ldr r3, [r5, #12] + 80043f8: 06db lsls r3, r3, #27 + 80043fa: d432 bmi.n 8004462 + 80043fc: 23ca movs r3, #202 ; 0xca + 80043fe: 626b str r3, [r5, #36] ; 0x24 + 8004400: 2353 movs r3, #83 ; 0x53 + 8004402: 626b str r3, [r5, #36] ; 0x24 + 8004404: 4620 mov r0, r4 + 8004406: f7ff ff9b bl 8004340 + 800440a: bb78 cbnz r0, 800446c + 800440c: 69ab ldr r3, [r5, #24] + 800440e: f023 638e bic.w r3, r3, #74448896 ; 0x4700000 + 8004412: f023 0340 bic.w r3, r3, #64 ; 0x40 + 8004416: 61ab str r3, [r5, #24] + 8004418: 6921 ldr r1, [r4, #16] + 800441a: 6863 ldr r3, [r4, #4] + 800441c: 69aa ldr r2, [r5, #24] + 800441e: 430b orrs r3, r1 + 8004420: 4313 orrs r3, r2 + 8004422: 69a2 ldr r2, [r4, #24] + 8004424: 4313 orrs r3, r2 + 8004426: 61ab str r3, [r5, #24] + 8004428: e9d4 2302 ldrd r2, r3, [r4, #8] + 800442c: ea43 4302 orr.w r3, r3, r2, lsl #16 + 8004430: 612b str r3, [r5, #16] + 8004432: e9d4 3109 ldrd r3, r1, [r4, #36] ; 0x24 + 8004436: 68ea ldr r2, [r5, #12] + 8004438: 430b orrs r3, r1 + 800443a: f422 52f8 bic.w r2, r2, #7936 ; 0x1f00 + 800443e: 4313 orrs r3, r2 + 8004440: 60eb str r3, [r5, #12] + 8004442: 4620 mov r0, r4 + 8004444: f7ff ffa4 bl 8004390 + 8004448: b980 cbnz r0, 800446c + 800444a: e9d4 1307 ldrd r1, r3, [r4, #28] + 800444e: 69aa ldr r2, [r5, #24] + 8004450: 430b orrs r3, r1 + 8004452: f022 4260 bic.w r2, r2, #3758096384 ; 0xe0000000 + 8004456: 4313 orrs r3, r2 + 8004458: 6962 ldr r2, [r4, #20] + 800445a: 4313 orrs r3, r2 + 800445c: 61ab str r3, [r5, #24] + 800445e: 23ff movs r3, #255 ; 0xff + 8004460: 626b str r3, [r5, #36] ; 0x24 + 8004462: 2301 movs r3, #1 + 8004464: f884 302d strb.w r3, [r4, #45] ; 0x2d + 8004468: 2000 movs r0, #0 + 800446a: e002 b.n 8004472 + 800446c: 4b02 ldr r3, [pc, #8] ; (8004478 ) + 800446e: 22ff movs r2, #255 ; 0xff + 8004470: 625a str r2, [r3, #36] ; 0x24 + 8004472: bd38 pop {r3, r4, r5, pc} + 8004474: 2001 movs r0, #1 + 8004476: e7fc b.n 8004472 + 8004478: 40002800 .word 0x40002800 -08004468 : - 8004468: 2300 movs r3, #0 - 800446a: 2809 cmp r0, #9 - 800446c: d803 bhi.n 8004476 - 800446e: ea40 1003 orr.w r0, r0, r3, lsl #4 - 8004472: b2c0 uxtb r0, r0 - 8004474: 4770 bx lr - 8004476: 380a subs r0, #10 - 8004478: 3301 adds r3, #1 - 800447a: b2c0 uxtb r0, r0 - 800447c: e7f5 b.n 800446a +0800447c : + 800447c: 2300 movs r3, #0 + 800447e: 2809 cmp r0, #9 + 8004480: d803 bhi.n 800448a + 8004482: ea40 1003 orr.w r0, r0, r3, lsl #4 + 8004486: b2c0 uxtb r0, r0 + 8004488: 4770 bx lr + 800448a: 380a subs r0, #10 + 800448c: 3301 adds r3, #1 + 800448e: b2c0 uxtb r0, r0 + 8004490: e7f5 b.n 800447e ... -08004480 : - 8004480: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 8004484: f890 302c ldrb.w r3, [r0, #44] ; 0x2c - 8004488: 2b01 cmp r3, #1 - 800448a: 4605 mov r5, r0 - 800448c: f04f 0002 mov.w r0, #2 - 8004490: d069 beq.n 8004566 - 8004492: 2301 movs r3, #1 - 8004494: f885 302c strb.w r3, [r5, #44] ; 0x2c - 8004498: 4b4e ldr r3, [pc, #312] ; (80045d4 ) - 800449a: f885 002d strb.w r0, [r5, #45] ; 0x2d - 800449e: 68de ldr r6, [r3, #12] - 80044a0: f406 7640 and.w r6, r6, #768 ; 0x300 - 80044a4: f5b6 7f80 cmp.w r6, #256 ; 0x100 - 80044a8: d078 beq.n 800459c - 80044aa: 694c ldr r4, [r1, #20] - 80044ac: 7808 ldrb r0, [r1, #0] - 80044ae: f891 9001 ldrb.w r9, [r1, #1] - 80044b2: f891 a002 ldrb.w sl, [r1, #2] - 80044b6: f891 7024 ldrb.w r7, [r1, #36] ; 0x24 - 80044ba: 2a00 cmp r2, #0 - 80044bc: d155 bne.n 800456a - 80044be: 699b ldr r3, [r3, #24] - 80044c0: f013 0340 ands.w r3, r3, #64 ; 0x40 - 80044c4: bf08 it eq - 80044c6: 70cb strbeq r3, [r1, #3] - 80044c8: f7ff ffce bl 8004468 - 80044cc: 4680 mov r8, r0 - 80044ce: 4648 mov r0, r9 - 80044d0: f7ff ffca bl 8004468 - 80044d4: 4602 mov r2, r0 - 80044d6: 4650 mov r0, sl - 80044d8: f7ff ffc6 bl 8004468 - 80044dc: 4681 mov r9, r0 - 80044de: 4638 mov r0, r7 - 80044e0: f7ff ffc2 bl 8004468 - 80044e4: 6a0b ldr r3, [r1, #32] - 80044e6: 78cf ldrb r7, [r1, #3] - 80044e8: 4323 orrs r3, r4 - 80044ea: ea43 5387 orr.w r3, r3, r7, lsl #22 - 80044ee: ea43 0309 orr.w r3, r3, r9 - 80044f2: ea43 4308 orr.w r3, r3, r8, lsl #16 - 80044f6: ea43 2302 orr.w r3, r3, r2, lsl #8 - 80044fa: ea43 6300 orr.w r3, r3, r0, lsl #24 - 80044fe: 4a35 ldr r2, [pc, #212] ; (80045d4 ) - 8004500: 20ca movs r0, #202 ; 0xca - 8004502: 6250 str r0, [r2, #36] ; 0x24 - 8004504: 2053 movs r0, #83 ; 0x53 - 8004506: 6250 str r0, [r2, #36] ; 0x24 - 8004508: 6a8c ldr r4, [r1, #40] ; 0x28 - 800450a: 6988 ldr r0, [r1, #24] - 800450c: f5b4 7f80 cmp.w r4, #256 ; 0x100 - 8004510: 6994 ldr r4, [r2, #24] - 8004512: d145 bne.n 80045a0 - 8004514: f424 5488 bic.w r4, r4, #4352 ; 0x1100 - 8004518: 6194 str r4, [r2, #24] - 800451a: 2401 movs r4, #1 - 800451c: 65d4 str r4, [r2, #92] ; 0x5c - 800451e: f5b6 7f80 cmp.w r6, #256 ; 0x100 - 8004522: bf09 itett eq - 8004524: 69cb ldreq r3, [r1, #28] - 8004526: 6413 strne r3, [r2, #64] ; 0x40 - 8004528: 4303 orreq r3, r0 - 800452a: 6453 streq r3, [r2, #68] ; 0x44 - 800452c: bf18 it ne - 800452e: 6450 strne r0, [r2, #68] ; 0x44 - 8004530: 4b28 ldr r3, [pc, #160] ; (80045d4 ) - 8004532: 684a ldr r2, [r1, #4] - 8004534: 671a str r2, [r3, #112] ; 0x70 - 8004536: 6b2a ldr r2, [r5, #48] ; 0x30 - 8004538: f042 0201 orr.w r2, r2, #1 - 800453c: 632a str r2, [r5, #48] ; 0x30 - 800453e: 699a ldr r2, [r3, #24] - 8004540: f442 5288 orr.w r2, r2, #4352 ; 0x1100 - 8004544: 619a str r2, [r3, #24] - 8004546: 4a24 ldr r2, [pc, #144] ; (80045d8 ) - 8004548: f8d2 3080 ldr.w r3, [r2, #128] ; 0x80 - 800454c: f443 3300 orr.w r3, r3, #131072 ; 0x20000 - 8004550: f8c2 3080 str.w r3, [r2, #128] ; 0x80 - 8004554: 4b1f ldr r3, [pc, #124] ; (80045d4 ) - 8004556: 22ff movs r2, #255 ; 0xff - 8004558: 625a str r2, [r3, #36] ; 0x24 - 800455a: 2000 movs r0, #0 - 800455c: 2301 movs r3, #1 - 800455e: f885 302d strb.w r3, [r5, #45] ; 0x2d - 8004562: f885 002c strb.w r0, [r5, #44] ; 0x2c - 8004566: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 800456a: f1b4 3f80 cmp.w r4, #2155905152 ; 0x80808080 - 800456e: d007 beq.n 8004580 - 8004570: f5b4 0f00 cmp.w r4, #8388608 ; 0x800000 - 8004574: d004 beq.n 8004580 - 8004576: 699b ldr r3, [r3, #24] - 8004578: f013 0340 ands.w r3, r3, #64 ; 0x40 - 800457c: bf08 it eq - 800457e: 70cb strbeq r3, [r1, #3] - 8004580: 6a0b ldr r3, [r1, #32] - 8004582: 78ca ldrb r2, [r1, #3] - 8004584: 431c orrs r4, r3 - 8004586: ea44 040a orr.w r4, r4, sl - 800458a: ea44 4300 orr.w r3, r4, r0, lsl #16 - 800458e: ea43 2309 orr.w r3, r3, r9, lsl #8 - 8004592: ea43 5382 orr.w r3, r3, r2, lsl #22 - 8004596: ea43 6307 orr.w r3, r3, r7, lsl #24 - 800459a: e7b0 b.n 80044fe - 800459c: 2300 movs r3, #0 - 800459e: e7ae b.n 80044fe - 80045a0: f424 5408 bic.w r4, r4, #8704 ; 0x2200 - 80045a4: 6194 str r4, [r2, #24] - 80045a6: 2402 movs r4, #2 - 80045a8: 65d4 str r4, [r2, #92] ; 0x5c - 80045aa: f5b6 7f80 cmp.w r6, #256 ; 0x100 - 80045ae: bf09 itett eq - 80045b0: 69cb ldreq r3, [r1, #28] - 80045b2: 6493 strne r3, [r2, #72] ; 0x48 - 80045b4: 4303 orreq r3, r0 - 80045b6: 64d3 streq r3, [r2, #76] ; 0x4c - 80045b8: bf18 it ne - 80045ba: 64d0 strne r0, [r2, #76] ; 0x4c - 80045bc: 4b05 ldr r3, [pc, #20] ; (80045d4 ) - 80045be: 684a ldr r2, [r1, #4] - 80045c0: 675a str r2, [r3, #116] ; 0x74 - 80045c2: 6b2a ldr r2, [r5, #48] ; 0x30 - 80045c4: f042 0202 orr.w r2, r2, #2 - 80045c8: 632a str r2, [r5, #48] ; 0x30 - 80045ca: 699a ldr r2, [r3, #24] - 80045cc: f442 5208 orr.w r2, r2, #8704 ; 0x2200 - 80045d0: e7b8 b.n 8004544 - 80045d2: bf00 nop - 80045d4: 40002800 .word 0x40002800 - 80045d8: 58000800 .word 0x58000800 +08004494 : + 8004494: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} + 8004498: f890 302c ldrb.w r3, [r0, #44] ; 0x2c + 800449c: 2b01 cmp r3, #1 + 800449e: 4605 mov r5, r0 + 80044a0: f04f 0002 mov.w r0, #2 + 80044a4: d069 beq.n 800457a + 80044a6: 2301 movs r3, #1 + 80044a8: f885 302c strb.w r3, [r5, #44] ; 0x2c + 80044ac: 4b4e ldr r3, [pc, #312] ; (80045e8 ) + 80044ae: f885 002d strb.w r0, [r5, #45] ; 0x2d + 80044b2: 68de ldr r6, [r3, #12] + 80044b4: f406 7640 and.w r6, r6, #768 ; 0x300 + 80044b8: f5b6 7f80 cmp.w r6, #256 ; 0x100 + 80044bc: d078 beq.n 80045b0 + 80044be: 694c ldr r4, [r1, #20] + 80044c0: 7808 ldrb r0, [r1, #0] + 80044c2: f891 9001 ldrb.w r9, [r1, #1] + 80044c6: f891 a002 ldrb.w sl, [r1, #2] + 80044ca: f891 7024 ldrb.w r7, [r1, #36] ; 0x24 + 80044ce: 2a00 cmp r2, #0 + 80044d0: d155 bne.n 800457e + 80044d2: 699b ldr r3, [r3, #24] + 80044d4: f013 0340 ands.w r3, r3, #64 ; 0x40 + 80044d8: bf08 it eq + 80044da: 70cb strbeq r3, [r1, #3] + 80044dc: f7ff ffce bl 800447c + 80044e0: 4680 mov r8, r0 + 80044e2: 4648 mov r0, r9 + 80044e4: f7ff ffca bl 800447c + 80044e8: 4602 mov r2, r0 + 80044ea: 4650 mov r0, sl + 80044ec: f7ff ffc6 bl 800447c + 80044f0: 4681 mov r9, r0 + 80044f2: 4638 mov r0, r7 + 80044f4: f7ff ffc2 bl 800447c + 80044f8: 6a0b ldr r3, [r1, #32] + 80044fa: 78cf ldrb r7, [r1, #3] + 80044fc: 4323 orrs r3, r4 + 80044fe: ea43 5387 orr.w r3, r3, r7, lsl #22 + 8004502: ea43 0309 orr.w r3, r3, r9 + 8004506: ea43 4308 orr.w r3, r3, r8, lsl #16 + 800450a: ea43 2302 orr.w r3, r3, r2, lsl #8 + 800450e: ea43 6300 orr.w r3, r3, r0, lsl #24 + 8004512: 4a35 ldr r2, [pc, #212] ; (80045e8 ) + 8004514: 20ca movs r0, #202 ; 0xca + 8004516: 6250 str r0, [r2, #36] ; 0x24 + 8004518: 2053 movs r0, #83 ; 0x53 + 800451a: 6250 str r0, [r2, #36] ; 0x24 + 800451c: 6a8c ldr r4, [r1, #40] ; 0x28 + 800451e: 6988 ldr r0, [r1, #24] + 8004520: f5b4 7f80 cmp.w r4, #256 ; 0x100 + 8004524: 6994 ldr r4, [r2, #24] + 8004526: d145 bne.n 80045b4 + 8004528: f424 5488 bic.w r4, r4, #4352 ; 0x1100 + 800452c: 6194 str r4, [r2, #24] + 800452e: 2401 movs r4, #1 + 8004530: 65d4 str r4, [r2, #92] ; 0x5c + 8004532: f5b6 7f80 cmp.w r6, #256 ; 0x100 + 8004536: bf09 itett eq + 8004538: 69cb ldreq r3, [r1, #28] + 800453a: 6413 strne r3, [r2, #64] ; 0x40 + 800453c: 4303 orreq r3, r0 + 800453e: 6453 streq r3, [r2, #68] ; 0x44 + 8004540: bf18 it ne + 8004542: 6450 strne r0, [r2, #68] ; 0x44 + 8004544: 4b28 ldr r3, [pc, #160] ; (80045e8 ) + 8004546: 684a ldr r2, [r1, #4] + 8004548: 671a str r2, [r3, #112] ; 0x70 + 800454a: 6b2a ldr r2, [r5, #48] ; 0x30 + 800454c: f042 0201 orr.w r2, r2, #1 + 8004550: 632a str r2, [r5, #48] ; 0x30 + 8004552: 699a ldr r2, [r3, #24] + 8004554: f442 5288 orr.w r2, r2, #4352 ; 0x1100 + 8004558: 619a str r2, [r3, #24] + 800455a: 4a24 ldr r2, [pc, #144] ; (80045ec ) + 800455c: f8d2 3080 ldr.w r3, [r2, #128] ; 0x80 + 8004560: f443 3300 orr.w r3, r3, #131072 ; 0x20000 + 8004564: f8c2 3080 str.w r3, [r2, #128] ; 0x80 + 8004568: 4b1f ldr r3, [pc, #124] ; (80045e8 ) + 800456a: 22ff movs r2, #255 ; 0xff + 800456c: 625a str r2, [r3, #36] ; 0x24 + 800456e: 2000 movs r0, #0 + 8004570: 2301 movs r3, #1 + 8004572: f885 302d strb.w r3, [r5, #45] ; 0x2d + 8004576: f885 002c strb.w r0, [r5, #44] ; 0x2c + 800457a: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 800457e: f1b4 3f80 cmp.w r4, #2155905152 ; 0x80808080 + 8004582: d007 beq.n 8004594 + 8004584: f5b4 0f00 cmp.w r4, #8388608 ; 0x800000 + 8004588: d004 beq.n 8004594 + 800458a: 699b ldr r3, [r3, #24] + 800458c: f013 0340 ands.w r3, r3, #64 ; 0x40 + 8004590: bf08 it eq + 8004592: 70cb strbeq r3, [r1, #3] + 8004594: 6a0b ldr r3, [r1, #32] + 8004596: 78ca ldrb r2, [r1, #3] + 8004598: 431c orrs r4, r3 + 800459a: ea44 040a orr.w r4, r4, sl + 800459e: ea44 4300 orr.w r3, r4, r0, lsl #16 + 80045a2: ea43 2309 orr.w r3, r3, r9, lsl #8 + 80045a6: ea43 5382 orr.w r3, r3, r2, lsl #22 + 80045aa: ea43 6307 orr.w r3, r3, r7, lsl #24 + 80045ae: e7b0 b.n 8004512 + 80045b0: 2300 movs r3, #0 + 80045b2: e7ae b.n 8004512 + 80045b4: f424 5408 bic.w r4, r4, #8704 ; 0x2200 + 80045b8: 6194 str r4, [r2, #24] + 80045ba: 2402 movs r4, #2 + 80045bc: 65d4 str r4, [r2, #92] ; 0x5c + 80045be: f5b6 7f80 cmp.w r6, #256 ; 0x100 + 80045c2: bf09 itett eq + 80045c4: 69cb ldreq r3, [r1, #28] + 80045c6: 6493 strne r3, [r2, #72] ; 0x48 + 80045c8: 4303 orreq r3, r0 + 80045ca: 64d3 streq r3, [r2, #76] ; 0x4c + 80045cc: bf18 it ne + 80045ce: 64d0 strne r0, [r2, #76] ; 0x4c + 80045d0: 4b05 ldr r3, [pc, #20] ; (80045e8 ) + 80045d2: 684a ldr r2, [r1, #4] + 80045d4: 675a str r2, [r3, #116] ; 0x74 + 80045d6: 6b2a ldr r2, [r5, #48] ; 0x30 + 80045d8: f042 0202 orr.w r2, r2, #2 + 80045dc: 632a str r2, [r5, #48] ; 0x30 + 80045de: 699a ldr r2, [r3, #24] + 80045e0: f442 5208 orr.w r2, r2, #8704 ; 0x2200 + 80045e4: e7b8 b.n 8004558 + 80045e6: bf00 nop + 80045e8: 40002800 .word 0x40002800 + 80045ec: 58000800 .word 0x58000800 -080045dc : - 80045dc: f890 202c ldrb.w r2, [r0, #44] ; 0x2c - 80045e0: 2a01 cmp r2, #1 - 80045e2: 4603 mov r3, r0 - 80045e4: f04f 0002 mov.w r0, #2 - 80045e8: d012 beq.n 8004610 - 80045ea: 4a0a ldr r2, [pc, #40] ; (8004614 ) - 80045ec: f883 002d strb.w r0, [r3, #45] ; 0x2d - 80045f0: 21ca movs r1, #202 ; 0xca - 80045f2: 6251 str r1, [r2, #36] ; 0x24 - 80045f4: 2153 movs r1, #83 ; 0x53 - 80045f6: 6251 str r1, [r2, #36] ; 0x24 - 80045f8: 6991 ldr r1, [r2, #24] - 80045fa: f041 0120 orr.w r1, r1, #32 - 80045fe: 6191 str r1, [r2, #24] - 8004600: 21ff movs r1, #255 ; 0xff - 8004602: 6251 str r1, [r2, #36] ; 0x24 - 8004604: 2000 movs r0, #0 - 8004606: 2201 movs r2, #1 - 8004608: f883 202d strb.w r2, [r3, #45] ; 0x2d - 800460c: f883 002c strb.w r0, [r3, #44] ; 0x2c - 8004610: 4770 bx lr - 8004612: bf00 nop - 8004614: 40002800 .word 0x40002800 +080045f0 : + 80045f0: f890 202c ldrb.w r2, [r0, #44] ; 0x2c + 80045f4: 2a01 cmp r2, #1 + 80045f6: 4603 mov r3, r0 + 80045f8: f04f 0002 mov.w r0, #2 + 80045fc: d012 beq.n 8004624 + 80045fe: 4a0a ldr r2, [pc, #40] ; (8004628 ) + 8004600: f883 002d strb.w r0, [r3, #45] ; 0x2d + 8004604: 21ca movs r1, #202 ; 0xca + 8004606: 6251 str r1, [r2, #36] ; 0x24 + 8004608: 2153 movs r1, #83 ; 0x53 + 800460a: 6251 str r1, [r2, #36] ; 0x24 + 800460c: 6991 ldr r1, [r2, #24] + 800460e: f041 0120 orr.w r1, r1, #32 + 8004612: 6191 str r1, [r2, #24] + 8004614: 21ff movs r1, #255 ; 0xff + 8004616: 6251 str r1, [r2, #36] ; 0x24 + 8004618: 2000 movs r0, #0 + 800461a: 2201 movs r2, #1 + 800461c: f883 202d strb.w r2, [r3, #45] ; 0x2d + 8004620: f883 002c strb.w r0, [r3, #44] ; 0x2c + 8004624: 4770 bx lr + 8004626: bf00 nop + 8004628: 40002800 .word 0x40002800 -08004618 : - 8004618: f890 202c ldrb.w r2, [r0, #44] ; 0x2c - 800461c: 2a01 cmp r2, #1 - 800461e: 4603 mov r3, r0 - 8004620: f04f 0002 mov.w r0, #2 - 8004624: d019 beq.n 800465a - 8004626: 4a0d ldr r2, [pc, #52] ; (800465c ) - 8004628: f883 002d strb.w r0, [r3, #45] ; 0x2d - 800462c: 21ca movs r1, #202 ; 0xca - 800462e: 6251 str r1, [r2, #36] ; 0x24 - 8004630: 2153 movs r1, #83 ; 0x53 - 8004632: 6251 str r1, [r2, #36] ; 0x24 - 8004634: 6991 ldr r1, [r2, #24] - 8004636: 480a ldr r0, [pc, #40] ; (8004660 ) - 8004638: f041 0180 orr.w r1, r1, #128 ; 0x80 - 800463c: 6191 str r1, [r2, #24] - 800463e: f8d0 1080 ldr.w r1, [r0, #128] ; 0x80 - 8004642: f441 2180 orr.w r1, r1, #262144 ; 0x40000 - 8004646: f8c0 1080 str.w r1, [r0, #128] ; 0x80 - 800464a: 21ff movs r1, #255 ; 0xff - 800464c: 6251 str r1, [r2, #36] ; 0x24 - 800464e: 2000 movs r0, #0 - 8004650: 2201 movs r2, #1 - 8004652: f883 202d strb.w r2, [r3, #45] ; 0x2d - 8004656: f883 002c strb.w r0, [r3, #44] ; 0x2c - 800465a: 4770 bx lr - 800465c: 40002800 .word 0x40002800 - 8004660: 58000800 .word 0x58000800 +0800462c : + 800462c: f890 202c ldrb.w r2, [r0, #44] ; 0x2c + 8004630: 2a01 cmp r2, #1 + 8004632: 4603 mov r3, r0 + 8004634: f04f 0002 mov.w r0, #2 + 8004638: d019 beq.n 800466e + 800463a: 4a0d ldr r2, [pc, #52] ; (8004670 ) + 800463c: f883 002d strb.w r0, [r3, #45] ; 0x2d + 8004640: 21ca movs r1, #202 ; 0xca + 8004642: 6251 str r1, [r2, #36] ; 0x24 + 8004644: 2153 movs r1, #83 ; 0x53 + 8004646: 6251 str r1, [r2, #36] ; 0x24 + 8004648: 6991 ldr r1, [r2, #24] + 800464a: 480a ldr r0, [pc, #40] ; (8004674 ) + 800464c: f041 0180 orr.w r1, r1, #128 ; 0x80 + 8004650: 6191 str r1, [r2, #24] + 8004652: f8d0 1080 ldr.w r1, [r0, #128] ; 0x80 + 8004656: f441 2180 orr.w r1, r1, #262144 ; 0x40000 + 800465a: f8c0 1080 str.w r1, [r0, #128] ; 0x80 + 800465e: 21ff movs r1, #255 ; 0xff + 8004660: 6251 str r1, [r2, #36] ; 0x24 + 8004662: 2000 movs r0, #0 + 8004664: 2201 movs r2, #1 + 8004666: f883 202d strb.w r2, [r3, #45] ; 0x2d + 800466a: f883 002c strb.w r0, [r3, #44] ; 0x2c + 800466e: 4770 bx lr + 8004670: 40002800 .word 0x40002800 + 8004674: 58000800 .word 0x58000800 -08004664 : - 8004664: 4b06 ldr r3, [pc, #24] ; (8004680 ) - 8004666: 6d5a ldr r2, [r3, #84] ; 0x54 - 8004668: 0652 lsls r2, r2, #25 - 800466a: b510 push {r4, lr} - 800466c: 4604 mov r4, r0 - 800466e: d503 bpl.n 8004678 - 8004670: 2240 movs r2, #64 ; 0x40 - 8004672: 65da str r2, [r3, #92] ; 0x5c - 8004674: f7fd fa40 bl 8001af8 - 8004678: 2301 movs r3, #1 - 800467a: f884 302d strb.w r3, [r4, #45] ; 0x2d - 800467e: bd10 pop {r4, pc} - 8004680: 40002800 .word 0x40002800 +08004678 : + 8004678: 4b06 ldr r3, [pc, #24] ; (8004694 ) + 800467a: 6d5a ldr r2, [r3, #84] ; 0x54 + 800467c: 0652 lsls r2, r2, #25 + 800467e: b510 push {r4, lr} + 8004680: 4604 mov r4, r0 + 8004682: d503 bpl.n 800468c + 8004684: 2240 movs r2, #64 ; 0x40 + 8004686: 65da str r2, [r3, #92] ; 0x5c + 8004688: f7fd fa36 bl 8001af8 + 800468c: 2301 movs r3, #1 + 800468e: f884 302d strb.w r3, [r4, #45] ; 0x2d + 8004692: bd10 pop {r4, pc} + 8004694: 40002800 .word 0x40002800 -08004684 : - 8004684: 4770 bx lr +08004698 : + 8004698: 4770 bx lr -08004686 : - 8004686: 0089 lsls r1, r1, #2 - 8004688: f101 4180 add.w r1, r1, #1073741824 ; 0x40000000 - 800468c: f501 4131 add.w r1, r1, #45312 ; 0xb100 - 8004690: 600a str r2, [r1, #0] - 8004692: 4770 bx lr +0800469a : + 800469a: 0089 lsls r1, r1, #2 + 800469c: f101 4180 add.w r1, r1, #1073741824 ; 0x40000000 + 80046a0: f501 4131 add.w r1, r1, #45312 ; 0xb100 + 80046a4: 600a str r2, [r1, #0] + 80046a6: 4770 bx lr -08004694 : - 8004694: 0089 lsls r1, r1, #2 - 8004696: f101 4180 add.w r1, r1, #1073741824 ; 0x40000000 - 800469a: f501 4131 add.w r1, r1, #45312 ; 0xb100 - 800469e: 6808 ldr r0, [r1, #0] - 80046a0: 4770 bx lr +080046a8 : + 80046a8: 0089 lsls r1, r1, #2 + 80046aa: f101 4180 add.w r1, r1, #1073741824 ; 0x40000000 + 80046ae: f501 4131 add.w r1, r1, #45312 ; 0xb100 + 80046b2: 6808 ldr r0, [r1, #0] + 80046b4: 4770 bx lr ... -080046a4 : - 80046a4: 4a03 ldr r2, [pc, #12] ; (80046b4 ) - 80046a6: f8d2 3090 ldr.w r3, [r2, #144] ; 0x90 - 80046aa: f443 4300 orr.w r3, r3, #32768 ; 0x8000 - 80046ae: f8c2 3090 str.w r3, [r2, #144] ; 0x90 - 80046b2: 4770 bx lr - 80046b4: 58000400 .word 0x58000400 - -080046b8 : - 80046b8: 4a03 ldr r2, [pc, #12] ; (80046c8 ) +080046b8 : + 80046b8: 4a03 ldr r2, [pc, #12] ; (80046c8 ) 80046ba: f8d2 3090 ldr.w r3, [r2, #144] ; 0x90 - 80046be: f423 4300 bic.w r3, r3, #32768 ; 0x8000 + 80046be: f443 4300 orr.w r3, r3, #32768 ; 0x8000 80046c2: f8c2 3090 str.w r3, [r2, #144] ; 0x90 80046c6: 4770 bx lr 80046c8: 58000400 .word 0x58000400 -080046cc : - 80046cc: 4b07 ldr r3, [pc, #28] ; (80046ec ) - 80046ce: 681a ldr r2, [r3, #0] - 80046d0: f022 0240 bic.w r2, r2, #64 ; 0x40 - 80046d4: 601a str r2, [r3, #0] - 80046d6: f440 7041 orr.w r0, r0, #772 ; 0x304 - 80046da: f44f 52b8 mov.w r2, #5888 ; 0x1700 - 80046de: 6018 str r0, [r3, #0] - 80046e0: 605a str r2, [r3, #4] +080046cc : + 80046cc: 4a03 ldr r2, [pc, #12] ; (80046dc ) + 80046ce: f8d2 3090 ldr.w r3, [r2, #144] ; 0x90 + 80046d2: f423 4300 bic.w r3, r3, #32768 ; 0x8000 + 80046d6: f8c2 3090 str.w r3, [r2, #144] ; 0x90 + 80046da: 4770 bx lr + 80046dc: 58000400 .word 0x58000400 + +080046e0 : + 80046e0: 4b07 ldr r3, [pc, #28] ; (8004700 ) 80046e2: 681a ldr r2, [r3, #0] - 80046e4: f042 0240 orr.w r2, r2, #64 ; 0x40 + 80046e4: f022 0240 bic.w r2, r2, #64 ; 0x40 80046e8: 601a str r2, [r3, #0] - 80046ea: 4770 bx lr - 80046ec: 58010000 .word 0x58010000 + 80046ea: f440 7041 orr.w r0, r0, #772 ; 0x304 + 80046ee: f44f 52b8 mov.w r2, #5888 ; 0x1700 + 80046f2: 6018 str r0, [r3, #0] + 80046f4: 605a str r2, [r3, #4] + 80046f6: 681a ldr r2, [r3, #0] + 80046f8: f042 0240 orr.w r2, r2, #64 ; 0x40 + 80046fc: 601a str r2, [r3, #0] + 80046fe: 4770 bx lr + 8004700: 58010000 .word 0x58010000 -080046f0 : - 80046f0: b537 push {r0, r1, r2, r4, r5, lr} - 80046f2: 4605 mov r5, r0 - 80046f4: 2800 cmp r0, #0 - 80046f6: d04e beq.n 8004796 - 80046f8: 7983 ldrb r3, [r0, #6] - 80046fa: f003 04ff and.w r4, r3, #255 ; 0xff - 80046fe: b16b cbz r3, 800471c - 8004700: 2c03 cmp r4, #3 - 8004702: d00b beq.n 800471c - 8004704: 4b25 ldr r3, [pc, #148] ; (800479c ) - 8004706: f44f 6200 mov.w r2, #2048 ; 0x800 - 800470a: 619a str r2, [r3, #24] - 800470c: 6828 ldr r0, [r5, #0] - 800470e: f7ff ffdd bl 80046cc - 8004712: 2400 movs r4, #0 - 8004714: 2301 movs r3, #1 - 8004716: 712b strb r3, [r5, #4] - 8004718: 60ac str r4, [r5, #8] - 800471a: e02f b.n 800477c - 800471c: 2300 movs r3, #0 - 800471e: 716b strb r3, [r5, #5] - 8004720: 4628 mov r0, r5 - 8004722: f7fc ffed bl 8001700 - 8004726: 4a1e ldr r2, [pc, #120] ; (80047a0 ) - 8004728: f8d2 3090 ldr.w r3, [r2, #144] ; 0x90 - 800472c: f443 5380 orr.w r3, r3, #4096 ; 0x1000 - 8004730: f8c2 3090 str.w r3, [r2, #144] ; 0x90 - 8004734: 2c00 cmp r4, #0 - 8004736: d1e5 bne.n 8004704 - 8004738: 2302 movs r3, #2 - 800473a: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 - 800473e: 71ab strb r3, [r5, #6] - 8004740: f8d2 3094 ldr.w r3, [r2, #148] ; 0x94 - 8004744: f423 4300 bic.w r3, r3, #32768 ; 0x8000 - 8004748: f8c2 3094 str.w r3, [r2, #148] ; 0x94 - 800474c: 4b15 ldr r3, [pc, #84] ; (80047a4 ) - 800474e: 681b ldr r3, [r3, #0] - 8004750: 211c movs r1, #28 - 8004752: 434b muls r3, r1 - 8004754: 0cdb lsrs r3, r3, #19 - 8004756: 2164 movs r1, #100 ; 0x64 - 8004758: 434b muls r3, r1 - 800475a: 9301 str r3, [sp, #4] - 800475c: 9b01 ldr r3, [sp, #4] - 800475e: b993 cbnz r3, 8004786 - 8004760: 2401 movs r4, #1 - 8004762: 60ac str r4, [r5, #8] - 8004764: f7ff ff9e bl 80046a4 - 8004768: 4b0c ldr r3, [pc, #48] ; (800479c ) - 800476a: 689a ldr r2, [r3, #8] - 800476c: f442 6200 orr.w r2, r2, #2048 ; 0x800 - 8004770: 609a str r2, [r3, #8] - 8004772: f44f 6200 mov.w r2, #2048 ; 0x800 - 8004776: 619a str r2, [r3, #24] - 8004778: 2c00 cmp r4, #0 - 800477a: d0c7 beq.n 800470c - 800477c: 2301 movs r3, #1 - 800477e: 71ab strb r3, [r5, #6] - 8004780: 4620 mov r0, r4 - 8004782: b003 add sp, #12 - 8004784: bd30 pop {r4, r5, pc} - 8004786: 9b01 ldr r3, [sp, #4] - 8004788: 3b01 subs r3, #1 - 800478a: 9301 str r3, [sp, #4] - 800478c: f8d2 3094 ldr.w r3, [r2, #148] ; 0x94 - 8004790: 045b lsls r3, r3, #17 - 8004792: d4e3 bmi.n 800475c - 8004794: e7e6 b.n 8004764 - 8004796: 2401 movs r4, #1 - 8004798: e7f2 b.n 8004780 - 800479a: bf00 nop - 800479c: 58000400 .word 0x58000400 - 80047a0: 58000800 .word 0x58000800 - 80047a4: 20000074 .word 0x20000074 +08004704 : + 8004704: b537 push {r0, r1, r2, r4, r5, lr} + 8004706: 4605 mov r5, r0 + 8004708: 2800 cmp r0, #0 + 800470a: d04e beq.n 80047aa + 800470c: 7983 ldrb r3, [r0, #6] + 800470e: f003 04ff and.w r4, r3, #255 ; 0xff + 8004712: b16b cbz r3, 8004730 + 8004714: 2c03 cmp r4, #3 + 8004716: d00b beq.n 8004730 + 8004718: 4b25 ldr r3, [pc, #148] ; (80047b0 ) + 800471a: f44f 6200 mov.w r2, #2048 ; 0x800 + 800471e: 619a str r2, [r3, #24] + 8004720: 6828 ldr r0, [r5, #0] + 8004722: f7ff ffdd bl 80046e0 + 8004726: 2400 movs r4, #0 + 8004728: 2301 movs r3, #1 + 800472a: 712b strb r3, [r5, #4] + 800472c: 60ac str r4, [r5, #8] + 800472e: e02f b.n 8004790 + 8004730: 2300 movs r3, #0 + 8004732: 716b strb r3, [r5, #5] + 8004734: 4628 mov r0, r5 + 8004736: f7fc ffe3 bl 8001700 + 800473a: 4a1e ldr r2, [pc, #120] ; (80047b4 ) + 800473c: f8d2 3090 ldr.w r3, [r2, #144] ; 0x90 + 8004740: f443 5380 orr.w r3, r3, #4096 ; 0x1000 + 8004744: f8c2 3090 str.w r3, [r2, #144] ; 0x90 + 8004748: 2c00 cmp r4, #0 + 800474a: d1e5 bne.n 8004718 + 800474c: 2302 movs r3, #2 + 800474e: f04f 42b0 mov.w r2, #1476395008 ; 0x58000000 + 8004752: 71ab strb r3, [r5, #6] + 8004754: f8d2 3094 ldr.w r3, [r2, #148] ; 0x94 + 8004758: f423 4300 bic.w r3, r3, #32768 ; 0x8000 + 800475c: f8c2 3094 str.w r3, [r2, #148] ; 0x94 + 8004760: 4b15 ldr r3, [pc, #84] ; (80047b8 ) + 8004762: 681b ldr r3, [r3, #0] + 8004764: 211c movs r1, #28 + 8004766: 434b muls r3, r1 + 8004768: 0cdb lsrs r3, r3, #19 + 800476a: 2164 movs r1, #100 ; 0x64 + 800476c: 434b muls r3, r1 + 800476e: 9301 str r3, [sp, #4] + 8004770: 9b01 ldr r3, [sp, #4] + 8004772: b993 cbnz r3, 800479a + 8004774: 2401 movs r4, #1 + 8004776: 60ac str r4, [r5, #8] + 8004778: f7ff ff9e bl 80046b8 + 800477c: 4b0c ldr r3, [pc, #48] ; (80047b0 ) + 800477e: 689a ldr r2, [r3, #8] + 8004780: f442 6200 orr.w r2, r2, #2048 ; 0x800 + 8004784: 609a str r2, [r3, #8] + 8004786: f44f 6200 mov.w r2, #2048 ; 0x800 + 800478a: 619a str r2, [r3, #24] + 800478c: 2c00 cmp r4, #0 + 800478e: d0c7 beq.n 8004720 + 8004790: 2301 movs r3, #1 + 8004792: 71ab strb r3, [r5, #6] + 8004794: 4620 mov r0, r4 + 8004796: b003 add sp, #12 + 8004798: bd30 pop {r4, r5, pc} + 800479a: 9b01 ldr r3, [sp, #4] + 800479c: 3b01 subs r3, #1 + 800479e: 9301 str r3, [sp, #4] + 80047a0: f8d2 3094 ldr.w r3, [r2, #148] ; 0x94 + 80047a4: 045b lsls r3, r3, #17 + 80047a6: d4e3 bmi.n 8004770 + 80047a8: e7e6 b.n 8004778 + 80047aa: 2401 movs r4, #1 + 80047ac: e7f2 b.n 8004794 + 80047ae: bf00 nop + 80047b0: 58000400 .word 0x58000400 + 80047b4: 58000800 .word 0x58000800 + 80047b8: 20000074 .word 0x20000074 -080047a8 : - 80047a8: b537 push {r0, r1, r2, r4, r5, lr} - 80047aa: 4d17 ldr r5, [pc, #92] ; (8004808 ) - 80047ac: 682b ldr r3, [r5, #0] - 80047ae: 4602 mov r2, r0 - 80047b0: 201c movs r0, #28 - 80047b2: 4343 muls r3, r0 - 80047b4: 0cdb lsrs r3, r3, #19 - 80047b6: 2064 movs r0, #100 ; 0x64 - 80047b8: 4343 muls r3, r0 - 80047ba: 4814 ldr r0, [pc, #80] ; (800480c ) - 80047bc: 9301 str r3, [sp, #4] - 80047be: 9b01 ldr r3, [sp, #4] - 80047c0: b993 cbnz r3, 80047e8 - 80047c2: 2001 movs r0, #1 - 80047c4: 6090 str r0, [r2, #8] - 80047c6: 4c11 ldr r4, [pc, #68] ; (800480c ) - 80047c8: 7321 strb r1, [r4, #12] - 80047ca: 682b ldr r3, [r5, #0] - 80047cc: 211c movs r1, #28 - 80047ce: 434b muls r3, r1 - 80047d0: 0cdb lsrs r3, r3, #19 - 80047d2: 2164 movs r1, #100 ; 0x64 - 80047d4: 434b muls r3, r1 - 80047d6: 9301 str r3, [sp, #4] - 80047d8: 9b01 ldr r3, [sp, #4] - 80047da: b96b cbnz r3, 80047f8 - 80047dc: 2001 movs r0, #1 - 80047de: 6090 str r0, [r2, #8] - 80047e0: 4b0a ldr r3, [pc, #40] ; (800480c ) - 80047e2: 68db ldr r3, [r3, #12] - 80047e4: b003 add sp, #12 - 80047e6: bd30 pop {r4, r5, pc} - 80047e8: 9b01 ldr r3, [sp, #4] - 80047ea: 3b01 subs r3, #1 - 80047ec: 9301 str r3, [sp, #4] - 80047ee: 6883 ldr r3, [r0, #8] - 80047f0: 079c lsls r4, r3, #30 - 80047f2: d5e4 bpl.n 80047be - 80047f4: 2000 movs r0, #0 - 80047f6: e7e6 b.n 80047c6 - 80047f8: 9b01 ldr r3, [sp, #4] - 80047fa: 3b01 subs r3, #1 - 80047fc: 9301 str r3, [sp, #4] - 80047fe: 68a3 ldr r3, [r4, #8] - 8004800: 07db lsls r3, r3, #31 - 8004802: d5e9 bpl.n 80047d8 - 8004804: e7ec b.n 80047e0 - 8004806: bf00 nop - 8004808: 20000074 .word 0x20000074 - 800480c: 58010000 .word 0x58010000 +080047bc : + 80047bc: b537 push {r0, r1, r2, r4, r5, lr} + 80047be: 4d17 ldr r5, [pc, #92] ; (800481c ) + 80047c0: 682b ldr r3, [r5, #0] + 80047c2: 4602 mov r2, r0 + 80047c4: 201c movs r0, #28 + 80047c6: 4343 muls r3, r0 + 80047c8: 0cdb lsrs r3, r3, #19 + 80047ca: 2064 movs r0, #100 ; 0x64 + 80047cc: 4343 muls r3, r0 + 80047ce: 4814 ldr r0, [pc, #80] ; (8004820 ) + 80047d0: 9301 str r3, [sp, #4] + 80047d2: 9b01 ldr r3, [sp, #4] + 80047d4: b993 cbnz r3, 80047fc + 80047d6: 2001 movs r0, #1 + 80047d8: 6090 str r0, [r2, #8] + 80047da: 4c11 ldr r4, [pc, #68] ; (8004820 ) + 80047dc: 7321 strb r1, [r4, #12] + 80047de: 682b ldr r3, [r5, #0] + 80047e0: 211c movs r1, #28 + 80047e2: 434b muls r3, r1 + 80047e4: 0cdb lsrs r3, r3, #19 + 80047e6: 2164 movs r1, #100 ; 0x64 + 80047e8: 434b muls r3, r1 + 80047ea: 9301 str r3, [sp, #4] + 80047ec: 9b01 ldr r3, [sp, #4] + 80047ee: b96b cbnz r3, 800480c + 80047f0: 2001 movs r0, #1 + 80047f2: 6090 str r0, [r2, #8] + 80047f4: 4b0a ldr r3, [pc, #40] ; (8004820 ) + 80047f6: 68db ldr r3, [r3, #12] + 80047f8: b003 add sp, #12 + 80047fa: bd30 pop {r4, r5, pc} + 80047fc: 9b01 ldr r3, [sp, #4] + 80047fe: 3b01 subs r3, #1 + 8004800: 9301 str r3, [sp, #4] + 8004802: 6883 ldr r3, [r0, #8] + 8004804: 079c lsls r4, r3, #30 + 8004806: d5e4 bpl.n 80047d2 + 8004808: 2000 movs r0, #0 + 800480a: e7e6 b.n 80047da + 800480c: 9b01 ldr r3, [sp, #4] + 800480e: 3b01 subs r3, #1 + 8004810: 9301 str r3, [sp, #4] + 8004812: 68a3 ldr r3, [r4, #8] + 8004814: 07db lsls r3, r3, #31 + 8004816: d5e9 bpl.n 80047ec + 8004818: e7ec b.n 80047f4 + 800481a: bf00 nop + 800481c: 20000074 .word 0x20000074 + 8004820: 58010000 .word 0x58010000 -08004810 : - 8004810: b537 push {r0, r1, r2, r4, r5, lr} - 8004812: 4d18 ldr r5, [pc, #96] ; (8004874 ) - 8004814: 682b ldr r3, [r5, #0] - 8004816: 4602 mov r2, r0 - 8004818: 201c movs r0, #28 - 800481a: 4343 muls r3, r0 - 800481c: 0cdb lsrs r3, r3, #19 - 800481e: 2064 movs r0, #100 ; 0x64 - 8004820: 4343 muls r3, r0 - 8004822: 4815 ldr r0, [pc, #84] ; (8004878 ) - 8004824: 9301 str r3, [sp, #4] - 8004826: 9b01 ldr r3, [sp, #4] - 8004828: b9a3 cbnz r3, 8004854 - 800482a: 2001 movs r0, #1 - 800482c: 6090 str r0, [r2, #8] - 800482e: 4c12 ldr r4, [pc, #72] ; (8004878 ) - 8004830: 23ff movs r3, #255 ; 0xff - 8004832: 7323 strb r3, [r4, #12] - 8004834: 682b ldr r3, [r5, #0] - 8004836: 251c movs r5, #28 - 8004838: 436b muls r3, r5 - 800483a: 0cdb lsrs r3, r3, #19 - 800483c: 2564 movs r5, #100 ; 0x64 - 800483e: 436b muls r3, r5 - 8004840: 9301 str r3, [sp, #4] - 8004842: 9b01 ldr r3, [sp, #4] - 8004844: b973 cbnz r3, 8004864 - 8004846: 2001 movs r0, #1 - 8004848: 6090 str r0, [r2, #8] - 800484a: 4b0b ldr r3, [pc, #44] ; (8004878 ) - 800484c: 68db ldr r3, [r3, #12] - 800484e: 700b strb r3, [r1, #0] - 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: d5e2 bpl.n 8004826 - 8004860: 2000 movs r0, #0 - 8004862: e7e4 b.n 800482e - 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: d5e8 bpl.n 8004842 - 8004870: e7eb b.n 800484a - 8004872: bf00 nop - 8004874: 20000074 .word 0x20000074 - 8004878: 58010000 .word 0x58010000 +08004824 : + 8004824: b537 push {r0, r1, r2, r4, r5, lr} + 8004826: 4d18 ldr r5, [pc, #96] ; (8004888 ) + 8004828: 682b ldr r3, [r5, #0] + 800482a: 4602 mov r2, r0 + 800482c: 201c movs r0, #28 + 800482e: 4343 muls r3, r0 + 8004830: 0cdb lsrs r3, r3, #19 + 8004832: 2064 movs r0, #100 ; 0x64 + 8004834: 4343 muls r3, r0 + 8004836: 4815 ldr r0, [pc, #84] ; (800488c ) + 8004838: 9301 str r3, [sp, #4] + 800483a: 9b01 ldr r3, [sp, #4] + 800483c: b9a3 cbnz r3, 8004868 + 800483e: 2001 movs r0, #1 + 8004840: 6090 str r0, [r2, #8] + 8004842: 4c12 ldr r4, [pc, #72] ; (800488c ) + 8004844: 23ff movs r3, #255 ; 0xff + 8004846: 7323 strb r3, [r4, #12] + 8004848: 682b ldr r3, [r5, #0] + 800484a: 251c movs r5, #28 + 800484c: 436b muls r3, r5 + 800484e: 0cdb lsrs r3, r3, #19 + 8004850: 2564 movs r5, #100 ; 0x64 + 8004852: 436b muls r3, r5 + 8004854: 9301 str r3, [sp, #4] + 8004856: 9b01 ldr r3, [sp, #4] + 8004858: b973 cbnz r3, 8004878 + 800485a: 2001 movs r0, #1 + 800485c: 6090 str r0, [r2, #8] + 800485e: 4b0b ldr r3, [pc, #44] ; (800488c ) + 8004860: 68db ldr r3, [r3, #12] + 8004862: 700b strb r3, [r1, #0] + 8004864: b003 add sp, #12 + 8004866: bd30 pop {r4, r5, pc} + 8004868: 9b01 ldr r3, [sp, #4] + 800486a: 3b01 subs r3, #1 + 800486c: 9301 str r3, [sp, #4] + 800486e: 6883 ldr r3, [r0, #8] + 8004870: 079c lsls r4, r3, #30 + 8004872: d5e2 bpl.n 800483a + 8004874: 2000 movs r0, #0 + 8004876: e7e4 b.n 8004842 + 8004878: 9b01 ldr r3, [sp, #4] + 800487a: 3b01 subs r3, #1 + 800487c: 9301 str r3, [sp, #4] + 800487e: 68a3 ldr r3, [r4, #8] + 8004880: 07db lsls r3, r3, #31 + 8004882: d5e8 bpl.n 8004856 + 8004884: e7eb b.n 800485e + 8004886: bf00 nop + 8004888: 20000074 .word 0x20000074 + 800488c: 58010000 .word 0x58010000 -0800487c : - 800487c: 4b0f ldr r3, [pc, #60] ; (80048bc ) - 800487e: b513 push {r0, r1, r4, lr} - 8004880: 681b ldr r3, [r3, #0] - 8004882: 4c0f ldr r4, [pc, #60] ; (80048c0 ) - 8004884: 2218 movs r2, #24 - 8004886: 4353 muls r3, r2 - 8004888: 0d1b lsrs r3, r3, #20 - 800488a: 2264 movs r2, #100 ; 0x64 - 800488c: 4353 muls r3, r2 - 800488e: 4601 mov r1, r0 - 8004890: 9301 str r3, [sp, #4] - 8004892: 6962 ldr r2, [r4, #20] - 8004894: 9b01 ldr r3, [sp, #4] - 8004896: f002 0204 and.w r2, r2, #4 - 800489a: b923 cbnz r3, 80048a6 - 800489c: 2302 movs r3, #2 - 800489e: 608b str r3, [r1, #8] - 80048a0: 2001 movs r0, #1 - 80048a2: b002 add sp, #8 - 80048a4: bd10 pop {r4, pc} - 80048a6: 9b01 ldr r3, [sp, #4] - 80048a8: 3b01 subs r3, #1 - 80048aa: 9301 str r3, [sp, #4] - 80048ac: 6960 ldr r0, [r4, #20] - 80048ae: f010 0002 ands.w r0, r0, #2 - 80048b2: d0f6 beq.n 80048a2 - 80048b4: 2a00 cmp r2, #0 - 80048b6: d1ec bne.n 8004892 - 80048b8: 4610 mov r0, r2 - 80048ba: e7f2 b.n 80048a2 - 80048bc: 20000074 .word 0x20000074 - 80048c0: 58000400 .word 0x58000400 +08004890 : + 8004890: 4b0f ldr r3, [pc, #60] ; (80048d0 ) + 8004892: b513 push {r0, r1, r4, lr} + 8004894: 681b ldr r3, [r3, #0] + 8004896: 4c0f ldr r4, [pc, #60] ; (80048d4 ) + 8004898: 2218 movs r2, #24 + 800489a: 4353 muls r3, r2 + 800489c: 0d1b lsrs r3, r3, #20 + 800489e: 2264 movs r2, #100 ; 0x64 + 80048a0: 4353 muls r3, r2 + 80048a2: 4601 mov r1, r0 + 80048a4: 9301 str r3, [sp, #4] + 80048a6: 6962 ldr r2, [r4, #20] + 80048a8: 9b01 ldr r3, [sp, #4] + 80048aa: f002 0204 and.w r2, r2, #4 + 80048ae: b923 cbnz r3, 80048ba + 80048b0: 2302 movs r3, #2 + 80048b2: 608b str r3, [r1, #8] + 80048b4: 2001 movs r0, #1 + 80048b6: b002 add sp, #8 + 80048b8: bd10 pop {r4, pc} + 80048ba: 9b01 ldr r3, [sp, #4] + 80048bc: 3b01 subs r3, #1 + 80048be: 9301 str r3, [sp, #4] + 80048c0: 6960 ldr r0, [r4, #20] + 80048c2: f010 0002 ands.w r0, r0, #2 + 80048c6: d0f6 beq.n 80048b6 + 80048c8: 2a00 cmp r2, #0 + 80048ca: d1ec bne.n 80048a6 + 80048cc: 4610 mov r0, r2 + 80048ce: e7f2 b.n 80048b6 + 80048d0: 20000074 .word 0x20000074 + 80048d4: 58000400 .word 0x58000400 -080048c4 : - 80048c4: b507 push {r0, r1, r2, lr} - 80048c6: 7903 ldrb r3, [r0, #4] - 80048c8: 2b01 cmp r3, #1 - 80048ca: d10f bne.n 80048ec - 80048cc: 4b0a ldr r3, [pc, #40] ; (80048f8 ) - 80048ce: 681b ldr r3, [r3, #0] - 80048d0: 2218 movs r2, #24 - 80048d2: 4353 muls r3, r2 - 80048d4: 0c1b lsrs r3, r3, #16 - 80048d6: 9301 str r3, [sp, #4] - 80048d8: f7ff feee bl 80046b8 - 80048dc: 9b01 ldr r3, [sp, #4] - 80048de: 3b01 subs r3, #1 - 80048e0: 9301 str r3, [sp, #4] - 80048e2: 9b01 ldr r3, [sp, #4] - 80048e4: 2b00 cmp r3, #0 - 80048e6: d1f9 bne.n 80048dc - 80048e8: f7ff fedc bl 80046a4 - 80048ec: b003 add sp, #12 - 80048ee: f85d eb04 ldr.w lr, [sp], #4 - 80048f2: f7ff bfc3 b.w 800487c - 80048f6: bf00 nop - 80048f8: 20000074 .word 0x20000074 +080048d8 : + 80048d8: b507 push {r0, r1, r2, lr} + 80048da: 7903 ldrb r3, [r0, #4] + 80048dc: 2b01 cmp r3, #1 + 80048de: d10f bne.n 8004900 + 80048e0: 4b0a ldr r3, [pc, #40] ; (800490c ) + 80048e2: 681b ldr r3, [r3, #0] + 80048e4: 2218 movs r2, #24 + 80048e6: 4353 muls r3, r2 + 80048e8: 0c1b lsrs r3, r3, #16 + 80048ea: 9301 str r3, [sp, #4] + 80048ec: f7ff feee bl 80046cc + 80048f0: 9b01 ldr r3, [sp, #4] + 80048f2: 3b01 subs r3, #1 + 80048f4: 9301 str r3, [sp, #4] + 80048f6: 9b01 ldr r3, [sp, #4] + 80048f8: 2b00 cmp r3, #0 + 80048fa: d1f9 bne.n 80048f0 + 80048fc: f7ff fedc bl 80046b8 + 8004900: b003 add sp, #12 + 8004902: f85d eb04 ldr.w lr, [sp], #4 + 8004906: f7ff bfc3 b.w 8004890 + 800490a: bf00 nop + 800490c: 20000074 .word 0x20000074 -080048fc : - 80048fc: b5f8 push {r3, r4, r5, r6, r7, lr} - 80048fe: 461e mov r6, r3 - 8004900: 7983 ldrb r3, [r0, #6] - 8004902: 2b01 cmp r3, #1 - 8004904: 4615 mov r5, r2 - 8004906: 4604 mov r4, r0 - 8004908: 460f mov r7, r1 - 800490a: b2da uxtb r2, r3 - 800490c: d12d bne.n 800496a - 800490e: 7943 ldrb r3, [r0, #5] - 8004910: 2b01 cmp r3, #1 - 8004912: d02a beq.n 800496a - 8004914: 2302 movs r3, #2 - 8004916: 7142 strb r2, [r0, #5] - 8004918: 7183 strb r3, [r0, #6] - 800491a: f7ff ffd3 bl 80048c4 - 800491e: 210d movs r1, #13 - 8004920: 4620 mov r0, r4 - 8004922: f7ff fec9 bl 80046b8 - 8004926: f7ff ff3f bl 80047a8 - 800492a: 0a39 lsrs r1, r7, #8 - 800492c: 4620 mov r0, r4 - 800492e: f7ff ff3b bl 80047a8 - 8004932: b2f9 uxtb r1, r7 +08004910 : + 8004910: b5f8 push {r3, r4, r5, r6, r7, lr} + 8004912: 461e mov r6, r3 + 8004914: 7983 ldrb r3, [r0, #6] + 8004916: 2b01 cmp r3, #1 + 8004918: 4615 mov r5, r2 + 800491a: 4604 mov r4, r0 + 800491c: 460f mov r7, r1 + 800491e: b2da uxtb r2, r3 + 8004920: d12d bne.n 800497e + 8004922: 7943 ldrb r3, [r0, #5] + 8004924: 2b01 cmp r3, #1 + 8004926: d02a beq.n 800497e + 8004928: 2302 movs r3, #2 + 800492a: 7142 strb r2, [r0, #5] + 800492c: 7183 strb r3, [r0, #6] + 800492e: f7ff ffd3 bl 80048d8 + 8004932: 210d movs r1, #13 8004934: 4620 mov r0, r4 - 8004936: f7ff ff37 bl 80047a8 - 800493a: 442e add r6, r5 - 800493c: 42b5 cmp r5, r6 - 800493e: d10e bne.n 800495e + 8004936: f7ff fec9 bl 80046cc + 800493a: f7ff ff3f bl 80047bc + 800493e: 0a39 lsrs r1, r7, #8 8004940: 4620 mov r0, r4 - 8004942: f7ff feaf bl 80046a4 - 8004946: f7ff ff99 bl 800487c - 800494a: 68a0 ldr r0, [r4, #8] - 800494c: 2301 movs r3, #1 - 800494e: 3800 subs r0, #0 - 8004950: 71a3 strb r3, [r4, #6] - 8004952: f04f 0300 mov.w r3, #0 - 8004956: bf18 it ne - 8004958: 2001 movne r0, #1 - 800495a: 7163 strb r3, [r4, #5] - 800495c: bdf8 pop {r3, r4, r5, r6, r7, pc} - 800495e: f815 1b01 ldrb.w r1, [r5], #1 - 8004962: 4620 mov r0, r4 - 8004964: f7ff ff20 bl 80047a8 - 8004968: e7e8 b.n 800493c - 800496a: 2002 movs r0, #2 - 800496c: e7f6 b.n 800495c + 8004942: f7ff ff3b bl 80047bc + 8004946: b2f9 uxtb r1, r7 + 8004948: 4620 mov r0, r4 + 800494a: f7ff ff37 bl 80047bc + 800494e: 442e add r6, r5 + 8004950: 42b5 cmp r5, r6 + 8004952: d10e bne.n 8004972 + 8004954: 4620 mov r0, r4 + 8004956: f7ff feaf bl 80046b8 + 800495a: f7ff ff99 bl 8004890 + 800495e: 68a0 ldr r0, [r4, #8] + 8004960: 2301 movs r3, #1 + 8004962: 3800 subs r0, #0 + 8004964: 71a3 strb r3, [r4, #6] + 8004966: f04f 0300 mov.w r3, #0 + 800496a: bf18 it ne + 800496c: 2001 movne r0, #1 + 800496e: 7163 strb r3, [r4, #5] + 8004970: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8004972: f815 1b01 ldrb.w r1, [r5], #1 + 8004976: 4620 mov r0, r4 + 8004978: f7ff ff20 bl 80047bc + 800497c: e7e8 b.n 8004950 + 800497e: 2002 movs r0, #2 + 8004980: e7f6 b.n 8004970 -0800496e : - 800496e: b5f8 push {r3, r4, r5, r6, r7, lr} - 8004970: 461e mov r6, r3 - 8004972: 7983 ldrb r3, [r0, #6] - 8004974: 2b01 cmp r3, #1 - 8004976: 4615 mov r5, r2 - 8004978: 4604 mov r4, r0 - 800497a: 460f mov r7, r1 - 800497c: b2da uxtb r2, r3 - 800497e: d12f bne.n 80049e0 - 8004980: 7943 ldrb r3, [r0, #5] - 8004982: 2b01 cmp r3, #1 - 8004984: d02c beq.n 80049e0 - 8004986: 7142 strb r2, [r0, #5] - 8004988: f7ff ff9c bl 80048c4 - 800498c: 211d movs r1, #29 - 800498e: 4620 mov r0, r4 - 8004990: f7ff fe92 bl 80046b8 - 8004994: f7ff ff08 bl 80047a8 - 8004998: 0a39 lsrs r1, r7, #8 - 800499a: 4620 mov r0, r4 - 800499c: f7ff ff04 bl 80047a8 - 80049a0: b2f9 uxtb r1, r7 +08004982 : + 8004982: b5f8 push {r3, r4, r5, r6, r7, lr} + 8004984: 461e mov r6, r3 + 8004986: 7983 ldrb r3, [r0, #6] + 8004988: 2b01 cmp r3, #1 + 800498a: 4615 mov r5, r2 + 800498c: 4604 mov r4, r0 + 800498e: 460f mov r7, r1 + 8004990: b2da uxtb r2, r3 + 8004992: d12f bne.n 80049f4 + 8004994: 7943 ldrb r3, [r0, #5] + 8004996: 2b01 cmp r3, #1 + 8004998: d02c beq.n 80049f4 + 800499a: 7142 strb r2, [r0, #5] + 800499c: f7ff ff9c bl 80048d8 + 80049a0: 211d movs r1, #29 80049a2: 4620 mov r0, r4 - 80049a4: f7ff ff00 bl 80047a8 - 80049a8: 2100 movs r1, #0 - 80049aa: 4620 mov r0, r4 - 80049ac: f7ff fefc bl 80047a8 - 80049b0: 442e add r6, r5 - 80049b2: 42b5 cmp r5, r6 - 80049b4: d10e bne.n 80049d4 + 80049a4: f7ff fe92 bl 80046cc + 80049a8: f7ff ff08 bl 80047bc + 80049ac: 0a39 lsrs r1, r7, #8 + 80049ae: 4620 mov r0, r4 + 80049b0: f7ff ff04 bl 80047bc + 80049b4: b2f9 uxtb r1, r7 80049b6: 4620 mov r0, r4 - 80049b8: f7ff fe74 bl 80046a4 - 80049bc: f7ff ff5e bl 800487c - 80049c0: 68a0 ldr r0, [r4, #8] - 80049c2: 2301 movs r3, #1 - 80049c4: 3800 subs r0, #0 - 80049c6: 71a3 strb r3, [r4, #6] - 80049c8: f04f 0300 mov.w r3, #0 - 80049cc: bf18 it ne - 80049ce: 2001 movne r0, #1 - 80049d0: 7163 strb r3, [r4, #5] - 80049d2: bdf8 pop {r3, r4, r5, r6, r7, pc} - 80049d4: 4629 mov r1, r5 - 80049d6: 4620 mov r0, r4 - 80049d8: f7ff ff1a bl 8004810 - 80049dc: 3501 adds r5, #1 - 80049de: e7e8 b.n 80049b2 - 80049e0: 2002 movs r0, #2 - 80049e2: e7f6 b.n 80049d2 + 80049b8: f7ff ff00 bl 80047bc + 80049bc: 2100 movs r1, #0 + 80049be: 4620 mov r0, r4 + 80049c0: f7ff fefc bl 80047bc + 80049c4: 442e add r6, r5 + 80049c6: 42b5 cmp r5, r6 + 80049c8: d10e bne.n 80049e8 + 80049ca: 4620 mov r0, r4 + 80049cc: f7ff fe74 bl 80046b8 + 80049d0: f7ff ff5e bl 8004890 + 80049d4: 68a0 ldr r0, [r4, #8] + 80049d6: 2301 movs r3, #1 + 80049d8: 3800 subs r0, #0 + 80049da: 71a3 strb r3, [r4, #6] + 80049dc: f04f 0300 mov.w r3, #0 + 80049e0: bf18 it ne + 80049e2: 2001 movne r0, #1 + 80049e4: 7163 strb r3, [r4, #5] + 80049e6: bdf8 pop {r3, r4, r5, r6, r7, pc} + 80049e8: 4629 mov r1, r5 + 80049ea: 4620 mov r0, r4 + 80049ec: f7ff ff1a bl 8004824 + 80049f0: 3501 adds r5, #1 + 80049f2: e7e8 b.n 80049c6 + 80049f4: 2002 movs r0, #2 + 80049f6: e7f6 b.n 80049e6 -080049e4 : - 80049e4: b5f8 push {r3, r4, r5, r6, r7, lr} - 80049e6: 461f mov r7, r3 - 80049e8: 7983 ldrb r3, [r0, #6] - 80049ea: 2b01 cmp r3, #1 - 80049ec: 4615 mov r5, r2 - 80049ee: 4604 mov r4, r0 - 80049f0: 460e mov r6, r1 - 80049f2: b2da uxtb r2, r3 - 80049f4: d12c bne.n 8004a50 - 80049f6: 7943 ldrb r3, [r0, #5] - 80049f8: 2b01 cmp r3, #1 - 80049fa: d029 beq.n 8004a50 - 80049fc: 7142 strb r2, [r0, #5] - 80049fe: f7ff ff61 bl 80048c4 - 8004a02: f006 03ef and.w r3, r6, #239 ; 0xef - 8004a06: f1a3 0284 sub.w r2, r3, #132 ; 0x84 - 8004a0a: 4253 negs r3, r2 - 8004a0c: 4153 adcs r3, r2 - 8004a0e: 7123 strb r3, [r4, #4] - 8004a10: 4631 mov r1, r6 - 8004a12: 4620 mov r0, r4 - 8004a14: f7ff fe50 bl 80046b8 - 8004a18: f7ff fec6 bl 80047a8 - 8004a1c: 442f add r7, r5 - 8004a1e: 42af cmp r7, r5 - 8004a20: d110 bne.n 8004a44 - 8004a22: f7ff fe3f bl 80046a4 - 8004a26: 2e84 cmp r6, #132 ; 0x84 - 8004a28: d002 beq.n 8004a30 - 8004a2a: 4620 mov r0, r4 - 8004a2c: f7ff ff26 bl 800487c - 8004a30: 68a0 ldr r0, [r4, #8] - 8004a32: 2301 movs r3, #1 - 8004a34: 3800 subs r0, #0 - 8004a36: 71a3 strb r3, [r4, #6] - 8004a38: f04f 0300 mov.w r3, #0 - 8004a3c: bf18 it ne - 8004a3e: 2001 movne r0, #1 - 8004a40: 7163 strb r3, [r4, #5] - 8004a42: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8004a44: f815 1b01 ldrb.w r1, [r5], #1 - 8004a48: 4620 mov r0, r4 - 8004a4a: f7ff fead bl 80047a8 - 8004a4e: e7e6 b.n 8004a1e - 8004a50: 2002 movs r0, #2 - 8004a52: e7f6 b.n 8004a42 +080049f8 : + 80049f8: b5f8 push {r3, r4, r5, r6, r7, lr} + 80049fa: 461f mov r7, r3 + 80049fc: 7983 ldrb r3, [r0, #6] + 80049fe: 2b01 cmp r3, #1 + 8004a00: 4615 mov r5, r2 + 8004a02: 4604 mov r4, r0 + 8004a04: 460e mov r6, r1 + 8004a06: b2da uxtb r2, r3 + 8004a08: d12c bne.n 8004a64 + 8004a0a: 7943 ldrb r3, [r0, #5] + 8004a0c: 2b01 cmp r3, #1 + 8004a0e: d029 beq.n 8004a64 + 8004a10: 7142 strb r2, [r0, #5] + 8004a12: f7ff ff61 bl 80048d8 + 8004a16: f006 03ef and.w r3, r6, #239 ; 0xef + 8004a1a: f1a3 0284 sub.w r2, r3, #132 ; 0x84 + 8004a1e: 4253 negs r3, r2 + 8004a20: 4153 adcs r3, r2 + 8004a22: 7123 strb r3, [r4, #4] + 8004a24: 4631 mov r1, r6 + 8004a26: 4620 mov r0, r4 + 8004a28: f7ff fe50 bl 80046cc + 8004a2c: f7ff fec6 bl 80047bc + 8004a30: 442f add r7, r5 + 8004a32: 42af cmp r7, r5 + 8004a34: d110 bne.n 8004a58 + 8004a36: f7ff fe3f bl 80046b8 + 8004a3a: 2e84 cmp r6, #132 ; 0x84 + 8004a3c: d002 beq.n 8004a44 + 8004a3e: 4620 mov r0, r4 + 8004a40: f7ff ff26 bl 8004890 + 8004a44: 68a0 ldr r0, [r4, #8] + 8004a46: 2301 movs r3, #1 + 8004a48: 3800 subs r0, #0 + 8004a4a: 71a3 strb r3, [r4, #6] + 8004a4c: f04f 0300 mov.w r3, #0 + 8004a50: bf18 it ne + 8004a52: 2001 movne r0, #1 + 8004a54: 7163 strb r3, [r4, #5] + 8004a56: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8004a58: f815 1b01 ldrb.w r1, [r5], #1 + 8004a5c: 4620 mov r0, r4 + 8004a5e: f7ff fead bl 80047bc + 8004a62: e7e6 b.n 8004a32 + 8004a64: 2002 movs r0, #2 + 8004a66: e7f6 b.n 8004a56 -08004a54 : - 8004a54: b5f8 push {r3, r4, r5, r6, r7, lr} - 8004a56: 461e mov r6, r3 - 8004a58: 7983 ldrb r3, [r0, #6] - 8004a5a: 2b01 cmp r3, #1 - 8004a5c: 4615 mov r5, r2 - 8004a5e: 4604 mov r4, r0 - 8004a60: 460f mov r7, r1 - 8004a62: b2da uxtb r2, r3 - 8004a64: d127 bne.n 8004ab6 - 8004a66: 7943 ldrb r3, [r0, #5] - 8004a68: 2b01 cmp r3, #1 - 8004a6a: d024 beq.n 8004ab6 - 8004a6c: 7142 strb r2, [r0, #5] - 8004a6e: f7ff ff29 bl 80048c4 - 8004a72: 4639 mov r1, r7 - 8004a74: 4620 mov r0, r4 - 8004a76: f7ff fe1f bl 80046b8 - 8004a7a: f7ff fe95 bl 80047a8 - 8004a7e: 2100 movs r1, #0 - 8004a80: 4620 mov r0, r4 - 8004a82: f7ff fe91 bl 80047a8 - 8004a86: 442e add r6, r5 - 8004a88: 42b5 cmp r5, r6 - 8004a8a: d10e bne.n 8004aaa - 8004a8c: 4620 mov r0, r4 - 8004a8e: f7ff fe09 bl 80046a4 - 8004a92: f7ff fef3 bl 800487c - 8004a96: 68a0 ldr r0, [r4, #8] - 8004a98: 2301 movs r3, #1 - 8004a9a: 3800 subs r0, #0 - 8004a9c: 71a3 strb r3, [r4, #6] - 8004a9e: f04f 0300 mov.w r3, #0 - 8004aa2: bf18 it ne - 8004aa4: 2001 movne r0, #1 - 8004aa6: 7163 strb r3, [r4, #5] - 8004aa8: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8004aaa: 4629 mov r1, r5 - 8004aac: 4620 mov r0, r4 - 8004aae: f7ff feaf bl 8004810 - 8004ab2: 3501 adds r5, #1 - 8004ab4: e7e8 b.n 8004a88 - 8004ab6: 2002 movs r0, #2 - 8004ab8: e7f6 b.n 8004aa8 +08004a68 : + 8004a68: b5f8 push {r3, r4, r5, r6, r7, lr} + 8004a6a: 461e mov r6, r3 + 8004a6c: 7983 ldrb r3, [r0, #6] + 8004a6e: 2b01 cmp r3, #1 + 8004a70: 4615 mov r5, r2 + 8004a72: 4604 mov r4, r0 + 8004a74: 460f mov r7, r1 + 8004a76: b2da uxtb r2, r3 + 8004a78: d127 bne.n 8004aca + 8004a7a: 7943 ldrb r3, [r0, #5] + 8004a7c: 2b01 cmp r3, #1 + 8004a7e: d024 beq.n 8004aca + 8004a80: 7142 strb r2, [r0, #5] + 8004a82: f7ff ff29 bl 80048d8 + 8004a86: 4639 mov r1, r7 + 8004a88: 4620 mov r0, r4 + 8004a8a: f7ff fe1f bl 80046cc + 8004a8e: f7ff fe95 bl 80047bc + 8004a92: 2100 movs r1, #0 + 8004a94: 4620 mov r0, r4 + 8004a96: f7ff fe91 bl 80047bc + 8004a9a: 442e add r6, r5 + 8004a9c: 42b5 cmp r5, r6 + 8004a9e: d10e bne.n 8004abe + 8004aa0: 4620 mov r0, r4 + 8004aa2: f7ff fe09 bl 80046b8 + 8004aa6: f7ff fef3 bl 8004890 + 8004aaa: 68a0 ldr r0, [r4, #8] + 8004aac: 2301 movs r3, #1 + 8004aae: 3800 subs r0, #0 + 8004ab0: 71a3 strb r3, [r4, #6] + 8004ab2: f04f 0300 mov.w r3, #0 + 8004ab6: bf18 it ne + 8004ab8: 2001 movne r0, #1 + 8004aba: 7163 strb r3, [r4, #5] + 8004abc: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8004abe: 4629 mov r1, r5 + 8004ac0: 4620 mov r0, r4 + 8004ac2: f7ff feaf bl 8004824 + 8004ac6: 3501 adds r5, #1 + 8004ac8: e7e8 b.n 8004a9c + 8004aca: 2002 movs r0, #2 + 8004acc: e7f6 b.n 8004abc -08004aba : - 8004aba: b537 push {r0, r1, r2, r4, r5, lr} - 8004abc: 2300 movs r3, #0 - 8004abe: f8ad 3004 strh.w r3, [sp, #4] - 8004ac2: aa01 add r2, sp, #4 - 8004ac4: 2302 movs r3, #2 - 8004ac6: 2112 movs r1, #18 - 8004ac8: 4605 mov r5, r0 - 8004aca: f7ff ffc3 bl 8004a54 - 8004ace: f8bd 4004 ldrh.w r4, [sp, #4] - 8004ad2: 2302 movs r3, #2 - 8004ad4: ba64 rev16 r4, r4 +08004ace : + 8004ace: b537 push {r0, r1, r2, r4, r5, lr} + 8004ad0: 2300 movs r3, #0 + 8004ad2: f8ad 3004 strh.w r3, [sp, #4] 8004ad6: aa01 add r2, sp, #4 - 8004ad8: b2a4 uxth r4, r4 - 8004ada: 4619 mov r1, r3 - 8004adc: 4628 mov r0, r5 - 8004ade: f7ff ff81 bl 80049e4 - 8004ae2: 07e2 lsls r2, r4, #31 - 8004ae4: d502 bpl.n 8004aec - 8004ae6: 4628 mov r0, r5 - 8004ae8: f009 fb88 bl 800e1fc - 8004aec: 07a3 lsls r3, r4, #30 - 8004aee: d502 bpl.n 8004af6 + 8004ad8: 2302 movs r3, #2 + 8004ada: 2112 movs r1, #18 + 8004adc: 4605 mov r5, r0 + 8004ade: f7ff ffc3 bl 8004a68 + 8004ae2: f8bd 4004 ldrh.w r4, [sp, #4] + 8004ae6: 2302 movs r3, #2 + 8004ae8: ba64 rev16 r4, r4 + 8004aea: aa01 add r2, sp, #4 + 8004aec: b2a4 uxth r4, r4 + 8004aee: 4619 mov r1, r3 8004af0: 4628 mov r0, r5 - 8004af2: f009 fb89 bl 800e208 - 8004af6: 0760 lsls r0, r4, #29 - 8004af8: d502 bpl.n 8004b00 + 8004af2: f7ff ff81 bl 80049f8 + 8004af6: 07e2 lsls r2, r4, #31 + 8004af8: d502 bpl.n 8004b00 8004afa: 4628 mov r0, r5 - 8004afc: f009 fbae bl 800e25c - 8004b00: 0721 lsls r1, r4, #28 - 8004b02: d502 bpl.n 8004b0a + 8004afc: f009 fb88 bl 800e210 + 8004b00: 07a3 lsls r3, r4, #30 + 8004b02: d502 bpl.n 8004b0a 8004b04: 4628 mov r0, r5 - 8004b06: f009 fbaf bl 800e268 - 8004b0a: 06e2 lsls r2, r4, #27 - 8004b0c: d502 bpl.n 8004b14 + 8004b06: f009 fb89 bl 800e21c + 8004b0a: 0760 lsls r0, r4, #29 + 8004b0c: d502 bpl.n 8004b14 8004b0e: 4628 mov r0, r5 - 8004b10: f009 fbb0 bl 800e274 - 8004b14: 06a3 lsls r3, r4, #26 - 8004b16: d502 bpl.n 8004b1e + 8004b10: f009 fbae bl 800e270 + 8004b14: 0721 lsls r1, r4, #28 + 8004b16: d502 bpl.n 8004b1e 8004b18: 4628 mov r0, r5 - 8004b1a: f009 fb99 bl 800e250 - 8004b1e: 0660 lsls r0, r4, #25 - 8004b20: d502 bpl.n 8004b28 + 8004b1a: f009 fbaf bl 800e27c + 8004b1e: 06e2 lsls r2, r4, #27 + 8004b20: d502 bpl.n 8004b28 8004b22: 4628 mov r0, r5 - 8004b24: f009 fb76 bl 800e214 - 8004b28: 0621 lsls r1, r4, #24 - 8004b2a: d506 bpl.n 8004b3a - 8004b2c: f414 7180 ands.w r1, r4, #256 ; 0x100 - 8004b30: bf18 it ne - 8004b32: 2101 movne r1, #1 - 8004b34: 4628 mov r0, r5 - 8004b36: f009 fb73 bl 800e220 - 8004b3a: 05a2 lsls r2, r4, #22 - 8004b3c: d502 bpl.n 8004b44 - 8004b3e: 4628 mov r0, r5 - 8004b40: f009 fb7e bl 800e240 - 8004b44: 0463 lsls r3, r4, #17 - 8004b46: d502 bpl.n 8004b4e + 8004b24: f009 fbb0 bl 800e288 + 8004b28: 06a3 lsls r3, r4, #26 + 8004b2a: d502 bpl.n 8004b32 + 8004b2c: 4628 mov r0, r5 + 8004b2e: f009 fb99 bl 800e264 + 8004b32: 0660 lsls r0, r4, #25 + 8004b34: d502 bpl.n 8004b3c + 8004b36: 4628 mov r0, r5 + 8004b38: f009 fb76 bl 800e228 + 8004b3c: 0621 lsls r1, r4, #24 + 8004b3e: d506 bpl.n 8004b4e + 8004b40: f414 7180 ands.w r1, r4, #256 ; 0x100 + 8004b44: bf18 it ne + 8004b46: 2101 movne r1, #1 8004b48: 4628 mov r0, r5 - 8004b4a: f009 fb99 bl 800e280 - 8004b4e: b003 add sp, #12 - 8004b50: bd30 pop {r4, r5, pc} + 8004b4a: f009 fb73 bl 800e234 + 8004b4e: 05a2 lsls r2, r4, #22 + 8004b50: d502 bpl.n 8004b58 + 8004b52: 4628 mov r0, r5 + 8004b54: f009 fb7e bl 800e254 + 8004b58: 0463 lsls r3, r4, #17 + 8004b5a: d502 bpl.n 8004b62 + 8004b5c: 4628 mov r0, r5 + 8004b5e: f009 fb99 bl 800e294 + 8004b62: b003 add sp, #12 + 8004b64: bd30 pop {r4, r5, pc} -08004b52 : - 8004b52: b5f8 push {r3, r4, r5, r6, r7, lr} - 8004b54: 461e mov r6, r3 - 8004b56: 7983 ldrb r3, [r0, #6] - 8004b58: 2b01 cmp r3, #1 - 8004b5a: 4615 mov r5, r2 - 8004b5c: 4604 mov r4, r0 - 8004b5e: 460f mov r7, r1 - 8004b60: b2da uxtb r2, r3 - 8004b62: d127 bne.n 8004bb4 - 8004b64: 7943 ldrb r3, [r0, #5] - 8004b66: 2b01 cmp r3, #1 - 8004b68: d024 beq.n 8004bb4 - 8004b6a: 7142 strb r2, [r0, #5] - 8004b6c: f7ff feaa bl 80048c4 - 8004b70: 210e movs r1, #14 - 8004b72: 4620 mov r0, r4 - 8004b74: f7ff fda0 bl 80046b8 - 8004b78: f7ff fe16 bl 80047a8 - 8004b7c: 4639 mov r1, r7 - 8004b7e: 4620 mov r0, r4 - 8004b80: f7ff fe12 bl 80047a8 - 8004b84: 442e add r6, r5 - 8004b86: 42b5 cmp r5, r6 - 8004b88: d10e bne.n 8004ba8 - 8004b8a: 4620 mov r0, r4 - 8004b8c: f7ff fd8a bl 80046a4 - 8004b90: f7ff fe74 bl 800487c - 8004b94: 68a0 ldr r0, [r4, #8] - 8004b96: 2301 movs r3, #1 - 8004b98: 3800 subs r0, #0 - 8004b9a: 71a3 strb r3, [r4, #6] - 8004b9c: f04f 0300 mov.w r3, #0 - 8004ba0: bf18 it ne - 8004ba2: 2001 movne r0, #1 - 8004ba4: 7163 strb r3, [r4, #5] - 8004ba6: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8004ba8: f815 1b01 ldrb.w r1, [r5], #1 - 8004bac: 4620 mov r0, r4 - 8004bae: f7ff fdfb bl 80047a8 - 8004bb2: e7e8 b.n 8004b86 - 8004bb4: 2002 movs r0, #2 - 8004bb6: e7f6 b.n 8004ba6 +08004b66 : + 8004b66: b5f8 push {r3, r4, r5, r6, r7, lr} + 8004b68: 461e mov r6, r3 + 8004b6a: 7983 ldrb r3, [r0, #6] + 8004b6c: 2b01 cmp r3, #1 + 8004b6e: 4615 mov r5, r2 + 8004b70: 4604 mov r4, r0 + 8004b72: 460f mov r7, r1 + 8004b74: b2da uxtb r2, r3 + 8004b76: d127 bne.n 8004bc8 + 8004b78: 7943 ldrb r3, [r0, #5] + 8004b7a: 2b01 cmp r3, #1 + 8004b7c: d024 beq.n 8004bc8 + 8004b7e: 7142 strb r2, [r0, #5] + 8004b80: f7ff feaa bl 80048d8 + 8004b84: 210e movs r1, #14 + 8004b86: 4620 mov r0, r4 + 8004b88: f7ff fda0 bl 80046cc + 8004b8c: f7ff fe16 bl 80047bc + 8004b90: 4639 mov r1, r7 + 8004b92: 4620 mov r0, r4 + 8004b94: f7ff fe12 bl 80047bc + 8004b98: 442e add r6, r5 + 8004b9a: 42b5 cmp r5, r6 + 8004b9c: d10e bne.n 8004bbc + 8004b9e: 4620 mov r0, r4 + 8004ba0: f7ff fd8a bl 80046b8 + 8004ba4: f7ff fe74 bl 8004890 + 8004ba8: 68a0 ldr r0, [r4, #8] + 8004baa: 2301 movs r3, #1 + 8004bac: 3800 subs r0, #0 + 8004bae: 71a3 strb r3, [r4, #6] + 8004bb0: f04f 0300 mov.w r3, #0 + 8004bb4: bf18 it ne + 8004bb6: 2001 movne r0, #1 + 8004bb8: 7163 strb r3, [r4, #5] + 8004bba: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8004bbc: f815 1b01 ldrb.w r1, [r5], #1 + 8004bc0: 4620 mov r0, r4 + 8004bc2: f7ff fdfb bl 80047bc + 8004bc6: e7e8 b.n 8004b9a + 8004bc8: 2002 movs r0, #2 + 8004bca: e7f6 b.n 8004bba -08004bb8 : - 8004bb8: b5f8 push {r3, r4, r5, r6, r7, lr} - 8004bba: 461e mov r6, r3 - 8004bbc: 7983 ldrb r3, [r0, #6] - 8004bbe: 2b01 cmp r3, #1 - 8004bc0: 4615 mov r5, r2 - 8004bc2: 4604 mov r4, r0 - 8004bc4: 460f mov r7, r1 - 8004bc6: b2da uxtb r2, r3 - 8004bc8: d12b bne.n 8004c22 - 8004bca: 7943 ldrb r3, [r0, #5] - 8004bcc: 2b01 cmp r3, #1 - 8004bce: d028 beq.n 8004c22 - 8004bd0: 7142 strb r2, [r0, #5] - 8004bd2: f7ff fe77 bl 80048c4 - 8004bd6: 211e movs r1, #30 - 8004bd8: 4620 mov r0, r4 - 8004bda: f7ff fd6d bl 80046b8 - 8004bde: f7ff fde3 bl 80047a8 - 8004be2: 4639 mov r1, r7 - 8004be4: 4620 mov r0, r4 - 8004be6: f7ff fddf bl 80047a8 - 8004bea: 2100 movs r1, #0 +08004bcc : + 8004bcc: b5f8 push {r3, r4, r5, r6, r7, lr} + 8004bce: 461e mov r6, r3 + 8004bd0: 7983 ldrb r3, [r0, #6] + 8004bd2: 2b01 cmp r3, #1 + 8004bd4: 4615 mov r5, r2 + 8004bd6: 4604 mov r4, r0 + 8004bd8: 460f mov r7, r1 + 8004bda: b2da uxtb r2, r3 + 8004bdc: d12b bne.n 8004c36 + 8004bde: 7943 ldrb r3, [r0, #5] + 8004be0: 2b01 cmp r3, #1 + 8004be2: d028 beq.n 8004c36 + 8004be4: 7142 strb r2, [r0, #5] + 8004be6: f7ff fe77 bl 80048d8 + 8004bea: 211e movs r1, #30 8004bec: 4620 mov r0, r4 - 8004bee: f7ff fddb bl 80047a8 - 8004bf2: 442e add r6, r5 - 8004bf4: 42b5 cmp r5, r6 - 8004bf6: d10e bne.n 8004c16 + 8004bee: f7ff fd6d bl 80046cc + 8004bf2: f7ff fde3 bl 80047bc + 8004bf6: 4639 mov r1, r7 8004bf8: 4620 mov r0, r4 - 8004bfa: f7ff fd53 bl 80046a4 - 8004bfe: f7ff fe3d bl 800487c - 8004c02: 68a0 ldr r0, [r4, #8] - 8004c04: 2301 movs r3, #1 - 8004c06: 3800 subs r0, #0 - 8004c08: 71a3 strb r3, [r4, #6] - 8004c0a: f04f 0300 mov.w r3, #0 - 8004c0e: bf18 it ne - 8004c10: 2001 movne r0, #1 - 8004c12: 7163 strb r3, [r4, #5] - 8004c14: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8004c16: 4629 mov r1, r5 - 8004c18: 4620 mov r0, r4 - 8004c1a: f7ff fdf9 bl 8004810 - 8004c1e: 3501 adds r5, #1 - 8004c20: e7e8 b.n 8004bf4 - 8004c22: 2002 movs r0, #2 - 8004c24: e7f6 b.n 8004c14 + 8004bfa: f7ff fddf bl 80047bc + 8004bfe: 2100 movs r1, #0 + 8004c00: 4620 mov r0, r4 + 8004c02: f7ff fddb bl 80047bc + 8004c06: 442e add r6, r5 + 8004c08: 42b5 cmp r5, r6 + 8004c0a: d10e bne.n 8004c2a + 8004c0c: 4620 mov r0, r4 + 8004c0e: f7ff fd53 bl 80046b8 + 8004c12: f7ff fe3d bl 8004890 + 8004c16: 68a0 ldr r0, [r4, #8] + 8004c18: 2301 movs r3, #1 + 8004c1a: 3800 subs r0, #0 + 8004c1c: 71a3 strb r3, [r4, #6] + 8004c1e: f04f 0300 mov.w r3, #0 + 8004c22: bf18 it ne + 8004c24: 2001 movne r0, #1 + 8004c26: 7163 strb r3, [r4, #5] + 8004c28: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8004c2a: 4629 mov r1, r5 + 8004c2c: 4620 mov r0, r4 + 8004c2e: f7ff fdf9 bl 8004824 + 8004c32: 3501 adds r5, #1 + 8004c34: e7e8 b.n 8004c08 + 8004c36: 2002 movs r0, #2 + 8004c38: e7f6 b.n 8004c28 -08004c26 : - 8004c26: 6802 ldr r2, [r0, #0] - 8004c28: e852 3f00 ldrex r3, [r2] - 8004c2c: f023 03c0 bic.w r3, r3, #192 ; 0xc0 - 8004c30: e842 3100 strex r1, r3, [r2] - 8004c34: 6802 ldr r2, [r0, #0] - 8004c36: 2900 cmp r1, #0 - 8004c38: d1f5 bne.n 8004c26 - 8004c3a: f102 0308 add.w r3, r2, #8 - 8004c3e: e853 3f00 ldrex r3, [r3] - 8004c42: f423 0300 bic.w r3, r3, #8388608 ; 0x800000 - 8004c46: f102 0c08 add.w ip, r2, #8 - 8004c4a: e84c 3100 strex r1, r3, [ip] - 8004c4e: 2900 cmp r1, #0 - 8004c50: d1f3 bne.n 8004c3a - 8004c52: 2320 movs r3, #32 - 8004c54: f8c0 3088 str.w r3, [r0, #136] ; 0x88 - 8004c58: 4770 bx lr +08004c3a : + 8004c3a: 6802 ldr r2, [r0, #0] + 8004c3c: e852 3f00 ldrex r3, [r2] + 8004c40: f023 03c0 bic.w r3, r3, #192 ; 0xc0 + 8004c44: e842 3100 strex r1, r3, [r2] + 8004c48: 6802 ldr r2, [r0, #0] + 8004c4a: 2900 cmp r1, #0 + 8004c4c: d1f5 bne.n 8004c3a + 8004c4e: f102 0308 add.w r3, r2, #8 + 8004c52: e853 3f00 ldrex r3, [r3] + 8004c56: f423 0300 bic.w r3, r3, #8388608 ; 0x800000 + 8004c5a: f102 0c08 add.w ip, r2, #8 + 8004c5e: e84c 3100 strex r1, r3, [ip] + 8004c62: 2900 cmp r1, #0 + 8004c64: d1f3 bne.n 8004c4e + 8004c66: 2320 movs r3, #32 + 8004c68: f8c0 3088 str.w r3, [r0, #136] ; 0x88 + 8004c6c: 4770 bx lr ... -08004c5c : - 8004c5c: b510 push {r4, lr} - 8004c5e: 6802 ldr r2, [r0, #0] - 8004c60: e852 3f00 ldrex r3, [r2] - 8004c64: f423 7390 bic.w r3, r3, #288 ; 0x120 - 8004c68: e842 3100 strex r1, r3, [r2] - 8004c6c: 6802 ldr r2, [r0, #0] - 8004c6e: 2900 cmp r1, #0 - 8004c70: d1f5 bne.n 8004c5e - 8004c72: 4c0f ldr r4, [pc, #60] ; (8004cb0 ) - 8004c74: f102 0308 add.w r3, r2, #8 - 8004c78: e853 3f00 ldrex r3, [r3] - 8004c7c: 4023 ands r3, r4 - 8004c7e: f102 0c08 add.w ip, r2, #8 - 8004c82: e84c 3100 strex r1, r3, [ip] - 8004c86: 2900 cmp r1, #0 - 8004c88: d1f4 bne.n 8004c74 - 8004c8a: 6ec3 ldr r3, [r0, #108] ; 0x6c - 8004c8c: 2b01 cmp r3, #1 - 8004c8e: d107 bne.n 8004ca0 - 8004c90: e852 3f00 ldrex r3, [r2] - 8004c94: f023 0310 bic.w r3, r3, #16 - 8004c98: e842 3100 strex r1, r3, [r2] - 8004c9c: 2900 cmp r1, #0 - 8004c9e: d1f7 bne.n 8004c90 - 8004ca0: 2320 movs r3, #32 - 8004ca2: f8c0 308c str.w r3, [r0, #140] ; 0x8c - 8004ca6: 2300 movs r3, #0 - 8004ca8: 66c3 str r3, [r0, #108] ; 0x6c - 8004caa: 6743 str r3, [r0, #116] ; 0x74 - 8004cac: bd10 pop {r4, pc} - 8004cae: bf00 nop - 8004cb0: effffffe .word 0xeffffffe +08004c70 : + 8004c70: b510 push {r4, lr} + 8004c72: 6802 ldr r2, [r0, #0] + 8004c74: e852 3f00 ldrex r3, [r2] + 8004c78: f423 7390 bic.w r3, r3, #288 ; 0x120 + 8004c7c: e842 3100 strex r1, r3, [r2] + 8004c80: 6802 ldr r2, [r0, #0] + 8004c82: 2900 cmp r1, #0 + 8004c84: d1f5 bne.n 8004c72 + 8004c86: 4c0f ldr r4, [pc, #60] ; (8004cc4 ) + 8004c88: f102 0308 add.w r3, r2, #8 + 8004c8c: e853 3f00 ldrex r3, [r3] + 8004c90: 4023 ands r3, r4 + 8004c92: f102 0c08 add.w ip, r2, #8 + 8004c96: e84c 3100 strex r1, r3, [ip] + 8004c9a: 2900 cmp r1, #0 + 8004c9c: d1f4 bne.n 8004c88 + 8004c9e: 6ec3 ldr r3, [r0, #108] ; 0x6c + 8004ca0: 2b01 cmp r3, #1 + 8004ca2: d107 bne.n 8004cb4 + 8004ca4: e852 3f00 ldrex r3, [r2] + 8004ca8: f023 0310 bic.w r3, r3, #16 + 8004cac: e842 3100 strex r1, r3, [r2] + 8004cb0: 2900 cmp r1, #0 + 8004cb2: d1f7 bne.n 8004ca4 + 8004cb4: 2320 movs r3, #32 + 8004cb6: f8c0 308c str.w r3, [r0, #140] ; 0x8c + 8004cba: 2300 movs r3, #0 + 8004cbc: 66c3 str r3, [r0, #108] ; 0x6c + 8004cbe: 6743 str r3, [r0, #116] ; 0x74 + 8004cc0: bd10 pop {r4, pc} + 8004cc2: bf00 nop + 8004cc4: effffffe .word 0xeffffffe -08004cb4 : - 8004cb4: b538 push {r3, r4, r5, lr} - 8004cb6: 4605 mov r5, r0 - 8004cb8: b1c8 cbz r0, 8004cee - 8004cba: 2324 movs r3, #36 ; 0x24 - 8004cbc: f8c0 3088 str.w r3, [r0, #136] ; 0x88 - 8004cc0: 6803 ldr r3, [r0, #0] - 8004cc2: 681a ldr r2, [r3, #0] - 8004cc4: 2400 movs r4, #0 - 8004cc6: f022 0201 bic.w r2, r2, #1 - 8004cca: 601a str r2, [r3, #0] - 8004ccc: 601c str r4, [r3, #0] - 8004cce: 605c str r4, [r3, #4] - 8004cd0: 609c str r4, [r3, #8] - 8004cd2: f7fc ffbd bl 8001c50 - 8004cd6: f8c5 4090 str.w r4, [r5, #144] ; 0x90 - 8004cda: f885 4084 strb.w r4, [r5, #132] ; 0x84 - 8004cde: f8c5 4088 str.w r4, [r5, #136] ; 0x88 - 8004ce2: 4620 mov r0, r4 - 8004ce4: f8c5 408c str.w r4, [r5, #140] ; 0x8c - 8004ce8: 66ec str r4, [r5, #108] ; 0x6c - 8004cea: 672c str r4, [r5, #112] ; 0x70 - 8004cec: bd38 pop {r3, r4, r5, pc} - 8004cee: 2001 movs r0, #1 - 8004cf0: e7fc b.n 8004cec +08004cc8 : + 8004cc8: b538 push {r3, r4, r5, lr} + 8004cca: 4605 mov r5, r0 + 8004ccc: b1c8 cbz r0, 8004d02 + 8004cce: 2324 movs r3, #36 ; 0x24 + 8004cd0: f8c0 3088 str.w r3, [r0, #136] ; 0x88 + 8004cd4: 6803 ldr r3, [r0, #0] + 8004cd6: 681a ldr r2, [r3, #0] + 8004cd8: 2400 movs r4, #0 + 8004cda: f022 0201 bic.w r2, r2, #1 + 8004cde: 601a str r2, [r3, #0] + 8004ce0: 601c str r4, [r3, #0] + 8004ce2: 605c str r4, [r3, #4] + 8004ce4: 609c str r4, [r3, #8] + 8004ce6: f7fc ffb3 bl 8001c50 + 8004cea: f8c5 4090 str.w r4, [r5, #144] ; 0x90 + 8004cee: f885 4084 strb.w r4, [r5, #132] ; 0x84 + 8004cf2: f8c5 4088 str.w r4, [r5, #136] ; 0x88 + 8004cf6: 4620 mov r0, r4 + 8004cf8: f8c5 408c str.w r4, [r5, #140] ; 0x8c + 8004cfc: 66ec str r4, [r5, #108] ; 0x6c + 8004cfe: 672c str r4, [r5, #112] ; 0x70 + 8004d00: bd38 pop {r3, r4, r5, pc} + 8004d02: 2001 movs r0, #1 + 8004d04: e7fc b.n 8004d00 ... -08004cf4 : - 8004cf4: b5f8 push {r3, r4, r5, r6, r7, lr} - 8004cf6: 4604 mov r4, r0 - 8004cf8: 4613 mov r3, r2 - 8004cfa: f8d4 5088 ldr.w r5, [r4, #136] ; 0x88 - 8004cfe: 2d20 cmp r5, #32 - 8004d00: d132 bne.n 8004d68 - 8004d02: b1f1 cbz r1, 8004d42 - 8004d04: b1ea cbz r2, 8004d42 - 8004d06: 6fe0 ldr r0, [r4, #124] ; 0x7c - 8004d08: f8a4 2056 strh.w r2, [r4, #86] ; 0x56 - 8004d0c: f8a4 2054 strh.w r2, [r4, #84] ; 0x54 - 8004d10: 2600 movs r6, #0 - 8004d12: 2221 movs r2, #33 ; 0x21 - 8004d14: f8c4 6090 str.w r6, [r4, #144] ; 0x90 - 8004d18: 6521 str r1, [r4, #80] ; 0x50 - 8004d1a: f8c4 2088 str.w r2, [r4, #136] ; 0x88 - 8004d1e: 6822 ldr r2, [r4, #0] - 8004d20: b188 cbz r0, 8004d46 - 8004d22: 4f12 ldr r7, [pc, #72] ; (8004d6c ) - 8004d24: 62c7 str r7, [r0, #44] ; 0x2c - 8004d26: 4f12 ldr r7, [pc, #72] ; (8004d70 ) - 8004d28: 6307 str r7, [r0, #48] ; 0x30 - 8004d2a: 4f12 ldr r7, [pc, #72] ; (8004d74 ) - 8004d2c: 3228 adds r2, #40 ; 0x28 - 8004d2e: e9c0 760d strd r7, r6, [r0, #52] ; 0x34 - 8004d32: f7fe f93f bl 8002fb4 - 8004d36: b130 cbz r0, 8004d46 - 8004d38: 2310 movs r3, #16 - 8004d3a: f8c4 3090 str.w r3, [r4, #144] ; 0x90 - 8004d3e: f8c4 5088 str.w r5, [r4, #136] ; 0x88 - 8004d42: 2001 movs r0, #1 - 8004d44: e00f b.n 8004d66 - 8004d46: 6823 ldr r3, [r4, #0] - 8004d48: 2240 movs r2, #64 ; 0x40 - 8004d4a: 621a str r2, [r3, #32] - 8004d4c: 6822 ldr r2, [r4, #0] - 8004d4e: f102 0308 add.w r3, r2, #8 - 8004d52: e853 3f00 ldrex r3, [r3] - 8004d56: f043 0380 orr.w r3, r3, #128 ; 0x80 - 8004d5a: f102 0108 add.w r1, r2, #8 - 8004d5e: e841 3000 strex r0, r3, [r1] - 8004d62: 2800 cmp r0, #0 - 8004d64: d1f3 bne.n 8004d4e - 8004d66: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8004d68: 2002 movs r0, #2 - 8004d6a: e7fc b.n 8004d66 - 8004d6c: 08004d79 .word 0x08004d79 - 8004d70: 08004dc1 .word 0x08004dc1 - 8004d74: 08004dcd .word 0x08004dcd +08004d08 : + 8004d08: b5f8 push {r3, r4, r5, r6, r7, lr} + 8004d0a: 4604 mov r4, r0 + 8004d0c: 4613 mov r3, r2 + 8004d0e: f8d4 5088 ldr.w r5, [r4, #136] ; 0x88 + 8004d12: 2d20 cmp r5, #32 + 8004d14: d132 bne.n 8004d7c + 8004d16: b1f1 cbz r1, 8004d56 + 8004d18: b1ea cbz r2, 8004d56 + 8004d1a: 6fe0 ldr r0, [r4, #124] ; 0x7c + 8004d1c: f8a4 2056 strh.w r2, [r4, #86] ; 0x56 + 8004d20: f8a4 2054 strh.w r2, [r4, #84] ; 0x54 + 8004d24: 2600 movs r6, #0 + 8004d26: 2221 movs r2, #33 ; 0x21 + 8004d28: f8c4 6090 str.w r6, [r4, #144] ; 0x90 + 8004d2c: 6521 str r1, [r4, #80] ; 0x50 + 8004d2e: f8c4 2088 str.w r2, [r4, #136] ; 0x88 + 8004d32: 6822 ldr r2, [r4, #0] + 8004d34: b188 cbz r0, 8004d5a + 8004d36: 4f12 ldr r7, [pc, #72] ; (8004d80 ) + 8004d38: 62c7 str r7, [r0, #44] ; 0x2c + 8004d3a: 4f12 ldr r7, [pc, #72] ; (8004d84 ) + 8004d3c: 6307 str r7, [r0, #48] ; 0x30 + 8004d3e: 4f12 ldr r7, [pc, #72] ; (8004d88 ) + 8004d40: 3228 adds r2, #40 ; 0x28 + 8004d42: e9c0 760d strd r7, r6, [r0, #52] ; 0x34 + 8004d46: f7fe f93f bl 8002fc8 + 8004d4a: b130 cbz r0, 8004d5a + 8004d4c: 2310 movs r3, #16 + 8004d4e: f8c4 3090 str.w r3, [r4, #144] ; 0x90 + 8004d52: f8c4 5088 str.w r5, [r4, #136] ; 0x88 + 8004d56: 2001 movs r0, #1 + 8004d58: e00f b.n 8004d7a + 8004d5a: 6823 ldr r3, [r4, #0] + 8004d5c: 2240 movs r2, #64 ; 0x40 + 8004d5e: 621a str r2, [r3, #32] + 8004d60: 6822 ldr r2, [r4, #0] + 8004d62: f102 0308 add.w r3, r2, #8 + 8004d66: e853 3f00 ldrex r3, [r3] + 8004d6a: f043 0380 orr.w r3, r3, #128 ; 0x80 + 8004d6e: f102 0108 add.w r1, r2, #8 + 8004d72: e841 3000 strex r0, r3, [r1] + 8004d76: 2800 cmp r0, #0 + 8004d78: d1f3 bne.n 8004d62 + 8004d7a: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8004d7c: 2002 movs r0, #2 + 8004d7e: e7fc b.n 8004d7a + 8004d80: 08004d8d .word 0x08004d8d + 8004d84: 08004dd5 .word 0x08004dd5 + 8004d88: 08004de1 .word 0x08004de1 -08004d78 : - 8004d78: b508 push {r3, lr} - 8004d7a: 4603 mov r3, r0 - 8004d7c: 6a80 ldr r0, [r0, #40] ; 0x28 - 8004d7e: 681b ldr r3, [r3, #0] - 8004d80: 681b ldr r3, [r3, #0] - 8004d82: f013 0320 ands.w r3, r3, #32 - 8004d86: d117 bne.n 8004db8 - 8004d88: f8a0 3056 strh.w r3, [r0, #86] ; 0x56 - 8004d8c: 6802 ldr r2, [r0, #0] - 8004d8e: f102 0308 add.w r3, r2, #8 - 8004d92: e853 3f00 ldrex r3, [r3] - 8004d96: f023 0380 bic.w r3, r3, #128 ; 0x80 - 8004d9a: 3208 adds r2, #8 - 8004d9c: e842 3100 strex r1, r3, [r2] +08004d8c : + 8004d8c: b508 push {r3, lr} + 8004d8e: 4603 mov r3, r0 + 8004d90: 6a80 ldr r0, [r0, #40] ; 0x28 + 8004d92: 681b ldr r3, [r3, #0] + 8004d94: 681b ldr r3, [r3, #0] + 8004d96: f013 0320 ands.w r3, r3, #32 + 8004d9a: d117 bne.n 8004dcc + 8004d9c: f8a0 3056 strh.w r3, [r0, #86] ; 0x56 8004da0: 6802 ldr r2, [r0, #0] - 8004da2: 2900 cmp r1, #0 - 8004da4: d1f2 bne.n 8004d8c - 8004da6: e852 3f00 ldrex r3, [r2] - 8004daa: f043 0340 orr.w r3, r3, #64 ; 0x40 - 8004dae: e842 3100 strex r1, r3, [r2] - 8004db2: 2900 cmp r1, #0 - 8004db4: d1f7 bne.n 8004da6 - 8004db6: bd08 pop {r3, pc} - 8004db8: f7fc ffc4 bl 8001d44 - 8004dbc: e7fb b.n 8004db6 + 8004da2: f102 0308 add.w r3, r2, #8 + 8004da6: e853 3f00 ldrex r3, [r3] + 8004daa: f023 0380 bic.w r3, r3, #128 ; 0x80 + 8004dae: 3208 adds r2, #8 + 8004db0: e842 3100 strex r1, r3, [r2] + 8004db4: 6802 ldr r2, [r0, #0] + 8004db6: 2900 cmp r1, #0 + 8004db8: d1f2 bne.n 8004da0 + 8004dba: e852 3f00 ldrex r3, [r2] + 8004dbe: f043 0340 orr.w r3, r3, #64 ; 0x40 + 8004dc2: e842 3100 strex r1, r3, [r2] + 8004dc6: 2900 cmp r1, #0 + 8004dc8: d1f7 bne.n 8004dba + 8004dca: bd08 pop {r3, pc} + 8004dcc: f7fc ffba bl 8001d44 + 8004dd0: e7fb b.n 8004dca -08004dbe : - 8004dbe: 4770 bx lr +08004dd2 : + 8004dd2: 4770 bx lr -08004dc0 : - 8004dc0: b508 push {r3, lr} - 8004dc2: 6a80 ldr r0, [r0, #40] ; 0x28 - 8004dc4: f7ff fffb bl 8004dbe - 8004dc8: bd08 pop {r3, pc} +08004dd4 : + 8004dd4: b508 push {r3, lr} + 8004dd6: 6a80 ldr r0, [r0, #40] ; 0x28 + 8004dd8: f7ff fffb bl 8004dd2 + 8004ddc: bd08 pop {r3, pc} -08004dca : - 8004dca: 4770 bx lr +08004dde : + 8004dde: 4770 bx lr -08004dcc : - 8004dcc: 6a80 ldr r0, [r0, #40] ; 0x28 - 8004dce: b538 push {r3, r4, r5, lr} - 8004dd0: 6804 ldr r4, [r0, #0] - 8004dd2: f8d0 3088 ldr.w r3, [r0, #136] ; 0x88 - 8004dd6: f8d0 508c ldr.w r5, [r0, #140] ; 0x8c - 8004dda: 68a2 ldr r2, [r4, #8] - 8004ddc: 0612 lsls r2, r2, #24 - 8004dde: d506 bpl.n 8004dee - 8004de0: 2b21 cmp r3, #33 ; 0x21 - 8004de2: d104 bne.n 8004dee - 8004de4: 2300 movs r3, #0 - 8004de6: f8a0 3056 strh.w r3, [r0, #86] ; 0x56 - 8004dea: f7ff ff1c bl 8004c26 - 8004dee: 68a3 ldr r3, [r4, #8] - 8004df0: 065b lsls r3, r3, #25 - 8004df2: d506 bpl.n 8004e02 - 8004df4: 2d22 cmp r5, #34 ; 0x22 - 8004df6: d104 bne.n 8004e02 +08004de0 : + 8004de0: 6a80 ldr r0, [r0, #40] ; 0x28 + 8004de2: b538 push {r3, r4, r5, lr} + 8004de4: 6804 ldr r4, [r0, #0] + 8004de6: f8d0 3088 ldr.w r3, [r0, #136] ; 0x88 + 8004dea: f8d0 508c ldr.w r5, [r0, #140] ; 0x8c + 8004dee: 68a2 ldr r2, [r4, #8] + 8004df0: 0612 lsls r2, r2, #24 + 8004df2: d506 bpl.n 8004e02 + 8004df4: 2b21 cmp r3, #33 ; 0x21 + 8004df6: d104 bne.n 8004e02 8004df8: 2300 movs r3, #0 - 8004dfa: f8a0 305e strh.w r3, [r0, #94] ; 0x5e - 8004dfe: f7ff ff2d bl 8004c5c - 8004e02: f8d0 3090 ldr.w r3, [r0, #144] ; 0x90 - 8004e06: f043 0310 orr.w r3, r3, #16 - 8004e0a: f8c0 3090 str.w r3, [r0, #144] ; 0x90 - 8004e0e: f7ff ffdc bl 8004dca - 8004e12: bd38 pop {r3, r4, r5, pc} + 8004dfa: f8a0 3056 strh.w r3, [r0, #86] ; 0x56 + 8004dfe: f7ff ff1c bl 8004c3a + 8004e02: 68a3 ldr r3, [r4, #8] + 8004e04: 065b lsls r3, r3, #25 + 8004e06: d506 bpl.n 8004e16 + 8004e08: 2d22 cmp r5, #34 ; 0x22 + 8004e0a: d104 bne.n 8004e16 + 8004e0c: 2300 movs r3, #0 + 8004e0e: f8a0 305e strh.w r3, [r0, #94] ; 0x5e + 8004e12: f7ff ff2d bl 8004c70 + 8004e16: f8d0 3090 ldr.w r3, [r0, #144] ; 0x90 + 8004e1a: f043 0310 orr.w r3, r3, #16 + 8004e1e: f8c0 3090 str.w r3, [r0, #144] ; 0x90 + 8004e22: f7ff ffdc bl 8004dde + 8004e26: bd38 pop {r3, r4, r5, pc} -08004e14 : - 8004e14: b508 push {r3, lr} - 8004e16: 6a80 ldr r0, [r0, #40] ; 0x28 - 8004e18: 2300 movs r3, #0 - 8004e1a: f8a0 305e strh.w r3, [r0, #94] ; 0x5e - 8004e1e: f8a0 3056 strh.w r3, [r0, #86] ; 0x56 - 8004e22: f7ff ffd2 bl 8004dca - 8004e26: bd08 pop {r3, pc} +08004e28 : + 8004e28: b508 push {r3, lr} + 8004e2a: 6a80 ldr r0, [r0, #40] ; 0x28 + 8004e2c: 2300 movs r3, #0 + 8004e2e: f8a0 305e strh.w r3, [r0, #94] ; 0x5e + 8004e32: f8a0 3056 strh.w r3, [r0, #86] ; 0x56 + 8004e36: f7ff ffd2 bl 8004dde + 8004e3a: bd08 pop {r3, pc} -08004e28 : - 8004e28: 4770 bx lr +08004e3c : + 8004e3c: 4770 bx lr ... -08004e2c : - 8004e2c: 6803 ldr r3, [r0, #0] - 8004e2e: 69d9 ldr r1, [r3, #28] - 8004e30: 681a ldr r2, [r3, #0] - 8004e32: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8004e36: f640 060f movw r6, #2063 ; 0x80f - 8004e3a: 4231 tst r1, r6 - 8004e3c: 689d ldr r5, [r3, #8] - 8004e3e: 4604 mov r4, r0 - 8004e40: d110 bne.n 8004e64 - 8004e42: 068e lsls r6, r1, #26 - 8004e44: f140 8097 bpl.w 8004f76 - 8004e48: f002 0620 and.w r6, r2, #32 - 8004e4c: f005 5780 and.w r7, r5, #268435456 ; 0x10000000 - 8004e50: 433e orrs r6, r7 - 8004e52: f000 8090 beq.w 8004f76 - 8004e56: 6f43 ldr r3, [r0, #116] ; 0x74 - 8004e58: 2b00 cmp r3, #0 - 8004e5a: f000 8085 beq.w 8004f68 - 8004e5e: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 8004e62: 4718 bx r3 - 8004e64: 4eab ldr r6, [pc, #684] ; (8005114 ) - 8004e66: 48ac ldr r0, [pc, #688] ; (8005118 ) - 8004e68: 402e ands r6, r5 - 8004e6a: 4010 ands r0, r2 - 8004e6c: 4330 orrs r0, r6 - 8004e6e: f000 8082 beq.w 8004f76 - 8004e72: 07cf lsls r7, r1, #31 - 8004e74: d509 bpl.n 8004e8a - 8004e76: 05d0 lsls r0, r2, #23 - 8004e78: d507 bpl.n 8004e8a - 8004e7a: 2001 movs r0, #1 - 8004e7c: 6218 str r0, [r3, #32] - 8004e7e: f8d4 0090 ldr.w r0, [r4, #144] ; 0x90 - 8004e82: f040 0001 orr.w r0, r0, #1 - 8004e86: f8c4 0090 str.w r0, [r4, #144] ; 0x90 - 8004e8a: 078f lsls r7, r1, #30 - 8004e8c: d509 bpl.n 8004ea2 - 8004e8e: 07e8 lsls r0, r5, #31 - 8004e90: d507 bpl.n 8004ea2 - 8004e92: 2002 movs r0, #2 - 8004e94: 6218 str r0, [r3, #32] - 8004e96: f8d4 0090 ldr.w r0, [r4, #144] ; 0x90 - 8004e9a: f040 0004 orr.w r0, r0, #4 - 8004e9e: f8c4 0090 str.w r0, [r4, #144] ; 0x90 - 8004ea2: 074f lsls r7, r1, #29 - 8004ea4: d509 bpl.n 8004eba - 8004ea6: 07e8 lsls r0, r5, #31 - 8004ea8: d507 bpl.n 8004eba - 8004eaa: 2004 movs r0, #4 - 8004eac: 6218 str r0, [r3, #32] - 8004eae: f8d4 0090 ldr.w r0, [r4, #144] ; 0x90 - 8004eb2: f040 0002 orr.w r0, r0, #2 - 8004eb6: f8c4 0090 str.w r0, [r4, #144] ; 0x90 - 8004eba: 070f lsls r7, r1, #28 - 8004ebc: d50b bpl.n 8004ed6 - 8004ebe: f002 0020 and.w r0, r2, #32 - 8004ec2: 4330 orrs r0, r6 - 8004ec4: d007 beq.n 8004ed6 - 8004ec6: 2008 movs r0, #8 - 8004ec8: 6218 str r0, [r3, #32] - 8004eca: f8d4 0090 ldr.w r0, [r4, #144] ; 0x90 - 8004ece: f040 0008 orr.w r0, r0, #8 - 8004ed2: f8c4 0090 str.w r0, [r4, #144] ; 0x90 - 8004ed6: 050e lsls r6, r1, #20 - 8004ed8: d50a bpl.n 8004ef0 - 8004eda: 0150 lsls r0, r2, #5 - 8004edc: d508 bpl.n 8004ef0 - 8004ede: f44f 6000 mov.w r0, #2048 ; 0x800 - 8004ee2: 6218 str r0, [r3, #32] - 8004ee4: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 - 8004ee8: f043 0320 orr.w r3, r3, #32 - 8004eec: f8c4 3090 str.w r3, [r4, #144] ; 0x90 - 8004ef0: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 - 8004ef4: 2b00 cmp r3, #0 - 8004ef6: d037 beq.n 8004f68 - 8004ef8: 068b lsls r3, r1, #26 - 8004efa: d509 bpl.n 8004f10 - 8004efc: f002 0220 and.w r2, r2, #32 - 8004f00: f005 5580 and.w r5, r5, #268435456 ; 0x10000000 - 8004f04: 432a orrs r2, r5 - 8004f06: d003 beq.n 8004f10 - 8004f08: 6f63 ldr r3, [r4, #116] ; 0x74 - 8004f0a: b10b cbz r3, 8004f10 - 8004f0c: 4620 mov r0, r4 - 8004f0e: 4798 blx r3 - 8004f10: 6826 ldr r6, [r4, #0] - 8004f12: f8d4 2090 ldr.w r2, [r4, #144] ; 0x90 - 8004f16: 68b3 ldr r3, [r6, #8] - 8004f18: f002 0228 and.w r2, r2, #40 ; 0x28 - 8004f1c: f003 0340 and.w r3, r3, #64 ; 0x40 - 8004f20: ea53 0502 orrs.w r5, r3, r2 - 8004f24: 4620 mov r0, r4 - 8004f26: d021 beq.n 8004f6c - 8004f28: f7ff fe98 bl 8004c5c - 8004f2c: 68b3 ldr r3, [r6, #8] - 8004f2e: 065f lsls r7, r3, #25 - 8004f30: d517 bpl.n 8004f62 - 8004f32: 6822 ldr r2, [r4, #0] - 8004f34: f102 0308 add.w r3, r2, #8 - 8004f38: e853 3f00 ldrex r3, [r3] - 8004f3c: f023 0340 bic.w r3, r3, #64 ; 0x40 - 8004f40: 3208 adds r2, #8 - 8004f42: e842 3100 strex r1, r3, [r2] - 8004f46: 2900 cmp r1, #0 - 8004f48: d1f3 bne.n 8004f32 - 8004f4a: f8d4 0080 ldr.w r0, [r4, #128] ; 0x80 - 8004f4e: b140 cbz r0, 8004f62 - 8004f50: 4b72 ldr r3, [pc, #456] ; (800511c ) - 8004f52: 6383 str r3, [r0, #56] ; 0x38 - 8004f54: f7fe f8a7 bl 80030a6 - 8004f58: b130 cbz r0, 8004f68 - 8004f5a: f8d4 0080 ldr.w r0, [r4, #128] ; 0x80 - 8004f5e: 6b83 ldr r3, [r0, #56] ; 0x38 - 8004f60: e77d b.n 8004e5e - 8004f62: 4620 mov r0, r4 - 8004f64: f7ff ff31 bl 8004dca - 8004f68: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8004f6c: f7ff ff2d bl 8004dca - 8004f70: f8c4 5090 str.w r5, [r4, #144] ; 0x90 - 8004f74: e7f8 b.n 8004f68 - 8004f76: 6ee0 ldr r0, [r4, #108] ; 0x6c - 8004f78: 2801 cmp r0, #1 - 8004f7a: f040 8089 bne.w 8005090 - 8004f7e: 06ce lsls r6, r1, #27 - 8004f80: f140 8086 bpl.w 8005090 - 8004f84: 06d0 lsls r0, r2, #27 - 8004f86: f140 8083 bpl.w 8005090 - 8004f8a: 2210 movs r2, #16 - 8004f8c: 621a str r2, [r3, #32] - 8004f8e: 689a ldr r2, [r3, #8] - 8004f90: 0651 lsls r1, r2, #25 - 8004f92: d54b bpl.n 800502c - 8004f94: f8d4 2080 ldr.w r2, [r4, #128] ; 0x80 - 8004f98: 6811 ldr r1, [r2, #0] - 8004f9a: 684a ldr r2, [r1, #4] - 8004f9c: b292 uxth r2, r2 - 8004f9e: 2a00 cmp r2, #0 - 8004fa0: d0e2 beq.n 8004f68 - 8004fa2: f8b4 005c ldrh.w r0, [r4, #92] ; 0x5c - 8004fa6: 4290 cmp r0, r2 - 8004fa8: d9de bls.n 8004f68 - 8004faa: f8a4 205e strh.w r2, [r4, #94] ; 0x5e - 8004fae: 680a ldr r2, [r1, #0] - 8004fb0: 0692 lsls r2, r2, #26 - 8004fb2: d42f bmi.n 8005014 - 8004fb4: e853 2f00 ldrex r2, [r3] - 8004fb8: f422 7280 bic.w r2, r2, #256 ; 0x100 - 8004fbc: e843 2100 strex r1, r2, [r3] - 8004fc0: 2900 cmp r1, #0 - 8004fc2: d1f7 bne.n 8004fb4 - 8004fc4: f103 0208 add.w r2, r3, #8 - 8004fc8: e852 2f00 ldrex r2, [r2] - 8004fcc: f022 0201 bic.w r2, r2, #1 - 8004fd0: f103 0008 add.w r0, r3, #8 - 8004fd4: e840 2100 strex r1, r2, [r0] - 8004fd8: 2900 cmp r1, #0 - 8004fda: d1f3 bne.n 8004fc4 - 8004fdc: f103 0208 add.w r2, r3, #8 - 8004fe0: e852 2f00 ldrex r2, [r2] - 8004fe4: f022 0240 bic.w r2, r2, #64 ; 0x40 - 8004fe8: f103 0008 add.w r0, r3, #8 - 8004fec: e840 2100 strex r1, r2, [r0] - 8004ff0: 2900 cmp r1, #0 - 8004ff2: d1f3 bne.n 8004fdc - 8004ff4: 2220 movs r2, #32 - 8004ff6: f8c4 208c str.w r2, [r4, #140] ; 0x8c - 8004ffa: 66e1 str r1, [r4, #108] ; 0x6c - 8004ffc: e853 2f00 ldrex r2, [r3] - 8005000: f022 0210 bic.w r2, r2, #16 - 8005004: e843 2100 strex r1, r2, [r3] - 8005008: 2900 cmp r1, #0 - 800500a: d1f7 bne.n 8004ffc - 800500c: f8d4 0080 ldr.w r0, [r4, #128] ; 0x80 - 8005010: f7fe f814 bl 800303c - 8005014: 2302 movs r3, #2 - 8005016: 6723 str r3, [r4, #112] ; 0x70 - 8005018: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e - 800501c: f8b4 105c ldrh.w r1, [r4, #92] ; 0x5c - 8005020: 1ac9 subs r1, r1, r3 - 8005022: b289 uxth r1, r1 - 8005024: 4620 mov r0, r4 - 8005026: f7ff feff bl 8004e28 - 800502a: e79d b.n 8004f68 - 800502c: f8b4 205e ldrh.w r2, [r4, #94] ; 0x5e - 8005030: f8b4 005e ldrh.w r0, [r4, #94] ; 0x5e - 8005034: f8b4 105c ldrh.w r1, [r4, #92] ; 0x5c - 8005038: b280 uxth r0, r0 - 800503a: b292 uxth r2, r2 - 800503c: 2800 cmp r0, #0 - 800503e: d093 beq.n 8004f68 - 8005040: 1a89 subs r1, r1, r2 - 8005042: b289 uxth r1, r1 - 8005044: 2900 cmp r1, #0 - 8005046: d08f beq.n 8004f68 - 8005048: e853 2f00 ldrex r2, [r3] - 800504c: f422 7290 bic.w r2, r2, #288 ; 0x120 - 8005050: e843 2000 strex r0, r2, [r3] - 8005054: 2800 cmp r0, #0 - 8005056: d1f7 bne.n 8005048 - 8005058: 4d31 ldr r5, [pc, #196] ; (8005120 ) - 800505a: f103 0208 add.w r2, r3, #8 - 800505e: e852 2f00 ldrex r2, [r2] - 8005062: 402a ands r2, r5 - 8005064: f103 0608 add.w r6, r3, #8 - 8005068: e846 2000 strex r0, r2, [r6] - 800506c: 2800 cmp r0, #0 - 800506e: d1f4 bne.n 800505a - 8005070: 2220 movs r2, #32 - 8005072: f8c4 208c str.w r2, [r4, #140] ; 0x8c - 8005076: 6760 str r0, [r4, #116] ; 0x74 - 8005078: 66e0 str r0, [r4, #108] ; 0x6c - 800507a: e853 2f00 ldrex r2, [r3] - 800507e: f022 0210 bic.w r2, r2, #16 - 8005082: e843 2000 strex r0, r2, [r3] - 8005086: 2800 cmp r0, #0 - 8005088: d1f7 bne.n 800507a - 800508a: 2302 movs r3, #2 - 800508c: 6723 str r3, [r4, #112] ; 0x70 - 800508e: e7c9 b.n 8005024 - 8005090: 02cf lsls r7, r1, #11 - 8005092: d509 bpl.n 80050a8 - 8005094: 026e lsls r6, r5, #9 - 8005096: d507 bpl.n 80050a8 - 8005098: f44f 1280 mov.w r2, #1048576 ; 0x100000 - 800509c: 4620 mov r0, r4 - 800509e: 621a str r2, [r3, #32] - 80050a0: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 80050a4: f000 bda0 b.w 8005be8 - 80050a8: 0608 lsls r0, r1, #24 - 80050aa: d50b bpl.n 80050c4 - 80050ac: f002 0080 and.w r0, r2, #128 ; 0x80 - 80050b0: f405 0500 and.w r5, r5, #8388608 ; 0x800000 - 80050b4: 4328 orrs r0, r5 - 80050b6: d005 beq.n 80050c4 - 80050b8: 6fa3 ldr r3, [r4, #120] ; 0x78 - 80050ba: 2b00 cmp r3, #0 - 80050bc: f43f af54 beq.w 8004f68 - 80050c0: 4620 mov r0, r4 - 80050c2: e6cc b.n 8004e5e - 80050c4: 064f lsls r7, r1, #25 - 80050c6: d511 bpl.n 80050ec - 80050c8: 0656 lsls r6, r2, #25 - 80050ca: d50f bpl.n 80050ec - 80050cc: e853 2f00 ldrex r2, [r3] - 80050d0: f022 0240 bic.w r2, r2, #64 ; 0x40 - 80050d4: e843 2100 strex r1, r2, [r3] - 80050d8: 2900 cmp r1, #0 - 80050da: d1f7 bne.n 80050cc - 80050dc: 2320 movs r3, #32 - 80050de: f8c4 3088 str.w r3, [r4, #136] ; 0x88 - 80050e2: 67a1 str r1, [r4, #120] ; 0x78 - 80050e4: 4620 mov r0, r4 - 80050e6: f7fc fe2d bl 8001d44 - 80050ea: e73d b.n 8004f68 - 80050ec: 020d lsls r5, r1, #8 - 80050ee: d506 bpl.n 80050fe - 80050f0: 0050 lsls r0, r2, #1 - 80050f2: d504 bpl.n 80050fe - 80050f4: 4620 mov r0, r4 - 80050f6: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 80050fa: f000 bd77 b.w 8005bec - 80050fe: 01cb lsls r3, r1, #7 - 8005100: f57f af32 bpl.w 8004f68 - 8005104: 2a00 cmp r2, #0 - 8005106: f6bf af2f bge.w 8004f68 - 800510a: 4620 mov r0, r4 - 800510c: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 8005110: f000 bd6b b.w 8005bea - 8005114: 10000001 .word 0x10000001 - 8005118: 04000120 .word 0x04000120 - 800511c: 08004e15 .word 0x08004e15 - 8005120: effffffe .word 0xeffffffe +08004e40 : + 8004e40: 6803 ldr r3, [r0, #0] + 8004e42: 69d9 ldr r1, [r3, #28] + 8004e44: 681a ldr r2, [r3, #0] + 8004e46: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8004e4a: f640 060f movw r6, #2063 ; 0x80f + 8004e4e: 4231 tst r1, r6 + 8004e50: 689d ldr r5, [r3, #8] + 8004e52: 4604 mov r4, r0 + 8004e54: d110 bne.n 8004e78 + 8004e56: 068e lsls r6, r1, #26 + 8004e58: f140 8097 bpl.w 8004f8a + 8004e5c: f002 0620 and.w r6, r2, #32 + 8004e60: f005 5780 and.w r7, r5, #268435456 ; 0x10000000 + 8004e64: 433e orrs r6, r7 + 8004e66: f000 8090 beq.w 8004f8a + 8004e6a: 6f43 ldr r3, [r0, #116] ; 0x74 + 8004e6c: 2b00 cmp r3, #0 + 8004e6e: f000 8085 beq.w 8004f7c + 8004e72: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 8004e76: 4718 bx r3 + 8004e78: 4eab ldr r6, [pc, #684] ; (8005128 ) + 8004e7a: 48ac ldr r0, [pc, #688] ; (800512c ) + 8004e7c: 402e ands r6, r5 + 8004e7e: 4010 ands r0, r2 + 8004e80: 4330 orrs r0, r6 + 8004e82: f000 8082 beq.w 8004f8a + 8004e86: 07cf lsls r7, r1, #31 + 8004e88: d509 bpl.n 8004e9e + 8004e8a: 05d0 lsls r0, r2, #23 + 8004e8c: d507 bpl.n 8004e9e + 8004e8e: 2001 movs r0, #1 + 8004e90: 6218 str r0, [r3, #32] + 8004e92: f8d4 0090 ldr.w r0, [r4, #144] ; 0x90 + 8004e96: f040 0001 orr.w r0, r0, #1 + 8004e9a: f8c4 0090 str.w r0, [r4, #144] ; 0x90 + 8004e9e: 078f lsls r7, r1, #30 + 8004ea0: d509 bpl.n 8004eb6 + 8004ea2: 07e8 lsls r0, r5, #31 + 8004ea4: d507 bpl.n 8004eb6 + 8004ea6: 2002 movs r0, #2 + 8004ea8: 6218 str r0, [r3, #32] + 8004eaa: f8d4 0090 ldr.w r0, [r4, #144] ; 0x90 + 8004eae: f040 0004 orr.w r0, r0, #4 + 8004eb2: f8c4 0090 str.w r0, [r4, #144] ; 0x90 + 8004eb6: 074f lsls r7, r1, #29 + 8004eb8: d509 bpl.n 8004ece + 8004eba: 07e8 lsls r0, r5, #31 + 8004ebc: d507 bpl.n 8004ece + 8004ebe: 2004 movs r0, #4 + 8004ec0: 6218 str r0, [r3, #32] + 8004ec2: f8d4 0090 ldr.w r0, [r4, #144] ; 0x90 + 8004ec6: f040 0002 orr.w r0, r0, #2 + 8004eca: f8c4 0090 str.w r0, [r4, #144] ; 0x90 + 8004ece: 070f lsls r7, r1, #28 + 8004ed0: d50b bpl.n 8004eea + 8004ed2: f002 0020 and.w r0, r2, #32 + 8004ed6: 4330 orrs r0, r6 + 8004ed8: d007 beq.n 8004eea + 8004eda: 2008 movs r0, #8 + 8004edc: 6218 str r0, [r3, #32] + 8004ede: f8d4 0090 ldr.w r0, [r4, #144] ; 0x90 + 8004ee2: f040 0008 orr.w r0, r0, #8 + 8004ee6: f8c4 0090 str.w r0, [r4, #144] ; 0x90 + 8004eea: 050e lsls r6, r1, #20 + 8004eec: d50a bpl.n 8004f04 + 8004eee: 0150 lsls r0, r2, #5 + 8004ef0: d508 bpl.n 8004f04 + 8004ef2: f44f 6000 mov.w r0, #2048 ; 0x800 + 8004ef6: 6218 str r0, [r3, #32] + 8004ef8: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 + 8004efc: f043 0320 orr.w r3, r3, #32 + 8004f00: f8c4 3090 str.w r3, [r4, #144] ; 0x90 + 8004f04: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 + 8004f08: 2b00 cmp r3, #0 + 8004f0a: d037 beq.n 8004f7c + 8004f0c: 068b lsls r3, r1, #26 + 8004f0e: d509 bpl.n 8004f24 + 8004f10: f002 0220 and.w r2, r2, #32 + 8004f14: f005 5580 and.w r5, r5, #268435456 ; 0x10000000 + 8004f18: 432a orrs r2, r5 + 8004f1a: d003 beq.n 8004f24 + 8004f1c: 6f63 ldr r3, [r4, #116] ; 0x74 + 8004f1e: b10b cbz r3, 8004f24 + 8004f20: 4620 mov r0, r4 + 8004f22: 4798 blx r3 + 8004f24: 6826 ldr r6, [r4, #0] + 8004f26: f8d4 2090 ldr.w r2, [r4, #144] ; 0x90 + 8004f2a: 68b3 ldr r3, [r6, #8] + 8004f2c: f002 0228 and.w r2, r2, #40 ; 0x28 + 8004f30: f003 0340 and.w r3, r3, #64 ; 0x40 + 8004f34: ea53 0502 orrs.w r5, r3, r2 + 8004f38: 4620 mov r0, r4 + 8004f3a: d021 beq.n 8004f80 + 8004f3c: f7ff fe98 bl 8004c70 + 8004f40: 68b3 ldr r3, [r6, #8] + 8004f42: 065f lsls r7, r3, #25 + 8004f44: d517 bpl.n 8004f76 + 8004f46: 6822 ldr r2, [r4, #0] + 8004f48: f102 0308 add.w r3, r2, #8 + 8004f4c: e853 3f00 ldrex r3, [r3] + 8004f50: f023 0340 bic.w r3, r3, #64 ; 0x40 + 8004f54: 3208 adds r2, #8 + 8004f56: e842 3100 strex r1, r3, [r2] + 8004f5a: 2900 cmp r1, #0 + 8004f5c: d1f3 bne.n 8004f46 + 8004f5e: f8d4 0080 ldr.w r0, [r4, #128] ; 0x80 + 8004f62: b140 cbz r0, 8004f76 + 8004f64: 4b72 ldr r3, [pc, #456] ; (8005130 ) + 8004f66: 6383 str r3, [r0, #56] ; 0x38 + 8004f68: f7fe f8a7 bl 80030ba + 8004f6c: b130 cbz r0, 8004f7c + 8004f6e: f8d4 0080 ldr.w r0, [r4, #128] ; 0x80 + 8004f72: 6b83 ldr r3, [r0, #56] ; 0x38 + 8004f74: e77d b.n 8004e72 + 8004f76: 4620 mov r0, r4 + 8004f78: f7ff ff31 bl 8004dde + 8004f7c: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8004f80: f7ff ff2d bl 8004dde + 8004f84: f8c4 5090 str.w r5, [r4, #144] ; 0x90 + 8004f88: e7f8 b.n 8004f7c + 8004f8a: 6ee0 ldr r0, [r4, #108] ; 0x6c + 8004f8c: 2801 cmp r0, #1 + 8004f8e: f040 8089 bne.w 80050a4 + 8004f92: 06ce lsls r6, r1, #27 + 8004f94: f140 8086 bpl.w 80050a4 + 8004f98: 06d0 lsls r0, r2, #27 + 8004f9a: f140 8083 bpl.w 80050a4 + 8004f9e: 2210 movs r2, #16 + 8004fa0: 621a str r2, [r3, #32] + 8004fa2: 689a ldr r2, [r3, #8] + 8004fa4: 0651 lsls r1, r2, #25 + 8004fa6: d54b bpl.n 8005040 + 8004fa8: f8d4 2080 ldr.w r2, [r4, #128] ; 0x80 + 8004fac: 6811 ldr r1, [r2, #0] + 8004fae: 684a ldr r2, [r1, #4] + 8004fb0: b292 uxth r2, r2 + 8004fb2: 2a00 cmp r2, #0 + 8004fb4: d0e2 beq.n 8004f7c + 8004fb6: f8b4 005c ldrh.w r0, [r4, #92] ; 0x5c + 8004fba: 4290 cmp r0, r2 + 8004fbc: d9de bls.n 8004f7c + 8004fbe: f8a4 205e strh.w r2, [r4, #94] ; 0x5e + 8004fc2: 680a ldr r2, [r1, #0] + 8004fc4: 0692 lsls r2, r2, #26 + 8004fc6: d42f bmi.n 8005028 + 8004fc8: e853 2f00 ldrex r2, [r3] + 8004fcc: f422 7280 bic.w r2, r2, #256 ; 0x100 + 8004fd0: e843 2100 strex r1, r2, [r3] + 8004fd4: 2900 cmp r1, #0 + 8004fd6: d1f7 bne.n 8004fc8 + 8004fd8: f103 0208 add.w r2, r3, #8 + 8004fdc: e852 2f00 ldrex r2, [r2] + 8004fe0: f022 0201 bic.w r2, r2, #1 + 8004fe4: f103 0008 add.w r0, r3, #8 + 8004fe8: e840 2100 strex r1, r2, [r0] + 8004fec: 2900 cmp r1, #0 + 8004fee: d1f3 bne.n 8004fd8 + 8004ff0: f103 0208 add.w r2, r3, #8 + 8004ff4: e852 2f00 ldrex r2, [r2] + 8004ff8: f022 0240 bic.w r2, r2, #64 ; 0x40 + 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: 2220 movs r2, #32 + 800500a: f8c4 208c str.w r2, [r4, #140] ; 0x8c + 800500e: 66e1 str r1, [r4, #108] ; 0x6c + 8005010: e853 2f00 ldrex r2, [r3] + 8005014: f022 0210 bic.w r2, r2, #16 + 8005018: e843 2100 strex r1, r2, [r3] + 800501c: 2900 cmp r1, #0 + 800501e: d1f7 bne.n 8005010 + 8005020: f8d4 0080 ldr.w r0, [r4, #128] ; 0x80 + 8005024: f7fe f814 bl 8003050 + 8005028: 2302 movs r3, #2 + 800502a: 6723 str r3, [r4, #112] ; 0x70 + 800502c: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e + 8005030: f8b4 105c ldrh.w r1, [r4, #92] ; 0x5c + 8005034: 1ac9 subs r1, r1, r3 + 8005036: b289 uxth r1, r1 + 8005038: 4620 mov r0, r4 + 800503a: f7ff feff bl 8004e3c + 800503e: e79d b.n 8004f7c + 8005040: f8b4 205e ldrh.w r2, [r4, #94] ; 0x5e + 8005044: f8b4 005e ldrh.w r0, [r4, #94] ; 0x5e + 8005048: f8b4 105c ldrh.w r1, [r4, #92] ; 0x5c + 800504c: b280 uxth r0, r0 + 800504e: b292 uxth r2, r2 + 8005050: 2800 cmp r0, #0 + 8005052: d093 beq.n 8004f7c + 8005054: 1a89 subs r1, r1, r2 + 8005056: b289 uxth r1, r1 + 8005058: 2900 cmp r1, #0 + 800505a: d08f beq.n 8004f7c + 800505c: e853 2f00 ldrex r2, [r3] + 8005060: f422 7290 bic.w r2, r2, #288 ; 0x120 + 8005064: e843 2000 strex r0, r2, [r3] + 8005068: 2800 cmp r0, #0 + 800506a: d1f7 bne.n 800505c + 800506c: 4d31 ldr r5, [pc, #196] ; (8005134 ) + 800506e: f103 0208 add.w r2, r3, #8 + 8005072: e852 2f00 ldrex r2, [r2] + 8005076: 402a ands r2, r5 + 8005078: f103 0608 add.w r6, r3, #8 + 800507c: e846 2000 strex r0, r2, [r6] + 8005080: 2800 cmp r0, #0 + 8005082: d1f4 bne.n 800506e + 8005084: 2220 movs r2, #32 + 8005086: f8c4 208c str.w r2, [r4, #140] ; 0x8c + 800508a: 6760 str r0, [r4, #116] ; 0x74 + 800508c: 66e0 str r0, [r4, #108] ; 0x6c + 800508e: e853 2f00 ldrex r2, [r3] + 8005092: f022 0210 bic.w r2, r2, #16 + 8005096: e843 2000 strex r0, r2, [r3] + 800509a: 2800 cmp r0, #0 + 800509c: d1f7 bne.n 800508e + 800509e: 2302 movs r3, #2 + 80050a0: 6723 str r3, [r4, #112] ; 0x70 + 80050a2: e7c9 b.n 8005038 + 80050a4: 02cf lsls r7, r1, #11 + 80050a6: d509 bpl.n 80050bc + 80050a8: 026e lsls r6, r5, #9 + 80050aa: d507 bpl.n 80050bc + 80050ac: f44f 1280 mov.w r2, #1048576 ; 0x100000 + 80050b0: 4620 mov r0, r4 + 80050b2: 621a str r2, [r3, #32] + 80050b4: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 80050b8: f000 bda0 b.w 8005bfc + 80050bc: 0608 lsls r0, r1, #24 + 80050be: d50b bpl.n 80050d8 + 80050c0: f002 0080 and.w r0, r2, #128 ; 0x80 + 80050c4: f405 0500 and.w r5, r5, #8388608 ; 0x800000 + 80050c8: 4328 orrs r0, r5 + 80050ca: d005 beq.n 80050d8 + 80050cc: 6fa3 ldr r3, [r4, #120] ; 0x78 + 80050ce: 2b00 cmp r3, #0 + 80050d0: f43f af54 beq.w 8004f7c + 80050d4: 4620 mov r0, r4 + 80050d6: e6cc b.n 8004e72 + 80050d8: 064f lsls r7, r1, #25 + 80050da: d511 bpl.n 8005100 + 80050dc: 0656 lsls r6, r2, #25 + 80050de: d50f bpl.n 8005100 + 80050e0: e853 2f00 ldrex r2, [r3] + 80050e4: f022 0240 bic.w r2, r2, #64 ; 0x40 + 80050e8: e843 2100 strex r1, r2, [r3] + 80050ec: 2900 cmp r1, #0 + 80050ee: d1f7 bne.n 80050e0 + 80050f0: 2320 movs r3, #32 + 80050f2: f8c4 3088 str.w r3, [r4, #136] ; 0x88 + 80050f6: 67a1 str r1, [r4, #120] ; 0x78 + 80050f8: 4620 mov r0, r4 + 80050fa: f7fc fe23 bl 8001d44 + 80050fe: e73d b.n 8004f7c + 8005100: 020d lsls r5, r1, #8 + 8005102: d506 bpl.n 8005112 + 8005104: 0050 lsls r0, r2, #1 + 8005106: d504 bpl.n 8005112 + 8005108: 4620 mov r0, r4 + 800510a: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 800510e: f000 bd77 b.w 8005c00 + 8005112: 01cb lsls r3, r1, #7 + 8005114: f57f af32 bpl.w 8004f7c + 8005118: 2a00 cmp r2, #0 + 800511a: f6bf af2f bge.w 8004f7c + 800511e: 4620 mov r0, r4 + 8005120: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 8005124: f000 bd6b b.w 8005bfe + 8005128: 10000001 .word 0x10000001 + 800512c: 04000120 .word 0x04000120 + 8005130: 08004e29 .word 0x08004e29 + 8005134: effffffe .word 0xeffffffe -08005124 : - 8005124: f8d0 208c ldr.w r2, [r0, #140] ; 0x8c - 8005128: f8b0 1060 ldrh.w r1, [r0, #96] ; 0x60 - 800512c: 2a22 cmp r2, #34 ; 0x22 - 800512e: b508 push {r3, lr} - 8005130: 6803 ldr r3, [r0, #0] - 8005132: d155 bne.n 80051e0 - 8005134: 6a5b ldr r3, [r3, #36] ; 0x24 - 8005136: 6d82 ldr r2, [r0, #88] ; 0x58 - 8005138: 400b ands r3, r1 - 800513a: 7013 strb r3, [r2, #0] - 800513c: 6d83 ldr r3, [r0, #88] ; 0x58 - 800513e: 3301 adds r3, #1 - 8005140: 6583 str r3, [r0, #88] ; 0x58 - 8005142: f8b0 305e ldrh.w r3, [r0, #94] ; 0x5e - 8005146: 3b01 subs r3, #1 - 8005148: b29b uxth r3, r3 - 800514a: f8a0 305e strh.w r3, [r0, #94] ; 0x5e - 800514e: f8b0 305e ldrh.w r3, [r0, #94] ; 0x5e - 8005152: b29b uxth r3, r3 - 8005154: 2b00 cmp r3, #0 - 8005156: d142 bne.n 80051de - 8005158: 6802 ldr r2, [r0, #0] - 800515a: e852 3f00 ldrex r3, [r2] - 800515e: f423 7390 bic.w r3, r3, #288 ; 0x120 - 8005162: e842 3100 strex r1, r3, [r2] - 8005166: 6803 ldr r3, [r0, #0] - 8005168: 2900 cmp r1, #0 - 800516a: d1f5 bne.n 8005158 - 800516c: f103 0208 add.w r2, r3, #8 - 8005170: e852 2f00 ldrex r2, [r2] - 8005174: f022 0201 bic.w r2, r2, #1 - 8005178: f103 0c08 add.w ip, r3, #8 - 800517c: e84c 2100 strex r1, r2, [ip] - 8005180: 2900 cmp r1, #0 - 8005182: d1f3 bne.n 800516c - 8005184: 2220 movs r2, #32 - 8005186: f8c0 208c str.w r2, [r0, #140] ; 0x8c - 800518a: 4a18 ldr r2, [pc, #96] ; (80051ec ) - 800518c: 6741 str r1, [r0, #116] ; 0x74 - 800518e: 4293 cmp r3, r2 - 8005190: 6701 str r1, [r0, #112] ; 0x70 - 8005192: d105 bne.n 80051a0 - 8005194: 6ec2 ldr r2, [r0, #108] ; 0x6c - 8005196: 2a01 cmp r2, #1 - 8005198: d00e beq.n 80051b8 - 800519a: f7fc fde1 bl 8001d60 - 800519e: e01e b.n 80051de - 80051a0: 685a ldr r2, [r3, #4] - 80051a2: 0211 lsls r1, r2, #8 - 80051a4: d5f6 bpl.n 8005194 - 80051a6: e853 2f00 ldrex r2, [r3] - 80051aa: f022 6280 bic.w r2, r2, #67108864 ; 0x4000000 - 80051ae: e843 2100 strex r1, r2, [r3] - 80051b2: 2900 cmp r1, #0 - 80051b4: d1f7 bne.n 80051a6 - 80051b6: e7ed b.n 8005194 - 80051b8: 2200 movs r2, #0 - 80051ba: 66c2 str r2, [r0, #108] ; 0x6c - 80051bc: e853 2f00 ldrex r2, [r3] - 80051c0: f022 0210 bic.w r2, r2, #16 - 80051c4: e843 2100 strex r1, r2, [r3] - 80051c8: 2900 cmp r1, #0 - 80051ca: d1f7 bne.n 80051bc - 80051cc: 69da ldr r2, [r3, #28] - 80051ce: f8b0 105c ldrh.w r1, [r0, #92] ; 0x5c - 80051d2: 06d2 lsls r2, r2, #27 - 80051d4: bf44 itt mi - 80051d6: 2210 movmi r2, #16 - 80051d8: 621a strmi r2, [r3, #32] - 80051da: f7ff fe25 bl 8004e28 - 80051de: bd08 pop {r3, pc} - 80051e0: 699a ldr r2, [r3, #24] - 80051e2: f042 0208 orr.w r2, r2, #8 - 80051e6: 619a str r2, [r3, #24] - 80051e8: e7f9 b.n 80051de - 80051ea: bf00 nop - 80051ec: 40008000 .word 0x40008000 +08005138 : + 8005138: f8d0 208c ldr.w r2, [r0, #140] ; 0x8c + 800513c: f8b0 1060 ldrh.w r1, [r0, #96] ; 0x60 + 8005140: 2a22 cmp r2, #34 ; 0x22 + 8005142: b508 push {r3, lr} + 8005144: 6803 ldr r3, [r0, #0] + 8005146: d155 bne.n 80051f4 + 8005148: 6a5b ldr r3, [r3, #36] ; 0x24 + 800514a: 6d82 ldr r2, [r0, #88] ; 0x58 + 800514c: 400b ands r3, r1 + 800514e: 7013 strb r3, [r2, #0] + 8005150: 6d83 ldr r3, [r0, #88] ; 0x58 + 8005152: 3301 adds r3, #1 + 8005154: 6583 str r3, [r0, #88] ; 0x58 + 8005156: f8b0 305e ldrh.w r3, [r0, #94] ; 0x5e + 800515a: 3b01 subs r3, #1 + 800515c: b29b uxth r3, r3 + 800515e: f8a0 305e strh.w r3, [r0, #94] ; 0x5e + 8005162: f8b0 305e ldrh.w r3, [r0, #94] ; 0x5e + 8005166: b29b uxth r3, r3 + 8005168: 2b00 cmp r3, #0 + 800516a: d142 bne.n 80051f2 + 800516c: 6802 ldr r2, [r0, #0] + 800516e: e852 3f00 ldrex r3, [r2] + 8005172: f423 7390 bic.w r3, r3, #288 ; 0x120 + 8005176: e842 3100 strex r1, r3, [r2] + 800517a: 6803 ldr r3, [r0, #0] + 800517c: 2900 cmp r1, #0 + 800517e: d1f5 bne.n 800516c + 8005180: f103 0208 add.w r2, r3, #8 + 8005184: e852 2f00 ldrex r2, [r2] + 8005188: f022 0201 bic.w r2, r2, #1 + 800518c: f103 0c08 add.w ip, r3, #8 + 8005190: e84c 2100 strex r1, r2, [ip] + 8005194: 2900 cmp r1, #0 + 8005196: d1f3 bne.n 8005180 + 8005198: 2220 movs r2, #32 + 800519a: f8c0 208c str.w r2, [r0, #140] ; 0x8c + 800519e: 4a18 ldr r2, [pc, #96] ; (8005200 ) + 80051a0: 6741 str r1, [r0, #116] ; 0x74 + 80051a2: 4293 cmp r3, r2 + 80051a4: 6701 str r1, [r0, #112] ; 0x70 + 80051a6: d105 bne.n 80051b4 + 80051a8: 6ec2 ldr r2, [r0, #108] ; 0x6c + 80051aa: 2a01 cmp r2, #1 + 80051ac: d00e beq.n 80051cc + 80051ae: f7fc fdd7 bl 8001d60 + 80051b2: e01e b.n 80051f2 + 80051b4: 685a ldr r2, [r3, #4] + 80051b6: 0211 lsls r1, r2, #8 + 80051b8: d5f6 bpl.n 80051a8 + 80051ba: e853 2f00 ldrex r2, [r3] + 80051be: f022 6280 bic.w r2, r2, #67108864 ; 0x4000000 + 80051c2: e843 2100 strex r1, r2, [r3] + 80051c6: 2900 cmp r1, #0 + 80051c8: d1f7 bne.n 80051ba + 80051ca: e7ed b.n 80051a8 + 80051cc: 2200 movs r2, #0 + 80051ce: 66c2 str r2, [r0, #108] ; 0x6c + 80051d0: e853 2f00 ldrex r2, [r3] + 80051d4: f022 0210 bic.w r2, r2, #16 + 80051d8: e843 2100 strex r1, r2, [r3] + 80051dc: 2900 cmp r1, #0 + 80051de: d1f7 bne.n 80051d0 + 80051e0: 69da ldr r2, [r3, #28] + 80051e2: f8b0 105c ldrh.w r1, [r0, #92] ; 0x5c + 80051e6: 06d2 lsls r2, r2, #27 + 80051e8: bf44 itt mi + 80051ea: 2210 movmi r2, #16 + 80051ec: 621a strmi r2, [r3, #32] + 80051ee: f7ff fe25 bl 8004e3c + 80051f2: bd08 pop {r3, pc} + 80051f4: 699a ldr r2, [r3, #24] + 80051f6: f042 0208 orr.w r2, r2, #8 + 80051fa: 619a str r2, [r3, #24] + 80051fc: e7f9 b.n 80051f2 + 80051fe: bf00 nop + 8005200: 40008000 .word 0x40008000 -080051f0 : - 80051f0: f8d0 208c ldr.w r2, [r0, #140] ; 0x8c - 80051f4: f8b0 1060 ldrh.w r1, [r0, #96] ; 0x60 - 80051f8: 2a22 cmp r2, #34 ; 0x22 - 80051fa: b508 push {r3, lr} - 80051fc: 6803 ldr r3, [r0, #0] - 80051fe: d152 bne.n 80052a6 - 8005200: 6a5a ldr r2, [r3, #36] ; 0x24 - 8005202: 4011 ands r1, r2 - 8005204: 6d82 ldr r2, [r0, #88] ; 0x58 - 8005206: f822 1b02 strh.w r1, [r2], #2 - 800520a: 6582 str r2, [r0, #88] ; 0x58 - 800520c: f8b0 205e ldrh.w r2, [r0, #94] ; 0x5e - 8005210: 3a01 subs r2, #1 - 8005212: b292 uxth r2, r2 - 8005214: f8a0 205e strh.w r2, [r0, #94] ; 0x5e - 8005218: f8b0 205e ldrh.w r2, [r0, #94] ; 0x5e - 800521c: b292 uxth r2, r2 - 800521e: 2a00 cmp r2, #0 - 8005220: d140 bne.n 80052a4 - 8005222: e853 2f00 ldrex r2, [r3] - 8005226: f422 7290 bic.w r2, r2, #288 ; 0x120 - 800522a: e843 2100 strex r1, r2, [r3] - 800522e: 2900 cmp r1, #0 - 8005230: d1f7 bne.n 8005222 - 8005232: f103 0208 add.w r2, r3, #8 - 8005236: e852 2f00 ldrex r2, [r2] - 800523a: f022 0201 bic.w r2, r2, #1 - 800523e: f103 0c08 add.w ip, r3, #8 - 8005242: e84c 2100 strex r1, r2, [ip] - 8005246: 2900 cmp r1, #0 - 8005248: d1f3 bne.n 8005232 - 800524a: 2220 movs r2, #32 - 800524c: f8c0 208c str.w r2, [r0, #140] ; 0x8c - 8005250: 4a17 ldr r2, [pc, #92] ; (80052b0 ) - 8005252: 6741 str r1, [r0, #116] ; 0x74 - 8005254: 4293 cmp r3, r2 - 8005256: 6701 str r1, [r0, #112] ; 0x70 - 8005258: d105 bne.n 8005266 - 800525a: 6ec2 ldr r2, [r0, #108] ; 0x6c - 800525c: 2a01 cmp r2, #1 - 800525e: d00e beq.n 800527e - 8005260: f7fc fd7e bl 8001d60 - 8005264: e01e b.n 80052a4 - 8005266: 685a ldr r2, [r3, #4] - 8005268: 0211 lsls r1, r2, #8 - 800526a: d5f6 bpl.n 800525a - 800526c: e853 2f00 ldrex r2, [r3] - 8005270: f022 6280 bic.w r2, r2, #67108864 ; 0x4000000 - 8005274: e843 2100 strex r1, r2, [r3] - 8005278: 2900 cmp r1, #0 - 800527a: d1f7 bne.n 800526c - 800527c: e7ed b.n 800525a - 800527e: 2200 movs r2, #0 - 8005280: 66c2 str r2, [r0, #108] ; 0x6c - 8005282: e853 2f00 ldrex r2, [r3] - 8005286: f022 0210 bic.w r2, r2, #16 - 800528a: e843 2100 strex r1, r2, [r3] - 800528e: 2900 cmp r1, #0 - 8005290: d1f7 bne.n 8005282 - 8005292: 69da ldr r2, [r3, #28] - 8005294: f8b0 105c ldrh.w r1, [r0, #92] ; 0x5c - 8005298: 06d2 lsls r2, r2, #27 - 800529a: bf44 itt mi - 800529c: 2210 movmi r2, #16 - 800529e: 621a strmi r2, [r3, #32] - 80052a0: f7ff fdc2 bl 8004e28 - 80052a4: bd08 pop {r3, pc} - 80052a6: 699a ldr r2, [r3, #24] - 80052a8: f042 0208 orr.w r2, r2, #8 - 80052ac: 619a str r2, [r3, #24] - 80052ae: e7f9 b.n 80052a4 - 80052b0: 40008000 .word 0x40008000 +08005204 : + 8005204: f8d0 208c ldr.w r2, [r0, #140] ; 0x8c + 8005208: f8b0 1060 ldrh.w r1, [r0, #96] ; 0x60 + 800520c: 2a22 cmp r2, #34 ; 0x22 + 800520e: b508 push {r3, lr} + 8005210: 6803 ldr r3, [r0, #0] + 8005212: d152 bne.n 80052ba + 8005214: 6a5a ldr r2, [r3, #36] ; 0x24 + 8005216: 4011 ands r1, r2 + 8005218: 6d82 ldr r2, [r0, #88] ; 0x58 + 800521a: f822 1b02 strh.w r1, [r2], #2 + 800521e: 6582 str r2, [r0, #88] ; 0x58 + 8005220: f8b0 205e ldrh.w r2, [r0, #94] ; 0x5e + 8005224: 3a01 subs r2, #1 + 8005226: b292 uxth r2, r2 + 8005228: f8a0 205e strh.w r2, [r0, #94] ; 0x5e + 800522c: f8b0 205e ldrh.w r2, [r0, #94] ; 0x5e + 8005230: b292 uxth r2, r2 + 8005232: 2a00 cmp r2, #0 + 8005234: d140 bne.n 80052b8 + 8005236: e853 2f00 ldrex r2, [r3] + 800523a: f422 7290 bic.w r2, r2, #288 ; 0x120 + 800523e: e843 2100 strex r1, r2, [r3] + 8005242: 2900 cmp r1, #0 + 8005244: d1f7 bne.n 8005236 + 8005246: f103 0208 add.w r2, r3, #8 + 800524a: e852 2f00 ldrex r2, [r2] + 800524e: f022 0201 bic.w r2, r2, #1 + 8005252: f103 0c08 add.w ip, r3, #8 + 8005256: e84c 2100 strex r1, r2, [ip] + 800525a: 2900 cmp r1, #0 + 800525c: d1f3 bne.n 8005246 + 800525e: 2220 movs r2, #32 + 8005260: f8c0 208c str.w r2, [r0, #140] ; 0x8c + 8005264: 4a17 ldr r2, [pc, #92] ; (80052c4 ) + 8005266: 6741 str r1, [r0, #116] ; 0x74 + 8005268: 4293 cmp r3, r2 + 800526a: 6701 str r1, [r0, #112] ; 0x70 + 800526c: d105 bne.n 800527a + 800526e: 6ec2 ldr r2, [r0, #108] ; 0x6c + 8005270: 2a01 cmp r2, #1 + 8005272: d00e beq.n 8005292 + 8005274: f7fc fd74 bl 8001d60 + 8005278: e01e b.n 80052b8 + 800527a: 685a ldr r2, [r3, #4] + 800527c: 0211 lsls r1, r2, #8 + 800527e: d5f6 bpl.n 800526e + 8005280: e853 2f00 ldrex r2, [r3] + 8005284: f022 6280 bic.w r2, r2, #67108864 ; 0x4000000 + 8005288: e843 2100 strex r1, r2, [r3] + 800528c: 2900 cmp r1, #0 + 800528e: d1f7 bne.n 8005280 + 8005290: e7ed b.n 800526e + 8005292: 2200 movs r2, #0 + 8005294: 66c2 str r2, [r0, #108] ; 0x6c + 8005296: e853 2f00 ldrex r2, [r3] + 800529a: f022 0210 bic.w r2, r2, #16 + 800529e: e843 2100 strex r1, r2, [r3] + 80052a2: 2900 cmp r1, #0 + 80052a4: d1f7 bne.n 8005296 + 80052a6: 69da ldr r2, [r3, #28] + 80052a8: f8b0 105c ldrh.w r1, [r0, #92] ; 0x5c + 80052ac: 06d2 lsls r2, r2, #27 + 80052ae: bf44 itt mi + 80052b0: 2210 movmi r2, #16 + 80052b2: 621a strmi r2, [r3, #32] + 80052b4: f7ff fdc2 bl 8004e3c + 80052b8: bd08 pop {r3, pc} + 80052ba: 699a ldr r2, [r3, #24] + 80052bc: f042 0208 orr.w r2, r2, #8 + 80052c0: 619a str r2, [r3, #24] + 80052c2: e7f9 b.n 80052b8 + 80052c4: 40008000 .word 0x40008000 -080052b4 : - 80052b4: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 80052b8: 6803 ldr r3, [r0, #0] - 80052ba: f8b0 8060 ldrh.w r8, [r0, #96] ; 0x60 - 80052be: 69df ldr r7, [r3, #28] - 80052c0: 681a ldr r2, [r3, #0] - 80052c2: 689d ldr r5, [r3, #8] - 80052c4: f8d0 108c ldr.w r1, [r0, #140] ; 0x8c - 80052c8: 9201 str r2, [sp, #4] - 80052ca: 2922 cmp r1, #34 ; 0x22 - 80052cc: 4604 mov r4, r0 - 80052ce: f040 80b4 bne.w 800543a - 80052d2: f8b0 9068 ldrh.w r9, [r0, #104] ; 0x68 - 80052d6: f8df a16c ldr.w sl, [pc, #364] ; 8005444 - 80052da: f8df b16c ldr.w fp, [pc, #364] ; 8005448 - 80052de: 2600 movs r6, #0 - 80052e0: f1b9 0f00 cmp.w r9, #0 - 80052e4: d001 beq.n 80052ea - 80052e6: 06bb lsls r3, r7, #26 - 80052e8: d421 bmi.n 800532e - 80052ea: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e - 80052ee: b29b uxth r3, r3 - 80052f0: b1d3 cbz r3, 8005328 - 80052f2: f8b4 2068 ldrh.w r2, [r4, #104] ; 0x68 - 80052f6: 429a cmp r2, r3 - 80052f8: d916 bls.n 8005328 - 80052fa: 6822 ldr r2, [r4, #0] - 80052fc: f102 0308 add.w r3, r2, #8 - 8005300: e853 3f00 ldrex r3, [r3] - 8005304: f023 5380 bic.w r3, r3, #268435456 ; 0x10000000 - 8005308: 3208 adds r2, #8 - 800530a: e842 3100 strex r1, r3, [r2] +080052c8 : + 80052c8: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 80052cc: 6803 ldr r3, [r0, #0] + 80052ce: f8b0 8060 ldrh.w r8, [r0, #96] ; 0x60 + 80052d2: 69df ldr r7, [r3, #28] + 80052d4: 681a ldr r2, [r3, #0] + 80052d6: 689d ldr r5, [r3, #8] + 80052d8: f8d0 108c ldr.w r1, [r0, #140] ; 0x8c + 80052dc: 9201 str r2, [sp, #4] + 80052de: 2922 cmp r1, #34 ; 0x22 + 80052e0: 4604 mov r4, r0 + 80052e2: f040 80b4 bne.w 800544e + 80052e6: f8b0 9068 ldrh.w r9, [r0, #104] ; 0x68 + 80052ea: f8df a16c ldr.w sl, [pc, #364] ; 8005458 + 80052ee: f8df b16c ldr.w fp, [pc, #364] ; 800545c + 80052f2: 2600 movs r6, #0 + 80052f4: f1b9 0f00 cmp.w r9, #0 + 80052f8: d001 beq.n 80052fe + 80052fa: 06bb lsls r3, r7, #26 + 80052fc: d421 bmi.n 8005342 + 80052fe: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e + 8005302: b29b uxth r3, r3 + 8005304: b1d3 cbz r3, 800533c + 8005306: f8b4 2068 ldrh.w r2, [r4, #104] ; 0x68 + 800530a: 429a cmp r2, r3 + 800530c: d916 bls.n 800533c 800530e: 6822 ldr r2, [r4, #0] - 8005310: 2900 cmp r1, #0 - 8005312: d1f2 bne.n 80052fa - 8005314: 4b4d ldr r3, [pc, #308] ; (800544c ) - 8005316: 6763 str r3, [r4, #116] ; 0x74 - 8005318: e852 3f00 ldrex r3, [r2] - 800531c: f043 0320 orr.w r3, r3, #32 - 8005320: e842 3100 strex r1, r3, [r2] + 8005310: f102 0308 add.w r3, r2, #8 + 8005314: e853 3f00 ldrex r3, [r3] + 8005318: f023 5380 bic.w r3, r3, #268435456 ; 0x10000000 + 800531c: 3208 adds r2, #8 + 800531e: e842 3100 strex r1, r3, [r2] + 8005322: 6822 ldr r2, [r4, #0] 8005324: 2900 cmp r1, #0 - 8005326: d1f7 bne.n 8005318 - 8005328: b003 add sp, #12 - 800532a: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800532e: 6823 ldr r3, [r4, #0] - 8005330: 6da2 ldr r2, [r4, #88] ; 0x58 - 8005332: 6a5b ldr r3, [r3, #36] ; 0x24 - 8005334: ea03 0308 and.w r3, r3, r8 - 8005338: 7013 strb r3, [r2, #0] - 800533a: 6da3 ldr r3, [r4, #88] ; 0x58 - 800533c: 3301 adds r3, #1 - 800533e: 65a3 str r3, [r4, #88] ; 0x58 - 8005340: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e - 8005344: 3b01 subs r3, #1 - 8005346: b29b uxth r3, r3 - 8005348: f8a4 305e strh.w r3, [r4, #94] ; 0x5e - 800534c: 6823 ldr r3, [r4, #0] - 800534e: 69df ldr r7, [r3, #28] - 8005350: 0778 lsls r0, r7, #29 - 8005352: d02c beq.n 80053ae - 8005354: 07f9 lsls r1, r7, #31 - 8005356: d50a bpl.n 800536e - 8005358: 9a01 ldr r2, [sp, #4] - 800535a: 05d2 lsls r2, r2, #23 - 800535c: d507 bpl.n 800536e - 800535e: 2101 movs r1, #1 - 8005360: 6219 str r1, [r3, #32] - 8005362: f8d4 1090 ldr.w r1, [r4, #144] ; 0x90 - 8005366: f041 0101 orr.w r1, r1, #1 - 800536a: f8c4 1090 str.w r1, [r4, #144] ; 0x90 - 800536e: 07b8 lsls r0, r7, #30 - 8005370: d509 bpl.n 8005386 - 8005372: 07e9 lsls r1, r5, #31 - 8005374: d507 bpl.n 8005386 - 8005376: 2102 movs r1, #2 - 8005378: 6219 str r1, [r3, #32] - 800537a: f8d4 1090 ldr.w r1, [r4, #144] ; 0x90 - 800537e: f041 0104 orr.w r1, r1, #4 - 8005382: f8c4 1090 str.w r1, [r4, #144] ; 0x90 - 8005386: 077a lsls r2, r7, #29 - 8005388: d509 bpl.n 800539e - 800538a: 07e8 lsls r0, r5, #31 - 800538c: d507 bpl.n 800539e - 800538e: 2104 movs r1, #4 - 8005390: 6219 str r1, [r3, #32] - 8005392: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 - 8005396: f043 0302 orr.w r3, r3, #2 - 800539a: f8c4 3090 str.w r3, [r4, #144] ; 0x90 - 800539e: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 - 80053a2: b123 cbz r3, 80053ae - 80053a4: 4620 mov r0, r4 - 80053a6: f7ff fd10 bl 8004dca - 80053aa: f8c4 6090 str.w r6, [r4, #144] ; 0x90 - 80053ae: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e - 80053b2: b29b uxth r3, r3 - 80053b4: 2b00 cmp r3, #0 - 80053b6: d193 bne.n 80052e0 - 80053b8: 6821 ldr r1, [r4, #0] - 80053ba: e851 3f00 ldrex r3, [r1] - 80053be: f423 7380 bic.w r3, r3, #256 ; 0x100 - 80053c2: e841 3000 strex r0, r3, [r1] - 80053c6: 6823 ldr r3, [r4, #0] - 80053c8: 2800 cmp r0, #0 - 80053ca: d1f5 bne.n 80053b8 - 80053cc: f103 0208 add.w r2, r3, #8 - 80053d0: e852 1f00 ldrex r1, [r2] - 80053d4: ea01 010a and.w r1, r1, sl - 80053d8: e842 1000 strex r0, r1, [r2] + 8005326: d1f2 bne.n 800530e + 8005328: 4b4d ldr r3, [pc, #308] ; (8005460 ) + 800532a: 6763 str r3, [r4, #116] ; 0x74 + 800532c: e852 3f00 ldrex r3, [r2] + 8005330: f043 0320 orr.w r3, r3, #32 + 8005334: e842 3100 strex r1, r3, [r2] + 8005338: 2900 cmp r1, #0 + 800533a: d1f7 bne.n 800532c + 800533c: b003 add sp, #12 + 800533e: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8005342: 6823 ldr r3, [r4, #0] + 8005344: 6da2 ldr r2, [r4, #88] ; 0x58 + 8005346: 6a5b ldr r3, [r3, #36] ; 0x24 + 8005348: ea03 0308 and.w r3, r3, r8 + 800534c: 7013 strb r3, [r2, #0] + 800534e: 6da3 ldr r3, [r4, #88] ; 0x58 + 8005350: 3301 adds r3, #1 + 8005352: 65a3 str r3, [r4, #88] ; 0x58 + 8005354: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e + 8005358: 3b01 subs r3, #1 + 800535a: b29b uxth r3, r3 + 800535c: f8a4 305e strh.w r3, [r4, #94] ; 0x5e + 8005360: 6823 ldr r3, [r4, #0] + 8005362: 69df ldr r7, [r3, #28] + 8005364: 0778 lsls r0, r7, #29 + 8005366: d02c beq.n 80053c2 + 8005368: 07f9 lsls r1, r7, #31 + 800536a: d50a bpl.n 8005382 + 800536c: 9a01 ldr r2, [sp, #4] + 800536e: 05d2 lsls r2, r2, #23 + 8005370: d507 bpl.n 8005382 + 8005372: 2101 movs r1, #1 + 8005374: 6219 str r1, [r3, #32] + 8005376: f8d4 1090 ldr.w r1, [r4, #144] ; 0x90 + 800537a: f041 0101 orr.w r1, r1, #1 + 800537e: f8c4 1090 str.w r1, [r4, #144] ; 0x90 + 8005382: 07b8 lsls r0, r7, #30 + 8005384: d509 bpl.n 800539a + 8005386: 07e9 lsls r1, r5, #31 + 8005388: d507 bpl.n 800539a + 800538a: 2102 movs r1, #2 + 800538c: 6219 str r1, [r3, #32] + 800538e: f8d4 1090 ldr.w r1, [r4, #144] ; 0x90 + 8005392: f041 0104 orr.w r1, r1, #4 + 8005396: f8c4 1090 str.w r1, [r4, #144] ; 0x90 + 800539a: 077a lsls r2, r7, #29 + 800539c: d509 bpl.n 80053b2 + 800539e: 07e8 lsls r0, r5, #31 + 80053a0: d507 bpl.n 80053b2 + 80053a2: 2104 movs r1, #4 + 80053a4: 6219 str r1, [r3, #32] + 80053a6: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 + 80053aa: f043 0302 orr.w r3, r3, #2 + 80053ae: f8c4 3090 str.w r3, [r4, #144] ; 0x90 + 80053b2: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 + 80053b6: b123 cbz r3, 80053c2 + 80053b8: 4620 mov r0, r4 + 80053ba: f7ff fd10 bl 8004dde + 80053be: f8c4 6090 str.w r6, [r4, #144] ; 0x90 + 80053c2: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e + 80053c6: b29b uxth r3, r3 + 80053c8: 2b00 cmp r3, #0 + 80053ca: d193 bne.n 80052f4 + 80053cc: 6821 ldr r1, [r4, #0] + 80053ce: e851 3f00 ldrex r3, [r1] + 80053d2: f423 7380 bic.w r3, r3, #256 ; 0x100 + 80053d6: e841 3000 strex r0, r3, [r1] + 80053da: 6823 ldr r3, [r4, #0] 80053dc: 2800 cmp r0, #0 - 80053de: d1f5 bne.n 80053cc - 80053e0: 2120 movs r1, #32 - 80053e2: 455b cmp r3, fp - 80053e4: f8c4 108c str.w r1, [r4, #140] ; 0x8c - 80053e8: 6760 str r0, [r4, #116] ; 0x74 - 80053ea: 6720 str r0, [r4, #112] ; 0x70 - 80053ec: d00a beq.n 8005404 - 80053ee: 6859 ldr r1, [r3, #4] - 80053f0: 0209 lsls r1, r1, #8 - 80053f2: d507 bpl.n 8005404 - 80053f4: e853 1f00 ldrex r1, [r3] - 80053f8: f021 6180 bic.w r1, r1, #67108864 ; 0x4000000 - 80053fc: e843 1000 strex r0, r1, [r3] - 8005400: 2800 cmp r0, #0 - 8005402: d1f7 bne.n 80053f4 - 8005404: 6ee1 ldr r1, [r4, #108] ; 0x6c - 8005406: 2901 cmp r1, #1 - 8005408: d113 bne.n 8005432 - 800540a: 66e6 str r6, [r4, #108] ; 0x6c - 800540c: e853 1f00 ldrex r1, [r3] - 8005410: f021 0110 bic.w r1, r1, #16 - 8005414: e843 1000 strex r0, r1, [r3] - 8005418: 2800 cmp r0, #0 - 800541a: d1f7 bne.n 800540c - 800541c: 69d9 ldr r1, [r3, #28] - 800541e: 06ca lsls r2, r1, #27 - 8005420: bf44 itt mi - 8005422: 2110 movmi r1, #16 - 8005424: 6219 strmi r1, [r3, #32] - 8005426: 4620 mov r0, r4 - 8005428: f8b4 105c ldrh.w r1, [r4, #92] ; 0x5c - 800542c: f7ff fcfc bl 8004e28 - 8005430: e756 b.n 80052e0 - 8005432: 4620 mov r0, r4 - 8005434: f7fc fc94 bl 8001d60 - 8005438: e752 b.n 80052e0 - 800543a: 699a ldr r2, [r3, #24] - 800543c: f042 0208 orr.w r2, r2, #8 - 8005440: 619a str r2, [r3, #24] - 8005442: e771 b.n 8005328 - 8005444: effffffe .word 0xeffffffe - 8005448: 40008000 .word 0x40008000 - 800544c: 08005125 .word 0x08005125 + 80053de: d1f5 bne.n 80053cc + 80053e0: f103 0208 add.w r2, r3, #8 + 80053e4: e852 1f00 ldrex r1, [r2] + 80053e8: ea01 010a and.w r1, r1, sl + 80053ec: e842 1000 strex r0, r1, [r2] + 80053f0: 2800 cmp r0, #0 + 80053f2: d1f5 bne.n 80053e0 + 80053f4: 2120 movs r1, #32 + 80053f6: 455b cmp r3, fp + 80053f8: f8c4 108c str.w r1, [r4, #140] ; 0x8c + 80053fc: 6760 str r0, [r4, #116] ; 0x74 + 80053fe: 6720 str r0, [r4, #112] ; 0x70 + 8005400: d00a beq.n 8005418 + 8005402: 6859 ldr r1, [r3, #4] + 8005404: 0209 lsls r1, r1, #8 + 8005406: d507 bpl.n 8005418 + 8005408: e853 1f00 ldrex r1, [r3] + 800540c: f021 6180 bic.w r1, r1, #67108864 ; 0x4000000 + 8005410: e843 1000 strex r0, r1, [r3] + 8005414: 2800 cmp r0, #0 + 8005416: d1f7 bne.n 8005408 + 8005418: 6ee1 ldr r1, [r4, #108] ; 0x6c + 800541a: 2901 cmp r1, #1 + 800541c: d113 bne.n 8005446 + 800541e: 66e6 str r6, [r4, #108] ; 0x6c + 8005420: e853 1f00 ldrex r1, [r3] + 8005424: f021 0110 bic.w r1, r1, #16 + 8005428: e843 1000 strex r0, r1, [r3] + 800542c: 2800 cmp r0, #0 + 800542e: d1f7 bne.n 8005420 + 8005430: 69d9 ldr r1, [r3, #28] + 8005432: 06ca lsls r2, r1, #27 + 8005434: bf44 itt mi + 8005436: 2110 movmi r1, #16 + 8005438: 6219 strmi r1, [r3, #32] + 800543a: 4620 mov r0, r4 + 800543c: f8b4 105c ldrh.w r1, [r4, #92] ; 0x5c + 8005440: f7ff fcfc bl 8004e3c + 8005444: e756 b.n 80052f4 + 8005446: 4620 mov r0, r4 + 8005448: f7fc fc8a bl 8001d60 + 800544c: e752 b.n 80052f4 + 800544e: 699a ldr r2, [r3, #24] + 8005450: f042 0208 orr.w r2, r2, #8 + 8005454: 619a str r2, [r3, #24] + 8005456: e771 b.n 800533c + 8005458: effffffe .word 0xeffffffe + 800545c: 40008000 .word 0x40008000 + 8005460: 08005139 .word 0x08005139 -08005450 : - 8005450: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8005454: 6803 ldr r3, [r0, #0] - 8005456: f8b0 8060 ldrh.w r8, [r0, #96] ; 0x60 - 800545a: 69df ldr r7, [r3, #28] - 800545c: 681a ldr r2, [r3, #0] - 800545e: 689d ldr r5, [r3, #8] - 8005460: f8d0 108c ldr.w r1, [r0, #140] ; 0x8c - 8005464: 9201 str r2, [sp, #4] - 8005466: 2922 cmp r1, #34 ; 0x22 - 8005468: 4604 mov r4, r0 - 800546a: f040 80b2 bne.w 80055d2 - 800546e: f8b0 9068 ldrh.w r9, [r0, #104] ; 0x68 - 8005472: f8df a168 ldr.w sl, [pc, #360] ; 80055dc - 8005476: f8df b168 ldr.w fp, [pc, #360] ; 80055e0 - 800547a: 2600 movs r6, #0 - 800547c: f1b9 0f00 cmp.w r9, #0 - 8005480: d001 beq.n 8005486 - 8005482: 06bb lsls r3, r7, #26 - 8005484: d421 bmi.n 80054ca - 8005486: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e - 800548a: b29b uxth r3, r3 - 800548c: b1d3 cbz r3, 80054c4 - 800548e: f8b4 2068 ldrh.w r2, [r4, #104] ; 0x68 - 8005492: 429a cmp r2, r3 - 8005494: d916 bls.n 80054c4 - 8005496: 6822 ldr r2, [r4, #0] - 8005498: f102 0308 add.w r3, r2, #8 - 800549c: e853 3f00 ldrex r3, [r3] - 80054a0: f023 5380 bic.w r3, r3, #268435456 ; 0x10000000 - 80054a4: 3208 adds r2, #8 - 80054a6: e842 3100 strex r1, r3, [r2] +08005464 : + 8005464: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8005468: 6803 ldr r3, [r0, #0] + 800546a: f8b0 8060 ldrh.w r8, [r0, #96] ; 0x60 + 800546e: 69df ldr r7, [r3, #28] + 8005470: 681a ldr r2, [r3, #0] + 8005472: 689d ldr r5, [r3, #8] + 8005474: f8d0 108c ldr.w r1, [r0, #140] ; 0x8c + 8005478: 9201 str r2, [sp, #4] + 800547a: 2922 cmp r1, #34 ; 0x22 + 800547c: 4604 mov r4, r0 + 800547e: f040 80b2 bne.w 80055e6 + 8005482: f8b0 9068 ldrh.w r9, [r0, #104] ; 0x68 + 8005486: f8df a168 ldr.w sl, [pc, #360] ; 80055f0 + 800548a: f8df b168 ldr.w fp, [pc, #360] ; 80055f4 + 800548e: 2600 movs r6, #0 + 8005490: f1b9 0f00 cmp.w r9, #0 + 8005494: d001 beq.n 800549a + 8005496: 06bb lsls r3, r7, #26 + 8005498: d421 bmi.n 80054de + 800549a: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e + 800549e: b29b uxth r3, r3 + 80054a0: b1d3 cbz r3, 80054d8 + 80054a2: f8b4 2068 ldrh.w r2, [r4, #104] ; 0x68 + 80054a6: 429a cmp r2, r3 + 80054a8: d916 bls.n 80054d8 80054aa: 6822 ldr r2, [r4, #0] - 80054ac: 2900 cmp r1, #0 - 80054ae: d1f2 bne.n 8005496 - 80054b0: 4b4c ldr r3, [pc, #304] ; (80055e4 ) - 80054b2: 6763 str r3, [r4, #116] ; 0x74 - 80054b4: e852 3f00 ldrex r3, [r2] - 80054b8: f043 0320 orr.w r3, r3, #32 - 80054bc: e842 3100 strex r1, r3, [r2] + 80054ac: f102 0308 add.w r3, r2, #8 + 80054b0: e853 3f00 ldrex r3, [r3] + 80054b4: f023 5380 bic.w r3, r3, #268435456 ; 0x10000000 + 80054b8: 3208 adds r2, #8 + 80054ba: e842 3100 strex r1, r3, [r2] + 80054be: 6822 ldr r2, [r4, #0] 80054c0: 2900 cmp r1, #0 - 80054c2: d1f7 bne.n 80054b4 - 80054c4: b003 add sp, #12 - 80054c6: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 80054ca: 6823 ldr r3, [r4, #0] - 80054cc: 6da2 ldr r2, [r4, #88] ; 0x58 - 80054ce: 6a59 ldr r1, [r3, #36] ; 0x24 - 80054d0: ea08 0101 and.w r1, r8, r1 - 80054d4: f822 1b02 strh.w r1, [r2], #2 - 80054d8: 65a2 str r2, [r4, #88] ; 0x58 - 80054da: f8b4 205e ldrh.w r2, [r4, #94] ; 0x5e - 80054de: 3a01 subs r2, #1 - 80054e0: b292 uxth r2, r2 - 80054e2: f8a4 205e strh.w r2, [r4, #94] ; 0x5e - 80054e6: 69df ldr r7, [r3, #28] - 80054e8: 0778 lsls r0, r7, #29 - 80054ea: d02c beq.n 8005546 - 80054ec: 07f9 lsls r1, r7, #31 - 80054ee: d50a bpl.n 8005506 - 80054f0: 9a01 ldr r2, [sp, #4] - 80054f2: 05d2 lsls r2, r2, #23 - 80054f4: d507 bpl.n 8005506 - 80054f6: 2101 movs r1, #1 - 80054f8: 6219 str r1, [r3, #32] - 80054fa: f8d4 1090 ldr.w r1, [r4, #144] ; 0x90 - 80054fe: f041 0101 orr.w r1, r1, #1 - 8005502: f8c4 1090 str.w r1, [r4, #144] ; 0x90 - 8005506: 07b8 lsls r0, r7, #30 - 8005508: d509 bpl.n 800551e - 800550a: 07e9 lsls r1, r5, #31 - 800550c: d507 bpl.n 800551e - 800550e: 2102 movs r1, #2 - 8005510: 6219 str r1, [r3, #32] - 8005512: f8d4 1090 ldr.w r1, [r4, #144] ; 0x90 - 8005516: f041 0104 orr.w r1, r1, #4 - 800551a: f8c4 1090 str.w r1, [r4, #144] ; 0x90 - 800551e: 077a lsls r2, r7, #29 - 8005520: d509 bpl.n 8005536 - 8005522: 07e8 lsls r0, r5, #31 - 8005524: d507 bpl.n 8005536 - 8005526: 2104 movs r1, #4 - 8005528: 6219 str r1, [r3, #32] - 800552a: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 - 800552e: f043 0302 orr.w r3, r3, #2 - 8005532: f8c4 3090 str.w r3, [r4, #144] ; 0x90 - 8005536: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 - 800553a: b123 cbz r3, 8005546 - 800553c: 4620 mov r0, r4 - 800553e: f7ff fc44 bl 8004dca - 8005542: f8c4 6090 str.w r6, [r4, #144] ; 0x90 - 8005546: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e - 800554a: b29b uxth r3, r3 - 800554c: 2b00 cmp r3, #0 - 800554e: d195 bne.n 800547c - 8005550: 6821 ldr r1, [r4, #0] - 8005552: e851 3f00 ldrex r3, [r1] - 8005556: f423 7380 bic.w r3, r3, #256 ; 0x100 - 800555a: e841 3000 strex r0, r3, [r1] - 800555e: 6823 ldr r3, [r4, #0] - 8005560: 2800 cmp r0, #0 - 8005562: d1f5 bne.n 8005550 - 8005564: f103 0208 add.w r2, r3, #8 - 8005568: e852 1f00 ldrex r1, [r2] - 800556c: ea01 010a and.w r1, r1, sl - 8005570: e842 1000 strex r0, r1, [r2] + 80054c2: d1f2 bne.n 80054aa + 80054c4: 4b4c ldr r3, [pc, #304] ; (80055f8 ) + 80054c6: 6763 str r3, [r4, #116] ; 0x74 + 80054c8: e852 3f00 ldrex r3, [r2] + 80054cc: f043 0320 orr.w r3, r3, #32 + 80054d0: e842 3100 strex r1, r3, [r2] + 80054d4: 2900 cmp r1, #0 + 80054d6: d1f7 bne.n 80054c8 + 80054d8: b003 add sp, #12 + 80054da: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 80054de: 6823 ldr r3, [r4, #0] + 80054e0: 6da2 ldr r2, [r4, #88] ; 0x58 + 80054e2: 6a59 ldr r1, [r3, #36] ; 0x24 + 80054e4: ea08 0101 and.w r1, r8, r1 + 80054e8: f822 1b02 strh.w r1, [r2], #2 + 80054ec: 65a2 str r2, [r4, #88] ; 0x58 + 80054ee: f8b4 205e ldrh.w r2, [r4, #94] ; 0x5e + 80054f2: 3a01 subs r2, #1 + 80054f4: b292 uxth r2, r2 + 80054f6: f8a4 205e strh.w r2, [r4, #94] ; 0x5e + 80054fa: 69df ldr r7, [r3, #28] + 80054fc: 0778 lsls r0, r7, #29 + 80054fe: d02c beq.n 800555a + 8005500: 07f9 lsls r1, r7, #31 + 8005502: d50a bpl.n 800551a + 8005504: 9a01 ldr r2, [sp, #4] + 8005506: 05d2 lsls r2, r2, #23 + 8005508: d507 bpl.n 800551a + 800550a: 2101 movs r1, #1 + 800550c: 6219 str r1, [r3, #32] + 800550e: f8d4 1090 ldr.w r1, [r4, #144] ; 0x90 + 8005512: f041 0101 orr.w r1, r1, #1 + 8005516: f8c4 1090 str.w r1, [r4, #144] ; 0x90 + 800551a: 07b8 lsls r0, r7, #30 + 800551c: d509 bpl.n 8005532 + 800551e: 07e9 lsls r1, r5, #31 + 8005520: d507 bpl.n 8005532 + 8005522: 2102 movs r1, #2 + 8005524: 6219 str r1, [r3, #32] + 8005526: f8d4 1090 ldr.w r1, [r4, #144] ; 0x90 + 800552a: f041 0104 orr.w r1, r1, #4 + 800552e: f8c4 1090 str.w r1, [r4, #144] ; 0x90 + 8005532: 077a lsls r2, r7, #29 + 8005534: d509 bpl.n 800554a + 8005536: 07e8 lsls r0, r5, #31 + 8005538: d507 bpl.n 800554a + 800553a: 2104 movs r1, #4 + 800553c: 6219 str r1, [r3, #32] + 800553e: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 + 8005542: f043 0302 orr.w r3, r3, #2 + 8005546: f8c4 3090 str.w r3, [r4, #144] ; 0x90 + 800554a: f8d4 3090 ldr.w r3, [r4, #144] ; 0x90 + 800554e: b123 cbz r3, 800555a + 8005550: 4620 mov r0, r4 + 8005552: f7ff fc44 bl 8004dde + 8005556: f8c4 6090 str.w r6, [r4, #144] ; 0x90 + 800555a: f8b4 305e ldrh.w r3, [r4, #94] ; 0x5e + 800555e: b29b uxth r3, r3 + 8005560: 2b00 cmp r3, #0 + 8005562: d195 bne.n 8005490 + 8005564: 6821 ldr r1, [r4, #0] + 8005566: e851 3f00 ldrex r3, [r1] + 800556a: f423 7380 bic.w r3, r3, #256 ; 0x100 + 800556e: e841 3000 strex r0, r3, [r1] + 8005572: 6823 ldr r3, [r4, #0] 8005574: 2800 cmp r0, #0 - 8005576: d1f5 bne.n 8005564 - 8005578: 2120 movs r1, #32 - 800557a: 455b cmp r3, fp - 800557c: f8c4 108c str.w r1, [r4, #140] ; 0x8c - 8005580: 6760 str r0, [r4, #116] ; 0x74 - 8005582: 6720 str r0, [r4, #112] ; 0x70 - 8005584: d00a beq.n 800559c - 8005586: 6859 ldr r1, [r3, #4] - 8005588: 0209 lsls r1, r1, #8 - 800558a: d507 bpl.n 800559c - 800558c: e853 1f00 ldrex r1, [r3] - 8005590: f021 6180 bic.w r1, r1, #67108864 ; 0x4000000 - 8005594: e843 1000 strex r0, r1, [r3] - 8005598: 2800 cmp r0, #0 - 800559a: d1f7 bne.n 800558c - 800559c: 6ee1 ldr r1, [r4, #108] ; 0x6c - 800559e: 2901 cmp r1, #1 - 80055a0: d113 bne.n 80055ca - 80055a2: 66e6 str r6, [r4, #108] ; 0x6c - 80055a4: e853 1f00 ldrex r1, [r3] - 80055a8: f021 0110 bic.w r1, r1, #16 - 80055ac: e843 1000 strex r0, r1, [r3] - 80055b0: 2800 cmp r0, #0 - 80055b2: d1f7 bne.n 80055a4 - 80055b4: 69d9 ldr r1, [r3, #28] - 80055b6: 06ca lsls r2, r1, #27 - 80055b8: bf44 itt mi - 80055ba: 2110 movmi r1, #16 - 80055bc: 6219 strmi r1, [r3, #32] - 80055be: 4620 mov r0, r4 - 80055c0: f8b4 105c ldrh.w r1, [r4, #92] ; 0x5c - 80055c4: f7ff fc30 bl 8004e28 - 80055c8: e758 b.n 800547c - 80055ca: 4620 mov r0, r4 - 80055cc: f7fc fbc8 bl 8001d60 - 80055d0: e754 b.n 800547c - 80055d2: 699a ldr r2, [r3, #24] - 80055d4: f042 0208 orr.w r2, r2, #8 - 80055d8: 619a str r2, [r3, #24] - 80055da: e773 b.n 80054c4 - 80055dc: effffffe .word 0xeffffffe - 80055e0: 40008000 .word 0x40008000 - 80055e4: 080051f1 .word 0x080051f1 + 8005576: d1f5 bne.n 8005564 + 8005578: f103 0208 add.w r2, r3, #8 + 800557c: e852 1f00 ldrex r1, [r2] + 8005580: ea01 010a and.w r1, r1, sl + 8005584: e842 1000 strex r0, r1, [r2] + 8005588: 2800 cmp r0, #0 + 800558a: d1f5 bne.n 8005578 + 800558c: 2120 movs r1, #32 + 800558e: 455b cmp r3, fp + 8005590: f8c4 108c str.w r1, [r4, #140] ; 0x8c + 8005594: 6760 str r0, [r4, #116] ; 0x74 + 8005596: 6720 str r0, [r4, #112] ; 0x70 + 8005598: d00a beq.n 80055b0 + 800559a: 6859 ldr r1, [r3, #4] + 800559c: 0209 lsls r1, r1, #8 + 800559e: d507 bpl.n 80055b0 + 80055a0: e853 1f00 ldrex r1, [r3] + 80055a4: f021 6180 bic.w r1, r1, #67108864 ; 0x4000000 + 80055a8: e843 1000 strex r0, r1, [r3] + 80055ac: 2800 cmp r0, #0 + 80055ae: d1f7 bne.n 80055a0 + 80055b0: 6ee1 ldr r1, [r4, #108] ; 0x6c + 80055b2: 2901 cmp r1, #1 + 80055b4: d113 bne.n 80055de + 80055b6: 66e6 str r6, [r4, #108] ; 0x6c + 80055b8: e853 1f00 ldrex r1, [r3] + 80055bc: f021 0110 bic.w r1, r1, #16 + 80055c0: e843 1000 strex r0, r1, [r3] + 80055c4: 2800 cmp r0, #0 + 80055c6: d1f7 bne.n 80055b8 + 80055c8: 69d9 ldr r1, [r3, #28] + 80055ca: 06ca lsls r2, r1, #27 + 80055cc: bf44 itt mi + 80055ce: 2110 movmi r1, #16 + 80055d0: 6219 strmi r1, [r3, #32] + 80055d2: 4620 mov r0, r4 + 80055d4: f8b4 105c ldrh.w r1, [r4, #92] ; 0x5c + 80055d8: f7ff fc30 bl 8004e3c + 80055dc: e758 b.n 8005490 + 80055de: 4620 mov r0, r4 + 80055e0: f7fc fbbe bl 8001d60 + 80055e4: e754 b.n 8005490 + 80055e6: 699a ldr r2, [r3, #24] + 80055e8: f042 0208 orr.w r2, r2, #8 + 80055ec: 619a str r2, [r3, #24] + 80055ee: e773 b.n 80054d8 + 80055f0: effffffe .word 0xeffffffe + 80055f4: 40008000 .word 0x40008000 + 80055f8: 08005205 .word 0x08005205 -080055e8 : - 80055e8: b538 push {r3, r4, r5, lr} - 80055ea: 4604 mov r4, r0 - 80055ec: 6803 ldr r3, [r0, #0] - 80055ee: 6921 ldr r1, [r4, #16] - 80055f0: 68a2 ldr r2, [r4, #8] - 80055f2: 681d ldr r5, [r3, #0] - 80055f4: 69c0 ldr r0, [r0, #28] - 80055f6: 430a orrs r2, r1 - 80055f8: 6961 ldr r1, [r4, #20] - 80055fa: 430a orrs r2, r1 - 80055fc: 497d ldr r1, [pc, #500] ; (80057f4 ) - 80055fe: 4302 orrs r2, r0 - 8005600: 4029 ands r1, r5 - 8005602: 430a orrs r2, r1 - 8005604: 601a str r2, [r3, #0] - 8005606: 685a ldr r2, [r3, #4] - 8005608: 68e1 ldr r1, [r4, #12] - 800560a: f422 5240 bic.w r2, r2, #12288 ; 0x3000 +080055fc : + 80055fc: b538 push {r3, r4, r5, lr} + 80055fe: 4604 mov r4, r0 + 8005600: 6803 ldr r3, [r0, #0] + 8005602: 6921 ldr r1, [r4, #16] + 8005604: 68a2 ldr r2, [r4, #8] + 8005606: 681d ldr r5, [r3, #0] + 8005608: 69c0 ldr r0, [r0, #28] + 800560a: 430a orrs r2, r1 + 800560c: 6961 ldr r1, [r4, #20] 800560e: 430a orrs r2, r1 - 8005610: 605a str r2, [r3, #4] - 8005612: 4a79 ldr r2, [pc, #484] ; (80057f8 ) - 8005614: 69a1 ldr r1, [r4, #24] - 8005616: 4293 cmp r3, r2 - 8005618: bf1c itt ne - 800561a: 6a22 ldrne r2, [r4, #32] - 800561c: 4311 orrne r1, r2 - 800561e: 689a ldr r2, [r3, #8] - 8005620: f022 426e bic.w r2, r2, #3992977408 ; 0xee000000 - 8005624: f422 6230 bic.w r2, r2, #2816 ; 0xb00 - 8005628: 430a orrs r2, r1 - 800562a: 609a str r2, [r3, #8] - 800562c: 6ada ldr r2, [r3, #44] ; 0x2c - 800562e: 6a61 ldr r1, [r4, #36] ; 0x24 - 8005630: f022 020f bic.w r2, r2, #15 - 8005634: 430a orrs r2, r1 - 8005636: 62da str r2, [r3, #44] ; 0x2c - 8005638: 4a70 ldr r2, [pc, #448] ; (80057fc ) - 800563a: 4293 cmp r3, r2 - 800563c: d11c bne.n 8005678 - 800563e: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8005642: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 - 8005646: f003 0303 and.w r3, r3, #3 - 800564a: f443 3340 orr.w r3, r3, #196608 ; 0x30000 - 800564e: f5a3 3340 sub.w r3, r3, #196608 ; 0x30000 - 8005652: 3b01 subs r3, #1 - 8005654: 2b02 cmp r3, #2 - 8005656: f200 80c7 bhi.w 80057e8 - 800565a: 4a69 ldr r2, [pc, #420] ; (8005800 ) - 800565c: 5c9b ldrb r3, [r3, r2] - 800565e: f5b0 4f00 cmp.w r0, #32768 ; 0x8000 - 8005662: f040 8089 bne.w 8005778 - 8005666: 2b08 cmp r3, #8 - 8005668: d824 bhi.n 80056b4 - 800566a: e8df f003 tbb [pc, r3] - 800566e: c061 .short 0xc061 - 8005670: 23802383 .word 0x23802383 - 8005674: 2323 .short 0x2323 - 8005676: 65 .byte 0x65 - 8005677: 00 .byte 0x00 - 8005678: 4a62 ldr r2, [pc, #392] ; (8005804 ) - 800567a: 4293 cmp r3, r2 - 800567c: d109 bne.n 8005692 - 800567e: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 8005682: 4a61 ldr r2, [pc, #388] ; (8005808 ) - 8005684: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 - 8005688: f003 030c and.w r3, r3, #12 - 800568c: f443 2340 orr.w r3, r3, #786432 ; 0xc0000 - 8005690: e7e4 b.n 800565c - 8005692: 4a59 ldr r2, [pc, #356] ; (80057f8 ) - 8005694: 4293 cmp r3, r2 - 8005696: d10d bne.n 80056b4 - 8005698: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 - 800569c: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 - 80056a0: f403 6340 and.w r3, r3, #3072 ; 0xc00 - 80056a4: f5b3 6f00 cmp.w r3, #2048 ; 0x800 - 80056a8: d01a beq.n 80056e0 - 80056aa: d805 bhi.n 80056b8 - 80056ac: b153 cbz r3, 80056c4 - 80056ae: f5b3 6f80 cmp.w r3, #1024 ; 0x400 - 80056b2: d012 beq.n 80056da - 80056b4: 2001 movs r0, #1 - 80056b6: e009 b.n 80056cc - 80056b8: f5b3 6f40 cmp.w r3, #3072 ; 0xc00 - 80056bc: d1fa bne.n 80056b4 - 80056be: f44f 4000 mov.w r0, #32768 ; 0x8000 - 80056c2: e00e b.n 80056e2 - 80056c4: f7fe fcb2 bl 800402c - 80056c8: b958 cbnz r0, 80056e2 - 80056ca: 2000 movs r0, #0 - 80056cc: f04f 1301 mov.w r3, #65537 ; 0x10001 - 80056d0: 66a3 str r3, [r4, #104] ; 0x68 - 80056d2: 2300 movs r3, #0 - 80056d4: e9c4 331d strd r3, r3, [r4, #116] ; 0x74 - 80056d8: bd38 pop {r3, r4, r5, pc} - 80056da: f7fe f8af bl 800383c - 80056de: e7f3 b.n 80056c8 - 80056e0: 484a ldr r0, [pc, #296] ; (800580c ) - 80056e2: 6865 ldr r5, [r4, #4] - 80056e4: 4b4a ldr r3, [pc, #296] ; (8005810 ) - 80056e6: 6a62 ldr r2, [r4, #36] ; 0x24 - 80056e8: eb05 0145 add.w r1, r5, r5, lsl #1 - 80056ec: f833 2012 ldrh.w r2, [r3, r2, lsl #1] - 80056f0: fbb0 f3f2 udiv r3, r0, r2 - 80056f4: 4299 cmp r1, r3 - 80056f6: d8dd bhi.n 80056b4 - 80056f8: ebb3 3f05 cmp.w r3, r5, lsl #12 - 80056fc: d8da bhi.n 80056b4 - 80056fe: 2300 movs r3, #0 - 8005700: 4619 mov r1, r3 - 8005702: f7fb fa51 bl 8000ba8 <__aeabi_uldivmod> - 8005706: 0209 lsls r1, r1, #8 - 8005708: ea41 6110 orr.w r1, r1, r0, lsr #24 - 800570c: 086b lsrs r3, r5, #1 - 800570e: 0200 lsls r0, r0, #8 - 8005710: 18c0 adds r0, r0, r3 - 8005712: 462a mov r2, r5 - 8005714: f04f 0300 mov.w r3, #0 - 8005718: f141 0100 adc.w r1, r1, #0 - 800571c: f7fb fa44 bl 8000ba8 <__aeabi_uldivmod> - 8005720: 4b3c ldr r3, [pc, #240] ; (8005814 ) - 8005722: f5a0 7240 sub.w r2, r0, #768 ; 0x300 - 8005726: 429a cmp r2, r3 - 8005728: d8c4 bhi.n 80056b4 - 800572a: 6823 ldr r3, [r4, #0] - 800572c: 60d8 str r0, [r3, #12] - 800572e: e7cc b.n 80056ca - 8005730: f7fe fc7c bl 800402c - 8005734: 2800 cmp r0, #0 - 8005736: d0c8 beq.n 80056ca - 8005738: 6861 ldr r1, [r4, #4] - 800573a: 4b35 ldr r3, [pc, #212] ; (8005810 ) - 800573c: 6a62 ldr r2, [r4, #36] ; 0x24 - 800573e: f833 2012 ldrh.w r2, [r3, r2, lsl #1] - 8005742: fbb0 f2f2 udiv r2, r0, r2 - 8005746: 084b lsrs r3, r1, #1 - 8005748: eb03 0342 add.w r3, r3, r2, lsl #1 - 800574c: f64f 72ef movw r2, #65519 ; 0xffef - 8005750: fbb3 f3f1 udiv r3, r3, r1 - 8005754: f1a3 0110 sub.w r1, r3, #16 - 8005758: 4291 cmp r1, r2 - 800575a: d8ab bhi.n 80056b4 - 800575c: f023 020f bic.w r2, r3, #15 - 8005760: 6821 ldr r1, [r4, #0] - 8005762: b292 uxth r2, r2 - 8005764: f3c3 0342 ubfx r3, r3, #1, #3 - 8005768: 4313 orrs r3, r2 - 800576a: 60cb str r3, [r1, #12] - 800576c: e7ad b.n 80056ca - 800576e: f7fe f865 bl 800383c - 8005772: e7df b.n 8005734 - 8005774: 4825 ldr r0, [pc, #148] ; (800580c ) - 8005776: e7df b.n 8005738 - 8005778: 2b08 cmp r3, #8 - 800577a: d89b bhi.n 80056b4 - 800577c: a201 add r2, pc, #4 ; (adr r2, 8005784 ) - 800577e: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 8005782: bf00 nop - 8005784: 080057cd .word 0x080057cd - 8005788: 080057d9 .word 0x080057d9 - 800578c: 080057e5 .word 0x080057e5 - 8005790: 080056b5 .word 0x080056b5 - 8005794: 080057df .word 0x080057df - 8005798: 080056b5 .word 0x080056b5 - 800579c: 080056b5 .word 0x080056b5 - 80057a0: 080056b5 .word 0x080056b5 - 80057a4: 080057a9 .word 0x080057a9 - 80057a8: f44f 4000 mov.w r0, #32768 ; 0x8000 - 80057ac: 6863 ldr r3, [r4, #4] - 80057ae: 6a61 ldr r1, [r4, #36] ; 0x24 - 80057b0: 4a17 ldr r2, [pc, #92] ; (8005810 ) - 80057b2: f832 2011 ldrh.w r2, [r2, r1, lsl #1] - 80057b6: fbb0 f0f2 udiv r0, r0, r2 - 80057ba: eb00 0053 add.w r0, r0, r3, lsr #1 - 80057be: fbb0 f0f3 udiv r0, r0, r3 - 80057c2: f64f 73ef movw r3, #65519 ; 0xffef - 80057c6: f1a0 0210 sub.w r2, r0, #16 - 80057ca: e7ac b.n 8005726 - 80057cc: f7fe fc2e bl 800402c - 80057d0: 2800 cmp r0, #0 - 80057d2: f43f af7a beq.w 80056ca - 80057d6: e7e9 b.n 80057ac - 80057d8: f7fe fc38 bl 800404c - 80057dc: e7f8 b.n 80057d0 - 80057de: f7fe f82d bl 800383c - 80057e2: e7f5 b.n 80057d0 - 80057e4: 4809 ldr r0, [pc, #36] ; (800580c ) - 80057e6: e7e1 b.n 80057ac - 80057e8: f5b0 4f00 cmp.w r0, #32768 ; 0x8000 - 80057ec: d1f4 bne.n 80057d8 - 80057ee: f7fe fc2d bl 800404c - 80057f2: e79f b.n 8005734 - 80057f4: cfff69f3 .word 0xcfff69f3 - 80057f8: 40008000 .word 0x40008000 - 80057fc: 40013800 .word 0x40013800 - 8005800: 0800f228 .word 0x0800f228 - 8005804: 40004400 .word 0x40004400 - 8005808: 07f4f22b .word 0x07f4f22b - 800580c: 00f42400 .word 0x00f42400 - 8005810: 0800f238 .word 0x0800f238 - 8005814: 000ffcff .word 0x000ffcff + 8005610: 497d ldr r1, [pc, #500] ; (8005808 ) + 8005612: 4302 orrs r2, r0 + 8005614: 4029 ands r1, r5 + 8005616: 430a orrs r2, r1 + 8005618: 601a str r2, [r3, #0] + 800561a: 685a ldr r2, [r3, #4] + 800561c: 68e1 ldr r1, [r4, #12] + 800561e: f422 5240 bic.w r2, r2, #12288 ; 0x3000 + 8005622: 430a orrs r2, r1 + 8005624: 605a str r2, [r3, #4] + 8005626: 4a79 ldr r2, [pc, #484] ; (800580c ) + 8005628: 69a1 ldr r1, [r4, #24] + 800562a: 4293 cmp r3, r2 + 800562c: bf1c itt ne + 800562e: 6a22 ldrne r2, [r4, #32] + 8005630: 4311 orrne r1, r2 + 8005632: 689a ldr r2, [r3, #8] + 8005634: f022 426e bic.w r2, r2, #3992977408 ; 0xee000000 + 8005638: f422 6230 bic.w r2, r2, #2816 ; 0xb00 + 800563c: 430a orrs r2, r1 + 800563e: 609a str r2, [r3, #8] + 8005640: 6ada ldr r2, [r3, #44] ; 0x2c + 8005642: 6a61 ldr r1, [r4, #36] ; 0x24 + 8005644: f022 020f bic.w r2, r2, #15 + 8005648: 430a orrs r2, r1 + 800564a: 62da str r2, [r3, #44] ; 0x2c + 800564c: 4a70 ldr r2, [pc, #448] ; (8005810 ) + 800564e: 4293 cmp r3, r2 + 8005650: d11c bne.n 800568c + 8005652: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8005656: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 + 800565a: f003 0303 and.w r3, r3, #3 + 800565e: f443 3340 orr.w r3, r3, #196608 ; 0x30000 + 8005662: f5a3 3340 sub.w r3, r3, #196608 ; 0x30000 + 8005666: 3b01 subs r3, #1 + 8005668: 2b02 cmp r3, #2 + 800566a: f200 80c7 bhi.w 80057fc + 800566e: 4a69 ldr r2, [pc, #420] ; (8005814 ) + 8005670: 5c9b ldrb r3, [r3, r2] + 8005672: f5b0 4f00 cmp.w r0, #32768 ; 0x8000 + 8005676: f040 8089 bne.w 800578c + 800567a: 2b08 cmp r3, #8 + 800567c: d824 bhi.n 80056c8 + 800567e: e8df f003 tbb [pc, r3] + 8005682: c061 .short 0xc061 + 8005684: 23802383 .word 0x23802383 + 8005688: 2323 .short 0x2323 + 800568a: 65 .byte 0x65 + 800568b: 00 .byte 0x00 + 800568c: 4a62 ldr r2, [pc, #392] ; (8005818 ) + 800568e: 4293 cmp r3, r2 + 8005690: d109 bne.n 80056a6 + 8005692: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 8005696: 4a61 ldr r2, [pc, #388] ; (800581c ) + 8005698: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 + 800569c: f003 030c and.w r3, r3, #12 + 80056a0: f443 2340 orr.w r3, r3, #786432 ; 0xc0000 + 80056a4: e7e4 b.n 8005670 + 80056a6: 4a59 ldr r2, [pc, #356] ; (800580c ) + 80056a8: 4293 cmp r3, r2 + 80056aa: d10d bne.n 80056c8 + 80056ac: f04f 43b0 mov.w r3, #1476395008 ; 0x58000000 + 80056b0: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88 + 80056b4: f403 6340 and.w r3, r3, #3072 ; 0xc00 + 80056b8: f5b3 6f00 cmp.w r3, #2048 ; 0x800 + 80056bc: d01a beq.n 80056f4 + 80056be: d805 bhi.n 80056cc + 80056c0: b153 cbz r3, 80056d8 + 80056c2: f5b3 6f80 cmp.w r3, #1024 ; 0x400 + 80056c6: d012 beq.n 80056ee + 80056c8: 2001 movs r0, #1 + 80056ca: e009 b.n 80056e0 + 80056cc: f5b3 6f40 cmp.w r3, #3072 ; 0xc00 + 80056d0: d1fa bne.n 80056c8 + 80056d2: f44f 4000 mov.w r0, #32768 ; 0x8000 + 80056d6: e00e b.n 80056f6 + 80056d8: f7fe fcb2 bl 8004040 + 80056dc: b958 cbnz r0, 80056f6 + 80056de: 2000 movs r0, #0 + 80056e0: f04f 1301 mov.w r3, #65537 ; 0x10001 + 80056e4: 66a3 str r3, [r4, #104] ; 0x68 + 80056e6: 2300 movs r3, #0 + 80056e8: e9c4 331d strd r3, r3, [r4, #116] ; 0x74 + 80056ec: bd38 pop {r3, r4, r5, pc} + 80056ee: f7fe f8af bl 8003850 + 80056f2: e7f3 b.n 80056dc + 80056f4: 484a ldr r0, [pc, #296] ; (8005820 ) + 80056f6: 6865 ldr r5, [r4, #4] + 80056f8: 4b4a ldr r3, [pc, #296] ; (8005824 ) + 80056fa: 6a62 ldr r2, [r4, #36] ; 0x24 + 80056fc: eb05 0145 add.w r1, r5, r5, lsl #1 + 8005700: f833 2012 ldrh.w r2, [r3, r2, lsl #1] + 8005704: fbb0 f3f2 udiv r3, r0, r2 + 8005708: 4299 cmp r1, r3 + 800570a: d8dd bhi.n 80056c8 + 800570c: ebb3 3f05 cmp.w r3, r5, lsl #12 + 8005710: d8da bhi.n 80056c8 + 8005712: 2300 movs r3, #0 + 8005714: 4619 mov r1, r3 + 8005716: f7fb fa47 bl 8000ba8 <__aeabi_uldivmod> + 800571a: 0209 lsls r1, r1, #8 + 800571c: ea41 6110 orr.w r1, r1, r0, lsr #24 + 8005720: 086b lsrs r3, r5, #1 + 8005722: 0200 lsls r0, r0, #8 + 8005724: 18c0 adds r0, r0, r3 + 8005726: 462a mov r2, r5 + 8005728: f04f 0300 mov.w r3, #0 + 800572c: f141 0100 adc.w r1, r1, #0 + 8005730: f7fb fa3a bl 8000ba8 <__aeabi_uldivmod> + 8005734: 4b3c ldr r3, [pc, #240] ; (8005828 ) + 8005736: f5a0 7240 sub.w r2, r0, #768 ; 0x300 + 800573a: 429a cmp r2, r3 + 800573c: d8c4 bhi.n 80056c8 + 800573e: 6823 ldr r3, [r4, #0] + 8005740: 60d8 str r0, [r3, #12] + 8005742: e7cc b.n 80056de + 8005744: f7fe fc7c bl 8004040 + 8005748: 2800 cmp r0, #0 + 800574a: d0c8 beq.n 80056de + 800574c: 6861 ldr r1, [r4, #4] + 800574e: 4b35 ldr r3, [pc, #212] ; (8005824 ) + 8005750: 6a62 ldr r2, [r4, #36] ; 0x24 + 8005752: f833 2012 ldrh.w r2, [r3, r2, lsl #1] + 8005756: fbb0 f2f2 udiv r2, r0, r2 + 800575a: 084b lsrs r3, r1, #1 + 800575c: eb03 0342 add.w r3, r3, r2, lsl #1 + 8005760: f64f 72ef movw r2, #65519 ; 0xffef + 8005764: fbb3 f3f1 udiv r3, r3, r1 + 8005768: f1a3 0110 sub.w r1, r3, #16 + 800576c: 4291 cmp r1, r2 + 800576e: d8ab bhi.n 80056c8 + 8005770: f023 020f bic.w r2, r3, #15 + 8005774: 6821 ldr r1, [r4, #0] + 8005776: b292 uxth r2, r2 + 8005778: f3c3 0342 ubfx r3, r3, #1, #3 + 800577c: 4313 orrs r3, r2 + 800577e: 60cb str r3, [r1, #12] + 8005780: e7ad b.n 80056de + 8005782: f7fe f865 bl 8003850 + 8005786: e7df b.n 8005748 + 8005788: 4825 ldr r0, [pc, #148] ; (8005820 ) + 800578a: e7df b.n 800574c + 800578c: 2b08 cmp r3, #8 + 800578e: d89b bhi.n 80056c8 + 8005790: a201 add r2, pc, #4 ; (adr r2, 8005798 ) + 8005792: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 8005796: bf00 nop + 8005798: 080057e1 .word 0x080057e1 + 800579c: 080057ed .word 0x080057ed + 80057a0: 080057f9 .word 0x080057f9 + 80057a4: 080056c9 .word 0x080056c9 + 80057a8: 080057f3 .word 0x080057f3 + 80057ac: 080056c9 .word 0x080056c9 + 80057b0: 080056c9 .word 0x080056c9 + 80057b4: 080056c9 .word 0x080056c9 + 80057b8: 080057bd .word 0x080057bd + 80057bc: f44f 4000 mov.w r0, #32768 ; 0x8000 + 80057c0: 6863 ldr r3, [r4, #4] + 80057c2: 6a61 ldr r1, [r4, #36] ; 0x24 + 80057c4: 4a17 ldr r2, [pc, #92] ; (8005824 ) + 80057c6: f832 2011 ldrh.w r2, [r2, r1, lsl #1] + 80057ca: fbb0 f0f2 udiv r0, r0, r2 + 80057ce: eb00 0053 add.w r0, r0, r3, lsr #1 + 80057d2: fbb0 f0f3 udiv r0, r0, r3 + 80057d6: f64f 73ef movw r3, #65519 ; 0xffef + 80057da: f1a0 0210 sub.w r2, r0, #16 + 80057de: e7ac b.n 800573a + 80057e0: f7fe fc2e bl 8004040 + 80057e4: 2800 cmp r0, #0 + 80057e6: f43f af7a beq.w 80056de + 80057ea: e7e9 b.n 80057c0 + 80057ec: f7fe fc38 bl 8004060 + 80057f0: e7f8 b.n 80057e4 + 80057f2: f7fe f82d bl 8003850 + 80057f6: e7f5 b.n 80057e4 + 80057f8: 4809 ldr r0, [pc, #36] ; (8005820 ) + 80057fa: e7e1 b.n 80057c0 + 80057fc: f5b0 4f00 cmp.w r0, #32768 ; 0x8000 + 8005800: d1f4 bne.n 80057ec + 8005802: f7fe fc2d bl 8004060 + 8005806: e79f b.n 8005748 + 8005808: cfff69f3 .word 0xcfff69f3 + 800580c: 40008000 .word 0x40008000 + 8005810: 40013800 .word 0x40013800 + 8005814: 0800f238 .word 0x0800f238 + 8005818: 40004400 .word 0x40004400 + 800581c: 07f4f23b .word 0x07f4f23b + 8005820: 00f42400 .word 0x00f42400 + 8005824: 0800f248 .word 0x0800f248 + 8005828: 000ffcff .word 0x000ffcff -08005818 : - 8005818: 6a83 ldr r3, [r0, #40] ; 0x28 - 800581a: 07da lsls r2, r3, #31 - 800581c: b510 push {r4, lr} - 800581e: d506 bpl.n 800582e - 8005820: 6801 ldr r1, [r0, #0] - 8005822: 6ac4 ldr r4, [r0, #44] ; 0x2c - 8005824: 684a ldr r2, [r1, #4] - 8005826: f422 3200 bic.w r2, r2, #131072 ; 0x20000 - 800582a: 4322 orrs r2, r4 - 800582c: 604a str r2, [r1, #4] - 800582e: 079c lsls r4, r3, #30 - 8005830: d506 bpl.n 8005840 - 8005832: 6801 ldr r1, [r0, #0] - 8005834: 6b04 ldr r4, [r0, #48] ; 0x30 - 8005836: 684a ldr r2, [r1, #4] - 8005838: f422 3280 bic.w r2, r2, #65536 ; 0x10000 - 800583c: 4322 orrs r2, r4 - 800583e: 604a str r2, [r1, #4] - 8005840: 0759 lsls r1, r3, #29 - 8005842: d506 bpl.n 8005852 - 8005844: 6801 ldr r1, [r0, #0] - 8005846: 6b44 ldr r4, [r0, #52] ; 0x34 - 8005848: 684a ldr r2, [r1, #4] - 800584a: f422 2280 bic.w r2, r2, #262144 ; 0x40000 - 800584e: 4322 orrs r2, r4 - 8005850: 604a str r2, [r1, #4] - 8005852: 071a lsls r2, r3, #28 - 8005854: d506 bpl.n 8005864 - 8005856: 6801 ldr r1, [r0, #0] - 8005858: 6b84 ldr r4, [r0, #56] ; 0x38 - 800585a: 684a ldr r2, [r1, #4] - 800585c: f422 4200 bic.w r2, r2, #32768 ; 0x8000 - 8005860: 4322 orrs r2, r4 - 8005862: 604a str r2, [r1, #4] - 8005864: 06dc lsls r4, r3, #27 - 8005866: d506 bpl.n 8005876 - 8005868: 6801 ldr r1, [r0, #0] - 800586a: 6bc4 ldr r4, [r0, #60] ; 0x3c - 800586c: 688a ldr r2, [r1, #8] - 800586e: f422 5280 bic.w r2, r2, #4096 ; 0x1000 - 8005872: 4322 orrs r2, r4 - 8005874: 608a str r2, [r1, #8] - 8005876: 0699 lsls r1, r3, #26 - 8005878: d506 bpl.n 8005888 - 800587a: 6801 ldr r1, [r0, #0] - 800587c: 6c04 ldr r4, [r0, #64] ; 0x40 - 800587e: 688a ldr r2, [r1, #8] - 8005880: f422 5200 bic.w r2, r2, #8192 ; 0x2000 - 8005884: 4322 orrs r2, r4 - 8005886: 608a str r2, [r1, #8] - 8005888: 065a lsls r2, r3, #25 - 800588a: d50f bpl.n 80058ac - 800588c: 6801 ldr r1, [r0, #0] - 800588e: 6c44 ldr r4, [r0, #68] ; 0x44 - 8005890: 684a ldr r2, [r1, #4] - 8005892: f422 1280 bic.w r2, r2, #1048576 ; 0x100000 - 8005896: 4322 orrs r2, r4 - 8005898: f5b4 1f80 cmp.w r4, #1048576 ; 0x100000 - 800589c: 604a str r2, [r1, #4] - 800589e: d105 bne.n 80058ac - 80058a0: 684a ldr r2, [r1, #4] - 80058a2: 6c84 ldr r4, [r0, #72] ; 0x48 - 80058a4: f422 02c0 bic.w r2, r2, #6291456 ; 0x600000 - 80058a8: 4322 orrs r2, r4 - 80058aa: 604a str r2, [r1, #4] - 80058ac: 061b lsls r3, r3, #24 - 80058ae: d506 bpl.n 80058be - 80058b0: 6802 ldr r2, [r0, #0] - 80058b2: 6cc1 ldr r1, [r0, #76] ; 0x4c - 80058b4: 6853 ldr r3, [r2, #4] - 80058b6: f423 2300 bic.w r3, r3, #524288 ; 0x80000 - 80058ba: 430b orrs r3, r1 - 80058bc: 6053 str r3, [r2, #4] - 80058be: bd10 pop {r4, pc} +0800582c : + 800582c: 6a83 ldr r3, [r0, #40] ; 0x28 + 800582e: 07da lsls r2, r3, #31 + 8005830: b510 push {r4, lr} + 8005832: d506 bpl.n 8005842 + 8005834: 6801 ldr r1, [r0, #0] + 8005836: 6ac4 ldr r4, [r0, #44] ; 0x2c + 8005838: 684a ldr r2, [r1, #4] + 800583a: f422 3200 bic.w r2, r2, #131072 ; 0x20000 + 800583e: 4322 orrs r2, r4 + 8005840: 604a str r2, [r1, #4] + 8005842: 079c lsls r4, r3, #30 + 8005844: d506 bpl.n 8005854 + 8005846: 6801 ldr r1, [r0, #0] + 8005848: 6b04 ldr r4, [r0, #48] ; 0x30 + 800584a: 684a ldr r2, [r1, #4] + 800584c: f422 3280 bic.w r2, r2, #65536 ; 0x10000 + 8005850: 4322 orrs r2, r4 + 8005852: 604a str r2, [r1, #4] + 8005854: 0759 lsls r1, r3, #29 + 8005856: d506 bpl.n 8005866 + 8005858: 6801 ldr r1, [r0, #0] + 800585a: 6b44 ldr r4, [r0, #52] ; 0x34 + 800585c: 684a ldr r2, [r1, #4] + 800585e: f422 2280 bic.w r2, r2, #262144 ; 0x40000 + 8005862: 4322 orrs r2, r4 + 8005864: 604a str r2, [r1, #4] + 8005866: 071a lsls r2, r3, #28 + 8005868: d506 bpl.n 8005878 + 800586a: 6801 ldr r1, [r0, #0] + 800586c: 6b84 ldr r4, [r0, #56] ; 0x38 + 800586e: 684a ldr r2, [r1, #4] + 8005870: f422 4200 bic.w r2, r2, #32768 ; 0x8000 + 8005874: 4322 orrs r2, r4 + 8005876: 604a str r2, [r1, #4] + 8005878: 06dc lsls r4, r3, #27 + 800587a: d506 bpl.n 800588a + 800587c: 6801 ldr r1, [r0, #0] + 800587e: 6bc4 ldr r4, [r0, #60] ; 0x3c + 8005880: 688a ldr r2, [r1, #8] + 8005882: f422 5280 bic.w r2, r2, #4096 ; 0x1000 + 8005886: 4322 orrs r2, r4 + 8005888: 608a str r2, [r1, #8] + 800588a: 0699 lsls r1, r3, #26 + 800588c: d506 bpl.n 800589c + 800588e: 6801 ldr r1, [r0, #0] + 8005890: 6c04 ldr r4, [r0, #64] ; 0x40 + 8005892: 688a ldr r2, [r1, #8] + 8005894: f422 5200 bic.w r2, r2, #8192 ; 0x2000 + 8005898: 4322 orrs r2, r4 + 800589a: 608a str r2, [r1, #8] + 800589c: 065a lsls r2, r3, #25 + 800589e: d50f bpl.n 80058c0 + 80058a0: 6801 ldr r1, [r0, #0] + 80058a2: 6c44 ldr r4, [r0, #68] ; 0x44 + 80058a4: 684a ldr r2, [r1, #4] + 80058a6: f422 1280 bic.w r2, r2, #1048576 ; 0x100000 + 80058aa: 4322 orrs r2, r4 + 80058ac: f5b4 1f80 cmp.w r4, #1048576 ; 0x100000 + 80058b0: 604a str r2, [r1, #4] + 80058b2: d105 bne.n 80058c0 + 80058b4: 684a ldr r2, [r1, #4] + 80058b6: 6c84 ldr r4, [r0, #72] ; 0x48 + 80058b8: f422 02c0 bic.w r2, r2, #6291456 ; 0x600000 + 80058bc: 4322 orrs r2, r4 + 80058be: 604a str r2, [r1, #4] + 80058c0: 061b lsls r3, r3, #24 + 80058c2: d506 bpl.n 80058d2 + 80058c4: 6802 ldr r2, [r0, #0] + 80058c6: 6cc1 ldr r1, [r0, #76] ; 0x4c + 80058c8: 6853 ldr r3, [r2, #4] + 80058ca: f423 2300 bic.w r3, r3, #524288 ; 0x80000 + 80058ce: 430b orrs r3, r1 + 80058d0: 6053 str r3, [r2, #4] + 80058d2: bd10 pop {r4, pc} -080058c0 : - 80058c0: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 80058c4: f8dd 8018 ldr.w r8, [sp, #24] - 80058c8: 4604 mov r4, r0 - 80058ca: 460e mov r6, r1 - 80058cc: 4615 mov r5, r2 - 80058ce: 461f mov r7, r3 - 80058d0: 6822 ldr r2, [r4, #0] - 80058d2: 69d3 ldr r3, [r2, #28] - 80058d4: ea36 0303 bics.w r3, r6, r3 - 80058d8: bf0c ite eq - 80058da: 2301 moveq r3, #1 - 80058dc: 2300 movne r3, #0 - 80058de: 42ab cmp r3, r5 - 80058e0: d001 beq.n 80058e6 - 80058e2: 2000 movs r0, #0 - 80058e4: e027 b.n 8005936 - 80058e6: f1b8 3fff cmp.w r8, #4294967295 - 80058ea: d0f2 beq.n 80058d2 - 80058ec: f7fb ffee bl 80018cc - 80058f0: 1bc0 subs r0, r0, r7 - 80058f2: 4540 cmp r0, r8 - 80058f4: 6820 ldr r0, [r4, #0] - 80058f6: d802 bhi.n 80058fe - 80058f8: f1b8 0f00 cmp.w r8, #0 - 80058fc: d11d bne.n 800593a - 80058fe: e850 3f00 ldrex r3, [r0] - 8005902: f423 73d0 bic.w r3, r3, #416 ; 0x1a0 - 8005906: e840 3200 strex r2, r3, [r0] - 800590a: 2a00 cmp r2, #0 - 800590c: d1f7 bne.n 80058fe - 800590e: f100 0308 add.w r3, r0, #8 - 8005912: e853 3f00 ldrex r3, [r3] - 8005916: f023 0301 bic.w r3, r3, #1 - 800591a: f100 0108 add.w r1, r0, #8 - 800591e: e841 3200 strex r2, r3, [r1] - 8005922: 2a00 cmp r2, #0 - 8005924: d1f3 bne.n 800590e - 8005926: 2320 movs r3, #32 - 8005928: f8c4 3088 str.w r3, [r4, #136] ; 0x88 - 800592c: f8c4 308c str.w r3, [r4, #140] ; 0x8c - 8005930: f884 2084 strb.w r2, [r4, #132] ; 0x84 - 8005934: 2003 movs r0, #3 - 8005936: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800593a: 6803 ldr r3, [r0, #0] - 800593c: 075a lsls r2, r3, #29 - 800593e: d5c7 bpl.n 80058d0 - 8005940: 69c3 ldr r3, [r0, #28] - 8005942: 051b lsls r3, r3, #20 - 8005944: d5c4 bpl.n 80058d0 - 8005946: f44f 6300 mov.w r3, #2048 ; 0x800 - 800594a: 6203 str r3, [r0, #32] - 800594c: e850 3f00 ldrex r3, [r0] - 8005950: f423 73d0 bic.w r3, r3, #416 ; 0x1a0 - 8005954: e840 3200 strex r2, r3, [r0] - 8005958: 2a00 cmp r2, #0 - 800595a: d1f7 bne.n 800594c - 800595c: f100 0308 add.w r3, r0, #8 - 8005960: e853 3f00 ldrex r3, [r3] - 8005964: f023 0301 bic.w r3, r3, #1 - 8005968: f100 0108 add.w r1, r0, #8 - 800596c: e841 3200 strex r2, r3, [r1] - 8005970: 2a00 cmp r2, #0 - 8005972: d1f3 bne.n 800595c - 8005974: 2320 movs r3, #32 - 8005976: f8c4 3088 str.w r3, [r4, #136] ; 0x88 - 800597a: f8c4 308c str.w r3, [r4, #140] ; 0x8c - 800597e: f8c4 3090 str.w r3, [r4, #144] ; 0x90 - 8005982: e7d5 b.n 8005930 +080058d4 : + 80058d4: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 80058d8: f8dd 8018 ldr.w r8, [sp, #24] + 80058dc: 4604 mov r4, r0 + 80058de: 460e mov r6, r1 + 80058e0: 4615 mov r5, r2 + 80058e2: 461f mov r7, r3 + 80058e4: 6822 ldr r2, [r4, #0] + 80058e6: 69d3 ldr r3, [r2, #28] + 80058e8: ea36 0303 bics.w r3, r6, r3 + 80058ec: bf0c ite eq + 80058ee: 2301 moveq r3, #1 + 80058f0: 2300 movne r3, #0 + 80058f2: 42ab cmp r3, r5 + 80058f4: d001 beq.n 80058fa + 80058f6: 2000 movs r0, #0 + 80058f8: e027 b.n 800594a + 80058fa: f1b8 3fff cmp.w r8, #4294967295 + 80058fe: d0f2 beq.n 80058e6 + 8005900: f7fb ffe4 bl 80018cc + 8005904: 1bc0 subs r0, r0, r7 + 8005906: 4540 cmp r0, r8 + 8005908: 6820 ldr r0, [r4, #0] + 800590a: d802 bhi.n 8005912 + 800590c: f1b8 0f00 cmp.w r8, #0 + 8005910: d11d bne.n 800594e + 8005912: e850 3f00 ldrex r3, [r0] + 8005916: f423 73d0 bic.w r3, r3, #416 ; 0x1a0 + 800591a: e840 3200 strex r2, r3, [r0] + 800591e: 2a00 cmp r2, #0 + 8005920: d1f7 bne.n 8005912 + 8005922: f100 0308 add.w r3, r0, #8 + 8005926: e853 3f00 ldrex r3, [r3] + 800592a: f023 0301 bic.w r3, r3, #1 + 800592e: f100 0108 add.w r1, r0, #8 + 8005932: e841 3200 strex r2, r3, [r1] + 8005936: 2a00 cmp r2, #0 + 8005938: d1f3 bne.n 8005922 + 800593a: 2320 movs r3, #32 + 800593c: f8c4 3088 str.w r3, [r4, #136] ; 0x88 + 8005940: f8c4 308c str.w r3, [r4, #140] ; 0x8c + 8005944: f884 2084 strb.w r2, [r4, #132] ; 0x84 + 8005948: 2003 movs r0, #3 + 800594a: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800594e: 6803 ldr r3, [r0, #0] + 8005950: 075a lsls r2, r3, #29 + 8005952: d5c7 bpl.n 80058e4 + 8005954: 69c3 ldr r3, [r0, #28] + 8005956: 051b lsls r3, r3, #20 + 8005958: d5c4 bpl.n 80058e4 + 800595a: f44f 6300 mov.w r3, #2048 ; 0x800 + 800595e: 6203 str r3, [r0, #32] + 8005960: e850 3f00 ldrex r3, [r0] + 8005964: f423 73d0 bic.w r3, r3, #416 ; 0x1a0 + 8005968: e840 3200 strex r2, r3, [r0] + 800596c: 2a00 cmp r2, #0 + 800596e: d1f7 bne.n 8005960 + 8005970: f100 0308 add.w r3, r0, #8 + 8005974: e853 3f00 ldrex r3, [r3] + 8005978: f023 0301 bic.w r3, r3, #1 + 800597c: f100 0108 add.w r1, r0, #8 + 8005980: e841 3200 strex r2, r3, [r1] + 8005984: 2a00 cmp r2, #0 + 8005986: d1f3 bne.n 8005970 + 8005988: 2320 movs r3, #32 + 800598a: f8c4 3088 str.w r3, [r4, #136] ; 0x88 + 800598e: f8c4 308c str.w r3, [r4, #140] ; 0x8c + 8005992: f8c4 3090 str.w r3, [r4, #144] ; 0x90 + 8005996: e7d5 b.n 8005944 -08005984 : - 8005984: b573 push {r0, r1, r4, r5, r6, lr} - 8005986: 4604 mov r4, r0 - 8005988: 2600 movs r6, #0 - 800598a: f8c0 6090 str.w r6, [r0, #144] ; 0x90 - 800598e: f7fb ff9d bl 80018cc - 8005992: 6823 ldr r3, [r4, #0] - 8005994: 681b ldr r3, [r3, #0] - 8005996: 071a lsls r2, r3, #28 - 8005998: 4605 mov r5, r0 - 800599a: d419 bmi.n 80059d0 - 800599c: 6823 ldr r3, [r4, #0] - 800599e: 681b ldr r3, [r3, #0] - 80059a0: 075b lsls r3, r3, #29 - 80059a2: d50a bpl.n 80059ba - 80059a4: f06f 437e mvn.w r3, #4261412864 ; 0xfe000000 - 80059a8: 9300 str r3, [sp, #0] - 80059aa: 2200 movs r2, #0 - 80059ac: 462b mov r3, r5 - 80059ae: f44f 0180 mov.w r1, #4194304 ; 0x400000 - 80059b2: 4620 mov r0, r4 - 80059b4: f7ff ff84 bl 80058c0 - 80059b8: b9b0 cbnz r0, 80059e8 - 80059ba: 2000 movs r0, #0 - 80059bc: 2320 movs r3, #32 - 80059be: f8c4 3088 str.w r3, [r4, #136] ; 0x88 - 80059c2: f884 0084 strb.w r0, [r4, #132] ; 0x84 - 80059c6: f8c4 308c str.w r3, [r4, #140] ; 0x8c - 80059ca: 66e0 str r0, [r4, #108] ; 0x6c - 80059cc: 6720 str r0, [r4, #112] ; 0x70 - 80059ce: e00c b.n 80059ea - 80059d0: f06f 437e mvn.w r3, #4261412864 ; 0xfe000000 - 80059d4: 9300 str r3, [sp, #0] - 80059d6: 4632 mov r2, r6 - 80059d8: 4603 mov r3, r0 - 80059da: f44f 1100 mov.w r1, #2097152 ; 0x200000 - 80059de: 4620 mov r0, r4 - 80059e0: f7ff ff6e bl 80058c0 - 80059e4: 2800 cmp r0, #0 - 80059e6: d0d9 beq.n 800599c - 80059e8: 2003 movs r0, #3 - 80059ea: b002 add sp, #8 - 80059ec: bd70 pop {r4, r5, r6, pc} +08005998 : + 8005998: b573 push {r0, r1, r4, r5, r6, lr} + 800599a: 4604 mov r4, r0 + 800599c: 2600 movs r6, #0 + 800599e: f8c0 6090 str.w r6, [r0, #144] ; 0x90 + 80059a2: f7fb ff93 bl 80018cc + 80059a6: 6823 ldr r3, [r4, #0] + 80059a8: 681b ldr r3, [r3, #0] + 80059aa: 071a lsls r2, r3, #28 + 80059ac: 4605 mov r5, r0 + 80059ae: d419 bmi.n 80059e4 + 80059b0: 6823 ldr r3, [r4, #0] + 80059b2: 681b ldr r3, [r3, #0] + 80059b4: 075b lsls r3, r3, #29 + 80059b6: d50a bpl.n 80059ce + 80059b8: f06f 437e mvn.w r3, #4261412864 ; 0xfe000000 + 80059bc: 9300 str r3, [sp, #0] + 80059be: 2200 movs r2, #0 + 80059c0: 462b mov r3, r5 + 80059c2: f44f 0180 mov.w r1, #4194304 ; 0x400000 + 80059c6: 4620 mov r0, r4 + 80059c8: f7ff ff84 bl 80058d4 + 80059cc: b9b0 cbnz r0, 80059fc + 80059ce: 2000 movs r0, #0 + 80059d0: 2320 movs r3, #32 + 80059d2: f8c4 3088 str.w r3, [r4, #136] ; 0x88 + 80059d6: f884 0084 strb.w r0, [r4, #132] ; 0x84 + 80059da: f8c4 308c str.w r3, [r4, #140] ; 0x8c + 80059de: 66e0 str r0, [r4, #108] ; 0x6c + 80059e0: 6720 str r0, [r4, #112] ; 0x70 + 80059e2: e00c b.n 80059fe + 80059e4: f06f 437e mvn.w r3, #4261412864 ; 0xfe000000 + 80059e8: 9300 str r3, [sp, #0] + 80059ea: 4632 mov r2, r6 + 80059ec: 4603 mov r3, r0 + 80059ee: f44f 1100 mov.w r1, #2097152 ; 0x200000 + 80059f2: 4620 mov r0, r4 + 80059f4: f7ff ff6e bl 80058d4 + 80059f8: 2800 cmp r0, #0 + 80059fa: d0d9 beq.n 80059b0 + 80059fc: 2003 movs r0, #3 + 80059fe: b002 add sp, #8 + 8005a00: bd70 pop {r4, r5, r6, pc} -080059ee : - 80059ee: b510 push {r4, lr} - 80059f0: 4604 mov r4, r0 - 80059f2: b350 cbz r0, 8005a4a - 80059f4: f8d0 3088 ldr.w r3, [r0, #136] ; 0x88 - 80059f8: b91b cbnz r3, 8005a02 - 80059fa: f880 3084 strb.w r3, [r0, #132] ; 0x84 - 80059fe: f7fc f8b7 bl 8001b70 - 8005a02: 6822 ldr r2, [r4, #0] - 8005a04: 2324 movs r3, #36 ; 0x24 - 8005a06: f8c4 3088 str.w r3, [r4, #136] ; 0x88 - 8005a0a: 6813 ldr r3, [r2, #0] - 8005a0c: f023 0301 bic.w r3, r3, #1 - 8005a10: 6013 str r3, [r2, #0] - 8005a12: 4620 mov r0, r4 - 8005a14: f7ff fde8 bl 80055e8 - 8005a18: 2801 cmp r0, #1 - 8005a1a: d016 beq.n 8005a4a - 8005a1c: 6aa3 ldr r3, [r4, #40] ; 0x28 - 8005a1e: b113 cbz r3, 8005a26 - 8005a20: 4620 mov r0, r4 - 8005a22: f7ff fef9 bl 8005818 - 8005a26: 6823 ldr r3, [r4, #0] - 8005a28: 685a ldr r2, [r3, #4] - 8005a2a: f422 4290 bic.w r2, r2, #18432 ; 0x4800 - 8005a2e: 605a str r2, [r3, #4] - 8005a30: 689a ldr r2, [r3, #8] - 8005a32: f022 022a bic.w r2, r2, #42 ; 0x2a - 8005a36: 609a str r2, [r3, #8] - 8005a38: 681a ldr r2, [r3, #0] - 8005a3a: f042 0201 orr.w r2, r2, #1 - 8005a3e: 4620 mov r0, r4 - 8005a40: 601a str r2, [r3, #0] - 8005a42: e8bd 4010 ldmia.w sp!, {r4, lr} - 8005a46: f7ff bf9d b.w 8005984 - 8005a4a: 2001 movs r0, #1 - 8005a4c: bd10 pop {r4, pc} +08005a02 : + 8005a02: b510 push {r4, lr} + 8005a04: 4604 mov r4, r0 + 8005a06: b350 cbz r0, 8005a5e + 8005a08: f8d0 3088 ldr.w r3, [r0, #136] ; 0x88 + 8005a0c: b91b cbnz r3, 8005a16 + 8005a0e: f880 3084 strb.w r3, [r0, #132] ; 0x84 + 8005a12: f7fc f8ad bl 8001b70 + 8005a16: 6822 ldr r2, [r4, #0] + 8005a18: 2324 movs r3, #36 ; 0x24 + 8005a1a: f8c4 3088 str.w r3, [r4, #136] ; 0x88 + 8005a1e: 6813 ldr r3, [r2, #0] + 8005a20: f023 0301 bic.w r3, r3, #1 + 8005a24: 6013 str r3, [r2, #0] + 8005a26: 4620 mov r0, r4 + 8005a28: f7ff fde8 bl 80055fc + 8005a2c: 2801 cmp r0, #1 + 8005a2e: d016 beq.n 8005a5e + 8005a30: 6aa3 ldr r3, [r4, #40] ; 0x28 + 8005a32: b113 cbz r3, 8005a3a + 8005a34: 4620 mov r0, r4 + 8005a36: f7ff fef9 bl 800582c + 8005a3a: 6823 ldr r3, [r4, #0] + 8005a3c: 685a ldr r2, [r3, #4] + 8005a3e: f422 4290 bic.w r2, r2, #18432 ; 0x4800 + 8005a42: 605a str r2, [r3, #4] + 8005a44: 689a ldr r2, [r3, #8] + 8005a46: f022 022a bic.w r2, r2, #42 ; 0x2a + 8005a4a: 609a str r2, [r3, #8] + 8005a4c: 681a ldr r2, [r3, #0] + 8005a4e: f042 0201 orr.w r2, r2, #1 + 8005a52: 4620 mov r0, r4 + 8005a54: 601a str r2, [r3, #0] + 8005a56: e8bd 4010 ldmia.w sp!, {r4, lr} + 8005a5a: f7ff bf9d b.w 8005998 + 8005a5e: 2001 movs r0, #1 + 8005a60: bd10 pop {r4, pc} ... -08005a50 : - 8005a50: b530 push {r4, r5, lr} - 8005a52: 6581 str r1, [r0, #88] ; 0x58 - 8005a54: 6881 ldr r1, [r0, #8] - 8005a56: f8a0 205c strh.w r2, [r0, #92] ; 0x5c - 8005a5a: 2300 movs r3, #0 - 8005a5c: f5b1 5f80 cmp.w r1, #4096 ; 0x1000 - 8005a60: f8a0 205e strh.w r2, [r0, #94] ; 0x5e - 8005a64: 6743 str r3, [r0, #116] ; 0x74 - 8005a66: d135 bne.n 8005ad4 - 8005a68: 6903 ldr r3, [r0, #16] - 8005a6a: 2b00 cmp r3, #0 - 8005a6c: f240 13ff movw r3, #511 ; 0x1ff - 8005a70: bf18 it ne - 8005a72: 23ff movne r3, #255 ; 0xff - 8005a74: f8a0 3060 strh.w r3, [r0, #96] ; 0x60 - 8005a78: 2300 movs r3, #0 - 8005a7a: f8c0 3090 str.w r3, [r0, #144] ; 0x90 - 8005a7e: 2322 movs r3, #34 ; 0x22 - 8005a80: f8c0 308c str.w r3, [r0, #140] ; 0x8c - 8005a84: 6801 ldr r1, [r0, #0] - 8005a86: f101 0308 add.w r3, r1, #8 - 8005a8a: e853 3f00 ldrex r3, [r3] - 8005a8e: f043 0301 orr.w r3, r3, #1 - 8005a92: 3108 adds r1, #8 - 8005a94: e841 3400 strex r4, r3, [r1] - 8005a98: 6803 ldr r3, [r0, #0] - 8005a9a: 2c00 cmp r4, #0 - 8005a9c: d1f2 bne.n 8005a84 - 8005a9e: 6e45 ldr r5, [r0, #100] ; 0x64 - 8005aa0: 6884 ldr r4, [r0, #8] - 8005aa2: 6901 ldr r1, [r0, #16] - 8005aa4: f1b5 5f00 cmp.w r5, #536870912 ; 0x20000000 - 8005aa8: d134 bne.n 8005b14 - 8005aaa: f8b0 5068 ldrh.w r5, [r0, #104] ; 0x68 - 8005aae: 4295 cmp r5, r2 - 8005ab0: d830 bhi.n 8005b14 - 8005ab2: f5b4 5f80 cmp.w r4, #4096 ; 0x1000 - 8005ab6: d11d bne.n 8005af4 - 8005ab8: 4a25 ldr r2, [pc, #148] ; (8005b50 ) - 8005aba: 4c26 ldr r4, [pc, #152] ; (8005b54 ) - 8005abc: 2900 cmp r1, #0 - 8005abe: bf18 it ne - 8005ac0: 4622 movne r2, r4 - 8005ac2: 6742 str r2, [r0, #116] ; 0x74 - 8005ac4: b1c1 cbz r1, 8005af8 - 8005ac6: e853 2f00 ldrex r2, [r3] - 8005aca: f442 7280 orr.w r2, r2, #256 ; 0x100 - 8005ace: e843 2100 strex r1, r2, [r3] - 8005ad2: e7f7 b.n 8005ac4 - 8005ad4: b929 cbnz r1, 8005ae2 - 8005ad6: 6903 ldr r3, [r0, #16] - 8005ad8: 2b00 cmp r3, #0 - 8005ada: bf14 ite ne - 8005adc: 237f movne r3, #127 ; 0x7f - 8005ade: 23ff moveq r3, #255 ; 0xff - 8005ae0: e7c8 b.n 8005a74 - 8005ae2: f1b1 5f80 cmp.w r1, #268435456 ; 0x10000000 - 8005ae6: d1c5 bne.n 8005a74 - 8005ae8: 6903 ldr r3, [r0, #16] - 8005aea: 2b00 cmp r3, #0 - 8005aec: bf0c ite eq - 8005aee: 237f moveq r3, #127 ; 0x7f - 8005af0: 233f movne r3, #63 ; 0x3f - 8005af2: e7bf b.n 8005a74 - 8005af4: 4a17 ldr r2, [pc, #92] ; (8005b54 ) - 8005af6: e7e4 b.n 8005ac2 - 8005af8: f103 0208 add.w r2, r3, #8 - 8005afc: e852 2f00 ldrex r2, [r2] - 8005b00: f042 5280 orr.w r2, r2, #268435456 ; 0x10000000 - 8005b04: f103 0008 add.w r0, r3, #8 - 8005b08: e840 2100 strex r1, r2, [r0] - 8005b0c: 2900 cmp r1, #0 - 8005b0e: d1f3 bne.n 8005af8 - 8005b10: 2000 movs r0, #0 - 8005b12: bd30 pop {r4, r5, pc} - 8005b14: f5b4 5f80 cmp.w r4, #4096 ; 0x1000 - 8005b18: d10f bne.n 8005b3a - 8005b1a: 4a0f ldr r2, [pc, #60] ; (8005b58 ) - 8005b1c: 4c0f ldr r4, [pc, #60] ; (8005b5c ) - 8005b1e: 2900 cmp r1, #0 - 8005b20: bf18 it ne - 8005b22: 4622 movne r2, r4 - 8005b24: 6742 str r2, [r0, #116] ; 0x74 - 8005b26: b151 cbz r1, 8005b3e - 8005b28: e853 2f00 ldrex r2, [r3] - 8005b2c: f442 7290 orr.w r2, r2, #288 ; 0x120 - 8005b30: e843 2100 strex r1, r2, [r3] - 8005b34: 2900 cmp r1, #0 - 8005b36: d1f7 bne.n 8005b28 - 8005b38: e7ea b.n 8005b10 - 8005b3a: 4a08 ldr r2, [pc, #32] ; (8005b5c ) - 8005b3c: e7f2 b.n 8005b24 - 8005b3e: e853 2f00 ldrex r2, [r3] - 8005b42: f042 0220 orr.w r2, r2, #32 - 8005b46: e843 2100 strex r1, r2, [r3] - 8005b4a: 2900 cmp r1, #0 - 8005b4c: d1f7 bne.n 8005b3e - 8005b4e: e7df b.n 8005b10 - 8005b50: 08005451 .word 0x08005451 - 8005b54: 080052b5 .word 0x080052b5 - 8005b58: 080051f1 .word 0x080051f1 - 8005b5c: 08005125 .word 0x08005125 +08005a64 : + 8005a64: b530 push {r4, r5, lr} + 8005a66: 6581 str r1, [r0, #88] ; 0x58 + 8005a68: 6881 ldr r1, [r0, #8] + 8005a6a: f8a0 205c strh.w r2, [r0, #92] ; 0x5c + 8005a6e: 2300 movs r3, #0 + 8005a70: f5b1 5f80 cmp.w r1, #4096 ; 0x1000 + 8005a74: f8a0 205e strh.w r2, [r0, #94] ; 0x5e + 8005a78: 6743 str r3, [r0, #116] ; 0x74 + 8005a7a: d135 bne.n 8005ae8 + 8005a7c: 6903 ldr r3, [r0, #16] + 8005a7e: 2b00 cmp r3, #0 + 8005a80: f240 13ff movw r3, #511 ; 0x1ff + 8005a84: bf18 it ne + 8005a86: 23ff movne r3, #255 ; 0xff + 8005a88: f8a0 3060 strh.w r3, [r0, #96] ; 0x60 + 8005a8c: 2300 movs r3, #0 + 8005a8e: f8c0 3090 str.w r3, [r0, #144] ; 0x90 + 8005a92: 2322 movs r3, #34 ; 0x22 + 8005a94: f8c0 308c str.w r3, [r0, #140] ; 0x8c + 8005a98: 6801 ldr r1, [r0, #0] + 8005a9a: f101 0308 add.w r3, r1, #8 + 8005a9e: e853 3f00 ldrex r3, [r3] + 8005aa2: f043 0301 orr.w r3, r3, #1 + 8005aa6: 3108 adds r1, #8 + 8005aa8: e841 3400 strex r4, r3, [r1] + 8005aac: 6803 ldr r3, [r0, #0] + 8005aae: 2c00 cmp r4, #0 + 8005ab0: d1f2 bne.n 8005a98 + 8005ab2: 6e45 ldr r5, [r0, #100] ; 0x64 + 8005ab4: 6884 ldr r4, [r0, #8] + 8005ab6: 6901 ldr r1, [r0, #16] + 8005ab8: f1b5 5f00 cmp.w r5, #536870912 ; 0x20000000 + 8005abc: d134 bne.n 8005b28 + 8005abe: f8b0 5068 ldrh.w r5, [r0, #104] ; 0x68 + 8005ac2: 4295 cmp r5, r2 + 8005ac4: d830 bhi.n 8005b28 + 8005ac6: f5b4 5f80 cmp.w r4, #4096 ; 0x1000 + 8005aca: d11d bne.n 8005b08 + 8005acc: 4a25 ldr r2, [pc, #148] ; (8005b64 ) + 8005ace: 4c26 ldr r4, [pc, #152] ; (8005b68 ) + 8005ad0: 2900 cmp r1, #0 + 8005ad2: bf18 it ne + 8005ad4: 4622 movne r2, r4 + 8005ad6: 6742 str r2, [r0, #116] ; 0x74 + 8005ad8: b1c1 cbz r1, 8005b0c + 8005ada: e853 2f00 ldrex r2, [r3] + 8005ade: f442 7280 orr.w r2, r2, #256 ; 0x100 + 8005ae2: e843 2100 strex r1, r2, [r3] + 8005ae6: e7f7 b.n 8005ad8 + 8005ae8: b929 cbnz r1, 8005af6 + 8005aea: 6903 ldr r3, [r0, #16] + 8005aec: 2b00 cmp r3, #0 + 8005aee: bf14 ite ne + 8005af0: 237f movne r3, #127 ; 0x7f + 8005af2: 23ff moveq r3, #255 ; 0xff + 8005af4: e7c8 b.n 8005a88 + 8005af6: f1b1 5f80 cmp.w r1, #268435456 ; 0x10000000 + 8005afa: d1c5 bne.n 8005a88 + 8005afc: 6903 ldr r3, [r0, #16] + 8005afe: 2b00 cmp r3, #0 + 8005b00: bf0c ite eq + 8005b02: 237f moveq r3, #127 ; 0x7f + 8005b04: 233f movne r3, #63 ; 0x3f + 8005b06: e7bf b.n 8005a88 + 8005b08: 4a17 ldr r2, [pc, #92] ; (8005b68 ) + 8005b0a: e7e4 b.n 8005ad6 + 8005b0c: f103 0208 add.w r2, r3, #8 + 8005b10: e852 2f00 ldrex r2, [r2] + 8005b14: f042 5280 orr.w r2, r2, #268435456 ; 0x10000000 + 8005b18: f103 0008 add.w r0, r3, #8 + 8005b1c: e840 2100 strex r1, r2, [r0] + 8005b20: 2900 cmp r1, #0 + 8005b22: d1f3 bne.n 8005b0c + 8005b24: 2000 movs r0, #0 + 8005b26: bd30 pop {r4, r5, pc} + 8005b28: f5b4 5f80 cmp.w r4, #4096 ; 0x1000 + 8005b2c: d10f bne.n 8005b4e + 8005b2e: 4a0f ldr r2, [pc, #60] ; (8005b6c ) + 8005b30: 4c0f ldr r4, [pc, #60] ; (8005b70 ) + 8005b32: 2900 cmp r1, #0 + 8005b34: bf18 it ne + 8005b36: 4622 movne r2, r4 + 8005b38: 6742 str r2, [r0, #116] ; 0x74 + 8005b3a: b151 cbz r1, 8005b52 + 8005b3c: e853 2f00 ldrex r2, [r3] + 8005b40: f442 7290 orr.w r2, r2, #288 ; 0x120 + 8005b44: e843 2100 strex r1, r2, [r3] + 8005b48: 2900 cmp r1, #0 + 8005b4a: d1f7 bne.n 8005b3c + 8005b4c: e7ea b.n 8005b24 + 8005b4e: 4a08 ldr r2, [pc, #32] ; (8005b70 ) + 8005b50: e7f2 b.n 8005b38 + 8005b52: e853 2f00 ldrex r2, [r3] + 8005b56: f042 0220 orr.w r2, r2, #32 + 8005b5a: e843 2100 strex r1, r2, [r3] + 8005b5e: 2900 cmp r1, #0 + 8005b60: d1f7 bne.n 8005b52 + 8005b62: e7df b.n 8005b24 + 8005b64: 08005465 .word 0x08005465 + 8005b68: 080052c9 .word 0x080052c9 + 8005b6c: 08005205 .word 0x08005205 + 8005b70: 08005139 .word 0x08005139 -08005b60 : - 8005b60: f8d0 308c ldr.w r3, [r0, #140] ; 0x8c - 8005b64: 2b20 cmp r3, #32 - 8005b66: b430 push {r4, r5} - 8005b68: d115 bne.n 8005b96 - 8005b6a: b1b9 cbz r1, 8005b9c - 8005b6c: b1b2 cbz r2, 8005b9c - 8005b6e: 2300 movs r3, #0 - 8005b70: 6804 ldr r4, [r0, #0] - 8005b72: 66c3 str r3, [r0, #108] ; 0x6c - 8005b74: 4b0a ldr r3, [pc, #40] ; (8005ba0 ) - 8005b76: 429c cmp r4, r3 - 8005b78: d00a beq.n 8005b90 - 8005b7a: 6863 ldr r3, [r4, #4] - 8005b7c: 021b lsls r3, r3, #8 - 8005b7e: d507 bpl.n 8005b90 - 8005b80: e854 3f00 ldrex r3, [r4] - 8005b84: f043 6380 orr.w r3, r3, #67108864 ; 0x4000000 - 8005b88: e844 3500 strex r5, r3, [r4] - 8005b8c: 2d00 cmp r5, #0 - 8005b8e: d1f7 bne.n 8005b80 - 8005b90: bc30 pop {r4, r5} - 8005b92: f7ff bf5d b.w 8005a50 - 8005b96: 2002 movs r0, #2 - 8005b98: bc30 pop {r4, r5} - 8005b9a: 4770 bx lr - 8005b9c: 2001 movs r0, #1 - 8005b9e: e7fb b.n 8005b98 - 8005ba0: 40008000 .word 0x40008000 +08005b74 : + 8005b74: f8d0 308c ldr.w r3, [r0, #140] ; 0x8c + 8005b78: 2b20 cmp r3, #32 + 8005b7a: b430 push {r4, r5} + 8005b7c: d115 bne.n 8005baa + 8005b7e: b1b9 cbz r1, 8005bb0 + 8005b80: b1b2 cbz r2, 8005bb0 + 8005b82: 2300 movs r3, #0 + 8005b84: 6804 ldr r4, [r0, #0] + 8005b86: 66c3 str r3, [r0, #108] ; 0x6c + 8005b88: 4b0a ldr r3, [pc, #40] ; (8005bb4 ) + 8005b8a: 429c cmp r4, r3 + 8005b8c: d00a beq.n 8005ba4 + 8005b8e: 6863 ldr r3, [r4, #4] + 8005b90: 021b lsls r3, r3, #8 + 8005b92: d507 bpl.n 8005ba4 + 8005b94: e854 3f00 ldrex r3, [r4] + 8005b98: f043 6380 orr.w r3, r3, #67108864 ; 0x4000000 + 8005b9c: e844 3500 strex r5, r3, [r4] + 8005ba0: 2d00 cmp r5, #0 + 8005ba2: d1f7 bne.n 8005b94 + 8005ba4: bc30 pop {r4, r5} + 8005ba6: f7ff bf5d b.w 8005a64 + 8005baa: 2002 movs r0, #2 + 8005bac: bc30 pop {r4, r5} + 8005bae: 4770 bx lr + 8005bb0: 2001 movs r0, #1 + 8005bb2: e7fb b.n 8005bac + 8005bb4: 40008000 .word 0x40008000 -08005ba4 : - 8005ba4: 6e43 ldr r3, [r0, #100] ; 0x64 - 8005ba6: b530 push {r4, r5, lr} - 8005ba8: b92b cbnz r3, 8005bb6 - 8005baa: 2301 movs r3, #1 - 8005bac: f8a0 306a strh.w r3, [r0, #106] ; 0x6a - 8005bb0: f8a0 3068 strh.w r3, [r0, #104] ; 0x68 - 8005bb4: bd30 pop {r4, r5, pc} - 8005bb6: 6803 ldr r3, [r0, #0] - 8005bb8: 4d09 ldr r5, [pc, #36] ; (8005be0 ) - 8005bba: 689a ldr r2, [r3, #8] - 8005bbc: 6899 ldr r1, [r3, #8] - 8005bbe: 4c09 ldr r4, [pc, #36] ; (8005be4 ) - 8005bc0: 0f49 lsrs r1, r1, #29 - 8005bc2: f3c2 6242 ubfx r2, r2, #25, #3 - 8005bc6: 5c6b ldrb r3, [r5, r1] - 8005bc8: 5c61 ldrb r1, [r4, r1] - 8005bca: 00db lsls r3, r3, #3 - 8005bcc: fbb3 f3f1 udiv r3, r3, r1 - 8005bd0: f8a0 306a strh.w r3, [r0, #106] ; 0x6a - 8005bd4: 5cab ldrb r3, [r5, r2] - 8005bd6: 5ca2 ldrb r2, [r4, r2] - 8005bd8: 00db lsls r3, r3, #3 - 8005bda: fbb3 f3f2 udiv r3, r3, r2 - 8005bde: e7e7 b.n 8005bb0 - 8005be0: 0800f258 .word 0x0800f258 - 8005be4: 0800f250 .word 0x0800f250 +08005bb8 : + 8005bb8: 6e43 ldr r3, [r0, #100] ; 0x64 + 8005bba: b530 push {r4, r5, lr} + 8005bbc: b92b cbnz r3, 8005bca + 8005bbe: 2301 movs r3, #1 + 8005bc0: f8a0 306a strh.w r3, [r0, #106] ; 0x6a + 8005bc4: f8a0 3068 strh.w r3, [r0, #104] ; 0x68 + 8005bc8: bd30 pop {r4, r5, pc} + 8005bca: 6803 ldr r3, [r0, #0] + 8005bcc: 4d09 ldr r5, [pc, #36] ; (8005bf4 ) + 8005bce: 689a ldr r2, [r3, #8] + 8005bd0: 6899 ldr r1, [r3, #8] + 8005bd2: 4c09 ldr r4, [pc, #36] ; (8005bf8 ) + 8005bd4: 0f49 lsrs r1, r1, #29 + 8005bd6: f3c2 6242 ubfx r2, r2, #25, #3 + 8005bda: 5c6b ldrb r3, [r5, r1] + 8005bdc: 5c61 ldrb r1, [r4, r1] + 8005bde: 00db lsls r3, r3, #3 + 8005be0: fbb3 f3f1 udiv r3, r3, r1 + 8005be4: f8a0 306a strh.w r3, [r0, #106] ; 0x6a + 8005be8: 5cab ldrb r3, [r5, r2] + 8005bea: 5ca2 ldrb r2, [r4, r2] + 8005bec: 00db lsls r3, r3, #3 + 8005bee: fbb3 f3f2 udiv r3, r3, r2 + 8005bf2: e7e7 b.n 8005bc4 + 8005bf4: 0800f268 .word 0x0800f268 + 8005bf8: 0800f260 .word 0x0800f260 -08005be8 : - 8005be8: 4770 bx lr +08005bfc : + 8005bfc: 4770 bx lr -08005bea : - 8005bea: 4770 bx lr +08005bfe : + 8005bfe: 4770 bx lr -08005bec : - 8005bec: 4770 bx lr +08005c00 : + 8005c00: 4770 bx lr -08005bee : - 8005bee: b51f push {r0, r1, r2, r3, r4, lr} - 8005bf0: ab04 add r3, sp, #16 - 8005bf2: e903 0006 stmdb r3, {r1, r2} - 8005bf6: f890 3084 ldrb.w r3, [r0, #132] ; 0x84 - 8005bfa: 2b01 cmp r3, #1 - 8005bfc: 4604 mov r4, r0 - 8005bfe: d03a beq.n 8005c76 - 8005c00: 2301 movs r3, #1 - 8005c02: f880 3084 strb.w r3, [r0, #132] ; 0x84 - 8005c06: 2324 movs r3, #36 ; 0x24 - 8005c08: f8c0 3088 str.w r3, [r0, #136] ; 0x88 - 8005c0c: 6803 ldr r3, [r0, #0] - 8005c0e: 681a ldr r2, [r3, #0] - 8005c10: f022 0201 bic.w r2, r2, #1 - 8005c14: 601a str r2, [r3, #0] - 8005c16: 689a ldr r2, [r3, #8] - 8005c18: f422 1240 bic.w r2, r2, #3145728 ; 0x300000 - 8005c1c: 430a orrs r2, r1 - 8005c1e: 609a str r2, [r3, #8] - 8005c20: b971 cbnz r1, 8005c40 - 8005c22: 685a ldr r2, [r3, #4] - 8005c24: f8bd 000c ldrh.w r0, [sp, #12] - 8005c28: f89d 100e ldrb.w r1, [sp, #14] - 8005c2c: f022 0210 bic.w r2, r2, #16 - 8005c30: 4302 orrs r2, r0 - 8005c32: 605a str r2, [r3, #4] - 8005c34: 685a ldr r2, [r3, #4] - 8005c36: f022 427f bic.w r2, r2, #4278190080 ; 0xff000000 - 8005c3a: ea42 6201 orr.w r2, r2, r1, lsl #24 - 8005c3e: 605a str r2, [r3, #4] - 8005c40: 681a ldr r2, [r3, #0] - 8005c42: f042 0201 orr.w r2, r2, #1 - 8005c46: 601a str r2, [r3, #0] - 8005c48: f7fb fe40 bl 80018cc - 8005c4c: f06f 427e mvn.w r2, #4261412864 ; 0xfe000000 - 8005c50: 4603 mov r3, r0 - 8005c52: 9200 str r2, [sp, #0] - 8005c54: f44f 0180 mov.w r1, #4194304 ; 0x400000 - 8005c58: 2200 movs r2, #0 - 8005c5a: 4620 mov r0, r4 - 8005c5c: f7ff fe30 bl 80058c0 - 8005c60: b938 cbnz r0, 8005c72 - 8005c62: 2320 movs r3, #32 - 8005c64: f8c4 3088 str.w r3, [r4, #136] ; 0x88 - 8005c68: 2300 movs r3, #0 - 8005c6a: f884 3084 strb.w r3, [r4, #132] ; 0x84 - 8005c6e: b004 add sp, #16 - 8005c70: bd10 pop {r4, pc} - 8005c72: 2003 movs r0, #3 - 8005c74: e7f8 b.n 8005c68 - 8005c76: 2002 movs r0, #2 - 8005c78: e7f9 b.n 8005c6e +08005c02 : + 8005c02: b51f push {r0, r1, r2, r3, r4, lr} + 8005c04: ab04 add r3, sp, #16 + 8005c06: e903 0006 stmdb r3, {r1, r2} + 8005c0a: f890 3084 ldrb.w r3, [r0, #132] ; 0x84 + 8005c0e: 2b01 cmp r3, #1 + 8005c10: 4604 mov r4, r0 + 8005c12: d03a beq.n 8005c8a + 8005c14: 2301 movs r3, #1 + 8005c16: f880 3084 strb.w r3, [r0, #132] ; 0x84 + 8005c1a: 2324 movs r3, #36 ; 0x24 + 8005c1c: f8c0 3088 str.w r3, [r0, #136] ; 0x88 + 8005c20: 6803 ldr r3, [r0, #0] + 8005c22: 681a ldr r2, [r3, #0] + 8005c24: f022 0201 bic.w r2, r2, #1 + 8005c28: 601a str r2, [r3, #0] + 8005c2a: 689a ldr r2, [r3, #8] + 8005c2c: f422 1240 bic.w r2, r2, #3145728 ; 0x300000 + 8005c30: 430a orrs r2, r1 + 8005c32: 609a str r2, [r3, #8] + 8005c34: b971 cbnz r1, 8005c54 + 8005c36: 685a ldr r2, [r3, #4] + 8005c38: f8bd 000c ldrh.w r0, [sp, #12] + 8005c3c: f89d 100e ldrb.w r1, [sp, #14] + 8005c40: f022 0210 bic.w r2, r2, #16 + 8005c44: 4302 orrs r2, r0 + 8005c46: 605a str r2, [r3, #4] + 8005c48: 685a ldr r2, [r3, #4] + 8005c4a: f022 427f bic.w r2, r2, #4278190080 ; 0xff000000 + 8005c4e: ea42 6201 orr.w r2, r2, r1, lsl #24 + 8005c52: 605a str r2, [r3, #4] + 8005c54: 681a ldr r2, [r3, #0] + 8005c56: f042 0201 orr.w r2, r2, #1 + 8005c5a: 601a str r2, [r3, #0] + 8005c5c: f7fb fe36 bl 80018cc + 8005c60: f06f 427e mvn.w r2, #4261412864 ; 0xfe000000 + 8005c64: 4603 mov r3, r0 + 8005c66: 9200 str r2, [sp, #0] + 8005c68: f44f 0180 mov.w r1, #4194304 ; 0x400000 + 8005c6c: 2200 movs r2, #0 + 8005c6e: 4620 mov r0, r4 + 8005c70: f7ff fe30 bl 80058d4 + 8005c74: b938 cbnz r0, 8005c86 + 8005c76: 2320 movs r3, #32 + 8005c78: f8c4 3088 str.w r3, [r4, #136] ; 0x88 + 8005c7c: 2300 movs r3, #0 + 8005c7e: f884 3084 strb.w r3, [r4, #132] ; 0x84 + 8005c82: b004 add sp, #16 + 8005c84: bd10 pop {r4, pc} + 8005c86: 2003 movs r0, #3 + 8005c88: e7f8 b.n 8005c7c + 8005c8a: 2002 movs r0, #2 + 8005c8c: e7f9 b.n 8005c82 -08005c7a : - 8005c7a: f890 3084 ldrb.w r3, [r0, #132] ; 0x84 - 8005c7e: 2b01 cmp r3, #1 - 8005c80: d00f beq.n 8005ca2 - 8005c82: 2301 movs r3, #1 - 8005c84: f880 3084 strb.w r3, [r0, #132] ; 0x84 - 8005c88: 6801 ldr r1, [r0, #0] - 8005c8a: e851 2f00 ldrex r2, [r1] - 8005c8e: f042 0202 orr.w r2, r2, #2 - 8005c92: e841 2300 strex r3, r2, [r1] - 8005c96: 2b00 cmp r3, #0 - 8005c98: d1f6 bne.n 8005c88 - 8005c9a: f880 3084 strb.w r3, [r0, #132] ; 0x84 - 8005c9e: 4618 mov r0, r3 - 8005ca0: 4770 bx lr - 8005ca2: 2002 movs r0, #2 - 8005ca4: 4770 bx lr +08005c8e : + 8005c8e: f890 3084 ldrb.w r3, [r0, #132] ; 0x84 + 8005c92: 2b01 cmp r3, #1 + 8005c94: d00f beq.n 8005cb6 + 8005c96: 2301 movs r3, #1 + 8005c98: f880 3084 strb.w r3, [r0, #132] ; 0x84 + 8005c9c: 6801 ldr r1, [r0, #0] + 8005c9e: e851 2f00 ldrex r2, [r1] + 8005ca2: f042 0202 orr.w r2, r2, #2 + 8005ca6: e841 2300 strex r3, r2, [r1] + 8005caa: 2b00 cmp r3, #0 + 8005cac: d1f6 bne.n 8005c9c + 8005cae: f880 3084 strb.w r3, [r0, #132] ; 0x84 + 8005cb2: 4618 mov r0, r3 + 8005cb4: 4770 bx lr + 8005cb6: 2002 movs r0, #2 + 8005cb8: 4770 bx lr -08005ca6 : - 8005ca6: b510 push {r4, lr} - 8005ca8: f890 3084 ldrb.w r3, [r0, #132] ; 0x84 - 8005cac: 2b01 cmp r3, #1 - 8005cae: 4604 mov r4, r0 - 8005cb0: d017 beq.n 8005ce2 - 8005cb2: 2324 movs r3, #36 ; 0x24 - 8005cb4: f8c0 3088 str.w r3, [r0, #136] ; 0x88 - 8005cb8: 6803 ldr r3, [r0, #0] - 8005cba: 681a ldr r2, [r3, #0] - 8005cbc: 6819 ldr r1, [r3, #0] - 8005cbe: f021 0101 bic.w r1, r1, #1 - 8005cc2: 6019 str r1, [r3, #0] - 8005cc4: f042 5200 orr.w r2, r2, #536870912 ; 0x20000000 - 8005cc8: f04f 5100 mov.w r1, #536870912 ; 0x20000000 - 8005ccc: 6641 str r1, [r0, #100] ; 0x64 - 8005cce: 601a str r2, [r3, #0] - 8005cd0: f7ff ff68 bl 8005ba4 - 8005cd4: 2320 movs r3, #32 - 8005cd6: f8c0 3088 str.w r3, [r0, #136] ; 0x88 - 8005cda: 2000 movs r0, #0 - 8005cdc: f884 0084 strb.w r0, [r4, #132] ; 0x84 - 8005ce0: bd10 pop {r4, pc} - 8005ce2: 2002 movs r0, #2 - 8005ce4: e7fc b.n 8005ce0 +08005cba : + 8005cba: b510 push {r4, lr} + 8005cbc: f890 3084 ldrb.w r3, [r0, #132] ; 0x84 + 8005cc0: 2b01 cmp r3, #1 + 8005cc2: 4604 mov r4, r0 + 8005cc4: d017 beq.n 8005cf6 + 8005cc6: 2324 movs r3, #36 ; 0x24 + 8005cc8: f8c0 3088 str.w r3, [r0, #136] ; 0x88 + 8005ccc: 6803 ldr r3, [r0, #0] + 8005cce: 681a ldr r2, [r3, #0] + 8005cd0: 6819 ldr r1, [r3, #0] + 8005cd2: f021 0101 bic.w r1, r1, #1 + 8005cd6: 6019 str r1, [r3, #0] + 8005cd8: f042 5200 orr.w r2, r2, #536870912 ; 0x20000000 + 8005cdc: f04f 5100 mov.w r1, #536870912 ; 0x20000000 + 8005ce0: 6641 str r1, [r0, #100] ; 0x64 + 8005ce2: 601a str r2, [r3, #0] + 8005ce4: f7ff ff68 bl 8005bb8 + 8005ce8: 2320 movs r3, #32 + 8005cea: f8c0 3088 str.w r3, [r0, #136] ; 0x88 + 8005cee: 2000 movs r0, #0 + 8005cf0: f884 0084 strb.w r0, [r4, #132] ; 0x84 + 8005cf4: bd10 pop {r4, pc} + 8005cf6: 2002 movs r0, #2 + 8005cf8: e7fc b.n 8005cf4 -08005ce6 : - 8005ce6: b570 push {r4, r5, r6, lr} - 8005ce8: f890 3084 ldrb.w r3, [r0, #132] ; 0x84 - 8005cec: 2b01 cmp r3, #1 - 8005cee: 4604 mov r4, r0 - 8005cf0: d017 beq.n 8005d22 - 8005cf2: 6805 ldr r5, [r0, #0] - 8005cf4: 2324 movs r3, #36 ; 0x24 - 8005cf6: f8c0 3088 str.w r3, [r0, #136] ; 0x88 - 8005cfa: 682e ldr r6, [r5, #0] - 8005cfc: 682b ldr r3, [r5, #0] - 8005cfe: f023 0301 bic.w r3, r3, #1 - 8005d02: 602b str r3, [r5, #0] - 8005d04: 68ab ldr r3, [r5, #8] - 8005d06: f023 4360 bic.w r3, r3, #3758096384 ; 0xe0000000 - 8005d0a: 4319 orrs r1, r3 - 8005d0c: 60a9 str r1, [r5, #8] - 8005d0e: f7ff ff49 bl 8005ba4 - 8005d12: 2320 movs r3, #32 - 8005d14: 602e str r6, [r5, #0] - 8005d16: f8c0 3088 str.w r3, [r0, #136] ; 0x88 - 8005d1a: 2000 movs r0, #0 - 8005d1c: f884 0084 strb.w r0, [r4, #132] ; 0x84 - 8005d20: bd70 pop {r4, r5, r6, pc} - 8005d22: 2002 movs r0, #2 - 8005d24: e7fc b.n 8005d20 +08005cfa : + 8005cfa: b570 push {r4, r5, r6, lr} + 8005cfc: f890 3084 ldrb.w r3, [r0, #132] ; 0x84 + 8005d00: 2b01 cmp r3, #1 + 8005d02: 4604 mov r4, r0 + 8005d04: d017 beq.n 8005d36 + 8005d06: 6805 ldr r5, [r0, #0] + 8005d08: 2324 movs r3, #36 ; 0x24 + 8005d0a: f8c0 3088 str.w r3, [r0, #136] ; 0x88 + 8005d0e: 682e ldr r6, [r5, #0] + 8005d10: 682b ldr r3, [r5, #0] + 8005d12: f023 0301 bic.w r3, r3, #1 + 8005d16: 602b str r3, [r5, #0] + 8005d18: 68ab ldr r3, [r5, #8] + 8005d1a: f023 4360 bic.w r3, r3, #3758096384 ; 0xe0000000 + 8005d1e: 4319 orrs r1, r3 + 8005d20: 60a9 str r1, [r5, #8] + 8005d22: f7ff ff49 bl 8005bb8 + 8005d26: 2320 movs r3, #32 + 8005d28: 602e str r6, [r5, #0] + 8005d2a: f8c0 3088 str.w r3, [r0, #136] ; 0x88 + 8005d2e: 2000 movs r0, #0 + 8005d30: f884 0084 strb.w r0, [r4, #132] ; 0x84 + 8005d34: bd70 pop {r4, r5, r6, pc} + 8005d36: 2002 movs r0, #2 + 8005d38: e7fc b.n 8005d34 ... -08005d28 : - 8005d28: b538 push {r3, r4, r5, lr} - 8005d2a: 4d08 ldr r5, [pc, #32] ; (8005d4c ) - 8005d2c: 2405 movs r4, #5 - 8005d2e: f855 3b04 ldr.w r3, [r5], #4 - 8005d32: b92b cbnz r3, 8005d40 - 8005d34: 3c01 subs r4, #1 - 8005d36: f014 04ff ands.w r4, r4, #255 ; 0xff - 8005d3a: d1f8 bne.n 8005d2e - 8005d3c: 4620 mov r0, r4 - 8005d3e: bd38 pop {r3, r4, r5, pc} - 8005d40: 68db ldr r3, [r3, #12] - 8005d42: 4798 blx r3 - 8005d44: 2800 cmp r0, #0 - 8005d46: d0f5 beq.n 8005d34 - 8005d48: e7f9 b.n 8005d3e - 8005d4a: bf00 nop - 8005d4c: 20000584 .word 0x20000584 +08005d3c : + 8005d3c: b538 push {r3, r4, r5, lr} + 8005d3e: 4d08 ldr r5, [pc, #32] ; (8005d60 ) + 8005d40: 2405 movs r4, #5 + 8005d42: f855 3b04 ldr.w r3, [r5], #4 + 8005d46: b92b cbnz r3, 8005d54 + 8005d48: 3c01 subs r4, #1 + 8005d4a: f014 04ff ands.w r4, r4, #255 ; 0xff + 8005d4e: d1f8 bne.n 8005d42 + 8005d50: 4620 mov r0, r4 + 8005d52: bd38 pop {r3, r4, r5, pc} + 8005d54: 68db ldr r3, [r3, #12] + 8005d56: 4798 blx r3 + 8005d58: 2800 cmp r0, #0 + 8005d5a: d0f5 beq.n 8005d48 + 8005d5c: e7f9 b.n 8005d52 + 8005d5e: bf00 nop + 8005d60: 20000584 .word 0x20000584 -08005d50 : - 8005d50: 4b03 ldr r3, [pc, #12] ; (8005d60 ) - 8005d52: 70d8 strb r0, [r3, #3] - 8005d54: 4b03 ldr r3, [pc, #12] ; (8005d64 ) - 8005d56: 681b ldr r3, [r3, #0] - 8005d58: 6c1b ldr r3, [r3, #64] ; 0x40 - 8005d5a: b103 cbz r3, 8005d5e - 8005d5c: 4718 bx r3 - 8005d5e: 4770 bx lr - 8005d60: 20000598 .word 0x20000598 - 8005d64: 20000580 .word 0x20000580 +08005d64 : + 8005d64: 4b03 ldr r3, [pc, #12] ; (8005d74 ) + 8005d66: 70d8 strb r0, [r3, #3] + 8005d68: 4b03 ldr r3, [pc, #12] ; (8005d78 ) + 8005d6a: 681b ldr r3, [r3, #0] + 8005d6c: 6c1b ldr r3, [r3, #64] ; 0x40 + 8005d6e: b103 cbz r3, 8005d72 + 8005d70: 4718 bx r3 + 8005d72: 4770 bx lr + 8005d74: 20000598 .word 0x20000598 + 8005d78: 20000580 .word 0x20000580 -08005d68 : - 8005d68: 4b03 ldr r3, [pc, #12] ; (8005d78 ) - 8005d6a: 7418 strb r0, [r3, #16] - 8005d6c: 4b03 ldr r3, [pc, #12] ; (8005d7c ) - 8005d6e: 681b ldr r3, [r3, #0] - 8005d70: 6c5b ldr r3, [r3, #68] ; 0x44 - 8005d72: b103 cbz r3, 8005d76 - 8005d74: 4718 bx r3 - 8005d76: 4770 bx lr - 8005d78: 20000598 .word 0x20000598 - 8005d7c: 20000580 .word 0x20000580 +08005d7c : + 8005d7c: 4b03 ldr r3, [pc, #12] ; (8005d8c ) + 8005d7e: 7418 strb r0, [r3, #16] + 8005d80: 4b03 ldr r3, [pc, #12] ; (8005d90 ) + 8005d82: 681b ldr r3, [r3, #0] + 8005d84: 6c5b ldr r3, [r3, #68] ; 0x44 + 8005d86: b103 cbz r3, 8005d8a + 8005d88: 4718 bx r3 + 8005d8a: 4770 bx lr + 8005d8c: 20000598 .word 0x20000598 + 8005d90: 20000580 .word 0x20000580 -08005d80 : - 8005d80: b5f0 push {r4, r5, r6, r7, lr} - 8005d82: 4d31 ldr r5, [pc, #196] ; (8005e48 ) - 8005d84: 4b31 ldr r3, [pc, #196] ; (8005e4c ) - 8005d86: f995 2004 ldrsb.w r2, [r5, #4] - 8005d8a: 4e31 ldr r6, [pc, #196] ; (8005e50 ) - 8005d8c: b091 sub sp, #68 ; 0x44 - 8005d8e: 460c mov r4, r1 - 8005d90: 2701 movs r7, #1 - 8005d92: f995 1005 ldrsb.w r1, [r5, #5] - 8005d96: f88d 7004 strb.w r7, [sp, #4] - 8005d9a: 2802 cmp r0, #2 - 8005d9c: f88d 2009 strb.w r2, [sp, #9] - 8005da0: f88d 100a strb.w r1, [sp, #10] - 8005da4: d110 bne.n 8005dc8 - 8005da6: f88d 0008 strb.w r0, [sp, #8] - 8005daa: 71d8 strb r0, [r3, #7] - 8005dac: 721c strb r4, [r3, #8] - 8005dae: f002 fd9f bl 80088f0 - 8005db2: 7833 ldrb r3, [r6, #0] - 8005db4: b103 cbz r3, 8005db8 - 8005db6: b114 cbz r4, 8005dbe - 8005db8: a801 add r0, sp, #4 - 8005dba: f003 fa03 bl 80091c4 - 8005dbe: 4b25 ldr r3, [pc, #148] ; (8005e54 ) - 8005dc0: 9a05 ldr r2, [sp, #20] - 8005dc2: 601a str r2, [r3, #0] - 8005dc4: b011 add sp, #68 ; 0x44 - 8005dc6: bdf0 pop {r4, r5, r6, r7, pc} - 8005dc8: 7159 strb r1, [r3, #5] - 8005dca: f44f 7180 mov.w r1, #256 ; 0x100 - 8005dce: 711a strb r2, [r3, #4] - 8005dd0: 80d9 strh r1, [r3, #6] - 8005dd2: 721c strb r4, [r3, #8] - 8005dd4: 7833 ldrb r3, [r6, #0] - 8005dd6: f88d 7008 strb.w r7, [sp, #8] - 8005dda: bb53 cbnz r3, 8005e32 - 8005ddc: 231f movs r3, #31 - 8005dde: a806 add r0, sp, #24 - 8005de0: f88d 201c strb.w r2, [sp, #28] - 8005de4: f88d 3018 strb.w r3, [sp, #24] - 8005de8: f002 ff64 bl 8008cb4 - 8005dec: 2320 movs r3, #32 - 8005dee: f88d 3018 strb.w r3, [sp, #24] +08005d94 : + 8005d94: b5f0 push {r4, r5, r6, r7, lr} + 8005d96: 4d31 ldr r5, [pc, #196] ; (8005e5c ) + 8005d98: 4b31 ldr r3, [pc, #196] ; (8005e60 ) + 8005d9a: f995 2004 ldrsb.w r2, [r5, #4] + 8005d9e: 4e31 ldr r6, [pc, #196] ; (8005e64 ) + 8005da0: b091 sub sp, #68 ; 0x44 + 8005da2: 460c mov r4, r1 + 8005da4: 2701 movs r7, #1 + 8005da6: f995 1005 ldrsb.w r1, [r5, #5] + 8005daa: f88d 7004 strb.w r7, [sp, #4] + 8005dae: 2802 cmp r0, #2 + 8005db0: f88d 2009 strb.w r2, [sp, #9] + 8005db4: f88d 100a strb.w r1, [sp, #10] + 8005db8: d110 bne.n 8005ddc + 8005dba: f88d 0008 strb.w r0, [sp, #8] + 8005dbe: 71d8 strb r0, [r3, #7] + 8005dc0: 721c strb r4, [r3, #8] + 8005dc2: f002 fd9f bl 8008904 + 8005dc6: 7833 ldrb r3, [r6, #0] + 8005dc8: b103 cbz r3, 8005dcc + 8005dca: b114 cbz r4, 8005dd2 + 8005dcc: a801 add r0, sp, #4 + 8005dce: f003 fa03 bl 80091d8 + 8005dd2: 4b25 ldr r3, [pc, #148] ; (8005e68 ) + 8005dd4: 9a05 ldr r2, [sp, #20] + 8005dd6: 601a str r2, [r3, #0] + 8005dd8: b011 add sp, #68 ; 0x44 + 8005dda: bdf0 pop {r4, r5, r6, r7, pc} + 8005ddc: 7159 strb r1, [r3, #5] + 8005dde: f44f 7180 mov.w r1, #256 ; 0x100 + 8005de2: 711a strb r2, [r3, #4] + 8005de4: 80d9 strh r1, [r3, #6] + 8005de6: 721c strb r4, [r3, #8] + 8005de8: 7833 ldrb r3, [r6, #0] + 8005dea: f88d 7008 strb.w r7, [sp, #8] + 8005dee: bb53 cbnz r3, 8005e46 + 8005df0: 231f movs r3, #31 8005df2: a806 add r0, sp, #24 - 8005df4: 792b ldrb r3, [r5, #4] - 8005df6: f88d 301c strb.w r3, [sp, #28] - 8005dfa: f002 ff5b bl 8008cb4 - 8005dfe: 2322 movs r3, #34 ; 0x22 - 8005e00: f88d 3018 strb.w r3, [sp, #24] - 8005e04: a806 add r0, sp, #24 - 8005e06: 796b ldrb r3, [r5, #5] - 8005e08: f88d 301c strb.w r3, [sp, #28] - 8005e0c: f002 ff52 bl 8008cb4 - 8005e10: 2321 movs r3, #33 ; 0x21 - 8005e12: f88d 3018 strb.w r3, [sp, #24] - 8005e16: a806 add r0, sp, #24 - 8005e18: 796b ldrb r3, [r5, #5] - 8005e1a: f88d 301c strb.w r3, [sp, #28] - 8005e1e: f002 ff49 bl 8008cb4 - 8005e22: 2329 movs r3, #41 ; 0x29 - 8005e24: f88d 3018 strb.w r3, [sp, #24] - 8005e28: a806 add r0, sp, #24 - 8005e2a: 4b0b ldr r3, [pc, #44] ; (8005e58 ) - 8005e2c: 9307 str r3, [sp, #28] - 8005e2e: f002 ff41 bl 8008cb4 - 8005e32: f002 fd5d bl 80088f0 - 8005e36: 2301 movs r3, #1 - 8005e38: a806 add r0, sp, #24 - 8005e3a: f88d 3018 strb.w r3, [sp, #24] - 8005e3e: f88d 301c strb.w r3, [sp, #28] - 8005e42: f002 ff37 bl 8008cb4 - 8005e46: e7b4 b.n 8005db2 - 8005e48: 20000598 .word 0x20000598 - 8005e4c: 2000007c .word 0x2000007c - 8005e50: 20000574 .word 0x20000574 - 8005e54: 20000578 .word 0x20000578 - 8005e58: 01000400 .word 0x01000400 + 8005df4: f88d 201c strb.w r2, [sp, #28] + 8005df8: f88d 3018 strb.w r3, [sp, #24] + 8005dfc: f002 ff64 bl 8008cc8 + 8005e00: 2320 movs r3, #32 + 8005e02: f88d 3018 strb.w r3, [sp, #24] + 8005e06: a806 add r0, sp, #24 + 8005e08: 792b ldrb r3, [r5, #4] + 8005e0a: f88d 301c strb.w r3, [sp, #28] + 8005e0e: f002 ff5b bl 8008cc8 + 8005e12: 2322 movs r3, #34 ; 0x22 + 8005e14: f88d 3018 strb.w r3, [sp, #24] + 8005e18: a806 add r0, sp, #24 + 8005e1a: 796b ldrb r3, [r5, #5] + 8005e1c: f88d 301c strb.w r3, [sp, #28] + 8005e20: f002 ff52 bl 8008cc8 + 8005e24: 2321 movs r3, #33 ; 0x21 + 8005e26: f88d 3018 strb.w r3, [sp, #24] + 8005e2a: a806 add r0, sp, #24 + 8005e2c: 796b ldrb r3, [r5, #5] + 8005e2e: f88d 301c strb.w r3, [sp, #28] + 8005e32: f002 ff49 bl 8008cc8 + 8005e36: 2329 movs r3, #41 ; 0x29 + 8005e38: f88d 3018 strb.w r3, [sp, #24] + 8005e3c: a806 add r0, sp, #24 + 8005e3e: 4b0b ldr r3, [pc, #44] ; (8005e6c ) + 8005e40: 9307 str r3, [sp, #28] + 8005e42: f002 ff41 bl 8008cc8 + 8005e46: f002 fd5d bl 8008904 + 8005e4a: 2301 movs r3, #1 + 8005e4c: a806 add r0, sp, #24 + 8005e4e: f88d 3018 strb.w r3, [sp, #24] + 8005e52: f88d 301c strb.w r3, [sp, #28] + 8005e56: f002 ff37 bl 8008cc8 + 8005e5a: e7b4 b.n 8005dc6 + 8005e5c: 20000598 .word 0x20000598 + 8005e60: 2000007c .word 0x2000007c + 8005e64: 20000574 .word 0x20000574 + 8005e68: 20000578 .word 0x20000578 + 8005e6c: 01000400 .word 0x01000400 -08005e5c : - 8005e5c: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} - 8005e5e: 2309 movs r3, #9 - 8005e60: a801 add r0, sp, #4 - 8005e62: f88d 3004 strb.w r3, [sp, #4] - 8005e66: f003 f9ad bl 80091c4 - 8005e6a: 3800 subs r0, #0 - 8005e6c: 4b04 ldr r3, [pc, #16] ; (8005e80 ) - 8005e6e: 9a05 ldr r2, [sp, #20] - 8005e70: 601a str r2, [r3, #0] - 8005e72: bf18 it ne - 8005e74: 2001 movne r0, #1 - 8005e76: 4240 negs r0, r0 - 8005e78: b007 add sp, #28 - 8005e7a: f85d fb04 ldr.w pc, [sp], #4 - 8005e7e: bf00 nop - 8005e80: 20000578 .word 0x20000578 +08005e70 : + 8005e70: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} + 8005e72: 2309 movs r3, #9 + 8005e74: a801 add r0, sp, #4 + 8005e76: f88d 3004 strb.w r3, [sp, #4] + 8005e7a: f003 f9ad bl 80091d8 + 8005e7e: 3800 subs r0, #0 + 8005e80: 4b04 ldr r3, [pc, #16] ; (8005e94 ) + 8005e82: 9a05 ldr r2, [sp, #20] + 8005e84: 601a str r2, [r3, #0] + 8005e86: bf18 it ne + 8005e88: 2001 movne r0, #1 + 8005e8a: 4240 negs r0, r0 + 8005e8c: b007 add sp, #28 + 8005e8e: f85d fb04 ldr.w pc, [sp], #4 + 8005e92: bf00 nop + 8005e94: 20000578 .word 0x20000578 -08005e84 : - 8005e84: b570 push {r4, r5, r6, lr} - 8005e86: 4604 mov r4, r0 - 8005e88: 460b mov r3, r1 - 8005e8a: 4913 ldr r1, [pc, #76] ; (8005ed8 ) - 8005e8c: 7862 ldrb r2, [r4, #1] - 8005e8e: 704a strb r2, [r1, #1] - 8005e90: 2000 movs r0, #0 - 8005e92: 78a2 ldrb r2, [r4, #2] - 8005e94: 720a strb r2, [r1, #8] - 8005e96: 7008 strb r0, [r1, #0] - 8005e98: 881a ldrh r2, [r3, #0] - 8005e9a: 724a strb r2, [r1, #9] - 8005e9c: 789a ldrb r2, [r3, #2] - 8005e9e: 728a strb r2, [r1, #10] - 8005ea0: 78db ldrb r3, [r3, #3] - 8005ea2: 740b strb r3, [r1, #16] - 8005ea4: 6863 ldr r3, [r4, #4] - 8005ea6: 60cb str r3, [r1, #12] - 8005ea8: 4b0c ldr r3, [pc, #48] ; (8005edc ) - 8005eaa: 681b ldr r3, [r3, #0] - 8005eac: 6ada ldr r2, [r3, #44] ; 0x2c - 8005eae: b12a cbz r2, 8005ebc - 8005eb0: 7823 ldrb r3, [r4, #0] - 8005eb2: f003 03fb and.w r3, r3, #251 ; 0xfb - 8005eb6: 2b0a cmp r3, #10 - 8005eb8: d000 beq.n 8005ebc - 8005eba: 4790 blx r2 - 8005ebc: 4e08 ldr r6, [pc, #32] ; (8005ee0 ) - 8005ebe: 2505 movs r5, #5 - 8005ec0: f856 3b04 ldr.w r3, [r6], #4 - 8005ec4: b11b cbz r3, 8005ece - 8005ec6: 6a5b ldr r3, [r3, #36] ; 0x24 - 8005ec8: b10b cbz r3, 8005ece - 8005eca: 4620 mov r0, r4 - 8005ecc: 4798 blx r3 - 8005ece: 3d01 subs r5, #1 - 8005ed0: f015 05ff ands.w r5, r5, #255 ; 0xff - 8005ed4: d1f4 bne.n 8005ec0 - 8005ed6: bd70 pop {r4, r5, r6, pc} - 8005ed8: 20000088 .word 0x20000088 - 8005edc: 20000580 .word 0x20000580 - 8005ee0: 20000584 .word 0x20000584 +08005e98 : + 8005e98: b570 push {r4, r5, r6, lr} + 8005e9a: 4604 mov r4, r0 + 8005e9c: 460b mov r3, r1 + 8005e9e: 4913 ldr r1, [pc, #76] ; (8005eec ) + 8005ea0: 7862 ldrb r2, [r4, #1] + 8005ea2: 704a strb r2, [r1, #1] + 8005ea4: 2000 movs r0, #0 + 8005ea6: 78a2 ldrb r2, [r4, #2] + 8005ea8: 720a strb r2, [r1, #8] + 8005eaa: 7008 strb r0, [r1, #0] + 8005eac: 881a ldrh r2, [r3, #0] + 8005eae: 724a strb r2, [r1, #9] + 8005eb0: 789a ldrb r2, [r3, #2] + 8005eb2: 728a strb r2, [r1, #10] + 8005eb4: 78db ldrb r3, [r3, #3] + 8005eb6: 740b strb r3, [r1, #16] + 8005eb8: 6863 ldr r3, [r4, #4] + 8005eba: 60cb str r3, [r1, #12] + 8005ebc: 4b0c ldr r3, [pc, #48] ; (8005ef0 ) + 8005ebe: 681b ldr r3, [r3, #0] + 8005ec0: 6ada ldr r2, [r3, #44] ; 0x2c + 8005ec2: b12a cbz r2, 8005ed0 + 8005ec4: 7823 ldrb r3, [r4, #0] + 8005ec6: f003 03fb and.w r3, r3, #251 ; 0xfb + 8005eca: 2b0a cmp r3, #10 + 8005ecc: d000 beq.n 8005ed0 + 8005ece: 4790 blx r2 + 8005ed0: 4e08 ldr r6, [pc, #32] ; (8005ef4 ) + 8005ed2: 2505 movs r5, #5 + 8005ed4: f856 3b04 ldr.w r3, [r6], #4 + 8005ed8: b11b cbz r3, 8005ee2 + 8005eda: 6a5b ldr r3, [r3, #36] ; 0x24 + 8005edc: b10b cbz r3, 8005ee2 + 8005ede: 4620 mov r0, r4 + 8005ee0: 4798 blx r3 + 8005ee2: 3d01 subs r5, #1 + 8005ee4: f015 05ff ands.w r5, r5, #255 ; 0xff + 8005ee8: d1f4 bne.n 8005ed4 + 8005eea: bd70 pop {r4, r5, r6, pc} + 8005eec: 20000088 .word 0x20000088 + 8005ef0: 20000580 .word 0x20000580 + 8005ef4: 20000584 .word 0x20000584 -08005ee4 : - 8005ee4: b570 push {r4, r5, r6, lr} - 8005ee6: 4604 mov r4, r0 - 8005ee8: 4810 ldr r0, [pc, #64] ; (8005f2c ) - 8005eea: 2301 movs r3, #1 - 8005eec: 7003 strb r3, [r0, #0] - 8005eee: 7863 ldrb r3, [r4, #1] - 8005ef0: 7043 strb r3, [r0, #1] - 8005ef2: 78a3 ldrb r3, [r4, #2] - 8005ef4: 7283 strb r3, [r0, #10] - 8005ef6: 68e3 ldr r3, [r4, #12] - 8005ef8: 60c3 str r3, [r0, #12] - 8005efa: 78e3 ldrb r3, [r4, #3] - 8005efc: 7603 strb r3, [r0, #24] - 8005efe: 6923 ldr r3, [r4, #16] - 8005f00: 7643 strb r3, [r0, #25] - 8005f02: 7923 ldrb r3, [r4, #4] - 8005f04: 7243 strb r3, [r0, #9] - 8005f06: 4b0a ldr r3, [pc, #40] ; (8005f30 ) - 8005f08: 681b ldr r3, [r3, #0] - 8005f0a: 6a9b ldr r3, [r3, #40] ; 0x28 - 8005f0c: b103 cbz r3, 8005f10 - 8005f0e: 4798 blx r3 - 8005f10: 4e08 ldr r6, [pc, #32] ; (8005f34 ) - 8005f12: 2505 movs r5, #5 - 8005f14: f856 3b04 ldr.w r3, [r6], #4 - 8005f18: b11b cbz r3, 8005f22 - 8005f1a: 699b ldr r3, [r3, #24] - 8005f1c: b10b cbz r3, 8005f22 - 8005f1e: 4620 mov r0, r4 - 8005f20: 4798 blx r3 - 8005f22: 3d01 subs r5, #1 - 8005f24: f015 05ff ands.w r5, r5, #255 ; 0xff - 8005f28: d1f4 bne.n 8005f14 - 8005f2a: bd70 pop {r4, r5, r6, pc} - 8005f2c: 2000009c .word 0x2000009c - 8005f30: 20000580 .word 0x20000580 - 8005f34: 20000584 .word 0x20000584 +08005ef8 : + 8005ef8: b570 push {r4, r5, r6, lr} + 8005efa: 4604 mov r4, r0 + 8005efc: 4810 ldr r0, [pc, #64] ; (8005f40 ) + 8005efe: 2301 movs r3, #1 + 8005f00: 7003 strb r3, [r0, #0] + 8005f02: 7863 ldrb r3, [r4, #1] + 8005f04: 7043 strb r3, [r0, #1] + 8005f06: 78a3 ldrb r3, [r4, #2] + 8005f08: 7283 strb r3, [r0, #10] + 8005f0a: 68e3 ldr r3, [r4, #12] + 8005f0c: 60c3 str r3, [r0, #12] + 8005f0e: 78e3 ldrb r3, [r4, #3] + 8005f10: 7603 strb r3, [r0, #24] + 8005f12: 6923 ldr r3, [r4, #16] + 8005f14: 7643 strb r3, [r0, #25] + 8005f16: 7923 ldrb r3, [r4, #4] + 8005f18: 7243 strb r3, [r0, #9] + 8005f1a: 4b0a ldr r3, [pc, #40] ; (8005f44 ) + 8005f1c: 681b ldr r3, [r3, #0] + 8005f1e: 6a9b ldr r3, [r3, #40] ; 0x28 + 8005f20: b103 cbz r3, 8005f24 + 8005f22: 4798 blx r3 + 8005f24: 4e08 ldr r6, [pc, #32] ; (8005f48 ) + 8005f26: 2505 movs r5, #5 + 8005f28: f856 3b04 ldr.w r3, [r6], #4 + 8005f2c: b11b cbz r3, 8005f36 + 8005f2e: 699b ldr r3, [r3, #24] + 8005f30: b10b cbz r3, 8005f36 + 8005f32: 4620 mov r0, r4 + 8005f34: 4798 blx r3 + 8005f36: 3d01 subs r5, #1 + 8005f38: f015 05ff ands.w r5, r5, #255 ; 0xff + 8005f3c: d1f4 bne.n 8005f28 + 8005f3e: bd70 pop {r4, r5, r6, pc} + 8005f40: 2000009c .word 0x2000009c + 8005f44: 20000580 .word 0x20000580 + 8005f48: 20000584 .word 0x20000584 -08005f38 : - 8005f38: 4b01 ldr r3, [pc, #4] ; (8005f40 ) - 8005f3a: 6818 ldr r0, [r3, #0] - 8005f3c: 4770 bx lr - 8005f3e: bf00 nop - 8005f40: 20000578 .word 0x20000578 +08005f4c : + 8005f4c: 4b01 ldr r3, [pc, #4] ; (8005f54 ) + 8005f4e: 6818 ldr r0, [r3, #0] + 8005f50: 4770 bx lr + 8005f52: bf00 nop + 8005f54: 20000578 .word 0x20000578 -08005f44 : - 8005f44: b500 push {lr} - 8005f46: b08b sub sp, #44 ; 0x2c - 8005f48: 2301 movs r3, #1 - 8005f4a: 4668 mov r0, sp - 8005f4c: f88d 3000 strb.w r3, [sp] - 8005f50: f002 fd88 bl 8008a64 - 8005f54: b938 cbnz r0, 8005f66 - 8005f56: f89d 0004 ldrb.w r0, [sp, #4] - 8005f5a: 3800 subs r0, #0 - 8005f5c: bf18 it ne - 8005f5e: 2001 movne r0, #1 - 8005f60: b00b add sp, #44 ; 0x2c - 8005f62: f85d fb04 ldr.w pc, [sp], #4 - 8005f66: 2000 movs r0, #0 - 8005f68: e7fa b.n 8005f60 +08005f58 : + 8005f58: b500 push {lr} + 8005f5a: b08b sub sp, #44 ; 0x2c + 8005f5c: 2301 movs r3, #1 + 8005f5e: 4668 mov r0, sp + 8005f60: f88d 3000 strb.w r3, [sp] + 8005f64: f002 fd88 bl 8008a78 + 8005f68: b938 cbnz r0, 8005f7a + 8005f6a: f89d 0004 ldrb.w r0, [sp, #4] + 8005f6e: 3800 subs r0, #0 + 8005f70: bf18 it ne + 8005f72: 2001 movne r0, #1 + 8005f74: b00b add sp, #44 ; 0x2c + 8005f76: f85d fb04 ldr.w pc, [sp], #4 + 8005f7a: 2000 movs r0, #0 + 8005f7c: e7fa b.n 8005f74 ... -08005f6c : - 8005f6c: b508 push {r3, lr} - 8005f6e: f001 fe73 bl 8007c58 - 8005f72: b948 cbnz r0, 8005f88 - 8005f74: f7ff ffe6 bl 8005f44 - 8005f78: 2801 cmp r0, #1 - 8005f7a: d006 beq.n 8005f8a - 8005f7c: 4b05 ldr r3, [pc, #20] ; (8005f94 ) - 8005f7e: 79d8 ldrb r0, [r3, #7] - 8005f80: 7a19 ldrb r1, [r3, #8] - 8005f82: f7ff fefd bl 8005d80 - 8005f86: 2001 movs r0, #1 - 8005f88: bd08 pop {r3, pc} - 8005f8a: e8bd 4008 ldmia.w sp!, {r3, lr} - 8005f8e: f7ff becb b.w 8005d28 - 8005f92: bf00 nop - 8005f94: 2000007c .word 0x2000007c +08005f80 : + 8005f80: b508 push {r3, lr} + 8005f82: f001 fe73 bl 8007c6c + 8005f86: b948 cbnz r0, 8005f9c + 8005f88: f7ff ffe6 bl 8005f58 + 8005f8c: 2801 cmp r0, #1 + 8005f8e: d006 beq.n 8005f9e + 8005f90: 4b05 ldr r3, [pc, #20] ; (8005fa8 ) + 8005f92: 79d8 ldrb r0, [r3, #7] + 8005f94: 7a19 ldrb r1, [r3, #8] + 8005f96: f7ff fefd bl 8005d94 + 8005f9a: 2001 movs r0, #1 + 8005f9c: bd08 pop {r3, pc} + 8005f9e: e8bd 4008 ldmia.w sp!, {r3, lr} + 8005fa2: f7ff becb b.w 8005d3c + 8005fa6: bf00 nop + 8005fa8: 2000007c .word 0x2000007c -08005f98 : - 8005f98: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8005f9c: b086 sub sp, #24 - 8005f9e: 4605 mov r5, r0 - 8005fa0: 460e mov r6, r1 - 8005fa2: 4617 mov r7, r2 - 8005fa4: f001 fe58 bl 8007c58 - 8005fa8: 2800 cmp r0, #0 - 8005faa: d17f bne.n 80060ac - 8005fac: f001 fe6c bl 8007c88 - 8005fb0: 4604 mov r4, r0 - 8005fb2: b940 cbnz r0, 8005fc6 - 8005fb4: f7ff ffc6 bl 8005f44 - 8005fb8: 2801 cmp r0, #1 - 8005fba: d007 beq.n 8005fcc - 8005fbc: 4b3d ldr r3, [pc, #244] ; (80060b4 ) - 8005fbe: 7a19 ldrb r1, [r3, #8] - 8005fc0: 79d8 ldrb r0, [r3, #7] - 8005fc2: f7ff fedd bl 8005d80 - 8005fc6: f06f 0402 mvn.w r4, #2 - 8005fca: e062 b.n 8006092 - 8005fcc: f8df 80e8 ldr.w r8, [pc, #232] ; 80060b8 - 8005fd0: f888 6008 strb.w r6, [r8, #8] - 8005fd4: 3e00 subs r6, #0 - 8005fd6: bf18 it ne - 8005fd8: 2601 movne r6, #1 - 8005fda: f88d 6004 strb.w r6, [sp, #4] - 8005fde: 4e37 ldr r6, [pc, #220] ; (80060bc ) - 8005fe0: 7868 ldrb r0, [r5, #1] - 8005fe2: 7933 ldrb r3, [r6, #4] - 8005fe4: f88d 3012 strb.w r3, [sp, #18] - 8005fe8: 4669 mov r1, sp - 8005fea: f002 fcd9 bl 80089a0 - 8005fee: 2800 cmp r0, #0 - 8005ff0: d03e beq.n 8006070 - 8005ff2: f88d 4004 strb.w r4, [sp, #4] - 8005ff6: 9403 str r4, [sp, #12] - 8005ff8: f8ad 4010 strh.w r4, [sp, #16] - 8005ffc: f06f 0406 mvn.w r4, #6 - 8006000: e895 0003 ldmia.w r5, {r0, r1} - 8006004: 4b2e ldr r3, [pc, #184] ; (80060c0 ) - 8006006: e883 0003 stmia.w r3, {r0, r1} - 800600a: 7933 ldrb r3, [r6, #4] - 800600c: f888 300a strb.w r3, [r8, #10] - 8006010: 4639 mov r1, r7 - 8006012: a801 add r0, sp, #4 - 8006014: f003 f9da bl 80093cc - 8006018: 4b2a ldr r3, [pc, #168] ; (80060c4 ) - 800601a: 9a05 ldr r2, [sp, #20] - 800601c: 601a str r2, [r3, #0] - 800601e: 2811 cmp r0, #17 - 8006020: d841 bhi.n 80060a6 - 8006022: a301 add r3, pc, #4 ; (adr r3, 8006028 ) - 8006024: f853 f020 ldr.w pc, [r3, r0, lsl #2] - 8006028: 08006087 .word 0x08006087 - 800602c: 080060ad .word 0x080060ad - 8006030: 080060a7 .word 0x080060a7 - 8006034: 080060a7 .word 0x080060a7 - 8006038: 080060a7 .word 0x080060a7 - 800603c: 080060a7 .word 0x080060a7 - 8006040: 080060a7 .word 0x080060a7 - 8006044: 08005fc7 .word 0x08005fc7 - 8006048: 080060a7 .word 0x080060a7 - 800604c: 080060a7 .word 0x080060a7 - 8006050: 080060a7 .word 0x080060a7 - 8006054: 080060a1 .word 0x080060a1 - 8006058: 080060a7 .word 0x080060a7 - 800605c: 080060a7 .word 0x080060a7 - 8006060: 080060ad .word 0x080060ad - 8006064: 080060ad .word 0x080060ad - 8006068: 080060ad .word 0x080060ad - 800606c: 0800609b .word 0x0800609b - 8006070: 782b ldrb r3, [r5, #0] - 8006072: f88d 3008 strb.w r3, [sp, #8] - 8006076: 786b ldrb r3, [r5, #1] - 8006078: f8ad 3010 strh.w r3, [sp, #16] - 800607c: 686b ldr r3, [r5, #4] - 800607e: 9303 str r3, [sp, #12] - 8006080: f04f 34ff mov.w r4, #4294967295 - 8006084: e7bc b.n 8006000 - 8006086: 4b10 ldr r3, [pc, #64] ; (80060c8 ) - 8006088: 2200 movs r2, #0 - 800608a: 701a strb r2, [r3, #0] - 800608c: 1de3 adds r3, r4, #7 - 800608e: bf18 it ne - 8006090: 4614 movne r4, r2 - 8006092: 4620 mov r0, r4 - 8006094: b006 add sp, #24 - 8006096: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800609a: f06f 0404 mvn.w r4, #4 - 800609e: e7f8 b.n 8006092 - 80060a0: f06f 0405 mvn.w r4, #5 - 80060a4: e7f5 b.n 8006092 - 80060a6: f04f 34ff mov.w r4, #4294967295 - 80060aa: e7f2 b.n 8006092 - 80060ac: f06f 0401 mvn.w r4, #1 - 80060b0: e7ef b.n 8006092 - 80060b2: bf00 nop - 80060b4: 2000007c .word 0x2000007c - 80060b8: 2000009c .word 0x2000009c - 80060bc: 20000598 .word 0x20000598 - 80060c0: 200000ac .word 0x200000ac - 80060c4: 20000578 .word 0x20000578 - 80060c8: 2000057c .word 0x2000057c +08005fac : + 8005fac: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8005fb0: b086 sub sp, #24 + 8005fb2: 4605 mov r5, r0 + 8005fb4: 460e mov r6, r1 + 8005fb6: 4617 mov r7, r2 + 8005fb8: f001 fe58 bl 8007c6c + 8005fbc: 2800 cmp r0, #0 + 8005fbe: d17f bne.n 80060c0 + 8005fc0: f001 fe6c bl 8007c9c + 8005fc4: 4604 mov r4, r0 + 8005fc6: b940 cbnz r0, 8005fda + 8005fc8: f7ff ffc6 bl 8005f58 + 8005fcc: 2801 cmp r0, #1 + 8005fce: d007 beq.n 8005fe0 + 8005fd0: 4b3d ldr r3, [pc, #244] ; (80060c8 ) + 8005fd2: 7a19 ldrb r1, [r3, #8] + 8005fd4: 79d8 ldrb r0, [r3, #7] + 8005fd6: f7ff fedd bl 8005d94 + 8005fda: f06f 0402 mvn.w r4, #2 + 8005fde: e062 b.n 80060a6 + 8005fe0: f8df 80e8 ldr.w r8, [pc, #232] ; 80060cc + 8005fe4: f888 6008 strb.w r6, [r8, #8] + 8005fe8: 3e00 subs r6, #0 + 8005fea: bf18 it ne + 8005fec: 2601 movne r6, #1 + 8005fee: f88d 6004 strb.w r6, [sp, #4] + 8005ff2: 4e37 ldr r6, [pc, #220] ; (80060d0 ) + 8005ff4: 7868 ldrb r0, [r5, #1] + 8005ff6: 7933 ldrb r3, [r6, #4] + 8005ff8: f88d 3012 strb.w r3, [sp, #18] + 8005ffc: 4669 mov r1, sp + 8005ffe: f002 fcd9 bl 80089b4 + 8006002: 2800 cmp r0, #0 + 8006004: d03e beq.n 8006084 + 8006006: f88d 4004 strb.w r4, [sp, #4] + 800600a: 9403 str r4, [sp, #12] + 800600c: f8ad 4010 strh.w r4, [sp, #16] + 8006010: f06f 0406 mvn.w r4, #6 + 8006014: e895 0003 ldmia.w r5, {r0, r1} + 8006018: 4b2e ldr r3, [pc, #184] ; (80060d4 ) + 800601a: e883 0003 stmia.w r3, {r0, r1} + 800601e: 7933 ldrb r3, [r6, #4] + 8006020: f888 300a strb.w r3, [r8, #10] + 8006024: 4639 mov r1, r7 + 8006026: a801 add r0, sp, #4 + 8006028: f003 f9da bl 80093e0 + 800602c: 4b2a ldr r3, [pc, #168] ; (80060d8 ) + 800602e: 9a05 ldr r2, [sp, #20] + 8006030: 601a str r2, [r3, #0] + 8006032: 2811 cmp r0, #17 + 8006034: d841 bhi.n 80060ba + 8006036: a301 add r3, pc, #4 ; (adr r3, 800603c ) + 8006038: f853 f020 ldr.w pc, [r3, r0, lsl #2] + 800603c: 0800609b .word 0x0800609b + 8006040: 080060c1 .word 0x080060c1 + 8006044: 080060bb .word 0x080060bb + 8006048: 080060bb .word 0x080060bb + 800604c: 080060bb .word 0x080060bb + 8006050: 080060bb .word 0x080060bb + 8006054: 080060bb .word 0x080060bb + 8006058: 08005fdb .word 0x08005fdb + 800605c: 080060bb .word 0x080060bb + 8006060: 080060bb .word 0x080060bb + 8006064: 080060bb .word 0x080060bb + 8006068: 080060b5 .word 0x080060b5 + 800606c: 080060bb .word 0x080060bb + 8006070: 080060bb .word 0x080060bb + 8006074: 080060c1 .word 0x080060c1 + 8006078: 080060c1 .word 0x080060c1 + 800607c: 080060c1 .word 0x080060c1 + 8006080: 080060af .word 0x080060af + 8006084: 782b ldrb r3, [r5, #0] + 8006086: f88d 3008 strb.w r3, [sp, #8] + 800608a: 786b ldrb r3, [r5, #1] + 800608c: f8ad 3010 strh.w r3, [sp, #16] + 8006090: 686b ldr r3, [r5, #4] + 8006092: 9303 str r3, [sp, #12] + 8006094: f04f 34ff mov.w r4, #4294967295 + 8006098: e7bc b.n 8006014 + 800609a: 4b10 ldr r3, [pc, #64] ; (80060dc ) + 800609c: 2200 movs r2, #0 + 800609e: 701a strb r2, [r3, #0] + 80060a0: 1de3 adds r3, r4, #7 + 80060a2: bf18 it ne + 80060a4: 4614 movne r4, r2 + 80060a6: 4620 mov r0, r4 + 80060a8: b006 add sp, #24 + 80060aa: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 80060ae: f06f 0404 mvn.w r4, #4 + 80060b2: e7f8 b.n 80060a6 + 80060b4: f06f 0405 mvn.w r4, #5 + 80060b8: e7f5 b.n 80060a6 + 80060ba: f04f 34ff mov.w r4, #4294967295 + 80060be: e7f2 b.n 80060a6 + 80060c0: f06f 0401 mvn.w r4, #1 + 80060c4: e7ef b.n 80060a6 + 80060c6: bf00 nop + 80060c8: 2000007c .word 0x2000007c + 80060cc: 2000009c .word 0x2000009c + 80060d0: 20000598 .word 0x20000598 + 80060d4: 200000ac .word 0x200000ac + 80060d8: 20000578 .word 0x20000578 + 80060dc: 2000057c .word 0x2000057c -080060cc : - 80060cc: b537 push {r0, r1, r2, r4, r5, lr} - 80060ce: f001 fde5 bl 8007c9c - 80060d2: 4d14 ldr r5, [pc, #80] ; (8006124 ) - 80060d4: 2405 movs r4, #5 - 80060d6: f855 3b04 ldr.w r3, [r5], #4 - 80060da: b15b cbz r3, 80060f4 - 80060dc: 691b ldr r3, [r3, #16] - 80060de: b14b cbz r3, 80060f4 - 80060e0: f855 3c04 ldr.w r3, [r5, #-4] - 80060e4: 689b ldr r3, [r3, #8] - 80060e6: b12b cbz r3, 80060f4 - 80060e8: 4798 blx r3 - 80060ea: b118 cbz r0, 80060f4 - 80060ec: f855 3c04 ldr.w r3, [r5, #-4] +080060e0 : + 80060e0: b537 push {r0, r1, r2, r4, r5, lr} + 80060e2: f001 fde5 bl 8007cb0 + 80060e6: 4d14 ldr r5, [pc, #80] ; (8006138 ) + 80060e8: 2405 movs r4, #5 + 80060ea: f855 3b04 ldr.w r3, [r5], #4 + 80060ee: b15b cbz r3, 8006108 80060f0: 691b ldr r3, [r3, #16] - 80060f2: 4798 blx r3 - 80060f4: 3c01 subs r4, #1 - 80060f6: f014 04ff ands.w r4, r4, #255 ; 0xff - 80060fa: d1ec bne.n 80060d6 - 80060fc: f7ff fe14 bl 8005d28 - 8006100: b968 cbnz r0, 800611e - 8006102: 4d09 ldr r5, [pc, #36] ; (8006128 ) - 8006104: 782b ldrb r3, [r5, #0] - 8006106: b153 cbz r3, 800611e - 8006108: 4b08 ldr r3, [pc, #32] ; (800612c ) - 800610a: f8ad 4000 strh.w r4, [sp] - 800610e: 78d9 ldrb r1, [r3, #3] - 8006110: 9401 str r4, [sp, #4] - 8006112: 4622 mov r2, r4 - 8006114: 4668 mov r0, sp - 8006116: f7ff ff3f bl 8005f98 - 800611a: b900 cbnz r0, 800611e - 800611c: 702c strb r4, [r5, #0] - 800611e: b003 add sp, #12 - 8006120: bd30 pop {r4, r5, pc} - 8006122: bf00 nop - 8006124: 20000584 .word 0x20000584 - 8006128: 2000057c .word 0x2000057c - 800612c: 20000598 .word 0x20000598 + 80060f2: b14b cbz r3, 8006108 + 80060f4: f855 3c04 ldr.w r3, [r5, #-4] + 80060f8: 689b ldr r3, [r3, #8] + 80060fa: b12b cbz r3, 8006108 + 80060fc: 4798 blx r3 + 80060fe: b118 cbz r0, 8006108 + 8006100: f855 3c04 ldr.w r3, [r5, #-4] + 8006104: 691b ldr r3, [r3, #16] + 8006106: 4798 blx r3 + 8006108: 3c01 subs r4, #1 + 800610a: f014 04ff ands.w r4, r4, #255 ; 0xff + 800610e: d1ec bne.n 80060ea + 8006110: f7ff fe14 bl 8005d3c + 8006114: b968 cbnz r0, 8006132 + 8006116: 4d09 ldr r5, [pc, #36] ; (800613c ) + 8006118: 782b ldrb r3, [r5, #0] + 800611a: b153 cbz r3, 8006132 + 800611c: 4b08 ldr r3, [pc, #32] ; (8006140 ) + 800611e: f8ad 4000 strh.w r4, [sp] + 8006122: 78d9 ldrb r1, [r3, #3] + 8006124: 9401 str r4, [sp, #4] + 8006126: 4622 mov r2, r4 + 8006128: 4668 mov r0, sp + 800612a: f7ff ff3f bl 8005fac + 800612e: b900 cbnz r0, 8006132 + 8006130: 702c strb r4, [r5, #0] + 8006132: b003 add sp, #12 + 8006134: bd30 pop {r4, r5, pc} + 8006136: bf00 nop + 8006138: 20000584 .word 0x20000584 + 800613c: 2000057c .word 0x2000057c + 8006140: 20000598 .word 0x20000598 -08006130 : - 8006130: b530 push {r4, r5, lr} - 8006132: b08b sub sp, #44 ; 0x2c - 8006134: 4605 mov r5, r0 - 8006136: f001 fd8f bl 8007c58 - 800613a: 4604 mov r4, r0 - 800613c: 2800 cmp r0, #0 - 800613e: d139 bne.n 80061b4 - 8006140: f7ff ff00 bl 8005f44 - 8006144: 2801 cmp r0, #1 - 8006146: d138 bne.n 80061ba - 8006148: 4668 mov r0, sp - 800614a: f88d 4000 strb.w r4, [sp] - 800614e: f002 fc89 bl 8008a64 - 8006152: b110 cbz r0, 800615a - 8006154: f04f 30ff mov.w r0, #4294967295 - 8006158: e004 b.n 8006164 - 800615a: f89d 3004 ldrb.w r3, [sp, #4] - 800615e: 42ab cmp r3, r5 - 8006160: d102 bne.n 8006168 - 8006162: 2000 movs r0, #0 - 8006164: b00b add sp, #44 ; 0x2c - 8006166: bd30 pop {r4, r5, pc} - 8006168: 2d01 cmp r5, #1 - 800616a: d0f3 beq.n 8006154 - 800616c: 2d02 cmp r5, #2 - 800616e: d011 beq.n 8006194 - 8006170: 2d00 cmp r5, #0 - 8006172: d1f7 bne.n 8006164 - 8006174: 2b00 cmp r3, #0 - 8006176: d0f4 beq.n 8006162 - 8006178: 4668 mov r0, sp - 800617a: f88d 5004 strb.w r5, [sp, #4] - 800617e: f002 fd99 bl 8008cb4 - 8006182: 2800 cmp r0, #0 - 8006184: d1e6 bne.n 8006154 - 8006186: 4b0e ldr r3, [pc, #56] ; (80061c0 ) - 8006188: 681b ldr r3, [r3, #0] - 800618a: 6b1b ldr r3, [r3, #48] ; 0x30 - 800618c: 2b00 cmp r3, #0 - 800618e: d0e8 beq.n 8006162 - 8006190: 4798 blx r3 - 8006192: e7e6 b.n 8006162 - 8006194: 2b00 cmp r3, #0 - 8006196: d1dd bne.n 8006154 - 8006198: 4668 mov r0, sp - 800619a: f88d 5004 strb.w r5, [sp, #4] - 800619e: f002 fd89 bl 8008cb4 - 80061a2: 2800 cmp r0, #0 - 80061a4: d1d6 bne.n 8006154 - 80061a6: 4b06 ldr r3, [pc, #24] ; (80061c0 ) - 80061a8: 681b ldr r3, [r3, #0] - 80061aa: 6b1b ldr r3, [r3, #48] ; 0x30 - 80061ac: 2b00 cmp r3, #0 - 80061ae: d0d8 beq.n 8006162 - 80061b0: 4628 mov r0, r5 - 80061b2: e7ed b.n 8006190 - 80061b4: f06f 0001 mvn.w r0, #1 - 80061b8: e7d4 b.n 8006164 - 80061ba: f06f 0002 mvn.w r0, #2 - 80061be: e7d1 b.n 8006164 - 80061c0: 20000580 .word 0x20000580 +08006144 : + 8006144: b530 push {r4, r5, lr} + 8006146: b08b sub sp, #44 ; 0x2c + 8006148: 4605 mov r5, r0 + 800614a: f001 fd8f bl 8007c6c + 800614e: 4604 mov r4, r0 + 8006150: 2800 cmp r0, #0 + 8006152: d139 bne.n 80061c8 + 8006154: f7ff ff00 bl 8005f58 + 8006158: 2801 cmp r0, #1 + 800615a: d138 bne.n 80061ce + 800615c: 4668 mov r0, sp + 800615e: f88d 4000 strb.w r4, [sp] + 8006162: f002 fc89 bl 8008a78 + 8006166: b110 cbz r0, 800616e + 8006168: f04f 30ff mov.w r0, #4294967295 + 800616c: e004 b.n 8006178 + 800616e: f89d 3004 ldrb.w r3, [sp, #4] + 8006172: 42ab cmp r3, r5 + 8006174: d102 bne.n 800617c + 8006176: 2000 movs r0, #0 + 8006178: b00b add sp, #44 ; 0x2c + 800617a: bd30 pop {r4, r5, pc} + 800617c: 2d01 cmp r5, #1 + 800617e: d0f3 beq.n 8006168 + 8006180: 2d02 cmp r5, #2 + 8006182: d011 beq.n 80061a8 + 8006184: 2d00 cmp r5, #0 + 8006186: d1f7 bne.n 8006178 + 8006188: 2b00 cmp r3, #0 + 800618a: d0f4 beq.n 8006176 + 800618c: 4668 mov r0, sp + 800618e: f88d 5004 strb.w r5, [sp, #4] + 8006192: f002 fd99 bl 8008cc8 + 8006196: 2800 cmp r0, #0 + 8006198: d1e6 bne.n 8006168 + 800619a: 4b0e ldr r3, [pc, #56] ; (80061d4 ) + 800619c: 681b ldr r3, [r3, #0] + 800619e: 6b1b ldr r3, [r3, #48] ; 0x30 + 80061a0: 2b00 cmp r3, #0 + 80061a2: d0e8 beq.n 8006176 + 80061a4: 4798 blx r3 + 80061a6: e7e6 b.n 8006176 + 80061a8: 2b00 cmp r3, #0 + 80061aa: d1dd bne.n 8006168 + 80061ac: 4668 mov r0, sp + 80061ae: f88d 5004 strb.w r5, [sp, #4] + 80061b2: f002 fd89 bl 8008cc8 + 80061b6: 2800 cmp r0, #0 + 80061b8: d1d6 bne.n 8006168 + 80061ba: 4b06 ldr r3, [pc, #24] ; (80061d4 ) + 80061bc: 681b ldr r3, [r3, #0] + 80061be: 6b1b ldr r3, [r3, #48] ; 0x30 + 80061c0: 2b00 cmp r3, #0 + 80061c2: d0d8 beq.n 8006176 + 80061c4: 4628 mov r0, r5 + 80061c6: e7ed b.n 80061a4 + 80061c8: f06f 0001 mvn.w r0, #1 + 80061cc: e7d4 b.n 8006178 + 80061ce: f06f 0002 mvn.w r0, #2 + 80061d2: e7d1 b.n 8006178 + 80061d4: 20000580 .word 0x20000580 -080061c4 : - 80061c4: b510 push {r4, lr} - 80061c6: 4604 mov r4, r0 - 80061c8: b08a sub sp, #40 ; 0x28 - 80061ca: b918 cbnz r0, 80061d4 - 80061cc: f04f 30ff mov.w r0, #4294967295 - 80061d0: b00a add sp, #40 ; 0x28 - 80061d2: bd10 pop {r4, pc} - 80061d4: 2300 movs r3, #0 - 80061d6: 4668 mov r0, sp - 80061d8: f88d 3000 strb.w r3, [sp] - 80061dc: f002 fc42 bl 8008a64 - 80061e0: 2800 cmp r0, #0 - 80061e2: d1f3 bne.n 80061cc - 80061e4: f89d 3004 ldrb.w r3, [sp, #4] - 80061e8: 7023 strb r3, [r4, #0] - 80061ea: e7f1 b.n 80061d0 +080061d8 : + 80061d8: b510 push {r4, lr} + 80061da: 4604 mov r4, r0 + 80061dc: b08a sub sp, #40 ; 0x28 + 80061de: b918 cbnz r0, 80061e8 + 80061e0: f04f 30ff mov.w r0, #4294967295 + 80061e4: b00a add sp, #40 ; 0x28 + 80061e6: bd10 pop {r4, pc} + 80061e8: 2300 movs r3, #0 + 80061ea: 4668 mov r0, sp + 80061ec: f88d 3000 strb.w r3, [sp] + 80061f0: f002 fc42 bl 8008a78 + 80061f4: 2800 cmp r0, #0 + 80061f6: d1f3 bne.n 80061e0 + 80061f8: f89d 3004 ldrb.w r3, [sp, #4] + 80061fc: 7023 strb r3, [r4, #0] + 80061fe: e7f1 b.n 80061e4 -080061ec : - 80061ec: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} - 80061ee: 2200 movs r2, #0 - 80061f0: 460b mov r3, r1 - 80061f2: 4920 ldr r1, [pc, #128] ; (8006274 ) - 80061f4: f88d 2007 strb.w r2, [sp, #7] - 80061f8: 2201 movs r2, #1 - 80061fa: 700a strb r2, [r1, #0] - 80061fc: 7842 ldrb r2, [r0, #1] - 80061fe: 704a strb r2, [r1, #1] - 8006200: 4604 mov r4, r0 - 8006202: 2a00 cmp r2, #0 - 8006204: d133 bne.n 800626e - 8006206: 7902 ldrb r2, [r0, #4] - 8006208: 720a strb r2, [r1, #8] - 800620a: 881a ldrh r2, [r3, #0] - 800620c: 724a strb r2, [r1, #9] - 800620e: 789a ldrb r2, [r3, #2] - 8006210: 728a strb r2, [r1, #10] - 8006212: 78db ldrb r3, [r3, #3] - 8006214: 740b strb r3, [r1, #16] - 8006216: 6903 ldr r3, [r0, #16] - 8006218: 60cb str r3, [r1, #12] - 800621a: 78c3 ldrb r3, [r0, #3] - 800621c: 4d16 ldr r5, [pc, #88] ; (8006278 ) - 800621e: f88d 3008 strb.w r3, [sp, #8] - 8006222: 7b03 ldrb r3, [r0, #12] - 8006224: f88d 3009 strb.w r3, [sp, #9] - 8006228: 6883 ldr r3, [r0, #8] - 800622a: 9303 str r3, [sp, #12] - 800622c: 682b ldr r3, [r5, #0] - 800622e: 6adb ldr r3, [r3, #44] ; 0x2c - 8006230: b10b cbz r3, 8006236 - 8006232: a802 add r0, sp, #8 - 8006234: 4798 blx r3 - 8006236: 682b ldr r3, [r5, #0] - 8006238: 6b9b ldr r3, [r3, #56] ; 0x38 - 800623a: b113 cbz r3, 8006242 - 800623c: 7e22 ldrb r2, [r4, #24] - 800623e: b102 cbz r2, 8006242 - 8006240: 4798 blx r3 - 8006242: 4e0e ldr r6, [pc, #56] ; (800627c ) - 8006244: 2505 movs r5, #5 - 8006246: f856 3b04 ldr.w r3, [r6], #4 - 800624a: b11b cbz r3, 8006254 - 800624c: 69db ldr r3, [r3, #28] - 800624e: b10b cbz r3, 8006254 - 8006250: 4620 mov r0, r4 - 8006252: 4798 blx r3 - 8006254: 3d01 subs r5, #1 - 8006256: f015 05ff ands.w r5, r5, #255 ; 0xff - 800625a: d1f4 bne.n 8006246 - 800625c: f10d 0007 add.w r0, sp, #7 - 8006260: f7ff ffb0 bl 80061c4 - 8006264: 7963 ldrb r3, [r4, #5] - 8006266: b113 cbz r3, 800626e - 8006268: 4b05 ldr r3, [pc, #20] ; (8006280 ) - 800626a: 2201 movs r2, #1 - 800626c: 701a strb r2, [r3, #0] - 800626e: b004 add sp, #16 - 8006270: bd70 pop {r4, r5, r6, pc} - 8006272: bf00 nop - 8006274: 20000088 .word 0x20000088 - 8006278: 20000580 .word 0x20000580 - 800627c: 20000584 .word 0x20000584 - 8006280: 2000057c .word 0x2000057c +08006200 : + 8006200: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} + 8006202: 2200 movs r2, #0 + 8006204: 460b mov r3, r1 + 8006206: 4920 ldr r1, [pc, #128] ; (8006288 ) + 8006208: f88d 2007 strb.w r2, [sp, #7] + 800620c: 2201 movs r2, #1 + 800620e: 700a strb r2, [r1, #0] + 8006210: 7842 ldrb r2, [r0, #1] + 8006212: 704a strb r2, [r1, #1] + 8006214: 4604 mov r4, r0 + 8006216: 2a00 cmp r2, #0 + 8006218: d133 bne.n 8006282 + 800621a: 7902 ldrb r2, [r0, #4] + 800621c: 720a strb r2, [r1, #8] + 800621e: 881a ldrh r2, [r3, #0] + 8006220: 724a strb r2, [r1, #9] + 8006222: 789a ldrb r2, [r3, #2] + 8006224: 728a strb r2, [r1, #10] + 8006226: 78db ldrb r3, [r3, #3] + 8006228: 740b strb r3, [r1, #16] + 800622a: 6903 ldr r3, [r0, #16] + 800622c: 60cb str r3, [r1, #12] + 800622e: 78c3 ldrb r3, [r0, #3] + 8006230: 4d16 ldr r5, [pc, #88] ; (800628c ) + 8006232: f88d 3008 strb.w r3, [sp, #8] + 8006236: 7b03 ldrb r3, [r0, #12] + 8006238: f88d 3009 strb.w r3, [sp, #9] + 800623c: 6883 ldr r3, [r0, #8] + 800623e: 9303 str r3, [sp, #12] + 8006240: 682b ldr r3, [r5, #0] + 8006242: 6adb ldr r3, [r3, #44] ; 0x2c + 8006244: b10b cbz r3, 800624a + 8006246: a802 add r0, sp, #8 + 8006248: 4798 blx r3 + 800624a: 682b ldr r3, [r5, #0] + 800624c: 6b9b ldr r3, [r3, #56] ; 0x38 + 800624e: b113 cbz r3, 8006256 + 8006250: 7e22 ldrb r2, [r4, #24] + 8006252: b102 cbz r2, 8006256 + 8006254: 4798 blx r3 + 8006256: 4e0e ldr r6, [pc, #56] ; (8006290 ) + 8006258: 2505 movs r5, #5 + 800625a: f856 3b04 ldr.w r3, [r6], #4 + 800625e: b11b cbz r3, 8006268 + 8006260: 69db ldr r3, [r3, #28] + 8006262: b10b cbz r3, 8006268 + 8006264: 4620 mov r0, r4 + 8006266: 4798 blx r3 + 8006268: 3d01 subs r5, #1 + 800626a: f015 05ff ands.w r5, r5, #255 ; 0xff + 800626e: d1f4 bne.n 800625a + 8006270: f10d 0007 add.w r0, sp, #7 + 8006274: f7ff ffb0 bl 80061d8 + 8006278: 7963 ldrb r3, [r4, #5] + 800627a: b113 cbz r3, 8006282 + 800627c: 4b05 ldr r3, [pc, #20] ; (8006294 ) + 800627e: 2201 movs r2, #1 + 8006280: 701a strb r2, [r3, #0] + 8006282: b004 add sp, #16 + 8006284: bd70 pop {r4, r5, r6, pc} + 8006286: bf00 nop + 8006288: 20000088 .word 0x20000088 + 800628c: 20000580 .word 0x20000580 + 8006290: 20000584 .word 0x20000584 + 8006294: 2000057c .word 0x2000057c -08006284 : - 8006284: b510 push {r4, lr} - 8006286: 4604 mov r4, r0 - 8006288: b08a sub sp, #40 ; 0x28 - 800628a: b918 cbnz r0, 8006294 - 800628c: f04f 30ff mov.w r0, #4294967295 - 8006290: b00a add sp, #40 ; 0x28 - 8006292: bd10 pop {r4, pc} - 8006294: 2320 movs r3, #32 - 8006296: 4668 mov r0, sp - 8006298: f88d 3000 strb.w r3, [sp] - 800629c: f002 fbe2 bl 8008a64 - 80062a0: 2800 cmp r0, #0 - 80062a2: d1f3 bne.n 800628c - 80062a4: 4a02 ldr r2, [pc, #8] ; (80062b0 ) - 80062a6: f99d 3004 ldrsb.w r3, [sp, #4] - 80062aa: 7023 strb r3, [r4, #0] - 80062ac: 7113 strb r3, [r2, #4] - 80062ae: e7ef b.n 8006290 - 80062b0: 20000598 .word 0x20000598 +08006298 : + 8006298: b510 push {r4, lr} + 800629a: 4604 mov r4, r0 + 800629c: b08a sub sp, #40 ; 0x28 + 800629e: b918 cbnz r0, 80062a8 + 80062a0: f04f 30ff mov.w r0, #4294967295 + 80062a4: b00a add sp, #40 ; 0x28 + 80062a6: bd10 pop {r4, pc} + 80062a8: 2320 movs r3, #32 + 80062aa: 4668 mov r0, sp + 80062ac: f88d 3000 strb.w r3, [sp] + 80062b0: f002 fbe2 bl 8008a78 + 80062b4: 2800 cmp r0, #0 + 80062b6: d1f3 bne.n 80062a0 + 80062b8: 4a02 ldr r2, [pc, #8] ; (80062c4 ) + 80062ba: f99d 3004 ldrsb.w r3, [sp, #4] + 80062be: 7023 strb r3, [r4, #0] + 80062c0: 7113 strb r3, [r2, #4] + 80062c2: e7ef b.n 80062a4 + 80062c4: 20000598 .word 0x20000598 -080062b4 : - 80062b4: b500 push {lr} - 80062b6: b08b sub sp, #44 ; 0x2c - 80062b8: 2323 movs r3, #35 ; 0x23 - 80062ba: 9001 str r0, [sp, #4] - 80062bc: 4668 mov r0, sp - 80062be: f88d 3000 strb.w r3, [sp] - 80062c2: f002 fcf7 bl 8008cb4 - 80062c6: 3800 subs r0, #0 - 80062c8: bf18 it ne - 80062ca: 2001 movne r0, #1 - 80062cc: 4240 negs r0, r0 - 80062ce: b00b add sp, #44 ; 0x2c - 80062d0: f85d fb04 ldr.w pc, [sp], #4 +080062c8 : + 80062c8: b500 push {lr} + 80062ca: b08b sub sp, #44 ; 0x2c + 80062cc: 2323 movs r3, #35 ; 0x23 + 80062ce: 9001 str r0, [sp, #4] + 80062d0: 4668 mov r0, sp + 80062d2: f88d 3000 strb.w r3, [sp] + 80062d6: f002 fcf7 bl 8008cc8 + 80062da: 3800 subs r0, #0 + 80062dc: bf18 it ne + 80062de: 2001 movne r0, #1 + 80062e0: 4240 negs r0, r0 + 80062e2: b00b add sp, #44 ; 0x2c + 80062e4: f85d fb04 ldr.w pc, [sp], #4 -080062d4 : - 80062d4: b570 push {r4, r5, r6, lr} - 80062d6: 4c65 ldr r4, [pc, #404] ; (800646c ) - 80062d8: 4601 mov r1, r0 - 80062da: b08e sub sp, #56 ; 0x38 - 80062dc: 2218 movs r2, #24 - 80062de: 4620 mov r0, r4 - 80062e0: f006 f8fe bl 800c4e0 - 80062e4: 4b62 ldr r3, [pc, #392] ; (8006470 ) - 80062e6: 2200 movs r2, #0 - 80062e8: 701a strb r2, [r3, #0] - 80062ea: f7fb fffb bl 80022e4 - 80062ee: 7823 ldrb r3, [r4, #0] - 80062f0: 6840 ldr r0, [r0, #4] - 80062f2: 2201 movs r2, #1 - 80062f4: fa02 f103 lsl.w r1, r2, r3 - 80062f8: 4001 ands r1, r0 - 80062fa: d104 bne.n 8006306 - 80062fc: 4b5d ldr r3, [pc, #372] ; (8006474 ) - 80062fe: 4608 mov r0, r1 - 8006300: f008 f8e4 bl 800e4cc - 8006304: e7fe b.n 8006304 - 8006306: 495c ldr r1, [pc, #368] ; (8006478 ) - 8006308: 485c ldr r0, [pc, #368] ; (800647c ) - 800630a: 461a mov r2, r3 - 800630c: f002 f932 bl 8008574 - 8006310: b118 cbz r0, 800631a - 8006312: f04f 30ff mov.w r0, #4294967295 - 8006316: b00e add sp, #56 ; 0x38 - 8006318: bd70 pop {r4, r5, r6, pc} - 800631a: 2327 movs r3, #39 ; 0x27 - 800631c: a804 add r0, sp, #16 - 800631e: f88d 3010 strb.w r3, [sp, #16] - 8006322: f002 fcc7 bl 8008cb4 - 8006326: 4e56 ldr r6, [pc, #344] ; (8006480 ) - 8006328: 4d56 ldr r5, [pc, #344] ; (8006484 ) - 800632a: 2800 cmp r0, #0 - 800632c: d170 bne.n 8006410 - 800632e: 2301 movs r3, #1 - 8006330: 7033 strb r3, [r6, #0] - 8006332: 682b ldr r3, [r5, #0] - 8006334: 69db ldr r3, [r3, #28] - 8006336: b10b cbz r3, 800633c - 8006338: 2000 movs r0, #0 - 800633a: 4798 blx r3 - 800633c: 2327 movs r3, #39 ; 0x27 - 800633e: a804 add r0, sp, #16 - 8006340: f88d 3010 strb.w r3, [sp, #16] - 8006344: f002 fb8e bl 8008a64 - 8006348: 9b05 ldr r3, [sp, #20] - 800634a: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 - 800634e: 7022 strb r2, [r4, #0] - 8006350: f893 2118 ldrb.w r2, [r3, #280] ; 0x118 - 8006354: f893 311a ldrb.w r3, [r3, #282] ; 0x11a - 8006358: 7062 strb r2, [r4, #1] - 800635a: 70a3 strb r3, [r4, #2] - 800635c: 4b46 ldr r3, [pc, #280] ; (8006478 ) - 800635e: e9d3 0102 ldrd r0, r1, [r3, #8] - 8006362: f005 ffaf bl 800c2c4 - 8006366: 4605 mov r5, r0 - 8006368: 2800 cmp r0, #0 - 800636a: d1d2 bne.n 8006312 - 800636c: 4e46 ldr r6, [pc, #280] ; (8006488 ) - 800636e: 2306 movs r3, #6 - 8006370: a804 add r0, sp, #16 - 8006372: f88d 3010 strb.w r3, [sp, #16] - 8006376: f002 fb75 bl 8008a64 - 800637a: 9b05 ldr r3, [sp, #20] - 800637c: 6173 str r3, [r6, #20] - 800637e: a804 add r0, sp, #16 - 8006380: f002 fc98 bl 8008cb4 - 8006384: 2302 movs r3, #2 - 8006386: a804 add r0, sp, #16 - 8006388: f88d 3010 strb.w r3, [sp, #16] - 800638c: 9605 str r6, [sp, #20] - 800638e: f002 fb69 bl 8008a64 - 8006392: 3608 adds r6, #8 - 8006394: 2303 movs r3, #3 - 8006396: a804 add r0, sp, #16 - 8006398: f88d 3010 strb.w r3, [sp, #16] - 800639c: 9605 str r6, [sp, #20] - 800639e: f002 fb61 bl 8008a64 - 80063a2: 260f movs r6, #15 - 80063a4: f006 f852 bl 800c44c - 80063a8: 2301 movs r3, #1 +080062e8 : + 80062e8: b570 push {r4, r5, r6, lr} + 80062ea: 4c65 ldr r4, [pc, #404] ; (8006480 ) + 80062ec: 4601 mov r1, r0 + 80062ee: b08e sub sp, #56 ; 0x38 + 80062f0: 2218 movs r2, #24 + 80062f2: 4620 mov r0, r4 + 80062f4: f006 f8fe bl 800c4f4 + 80062f8: 4b62 ldr r3, [pc, #392] ; (8006484 ) + 80062fa: 2200 movs r2, #0 + 80062fc: 701a strb r2, [r3, #0] + 80062fe: f7fb fffb bl 80022f8 + 8006302: 7823 ldrb r3, [r4, #0] + 8006304: 6840 ldr r0, [r0, #4] + 8006306: 2201 movs r2, #1 + 8006308: fa02 f103 lsl.w r1, r2, r3 + 800630c: 4001 ands r1, r0 + 800630e: d104 bne.n 800631a + 8006310: 4b5d ldr r3, [pc, #372] ; (8006488 ) + 8006312: 4608 mov r0, r1 + 8006314: f008 f8e4 bl 800e4e0 + 8006318: e7fe b.n 8006318 + 800631a: 495c ldr r1, [pc, #368] ; (800648c ) + 800631c: 485c ldr r0, [pc, #368] ; (8006490 ) + 800631e: 461a mov r2, r3 + 8006320: f002 f932 bl 8008588 + 8006324: b118 cbz r0, 800632e + 8006326: f04f 30ff mov.w r0, #4294967295 + 800632a: b00e add sp, #56 ; 0x38 + 800632c: bd70 pop {r4, r5, r6, pc} + 800632e: 2327 movs r3, #39 ; 0x27 + 8006330: a804 add r0, sp, #16 + 8006332: f88d 3010 strb.w r3, [sp, #16] + 8006336: f002 fcc7 bl 8008cc8 + 800633a: 4e56 ldr r6, [pc, #344] ; (8006494 ) + 800633c: 4d56 ldr r5, [pc, #344] ; (8006498 ) + 800633e: 2800 cmp r0, #0 + 8006340: d170 bne.n 8006424 + 8006342: 2301 movs r3, #1 + 8006344: 7033 strb r3, [r6, #0] + 8006346: 682b ldr r3, [r5, #0] + 8006348: 69db ldr r3, [r3, #28] + 800634a: b10b cbz r3, 8006350 + 800634c: 2000 movs r0, #0 + 800634e: 4798 blx r3 + 8006350: 2327 movs r3, #39 ; 0x27 + 8006352: a804 add r0, sp, #16 + 8006354: f88d 3010 strb.w r3, [sp, #16] + 8006358: f002 fb8e bl 8008a78 + 800635c: 9b05 ldr r3, [sp, #20] + 800635e: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 + 8006362: 7022 strb r2, [r4, #0] + 8006364: f893 2118 ldrb.w r2, [r3, #280] ; 0x118 + 8006368: f893 311a ldrb.w r3, [r3, #282] ; 0x11a + 800636c: 7062 strb r2, [r4, #1] + 800636e: 70a3 strb r3, [r4, #2] + 8006370: 4b46 ldr r3, [pc, #280] ; (800648c ) + 8006372: e9d3 0102 ldrd r0, r1, [r3, #8] + 8006376: f005 ffaf bl 800c2d8 + 800637a: 4605 mov r5, r0 + 800637c: 2800 cmp r0, #0 + 800637e: d1d2 bne.n 8006326 + 8006380: 4e46 ldr r6, [pc, #280] ; (800649c ) + 8006382: 2306 movs r3, #6 + 8006384: a804 add r0, sp, #16 + 8006386: f88d 3010 strb.w r3, [sp, #16] + 800638a: f002 fb75 bl 8008a78 + 800638e: 9b05 ldr r3, [sp, #20] + 8006390: 6173 str r3, [r6, #20] + 8006392: a804 add r0, sp, #16 + 8006394: f002 fc98 bl 8008cc8 + 8006398: 2302 movs r3, #2 + 800639a: a804 add r0, sp, #16 + 800639c: f88d 3010 strb.w r3, [sp, #16] + 80063a0: 9605 str r6, [sp, #20] + 80063a2: f002 fb69 bl 8008a78 + 80063a6: 3608 adds r6, #8 + 80063a8: 2303 movs r3, #3 80063aa: a804 add r0, sp, #16 - 80063ac: f88d 3014 strb.w r3, [sp, #20] - 80063b0: f88d 6010 strb.w r6, [sp, #16] - 80063b4: f002 fc7e bl 8008cb4 - 80063b8: 2310 movs r3, #16 - 80063ba: eb0d 0003 add.w r0, sp, r3 - 80063be: f88d 3010 strb.w r3, [sp, #16] - 80063c2: f88d 5014 strb.w r5, [sp, #20] - 80063c6: f002 fc75 bl 8008cb4 - 80063ca: 2304 movs r3, #4 - 80063cc: f88d 3010 strb.w r3, [sp, #16] - 80063d0: a804 add r0, sp, #16 - 80063d2: 78a3 ldrb r3, [r4, #2] - 80063d4: f88d 3014 strb.w r3, [sp, #20] - 80063d8: f002 fc6c bl 8008cb4 - 80063dc: 233a movs r3, #58 ; 0x3a - 80063de: f88d 3010 strb.w r3, [sp, #16] - 80063e2: a804 add r0, sp, #16 - 80063e4: 6963 ldr r3, [r4, #20] - 80063e6: 9305 str r3, [sp, #20] - 80063e8: f002 fc64 bl 8008cb4 - 80063ec: a902 add r1, sp, #8 - 80063ee: 7820 ldrb r0, [r4, #0] - 80063f0: f88d 6008 strb.w r6, [sp, #8] - 80063f4: f004 f8e8 bl 800a5c8 - 80063f8: 3800 subs r0, #0 - 80063fa: bf18 it ne - 80063fc: 2001 movne r0, #1 - 80063fe: 71e0 strb r0, [r4, #7] - 8006400: 2014 movs r0, #20 - 8006402: f7ff ff57 bl 80062b4 - 8006406: 79e0 ldrb r0, [r4, #7] - 8006408: f003 f9a4 bl 8009754 - 800640c: 4628 mov r0, r5 - 800640e: e782 b.n 8006316 - 8006410: 2328 movs r3, #40 ; 0x28 - 8006412: f88d 3010 strb.w r3, [sp, #16] - 8006416: 682b ldr r3, [r5, #0] - 8006418: 691b ldr r3, [r3, #16] - 800641a: b143 cbz r3, 800642e - 800641c: a804 add r0, sp, #16 - 800641e: f002 fb21 bl 8008a64 - 8006422: 682b ldr r3, [r5, #0] - 8006424: 9805 ldr r0, [sp, #20] - 8006426: 691b ldr r3, [r3, #16] - 8006428: f240 51c4 movw r1, #1476 ; 0x5c4 - 800642c: 4798 blx r3 - 800642e: 2327 movs r3, #39 ; 0x27 + 80063ac: f88d 3010 strb.w r3, [sp, #16] + 80063b0: 9605 str r6, [sp, #20] + 80063b2: f002 fb61 bl 8008a78 + 80063b6: 260f movs r6, #15 + 80063b8: f006 f852 bl 800c460 + 80063bc: 2301 movs r3, #1 + 80063be: a804 add r0, sp, #16 + 80063c0: f88d 3014 strb.w r3, [sp, #20] + 80063c4: f88d 6010 strb.w r6, [sp, #16] + 80063c8: f002 fc7e bl 8008cc8 + 80063cc: 2310 movs r3, #16 + 80063ce: eb0d 0003 add.w r0, sp, r3 + 80063d2: f88d 3010 strb.w r3, [sp, #16] + 80063d6: f88d 5014 strb.w r5, [sp, #20] + 80063da: f002 fc75 bl 8008cc8 + 80063de: 2304 movs r3, #4 + 80063e0: f88d 3010 strb.w r3, [sp, #16] + 80063e4: a804 add r0, sp, #16 + 80063e6: 78a3 ldrb r3, [r4, #2] + 80063e8: f88d 3014 strb.w r3, [sp, #20] + 80063ec: f002 fc6c bl 8008cc8 + 80063f0: 233a movs r3, #58 ; 0x3a + 80063f2: f88d 3010 strb.w r3, [sp, #16] + 80063f6: a804 add r0, sp, #16 + 80063f8: 6963 ldr r3, [r4, #20] + 80063fa: 9305 str r3, [sp, #20] + 80063fc: f002 fc64 bl 8008cc8 + 8006400: a902 add r1, sp, #8 + 8006402: 7820 ldrb r0, [r4, #0] + 8006404: f88d 6008 strb.w r6, [sp, #8] + 8006408: f004 f8e8 bl 800a5dc + 800640c: 3800 subs r0, #0 + 800640e: bf18 it ne + 8006410: 2001 movne r0, #1 + 8006412: 71e0 strb r0, [r4, #7] + 8006414: 2014 movs r0, #20 + 8006416: f7ff ff57 bl 80062c8 + 800641a: 79e0 ldrb r0, [r4, #7] + 800641c: f003 f9a4 bl 8009768 + 8006420: 4628 mov r0, r5 + 8006422: e782 b.n 800632a + 8006424: 2328 movs r3, #40 ; 0x28 + 8006426: f88d 3010 strb.w r3, [sp, #16] + 800642a: 682b ldr r3, [r5, #0] + 800642c: 691b ldr r3, [r3, #16] + 800642e: b143 cbz r3, 8006442 8006430: a804 add r0, sp, #16 - 8006432: f88d 3010 strb.w r3, [sp, #16] - 8006436: f002 fc3d bl 8008cb4 - 800643a: b950 cbnz r0, 8006452 - 800643c: 2301 movs r3, #1 - 800643e: a804 add r0, sp, #16 - 8006440: f88d 3010 strb.w r3, [sp, #16] - 8006444: f002 fb0e bl 8008a64 - 8006448: f89d 3014 ldrb.w r3, [sp, #20] - 800644c: 2b00 cmp r3, #0 - 800644e: f47f af6e bne.w 800632e - 8006452: 7833 ldrb r3, [r6, #0] - 8006454: 2b00 cmp r3, #0 - 8006456: f47f af6c bne.w 8006332 - 800645a: 2205 movs r2, #5 - 800645c: a804 add r0, sp, #16 - 800645e: f88d 2010 strb.w r2, [sp, #16] - 8006462: 9305 str r3, [sp, #20] - 8006464: f002 fc26 bl 8008cb4 - 8006468: e778 b.n 800635c - 800646a: bf00 nop - 800646c: 20000598 .word 0x20000598 - 8006470: 2000057c .word 0x2000057c - 8006474: 0800f260 .word 0x0800f260 - 8006478: 200005c0 .word 0x200005c0 - 800647c: 200005d8 .word 0x200005d8 - 8006480: 20000574 .word 0x20000574 - 8006484: 20000580 .word 0x20000580 - 8006488: 2000055c .word 0x2000055c + 8006432: f002 fb21 bl 8008a78 + 8006436: 682b ldr r3, [r5, #0] + 8006438: 9805 ldr r0, [sp, #20] + 800643a: 691b ldr r3, [r3, #16] + 800643c: f240 51c4 movw r1, #1476 ; 0x5c4 + 8006440: 4798 blx r3 + 8006442: 2327 movs r3, #39 ; 0x27 + 8006444: a804 add r0, sp, #16 + 8006446: f88d 3010 strb.w r3, [sp, #16] + 800644a: f002 fc3d bl 8008cc8 + 800644e: b950 cbnz r0, 8006466 + 8006450: 2301 movs r3, #1 + 8006452: a804 add r0, sp, #16 + 8006454: f88d 3010 strb.w r3, [sp, #16] + 8006458: f002 fb0e bl 8008a78 + 800645c: f89d 3014 ldrb.w r3, [sp, #20] + 8006460: 2b00 cmp r3, #0 + 8006462: f47f af6e bne.w 8006342 + 8006466: 7833 ldrb r3, [r6, #0] + 8006468: 2b00 cmp r3, #0 + 800646a: f47f af6c bne.w 8006346 + 800646e: 2205 movs r2, #5 + 8006470: a804 add r0, sp, #16 + 8006472: f88d 2010 strb.w r2, [sp, #16] + 8006476: 9305 str r3, [sp, #20] + 8006478: f002 fc26 bl 8008cc8 + 800647c: e778 b.n 8006370 + 800647e: bf00 nop + 8006480: 20000598 .word 0x20000598 + 8006484: 2000057c .word 0x2000057c + 8006488: 0800f270 .word 0x0800f270 + 800648c: 200005c0 .word 0x200005c0 + 8006490: 200005d8 .word 0x200005d8 + 8006494: 20000574 .word 0x20000574 + 8006498: 20000580 .word 0x20000580 + 800649c: 2000055c .word 0x2000055c -0800648c : - 800648c: b537 push {r0, r1, r2, r4, r5, lr} - 800648e: 2300 movs r3, #0 - 8006490: 460d mov r5, r1 - 8006492: 9301 str r3, [sp, #4] - 8006494: 4604 mov r4, r0 - 8006496: b9d0 cbnz r0, 80064ce - 8006498: f000 fba8 bl 8006bec - 800649c: 9001 str r0, [sp, #4] - 800649e: 9b01 ldr r3, [sp, #4] - 80064a0: b1d3 cbz r3, 80064d8 - 80064a2: 4a0f ldr r2, [pc, #60] ; (80064e0 ) - 80064a4: f842 3024 str.w r3, [r2, r4, lsl #2] - 80064a8: 4a0e ldr r2, [pc, #56] ; (80064e4 ) - 80064aa: 629a str r2, [r3, #40] ; 0x28 - 80064ac: 4a0e ldr r2, [pc, #56] ; (80064e8 ) - 80064ae: 6812 ldr r2, [r2, #0] - 80064b0: 6b91 ldr r1, [r2, #56] ; 0x38 - 80064b2: 6319 str r1, [r3, #48] ; 0x30 - 80064b4: 6c91 ldr r1, [r2, #72] ; 0x48 - 80064b6: 6359 str r1, [r3, #52] ; 0x34 - 80064b8: 6992 ldr r2, [r2, #24] - 80064ba: 490c ldr r1, [pc, #48] ; (80064ec ) - 80064bc: 62d9 str r1, [r3, #44] ; 0x2c - 80064be: 615a str r2, [r3, #20] - 80064c0: 4628 mov r0, r5 - 80064c2: 685b ldr r3, [r3, #4] - 80064c4: 490a ldr r1, [pc, #40] ; (80064f0 ) - 80064c6: 22f2 movs r2, #242 ; 0xf2 - 80064c8: 4798 blx r3 - 80064ca: 2000 movs r0, #0 - 80064cc: e006 b.n 80064dc - 80064ce: a901 add r1, sp, #4 - 80064d0: f000 fb92 bl 8006bf8 - 80064d4: 2800 cmp r0, #0 - 80064d6: d0e2 beq.n 800649e - 80064d8: f04f 30ff mov.w r0, #4294967295 - 80064dc: b003 add sp, #12 - 80064de: bd30 pop {r4, r5, pc} - 80064e0: 20000584 .word 0x20000584 - 80064e4: 08005d81 .word 0x08005d81 - 80064e8: 20000580 .word 0x20000580 - 80064ec: 08005e5d .word 0x08005e5d - 80064f0: 20000468 .word 0x20000468 +080064a0 : + 80064a0: b537 push {r0, r1, r2, r4, r5, lr} + 80064a2: 2300 movs r3, #0 + 80064a4: 460d mov r5, r1 + 80064a6: 9301 str r3, [sp, #4] + 80064a8: 4604 mov r4, r0 + 80064aa: b9d0 cbnz r0, 80064e2 + 80064ac: f000 fba8 bl 8006c00 + 80064b0: 9001 str r0, [sp, #4] + 80064b2: 9b01 ldr r3, [sp, #4] + 80064b4: b1d3 cbz r3, 80064ec + 80064b6: 4a0f ldr r2, [pc, #60] ; (80064f4 ) + 80064b8: f842 3024 str.w r3, [r2, r4, lsl #2] + 80064bc: 4a0e ldr r2, [pc, #56] ; (80064f8 ) + 80064be: 629a str r2, [r3, #40] ; 0x28 + 80064c0: 4a0e ldr r2, [pc, #56] ; (80064fc ) + 80064c2: 6812 ldr r2, [r2, #0] + 80064c4: 6b91 ldr r1, [r2, #56] ; 0x38 + 80064c6: 6319 str r1, [r3, #48] ; 0x30 + 80064c8: 6c91 ldr r1, [r2, #72] ; 0x48 + 80064ca: 6359 str r1, [r3, #52] ; 0x34 + 80064cc: 6992 ldr r2, [r2, #24] + 80064ce: 490c ldr r1, [pc, #48] ; (8006500 ) + 80064d0: 62d9 str r1, [r3, #44] ; 0x2c + 80064d2: 615a str r2, [r3, #20] + 80064d4: 4628 mov r0, r5 + 80064d6: 685b ldr r3, [r3, #4] + 80064d8: 490a ldr r1, [pc, #40] ; (8006504 ) + 80064da: 22f2 movs r2, #242 ; 0xf2 + 80064dc: 4798 blx r3 + 80064de: 2000 movs r0, #0 + 80064e0: e006 b.n 80064f0 + 80064e2: a901 add r1, sp, #4 + 80064e4: f000 fb92 bl 8006c0c + 80064e8: 2800 cmp r0, #0 + 80064ea: d0e2 beq.n 80064b2 + 80064ec: f04f 30ff mov.w r0, #4294967295 + 80064f0: b003 add sp, #12 + 80064f2: bd30 pop {r4, r5, pc} + 80064f4: 20000584 .word 0x20000584 + 80064f8: 08005d95 .word 0x08005d95 + 80064fc: 20000580 .word 0x20000580 + 8006500: 08005e71 .word 0x08005e71 + 8006504: 20000468 .word 0x20000468 -080064f4 : - 80064f4: 4b19 ldr r3, [pc, #100] ; (800655c ) - 80064f6: b507 push {r0, r1, r2, lr} - 80064f8: 6018 str r0, [r3, #0] - 80064fa: 4b19 ldr r3, [pc, #100] ; (8006560 ) - 80064fc: 4a19 ldr r2, [pc, #100] ; (8006564 ) - 80064fe: 601a str r2, [r3, #0] - 8006500: 4a19 ldr r2, [pc, #100] ; (8006568 ) - 8006502: 605a str r2, [r3, #4] - 8006504: 4a19 ldr r2, [pc, #100] ; (800656c ) - 8006506: 609a str r2, [r3, #8] - 8006508: 4a19 ldr r2, [pc, #100] ; (8006570 ) - 800650a: 60da str r2, [r3, #12] - 800650c: 4b19 ldr r3, [pc, #100] ; (8006574 ) - 800650e: 6802 ldr r2, [r0, #0] - 8006510: 601a str r2, [r3, #0] - 8006512: 6842 ldr r2, [r0, #4] - 8006514: 605a str r2, [r3, #4] - 8006516: 6882 ldr r2, [r0, #8] - 8006518: 609a str r2, [r3, #8] - 800651a: 68c2 ldr r2, [r0, #12] - 800651c: 60da str r2, [r3, #12] - 800651e: 4a16 ldr r2, [pc, #88] ; (8006578 ) - 8006520: 611a str r2, [r3, #16] - 8006522: 6982 ldr r2, [r0, #24] - 8006524: 615a str r2, [r3, #20] - 8006526: 4b15 ldr r3, [pc, #84] ; (800657c ) - 8006528: 6bc2 ldr r2, [r0, #60] ; 0x3c - 800652a: 605a str r2, [r3, #4] - 800652c: 4a14 ldr r2, [pc, #80] ; (8006580 ) - 800652e: 9101 str r1, [sp, #4] - 8006530: 6019 str r1, [r3, #0] - 8006532: 609a str r2, [r3, #8] - 8006534: 4619 mov r1, r3 - 8006536: 4a13 ldr r2, [pc, #76] ; (8006584 ) - 8006538: 60da str r2, [r3, #12] - 800653a: 2000 movs r0, #0 - 800653c: f7ff ffa6 bl 800648c - 8006540: b948 cbnz r0, 8006556 - 8006542: a801 add r0, sp, #4 - 8006544: f000 fb56 bl 8006bf4 - 8006548: 3800 subs r0, #0 - 800654a: bf18 it ne - 800654c: 2001 movne r0, #1 - 800654e: 4240 negs r0, r0 - 8006550: b003 add sp, #12 - 8006552: f85d fb04 ldr.w pc, [sp], #4 - 8006556: f04f 30ff mov.w r0, #4294967295 - 800655a: e7f9 b.n 8006550 - 800655c: 20000580 .word 0x20000580 - 8006560: 200005d8 .word 0x200005d8 - 8006564: 08005ee5 .word 0x08005ee5 - 8006568: 080061ed .word 0x080061ed - 800656c: 08006605 .word 0x08006605 - 8006570: 08005e85 .word 0x08005e85 - 8006574: 200005c0 .word 0x200005c0 - 8006578: 0800a579 .word 0x0800a579 - 800657c: 200005b0 .word 0x200005b0 - 8006580: 08005d51 .word 0x08005d51 - 8006584: 08005d69 .word 0x08005d69 +08006508 : + 8006508: 4b19 ldr r3, [pc, #100] ; (8006570 ) + 800650a: b507 push {r0, r1, r2, lr} + 800650c: 6018 str r0, [r3, #0] + 800650e: 4b19 ldr r3, [pc, #100] ; (8006574 ) + 8006510: 4a19 ldr r2, [pc, #100] ; (8006578 ) + 8006512: 601a str r2, [r3, #0] + 8006514: 4a19 ldr r2, [pc, #100] ; (800657c ) + 8006516: 605a str r2, [r3, #4] + 8006518: 4a19 ldr r2, [pc, #100] ; (8006580 ) + 800651a: 609a str r2, [r3, #8] + 800651c: 4a19 ldr r2, [pc, #100] ; (8006584 ) + 800651e: 60da str r2, [r3, #12] + 8006520: 4b19 ldr r3, [pc, #100] ; (8006588 ) + 8006522: 6802 ldr r2, [r0, #0] + 8006524: 601a str r2, [r3, #0] + 8006526: 6842 ldr r2, [r0, #4] + 8006528: 605a str r2, [r3, #4] + 800652a: 6882 ldr r2, [r0, #8] + 800652c: 609a str r2, [r3, #8] + 800652e: 68c2 ldr r2, [r0, #12] + 8006530: 60da str r2, [r3, #12] + 8006532: 4a16 ldr r2, [pc, #88] ; (800658c ) + 8006534: 611a str r2, [r3, #16] + 8006536: 6982 ldr r2, [r0, #24] + 8006538: 615a str r2, [r3, #20] + 800653a: 4b15 ldr r3, [pc, #84] ; (8006590 ) + 800653c: 6bc2 ldr r2, [r0, #60] ; 0x3c + 800653e: 605a str r2, [r3, #4] + 8006540: 4a14 ldr r2, [pc, #80] ; (8006594 ) + 8006542: 9101 str r1, [sp, #4] + 8006544: 6019 str r1, [r3, #0] + 8006546: 609a str r2, [r3, #8] + 8006548: 4619 mov r1, r3 + 800654a: 4a13 ldr r2, [pc, #76] ; (8006598 ) + 800654c: 60da str r2, [r3, #12] + 800654e: 2000 movs r0, #0 + 8006550: f7ff ffa6 bl 80064a0 + 8006554: b948 cbnz r0, 800656a + 8006556: a801 add r0, sp, #4 + 8006558: f000 fb56 bl 8006c08 + 800655c: 3800 subs r0, #0 + 800655e: bf18 it ne + 8006560: 2001 movne r0, #1 + 8006562: 4240 negs r0, r0 + 8006564: b003 add sp, #12 + 8006566: f85d fb04 ldr.w pc, [sp], #4 + 800656a: f04f 30ff mov.w r0, #4294967295 + 800656e: e7f9 b.n 8006564 + 8006570: 20000580 .word 0x20000580 + 8006574: 200005d8 .word 0x200005d8 + 8006578: 08005ef9 .word 0x08005ef9 + 800657c: 08006201 .word 0x08006201 + 8006580: 08006619 .word 0x08006619 + 8006584: 08005e99 .word 0x08005e99 + 8006588: 200005c0 .word 0x200005c0 + 800658c: 0800a58d .word 0x0800a58d + 8006590: 200005b0 .word 0x200005b0 + 8006594: 08005d65 .word 0x08005d65 + 8006598: 08005d7d .word 0x08005d7d -08006588 : - 8006588: b151 cbz r1, 80065a0 - 800658a: b118 cbz r0, 8006594 - 800658c: 2801 cmp r0, #1 - 800658e: d004 beq.n 800659a - 8006590: 2000 movs r0, #0 - 8006592: 4770 bx lr - 8006594: 4b04 ldr r3, [pc, #16] ; (80065a8 ) - 8006596: 600b str r3, [r1, #0] - 8006598: 4770 bx lr - 800659a: 4b04 ldr r3, [pc, #16] ; (80065ac ) - 800659c: 600b str r3, [r1, #0] - 800659e: e7f7 b.n 8006590 - 80065a0: f04f 30ff mov.w r0, #4294967295 - 80065a4: 4770 bx lr - 80065a6: bf00 nop - 80065a8: 01000400 .word 0x01000400 - 80065ac: 02010001 .word 0x02010001 +0800659c : + 800659c: b151 cbz r1, 80065b4 + 800659e: b118 cbz r0, 80065a8 + 80065a0: 2801 cmp r0, #1 + 80065a2: d004 beq.n 80065ae + 80065a4: 2000 movs r0, #0 + 80065a6: 4770 bx lr + 80065a8: 4b04 ldr r3, [pc, #16] ; (80065bc ) + 80065aa: 600b str r3, [r1, #0] + 80065ac: 4770 bx lr + 80065ae: 4b04 ldr r3, [pc, #16] ; (80065c0 ) + 80065b0: 600b str r3, [r1, #0] + 80065b2: e7f7 b.n 80065a4 + 80065b4: f04f 30ff mov.w r0, #4294967295 + 80065b8: 4770 bx lr + 80065ba: bf00 nop + 80065bc: 01000400 .word 0x01000400 + 80065c0: 02010001 .word 0x02010001 -080065b0 : - 80065b0: b508 push {r3, lr} - 80065b2: f003 f8eb bl 800978c - 80065b6: 2800 cmp r0, #0 - 80065b8: bf14 ite ne - 80065ba: f06f 0001 mvnne.w r0, #1 - 80065be: 2000 moveq r0, #0 - 80065c0: bd08 pop {r3, pc} +080065c4 : + 80065c4: b508 push {r3, lr} + 80065c6: f003 f8eb bl 80097a0 + 80065ca: 2800 cmp r0, #0 + 80065cc: bf14 ite ne + 80065ce: f06f 0001 mvnne.w r0, #1 + 80065d2: 2000 moveq r0, #0 + 80065d4: bd08 pop {r3, pc} -080065c2 : - 80065c2: b508 push {r3, lr} - 80065c4: f002 f9bc bl 8008940 - 80065c8: 2800 cmp r0, #0 - 80065ca: bf14 ite ne - 80065cc: f06f 0001 mvnne.w r0, #1 - 80065d0: 2000 moveq r0, #0 - 80065d2: bd08 pop {r3, pc} +080065d6 : + 80065d6: b508 push {r3, lr} + 80065d8: f002 f9bc bl 8008954 + 80065dc: 2800 cmp r0, #0 + 80065de: bf14 ite ne + 80065e0: f06f 0001 mvnne.w r0, #1 + 80065e4: 2000 moveq r0, #0 + 80065e6: bd08 pop {r3, pc} -080065d4 : - 80065d4: b510 push {r4, lr} - 80065d6: 4604 mov r4, r0 - 80065d8: b08a sub sp, #40 ; 0x28 - 80065da: b918 cbnz r0, 80065e4 - 80065dc: f04f 30ff mov.w r0, #4294967295 - 80065e0: b00a add sp, #40 ; 0x28 - 80065e2: bd10 pop {r4, pc} - 80065e4: 2321 movs r3, #33 ; 0x21 - 80065e6: 4668 mov r0, sp - 80065e8: f88d 3000 strb.w r3, [sp] - 80065ec: f002 fa3a bl 8008a64 - 80065f0: 2800 cmp r0, #0 - 80065f2: d1f3 bne.n 80065dc - 80065f4: 4a02 ldr r2, [pc, #8] ; (8006600 ) - 80065f6: f99d 3004 ldrsb.w r3, [sp, #4] - 80065fa: 7023 strb r3, [r4, #0] - 80065fc: 7153 strb r3, [r2, #5] - 80065fe: e7ef b.n 80065e0 - 8006600: 20000598 .word 0x20000598 +080065e8 : + 80065e8: b510 push {r4, lr} + 80065ea: 4604 mov r4, r0 + 80065ec: b08a sub sp, #40 ; 0x28 + 80065ee: b918 cbnz r0, 80065f8 + 80065f0: f04f 30ff mov.w r0, #4294967295 + 80065f4: b00a add sp, #40 ; 0x28 + 80065f6: bd10 pop {r4, pc} + 80065f8: 2321 movs r3, #33 ; 0x21 + 80065fa: 4668 mov r0, sp + 80065fc: f88d 3000 strb.w r3, [sp] + 8006600: f002 fa3a bl 8008a78 + 8006604: 2800 cmp r0, #0 + 8006606: d1f3 bne.n 80065f0 + 8006608: 4a02 ldr r2, [pc, #8] ; (8006614 ) + 800660a: f99d 3004 ldrsb.w r3, [sp, #4] + 800660e: 7023 strb r3, [r4, #0] + 8006610: 7153 strb r3, [r2, #5] + 8006612: e7ef b.n 80065f4 + 8006614: 20000598 .word 0x20000598 -08006604 : - 8006604: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8006608: 4d2e ldr r5, [pc, #184] ; (80066c4 ) - 800660a: 4f2f ldr r7, [pc, #188] ; (80066c8 ) - 800660c: 2300 movs r3, #0 - 800660e: 702b strb r3, [r5, #0] - 8006610: 7843 ldrb r3, [r0, #1] - 8006612: 706b strb r3, [r5, #1] - 8006614: 683b ldr r3, [r7, #0] - 8006616: 6a9b ldr r3, [r3, #40] ; 0x28 - 8006618: b08a sub sp, #40 ; 0x28 - 800661a: 4604 mov r4, r0 - 800661c: b10b cbz r3, 8006622 - 800661e: 4628 mov r0, r5 - 8006620: 4798 blx r3 - 8006622: f8df 80a8 ldr.w r8, [pc, #168] ; 80066cc - 8006626: 2605 movs r6, #5 - 8006628: f858 3b04 ldr.w r3, [r8], #4 - 800662c: b11b cbz r3, 8006636 - 800662e: 6a1b ldr r3, [r3, #32] - 8006630: b10b cbz r3, 8006636 - 8006632: 4620 mov r0, r4 +08006618 : + 8006618: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800661c: 4d2e ldr r5, [pc, #184] ; (80066d8 ) + 800661e: 4f2f ldr r7, [pc, #188] ; (80066dc ) + 8006620: 2300 movs r3, #0 + 8006622: 702b strb r3, [r5, #0] + 8006624: 7843 ldrb r3, [r0, #1] + 8006626: 706b strb r3, [r5, #1] + 8006628: 683b ldr r3, [r7, #0] + 800662a: 6a9b ldr r3, [r3, #40] ; 0x28 + 800662c: b08a sub sp, #40 ; 0x28 + 800662e: 4604 mov r4, r0 + 8006630: b10b cbz r3, 8006636 + 8006632: 4628 mov r0, r5 8006634: 4798 blx r3 - 8006636: 3e01 subs r6, #1 - 8006638: f016 06ff ands.w r6, r6, #255 ; 0xff - 800663c: d1f4 bne.n 8006628 - 800663e: 7823 ldrb r3, [r4, #0] - 8006640: 2b05 cmp r3, #5 - 8006642: d02f beq.n 80066a4 - 8006644: 2b0b cmp r3, #11 - 8006646: d035 beq.n 80066b4 - 8006648: 2b01 cmp r3, #1 - 800664a: d125 bne.n 8006698 - 800664c: 4c20 ldr r4, [pc, #128] ; (80066d0 ) - 800664e: 2306 movs r3, #6 - 8006650: 4668 mov r0, sp - 8006652: f88d 3000 strb.w r3, [sp] - 8006656: f002 fa05 bl 8008a64 - 800665a: 9901 ldr r1, [sp, #4] - 800665c: 79e0 ldrb r0, [r4, #7] - 800665e: f005 fe77 bl 800c350 - 8006662: b910 cbnz r0, 800666a - 8006664: 4b1b ldr r3, [pc, #108] ; (80066d4 ) - 8006666: 9a01 ldr r2, [sp, #4] - 8006668: 615a str r2, [r3, #20] - 800666a: 481b ldr r0, [pc, #108] ; (80066d8 ) - 800666c: f7ff fe0a bl 8006284 - 8006670: 481a ldr r0, [pc, #104] ; (80066dc ) - 8006672: f7ff ffaf bl 80065d4 - 8006676: 786b ldrb r3, [r5, #1] - 8006678: b98b cbnz r3, 800669e - 800667a: 71a3 strb r3, [r4, #6] - 800667c: 4b18 ldr r3, [pc, #96] ; (80066e0 ) - 800667e: 7858 ldrb r0, [r3, #1] - 8006680: f7ff fd56 bl 8006130 - 8006684: 683b ldr r3, [r7, #0] - 8006686: 6a5b ldr r3, [r3, #36] ; 0x24 - 8006688: b10b cbz r3, 800668e - 800668a: 4811 ldr r0, [pc, #68] ; (80066d0 ) - 800668c: 4798 blx r3 - 800668e: 786b ldrb r3, [r5, #1] - 8006690: b913 cbnz r3, 8006698 - 8006692: 79e0 ldrb r0, [r4, #7] - 8006694: f005 feec bl 800c470 - 8006698: b00a add sp, #40 ; 0x28 - 800669a: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800669e: 23ff movs r3, #255 ; 0xff - 80066a0: 71a3 strb r3, [r4, #6] - 80066a2: e7ef b.n 8006684 - 80066a4: 4b0f ldr r3, [pc, #60] ; (80066e4 ) - 80066a6: 2201 movs r2, #1 - 80066a8: 745a strb r2, [r3, #17] - 80066aa: 7a22 ldrb r2, [r4, #8] - 80066ac: 749a strb r2, [r3, #18] - 80066ae: 7a62 ldrb r2, [r4, #9] - 80066b0: 74da strb r2, [r3, #19] - 80066b2: e7f1 b.n 8006698 - 80066b4: 7863 ldrb r3, [r4, #1] - 80066b6: 2b00 cmp r3, #0 - 80066b8: d0ee beq.n 8006698 - 80066ba: b00a add sp, #40 ; 0x28 - 80066bc: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 80066c0: f7ff bbcc b.w 8005e5c - 80066c4: 2000009c .word 0x2000009c - 80066c8: 20000580 .word 0x20000580 - 80066cc: 20000584 .word 0x20000584 - 80066d0: 2000007c .word 0x2000007c - 80066d4: 2000055c .word 0x2000055c - 80066d8: 20000080 .word 0x20000080 - 80066dc: 20000081 .word 0x20000081 - 80066e0: 20000598 .word 0x20000598 - 80066e4: 20000088 .word 0x20000088 + 8006636: f8df 80a8 ldr.w r8, [pc, #168] ; 80066e0 + 800663a: 2605 movs r6, #5 + 800663c: f858 3b04 ldr.w r3, [r8], #4 + 8006640: b11b cbz r3, 800664a + 8006642: 6a1b ldr r3, [r3, #32] + 8006644: b10b cbz r3, 800664a + 8006646: 4620 mov r0, r4 + 8006648: 4798 blx r3 + 800664a: 3e01 subs r6, #1 + 800664c: f016 06ff ands.w r6, r6, #255 ; 0xff + 8006650: d1f4 bne.n 800663c + 8006652: 7823 ldrb r3, [r4, #0] + 8006654: 2b05 cmp r3, #5 + 8006656: d02f beq.n 80066b8 + 8006658: 2b0b cmp r3, #11 + 800665a: d035 beq.n 80066c8 + 800665c: 2b01 cmp r3, #1 + 800665e: d125 bne.n 80066ac + 8006660: 4c20 ldr r4, [pc, #128] ; (80066e4 ) + 8006662: 2306 movs r3, #6 + 8006664: 4668 mov r0, sp + 8006666: f88d 3000 strb.w r3, [sp] + 800666a: f002 fa05 bl 8008a78 + 800666e: 9901 ldr r1, [sp, #4] + 8006670: 79e0 ldrb r0, [r4, #7] + 8006672: f005 fe77 bl 800c364 + 8006676: b910 cbnz r0, 800667e + 8006678: 4b1b ldr r3, [pc, #108] ; (80066e8 ) + 800667a: 9a01 ldr r2, [sp, #4] + 800667c: 615a str r2, [r3, #20] + 800667e: 481b ldr r0, [pc, #108] ; (80066ec ) + 8006680: f7ff fe0a bl 8006298 + 8006684: 481a ldr r0, [pc, #104] ; (80066f0 ) + 8006686: f7ff ffaf bl 80065e8 + 800668a: 786b ldrb r3, [r5, #1] + 800668c: b98b cbnz r3, 80066b2 + 800668e: 71a3 strb r3, [r4, #6] + 8006690: 4b18 ldr r3, [pc, #96] ; (80066f4 ) + 8006692: 7858 ldrb r0, [r3, #1] + 8006694: f7ff fd56 bl 8006144 + 8006698: 683b ldr r3, [r7, #0] + 800669a: 6a5b ldr r3, [r3, #36] ; 0x24 + 800669c: b10b cbz r3, 80066a2 + 800669e: 4811 ldr r0, [pc, #68] ; (80066e4 ) + 80066a0: 4798 blx r3 + 80066a2: 786b ldrb r3, [r5, #1] + 80066a4: b913 cbnz r3, 80066ac + 80066a6: 79e0 ldrb r0, [r4, #7] + 80066a8: f005 feec bl 800c484 + 80066ac: b00a add sp, #40 ; 0x28 + 80066ae: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 80066b2: 23ff movs r3, #255 ; 0xff + 80066b4: 71a3 strb r3, [r4, #6] + 80066b6: e7ef b.n 8006698 + 80066b8: 4b0f ldr r3, [pc, #60] ; (80066f8 ) + 80066ba: 2201 movs r2, #1 + 80066bc: 745a strb r2, [r3, #17] + 80066be: 7a22 ldrb r2, [r4, #8] + 80066c0: 749a strb r2, [r3, #18] + 80066c2: 7a62 ldrb r2, [r4, #9] + 80066c4: 74da strb r2, [r3, #19] + 80066c6: e7f1 b.n 80066ac + 80066c8: 7863 ldrb r3, [r4, #1] + 80066ca: 2b00 cmp r3, #0 + 80066cc: d0ee beq.n 80066ac + 80066ce: b00a add sp, #40 ; 0x28 + 80066d0: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 80066d4: f7ff bbcc b.w 8005e70 + 80066d8: 2000009c .word 0x2000009c + 80066dc: 20000580 .word 0x20000580 + 80066e0: 20000584 .word 0x20000584 + 80066e4: 2000007c .word 0x2000007c + 80066e8: 2000055c .word 0x2000055c + 80066ec: 20000080 .word 0x20000080 + 80066f0: 20000081 .word 0x20000081 + 80066f4: 20000598 .word 0x20000598 + 80066f8: 20000088 .word 0x20000088 -080066e8 : - 80066e8: b530 push {r4, r5, lr} - 80066ea: b08b sub sp, #44 ; 0x2c - 80066ec: f7ff ff69 bl 80065c2 - 80066f0: 4604 mov r4, r0 - 80066f2: b9f0 cbnz r0, 8006732 - 80066f4: f003 ff48 bl 800a588 - 80066f8: 1c83 adds r3, r0, #2 - 80066fa: d01d beq.n 8006738 - 80066fc: b9f8 cbnz r0, 800673e - 80066fe: 4d13 ldr r5, [pc, #76] ; (800674c ) - 8006700: 682b ldr r3, [r5, #0] - 8006702: 695b ldr r3, [r3, #20] - 8006704: b1db cbz r3, 800673e - 8006706: 2327 movs r3, #39 ; 0x27 - 8006708: 4668 mov r0, sp - 800670a: f88d 3000 strb.w r3, [sp] - 800670e: f002 f9a9 bl 8008a64 - 8006712: 682b ldr r3, [r5, #0] - 8006714: 9801 ldr r0, [sp, #4] +080066fc : + 80066fc: b530 push {r4, r5, lr} + 80066fe: b08b sub sp, #44 ; 0x2c + 8006700: f7ff ff69 bl 80065d6 + 8006704: 4604 mov r4, r0 + 8006706: b9f0 cbnz r0, 8006746 + 8006708: f003 ff48 bl 800a59c + 800670c: 1c83 adds r3, r0, #2 + 800670e: d01d beq.n 800674c + 8006710: b9f8 cbnz r0, 8006752 + 8006712: 4d13 ldr r5, [pc, #76] ; (8006760 ) + 8006714: 682b ldr r3, [r5, #0] 8006716: 695b ldr r3, [r3, #20] - 8006718: f44f 61b9 mov.w r1, #1480 ; 0x5c8 - 800671c: 4798 blx r3 - 800671e: f003 ff45 bl 800a5ac - 8006722: b978 cbnz r0, 8006744 - 8006724: b92c cbnz r4, 8006732 - 8006726: 4b09 ldr r3, [pc, #36] ; (800674c ) - 8006728: 681b ldr r3, [r3, #0] - 800672a: 69db ldr r3, [r3, #28] - 800672c: b10b cbz r3, 8006732 - 800672e: 2001 movs r0, #1 + 8006718: b1db cbz r3, 8006752 + 800671a: 2327 movs r3, #39 ; 0x27 + 800671c: 4668 mov r0, sp + 800671e: f88d 3000 strb.w r3, [sp] + 8006722: f002 f9a9 bl 8008a78 + 8006726: 682b ldr r3, [r5, #0] + 8006728: 9801 ldr r0, [sp, #4] + 800672a: 695b ldr r3, [r3, #20] + 800672c: f44f 61b9 mov.w r1, #1480 ; 0x5c8 8006730: 4798 blx r3 - 8006732: 4620 mov r0, r4 - 8006734: b00b add sp, #44 ; 0x2c - 8006736: bd30 pop {r4, r5, pc} - 8006738: f06f 0407 mvn.w r4, #7 - 800673c: e7ef b.n 800671e - 800673e: f04f 34ff mov.w r4, #4294967295 - 8006742: e7ec b.n 800671e - 8006744: f04f 34ff mov.w r4, #4294967295 - 8006748: e7f3 b.n 8006732 - 800674a: bf00 nop - 800674c: 20000580 .word 0x20000580 + 8006732: f003 ff45 bl 800a5c0 + 8006736: b978 cbnz r0, 8006758 + 8006738: b92c cbnz r4, 8006746 + 800673a: 4b09 ldr r3, [pc, #36] ; (8006760 ) + 800673c: 681b ldr r3, [r3, #0] + 800673e: 69db ldr r3, [r3, #28] + 8006740: b10b cbz r3, 8006746 + 8006742: 2001 movs r0, #1 + 8006744: 4798 blx r3 + 8006746: 4620 mov r0, r4 + 8006748: b00b add sp, #44 ; 0x2c + 800674a: bd30 pop {r4, r5, pc} + 800674c: f06f 0407 mvn.w r4, #7 + 8006750: e7ef b.n 8006732 + 8006752: f04f 34ff mov.w r4, #4294967295 + 8006756: e7ec b.n 8006732 + 8006758: f04f 34ff mov.w r4, #4294967295 + 800675c: e7f3 b.n 8006746 + 800675e: bf00 nop + 8006760: 20000580 .word 0x20000580 -08006750 : - 8006750: 4b01 ldr r3, [pc, #4] ; (8006758 ) - 8006752: 7818 ldrb r0, [r3, #0] - 8006754: 4770 bx lr - 8006756: bf00 nop - 8006758: 200005ec .word 0x200005ec - -0800675c : - 800675c: 4b01 ldr r3, [pc, #4] ; (8006764 ) - 800675e: 7858 ldrb r0, [r3, #1] - 8006760: 4770 bx lr - 8006762: bf00 nop - 8006764: 200005ec .word 0x200005ec - -08006768 : +08006764 : + 8006764: 4b01 ldr r3, [pc, #4] ; (800676c ) + 8006766: 7818 ldrb r0, [r3, #0] 8006768: 4770 bx lr + 800676a: bf00 nop + 800676c: 200005ec .word 0x200005ec + +08006770 : + 8006770: 4b01 ldr r3, [pc, #4] ; (8006778 ) + 8006772: 7858 ldrb r0, [r3, #1] + 8006774: 4770 bx lr + 8006776: bf00 nop + 8006778: 200005ec .word 0x200005ec + +0800677c : + 800677c: 4770 bx lr ... -0800676c : - 800676c: 4b04 ldr r3, [pc, #16] ; (8006780 ) - 800676e: 7a9a ldrb r2, [r3, #10] - 8006770: b10a cbz r2, 8006776 - 8006772: 2201 movs r2, #1 - 8006774: 705a strb r2, [r3, #1] - 8006776: 4b03 ldr r3, [pc, #12] ; (8006784 ) - 8006778: 695b ldr r3, [r3, #20] - 800677a: b103 cbz r3, 800677e - 800677c: 4718 bx r3 - 800677e: 4770 bx lr - 8006780: 200005ec .word 0x200005ec - 8006784: 200000b8 .word 0x200000b8 +08006780 : + 8006780: 4b04 ldr r3, [pc, #16] ; (8006794 ) + 8006782: 7a9a ldrb r2, [r3, #10] + 8006784: b10a cbz r2, 800678a + 8006786: 2201 movs r2, #1 + 8006788: 705a strb r2, [r3, #1] + 800678a: 4b03 ldr r3, [pc, #12] ; (8006798 ) + 800678c: 695b ldr r3, [r3, #20] + 800678e: b103 cbz r3, 8006792 + 8006790: 4718 bx r3 + 8006792: 4770 bx lr + 8006794: 200005ec .word 0x200005ec + 8006798: 200000b8 .word 0x200000b8 -08006788 : - 8006788: b573 push {r0, r1, r4, r5, r6, lr} - 800678a: 4c22 ldr r4, [pc, #136] ; (8006814 ) - 800678c: 7863 ldrb r3, [r4, #1] - 800678e: 2b00 cmp r3, #0 - 8006790: d033 beq.n 80067fa - 8006792: f008 f985 bl 800eaa0 - 8006796: 6866 ldr r6, [r4, #4] - 8006798: 4605 mov r5, r0 - 800679a: f7ff fbcd bl 8005f38 - 800679e: 4406 add r6, r0 - 80067a0: 42ae cmp r6, r5 - 80067a2: d214 bcs.n 80067ce - 80067a4: 7aa3 ldrb r3, [r4, #10] - 80067a6: b193 cbz r3, 80067ce - 80067a8: 22e0 movs r2, #224 ; 0xe0 - 80067aa: f88d 2000 strb.w r2, [sp] - 80067ae: f88d 3001 strb.w r3, [sp, #1] - 80067b2: 7a21 ldrb r1, [r4, #8] - 80067b4: 68e3 ldr r3, [r4, #12] - 80067b6: 9301 str r3, [sp, #4] - 80067b8: 2201 movs r2, #1 - 80067ba: 4668 mov r0, sp - 80067bc: f7ff fbec bl 8005f98 - 80067c0: b108 cbz r0, 80067c6 - 80067c2: 3007 adds r0, #7 - 80067c4: d110 bne.n 80067e8 - 80067c6: 2300 movs r3, #0 - 80067c8: 7063 strb r3, [r4, #1] - 80067ca: 72a3 strb r3, [r4, #10] - 80067cc: 6065 str r5, [r4, #4] - 80067ce: f894 3034 ldrb.w r3, [r4, #52] ; 0x34 - 80067d2: b1eb cbz r3, 8006810 - 80067d4: 2300 movs r3, #0 - 80067d6: f884 3034 strb.w r3, [r4, #52] ; 0x34 - 80067da: 4b0f ldr r3, [pc, #60] ; (8006818 ) - 80067dc: 6b5b ldr r3, [r3, #52] ; 0x34 - 80067de: b1bb cbz r3, 8006810 - 80067e0: b002 add sp, #8 - 80067e2: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 80067e6: 4718 bx r3 - 80067e8: f240 51dc movw r1, #1500 ; 0x5dc - 80067ec: 480b ldr r0, [pc, #44] ; (800681c ) - 80067ee: f008 fa23 bl 800ec38 - 80067f2: 480a ldr r0, [pc, #40] ; (800681c ) - 80067f4: f008 f9e6 bl 800ebc4 - 80067f8: e7e8 b.n 80067cc - 80067fa: f894 2035 ldrb.w r2, [r4, #53] ; 0x35 - 80067fe: 2a00 cmp r2, #0 - 8006800: d0e5 beq.n 80067ce - 8006802: f894 0036 ldrb.w r0, [r4, #54] ; 0x36 - 8006806: f884 3035 strb.w r3, [r4, #53] ; 0x35 - 800680a: f7ff fc91 bl 8006130 - 800680e: e7de b.n 80067ce - 8006810: b002 add sp, #8 - 8006812: bd70 pop {r4, r5, r6, pc} - 8006814: 200005ec .word 0x200005ec - 8006818: 200000b8 .word 0x200000b8 - 800681c: 20000624 .word 0x20000624 +0800679c : + 800679c: b573 push {r0, r1, r4, r5, r6, lr} + 800679e: 4c22 ldr r4, [pc, #136] ; (8006828 ) + 80067a0: 7863 ldrb r3, [r4, #1] + 80067a2: 2b00 cmp r3, #0 + 80067a4: d033 beq.n 800680e + 80067a6: f008 f985 bl 800eab4 + 80067aa: 6866 ldr r6, [r4, #4] + 80067ac: 4605 mov r5, r0 + 80067ae: f7ff fbcd bl 8005f4c + 80067b2: 4406 add r6, r0 + 80067b4: 42ae cmp r6, r5 + 80067b6: d214 bcs.n 80067e2 + 80067b8: 7aa3 ldrb r3, [r4, #10] + 80067ba: b193 cbz r3, 80067e2 + 80067bc: 22e0 movs r2, #224 ; 0xe0 + 80067be: f88d 2000 strb.w r2, [sp] + 80067c2: f88d 3001 strb.w r3, [sp, #1] + 80067c6: 7a21 ldrb r1, [r4, #8] + 80067c8: 68e3 ldr r3, [r4, #12] + 80067ca: 9301 str r3, [sp, #4] + 80067cc: 2201 movs r2, #1 + 80067ce: 4668 mov r0, sp + 80067d0: f7ff fbec bl 8005fac + 80067d4: b108 cbz r0, 80067da + 80067d6: 3007 adds r0, #7 + 80067d8: d110 bne.n 80067fc + 80067da: 2300 movs r3, #0 + 80067dc: 7063 strb r3, [r4, #1] + 80067de: 72a3 strb r3, [r4, #10] + 80067e0: 6065 str r5, [r4, #4] + 80067e2: f894 3034 ldrb.w r3, [r4, #52] ; 0x34 + 80067e6: b1eb cbz r3, 8006824 + 80067e8: 2300 movs r3, #0 + 80067ea: f884 3034 strb.w r3, [r4, #52] ; 0x34 + 80067ee: 4b0f ldr r3, [pc, #60] ; (800682c ) + 80067f0: 6b5b ldr r3, [r3, #52] ; 0x34 + 80067f2: b1bb cbz r3, 8006824 + 80067f4: b002 add sp, #8 + 80067f6: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 80067fa: 4718 bx r3 + 80067fc: f240 51dc movw r1, #1500 ; 0x5dc + 8006800: 480b ldr r0, [pc, #44] ; (8006830 ) + 8006802: f008 fa23 bl 800ec4c + 8006806: 480a ldr r0, [pc, #40] ; (8006830 ) + 8006808: f008 f9e6 bl 800ebd8 + 800680c: e7e8 b.n 80067e0 + 800680e: f894 2035 ldrb.w r2, [r4, #53] ; 0x35 + 8006812: 2a00 cmp r2, #0 + 8006814: d0e5 beq.n 80067e2 + 8006816: f894 0036 ldrb.w r0, [r4, #54] ; 0x36 + 800681a: f884 3035 strb.w r3, [r4, #53] ; 0x35 + 800681e: f7ff fc91 bl 8006144 + 8006822: e7de b.n 80067e2 + 8006824: b002 add sp, #8 + 8006826: bd70 pop {r4, r5, r6, pc} + 8006828: 200005ec .word 0x200005ec + 800682c: 200000b8 .word 0x200000b8 + 8006830: 20000624 .word 0x20000624 -08006820 : - 8006820: b537 push {r0, r1, r2, r4, r5, lr} - 8006822: 4d10 ldr r5, [pc, #64] ; (8006864 ) - 8006824: 4c10 ldr r4, [pc, #64] ; (8006868 ) - 8006826: b1c8 cbz r0, 800685c - 8006828: b1c1 cbz r1, 800685c - 800682a: 2301 movs r3, #1 - 800682c: 7262 strb r2, [r4, #9] - 800682e: 2200 movs r2, #0 - 8006830: 6028 str r0, [r5, #0] - 8006832: 60e1 str r1, [r4, #12] - 8006834: 7023 strb r3, [r4, #0] - 8006836: 480d ldr r0, [pc, #52] ; (800686c ) - 8006838: 4b0d ldr r3, [pc, #52] ; (8006870 ) - 800683a: 9200 str r2, [sp, #0] - 800683c: f04f 31ff mov.w r1, #4294967295 - 8006840: f008 f914 bl 800ea6c - 8006844: 2500 movs r5, #0 - 8006846: 480b ldr r0, [pc, #44] ; (8006874 ) - 8006848: 8225 strh r5, [r4, #16] - 800684a: 2220 movs r2, #32 - 800684c: 4629 mov r1, r5 - 800684e: f005 fe5b bl 800c508 - 8006852: 7065 strb r5, [r4, #1] - 8006854: 74a5 strb r5, [r4, #18] - 8006856: 86a5 strh r5, [r4, #52] ; 0x34 - 8006858: b003 add sp, #12 - 800685a: bd30 pop {r4, r5, pc} - 800685c: 2300 movs r3, #0 - 800685e: 602b str r3, [r5, #0] - 8006860: 7023 strb r3, [r4, #0] - 8006862: e7ef b.n 8006844 - 8006864: 200005e8 .word 0x200005e8 - 8006868: 200005ec .word 0x200005ec - 800686c: 20000624 .word 0x20000624 - 8006870: 0800676d .word 0x0800676d - 8006874: 20000600 .word 0x20000600 +08006834 : + 8006834: b537 push {r0, r1, r2, r4, r5, lr} + 8006836: 4d10 ldr r5, [pc, #64] ; (8006878 ) + 8006838: 4c10 ldr r4, [pc, #64] ; (800687c ) + 800683a: b1c8 cbz r0, 8006870 + 800683c: b1c1 cbz r1, 8006870 + 800683e: 2301 movs r3, #1 + 8006840: 7262 strb r2, [r4, #9] + 8006842: 2200 movs r2, #0 + 8006844: 6028 str r0, [r5, #0] + 8006846: 60e1 str r1, [r4, #12] + 8006848: 7023 strb r3, [r4, #0] + 800684a: 480d ldr r0, [pc, #52] ; (8006880 ) + 800684c: 4b0d ldr r3, [pc, #52] ; (8006884 ) + 800684e: 9200 str r2, [sp, #0] + 8006850: f04f 31ff mov.w r1, #4294967295 + 8006854: f008 f914 bl 800ea80 + 8006858: 2500 movs r5, #0 + 800685a: 480b ldr r0, [pc, #44] ; (8006888 ) + 800685c: 8225 strh r5, [r4, #16] + 800685e: 2220 movs r2, #32 + 8006860: 4629 mov r1, r5 + 8006862: f005 fe5b bl 800c51c + 8006866: 7065 strb r5, [r4, #1] + 8006868: 74a5 strb r5, [r4, #18] + 800686a: 86a5 strh r5, [r4, #52] ; 0x34 + 800686c: b003 add sp, #12 + 800686e: bd30 pop {r4, r5, pc} + 8006870: 2300 movs r3, #0 + 8006872: 602b str r3, [r5, #0] + 8006874: 7023 strb r3, [r4, #0] + 8006876: e7ef b.n 8006858 + 8006878: 200005e8 .word 0x200005e8 + 800687c: 200005ec .word 0x200005ec + 8006880: 20000624 .word 0x20000624 + 8006884: 08006781 .word 0x08006781 + 8006888: 20000600 .word 0x20000600 -08006878 : - 8006878: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 800687c: 4c8e ldr r4, [pc, #568] ; (8006ab8 ) - 800687e: 7823 ldrb r3, [r4, #0] - 8006880: b08c sub sp, #48 ; 0x30 - 8006882: 2b00 cmp r3, #0 - 8006884: d056 beq.n 8006934 - 8006886: 78c2 ldrb r2, [r0, #3] - 8006888: b90a cbnz r2, 800688e - 800688a: 7b83 ldrb r3, [r0, #14] - 800688c: b113 cbz r3, 8006894 - 800688e: 8a23 ldrh r3, [r4, #16] - 8006890: 3301 adds r3, #1 - 8006892: 8223 strh r3, [r4, #16] - 8006894: 7b43 ldrb r3, [r0, #13] +0800688c : + 800688c: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} + 8006890: 4c8e ldr r4, [pc, #568] ; (8006acc ) + 8006892: 7823 ldrb r3, [r4, #0] + 8006894: b08c sub sp, #48 ; 0x30 8006896: 2b00 cmp r3, #0 - 8006898: d04c beq.n 8006934 - 800689a: 2ae0 cmp r2, #224 ; 0xe0 - 800689c: d14a bne.n 8006934 - 800689e: 2300 movs r3, #0 - 80068a0: 72a3 strb r3, [r4, #10] - 80068a2: 6887 ldr r7, [r0, #8] - 80068a4: f897 8000 ldrb.w r8, [r7] - 80068a8: f1b8 0f22 cmp.w r8, #34 ; 0x22 - 80068ac: d827 bhi.n 80068fe - 80068ae: f1b8 0f22 cmp.w r8, #34 ; 0x22 - 80068b2: d830 bhi.n 8006916 - 80068b4: e8df f018 tbh [pc, r8, lsl #1] - 80068b8: 00fb0041 .word 0x00fb0041 - 80068bc: 005a0052 .word 0x005a0052 - 80068c0: 006e0061 .word 0x006e0061 - 80068c4: 008e0075 .word 0x008e0075 - 80068c8: 00b4009d .word 0x00b4009d - 80068cc: 002f00c7 .word 0x002f00c7 - 80068d0: 002f002f .word 0x002f002f - 80068d4: 002f002f .word 0x002f002f - 80068d8: 002f002f .word 0x002f002f - 80068dc: 002f002f .word 0x002f002f - 80068e0: 002f002f .word 0x002f002f + 8006898: d056 beq.n 8006948 + 800689a: 78c2 ldrb r2, [r0, #3] + 800689c: b90a cbnz r2, 80068a2 + 800689e: 7b83 ldrb r3, [r0, #14] + 80068a0: b113 cbz r3, 80068a8 + 80068a2: 8a23 ldrh r3, [r4, #16] + 80068a4: 3301 adds r3, #1 + 80068a6: 8223 strh r3, [r4, #16] + 80068a8: 7b43 ldrb r3, [r0, #13] + 80068aa: 2b00 cmp r3, #0 + 80068ac: d04c beq.n 8006948 + 80068ae: 2ae0 cmp r2, #224 ; 0xe0 + 80068b0: d14a bne.n 8006948 + 80068b2: 2300 movs r3, #0 + 80068b4: 72a3 strb r3, [r4, #10] + 80068b6: 6887 ldr r7, [r0, #8] + 80068b8: f897 8000 ldrb.w r8, [r7] + 80068bc: f1b8 0f22 cmp.w r8, #34 ; 0x22 + 80068c0: d827 bhi.n 8006912 + 80068c2: f1b8 0f22 cmp.w r8, #34 ; 0x22 + 80068c6: d830 bhi.n 800692a + 80068c8: e8df f018 tbh [pc, r8, lsl #1] + 80068cc: 00fb0041 .word 0x00fb0041 + 80068d0: 005a0052 .word 0x005a0052 + 80068d4: 006e0061 .word 0x006e0061 + 80068d8: 008e0075 .word 0x008e0075 + 80068dc: 00b4009d .word 0x00b4009d + 80068e0: 002f00c7 .word 0x002f00c7 80068e4: 002f002f .word 0x002f002f 80068e8: 002f002f .word 0x002f002f 80068ec: 002f002f .word 0x002f002f 80068f0: 002f002f .word 0x002f002f 80068f4: 002f002f .word 0x002f002f - 80068f8: 00d000c9 .word 0x00d000c9 - 80068fc: 00d4 .short 0x00d4 - 80068fe: f1b8 0f7e cmp.w r8, #126 ; 0x7e - 8006902: f000 80cc beq.w 8006a9e - 8006906: f1b8 0f7f cmp.w r8, #127 ; 0x7f - 800690a: f000 80df beq.w 8006acc - 800690e: f1b8 0f7d cmp.w r8, #125 ; 0x7d - 8006912: f000 80ab beq.w 8006a6c - 8006916: 7aa5 ldrb r5, [r4, #10] - 8006918: 2d00 cmp r5, #0 - 800691a: f000 815b beq.w 8006bd4 - 800691e: 4c67 ldr r4, [pc, #412] ; (8006abc ) - 8006920: 7a63 ldrb r3, [r4, #9] - 8006922: b93b cbnz r3, 8006934 - 8006924: f44f 717a mov.w r1, #1000 ; 0x3e8 - 8006928: 4620 mov r0, r4 - 800692a: f008 f985 bl 800ec38 - 800692e: 4620 mov r0, r4 - 8006930: f008 f948 bl 800ebc4 - 8006934: b00c add sp, #48 ; 0x30 - 8006936: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 800693a: 68e3 ldr r3, [r4, #12] - 800693c: 2201 movs r2, #1 - 800693e: 2100 movs r1, #0 - 8006940: 72a2 strb r2, [r4, #10] - 8006942: 7019 strb r1, [r3, #0] - 8006944: 7aa3 ldrb r3, [r4, #10] - 8006946: 68e1 ldr r1, [r4, #12] - 8006948: 1898 adds r0, r3, r2 - 800694a: 72a0 strb r0, [r4, #10] - 800694c: 2006 movs r0, #6 - 800694e: 54c8 strb r0, [r1, r3] - 8006950: 7aa3 ldrb r3, [r4, #10] - 8006952: 68e1 ldr r1, [r4, #12] - 8006954: 1898 adds r0, r3, r2 - 8006956: 72a0 strb r0, [r4, #10] - 8006958: 54ca strb r2, [r1, r3] - 800695a: e7dc b.n 8006916 - 800695c: 4b58 ldr r3, [pc, #352] ; (8006ac0 ) - 800695e: 6a9b ldr r3, [r3, #40] ; 0x28 - 8006960: 2b00 cmp r3, #0 - 8006962: d0d8 beq.n 8006916 - 8006964: 2101 movs r1, #1 - 8006966: 2002 movs r0, #2 - 8006968: 4798 blx r3 - 800696a: e7d4 b.n 8006916 - 800696c: 787b ldrb r3, [r7, #1] - 800696e: f884 3036 strb.w r3, [r4, #54] ; 0x36 - 8006972: 2301 movs r3, #1 - 8006974: f884 3035 strb.w r3, [r4, #53] ; 0x35 - 8006978: e7cd b.n 8006916 - 800697a: 2304 movs r3, #4 - 800697c: f88d 3004 strb.w r3, [sp, #4] + 80068f8: 002f002f .word 0x002f002f + 80068fc: 002f002f .word 0x002f002f + 8006900: 002f002f .word 0x002f002f + 8006904: 002f002f .word 0x002f002f + 8006908: 002f002f .word 0x002f002f + 800690c: 00d000c9 .word 0x00d000c9 + 8006910: 00d4 .short 0x00d4 + 8006912: f1b8 0f7e cmp.w r8, #126 ; 0x7e + 8006916: f000 80cc beq.w 8006ab2 + 800691a: f1b8 0f7f cmp.w r8, #127 ; 0x7f + 800691e: f000 80df beq.w 8006ae0 + 8006922: f1b8 0f7d cmp.w r8, #125 ; 0x7d + 8006926: f000 80ab beq.w 8006a80 + 800692a: 7aa5 ldrb r5, [r4, #10] + 800692c: 2d00 cmp r5, #0 + 800692e: f000 815b beq.w 8006be8 + 8006932: 4c67 ldr r4, [pc, #412] ; (8006ad0 ) + 8006934: 7a63 ldrb r3, [r4, #9] + 8006936: b93b cbnz r3, 8006948 + 8006938: f44f 717a mov.w r1, #1000 ; 0x3e8 + 800693c: 4620 mov r0, r4 + 800693e: f008 f985 bl 800ec4c + 8006942: 4620 mov r0, r4 + 8006944: f008 f948 bl 800ebd8 + 8006948: b00c add sp, #48 ; 0x30 + 800694a: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 800694e: 68e3 ldr r3, [r4, #12] + 8006950: 2201 movs r2, #1 + 8006952: 2100 movs r1, #0 + 8006954: 72a2 strb r2, [r4, #10] + 8006956: 7019 strb r1, [r3, #0] + 8006958: 7aa3 ldrb r3, [r4, #10] + 800695a: 68e1 ldr r1, [r4, #12] + 800695c: 1898 adds r0, r3, r2 + 800695e: 72a0 strb r0, [r4, #10] + 8006960: 2006 movs r0, #6 + 8006962: 54c8 strb r0, [r1, r3] + 8006964: 7aa3 ldrb r3, [r4, #10] + 8006966: 68e1 ldr r1, [r4, #12] + 8006968: 1898 adds r0, r3, r2 + 800696a: 72a0 strb r0, [r4, #10] + 800696c: 54ca strb r2, [r1, r3] + 800696e: e7dc b.n 800692a + 8006970: 4b58 ldr r3, [pc, #352] ; (8006ad4 ) + 8006972: 6a9b ldr r3, [r3, #40] ; 0x28 + 8006974: 2b00 cmp r3, #0 + 8006976: d0d8 beq.n 800692a + 8006978: 2101 movs r1, #1 + 800697a: 2002 movs r0, #2 + 800697c: 4798 blx r3 + 800697e: e7d4 b.n 800692a 8006980: 787b ldrb r3, [r7, #1] - 8006982: 3b00 subs r3, #0 - 8006984: bf18 it ne - 8006986: 2301 movne r3, #1 - 8006988: a801 add r0, sp, #4 - 800698a: f88d 3008 strb.w r3, [sp, #8] - 800698e: f002 f991 bl 8008cb4 - 8006992: e7c0 b.n 8006916 - 8006994: 7878 ldrb r0, [r7, #1] - 8006996: 3800 subs r0, #0 + 8006982: f884 3036 strb.w r3, [r4, #54] ; 0x36 + 8006986: 2301 movs r3, #1 + 8006988: f884 3035 strb.w r3, [r4, #53] ; 0x35 + 800698c: e7cd b.n 800692a + 800698e: 2304 movs r3, #4 + 8006990: f88d 3004 strb.w r3, [sp, #4] + 8006994: 787b ldrb r3, [r7, #1] + 8006996: 3b00 subs r3, #0 8006998: bf18 it ne - 800699a: 2001 movne r0, #1 - 800699c: f002 feda bl 8009754 - 80069a0: e7b9 b.n 8006916 - 80069a2: 4e48 ldr r6, [pc, #288] ; (8006ac4 ) - 80069a4: ce0f ldmia r6!, {r0, r1, r2, r3} - 80069a6: ad01 add r5, sp, #4 - 80069a8: c50f stmia r5!, {r0, r1, r2, r3} - 80069aa: ce0f ldmia r6!, {r0, r1, r2, r3} - 80069ac: c50f stmia r5!, {r0, r1, r2, r3} - 80069ae: e896 0007 ldmia.w r6, {r0, r1, r2} - 80069b2: e885 0007 stmia.w r5, {r0, r1, r2} - 80069b6: 787b ldrb r3, [r7, #1] - 80069b8: 2b0a cmp r3, #10 - 80069ba: d8ac bhi.n 8006916 - 80069bc: 4a42 ldr r2, [pc, #264] ; (8006ac8 ) - 80069be: 6812 ldr r2, [r2, #0] - 80069c0: 6852 ldr r2, [r2, #4] - 80069c2: 2a00 cmp r2, #0 - 80069c4: d0a7 beq.n 8006916 - 80069c6: a90c add r1, sp, #48 ; 0x30 - 80069c8: eb01 0383 add.w r3, r1, r3, lsl #2 - 80069cc: f853 0c2c ldr.w r0, [r3, #-44] - 80069d0: 4790 blx r2 - 80069d2: e7a0 b.n 8006916 - 80069d4: 7878 ldrb r0, [r7, #1] - 80069d6: 1e43 subs r3, r0, #1 - 80069d8: 2b01 cmp r3, #1 - 80069da: d89c bhi.n 8006916 - 80069dc: 4b3a ldr r3, [pc, #232] ; (8006ac8 ) - 80069de: 3801 subs r0, #1 - 80069e0: 681b ldr r3, [r3, #0] - 80069e2: bf18 it ne - 80069e4: 2001 movne r0, #1 - 80069e6: 7220 strb r0, [r4, #8] - 80069e8: 689b ldr r3, [r3, #8] - 80069ea: 2b00 cmp r3, #0 - 80069ec: d093 beq.n 8006916 - 80069ee: 4798 blx r3 - 80069f0: e791 b.n 8006916 - 80069f2: 68e2 ldr r2, [r4, #12] - 80069f4: 2301 movs r3, #1 - 80069f6: 2108 movs r1, #8 - 80069f8: 72a3 strb r3, [r4, #10] - 80069fa: 7011 strb r1, [r2, #0] - 80069fc: 7a62 ldrb r2, [r4, #9] - 80069fe: 7b05 ldrb r5, [r0, #12] - 8006a00: 7aa1 ldrb r1, [r4, #10] - 8006a02: 42aa cmp r2, r5 - 8006a04: bf28 it cs - 8006a06: 462a movcs r2, r5 - 8006a08: 4293 cmp r3, r2 - 8006a0a: d284 bcs.n 8006916 - 8006a0c: 6885 ldr r5, [r0, #8] - 8006a0e: 1c5a adds r2, r3, #1 - 8006a10: 5ceb ldrb r3, [r5, r3] - 8006a12: 68e5 ldr r5, [r4, #12] - 8006a14: 3301 adds r3, #1 - 8006a16: 1c4e adds r6, r1, #1 - 8006a18: 72a6 strb r6, [r4, #10] - 8006a1a: 546b strb r3, [r5, r1] - 8006a1c: b2d3 uxtb r3, r2 - 8006a1e: e7ed b.n 80069fc - 8006a20: 68e3 ldr r3, [r4, #12] - 8006a22: 2201 movs r2, #1 - 8006a24: 72a2 strb r2, [r4, #10] - 8006a26: 2209 movs r2, #9 - 8006a28: 701a strb r2, [r3, #0] - 8006a2a: 7aa3 ldrb r3, [r4, #10] - 8006a2c: 68e2 ldr r2, [r4, #12] - 8006a2e: 8a21 ldrh r1, [r4, #16] - 8006a30: 1c58 adds r0, r3, #1 - 8006a32: 72a0 strb r0, [r4, #10] - 8006a34: 54d1 strb r1, [r2, r3] - 8006a36: 7aa2 ldrb r2, [r4, #10] - 8006a38: 8a23 ldrh r3, [r4, #16] - 8006a3a: 68e1 ldr r1, [r4, #12] - 8006a3c: 0a1b lsrs r3, r3, #8 - 8006a3e: 1c50 adds r0, r2, #1 - 8006a40: 72a0 strb r0, [r4, #10] - 8006a42: 548b strb r3, [r1, r2] - 8006a44: e767 b.n 8006916 - 8006a46: 8223 strh r3, [r4, #16] - 8006a48: e765 b.n 8006916 - 8006a4a: 2305 movs r3, #5 - 8006a4c: f88d 3004 strb.w r3, [sp, #4] - 8006a50: a801 add r0, sp, #4 - 8006a52: f002 fbb7 bl 80091c4 - 8006a56: e75e b.n 8006916 - 8006a58: 4b19 ldr r3, [pc, #100] ; (8006ac0 ) - 8006a5a: 6adb ldr r3, [r3, #44] ; 0x2c - 8006a5c: 4798 blx r3 - 8006a5e: e75a b.n 8006916 - 8006a60: 4b19 ldr r3, [pc, #100] ; (8006ac8 ) - 8006a62: 7878 ldrb r0, [r7, #1] - 8006a64: 681b ldr r3, [r3, #0] - 8006a66: 7560 strb r0, [r4, #21] - 8006a68: 68db ldr r3, [r3, #12] - 8006a6a: e7be b.n 80069ea - 8006a6c: 7b03 ldrb r3, [r0, #12] - 8006a6e: 2b07 cmp r3, #7 - 8006a70: f47f af51 bne.w 8006916 - 8006a74: 2306 movs r3, #6 - 8006a76: f88d 3004 strb.w r3, [sp, #4] - 8006a7a: f8b7 3001 ldrh.w r3, [r7, #1] - 8006a7e: f8ad 3008 strh.w r3, [sp, #8] - 8006a82: 797b ldrb r3, [r7, #5] - 8006a84: 793a ldrb r2, [r7, #4] - 8006a86: 041b lsls r3, r3, #16 - 8006a88: ea43 2302 orr.w r3, r3, r2, lsl #8 - 8006a8c: 78fa ldrb r2, [r7, #3] - 8006a8e: 4313 orrs r3, r2 - 8006a90: 2264 movs r2, #100 ; 0x64 - 8006a92: 4353 muls r3, r2 - 8006a94: 9303 str r3, [sp, #12] - 8006a96: 79bb ldrb r3, [r7, #6] - 8006a98: f88d 3010 strb.w r3, [sp, #16] - 8006a9c: e7d8 b.n 8006a50 - 8006a9e: 223b movs r2, #59 ; 0x3b - 8006aa0: a801 add r0, sp, #4 - 8006aa2: f88d 2004 strb.w r2, [sp, #4] - 8006aa6: f88d 3008 strb.w r3, [sp, #8] - 8006aaa: f002 f903 bl 8008cb4 - 8006aae: 2301 movs r3, #1 - 8006ab0: f884 3034 strb.w r3, [r4, #52] ; 0x34 - 8006ab4: e72f b.n 8006916 - 8006ab6: bf00 nop - 8006ab8: 200005ec .word 0x200005ec - 8006abc: 20000624 .word 0x20000624 - 8006ac0: 200000b8 .word 0x200000b8 - 8006ac4: 0800f0ac .word 0x0800f0ac - 8006ac8: 200005e8 .word 0x200005e8 - 8006acc: 232a movs r3, #42 ; 0x2a - 8006ace: a801 add r0, sp, #4 - 8006ad0: f88d 3004 strb.w r3, [sp, #4] - 8006ad4: f001 ffc6 bl 8008a64 - 8006ad8: f894 900a ldrb.w r9, [r4, #10] - 8006adc: 68e6 ldr r6, [r4, #12] - 8006ade: f89d 0008 ldrb.w r0, [sp, #8] - 8006ae2: f89d 5009 ldrb.w r5, [sp, #9] - 8006ae6: f89d 700a ldrb.w r7, [sp, #10] - 8006aea: f89d c00b ldrb.w ip, [sp, #11] - 8006aee: f89d 300d ldrb.w r3, [sp, #13] - 8006af2: f89d 200e ldrb.w r2, [sp, #14] - 8006af6: f89d 100f ldrb.w r1, [sp, #15] - 8006afa: f89d e00c ldrb.w lr, [sp, #12] - 8006afe: f109 0a01 add.w sl, r9, #1 - 8006b02: f884 a00a strb.w sl, [r4, #10] - 8006b06: f806 8009 strb.w r8, [r6, r9] - 8006b0a: 4e35 ldr r6, [pc, #212] ; (8006be0 ) - 8006b0c: f894 900a ldrb.w r9, [r4, #10] - 8006b10: 6836 ldr r6, [r6, #0] - 8006b12: f8d4 800c ldr.w r8, [r4, #12] - 8006b16: f109 0a01 add.w sl, r9, #1 - 8006b1a: f884 a00a strb.w sl, [r4, #10] - 8006b1e: f896 a003 ldrb.w sl, [r6, #3] - 8006b22: f808 a009 strb.w sl, [r8, r9] - 8006b26: f894 900a ldrb.w r9, [r4, #10] - 8006b2a: f8d4 800c ldr.w r8, [r4, #12] - 8006b2e: f109 0a01 add.w sl, r9, #1 - 8006b32: f884 a00a strb.w sl, [r4, #10] - 8006b36: f896 a002 ldrb.w sl, [r6, #2] - 8006b3a: f808 a009 strb.w sl, [r8, r9] - 8006b3e: f894 900a ldrb.w r9, [r4, #10] - 8006b42: f8d4 800c ldr.w r8, [r4, #12] - 8006b46: f109 0a01 add.w sl, r9, #1 - 8006b4a: f884 a00a strb.w sl, [r4, #10] - 8006b4e: f896 a001 ldrb.w sl, [r6, #1] - 8006b52: f808 a009 strb.w sl, [r8, r9] - 8006b56: f894 900a ldrb.w r9, [r4, #10] + 800699a: 2301 movne r3, #1 + 800699c: a801 add r0, sp, #4 + 800699e: f88d 3008 strb.w r3, [sp, #8] + 80069a2: f002 f991 bl 8008cc8 + 80069a6: e7c0 b.n 800692a + 80069a8: 7878 ldrb r0, [r7, #1] + 80069aa: 3800 subs r0, #0 + 80069ac: bf18 it ne + 80069ae: 2001 movne r0, #1 + 80069b0: f002 feda bl 8009768 + 80069b4: e7b9 b.n 800692a + 80069b6: 4e48 ldr r6, [pc, #288] ; (8006ad8 ) + 80069b8: ce0f ldmia r6!, {r0, r1, r2, r3} + 80069ba: ad01 add r5, sp, #4 + 80069bc: c50f stmia r5!, {r0, r1, r2, r3} + 80069be: ce0f ldmia r6!, {r0, r1, r2, r3} + 80069c0: c50f stmia r5!, {r0, r1, r2, r3} + 80069c2: e896 0007 ldmia.w r6, {r0, r1, r2} + 80069c6: e885 0007 stmia.w r5, {r0, r1, r2} + 80069ca: 787b ldrb r3, [r7, #1] + 80069cc: 2b0a cmp r3, #10 + 80069ce: d8ac bhi.n 800692a + 80069d0: 4a42 ldr r2, [pc, #264] ; (8006adc ) + 80069d2: 6812 ldr r2, [r2, #0] + 80069d4: 6852 ldr r2, [r2, #4] + 80069d6: 2a00 cmp r2, #0 + 80069d8: d0a7 beq.n 800692a + 80069da: a90c add r1, sp, #48 ; 0x30 + 80069dc: eb01 0383 add.w r3, r1, r3, lsl #2 + 80069e0: f853 0c2c ldr.w r0, [r3, #-44] + 80069e4: 4790 blx r2 + 80069e6: e7a0 b.n 800692a + 80069e8: 7878 ldrb r0, [r7, #1] + 80069ea: 1e43 subs r3, r0, #1 + 80069ec: 2b01 cmp r3, #1 + 80069ee: d89c bhi.n 800692a + 80069f0: 4b3a ldr r3, [pc, #232] ; (8006adc ) + 80069f2: 3801 subs r0, #1 + 80069f4: 681b ldr r3, [r3, #0] + 80069f6: bf18 it ne + 80069f8: 2001 movne r0, #1 + 80069fa: 7220 strb r0, [r4, #8] + 80069fc: 689b ldr r3, [r3, #8] + 80069fe: 2b00 cmp r3, #0 + 8006a00: d093 beq.n 800692a + 8006a02: 4798 blx r3 + 8006a04: e791 b.n 800692a + 8006a06: 68e2 ldr r2, [r4, #12] + 8006a08: 2301 movs r3, #1 + 8006a0a: 2108 movs r1, #8 + 8006a0c: 72a3 strb r3, [r4, #10] + 8006a0e: 7011 strb r1, [r2, #0] + 8006a10: 7a62 ldrb r2, [r4, #9] + 8006a12: 7b05 ldrb r5, [r0, #12] + 8006a14: 7aa1 ldrb r1, [r4, #10] + 8006a16: 42aa cmp r2, r5 + 8006a18: bf28 it cs + 8006a1a: 462a movcs r2, r5 + 8006a1c: 4293 cmp r3, r2 + 8006a1e: d284 bcs.n 800692a + 8006a20: 6885 ldr r5, [r0, #8] + 8006a22: 1c5a adds r2, r3, #1 + 8006a24: 5ceb ldrb r3, [r5, r3] + 8006a26: 68e5 ldr r5, [r4, #12] + 8006a28: 3301 adds r3, #1 + 8006a2a: 1c4e adds r6, r1, #1 + 8006a2c: 72a6 strb r6, [r4, #10] + 8006a2e: 546b strb r3, [r5, r1] + 8006a30: b2d3 uxtb r3, r2 + 8006a32: e7ed b.n 8006a10 + 8006a34: 68e3 ldr r3, [r4, #12] + 8006a36: 2201 movs r2, #1 + 8006a38: 72a2 strb r2, [r4, #10] + 8006a3a: 2209 movs r2, #9 + 8006a3c: 701a strb r2, [r3, #0] + 8006a3e: 7aa3 ldrb r3, [r4, #10] + 8006a40: 68e2 ldr r2, [r4, #12] + 8006a42: 8a21 ldrh r1, [r4, #16] + 8006a44: 1c58 adds r0, r3, #1 + 8006a46: 72a0 strb r0, [r4, #10] + 8006a48: 54d1 strb r1, [r2, r3] + 8006a4a: 7aa2 ldrb r2, [r4, #10] + 8006a4c: 8a23 ldrh r3, [r4, #16] + 8006a4e: 68e1 ldr r1, [r4, #12] + 8006a50: 0a1b lsrs r3, r3, #8 + 8006a52: 1c50 adds r0, r2, #1 + 8006a54: 72a0 strb r0, [r4, #10] + 8006a56: 548b strb r3, [r1, r2] + 8006a58: e767 b.n 800692a + 8006a5a: 8223 strh r3, [r4, #16] + 8006a5c: e765 b.n 800692a + 8006a5e: 2305 movs r3, #5 + 8006a60: f88d 3004 strb.w r3, [sp, #4] + 8006a64: a801 add r0, sp, #4 + 8006a66: f002 fbb7 bl 80091d8 + 8006a6a: e75e b.n 800692a + 8006a6c: 4b19 ldr r3, [pc, #100] ; (8006ad4 ) + 8006a6e: 6adb ldr r3, [r3, #44] ; 0x2c + 8006a70: 4798 blx r3 + 8006a72: e75a b.n 800692a + 8006a74: 4b19 ldr r3, [pc, #100] ; (8006adc ) + 8006a76: 7878 ldrb r0, [r7, #1] + 8006a78: 681b ldr r3, [r3, #0] + 8006a7a: 7560 strb r0, [r4, #21] + 8006a7c: 68db ldr r3, [r3, #12] + 8006a7e: e7be b.n 80069fe + 8006a80: 7b03 ldrb r3, [r0, #12] + 8006a82: 2b07 cmp r3, #7 + 8006a84: f47f af51 bne.w 800692a + 8006a88: 2306 movs r3, #6 + 8006a8a: f88d 3004 strb.w r3, [sp, #4] + 8006a8e: f8b7 3001 ldrh.w r3, [r7, #1] + 8006a92: f8ad 3008 strh.w r3, [sp, #8] + 8006a96: 797b ldrb r3, [r7, #5] + 8006a98: 793a ldrb r2, [r7, #4] + 8006a9a: 041b lsls r3, r3, #16 + 8006a9c: ea43 2302 orr.w r3, r3, r2, lsl #8 + 8006aa0: 78fa ldrb r2, [r7, #3] + 8006aa2: 4313 orrs r3, r2 + 8006aa4: 2264 movs r2, #100 ; 0x64 + 8006aa6: 4353 muls r3, r2 + 8006aa8: 9303 str r3, [sp, #12] + 8006aaa: 79bb ldrb r3, [r7, #6] + 8006aac: f88d 3010 strb.w r3, [sp, #16] + 8006ab0: e7d8 b.n 8006a64 + 8006ab2: 223b movs r2, #59 ; 0x3b + 8006ab4: a801 add r0, sp, #4 + 8006ab6: f88d 2004 strb.w r2, [sp, #4] + 8006aba: f88d 3008 strb.w r3, [sp, #8] + 8006abe: f002 f903 bl 8008cc8 + 8006ac2: 2301 movs r3, #1 + 8006ac4: f884 3034 strb.w r3, [r4, #52] ; 0x34 + 8006ac8: e72f b.n 800692a + 8006aca: bf00 nop + 8006acc: 200005ec .word 0x200005ec + 8006ad0: 20000624 .word 0x20000624 + 8006ad4: 200000b8 .word 0x200000b8 + 8006ad8: 0800f0bc .word 0x0800f0bc + 8006adc: 200005e8 .word 0x200005e8 + 8006ae0: 232a movs r3, #42 ; 0x2a + 8006ae2: a801 add r0, sp, #4 + 8006ae4: f88d 3004 strb.w r3, [sp, #4] + 8006ae8: f001 ffc6 bl 8008a78 + 8006aec: f894 900a ldrb.w r9, [r4, #10] + 8006af0: 68e6 ldr r6, [r4, #12] + 8006af2: f89d 0008 ldrb.w r0, [sp, #8] + 8006af6: f89d 5009 ldrb.w r5, [sp, #9] + 8006afa: f89d 700a ldrb.w r7, [sp, #10] + 8006afe: f89d c00b ldrb.w ip, [sp, #11] + 8006b02: f89d 300d ldrb.w r3, [sp, #13] + 8006b06: f89d 200e ldrb.w r2, [sp, #14] + 8006b0a: f89d 100f ldrb.w r1, [sp, #15] + 8006b0e: f89d e00c ldrb.w lr, [sp, #12] + 8006b12: f109 0a01 add.w sl, r9, #1 + 8006b16: f884 a00a strb.w sl, [r4, #10] + 8006b1a: f806 8009 strb.w r8, [r6, r9] + 8006b1e: 4e35 ldr r6, [pc, #212] ; (8006bf4 ) + 8006b20: f894 900a ldrb.w r9, [r4, #10] + 8006b24: 6836 ldr r6, [r6, #0] + 8006b26: f8d4 800c ldr.w r8, [r4, #12] + 8006b2a: f109 0a01 add.w sl, r9, #1 + 8006b2e: f884 a00a strb.w sl, [r4, #10] + 8006b32: f896 a003 ldrb.w sl, [r6, #3] + 8006b36: f808 a009 strb.w sl, [r8, r9] + 8006b3a: f894 900a ldrb.w r9, [r4, #10] + 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 a002 ldrb.w sl, [r6, #2] + 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 8000 ldrb.w r8, [r6] - 8006b66: 68e6 ldr r6, [r4, #12] - 8006b68: f806 8009 strb.w r8, [r6, r9] - 8006b6c: f894 800a ldrb.w r8, [r4, #10] - 8006b70: 68e6 ldr r6, [r4, #12] - 8006b72: f108 0901 add.w r9, r8, #1 - 8006b76: f884 900a strb.w r9, [r4, #10] - 8006b7a: f806 c008 strb.w ip, [r6, r8] - 8006b7e: f894 c00a ldrb.w ip, [r4, #10] - 8006b82: 68e6 ldr r6, [r4, #12] - 8006b84: f10c 0801 add.w r8, ip, #1 - 8006b88: f884 800a strb.w r8, [r4, #10] - 8006b8c: f806 700c strb.w r7, [r6, ip] - 8006b90: 7aa7 ldrb r7, [r4, #10] - 8006b92: 68e6 ldr r6, [r4, #12] - 8006b94: f107 0c01 add.w ip, r7, #1 - 8006b98: f884 c00a strb.w ip, [r4, #10] - 8006b9c: 55f5 strb r5, [r6, r7] - 8006b9e: 7aa5 ldrb r5, [r4, #10] - 8006ba0: 68e6 ldr r6, [r4, #12] - 8006ba2: 1c6f adds r7, r5, #1 - 8006ba4: 72a7 strb r7, [r4, #10] - 8006ba6: 5570 strb r0, [r6, r5] - 8006ba8: 7aa0 ldrb r0, [r4, #10] - 8006baa: 68e5 ldr r5, [r4, #12] - 8006bac: 1c46 adds r6, r0, #1 - 8006bae: 72a6 strb r6, [r4, #10] - 8006bb0: 5429 strb r1, [r5, r0] - 8006bb2: 7aa1 ldrb r1, [r4, #10] - 8006bb4: 68e0 ldr r0, [r4, #12] - 8006bb6: 1c4d adds r5, r1, #1 - 8006bb8: 72a5 strb r5, [r4, #10] - 8006bba: 5442 strb r2, [r0, r1] - 8006bbc: 7aa2 ldrb r2, [r4, #10] - 8006bbe: 68e1 ldr r1, [r4, #12] - 8006bc0: 1c50 adds r0, r2, #1 - 8006bc2: 72a0 strb r0, [r4, #10] - 8006bc4: 548b strb r3, [r1, r2] - 8006bc6: 7aa3 ldrb r3, [r4, #10] - 8006bc8: 68e2 ldr r2, [r4, #12] - 8006bca: 1c59 adds r1, r3, #1 - 8006bcc: 72a1 strb r1, [r4, #10] - 8006bce: f802 e003 strb.w lr, [r2, r3] - 8006bd2: e6a0 b.n 8006916 - 8006bd4: 4803 ldr r0, [pc, #12] ; (8006be4 ) - 8006bd6: f007 ffa7 bl 800eb28 - 8006bda: 7065 strb r5, [r4, #1] - 8006bdc: e6aa b.n 8006934 - 8006bde: bf00 nop - 8006be0: 200005e8 .word 0x200005e8 - 8006be4: 20000624 .word 0x20000624 + 8006b62: f896 a001 ldrb.w sl, [r6, #1] + 8006b66: f808 a009 strb.w sl, [r8, r9] + 8006b6a: f894 900a ldrb.w r9, [r4, #10] + 8006b6e: f109 0a01 add.w sl, r9, #1 + 8006b72: f884 a00a strb.w sl, [r4, #10] + 8006b76: f896 8000 ldrb.w r8, [r6] + 8006b7a: 68e6 ldr r6, [r4, #12] + 8006b7c: f806 8009 strb.w r8, [r6, r9] + 8006b80: f894 800a ldrb.w r8, [r4, #10] + 8006b84: 68e6 ldr r6, [r4, #12] + 8006b86: f108 0901 add.w r9, r8, #1 + 8006b8a: f884 900a strb.w r9, [r4, #10] + 8006b8e: f806 c008 strb.w ip, [r6, r8] + 8006b92: f894 c00a ldrb.w ip, [r4, #10] + 8006b96: 68e6 ldr r6, [r4, #12] + 8006b98: f10c 0801 add.w r8, ip, #1 + 8006b9c: f884 800a strb.w r8, [r4, #10] + 8006ba0: f806 700c strb.w r7, [r6, ip] + 8006ba4: 7aa7 ldrb r7, [r4, #10] + 8006ba6: 68e6 ldr r6, [r4, #12] + 8006ba8: f107 0c01 add.w ip, r7, #1 + 8006bac: f884 c00a strb.w ip, [r4, #10] + 8006bb0: 55f5 strb r5, [r6, r7] + 8006bb2: 7aa5 ldrb r5, [r4, #10] + 8006bb4: 68e6 ldr r6, [r4, #12] + 8006bb6: 1c6f adds r7, r5, #1 + 8006bb8: 72a7 strb r7, [r4, #10] + 8006bba: 5570 strb r0, [r6, r5] + 8006bbc: 7aa0 ldrb r0, [r4, #10] + 8006bbe: 68e5 ldr r5, [r4, #12] + 8006bc0: 1c46 adds r6, r0, #1 + 8006bc2: 72a6 strb r6, [r4, #10] + 8006bc4: 5429 strb r1, [r5, r0] + 8006bc6: 7aa1 ldrb r1, [r4, #10] + 8006bc8: 68e0 ldr r0, [r4, #12] + 8006bca: 1c4d adds r5, r1, #1 + 8006bcc: 72a5 strb r5, [r4, #10] + 8006bce: 5442 strb r2, [r0, r1] + 8006bd0: 7aa2 ldrb r2, [r4, #10] + 8006bd2: 68e1 ldr r1, [r4, #12] + 8006bd4: 1c50 adds r0, r2, #1 + 8006bd6: 72a0 strb r0, [r4, #10] + 8006bd8: 548b strb r3, [r1, r2] + 8006bda: 7aa3 ldrb r3, [r4, #10] + 8006bdc: 68e2 ldr r2, [r4, #12] + 8006bde: 1c59 adds r1, r3, #1 + 8006be0: 72a1 strb r1, [r4, #10] + 8006be2: f802 e003 strb.w lr, [r2, r3] + 8006be6: e6a0 b.n 800692a + 8006be8: 4803 ldr r0, [pc, #12] ; (8006bf8 ) + 8006bea: f007 ffa7 bl 800eb3c + 8006bee: 7065 strb r5, [r4, #1] + 8006bf0: e6aa b.n 8006948 + 8006bf2: bf00 nop + 8006bf4: 200005e8 .word 0x200005e8 + 8006bf8: 20000624 .word 0x20000624 -08006be8 : - 8006be8: 4770 bx lr - ... - -08006bec : - 8006bec: 4800 ldr r0, [pc, #0] ; (8006bf0 ) - 8006bee: 4770 bx lr - 8006bf0: 200000b8 .word 0x200000b8 - -08006bf4 : - 8006bf4: 2000 movs r0, #0 - 8006bf6: 4770 bx lr - -08006bf8 : - 8006bf8: f04f 30ff mov.w r0, #4294967295 +08006bfc : 8006bfc: 4770 bx lr ... -08006c00 : - 8006c00: 4b04 ldr r3, [pc, #16] ; (8006c14 ) - 8006c02: 4a05 ldr r2, [pc, #20] ; (8006c18 ) - 8006c04: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 - 8006c08: 2b02 cmp r3, #2 - 8006c0a: bf18 it ne - 8006c0c: 2306 movne r3, #6 - 8006c0e: f882 3490 strb.w r3, [r2, #1168] ; 0x490 - 8006c12: 4770 bx lr - 8006c14: 20000c00 .word 0x20000c00 - 8006c18: 200011c8 .word 0x200011c8 +08006c00 : + 8006c00: 4800 ldr r0, [pc, #0] ; (8006c04 ) + 8006c02: 4770 bx lr + 8006c04: 200000b8 .word 0x200000b8 -08006c1c : - 8006c1c: 4b03 ldr r3, [pc, #12] ; (8006c2c ) - 8006c1e: f8d3 3348 ldr.w r3, [r3, #840] ; 0x348 - 8006c22: b113 cbz r3, 8006c2a - 8006c24: 695b ldr r3, [r3, #20] - 8006c26: b103 cbz r3, 8006c2a - 8006c28: 4718 bx r3 - 8006c2a: 4770 bx lr +08006c08 : + 8006c08: 2000 movs r0, #0 + 8006c0a: 4770 bx lr + +08006c0c : + 8006c0c: f04f 30ff mov.w r0, #4294967295 + 8006c10: 4770 bx lr + ... + +08006c14 : + 8006c14: 4b04 ldr r3, [pc, #16] ; (8006c28 ) + 8006c16: 4a05 ldr r2, [pc, #20] ; (8006c2c ) + 8006c18: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 + 8006c1c: 2b02 cmp r3, #2 + 8006c1e: bf18 it ne + 8006c20: 2306 movne r3, #6 + 8006c22: f882 3490 strb.w r3, [r2, #1168] ; 0x490 + 8006c26: 4770 bx lr + 8006c28: 20000c00 .word 0x20000c00 8006c2c: 200011c8 .word 0x200011c8 -08006c30 : - 8006c30: 4a03 ldr r2, [pc, #12] ; (8006c40 ) - 8006c32: 7813 ldrb r3, [r2, #0] - 8006c34: f043 0304 orr.w r3, r3, #4 - 8006c38: 7013 strb r3, [r2, #0] - 8006c3a: f7ff bfef b.w 8006c1c - 8006c3e: bf00 nop - 8006c40: 200011c4 .word 0x200011c4 +08006c30 : + 8006c30: 4b03 ldr r3, [pc, #12] ; (8006c40 ) + 8006c32: f8d3 3348 ldr.w r3, [r3, #840] ; 0x348 + 8006c36: b113 cbz r3, 8006c3e + 8006c38: 695b ldr r3, [r3, #20] + 8006c3a: b103 cbz r3, 8006c3e + 8006c3c: 4718 bx r3 + 8006c3e: 4770 bx lr + 8006c40: 200011c8 .word 0x200011c8 -08006c44 : - 8006c44: b51f push {r0, r1, r2, r3, r4, lr} - 8006c46: 4b0a ldr r3, [pc, #40] ; (8006c70 ) - 8006c48: f88d 0009 strb.w r0, [sp, #9] - 8006c4c: f893 207c ldrb.w r2, [r3, #124] ; 0x7c - 8006c50: f88d 200a strb.w r2, [sp, #10] - 8006c54: f893 208c ldrb.w r2, [r3, #140] ; 0x8c - 8006c58: f893 0048 ldrb.w r0, [r3, #72] ; 0x48 - 8006c5c: 320d adds r2, #13 - 8006c5e: a902 add r1, sp, #8 - 8006c60: f88d 2008 strb.w r2, [sp, #8] - 8006c64: f003 fcb0 bl 800a5c8 - 8006c68: b2c0 uxtb r0, r0 - 8006c6a: b005 add sp, #20 - 8006c6c: f85d fb04 ldr.w pc, [sp], #4 - 8006c70: 20000c00 .word 0x20000c00 +08006c44 : + 8006c44: 4a03 ldr r2, [pc, #12] ; (8006c54 ) + 8006c46: 7813 ldrb r3, [r2, #0] + 8006c48: f043 0304 orr.w r3, r3, #4 + 8006c4c: 7013 strb r3, [r2, #0] + 8006c4e: f7ff bfef b.w 8006c30 + 8006c52: bf00 nop + 8006c54: 200011c4 .word 0x200011c4 -08006c74 : - 8006c74: b510 push {r4, lr} - 8006c76: 4c07 ldr r4, [pc, #28] ; (8006c94 ) - 8006c78: f504 6080 add.w r0, r4, #1024 ; 0x400 - 8006c7c: f007 ff54 bl 800eb28 - 8006c80: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a - 8006c84: b113 cbz r3, 8006c8c - 8006c86: 2301 movs r3, #1 - 8006c88: f884 3419 strb.w r3, [r4, #1049] ; 0x419 - 8006c8c: e8bd 4010 ldmia.w sp!, {r4, lr} - 8006c90: f7ff bfc4 b.w 8006c1c - 8006c94: 200011c8 .word 0x200011c8 +08006c58 : + 8006c58: b51f push {r0, r1, r2, r3, r4, lr} + 8006c5a: 4b0a ldr r3, [pc, #40] ; (8006c84 ) + 8006c5c: f88d 0009 strb.w r0, [sp, #9] + 8006c60: f893 207c ldrb.w r2, [r3, #124] ; 0x7c + 8006c64: f88d 200a strb.w r2, [sp, #10] + 8006c68: f893 208c ldrb.w r2, [r3, #140] ; 0x8c + 8006c6c: f893 0048 ldrb.w r0, [r3, #72] ; 0x48 + 8006c70: 320d adds r2, #13 + 8006c72: a902 add r1, sp, #8 + 8006c74: f88d 2008 strb.w r2, [sp, #8] + 8006c78: f003 fcb0 bl 800a5dc + 8006c7c: b2c0 uxtb r0, r0 + 8006c7e: b005 add sp, #20 + 8006c80: f85d fb04 ldr.w pc, [sp], #4 + 8006c84: 20000c00 .word 0x20000c00 -08006c98 : - 8006c98: b510 push {r4, lr} - 8006c9a: 4c0c ldr r4, [pc, #48] ; (8006ccc ) - 8006c9c: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 - 8006ca0: f043 0380 orr.w r3, r3, #128 ; 0x80 - 8006ca4: f8c4 3340 str.w r3, [r4, #832] ; 0x340 - 8006ca8: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a - 8006cac: b113 cbz r3, 8006cb4 - 8006cae: 2000 movs r0, #0 - 8006cb0: f7ff ffe0 bl 8006c74 - 8006cb4: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 8006cb8: f023 0312 bic.w r3, r3, #18 - 8006cbc: f043 0312 orr.w r3, r3, #18 - 8006cc0: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 8006cc4: e8bd 4010 ldmia.w sp!, {r4, lr} - 8006cc8: f7ff bf9a b.w 8006c00 - 8006ccc: 200011c8 .word 0x200011c8 +08006c88 : + 8006c88: b510 push {r4, lr} + 8006c8a: 4c07 ldr r4, [pc, #28] ; (8006ca8 ) + 8006c8c: f504 6080 add.w r0, r4, #1024 ; 0x400 + 8006c90: f007 ff54 bl 800eb3c + 8006c94: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a + 8006c98: b113 cbz r3, 8006ca0 + 8006c9a: 2301 movs r3, #1 + 8006c9c: f884 3419 strb.w r3, [r4, #1049] ; 0x419 + 8006ca0: e8bd 4010 ldmia.w sp!, {r4, lr} + 8006ca4: f7ff bfc4 b.w 8006c30 + 8006ca8: 200011c8 .word 0x200011c8 -08006cd0 : - 8006cd0: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8006cd4: f8df 80ac ldr.w r8, [pc, #172] ; 8006d84 - 8006cd8: f898 3118 ldrb.w r3, [r8, #280] ; 0x118 - 8006cdc: 2b02 cmp r3, #2 - 8006cde: 4606 mov r6, r0 - 8006ce0: 460d mov r5, r1 - 8006ce2: d002 beq.n 8006cea - 8006ce4: 4b28 ldr r3, [pc, #160] ; (8006d88 ) - 8006ce6: 6adb ldr r3, [r3, #44] ; 0x2c - 8006ce8: 4798 blx r3 - 8006cea: f002 fde9 bl 80098c0 - 8006cee: 4604 mov r4, r0 - 8006cf0: b128 cbz r0, 8006cfe - 8006cf2: 2002 movs r0, #2 - 8006cf4: f002 fdda bl 80098ac - 8006cf8: 2000 movs r0, #0 - 8006cfa: f002 fddc bl 80098b6 - 8006cfe: f898 3118 ldrb.w r3, [r8, #280] ; 0x118 - 8006d02: 2b01 cmp r3, #1 - 8006d04: d117 bne.n 8006d36 - 8006d06: f002 fddd bl 80098c4 - 8006d0a: 4607 mov r7, r0 - 8006d0c: b130 cbz r0, 8006d1c - 8006d0e: 2000 movs r0, #0 - 8006d10: f002 fdcd bl 80098ae - 8006d14: 2000 movs r0, #0 - 8006d16: f002 fdcf bl 80098b8 - 8006d1a: 463c mov r4, r7 - 8006d1c: f002 fdd4 bl 80098c8 - 8006d20: b148 cbz r0, 8006d36 +08006cac : + 8006cac: b510 push {r4, lr} + 8006cae: 4c0c ldr r4, [pc, #48] ; (8006ce0 ) + 8006cb0: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 + 8006cb4: f043 0380 orr.w r3, r3, #128 ; 0x80 + 8006cb8: f8c4 3340 str.w r3, [r4, #832] ; 0x340 + 8006cbc: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a + 8006cc0: b113 cbz r3, 8006cc8 + 8006cc2: 2000 movs r0, #0 + 8006cc4: f7ff ffe0 bl 8006c88 + 8006cc8: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8006ccc: f023 0312 bic.w r3, r3, #18 + 8006cd0: f043 0312 orr.w r3, r3, #18 + 8006cd4: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8006cd8: e8bd 4010 ldmia.w sp!, {r4, lr} + 8006cdc: f7ff bf9a b.w 8006c14 + 8006ce0: 200011c8 .word 0x200011c8 + +08006ce4 : + 8006ce4: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8006ce8: f8df 80ac ldr.w r8, [pc, #172] ; 8006d98 + 8006cec: f898 3118 ldrb.w r3, [r8, #280] ; 0x118 + 8006cf0: 2b02 cmp r3, #2 + 8006cf2: 4606 mov r6, r0 + 8006cf4: 460d mov r5, r1 + 8006cf6: d002 beq.n 8006cfe + 8006cf8: 4b28 ldr r3, [pc, #160] ; (8006d9c ) + 8006cfa: 6adb ldr r3, [r3, #44] ; 0x2c + 8006cfc: 4798 blx r3 + 8006cfe: f002 fde9 bl 80098d4 + 8006d02: 4604 mov r4, r0 + 8006d04: b128 cbz r0, 8006d12 + 8006d06: 2002 movs r0, #2 + 8006d08: f002 fdda bl 80098c0 + 8006d0c: 2000 movs r0, #0 + 8006d0e: f002 fddc bl 80098ca + 8006d12: f898 3118 ldrb.w r3, [r8, #280] ; 0x118 + 8006d16: 2b01 cmp r3, #1 + 8006d18: d117 bne.n 8006d4a + 8006d1a: f002 fddd bl 80098d8 + 8006d1e: 4607 mov r7, r0 + 8006d20: b130 cbz r0, 8006d30 8006d22: 2000 movs r0, #0 - 8006d24: f002 fdc4 bl 80098b0 + 8006d24: f002 fdcd bl 80098c2 8006d28: 2000 movs r0, #0 - 8006d2a: f002 fdc6 bl 80098ba - 8006d2e: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 8006d32: f7ff bf65 b.w 8006c00 - 8006d36: 2c00 cmp r4, #0 - 8006d38: d1f9 bne.n 8006d2e - 8006d3a: 4c14 ldr r4, [pc, #80] ; (8006d8c ) - 8006d3c: f894 2490 ldrb.w r2, [r4, #1168] ; 0x490 - 8006d40: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a - 8006d44: b9ba cbnz r2, 8006d76 - 8006d46: b10b cbz r3, 8006d4c - 8006d48: f884 6441 strb.w r6, [r4, #1089] ; 0x441 - 8006d4c: 4630 mov r0, r6 - 8006d4e: f002 ff65 bl 8009c1c - 8006d52: f8d8 002c ldr.w r0, [r8, #44] ; 0x2c - 8006d56: f007 fead bl 800eab4 - 8006d5a: f8d4 33b4 ldr.w r3, [r4, #948] ; 0x3b4 - 8006d5e: 4298 cmp r0, r3 - 8006d60: d3e5 bcc.n 8006d2e - 8006d62: 480b ldr r0, [pc, #44] ; (8006d90 ) - 8006d64: f007 fee0 bl 800eb28 - 8006d68: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 8006d6c: f043 0310 orr.w r3, r3, #16 - 8006d70: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 8006d74: e7db b.n 8006d2e - 8006d76: b10b cbz r3, 8006d7c - 8006d78: f884 5441 strb.w r5, [r4, #1089] ; 0x441 - 8006d7c: 4628 mov r0, r5 - 8006d7e: f002 ff4d bl 8009c1c - 8006d82: e7f1 b.n 8006d68 - 8006d84: 20000c00 .word 0x20000c00 - 8006d88: 0800f9e4 .word 0x0800f9e4 - 8006d8c: 200011c8 .word 0x200011c8 - 8006d90: 20001560 .word 0x20001560 + 8006d2a: f002 fdcf bl 80098cc + 8006d2e: 463c mov r4, r7 + 8006d30: f002 fdd4 bl 80098dc + 8006d34: b148 cbz r0, 8006d4a + 8006d36: 2000 movs r0, #0 + 8006d38: f002 fdc4 bl 80098c4 + 8006d3c: 2000 movs r0, #0 + 8006d3e: f002 fdc6 bl 80098ce + 8006d42: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 8006d46: f7ff bf65 b.w 8006c14 + 8006d4a: 2c00 cmp r4, #0 + 8006d4c: d1f9 bne.n 8006d42 + 8006d4e: 4c14 ldr r4, [pc, #80] ; (8006da0 ) + 8006d50: f894 2490 ldrb.w r2, [r4, #1168] ; 0x490 + 8006d54: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a + 8006d58: b9ba cbnz r2, 8006d8a + 8006d5a: b10b cbz r3, 8006d60 + 8006d5c: f884 6441 strb.w r6, [r4, #1089] ; 0x441 + 8006d60: 4630 mov r0, r6 + 8006d62: f002 ff65 bl 8009c30 + 8006d66: f8d8 002c ldr.w r0, [r8, #44] ; 0x2c + 8006d6a: f007 fead bl 800eac8 + 8006d6e: f8d4 33b4 ldr.w r3, [r4, #948] ; 0x3b4 + 8006d72: 4298 cmp r0, r3 + 8006d74: d3e5 bcc.n 8006d42 + 8006d76: 480b ldr r0, [pc, #44] ; (8006da4 ) + 8006d78: f007 fee0 bl 800eb3c + 8006d7c: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8006d80: f043 0310 orr.w r3, r3, #16 + 8006d84: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8006d88: e7db b.n 8006d42 + 8006d8a: b10b cbz r3, 8006d90 + 8006d8c: f884 5441 strb.w r5, [r4, #1089] ; 0x441 + 8006d90: 4628 mov r0, r5 + 8006d92: f002 ff4d bl 8009c30 + 8006d96: e7f1 b.n 8006d7c + 8006d98: 20000c00 .word 0x20000c00 + 8006d9c: 0800f9f4 .word 0x0800f9f4 + 8006da0: 200011c8 .word 0x200011c8 + 8006da4: 20001560 .word 0x20001560 -08006d94 : - 8006d94: b573 push {r0, r1, r4, r5, r6, lr} - 8006d96: 4c16 ldr r4, [pc, #88] ; (8006df0 ) - 8006d98: 4d16 ldr r5, [pc, #88] ; (8006df4 ) - 8006d9a: f504 767a add.w r6, r4, #1000 ; 0x3e8 - 8006d9e: 6ceb ldr r3, [r5, #76] ; 0x4c - 8006da0: f895 2050 ldrb.w r2, [r5, #80] ; 0x50 - 8006da4: f995 1078 ldrsb.w r1, [r5, #120] ; 0x78 - 8006da8: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 8006dac: 9600 str r6, [sp, #0] - 8006dae: f003 fc31 bl 800a614 - 8006db2: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 - 8006db6: f884 33fc strb.w r3, [r4, #1020] ; 0x3fc - 8006dba: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 8006dbe: f240 2301 movw r3, #513 ; 0x201 - 8006dc2: f204 4224 addw r2, r4, #1060 ; 0x424 - 8006dc6: 4631 mov r1, r6 - 8006dc8: f8a4 33fa strh.w r3, [r4, #1018] ; 0x3fa - 8006dcc: f003 fc2e bl 800a62c - 8006dd0: b158 cbz r0, 8006dea - 8006dd2: f894 3424 ldrb.w r3, [r4, #1060] ; 0x424 - 8006dd6: f884 346a strb.w r3, [r4, #1130] ; 0x46a - 8006dda: 4b07 ldr r3, [pc, #28] ; (8006df8 ) - 8006ddc: 2000 movs r0, #0 - 8006dde: 6b5b ldr r3, [r3, #52] ; 0x34 - 8006de0: 4798 blx r3 - 8006de2: f894 33fb ldrb.w r3, [r4, #1019] ; 0x3fb - 8006de6: f884 3490 strb.w r3, [r4, #1168] ; 0x490 - 8006dea: b002 add sp, #8 - 8006dec: bd70 pop {r4, r5, r6, pc} - 8006dee: bf00 nop - 8006df0: 200011c8 .word 0x200011c8 - 8006df4: 20000c00 .word 0x20000c00 - 8006df8: 0800f9e4 .word 0x0800f9e4 +08006da8 : + 8006da8: b573 push {r0, r1, r4, r5, r6, lr} + 8006daa: 4c16 ldr r4, [pc, #88] ; (8006e04 ) + 8006dac: 4d16 ldr r5, [pc, #88] ; (8006e08 ) + 8006dae: f504 767a add.w r6, r4, #1000 ; 0x3e8 + 8006db2: 6ceb ldr r3, [r5, #76] ; 0x4c + 8006db4: f895 2050 ldrb.w r2, [r5, #80] ; 0x50 + 8006db8: f995 1078 ldrsb.w r1, [r5, #120] ; 0x78 + 8006dbc: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 8006dc0: 9600 str r6, [sp, #0] + 8006dc2: f003 fc31 bl 800a628 + 8006dc6: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 + 8006dca: f884 33fc strb.w r3, [r4, #1020] ; 0x3fc + 8006dce: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 8006dd2: f240 2301 movw r3, #513 ; 0x201 + 8006dd6: f204 4224 addw r2, r4, #1060 ; 0x424 + 8006dda: 4631 mov r1, r6 + 8006ddc: f8a4 33fa strh.w r3, [r4, #1018] ; 0x3fa + 8006de0: f003 fc2e bl 800a640 + 8006de4: b158 cbz r0, 8006dfe + 8006de6: f894 3424 ldrb.w r3, [r4, #1060] ; 0x424 + 8006dea: f884 346a strb.w r3, [r4, #1130] ; 0x46a + 8006dee: 4b07 ldr r3, [pc, #28] ; (8006e0c ) + 8006df0: 2000 movs r0, #0 + 8006df2: 6b5b ldr r3, [r3, #52] ; 0x34 + 8006df4: 4798 blx r3 + 8006df6: f894 33fb ldrb.w r3, [r4, #1019] ; 0x3fb + 8006dfa: f884 3490 strb.w r3, [r4, #1168] ; 0x490 + 8006dfe: b002 add sp, #8 + 8006e00: bd70 pop {r4, r5, r6, pc} + 8006e02: bf00 nop + 8006e04: 200011c8 .word 0x200011c8 + 8006e08: 20000c00 .word 0x20000c00 + 8006e0c: 0800f9f4 .word 0x0800f9f4 -08006dfc : - 8006dfc: 4a07 ldr r2, [pc, #28] ; (8006e1c ) - 8006dfe: b510 push {r4, lr} - 8006e00: 7813 ldrb r3, [r2, #0] - 8006e02: f043 0302 orr.w r3, r3, #2 - 8006e06: 7013 strb r3, [r2, #0] - 8006e08: f7ff ff08 bl 8006c1c - 8006e0c: e8bd 4010 ldmia.w sp!, {r4, lr} - 8006e10: 4b03 ldr r3, [pc, #12] ; (8006e20 ) - 8006e12: 2201 movs r2, #1 - 8006e14: 2100 movs r1, #0 - 8006e16: 2002 movs r0, #2 - 8006e18: f007 bb58 b.w 800e4cc - 8006e1c: 200011c4 .word 0x200011c4 - 8006e20: 0800f2a9 .word 0x0800f2a9 +08006e10 : + 8006e10: 4a07 ldr r2, [pc, #28] ; (8006e30 ) + 8006e12: b510 push {r4, lr} + 8006e14: 7813 ldrb r3, [r2, #0] + 8006e16: f043 0302 orr.w r3, r3, #2 + 8006e1a: 7013 strb r3, [r2, #0] + 8006e1c: f7ff ff08 bl 8006c30 + 8006e20: e8bd 4010 ldmia.w sp!, {r4, lr} + 8006e24: 4b03 ldr r3, [pc, #12] ; (8006e34 ) + 8006e26: 2201 movs r2, #1 + 8006e28: 2100 movs r1, #0 + 8006e2a: 2002 movs r0, #2 + 8006e2c: f007 bb58 b.w 800e4e0 + 8006e30: 200011c4 .word 0x200011c4 + 8006e34: 0800f2b9 .word 0x0800f2b9 -08006e24 : - 8006e24: 4a07 ldr r2, [pc, #28] ; (8006e44 ) - 8006e26: b510 push {r4, lr} - 8006e28: 7813 ldrb r3, [r2, #0] - 8006e2a: f043 0308 orr.w r3, r3, #8 - 8006e2e: 7013 strb r3, [r2, #0] - 8006e30: f7ff fef4 bl 8006c1c - 8006e34: e8bd 4010 ldmia.w sp!, {r4, lr} - 8006e38: 4b03 ldr r3, [pc, #12] ; (8006e48 ) - 8006e3a: 2201 movs r2, #1 - 8006e3c: 2100 movs r1, #0 - 8006e3e: 2002 movs r0, #2 - 8006e40: f007 bb44 b.w 800e4cc - 8006e44: 200011c4 .word 0x200011c4 - 8006e48: 0800f2b9 .word 0x0800f2b9 +08006e38 : + 8006e38: 4a07 ldr r2, [pc, #28] ; (8006e58 ) + 8006e3a: b510 push {r4, lr} + 8006e3c: 7813 ldrb r3, [r2, #0] + 8006e3e: f043 0308 orr.w r3, r3, #8 + 8006e42: 7013 strb r3, [r2, #0] + 8006e44: f7ff fef4 bl 8006c30 + 8006e48: e8bd 4010 ldmia.w sp!, {r4, lr} + 8006e4c: 4b03 ldr r3, [pc, #12] ; (8006e5c ) + 8006e4e: 2201 movs r2, #1 + 8006e50: 2100 movs r1, #0 + 8006e52: 2002 movs r0, #2 + 8006e54: f007 bb44 b.w 800e4e0 + 8006e58: 200011c4 .word 0x200011c4 + 8006e5c: 0800f2c9 .word 0x0800f2c9 -08006e4c : - 8006e4c: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8006e50: 460f mov r7, r1 - 8006e52: 4616 mov r6, r2 - 8006e54: 461d mov r5, r3 - 8006e56: 4680 mov r8, r0 - 8006e58: f007 fe22 bl 800eaa0 - 8006e5c: 4a0b ldr r2, [pc, #44] ; (8006e8c ) - 8006e5e: 4c0c ldr r4, [pc, #48] ; (8006e90 ) - 8006e60: 7813 ldrb r3, [r2, #0] - 8006e62: 8127 strh r7, [r4, #8] - 8006e64: f023 0311 bic.w r3, r3, #17 - 8006e68: f043 0311 orr.w r3, r3, #17 - 8006e6c: 7013 strb r3, [r2, #0] - 8006e6e: e9c4 0800 strd r0, r8, [r4] - 8006e72: 8166 strh r6, [r4, #10] - 8006e74: 7325 strb r5, [r4, #12] - 8006e76: f7ff fed1 bl 8006c1c - 8006e7a: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 8006e7e: 4b05 ldr r3, [pc, #20] ; (8006e94 ) - 8006e80: 2201 movs r2, #1 - 8006e82: 2100 movs r1, #0 - 8006e84: 2002 movs r0, #2 - 8006e86: f007 bb21 b.w 800e4cc - 8006e8a: bf00 nop - 8006e8c: 200011c4 .word 0x200011c4 - 8006e90: 20001774 .word 0x20001774 - 8006e94: 0800f2c9 .word 0x0800f2c9 +08006e60 : + 8006e60: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8006e64: 460f mov r7, r1 + 8006e66: 4616 mov r6, r2 + 8006e68: 461d mov r5, r3 + 8006e6a: 4680 mov r8, r0 + 8006e6c: f007 fe22 bl 800eab4 + 8006e70: 4a0b ldr r2, [pc, #44] ; (8006ea0 ) + 8006e72: 4c0c ldr r4, [pc, #48] ; (8006ea4 ) + 8006e74: 7813 ldrb r3, [r2, #0] + 8006e76: 8127 strh r7, [r4, #8] + 8006e78: f023 0311 bic.w r3, r3, #17 + 8006e7c: f043 0311 orr.w r3, r3, #17 + 8006e80: 7013 strb r3, [r2, #0] + 8006e82: e9c4 0800 strd r0, r8, [r4] + 8006e86: 8166 strh r6, [r4, #10] + 8006e88: 7325 strb r5, [r4, #12] + 8006e8a: f7ff fed1 bl 8006c30 + 8006e8e: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 8006e92: 4b05 ldr r3, [pc, #20] ; (8006ea8 ) + 8006e94: 2201 movs r2, #1 + 8006e96: 2100 movs r1, #0 + 8006e98: 2002 movs r0, #2 + 8006e9a: f007 bb21 b.w 800e4e0 + 8006e9e: bf00 nop + 8006ea0: 200011c4 .word 0x200011c4 + 8006ea4: 20001774 .word 0x20001774 + 8006ea8: 0800f2d9 .word 0x0800f2d9 -08006e98 : - 8006e98: b513 push {r0, r1, r4, lr} - 8006e9a: f007 fe01 bl 800eaa0 - 8006e9e: 4b0d ldr r3, [pc, #52] ; (8006ed4 ) - 8006ea0: 466c mov r4, sp - 8006ea2: 6018 str r0, [r3, #0] - 8006ea4: 4620 mov r0, r4 - 8006ea6: f007 fd4f bl 800e948 - 8006eaa: e894 0003 ldmia.w r4, {r0, r1} - 8006eae: 4a0a ldr r2, [pc, #40] ; (8006ed8 ) - 8006eb0: 4b0a ldr r3, [pc, #40] ; (8006edc ) - 8006eb2: e883 0003 stmia.w r3, {r0, r1} - 8006eb6: 7813 ldrb r3, [r2, #0] - 8006eb8: f043 0320 orr.w r3, r3, #32 - 8006ebc: 7013 strb r3, [r2, #0] - 8006ebe: f7ff fead bl 8006c1c - 8006ec2: 4b07 ldr r3, [pc, #28] ; (8006ee0 ) - 8006ec4: 2201 movs r2, #1 - 8006ec6: 2100 movs r1, #0 - 8006ec8: 2002 movs r0, #2 - 8006eca: b002 add sp, #8 - 8006ecc: e8bd 4010 ldmia.w sp!, {r4, lr} - 8006ed0: f007 bafc b.w 800e4cc - 8006ed4: 20001784 .word 0x20001784 - 8006ed8: 200011c4 .word 0x200011c4 - 8006edc: 20001500 .word 0x20001500 - 8006ee0: 0800f2d6 .word 0x0800f2d6 +08006eac : + 8006eac: b513 push {r0, r1, r4, lr} + 8006eae: f007 fe01 bl 800eab4 + 8006eb2: 4b0d ldr r3, [pc, #52] ; (8006ee8 ) + 8006eb4: 466c mov r4, sp + 8006eb6: 6018 str r0, [r3, #0] + 8006eb8: 4620 mov r0, r4 + 8006eba: f007 fd4f bl 800e95c + 8006ebe: e894 0003 ldmia.w r4, {r0, r1} + 8006ec2: 4a0a ldr r2, [pc, #40] ; (8006eec ) + 8006ec4: 4b0a ldr r3, [pc, #40] ; (8006ef0 ) + 8006ec6: e883 0003 stmia.w r3, {r0, r1} + 8006eca: 7813 ldrb r3, [r2, #0] + 8006ecc: f043 0320 orr.w r3, r3, #32 + 8006ed0: 7013 strb r3, [r2, #0] + 8006ed2: f7ff fead bl 8006c30 + 8006ed6: 4b07 ldr r3, [pc, #28] ; (8006ef4 ) + 8006ed8: 2201 movs r2, #1 + 8006eda: 2100 movs r1, #0 + 8006edc: 2002 movs r0, #2 + 8006ede: b002 add sp, #8 + 8006ee0: e8bd 4010 ldmia.w sp!, {r4, lr} + 8006ee4: f007 bafc b.w 800e4e0 + 8006ee8: 20001784 .word 0x20001784 + 8006eec: 200011c4 .word 0x200011c4 + 8006ef0: 20001500 .word 0x20001500 + 8006ef4: 0800f2e6 .word 0x0800f2e6 -08006ee4 : - 8006ee4: b5f8 push {r3, r4, r5, r6, r7, lr} - 8006ee6: 4d33 ldr r5, [pc, #204] ; (8006fb4 ) - 8006ee8: f895 4118 ldrb.w r4, [r5, #280] ; 0x118 - 8006eec: 2c01 cmp r4, #1 - 8006eee: 4606 mov r6, r0 - 8006ef0: d04b beq.n 8006f8a - 8006ef2: 2c02 cmp r4, #2 - 8006ef4: d051 beq.n 8006f9a - 8006ef6: b964 cbnz r4, 8006f12 - 8006ef8: b938 cbnz r0, 8006f0a - 8006efa: e9d5 011b ldrd r0, r1, [r5, #108] ; 0x6c - 8006efe: f105 0374 add.w r3, r5, #116 ; 0x74 - 8006f02: e883 0003 stmia.w r3, {r0, r1} - 8006f06: 4620 mov r0, r4 - 8006f08: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8006f0a: 2801 cmp r0, #1 - 8006f0c: d03d beq.n 8006f8a - 8006f0e: 2802 cmp r0, #2 - 8006f10: d001 beq.n 8006f16 - 8006f12: 2403 movs r4, #3 - 8006f14: e7f7 b.n 8006f06 - 8006f16: 4f28 ldr r7, [pc, #160] ; (8006fb8 ) - 8006f18: f885 0118 strb.w r0, [r5, #280] ; 0x118 - 8006f1c: f507 7e74 add.w lr, r7, #976 ; 0x3d0 - 8006f20: e8be 000f ldmia.w lr!, {r0, r1, r2, r3} - 8006f24: f507 7c7a add.w ip, r7, #1000 ; 0x3e8 - 8006f28: e8ac 000f stmia.w ip!, {r0, r1, r2, r3} - 8006f2c: e89e 0003 ldmia.w lr, {r0, r1} - 8006f30: f895 30e9 ldrb.w r3, [r5, #233] ; 0xe9 - 8006f34: e88c 0003 stmia.w ip, {r0, r1} - 8006f38: f887 63fb strb.w r6, [r7, #1019] ; 0x3fb - 8006f3c: b1e3 cbz r3, 8006f78 - 8006f3e: f895 3100 ldrb.w r3, [r5, #256] ; 0x100 - 8006f42: 2b02 cmp r3, #2 - 8006f44: d118 bne.n 8006f78 - 8006f46: f8d5 3104 ldr.w r3, [r5, #260] ; 0x104 - 8006f4a: 676b str r3, [r5, #116] ; 0x74 - 8006f4c: f8c7 33ec str.w r3, [r7, #1004] ; 0x3ec - 8006f50: f895 307d ldrb.w r3, [r5, #125] ; 0x7d - 8006f54: f895 2108 ldrb.w r2, [r5, #264] ; 0x108 - 8006f58: f887 33f8 strb.w r3, [r7, #1016] ; 0x3f8 - 8006f5c: f895 308c ldrb.w r3, [r5, #140] ; 0x8c - 8006f60: f885 2078 strb.w r2, [r5, #120] ; 0x78 - 8006f64: f887 33f9 strb.w r3, [r7, #1017] ; 0x3f9 - 8006f68: f897 241b ldrb.w r2, [r7, #1051] ; 0x41b - 8006f6c: f887 23e8 strb.w r2, [r7, #1000] ; 0x3e8 - 8006f70: f240 3301 movw r3, #769 ; 0x301 - 8006f74: f8a7 33fa strh.w r3, [r7, #1018] ; 0x3fa - 8006f78: 2300 movs r3, #0 - 8006f7a: f887 341a strb.w r3, [r7, #1050] ; 0x41a - 8006f7e: 4b0f ldr r3, [pc, #60] ; (8006fbc ) - 8006f80: 6adb ldr r3, [r3, #44] ; 0x2c - 8006f82: 4798 blx r3 - 8006f84: f7ff ff06 bl 8006d94 - 8006f88: e7bd b.n 8006f06 - 8006f8a: f002 fca4 bl 80098d6 - 8006f8e: 4604 mov r4, r0 - 8006f90: 2800 cmp r0, #0 - 8006f92: d1b8 bne.n 8006f06 - 8006f94: f885 6118 strb.w r6, [r5, #280] ; 0x118 - 8006f98: e7b5 b.n 8006f06 - 8006f9a: 2800 cmp r0, #0 - 8006f9c: d1b9 bne.n 8006f12 - 8006f9e: 4b06 ldr r3, [pc, #24] ; (8006fb8 ) - 8006fa0: f885 0118 strb.w r0, [r5, #280] ; 0x118 - 8006fa4: 2206 movs r2, #6 - 8006fa6: f883 2490 strb.w r2, [r3, #1168] ; 0x490 - 8006faa: 4b04 ldr r3, [pc, #16] ; (8006fbc ) - 8006fac: 6adb ldr r3, [r3, #44] ; 0x2c - 8006fae: 4798 blx r3 - 8006fb0: 4634 mov r4, r6 - 8006fb2: e7a8 b.n 8006f06 - 8006fb4: 20000c00 .word 0x20000c00 - 8006fb8: 200011c8 .word 0x200011c8 - 8006fbc: 0800f9e4 .word 0x0800f9e4 +08006ef8 : + 8006ef8: b5f8 push {r3, r4, r5, r6, r7, lr} + 8006efa: 4d33 ldr r5, [pc, #204] ; (8006fc8 ) + 8006efc: f895 4118 ldrb.w r4, [r5, #280] ; 0x118 + 8006f00: 2c01 cmp r4, #1 + 8006f02: 4606 mov r6, r0 + 8006f04: d04b beq.n 8006f9e + 8006f06: 2c02 cmp r4, #2 + 8006f08: d051 beq.n 8006fae + 8006f0a: b964 cbnz r4, 8006f26 + 8006f0c: b938 cbnz r0, 8006f1e + 8006f0e: e9d5 011b ldrd r0, r1, [r5, #108] ; 0x6c + 8006f12: f105 0374 add.w r3, r5, #116 ; 0x74 + 8006f16: e883 0003 stmia.w r3, {r0, r1} + 8006f1a: 4620 mov r0, r4 + 8006f1c: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8006f1e: 2801 cmp r0, #1 + 8006f20: d03d beq.n 8006f9e + 8006f22: 2802 cmp r0, #2 + 8006f24: d001 beq.n 8006f2a + 8006f26: 2403 movs r4, #3 + 8006f28: e7f7 b.n 8006f1a + 8006f2a: 4f28 ldr r7, [pc, #160] ; (8006fcc ) + 8006f2c: f885 0118 strb.w r0, [r5, #280] ; 0x118 + 8006f30: f507 7e74 add.w lr, r7, #976 ; 0x3d0 + 8006f34: e8be 000f ldmia.w lr!, {r0, r1, r2, r3} + 8006f38: f507 7c7a add.w ip, r7, #1000 ; 0x3e8 + 8006f3c: e8ac 000f stmia.w ip!, {r0, r1, r2, r3} + 8006f40: e89e 0003 ldmia.w lr, {r0, r1} + 8006f44: f895 30e9 ldrb.w r3, [r5, #233] ; 0xe9 + 8006f48: e88c 0003 stmia.w ip, {r0, r1} + 8006f4c: f887 63fb strb.w r6, [r7, #1019] ; 0x3fb + 8006f50: b1e3 cbz r3, 8006f8c + 8006f52: f895 3100 ldrb.w r3, [r5, #256] ; 0x100 + 8006f56: 2b02 cmp r3, #2 + 8006f58: d118 bne.n 8006f8c + 8006f5a: f8d5 3104 ldr.w r3, [r5, #260] ; 0x104 + 8006f5e: 676b str r3, [r5, #116] ; 0x74 + 8006f60: f8c7 33ec str.w r3, [r7, #1004] ; 0x3ec + 8006f64: f895 307d ldrb.w r3, [r5, #125] ; 0x7d + 8006f68: f895 2108 ldrb.w r2, [r5, #264] ; 0x108 + 8006f6c: f887 33f8 strb.w r3, [r7, #1016] ; 0x3f8 + 8006f70: f895 308c ldrb.w r3, [r5, #140] ; 0x8c + 8006f74: f885 2078 strb.w r2, [r5, #120] ; 0x78 + 8006f78: f887 33f9 strb.w r3, [r7, #1017] ; 0x3f9 + 8006f7c: f897 241b ldrb.w r2, [r7, #1051] ; 0x41b + 8006f80: f887 23e8 strb.w r2, [r7, #1000] ; 0x3e8 + 8006f84: f240 3301 movw r3, #769 ; 0x301 + 8006f88: f8a7 33fa strh.w r3, [r7, #1018] ; 0x3fa + 8006f8c: 2300 movs r3, #0 + 8006f8e: f887 341a strb.w r3, [r7, #1050] ; 0x41a + 8006f92: 4b0f ldr r3, [pc, #60] ; (8006fd0 ) + 8006f94: 6adb ldr r3, [r3, #44] ; 0x2c + 8006f96: 4798 blx r3 + 8006f98: f7ff ff06 bl 8006da8 + 8006f9c: e7bd b.n 8006f1a + 8006f9e: f002 fca4 bl 80098ea + 8006fa2: 4604 mov r4, r0 + 8006fa4: 2800 cmp r0, #0 + 8006fa6: d1b8 bne.n 8006f1a + 8006fa8: f885 6118 strb.w r6, [r5, #280] ; 0x118 + 8006fac: e7b5 b.n 8006f1a + 8006fae: 2800 cmp r0, #0 + 8006fb0: d1b9 bne.n 8006f26 + 8006fb2: 4b06 ldr r3, [pc, #24] ; (8006fcc ) + 8006fb4: f885 0118 strb.w r0, [r5, #280] ; 0x118 + 8006fb8: 2206 movs r2, #6 + 8006fba: f883 2490 strb.w r2, [r3, #1168] ; 0x490 + 8006fbe: 4b04 ldr r3, [pc, #16] ; (8006fd0 ) + 8006fc0: 6adb ldr r3, [r3, #44] ; 0x2c + 8006fc2: 4798 blx r3 + 8006fc4: 4634 mov r4, r6 + 8006fc6: e7a8 b.n 8006f1a + 8006fc8: 20000c00 .word 0x20000c00 + 8006fcc: 200011c8 .word 0x200011c8 + 8006fd0: 0800f9f4 .word 0x0800f9f4 -08006fc0 : - 8006fc0: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8006fc4: b092 sub sp, #72 ; 0x48 - 8006fc6: 4606 mov r6, r0 - 8006fc8: f002 fc7a bl 80098c0 - 8006fcc: 2800 cmp r0, #0 - 8006fce: f040 8159 bne.w 8007284 - 8006fd2: 4dad ldr r5, [pc, #692] ; (8007288 ) - 8006fd4: f895 3118 ldrb.w r3, [r5, #280] ; 0x118 - 8006fd8: 2b01 cmp r3, #1 - 8006fda: d009 beq.n 8006ff0 - 8006fdc: 6b2b ldr r3, [r5, #48] ; 0x30 - 8006fde: 4cab ldr r4, [pc, #684] ; (800728c ) - 8006fe0: b193 cbz r3, 8007008 - 8006fe2: f894 3104 ldrb.w r3, [r4, #260] ; 0x104 - 8006fe6: b1bb cbz r3, 8007018 - 8006fe8: 2b04 cmp r3, #4 - 8006fea: d06f beq.n 80070cc - 8006fec: 2003 movs r0, #3 - 8006fee: e003 b.n 8006ff8 - 8006ff0: f002 fc68 bl 80098c4 - 8006ff4: b118 cbz r0, 8006ffe - 8006ff6: 200f movs r0, #15 - 8006ff8: b012 add sp, #72 ; 0x48 - 8006ffa: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8006ffe: f002 fc63 bl 80098c8 - 8007002: 2800 cmp r0, #0 - 8007004: d0ea beq.n 8006fdc - 8007006: e7f6 b.n 8006ff6 - 8007008: f8b5 3120 ldrh.w r3, [r5, #288] ; 0x120 - 800700c: f8d4 241c ldr.w r2, [r4, #1052] ; 0x41c - 8007010: 3b01 subs r3, #1 - 8007012: 4353 muls r3, r2 - 8007014: 632b str r3, [r5, #48] ; 0x30 - 8007016: e7e4 b.n 8006fe2 - 8007018: 489d ldr r0, [pc, #628] ; (8007290 ) - 800701a: f003 fa0c bl 800a436 - 800701e: 2800 cmp r0, #0 - 8007020: f040 812c bne.w 800727c - 8007024: f894 310c ldrb.w r3, [r4, #268] ; 0x10c - 8007028: 8023 strh r3, [r4, #0] - 800702a: 6b2b ldr r3, [r5, #48] ; 0x30 - 800702c: 930c str r3, [sp, #48] ; 0x30 - 800702e: f10d 0818 add.w r8, sp, #24 - 8007032: f895 3039 ldrb.w r3, [r5, #57] ; 0x39 - 8007036: f88d 3038 strb.w r3, [sp, #56] ; 0x38 - 800703a: 4640 mov r0, r8 - 800703c: f895 311c ldrb.w r3, [r5, #284] ; 0x11c - 8007040: f88d 303a strb.w r3, [sp, #58] ; 0x3a - 8007044: f007 fca6 bl 800e994 - 8007048: f8d5 3128 ldr.w r3, [r5, #296] ; 0x128 - 800704c: 9300 str r3, [sp, #0] - 800704e: af02 add r7, sp, #8 - 8007050: e898 0006 ldmia.w r8, {r1, r2} - 8007054: f8d5 3124 ldr.w r3, [r5, #292] ; 0x124 - 8007058: 4638 mov r0, r7 - 800705a: f007 fc32 bl 800e8c2 - 800705e: e897 0003 ldmia.w r7, {r0, r1} - 8007062: ab0f add r3, sp, #60 ; 0x3c - 8007064: e883 0003 stmia.w r3, {r0, r1} - 8007068: 6aeb ldr r3, [r5, #44] ; 0x2c - 800706a: 930d str r3, [sp, #52] ; 0x34 - 800706c: 2300 movs r3, #0 - 800706e: f88d 3044 strb.w r3, [sp, #68] ; 0x44 - 8007072: 8823 ldrh r3, [r4, #0] - 8007074: f8ad 3046 strh.w r3, [sp, #70] ; 0x46 - 8007078: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 - 800707c: 2201 movs r2, #1 - 800707e: f88d 2039 strb.w r2, [sp, #57] ; 0x39 - 8007082: b91b cbnz r3, 800708c - 8007084: f88d 2044 strb.w r2, [sp, #68] ; 0x44 - 8007088: f88d 3039 strb.w r3, [sp, #57] ; 0x39 - 800708c: 4b81 ldr r3, [pc, #516] ; (8007294 ) - 800708e: 9300 str r3, [sp, #0] - 8007090: 4b81 ldr r3, [pc, #516] ; (8007298 ) - 8007092: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 8007096: f1a3 0279 sub.w r2, r3, #121 ; 0x79 - 800709a: a90c add r1, sp, #48 ; 0x30 - 800709c: f003 fb09 bl 800a6b2 - 80070a0: b1c0 cbz r0, 80070d4 - 80070a2: 280b cmp r0, #11 - 80070a4: d1a8 bne.n 8006ff8 - 80070a6: f8d4 1494 ldr.w r1, [r4, #1172] ; 0x494 - 80070aa: b199 cbz r1, 80070d4 - 80070ac: 2e00 cmp r6, #0 - 80070ae: d0a3 beq.n 8006ff8 - 80070b0: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 - 80070b4: 4879 ldr r0, [pc, #484] ; (800729c ) - 80070b6: f043 0320 orr.w r3, r3, #32 - 80070ba: f8c4 3340 str.w r3, [r4, #832] ; 0x340 - 80070be: f007 fdbb bl 800ec38 - 80070c2: 4876 ldr r0, [pc, #472] ; (800729c ) - 80070c4: f007 fd7e bl 800ebc4 - 80070c8: 2000 movs r0, #0 - 80070ca: e795 b.n 8006ff8 - 80070cc: 4870 ldr r0, [pc, #448] ; (8007290 ) - 80070ce: f003 f9e6 bl 800a49e - 80070d2: e7a4 b.n 800701e - 80070d4: f895 7048 ldrb.w r7, [r5, #72] ; 0x48 - 80070d8: f995 3069 ldrsb.w r3, [r5, #105] ; 0x69 - 80070dc: f995 2039 ldrsb.w r2, [r5, #57] ; 0x39 - 80070e0: f895 107d ldrb.w r1, [r5, #125] ; 0x7d - 80070e4: 4e6e ldr r6, [pc, #440] ; (80072a0 ) - 80070e6: 4638 mov r0, r7 - 80070e8: f003 faf0 bl 800a6cc - 80070ec: 9600 str r6, [sp, #0] - 80070ee: b241 sxtb r1, r0 - 80070f0: 6ceb ldr r3, [r5, #76] ; 0x4c - 80070f2: f895 2050 ldrb.w r2, [r5, #80] ; 0x50 - 80070f6: 4638 mov r0, r7 - 80070f8: 3618 adds r6, #24 - 80070fa: f003 fa8b bl 800a614 - 80070fe: 9600 str r6, [sp, #0] - 8007100: 6ceb ldr r3, [r5, #76] ; 0x4c - 8007102: f895 2050 ldrb.w r2, [r5, #80] ; 0x50 - 8007106: f995 1070 ldrsb.w r1, [r5, #112] ; 0x70 - 800710a: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 800710e: f003 fa81 bl 800a614 - 8007112: f8d4 13c4 ldr.w r1, [r4, #964] ; 0x3c4 - 8007116: 6dab ldr r3, [r5, #88] ; 0x58 - 8007118: f8d4 23dc ldr.w r2, [r4, #988] ; 0x3dc - 800711c: 440b add r3, r1 - 800711e: f8c4 33b0 str.w r3, [r4, #944] ; 0x3b0 - 8007122: 6deb ldr r3, [r5, #92] ; 0x5c - 8007124: 4413 add r3, r2 - 8007126: f8c4 33b4 str.w r3, [r4, #948] ; 0x3b4 - 800712a: f894 3104 ldrb.w r3, [r4, #260] ; 0x104 - 800712e: 2b04 cmp r3, #4 - 8007130: d007 beq.n 8007142 - 8007132: 6e2b ldr r3, [r5, #96] ; 0x60 - 8007134: 440b add r3, r1 - 8007136: f8c4 33b0 str.w r3, [r4, #944] ; 0x3b0 - 800713a: 6e6b ldr r3, [r5, #100] ; 0x64 - 800713c: 4413 add r3, r2 - 800713e: f8c4 33b4 str.w r3, [r4, #948] ; 0x3b4 - 8007142: 2300 movs r3, #0 - 8007144: 9308 str r3, [sp, #32] - 8007146: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 - 800714a: b183 cbz r3, 800716e - 800714c: a808 add r0, sp, #32 - 800714e: f002 fc95 bl 8009a7c - 8007152: 2800 cmp r0, #0 - 8007154: d14e bne.n 80071f4 - 8007156: f995 0039 ldrsb.w r0, [r5, #57] ; 0x39 - 800715a: f894 6237 ldrb.w r6, [r4, #567] ; 0x237 - 800715e: f89d 7020 ldrb.w r7, [sp, #32] - 8007162: f7ff fd6f bl 8006c44 - 8007166: 443e add r6, r7 - 8007168: b280 uxth r0, r0 - 800716a: 42b0 cmp r0, r6 - 800716c: d340 bcc.n 80071f0 - 800716e: 2300 movs r3, #0 - 8007170: f88d 3013 strb.w r3, [sp, #19] - 8007174: f895 3039 ldrb.w r3, [r5, #57] ; 0x39 - 8007178: f88d 3021 strb.w r3, [sp, #33] ; 0x21 - 800717c: f895 3038 ldrb.w r3, [r5, #56] ; 0x38 - 8007180: f88d 3022 strb.w r3, [sp, #34] ; 0x22 - 8007184: f8d5 3080 ldr.w r3, [r5, #128] ; 0x80 - 8007188: 9309 str r3, [sp, #36] ; 0x24 - 800718a: f8d5 3084 ldr.w r3, [r5, #132] ; 0x84 - 800718e: 930a str r3, [sp, #40] ; 0x28 - 8007190: 8823 ldrh r3, [r4, #0] - 8007192: f8ad 302c strh.w r3, [sp, #44] ; 0x2c - 8007196: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 - 800719a: f894 641b ldrb.w r6, [r4, #1051] ; 0x41b - 800719e: f88d 302e strb.w r3, [sp, #46] ; 0x2e - 80071a2: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 80071a6: 4b3f ldr r3, [pc, #252] ; (80072a4 ) - 80071a8: f88d 6020 strb.w r6, [sp, #32] - 80071ac: f10d 0213 add.w r2, sp, #19 - 80071b0: a908 add r1, sp, #32 - 80071b2: f003 fa43 bl 800a63c - 80071b6: 2301 movs r3, #1 - 80071b8: f884 3441 strb.w r3, [r4, #1089] ; 0x441 - 80071bc: f895 3039 ldrb.w r3, [r5, #57] ; 0x39 - 80071c0: f884 3442 strb.w r3, [r4, #1090] ; 0x442 - 80071c4: f89d 3013 ldrb.w r3, [sp, #19] - 80071c8: f884 3443 strb.w r3, [r4, #1091] ; 0x443 - 80071cc: f8d4 341c ldr.w r3, [r4, #1052] ; 0x41c - 80071d0: f8c4 6450 str.w r6, [r4, #1104] ; 0x450 - 80071d4: f8c4 3448 str.w r3, [r4, #1096] ; 0x448 - 80071d8: f8c4 3458 str.w r3, [r4, #1112] ; 0x458 - 80071dc: f002 fb76 bl 80098cc - 80071e0: b150 cbz r0, 80071f8 - 80071e2: f8d4 041c ldr.w r0, [r4, #1052] ; 0x41c - 80071e6: f002 fb83 bl 80098f0 - 80071ea: b128 cbz r0, 80071f8 - 80071ec: 2010 movs r0, #16 - 80071ee: e703 b.n 8006ff8 - 80071f0: 2008 movs r0, #8 - 80071f2: e701 b.n 8006ff8 - 80071f4: 2013 movs r0, #19 - 80071f6: e6ff b.n 8006ff8 - 80071f8: f895 3118 ldrb.w r3, [r5, #280] ; 0x118 - 80071fc: 2b01 cmp r3, #1 - 80071fe: d101 bne.n 8007204 - 8007200: f002 fb78 bl 80098f4 - 8007204: f002 fb65 bl 80098d2 - 8007208: 2300 movs r3, #0 - 800720a: 9305 str r3, [sp, #20] - 800720c: f894 3104 ldrb.w r3, [r4, #260] ; 0x104 - 8007210: f995 5039 ldrsb.w r5, [r5, #57] ; 0x39 - 8007214: f894 641b ldrb.w r6, [r4, #1051] ; 0x41b - 8007218: b19b cbz r3, 8007242 - 800721a: 2b04 cmp r3, #4 - 800721c: f47f aee6 bne.w 8006fec - 8007220: a805 add r0, sp, #20 - 8007222: f002 fe67 bl 8009ef4 - 8007226: bb58 cbnz r0, 8007280 - 8007228: f894 3418 ldrb.w r3, [r4, #1048] ; 0x418 - 800722c: b113 cbz r3, 8007234 - 800722e: 9b05 ldr r3, [sp, #20] - 8007230: 3b01 subs r3, #1 - 8007232: 9305 str r3, [sp, #20] - 8007234: 4b16 ldr r3, [pc, #88] ; (8007290 ) - 8007236: 9805 ldr r0, [sp, #20] - 8007238: 4632 mov r2, r6 - 800723a: b2e9 uxtb r1, r5 - 800723c: f002 fec0 bl 8009fc0 - 8007240: e002 b.n 8007248 - 8007242: 4813 ldr r0, [pc, #76] ; (8007290 ) - 8007244: f002 fe90 bl 8009f68 - 8007248: b9c0 cbnz r0, 800727c - 800724a: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 - 800724e: f894 110c ldrb.w r1, [r4, #268] ; 0x10c - 8007252: 8021 strh r1, [r4, #0] - 8007254: f043 0302 orr.w r3, r3, #2 - 8007258: f8c4 3340 str.w r3, [r4, #832] ; 0x340 - 800725c: f894 3418 ldrb.w r3, [r4, #1048] ; 0x418 - 8007260: 4811 ldr r0, [pc, #68] ; (80072a8 ) - 8007262: 3301 adds r3, #1 - 8007264: b2db uxtb r3, r3 - 8007266: f884 3418 strb.w r3, [r4, #1048] ; 0x418 - 800726a: f884 3445 strb.w r3, [r4, #1093] ; 0x445 - 800726e: 4b0f ldr r3, [pc, #60] ; (80072ac ) - 8007270: 2500 movs r5, #0 - 8007272: 6a9b ldr r3, [r3, #40] ; 0x28 - 8007274: f8c4 5498 str.w r5, [r4, #1176] ; 0x498 - 8007278: 4798 blx r3 - 800727a: e725 b.n 80070c8 - 800727c: 2011 movs r0, #17 - 800727e: e6bb b.n 8006ff8 - 8007280: 2012 movs r0, #18 - 8007282: e6b9 b.n 8006ff8 - 8007284: 200e movs r0, #14 - 8007286: e6b7 b.n 8006ff8 - 8007288: 20000c00 .word 0x20000c00 - 800728c: 200011c8 .word 0x200011c8 - 8007290: 200012d0 .word 0x200012d0 - 8007294: 20000c30 .word 0x20000c30 - 8007298: 2000165c .word 0x2000165c - 800729c: 20001530 .word 0x20001530 - 80072a0: 20001580 .word 0x20001580 - 80072a4: 200015e4 .word 0x200015e4 - 80072a8: 200011ca .word 0x200011ca - 80072ac: 0800f9e4 .word 0x0800f9e4 +08006fd4 : + 8006fd4: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8006fd8: b092 sub sp, #72 ; 0x48 + 8006fda: 4606 mov r6, r0 + 8006fdc: f002 fc7a bl 80098d4 + 8006fe0: 2800 cmp r0, #0 + 8006fe2: f040 8159 bne.w 8007298 + 8006fe6: 4dad ldr r5, [pc, #692] ; (800729c ) + 8006fe8: f895 3118 ldrb.w r3, [r5, #280] ; 0x118 + 8006fec: 2b01 cmp r3, #1 + 8006fee: d009 beq.n 8007004 + 8006ff0: 6b2b ldr r3, [r5, #48] ; 0x30 + 8006ff2: 4cab ldr r4, [pc, #684] ; (80072a0 ) + 8006ff4: b193 cbz r3, 800701c + 8006ff6: f894 3104 ldrb.w r3, [r4, #260] ; 0x104 + 8006ffa: b1bb cbz r3, 800702c + 8006ffc: 2b04 cmp r3, #4 + 8006ffe: d06f beq.n 80070e0 + 8007000: 2003 movs r0, #3 + 8007002: e003 b.n 800700c + 8007004: f002 fc68 bl 80098d8 + 8007008: b118 cbz r0, 8007012 + 800700a: 200f movs r0, #15 + 800700c: b012 add sp, #72 ; 0x48 + 800700e: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8007012: f002 fc63 bl 80098dc + 8007016: 2800 cmp r0, #0 + 8007018: d0ea beq.n 8006ff0 + 800701a: e7f6 b.n 800700a + 800701c: f8b5 3120 ldrh.w r3, [r5, #288] ; 0x120 + 8007020: f8d4 241c ldr.w r2, [r4, #1052] ; 0x41c + 8007024: 3b01 subs r3, #1 + 8007026: 4353 muls r3, r2 + 8007028: 632b str r3, [r5, #48] ; 0x30 + 800702a: e7e4 b.n 8006ff6 + 800702c: 489d ldr r0, [pc, #628] ; (80072a4 ) + 800702e: f003 fa0c bl 800a44a + 8007032: 2800 cmp r0, #0 + 8007034: f040 812c bne.w 8007290 + 8007038: f894 310c ldrb.w r3, [r4, #268] ; 0x10c + 800703c: 8023 strh r3, [r4, #0] + 800703e: 6b2b ldr r3, [r5, #48] ; 0x30 + 8007040: 930c str r3, [sp, #48] ; 0x30 + 8007042: f10d 0818 add.w r8, sp, #24 + 8007046: f895 3039 ldrb.w r3, [r5, #57] ; 0x39 + 800704a: f88d 3038 strb.w r3, [sp, #56] ; 0x38 + 800704e: 4640 mov r0, r8 + 8007050: f895 311c ldrb.w r3, [r5, #284] ; 0x11c + 8007054: f88d 303a strb.w r3, [sp, #58] ; 0x3a + 8007058: f007 fca6 bl 800e9a8 + 800705c: f8d5 3128 ldr.w r3, [r5, #296] ; 0x128 + 8007060: 9300 str r3, [sp, #0] + 8007062: af02 add r7, sp, #8 + 8007064: e898 0006 ldmia.w r8, {r1, r2} + 8007068: f8d5 3124 ldr.w r3, [r5, #292] ; 0x124 + 800706c: 4638 mov r0, r7 + 800706e: f007 fc32 bl 800e8d6 + 8007072: e897 0003 ldmia.w r7, {r0, r1} + 8007076: ab0f add r3, sp, #60 ; 0x3c + 8007078: e883 0003 stmia.w r3, {r0, r1} + 800707c: 6aeb ldr r3, [r5, #44] ; 0x2c + 800707e: 930d str r3, [sp, #52] ; 0x34 + 8007080: 2300 movs r3, #0 + 8007082: f88d 3044 strb.w r3, [sp, #68] ; 0x44 + 8007086: 8823 ldrh r3, [r4, #0] + 8007088: f8ad 3046 strh.w r3, [sp, #70] ; 0x46 + 800708c: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 + 8007090: 2201 movs r2, #1 + 8007092: f88d 2039 strb.w r2, [sp, #57] ; 0x39 + 8007096: b91b cbnz r3, 80070a0 + 8007098: f88d 2044 strb.w r2, [sp, #68] ; 0x44 + 800709c: f88d 3039 strb.w r3, [sp, #57] ; 0x39 + 80070a0: 4b81 ldr r3, [pc, #516] ; (80072a8 ) + 80070a2: 9300 str r3, [sp, #0] + 80070a4: 4b81 ldr r3, [pc, #516] ; (80072ac ) + 80070a6: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 80070aa: f1a3 0279 sub.w r2, r3, #121 ; 0x79 + 80070ae: a90c add r1, sp, #48 ; 0x30 + 80070b0: f003 fb09 bl 800a6c6 + 80070b4: b1c0 cbz r0, 80070e8 + 80070b6: 280b cmp r0, #11 + 80070b8: d1a8 bne.n 800700c + 80070ba: f8d4 1494 ldr.w r1, [r4, #1172] ; 0x494 + 80070be: b199 cbz r1, 80070e8 + 80070c0: 2e00 cmp r6, #0 + 80070c2: d0a3 beq.n 800700c + 80070c4: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 + 80070c8: 4879 ldr r0, [pc, #484] ; (80072b0 ) + 80070ca: f043 0320 orr.w r3, r3, #32 + 80070ce: f8c4 3340 str.w r3, [r4, #832] ; 0x340 + 80070d2: f007 fdbb bl 800ec4c + 80070d6: 4876 ldr r0, [pc, #472] ; (80072b0 ) + 80070d8: f007 fd7e bl 800ebd8 + 80070dc: 2000 movs r0, #0 + 80070de: e795 b.n 800700c + 80070e0: 4870 ldr r0, [pc, #448] ; (80072a4 ) + 80070e2: f003 f9e6 bl 800a4b2 + 80070e6: e7a4 b.n 8007032 + 80070e8: f895 7048 ldrb.w r7, [r5, #72] ; 0x48 + 80070ec: f995 3069 ldrsb.w r3, [r5, #105] ; 0x69 + 80070f0: f995 2039 ldrsb.w r2, [r5, #57] ; 0x39 + 80070f4: f895 107d ldrb.w r1, [r5, #125] ; 0x7d + 80070f8: 4e6e ldr r6, [pc, #440] ; (80072b4 ) + 80070fa: 4638 mov r0, r7 + 80070fc: f003 faf0 bl 800a6e0 + 8007100: 9600 str r6, [sp, #0] + 8007102: b241 sxtb r1, r0 + 8007104: 6ceb ldr r3, [r5, #76] ; 0x4c + 8007106: f895 2050 ldrb.w r2, [r5, #80] ; 0x50 + 800710a: 4638 mov r0, r7 + 800710c: 3618 adds r6, #24 + 800710e: f003 fa8b bl 800a628 + 8007112: 9600 str r6, [sp, #0] + 8007114: 6ceb ldr r3, [r5, #76] ; 0x4c + 8007116: f895 2050 ldrb.w r2, [r5, #80] ; 0x50 + 800711a: f995 1070 ldrsb.w r1, [r5, #112] ; 0x70 + 800711e: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 8007122: f003 fa81 bl 800a628 + 8007126: f8d4 13c4 ldr.w r1, [r4, #964] ; 0x3c4 + 800712a: 6dab ldr r3, [r5, #88] ; 0x58 + 800712c: f8d4 23dc ldr.w r2, [r4, #988] ; 0x3dc + 8007130: 440b add r3, r1 + 8007132: f8c4 33b0 str.w r3, [r4, #944] ; 0x3b0 + 8007136: 6deb ldr r3, [r5, #92] ; 0x5c + 8007138: 4413 add r3, r2 + 800713a: f8c4 33b4 str.w r3, [r4, #948] ; 0x3b4 + 800713e: f894 3104 ldrb.w r3, [r4, #260] ; 0x104 + 8007142: 2b04 cmp r3, #4 + 8007144: d007 beq.n 8007156 + 8007146: 6e2b ldr r3, [r5, #96] ; 0x60 + 8007148: 440b add r3, r1 + 800714a: f8c4 33b0 str.w r3, [r4, #944] ; 0x3b0 + 800714e: 6e6b ldr r3, [r5, #100] ; 0x64 + 8007150: 4413 add r3, r2 + 8007152: f8c4 33b4 str.w r3, [r4, #948] ; 0x3b4 + 8007156: 2300 movs r3, #0 + 8007158: 9308 str r3, [sp, #32] + 800715a: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 + 800715e: b183 cbz r3, 8007182 + 8007160: a808 add r0, sp, #32 + 8007162: f002 fc95 bl 8009a90 + 8007166: 2800 cmp r0, #0 + 8007168: d14e bne.n 8007208 + 800716a: f995 0039 ldrsb.w r0, [r5, #57] ; 0x39 + 800716e: f894 6237 ldrb.w r6, [r4, #567] ; 0x237 + 8007172: f89d 7020 ldrb.w r7, [sp, #32] + 8007176: f7ff fd6f bl 8006c58 + 800717a: 443e add r6, r7 + 800717c: b280 uxth r0, r0 + 800717e: 42b0 cmp r0, r6 + 8007180: d340 bcc.n 8007204 + 8007182: 2300 movs r3, #0 + 8007184: f88d 3013 strb.w r3, [sp, #19] + 8007188: f895 3039 ldrb.w r3, [r5, #57] ; 0x39 + 800718c: f88d 3021 strb.w r3, [sp, #33] ; 0x21 + 8007190: f895 3038 ldrb.w r3, [r5, #56] ; 0x38 + 8007194: f88d 3022 strb.w r3, [sp, #34] ; 0x22 + 8007198: f8d5 3080 ldr.w r3, [r5, #128] ; 0x80 + 800719c: 9309 str r3, [sp, #36] ; 0x24 + 800719e: f8d5 3084 ldr.w r3, [r5, #132] ; 0x84 + 80071a2: 930a str r3, [sp, #40] ; 0x28 + 80071a4: 8823 ldrh r3, [r4, #0] + 80071a6: f8ad 302c strh.w r3, [sp, #44] ; 0x2c + 80071aa: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 + 80071ae: f894 641b ldrb.w r6, [r4, #1051] ; 0x41b + 80071b2: f88d 302e strb.w r3, [sp, #46] ; 0x2e + 80071b6: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 80071ba: 4b3f ldr r3, [pc, #252] ; (80072b8 ) + 80071bc: f88d 6020 strb.w r6, [sp, #32] + 80071c0: f10d 0213 add.w r2, sp, #19 + 80071c4: a908 add r1, sp, #32 + 80071c6: f003 fa43 bl 800a650 + 80071ca: 2301 movs r3, #1 + 80071cc: f884 3441 strb.w r3, [r4, #1089] ; 0x441 + 80071d0: f895 3039 ldrb.w r3, [r5, #57] ; 0x39 + 80071d4: f884 3442 strb.w r3, [r4, #1090] ; 0x442 + 80071d8: f89d 3013 ldrb.w r3, [sp, #19] + 80071dc: f884 3443 strb.w r3, [r4, #1091] ; 0x443 + 80071e0: f8d4 341c ldr.w r3, [r4, #1052] ; 0x41c + 80071e4: f8c4 6450 str.w r6, [r4, #1104] ; 0x450 + 80071e8: f8c4 3448 str.w r3, [r4, #1096] ; 0x448 + 80071ec: f8c4 3458 str.w r3, [r4, #1112] ; 0x458 + 80071f0: f002 fb76 bl 80098e0 + 80071f4: b150 cbz r0, 800720c + 80071f6: f8d4 041c ldr.w r0, [r4, #1052] ; 0x41c + 80071fa: f002 fb83 bl 8009904 + 80071fe: b128 cbz r0, 800720c + 8007200: 2010 movs r0, #16 + 8007202: e703 b.n 800700c + 8007204: 2008 movs r0, #8 + 8007206: e701 b.n 800700c + 8007208: 2013 movs r0, #19 + 800720a: e6ff b.n 800700c + 800720c: f895 3118 ldrb.w r3, [r5, #280] ; 0x118 + 8007210: 2b01 cmp r3, #1 + 8007212: d101 bne.n 8007218 + 8007214: f002 fb78 bl 8009908 + 8007218: f002 fb65 bl 80098e6 + 800721c: 2300 movs r3, #0 + 800721e: 9305 str r3, [sp, #20] + 8007220: f894 3104 ldrb.w r3, [r4, #260] ; 0x104 + 8007224: f995 5039 ldrsb.w r5, [r5, #57] ; 0x39 + 8007228: f894 641b ldrb.w r6, [r4, #1051] ; 0x41b + 800722c: b19b cbz r3, 8007256 + 800722e: 2b04 cmp r3, #4 + 8007230: f47f aee6 bne.w 8007000 + 8007234: a805 add r0, sp, #20 + 8007236: f002 fe67 bl 8009f08 + 800723a: bb58 cbnz r0, 8007294 + 800723c: f894 3418 ldrb.w r3, [r4, #1048] ; 0x418 + 8007240: b113 cbz r3, 8007248 + 8007242: 9b05 ldr r3, [sp, #20] + 8007244: 3b01 subs r3, #1 + 8007246: 9305 str r3, [sp, #20] + 8007248: 4b16 ldr r3, [pc, #88] ; (80072a4 ) + 800724a: 9805 ldr r0, [sp, #20] + 800724c: 4632 mov r2, r6 + 800724e: b2e9 uxtb r1, r5 + 8007250: f002 fec0 bl 8009fd4 + 8007254: e002 b.n 800725c + 8007256: 4813 ldr r0, [pc, #76] ; (80072a4 ) + 8007258: f002 fe90 bl 8009f7c + 800725c: b9c0 cbnz r0, 8007290 + 800725e: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 + 8007262: f894 110c ldrb.w r1, [r4, #268] ; 0x10c + 8007266: 8021 strh r1, [r4, #0] + 8007268: f043 0302 orr.w r3, r3, #2 + 800726c: f8c4 3340 str.w r3, [r4, #832] ; 0x340 + 8007270: f894 3418 ldrb.w r3, [r4, #1048] ; 0x418 + 8007274: 4811 ldr r0, [pc, #68] ; (80072bc ) + 8007276: 3301 adds r3, #1 + 8007278: b2db uxtb r3, r3 + 800727a: f884 3418 strb.w r3, [r4, #1048] ; 0x418 + 800727e: f884 3445 strb.w r3, [r4, #1093] ; 0x445 + 8007282: 4b0f ldr r3, [pc, #60] ; (80072c0 ) + 8007284: 2500 movs r5, #0 + 8007286: 6a9b ldr r3, [r3, #40] ; 0x28 + 8007288: f8c4 5498 str.w r5, [r4, #1176] ; 0x498 + 800728c: 4798 blx r3 + 800728e: e725 b.n 80070dc + 8007290: 2011 movs r0, #17 + 8007292: e6bb b.n 800700c + 8007294: 2012 movs r0, #18 + 8007296: e6b9 b.n 800700c + 8007298: 200e movs r0, #14 + 800729a: e6b7 b.n 800700c + 800729c: 20000c00 .word 0x20000c00 + 80072a0: 200011c8 .word 0x200011c8 + 80072a4: 200012d0 .word 0x200012d0 + 80072a8: 20000c30 .word 0x20000c30 + 80072ac: 2000165c .word 0x2000165c + 80072b0: 20001530 .word 0x20001530 + 80072b4: 20001580 .word 0x20001580 + 80072b8: 200015e4 .word 0x200015e4 + 80072bc: 200011ca .word 0x200011ca + 80072c0: 0800f9f4 .word 0x0800f9f4 -080072b0 : - 80072b0: b5f0 push {r4, r5, r6, r7, lr} - 80072b2: 4c50 ldr r4, [pc, #320] ; (80073f4 ) - 80072b4: 4e50 ldr r6, [pc, #320] ; (80073f8 ) - 80072b6: f8b4 20dc ldrh.w r2, [r4, #220] ; 0xdc - 80072ba: 8722 strh r2, [r4, #56] ; 0x38 - 80072bc: e9d4 012d ldrd r0, r1, [r4, #180] ; 0xb4 - 80072c0: f894 20b1 ldrb.w r2, [r4, #177] ; 0xb1 - 80072c4: f884 2069 strb.w r2, [r4, #105] ; 0x69 - 80072c8: f104 026c add.w r2, r4, #108 ; 0x6c - 80072cc: e882 0003 stmia.w r2, {r0, r1} - 80072d0: e9d4 012f ldrd r0, r1, [r4, #188] ; 0xbc - 80072d4: f104 0274 add.w r2, r4, #116 ; 0x74 - 80072d8: e882 0003 stmia.w r2, {r0, r1} - 80072dc: f8b4 20c4 ldrh.w r2, [r4, #196] ; 0xc4 - 80072e0: f8a4 207c strh.w r2, [r4, #124] ; 0x7c - 80072e4: b091 sub sp, #68 ; 0x44 - 80072e6: f8d4 20cc ldr.w r2, [r4, #204] ; 0xcc - 80072ea: f8d4 10c8 ldr.w r1, [r4, #200] ; 0xc8 - 80072ee: f8c4 2084 str.w r2, [r4, #132] ; 0x84 - 80072f2: 2500 movs r5, #0 - 80072f4: f8d4 20d0 ldr.w r2, [r4, #208] ; 0xd0 - 80072f8: f8c4 2088 str.w r2, [r4, #136] ; 0x88 - 80072fc: 2301 movs r3, #1 - 80072fe: f8a4 3120 strh.w r3, [r4, #288] ; 0x120 - 8007302: f8c4 1080 str.w r1, [r4, #128] ; 0x80 - 8007306: f884 5130 strb.w r5, [r4, #304] ; 0x130 - 800730a: 62a5 str r5, [r4, #40] ; 0x28 - 800730c: f884 511b strb.w r5, [r4, #283] ; 0x11b - 8007310: f884 503a strb.w r5, [r4, #58] ; 0x3a - 8007314: f884 511d strb.w r5, [r4, #285] ; 0x11d - 8007318: f884 511e strb.w r5, [r4, #286] ; 0x11e - 800731c: f8c4 5134 str.w r5, [r4, #308] ; 0x134 - 8007320: f8c6 5498 str.w r5, [r6, #1176] ; 0x498 - 8007324: f8a6 5418 strh.w r5, [r6, #1048] ; 0x418 - 8007328: f886 541a strb.w r5, [r6, #1050] ; 0x41a - 800732c: f8a4 5138 strh.w r5, [r4, #312] ; 0x138 - 8007330: f88d 3018 strb.w r3, [sp, #24] - 8007334: f504 7309 add.w r3, r4, #548 ; 0x224 - 8007338: 9303 str r3, [sp, #12] - 800733a: f504 730a add.w r3, r4, #552 ; 0x228 - 800733e: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8007342: f8a4 5146 strh.w r5, [r4, #326] ; 0x146 - 8007346: 9304 str r3, [sp, #16] - 8007348: a903 add r1, sp, #12 - 800734a: 4b2c ldr r3, [pc, #176] ; (80073fc ) - 800734c: f884 5145 strb.w r5, [r4, #325] ; 0x145 - 8007350: e9c4 554f strd r5, r5, [r4, #316] ; 0x13c - 8007354: 9305 str r3, [sp, #20] - 8007356: f003 f945 bl 800a5e4 - 800735a: 6ee3 ldr r3, [r4, #108] ; 0x6c - 800735c: f8c6 33d4 str.w r3, [r6, #980] ; 0x3d4 - 8007360: f894 307d ldrb.w r3, [r4, #125] ; 0x7d - 8007364: f886 33e0 strb.w r3, [r6, #992] ; 0x3e0 - 8007368: f894 308c ldrb.w r3, [r4, #140] ; 0x8c - 800736c: f886 33e1 strb.w r3, [r6, #993] ; 0x3e1 - 8007370: f44f 7380 mov.w r3, #256 ; 0x100 - 8007374: f8a6 33e2 strh.w r3, [r6, #994] ; 0x3e2 - 8007378: f886 53d0 strb.w r5, [r6, #976] ; 0x3d0 - 800737c: f894 3130 ldrb.w r3, [r4, #304] ; 0x130 - 8007380: f886 33e4 strb.w r3, [r6, #996] ; 0x3e4 - 8007384: f506 7774 add.w r7, r6, #976 ; 0x3d0 - 8007388: cf0f ldmia r7!, {r0, r1, r2, r3} - 800738a: f506 747a add.w r4, r6, #1000 ; 0x3e8 - 800738e: c40f stmia r4!, {r0, r1, r2, r3} - 8007390: e897 0003 ldmia.w r7, {r0, r1} - 8007394: f240 2301 movw r3, #513 ; 0x201 - 8007398: e884 0003 stmia.w r4, {r0, r1} - 800739c: f8a6 33fa strh.w r3, [r6, #1018] ; 0x3fa - 80073a0: f8d6 3348 ldr.w r3, [r6, #840] ; 0x348 - 80073a4: f886 541b strb.w r5, [r6, #1051] ; 0x41b - 80073a8: e9cd 5501 strd r5, r5, [sp, #4] - 80073ac: b11b cbz r3, 80073b6 - 80073ae: 685a ldr r2, [r3, #4] - 80073b0: 695b ldr r3, [r3, #20] - 80073b2: 9201 str r2, [sp, #4] - 80073b4: 9302 str r3, [sp, #8] - 80073b6: 4b12 ldr r3, [pc, #72] ; (8007400 ) - 80073b8: 9307 str r3, [sp, #28] - 80073ba: f1a3 0248 sub.w r2, r3, #72 ; 0x48 - 80073be: 9208 str r2, [sp, #32] - 80073c0: f1a3 0214 sub.w r2, r3, #20 - 80073c4: 9209 str r2, [sp, #36] ; 0x24 - 80073c6: 4a0f ldr r2, [pc, #60] ; (8007404 ) - 80073c8: 920b str r2, [sp, #44] ; 0x2c - 80073ca: 3329 adds r3, #41 ; 0x29 - 80073cc: 930a str r3, [sp, #40] ; 0x28 - 80073ce: f1a2 039c sub.w r3, r2, #156 ; 0x9c - 80073d2: 930c str r3, [sp, #48] ; 0x30 - 80073d4: f1a2 0398 sub.w r3, r2, #152 ; 0x98 - 80073d8: 930d str r3, [sp, #52] ; 0x34 - 80073da: 1d13 adds r3, r2, #4 - 80073dc: 930e str r3, [sp, #56] ; 0x38 - 80073de: a901 add r1, sp, #4 - 80073e0: f102 034c add.w r3, r2, #76 ; 0x4c - 80073e4: a807 add r0, sp, #28 - 80073e6: f502 6299 add.w r2, r2, #1224 ; 0x4c8 - 80073ea: 930f str r3, [sp, #60] ; 0x3c - 80073ec: f002 fa5d bl 80098aa - 80073f0: b011 add sp, #68 ; 0x44 - 80073f2: bdf0 pop {r4, r5, r6, r7, pc} - 80073f4: 20000c00 .word 0x20000c00 - 80073f8: 200011c8 .word 0x200011c8 - 80073fc: 200016e4 .word 0x200016e4 - 8007400: 20001630 .word 0x20001630 - 8007404: 20000ce4 .word 0x20000ce4 +080072c4 : + 80072c4: b5f0 push {r4, r5, r6, r7, lr} + 80072c6: 4c50 ldr r4, [pc, #320] ; (8007408 ) + 80072c8: 4e50 ldr r6, [pc, #320] ; (800740c ) + 80072ca: f8b4 20dc ldrh.w r2, [r4, #220] ; 0xdc + 80072ce: 8722 strh r2, [r4, #56] ; 0x38 + 80072d0: e9d4 012d ldrd r0, r1, [r4, #180] ; 0xb4 + 80072d4: f894 20b1 ldrb.w r2, [r4, #177] ; 0xb1 + 80072d8: f884 2069 strb.w r2, [r4, #105] ; 0x69 + 80072dc: f104 026c add.w r2, r4, #108 ; 0x6c + 80072e0: e882 0003 stmia.w r2, {r0, r1} + 80072e4: e9d4 012f ldrd r0, r1, [r4, #188] ; 0xbc + 80072e8: f104 0274 add.w r2, r4, #116 ; 0x74 + 80072ec: e882 0003 stmia.w r2, {r0, r1} + 80072f0: f8b4 20c4 ldrh.w r2, [r4, #196] ; 0xc4 + 80072f4: f8a4 207c strh.w r2, [r4, #124] ; 0x7c + 80072f8: b091 sub sp, #68 ; 0x44 + 80072fa: f8d4 20cc ldr.w r2, [r4, #204] ; 0xcc + 80072fe: f8d4 10c8 ldr.w r1, [r4, #200] ; 0xc8 + 8007302: f8c4 2084 str.w r2, [r4, #132] ; 0x84 + 8007306: 2500 movs r5, #0 + 8007308: f8d4 20d0 ldr.w r2, [r4, #208] ; 0xd0 + 800730c: f8c4 2088 str.w r2, [r4, #136] ; 0x88 + 8007310: 2301 movs r3, #1 + 8007312: f8a4 3120 strh.w r3, [r4, #288] ; 0x120 + 8007316: f8c4 1080 str.w r1, [r4, #128] ; 0x80 + 800731a: f884 5130 strb.w r5, [r4, #304] ; 0x130 + 800731e: 62a5 str r5, [r4, #40] ; 0x28 + 8007320: f884 511b strb.w r5, [r4, #283] ; 0x11b + 8007324: f884 503a strb.w r5, [r4, #58] ; 0x3a + 8007328: f884 511d strb.w r5, [r4, #285] ; 0x11d + 800732c: f884 511e strb.w r5, [r4, #286] ; 0x11e + 8007330: f8c4 5134 str.w r5, [r4, #308] ; 0x134 + 8007334: f8c6 5498 str.w r5, [r6, #1176] ; 0x498 + 8007338: f8a6 5418 strh.w r5, [r6, #1048] ; 0x418 + 800733c: f886 541a strb.w r5, [r6, #1050] ; 0x41a + 8007340: f8a4 5138 strh.w r5, [r4, #312] ; 0x138 + 8007344: f88d 3018 strb.w r3, [sp, #24] + 8007348: f504 7309 add.w r3, r4, #548 ; 0x224 + 800734c: 9303 str r3, [sp, #12] + 800734e: f504 730a add.w r3, r4, #552 ; 0x228 + 8007352: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8007356: f8a4 5146 strh.w r5, [r4, #326] ; 0x146 + 800735a: 9304 str r3, [sp, #16] + 800735c: a903 add r1, sp, #12 + 800735e: 4b2c ldr r3, [pc, #176] ; (8007410 ) + 8007360: f884 5145 strb.w r5, [r4, #325] ; 0x145 + 8007364: e9c4 554f strd r5, r5, [r4, #316] ; 0x13c + 8007368: 9305 str r3, [sp, #20] + 800736a: f003 f945 bl 800a5f8 + 800736e: 6ee3 ldr r3, [r4, #108] ; 0x6c + 8007370: f8c6 33d4 str.w r3, [r6, #980] ; 0x3d4 + 8007374: f894 307d ldrb.w r3, [r4, #125] ; 0x7d + 8007378: f886 33e0 strb.w r3, [r6, #992] ; 0x3e0 + 800737c: f894 308c ldrb.w r3, [r4, #140] ; 0x8c + 8007380: f886 33e1 strb.w r3, [r6, #993] ; 0x3e1 + 8007384: f44f 7380 mov.w r3, #256 ; 0x100 + 8007388: f8a6 33e2 strh.w r3, [r6, #994] ; 0x3e2 + 800738c: f886 53d0 strb.w r5, [r6, #976] ; 0x3d0 + 8007390: f894 3130 ldrb.w r3, [r4, #304] ; 0x130 + 8007394: f886 33e4 strb.w r3, [r6, #996] ; 0x3e4 + 8007398: f506 7774 add.w r7, r6, #976 ; 0x3d0 + 800739c: cf0f ldmia r7!, {r0, r1, r2, r3} + 800739e: f506 747a add.w r4, r6, #1000 ; 0x3e8 + 80073a2: c40f stmia r4!, {r0, r1, r2, r3} + 80073a4: e897 0003 ldmia.w r7, {r0, r1} + 80073a8: f240 2301 movw r3, #513 ; 0x201 + 80073ac: e884 0003 stmia.w r4, {r0, r1} + 80073b0: f8a6 33fa strh.w r3, [r6, #1018] ; 0x3fa + 80073b4: f8d6 3348 ldr.w r3, [r6, #840] ; 0x348 + 80073b8: f886 541b strb.w r5, [r6, #1051] ; 0x41b + 80073bc: e9cd 5501 strd r5, r5, [sp, #4] + 80073c0: b11b cbz r3, 80073ca + 80073c2: 685a ldr r2, [r3, #4] + 80073c4: 695b ldr r3, [r3, #20] + 80073c6: 9201 str r2, [sp, #4] + 80073c8: 9302 str r3, [sp, #8] + 80073ca: 4b12 ldr r3, [pc, #72] ; (8007414 ) + 80073cc: 9307 str r3, [sp, #28] + 80073ce: f1a3 0248 sub.w r2, r3, #72 ; 0x48 + 80073d2: 9208 str r2, [sp, #32] + 80073d4: f1a3 0214 sub.w r2, r3, #20 + 80073d8: 9209 str r2, [sp, #36] ; 0x24 + 80073da: 4a0f ldr r2, [pc, #60] ; (8007418 ) + 80073dc: 920b str r2, [sp, #44] ; 0x2c + 80073de: 3329 adds r3, #41 ; 0x29 + 80073e0: 930a str r3, [sp, #40] ; 0x28 + 80073e2: f1a2 039c sub.w r3, r2, #156 ; 0x9c + 80073e6: 930c str r3, [sp, #48] ; 0x30 + 80073e8: f1a2 0398 sub.w r3, r2, #152 ; 0x98 + 80073ec: 930d str r3, [sp, #52] ; 0x34 + 80073ee: 1d13 adds r3, r2, #4 + 80073f0: 930e str r3, [sp, #56] ; 0x38 + 80073f2: a901 add r1, sp, #4 + 80073f4: f102 034c add.w r3, r2, #76 ; 0x4c + 80073f8: a807 add r0, sp, #28 + 80073fa: f502 6299 add.w r2, r2, #1224 ; 0x4c8 + 80073fe: 930f str r3, [sp, #60] ; 0x3c + 8007400: f002 fa5d bl 80098be + 8007404: b011 add sp, #68 ; 0x44 + 8007406: bdf0 pop {r4, r5, r6, r7, pc} + 8007408: 20000c00 .word 0x20000c00 + 800740c: 200011c8 .word 0x200011c8 + 8007410: 200016e4 .word 0x200016e4 + 8007414: 20001630 .word 0x20001630 + 8007418: 20000ce4 .word 0x20000ce4 -08007408 : - 8007408: b5f8 push {r3, r4, r5, r6, r7, lr} - 800740a: 4f0d ldr r7, [pc, #52] ; (8007440 ) - 800740c: 4c0d ldr r4, [pc, #52] ; (8007444 ) - 800740e: 4e0e ldr r6, [pc, #56] ; (8007448 ) - 8007410: 460d mov r5, r1 - 8007412: f007 fb89 bl 800eb28 - 8007416: 6b3b ldr r3, [r7, #48] ; 0x30 - 8007418: 4798 blx r3 - 800741a: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 800741e: f204 4224 addw r2, r4, #1060 ; 0x424 - 8007422: 4629 mov r1, r5 - 8007424: f003 f902 bl 800a62c - 8007428: b148 cbz r0, 800743e - 800742a: f894 3424 ldrb.w r3, [r4, #1060] ; 0x424 - 800742e: f884 346a strb.w r3, [r4, #1130] ; 0x46a - 8007432: 6d70 ldr r0, [r6, #84] ; 0x54 - 8007434: 6b7b ldr r3, [r7, #52] ; 0x34 - 8007436: 4798 blx r3 - 8007438: 7ceb ldrb r3, [r5, #19] - 800743a: f884 3490 strb.w r3, [r4, #1168] ; 0x490 - 800743e: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8007440: 0800f9e4 .word 0x0800f9e4 - 8007444: 200011c8 .word 0x200011c8 - 8007448: 20000c00 .word 0x20000c00 +0800741c : + 800741c: b5f8 push {r3, r4, r5, r6, r7, lr} + 800741e: 4f0d ldr r7, [pc, #52] ; (8007454 ) + 8007420: 4c0d ldr r4, [pc, #52] ; (8007458 ) + 8007422: 4e0e ldr r6, [pc, #56] ; (800745c ) + 8007424: 460d mov r5, r1 + 8007426: f007 fb89 bl 800eb3c + 800742a: 6b3b ldr r3, [r7, #48] ; 0x30 + 800742c: 4798 blx r3 + 800742e: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 8007432: f204 4224 addw r2, r4, #1060 ; 0x424 + 8007436: 4629 mov r1, r5 + 8007438: f003 f902 bl 800a640 + 800743c: b148 cbz r0, 8007452 + 800743e: f894 3424 ldrb.w r3, [r4, #1060] ; 0x424 + 8007442: f884 346a strb.w r3, [r4, #1130] ; 0x46a + 8007446: 6d70 ldr r0, [r6, #84] ; 0x54 + 8007448: 6b7b ldr r3, [r7, #52] ; 0x34 + 800744a: 4798 blx r3 + 800744c: 7ceb ldrb r3, [r5, #19] + 800744e: f884 3490 strb.w r3, [r4, #1168] ; 0x490 + 8007452: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8007454: 0800f9f4 .word 0x0800f9f4 + 8007458: 200011c8 .word 0x200011c8 + 800745c: 20000c00 .word 0x20000c00 -0800744c : - 800744c: 480f ldr r0, [pc, #60] ; (800748c ) - 800744e: f890 341b ldrb.w r3, [r0, #1051] ; 0x41b - 8007452: f880 33b8 strb.w r3, [r0, #952] ; 0x3b8 - 8007456: 4b0e ldr r3, [pc, #56] ; (8007490 ) - 8007458: f893 2069 ldrb.w r2, [r3, #105] ; 0x69 - 800745c: f880 23bb strb.w r2, [r0, #955] ; 0x3bb - 8007460: f893 207d ldrb.w r2, [r3, #125] ; 0x7d - 8007464: f880 23c8 strb.w r2, [r0, #968] ; 0x3c8 - 8007468: f893 208c ldrb.w r2, [r3, #140] ; 0x8c - 800746c: f880 23c9 strb.w r2, [r0, #969] ; 0x3c9 - 8007470: f893 3130 ldrb.w r3, [r3, #304] ; 0x130 - 8007474: f880 33cc strb.w r3, [r0, #972] ; 0x3cc - 8007478: 2200 movs r2, #0 - 800747a: f8a0 23ca strh.w r2, [r0, #970] ; 0x3ca - 800747e: f500 716e add.w r1, r0, #952 ; 0x3b8 - 8007482: f500 7060 add.w r0, r0, #896 ; 0x380 - 8007486: f7ff bfbf b.w 8007408 - 800748a: bf00 nop - 800748c: 200011c8 .word 0x200011c8 - 8007490: 20000c00 .word 0x20000c00 +08007460 : + 8007460: 480f ldr r0, [pc, #60] ; (80074a0 ) + 8007462: f890 341b ldrb.w r3, [r0, #1051] ; 0x41b + 8007466: f880 33b8 strb.w r3, [r0, #952] ; 0x3b8 + 800746a: 4b0e ldr r3, [pc, #56] ; (80074a4 ) + 800746c: f893 2069 ldrb.w r2, [r3, #105] ; 0x69 + 8007470: f880 23bb strb.w r2, [r0, #955] ; 0x3bb + 8007474: f893 207d ldrb.w r2, [r3, #125] ; 0x7d + 8007478: f880 23c8 strb.w r2, [r0, #968] ; 0x3c8 + 800747c: f893 208c ldrb.w r2, [r3, #140] ; 0x8c + 8007480: f880 23c9 strb.w r2, [r0, #969] ; 0x3c9 + 8007484: f893 3130 ldrb.w r3, [r3, #304] ; 0x130 + 8007488: f880 33cc strb.w r3, [r0, #972] ; 0x3cc + 800748c: 2200 movs r2, #0 + 800748e: f8a0 23ca strh.w r2, [r0, #970] ; 0x3ca + 8007492: f500 716e add.w r1, r0, #952 ; 0x3b8 + 8007496: f500 7060 add.w r0, r0, #896 ; 0x380 + 800749a: f7ff bfbf b.w 800741c + 800749e: bf00 nop + 80074a0: 200011c8 .word 0x200011c8 + 80074a4: 20000c00 .word 0x20000c00 -08007494 : - 8007494: 4811 ldr r0, [pc, #68] ; (80074dc ) - 8007496: f890 3490 ldrb.w r3, [r0, #1168] ; 0x490 - 800749a: b1eb cbz r3, 80074d8 - 800749c: f890 341b ldrb.w r3, [r0, #1051] ; 0x41b - 80074a0: f880 33d0 strb.w r3, [r0, #976] ; 0x3d0 - 80074a4: 4b0e ldr r3, [pc, #56] ; (80074e0 ) - 80074a6: 6eda ldr r2, [r3, #108] ; 0x6c - 80074a8: f8c0 23d4 str.w r2, [r0, #980] ; 0x3d4 - 80074ac: f893 207d ldrb.w r2, [r3, #125] ; 0x7d - 80074b0: f880 23e0 strb.w r2, [r0, #992] ; 0x3e0 - 80074b4: f893 208c ldrb.w r2, [r3, #140] ; 0x8c - 80074b8: f880 23e1 strb.w r2, [r0, #993] ; 0x3e1 - 80074bc: f893 3130 ldrb.w r3, [r3, #304] ; 0x130 - 80074c0: f880 33e4 strb.w r3, [r0, #996] ; 0x3e4 - 80074c4: f44f 7280 mov.w r2, #256 ; 0x100 - 80074c8: f8a0 23e2 strh.w r2, [r0, #994] ; 0x3e2 - 80074cc: f500 7174 add.w r1, r0, #976 ; 0x3d0 - 80074d0: f500 7066 add.w r0, r0, #920 ; 0x398 - 80074d4: f7ff bf98 b.w 8007408 - 80074d8: 4770 bx lr - 80074da: bf00 nop - 80074dc: 200011c8 .word 0x200011c8 - 80074e0: 20000c00 .word 0x20000c00 +080074a8 : + 80074a8: 4811 ldr r0, [pc, #68] ; (80074f0 ) + 80074aa: f890 3490 ldrb.w r3, [r0, #1168] ; 0x490 + 80074ae: b1eb cbz r3, 80074ec + 80074b0: f890 341b ldrb.w r3, [r0, #1051] ; 0x41b + 80074b4: f880 33d0 strb.w r3, [r0, #976] ; 0x3d0 + 80074b8: 4b0e ldr r3, [pc, #56] ; (80074f4 ) + 80074ba: 6eda ldr r2, [r3, #108] ; 0x6c + 80074bc: f8c0 23d4 str.w r2, [r0, #980] ; 0x3d4 + 80074c0: f893 207d ldrb.w r2, [r3, #125] ; 0x7d + 80074c4: f880 23e0 strb.w r2, [r0, #992] ; 0x3e0 + 80074c8: f893 208c ldrb.w r2, [r3, #140] ; 0x8c + 80074cc: f880 23e1 strb.w r2, [r0, #993] ; 0x3e1 + 80074d0: f893 3130 ldrb.w r3, [r3, #304] ; 0x130 + 80074d4: f880 33e4 strb.w r3, [r0, #996] ; 0x3e4 + 80074d8: f44f 7280 mov.w r2, #256 ; 0x100 + 80074dc: f8a0 23e2 strh.w r2, [r0, #994] ; 0x3e2 + 80074e0: f500 7174 add.w r1, r0, #976 ; 0x3d0 + 80074e4: f500 7066 add.w r0, r0, #920 ; 0x398 + 80074e8: f7ff bf98 b.w 800741c + 80074ec: 4770 bx lr + 80074ee: bf00 nop + 80074f0: 200011c8 .word 0x200011c8 + 80074f4: 20000c00 .word 0x20000c00 -080074e4 : - 80074e4: b570 push {r4, r5, r6, lr} - 80074e6: 4c34 ldr r4, [pc, #208] ; (80075b8 ) - 80074e8: 2124 movs r1, #36 ; 0x24 - 80074ea: 4620 mov r0, r4 - 80074ec: f005 f80e bl 800c50c - 80074f0: 6a63 ldr r3, [r4, #36] ; 0x24 - 80074f2: 4298 cmp r0, r3 - 80074f4: bf18 it ne - 80074f6: 6260 strne r0, [r4, #36] ; 0x24 - 80074f8: f04f 011c mov.w r1, #28 - 80074fc: 482f ldr r0, [pc, #188] ; (80075bc ) - 80074fe: bf14 ite ne - 8007500: 2501 movne r5, #1 - 8007502: 2500 moveq r5, #0 - 8007504: f005 f802 bl 800c50c - 8007508: 6c63 ldr r3, [r4, #68] ; 0x44 - 800750a: 4298 cmp r0, r3 - 800750c: bf18 it ne - 800750e: 6460 strne r0, [r4, #68] ; 0x44 - 8007510: f44f 7180 mov.w r1, #256 ; 0x100 - 8007514: 482a ldr r0, [pc, #168] ; (80075c0 ) - 8007516: bf18 it ne - 8007518: f045 0502 orrne.w r5, r5, #2 - 800751c: f004 fff6 bl 800c50c - 8007520: f8d4 3148 ldr.w r3, [r4, #328] ; 0x148 - 8007524: 4298 cmp r0, r3 - 8007526: bf18 it ne - 8007528: f8c4 0148 strne.w r0, [r4, #328] ; 0x148 - 800752c: f04f 01d4 mov.w r1, #212 ; 0xd4 - 8007530: 4824 ldr r0, [pc, #144] ; (80075c4 ) - 8007532: bf18 it ne - 8007534: f045 0504 orrne.w r5, r5, #4 - 8007538: f004 ffe8 bl 800c50c - 800753c: f8d4 3220 ldr.w r3, [r4, #544] ; 0x220 - 8007540: 4298 cmp r0, r3 - 8007542: bf18 it ne - 8007544: f8c4 0220 strne.w r0, [r4, #544] ; 0x220 - 8007548: f04f 0100 mov.w r1, #0 - 800754c: 481e ldr r0, [pc, #120] ; (80075c8 ) - 800754e: bf18 it ne - 8007550: f045 0508 orrne.w r5, r5, #8 - 8007554: f004 ffda bl 800c50c - 8007558: f8d4 3224 ldr.w r3, [r4, #548] ; 0x224 - 800755c: 4298 cmp r0, r3 - 800755e: bf18 it ne - 8007560: f8c4 0224 strne.w r0, [r4, #548] ; 0x224 - 8007564: f44f 7160 mov.w r1, #896 ; 0x380 - 8007568: 4818 ldr r0, [pc, #96] ; (80075cc ) - 800756a: bf18 it ne - 800756c: f045 0510 orrne.w r5, r5, #16 - 8007570: f004 ffcc bl 800c50c - 8007574: f8d4 35a8 ldr.w r3, [r4, #1448] ; 0x5a8 - 8007578: 4298 cmp r0, r3 - 800757a: bf18 it ne - 800757c: f8c4 05a8 strne.w r0, [r4, #1448] ; 0x5a8 - 8007580: f04f 0114 mov.w r1, #20 - 8007584: 4812 ldr r0, [pc, #72] ; (80075d0 ) - 8007586: bf18 it ne - 8007588: f045 0520 orrne.w r5, r5, #32 - 800758c: f004 ffbe bl 800c50c - 8007590: f8d4 35c0 ldr.w r3, [r4, #1472] ; 0x5c0 - 8007594: 4298 cmp r0, r3 - 8007596: 4b0f ldr r3, [pc, #60] ; (80075d4 ) - 8007598: bf18 it ne - 800759a: f8c4 05c0 strne.w r0, [r4, #1472] ; 0x5c0 - 800759e: f8d3 3348 ldr.w r3, [r3, #840] ; 0x348 - 80075a2: bf18 it ne - 80075a4: f045 0540 orrne.w r5, r5, #64 ; 0x40 - 80075a8: b12b cbz r3, 80075b6 - 80075aa: 691b ldr r3, [r3, #16] - 80075ac: b11b cbz r3, 80075b6 - 80075ae: 4628 mov r0, r5 - 80075b0: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 80075b4: 4718 bx r3 - 80075b6: bd70 pop {r4, r5, r6, pc} - 80075b8: 20000c00 .word 0x20000c00 - 80075bc: 20000c28 .word 0x20000c28 - 80075c0: 20000c48 .word 0x20000c48 - 80075c4: 20000d4c .word 0x20000d4c - 80075c8: 20000e24 .word 0x20000e24 - 80075cc: 20000e28 .word 0x20000e28 - 80075d0: 200011ac .word 0x200011ac - 80075d4: 200011c8 .word 0x200011c8 +080074f8 : + 80074f8: b570 push {r4, r5, r6, lr} + 80074fa: 4c34 ldr r4, [pc, #208] ; (80075cc ) + 80074fc: 2124 movs r1, #36 ; 0x24 + 80074fe: 4620 mov r0, r4 + 8007500: f005 f80e bl 800c520 + 8007504: 6a63 ldr r3, [r4, #36] ; 0x24 + 8007506: 4298 cmp r0, r3 + 8007508: bf18 it ne + 800750a: 6260 strne r0, [r4, #36] ; 0x24 + 800750c: f04f 011c mov.w r1, #28 + 8007510: 482f ldr r0, [pc, #188] ; (80075d0 ) + 8007512: bf14 ite ne + 8007514: 2501 movne r5, #1 + 8007516: 2500 moveq r5, #0 + 8007518: f005 f802 bl 800c520 + 800751c: 6c63 ldr r3, [r4, #68] ; 0x44 + 800751e: 4298 cmp r0, r3 + 8007520: bf18 it ne + 8007522: 6460 strne r0, [r4, #68] ; 0x44 + 8007524: f44f 7180 mov.w r1, #256 ; 0x100 + 8007528: 482a ldr r0, [pc, #168] ; (80075d4 ) + 800752a: bf18 it ne + 800752c: f045 0502 orrne.w r5, r5, #2 + 8007530: f004 fff6 bl 800c520 + 8007534: f8d4 3148 ldr.w r3, [r4, #328] ; 0x148 + 8007538: 4298 cmp r0, r3 + 800753a: bf18 it ne + 800753c: f8c4 0148 strne.w r0, [r4, #328] ; 0x148 + 8007540: f04f 01d4 mov.w r1, #212 ; 0xd4 + 8007544: 4824 ldr r0, [pc, #144] ; (80075d8 ) + 8007546: bf18 it ne + 8007548: f045 0504 orrne.w r5, r5, #4 + 800754c: f004 ffe8 bl 800c520 + 8007550: f8d4 3220 ldr.w r3, [r4, #544] ; 0x220 + 8007554: 4298 cmp r0, r3 + 8007556: bf18 it ne + 8007558: f8c4 0220 strne.w r0, [r4, #544] ; 0x220 + 800755c: f04f 0100 mov.w r1, #0 + 8007560: 481e ldr r0, [pc, #120] ; (80075dc ) + 8007562: bf18 it ne + 8007564: f045 0508 orrne.w r5, r5, #8 + 8007568: f004 ffda bl 800c520 + 800756c: f8d4 3224 ldr.w r3, [r4, #548] ; 0x224 + 8007570: 4298 cmp r0, r3 + 8007572: bf18 it ne + 8007574: f8c4 0224 strne.w r0, [r4, #548] ; 0x224 + 8007578: f44f 7160 mov.w r1, #896 ; 0x380 + 800757c: 4818 ldr r0, [pc, #96] ; (80075e0 ) + 800757e: bf18 it ne + 8007580: f045 0510 orrne.w r5, r5, #16 + 8007584: f004 ffcc bl 800c520 + 8007588: f8d4 35a8 ldr.w r3, [r4, #1448] ; 0x5a8 + 800758c: 4298 cmp r0, r3 + 800758e: bf18 it ne + 8007590: f8c4 05a8 strne.w r0, [r4, #1448] ; 0x5a8 + 8007594: f04f 0114 mov.w r1, #20 + 8007598: 4812 ldr r0, [pc, #72] ; (80075e4 ) + 800759a: bf18 it ne + 800759c: f045 0520 orrne.w r5, r5, #32 + 80075a0: f004 ffbe bl 800c520 + 80075a4: f8d4 35c0 ldr.w r3, [r4, #1472] ; 0x5c0 + 80075a8: 4298 cmp r0, r3 + 80075aa: 4b0f ldr r3, [pc, #60] ; (80075e8 ) + 80075ac: bf18 it ne + 80075ae: f8c4 05c0 strne.w r0, [r4, #1472] ; 0x5c0 + 80075b2: f8d3 3348 ldr.w r3, [r3, #840] ; 0x348 + 80075b6: bf18 it ne + 80075b8: f045 0540 orrne.w r5, r5, #64 ; 0x40 + 80075bc: b12b cbz r3, 80075ca + 80075be: 691b ldr r3, [r3, #16] + 80075c0: b11b cbz r3, 80075ca + 80075c2: 4628 mov r0, r5 + 80075c4: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 80075c8: 4718 bx r3 + 80075ca: bd70 pop {r4, r5, r6, pc} + 80075cc: 20000c00 .word 0x20000c00 + 80075d0: 20000c28 .word 0x20000c28 + 80075d4: 20000c48 .word 0x20000c48 + 80075d8: 20000d4c .word 0x20000d4c + 80075dc: 20000e24 .word 0x20000e24 + 80075e0: 20000e28 .word 0x20000e28 + 80075e4: 200011ac .word 0x200011ac + 80075e8: 200011c8 .word 0x200011c8 -080075d8 : - 80075d8: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 80075dc: b091 sub sp, #68 ; 0x44 - 80075de: f04f 0800 mov.w r8, #0 - 80075e2: 2b01 cmp r3, #1 - 80075e4: 4605 mov r5, r0 - 80075e6: 460f mov r7, r1 - 80075e8: 9202 str r2, [sp, #8] - 80075ea: f88d 8015 strb.w r8, [sp, #21] - 80075ee: f8ad 8018 strh.w r8, [sp, #24] - 80075f2: d803 bhi.n 80075fc - 80075f4: 4ec8 ldr r6, [pc, #800] ; (8007918 ) - 80075f6: 46c1 mov r9, r8 - 80075f8: 45b9 cmp r9, r7 - 80075fa: d302 bcc.n 8007602 - 80075fc: b011 add sp, #68 ; 0x44 - 80075fe: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8007602: f815 0009 ldrb.w r0, [r5, r9] - 8007606: f002 fa77 bl 8009af8 - 800760a: 4448 add r0, r9 - 800760c: 42b8 cmp r0, r7 - 800760e: dcf5 bgt.n 80075fc - 8007610: f815 3009 ldrb.w r3, [r5, r9] - 8007614: f109 0401 add.w r4, r9, #1 - 8007618: 3b02 subs r3, #2 - 800761a: b2e4 uxtb r4, r4 - 800761c: 2b11 cmp r3, #17 - 800761e: d8ed bhi.n 80075fc - 8007620: a201 add r2, pc, #4 ; (adr r2, 8007628 ) - 8007622: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 8007626: bf00 nop - 8007628: 08007671 .word 0x08007671 - 800762c: 080076a3 .word 0x080076a3 - 8007630: 080077a3 .word 0x080077a3 - 8007634: 080077cd .word 0x080077cd - 8007638: 08007855 .word 0x08007855 - 800763c: 0800787d .word 0x0800787d - 8007640: 080078ef .word 0x080078ef - 8007644: 08007921 .word 0x08007921 - 8007648: 0800799d .word 0x0800799d - 800764c: 080075fd .word 0x080075fd - 8007650: 080075fd .word 0x080075fd - 8007654: 080079fb .word 0x080079fb - 8007658: 080075fd .word 0x080075fd - 800765c: 080075fd .word 0x080075fd - 8007660: 08007ab9 .word 0x08007ab9 - 8007664: 08007ae1 .word 0x08007ae1 - 8007668: 08007b25 .word 0x08007b25 - 800766c: 08007b63 .word 0x08007b63 - 8007670: 2005 movs r0, #5 - 8007672: f002 faed bl 8009c50 - 8007676: b190 cbz r0, 800769e - 8007678: 2105 movs r1, #5 - 800767a: 2000 movs r0, #0 - 800767c: f002 faac bl 8009bd8 - 8007680: 5d2a ldrb r2, [r5, r4] - 8007682: 4ba6 ldr r3, [pc, #664] ; (800791c ) - 8007684: f109 0403 add.w r4, r9, #3 - 8007688: f109 0902 add.w r9, r9, #2 - 800768c: fa5f f989 uxtb.w r9, r9 - 8007690: f883 245c strb.w r2, [r3, #1116] ; 0x45c - 8007694: f815 2009 ldrb.w r2, [r5, r9] - 8007698: f883 245d strb.w r2, [r3, #1117] ; 0x45d - 800769c: b2e4 uxtb r4, r4 - 800769e: 46a1 mov r9, r4 - 80076a0: e7aa b.n 80075f8 - 80076a2: 2300 movs r3, #0 - 80076a4: f88d 3016 strb.w r3, [sp, #22] - 80076a8: f88d 3017 strb.w r3, [sp, #23] - 80076ac: f88d 301c strb.w r3, [sp, #28] - 80076b0: f88d 3020 strb.w r3, [sp, #32] - 80076b4: f1b8 0f00 cmp.w r8, #0 - 80076b8: d16c bne.n 8007794 - 80076ba: f04f 0805 mov.w r8, #5 - 80076be: f896 207c ldrb.w r2, [r6, #124] ; 0x7c - 80076c2: f88d 2039 strb.w r2, [sp, #57] ; 0x39 - 80076c6: 1e63 subs r3, r4, #1 - 80076c8: f896 2039 ldrb.w r2, [r6, #57] ; 0x39 - 80076cc: f88d 203b strb.w r2, [sp, #59] ; 0x3b - 80076d0: 442b add r3, r5 - 80076d2: f896 2038 ldrb.w r2, [r6, #56] ; 0x38 - 80076d6: 930d str r3, [sp, #52] ; 0x34 - 80076d8: f88d 203c strb.w r2, [sp, #60] ; 0x3c - 80076dc: f896 311a ldrb.w r3, [r6, #282] ; 0x11a - 80076e0: f896 2068 ldrb.w r2, [r6, #104] ; 0x68 - 80076e4: f88d 203d strb.w r2, [sp, #61] ; 0x3d - 80076e8: f8d6 212c ldr.w r2, [r6, #300] ; 0x12c - 80076ec: f88d 303a strb.w r3, [sp, #58] ; 0x3a - 80076f0: 920c str r2, [sp, #48] ; 0x30 - 80076f2: b373 cbz r3, 8007752 - 80076f4: 1c7b adds r3, r7, #1 - 80076f6: 1b1b subs r3, r3, r4 - 80076f8: b2db uxtb r3, r3 - 80076fa: f88d 3038 strb.w r3, [sp, #56] ; 0x38 - 80076fe: ab08 add r3, sp, #32 - 8007700: 9301 str r3, [sp, #4] - 8007702: ab07 add r3, sp, #28 - 8007704: 9300 str r3, [sp, #0] - 8007706: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 800770a: f10d 0317 add.w r3, sp, #23 - 800770e: f10d 0216 add.w r2, sp, #22 - 8007712: a90c add r1, sp, #48 ; 0x30 - 8007714: f002 ff9e bl 800a654 - 8007718: f88d 0015 strb.w r0, [sp, #21] - 800771c: f000 0007 and.w r0, r0, #7 - 8007720: 2807 cmp r0, #7 - 8007722: d113 bne.n 800774c - 8007724: f996 2039 ldrsb.w r2, [r6, #57] ; 0x39 - 8007728: f99d 3016 ldrsb.w r3, [sp, #22] - 800772c: f886 3039 strb.w r3, [r6, #57] ; 0x39 - 8007730: 429a cmp r2, r3 - 8007732: f89d 3017 ldrb.w r3, [sp, #23] - 8007736: f886 3038 strb.w r3, [r6, #56] ; 0x38 - 800773a: bfb8 it lt - 800773c: 2201 movlt r2, #1 - 800773e: f89d 301c ldrb.w r3, [sp, #28] - 8007742: bfb8 it lt - 8007744: f886 211d strblt.w r2, [r6, #285] ; 0x11d - 8007748: f886 3068 strb.w r3, [r6, #104] ; 0x68 - 800774c: f04f 0900 mov.w r9, #0 - 8007750: e009 b.n 8007766 - 8007752: 2305 movs r3, #5 - 8007754: e7d1 b.n 80076fa - 8007756: 2201 movs r2, #1 - 8007758: f10d 0115 add.w r1, sp, #21 - 800775c: 2003 movs r0, #3 - 800775e: f002 f8db bl 8009918 - 8007762: f109 0901 add.w r9, r9, #1 - 8007766: fa5f f289 uxtb.w r2, r9 - 800776a: f89d 3020 ldrb.w r3, [sp, #32] - 800776e: fbb3 f1f8 udiv r1, r3, r8 - 8007772: 4291 cmp r1, r2 - 8007774: d8ef bhi.n 8007756 - 8007776: 4423 add r3, r4 - 8007778: b2dc uxtb r4, r3 - 800777a: 1e63 subs r3, r4, #1 - 800777c: b2db uxtb r3, r3 - 800777e: 429f cmp r7, r3 - 8007780: d90d bls.n 800779e - 8007782: 5cea ldrb r2, [r5, r3] - 8007784: 2a03 cmp r2, #3 - 8007786: d09a beq.n 80076be - 8007788: 42a7 cmp r7, r4 - 800778a: bf88 it hi - 800778c: 461c movhi r4, r3 - 800778e: f04f 0801 mov.w r8, #1 - 8007792: e784 b.n 800769e - 8007794: f109 0905 add.w r9, r9, #5 - 8007798: fa5f f489 uxtb.w r4, r9 - 800779c: e7f7 b.n 800778e - 800779e: 461c mov r4, r3 - 80077a0: e7f5 b.n 800778e - 80077a2: 5d2b ldrb r3, [r5, r4] - 80077a4: 2201 movs r2, #1 - 80077a6: f003 030f and.w r3, r3, #15 - 80077aa: f109 0902 add.w r9, r9, #2 - 80077ae: f886 311b strb.w r3, [r6, #283] ; 0x11b - 80077b2: fa02 f303 lsl.w r3, r2, r3 - 80077b6: fa5f f989 uxtb.w r9, r9 - 80077ba: f8a6 3120 strh.w r3, [r6, #288] ; 0x120 - 80077be: 2200 movs r2, #0 - 80077c0: a906 add r1, sp, #24 - 80077c2: 2004 movs r0, #4 - 80077c4: f002 f8a8 bl 8009918 - 80077c8: 464c mov r4, r9 - 80077ca: e768 b.n 800769e - 80077cc: 2307 movs r3, #7 - 80077ce: f88d 3015 strb.w r3, [sp, #21] - 80077d2: 5d2b ldrb r3, [r5, r4] - 80077d4: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 80077d8: f3c3 1202 ubfx r2, r3, #4, #3 - 80077dc: f003 030f and.w r3, r3, #15 - 80077e0: f88d 3030 strb.w r3, [sp, #48] ; 0x30 - 80077e4: f109 0303 add.w r3, r9, #3 - 80077e8: b2db uxtb r3, r3 - 80077ea: f88d 2031 strb.w r2, [sp, #49] ; 0x31 - 80077ee: 5cea ldrb r2, [r5, r3] - 80077f0: f109 0304 add.w r3, r9, #4 - 80077f4: b2db uxtb r3, r3 - 80077f6: f109 0405 add.w r4, r9, #5 - 80077fa: 5ceb ldrb r3, [r5, r3] - 80077fc: f109 0902 add.w r9, r9, #2 - 8007800: fa5f f989 uxtb.w r9, r9 - 8007804: 041b lsls r3, r3, #16 - 8007806: ea43 2302 orr.w r3, r3, r2, lsl #8 - 800780a: f815 2009 ldrb.w r2, [r5, r9] - 800780e: 4313 orrs r3, r2 - 8007810: 2264 movs r2, #100 ; 0x64 - 8007812: 4353 muls r3, r2 - 8007814: a90c add r1, sp, #48 ; 0x30 - 8007816: 930d str r3, [sp, #52] ; 0x34 - 8007818: f002 ff2b bl 800a672 - 800781c: f000 0307 and.w r3, r0, #7 - 8007820: 2b07 cmp r3, #7 - 8007822: b2e4 uxtb r4, r4 - 8007824: f88d 0015 strb.w r0, [sp, #21] - 8007828: d10c bne.n 8007844 - 800782a: f89d 3030 ldrb.w r3, [sp, #48] ; 0x30 - 800782e: f886 3070 strb.w r3, [r6, #112] ; 0x70 - 8007832: f886 3078 strb.w r3, [r6, #120] ; 0x78 - 8007836: 9b0d ldr r3, [sp, #52] ; 0x34 - 8007838: 66f3 str r3, [r6, #108] ; 0x6c - 800783a: 6773 str r3, [r6, #116] ; 0x74 - 800783c: f89d 3031 ldrb.w r3, [sp, #49] ; 0x31 - 8007840: f886 3069 strb.w r3, [r6, #105] ; 0x69 - 8007844: f88d 0018 strb.w r0, [sp, #24] - 8007848: 2201 movs r2, #1 - 800784a: a906 add r1, sp, #24 - 800784c: 2005 movs r0, #5 - 800784e: f002 f863 bl 8009918 - 8007852: e724 b.n 800769e - 8007854: 4b31 ldr r3, [pc, #196] ; (800791c ) - 8007856: f8d3 3348 ldr.w r3, [r3, #840] ; 0x348 - 800785a: b16b cbz r3, 8007878 - 800785c: 681b ldr r3, [r3, #0] - 800785e: b15b cbz r3, 8007878 - 8007860: 4798 blx r3 - 8007862: 9b02 ldr r3, [sp, #8] - 8007864: f88d 0018 strb.w r0, [sp, #24] - 8007868: f003 033f and.w r3, r3, #63 ; 0x3f - 800786c: f88d 3019 strb.w r3, [sp, #25] - 8007870: 2202 movs r2, #2 - 8007872: a906 add r1, sp, #24 - 8007874: 2006 movs r0, #6 - 8007876: e7ea b.n 800784e - 8007878: 20ff movs r0, #255 ; 0xff - 800787a: e7f2 b.n 8007862 - 800787c: 2303 movs r3, #3 - 800787e: f88d 3015 strb.w r3, [sp, #21] - 8007882: 5d2b ldrb r3, [r5, r4] - 8007884: f88d 3024 strb.w r3, [sp, #36] ; 0x24 - 8007888: ab0c add r3, sp, #48 ; 0x30 - 800788a: 9308 str r3, [sp, #32] - 800788c: f109 0303 add.w r3, r9, #3 - 8007890: b2db uxtb r3, r3 - 8007892: f109 0406 add.w r4, r9, #6 - 8007896: 5cea ldrb r2, [r5, r3] - 8007898: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 800789c: f109 0304 add.w r3, r9, #4 - 80078a0: b2db uxtb r3, r3 - 80078a2: a908 add r1, sp, #32 - 80078a4: 5ceb ldrb r3, [r5, r3] - 80078a6: 041b lsls r3, r3, #16 - 80078a8: ea43 2302 orr.w r3, r3, r2, lsl #8 - 80078ac: f109 0202 add.w r2, r9, #2 - 80078b0: b2d2 uxtb r2, r2 - 80078b2: f109 0905 add.w r9, r9, #5 - 80078b6: 5caa ldrb r2, [r5, r2] - 80078b8: 4313 orrs r3, r2 - 80078ba: 2264 movs r2, #100 ; 0x64 - 80078bc: 4353 muls r3, r2 - 80078be: fa5f f989 uxtb.w r9, r9 - 80078c2: 930c str r3, [sp, #48] ; 0x30 - 80078c4: 2300 movs r3, #0 - 80078c6: 930d str r3, [sp, #52] ; 0x34 - 80078c8: f815 3009 ldrb.w r3, [r5, r9] - 80078cc: f88d 3038 strb.w r3, [sp, #56] ; 0x38 - 80078d0: f002 fed5 bl 800a67e - 80078d4: b2c3 uxtb r3, r0 - 80078d6: 2800 cmp r0, #0 - 80078d8: b2e4 uxtb r4, r4 - 80078da: f88d 3015 strb.w r3, [sp, #21] - 80078de: f6ff aede blt.w 800769e - 80078e2: f88d 3018 strb.w r3, [sp, #24] - 80078e6: 2201 movs r2, #1 - 80078e8: a906 add r1, sp, #24 - 80078ea: 2007 movs r0, #7 - 80078ec: e7af b.n 800784e - 80078ee: 5d2b ldrb r3, [r5, r4] - 80078f0: f003 030f and.w r3, r3, #15 - 80078f4: 2b01 cmp r3, #1 - 80078f6: f44f 727a mov.w r2, #1000 ; 0x3e8 - 80078fa: bf38 it cc - 80078fc: 2301 movcc r3, #1 - 80078fe: 4353 muls r3, r2 - 8007900: f109 0902 add.w r9, r9, #2 - 8007904: 65b3 str r3, [r6, #88] ; 0x58 - 8007906: 4413 add r3, r2 - 8007908: fa5f f989 uxtb.w r9, r9 - 800790c: 65f3 str r3, [r6, #92] ; 0x5c - 800790e: 2200 movs r2, #0 - 8007910: a906 add r1, sp, #24 - 8007912: 2008 movs r0, #8 - 8007914: e756 b.n 80077c4 - 8007916: bf00 nop - 8007918: 20000c00 .word 0x20000c00 - 800791c: 200011c8 .word 0x200011c8 - 8007920: 5d2b ldrb r3, [r5, r4] - 8007922: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 8007926: f3c3 1240 ubfx r2, r3, #5, #1 - 800792a: f88d 201d strb.w r2, [sp, #29] - 800792e: a907 add r1, sp, #28 - 8007930: f3c3 1200 ubfx r2, r3, #4, #1 - 8007934: f003 030f and.w r3, r3, #15 - 8007938: f88d 201c strb.w r2, [sp, #28] - 800793c: f88d 301e strb.w r3, [sp, #30] - 8007940: f002 fea3 bl 800a68a - 8007944: f109 0902 add.w r9, r9, #2 - 8007948: 3001 adds r0, #1 - 800794a: fa5f f989 uxtb.w r9, r9 - 800794e: f43f af3b beq.w 80077c8 - 8007952: f8bd 301c ldrh.w r3, [sp, #28] - 8007956: 4a91 ldr r2, [pc, #580] ; (8007b9c ) - 8007958: f8a6 307c strh.w r3, [r6, #124] ; 0x7c - 800795c: f89d 301e ldrb.w r3, [sp, #30] - 8007960: f89d 401c ldrb.w r4, [sp, #28] - 8007964: 5cd0 ldrb r0, [r2, r3] - 8007966: f7f8 ff31 bl 80007cc <__aeabi_ui2f> - 800796a: 2302 movs r3, #2 - 800796c: f8c6 0080 str.w r0, [r6, #128] ; 0x80 - 8007970: a90c add r1, sp, #48 ; 0x30 - 8007972: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 8007976: f88d 3030 strb.w r3, [sp, #48] ; 0x30 - 800797a: f88d 4032 strb.w r4, [sp, #50] ; 0x32 - 800797e: f002 fe23 bl 800a5c8 - 8007982: f996 3039 ldrsb.w r3, [r6, #57] ; 0x39 - 8007986: 9008 str r0, [sp, #32] - 8007988: b240 sxtb r0, r0 - 800798a: 4298 cmp r0, r3 - 800798c: bfb8 it lt - 800798e: 4618 movlt r0, r3 - 8007990: f886 0039 strb.w r0, [r6, #57] ; 0x39 - 8007994: 2200 movs r2, #0 - 8007996: a906 add r1, sp, #24 - 8007998: 2009 movs r0, #9 - 800799a: e713 b.n 80077c4 - 800799c: 2303 movs r3, #3 - 800799e: f88d 3015 strb.w r3, [sp, #21] - 80079a2: 5d2b ldrb r3, [r5, r4] - 80079a4: f88d 3030 strb.w r3, [sp, #48] ; 0x30 - 80079a8: f109 0303 add.w r3, r9, #3 - 80079ac: b2db uxtb r3, r3 - 80079ae: f109 0405 add.w r4, r9, #5 - 80079b2: 5cea ldrb r2, [r5, r3] - 80079b4: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 80079b8: f109 0304 add.w r3, r9, #4 - 80079bc: b2db uxtb r3, r3 - 80079be: f109 0902 add.w r9, r9, #2 - 80079c2: 5ceb ldrb r3, [r5, r3] - 80079c4: fa5f f989 uxtb.w r9, r9 - 80079c8: 041b lsls r3, r3, #16 - 80079ca: ea43 2302 orr.w r3, r3, r2, lsl #8 - 80079ce: f815 2009 ldrb.w r2, [r5, r9] - 80079d2: 4313 orrs r3, r2 - 80079d4: 2264 movs r2, #100 ; 0x64 - 80079d6: 4353 muls r3, r2 - 80079d8: a90c add r1, sp, #48 ; 0x30 - 80079da: 930d str r3, [sp, #52] ; 0x34 - 80079dc: f002 fe5b bl 800a696 - 80079e0: b2c3 uxtb r3, r0 - 80079e2: 2800 cmp r0, #0 - 80079e4: b2e4 uxtb r4, r4 - 80079e6: f88d 3015 strb.w r3, [sp, #21] - 80079ea: f6ff ae58 blt.w 800769e - 80079ee: f88d 3018 strb.w r3, [sp, #24] - 80079f2: 2201 movs r2, #1 - 80079f4: a906 add r1, sp, #24 - 80079f6: 200a movs r0, #10 - 80079f8: e729 b.n 800784e - 80079fa: 2009 movs r0, #9 - 80079fc: f002 f928 bl 8009c50 - 8007a00: f8df a19c ldr.w sl, [pc, #412] ; 8007ba0 - 8007a04: 2800 cmp r0, #0 - 8007a06: d054 beq.n 8007ab2 - 8007a08: 2109 movs r1, #9 - 8007a0a: 2000 movs r0, #0 - 8007a0c: f002 f8e4 bl 8009bd8 - 8007a10: 2300 movs r3, #0 - 8007a12: f8ad 3026 strh.w r3, [sp, #38] ; 0x26 - 8007a16: f109 0302 add.w r3, r9, #2 - 8007a1a: b2db uxtb r3, r3 - 8007a1c: f44f 717a mov.w r1, #1000 ; 0x3e8 - 8007a20: 5cea ldrb r2, [r5, r3] - 8007a22: f109 0303 add.w r3, r9, #3 - 8007a26: b2db uxtb r3, r3 - 8007a28: f10d 0b30 add.w fp, sp, #48 ; 0x30 - 8007a2c: 5ceb ldrb r3, [r5, r3] - 8007a2e: 041b lsls r3, r3, #16 - 8007a30: ea43 2302 orr.w r3, r3, r2, lsl #8 - 8007a34: 5d2a ldrb r2, [r5, r4] - 8007a36: 4313 orrs r3, r2 - 8007a38: f109 0204 add.w r2, r9, #4 - 8007a3c: b2d2 uxtb r2, r2 - 8007a3e: f109 0406 add.w r4, r9, #6 - 8007a42: f109 0905 add.w r9, r9, #5 - 8007a46: 5caa ldrb r2, [r5, r2] - 8007a48: fa5f f989 uxtb.w r9, r9 - 8007a4c: ea43 6302 orr.w r3, r3, r2, lsl #24 - 8007a50: f815 2009 ldrb.w r2, [r5, r9] - 8007a54: 9303 str r3, [sp, #12] - 8007a56: 434a muls r2, r1 - 8007a58: 1212 asrs r2, r2, #8 - 8007a5a: 4658 mov r0, fp - 8007a5c: f8ad 2024 strh.w r2, [sp, #36] ; 0x24 - 8007a60: f006 ff72 bl 800e948 - 8007a64: 9b03 ldr r3, [sp, #12] - 8007a66: f103 5396 add.w r3, r3, #314572800 ; 0x12c00000 - 8007a6a: f503 13a9 add.w r3, r3, #1384448 ; 0x152000 - 8007a6e: f503 53ec add.w r3, r3, #7552 ; 0x1d80 - 8007a72: 9308 str r3, [sp, #32] - 8007a74: f8da 333c ldr.w r3, [sl, #828] ; 0x33c - 8007a78: 9300 str r3, [sp, #0] - 8007a7a: f10d 0920 add.w r9, sp, #32 - 8007a7e: e899 0006 ldmia.w r9, {r1, r2} - 8007a82: f8da 3338 ldr.w r3, [sl, #824] ; 0x338 - 8007a86: a80a add r0, sp, #40 ; 0x28 - 8007a88: f006 ff1b bl 800e8c2 - 8007a8c: 9b0b ldr r3, [sp, #44] ; 0x2c - 8007a8e: 9300 str r3, [sp, #0] - 8007a90: e89b 0006 ldmia.w fp, {r1, r2} - 8007a94: 9b0a ldr r3, [sp, #40] ; 0x28 - 8007a96: 4648 mov r0, r9 - 8007a98: f006 fef8 bl 800e88c - 8007a9c: e899 0003 ldmia.w r9, {r0, r1} - 8007aa0: f006 ff2a bl 800e8f8 - 8007aa4: f001 ff21 bl 80098ea - 8007aa8: 2301 movs r3, #1 - 8007aaa: b2e4 uxtb r4, r4 - 8007aac: f88a 3438 strb.w r3, [sl, #1080] ; 0x438 - 8007ab0: e5f5 b.n 800769e - 8007ab2: f88a 0438 strb.w r0, [sl, #1080] ; 0x438 - 8007ab6: e5f2 b.n 800769e - 8007ab8: 200c movs r0, #12 - 8007aba: f002 f8c9 bl 8009c50 - 8007abe: 2800 cmp r0, #0 - 8007ac0: f43f aded beq.w 800769e - 8007ac4: 210c movs r1, #12 - 8007ac6: 2000 movs r0, #0 - 8007ac8: f002 f886 bl 8009bd8 - 8007acc: 4b34 ldr r3, [pc, #208] ; (8007ba0 ) - 8007ace: f893 3490 ldrb.w r3, [r3, #1168] ; 0x490 - 8007ad2: 3b04 subs r3, #4 - 8007ad4: 2b01 cmp r3, #1 - 8007ad6: f67f ade2 bls.w 800769e - 8007ada: f001 ff02 bl 80098e2 - 8007ade: e5de b.n 800769e - 8007ae0: f109 0302 add.w r3, r9, #2 - 8007ae4: b2db uxtb r3, r3 - 8007ae6: 5d2a ldrb r2, [r5, r4] - 8007ae8: 5ce9 ldrb r1, [r5, r3] - 8007aea: f109 0303 add.w r3, r9, #3 - 8007aee: b2db uxtb r3, r3 - 8007af0: f109 0405 add.w r4, r9, #5 - 8007af4: 5ceb ldrb r3, [r5, r3] - 8007af6: f109 0904 add.w r9, r9, #4 - 8007afa: fa5f f989 uxtb.w r9, r9 - 8007afe: 041b lsls r3, r3, #16 - 8007b00: f815 0009 ldrb.w r0, [r5, r9] - 8007b04: ea43 2301 orr.w r3, r3, r1, lsl #8 - 8007b08: 4313 orrs r3, r2 - 8007b0a: 2164 movs r1, #100 ; 0x64 - 8007b0c: 4359 muls r1, r3 - 8007b0e: f000 000f and.w r0, r0, #15 - 8007b12: f001 fee7 bl 80098e4 - 8007b16: b2e4 uxtb r4, r4 - 8007b18: f88d 0018 strb.w r0, [sp, #24] - 8007b1c: 2201 movs r2, #1 - 8007b1e: a906 add r1, sp, #24 - 8007b20: 2011 movs r0, #17 - 8007b22: e694 b.n 800784e - 8007b24: 200d movs r0, #13 - 8007b26: f002 f893 bl 8009c50 - 8007b2a: 2800 cmp r0, #0 - 8007b2c: f43f adb7 beq.w 800769e - 8007b30: 210d movs r1, #13 - 8007b32: 2000 movs r0, #0 - 8007b34: f002 f850 bl 8009bd8 - 8007b38: f109 0302 add.w r3, r9, #2 - 8007b3c: b2db uxtb r3, r3 - 8007b3e: 4a19 ldr r2, [pc, #100] ; (8007ba4 ) - 8007b40: 5ce8 ldrb r0, [r5, r3] - 8007b42: 5d2b ldrb r3, [r5, r4] - 8007b44: 6812 ldr r2, [r2, #0] - 8007b46: f109 0404 add.w r4, r9, #4 - 8007b4a: f109 0903 add.w r9, r9, #3 - 8007b4e: fa5f f989 uxtb.w r9, r9 - 8007b52: ea43 2000 orr.w r0, r3, r0, lsl #8 - 8007b56: f815 1009 ldrb.w r1, [r5, r9] - 8007b5a: b2e4 uxtb r4, r4 - 8007b5c: f001 fec4 bl 80098e8 - 8007b60: e59d b.n 800769e - 8007b62: 5d2a ldrb r2, [r5, r4] - 8007b64: f109 0302 add.w r3, r9, #2 - 8007b68: f109 0404 add.w r4, r9, #4 - 8007b6c: f109 0903 add.w r9, r9, #3 - 8007b70: b2db uxtb r3, r3 - 8007b72: fa5f f989 uxtb.w r9, r9 - 8007b76: 5ce9 ldrb r1, [r5, r3] - 8007b78: f815 3009 ldrb.w r3, [r5, r9] - 8007b7c: 041b lsls r3, r3, #16 - 8007b7e: ea43 2301 orr.w r3, r3, r1, lsl #8 - 8007b82: 4313 orrs r3, r2 - 8007b84: 2064 movs r0, #100 ; 0x64 - 8007b86: 4358 muls r0, r3 - 8007b88: f001 feb0 bl 80098ec - 8007b8c: b2e4 uxtb r4, r4 - 8007b8e: f88d 0018 strb.w r0, [sp, #24] - 8007b92: 2201 movs r2, #1 - 8007b94: a906 add r1, sp, #24 - 8007b96: 2013 movs r0, #19 - 8007b98: e659 b.n 800784e - 8007b9a: bf00 nop - 8007b9c: 0800f2e3 .word 0x0800f2e3 - 8007ba0: 200011c8 .word 0x200011c8 - 8007ba4: 20001774 .word 0x20001774 +080075ec : + 80075ec: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 80075f0: b091 sub sp, #68 ; 0x44 + 80075f2: f04f 0800 mov.w r8, #0 + 80075f6: 2b01 cmp r3, #1 + 80075f8: 4605 mov r5, r0 + 80075fa: 460f mov r7, r1 + 80075fc: 9202 str r2, [sp, #8] + 80075fe: f88d 8015 strb.w r8, [sp, #21] + 8007602: f8ad 8018 strh.w r8, [sp, #24] + 8007606: d803 bhi.n 8007610 + 8007608: 4ec8 ldr r6, [pc, #800] ; (800792c ) + 800760a: 46c1 mov r9, r8 + 800760c: 45b9 cmp r9, r7 + 800760e: d302 bcc.n 8007616 + 8007610: b011 add sp, #68 ; 0x44 + 8007612: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8007616: f815 0009 ldrb.w r0, [r5, r9] + 800761a: f002 fa77 bl 8009b0c + 800761e: 4448 add r0, r9 + 8007620: 42b8 cmp r0, r7 + 8007622: dcf5 bgt.n 8007610 + 8007624: f815 3009 ldrb.w r3, [r5, r9] + 8007628: f109 0401 add.w r4, r9, #1 + 800762c: 3b02 subs r3, #2 + 800762e: b2e4 uxtb r4, r4 + 8007630: 2b11 cmp r3, #17 + 8007632: d8ed bhi.n 8007610 + 8007634: a201 add r2, pc, #4 ; (adr r2, 800763c ) + 8007636: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 800763a: bf00 nop + 800763c: 08007685 .word 0x08007685 + 8007640: 080076b7 .word 0x080076b7 + 8007644: 080077b7 .word 0x080077b7 + 8007648: 080077e1 .word 0x080077e1 + 800764c: 08007869 .word 0x08007869 + 8007650: 08007891 .word 0x08007891 + 8007654: 08007903 .word 0x08007903 + 8007658: 08007935 .word 0x08007935 + 800765c: 080079b1 .word 0x080079b1 + 8007660: 08007611 .word 0x08007611 + 8007664: 08007611 .word 0x08007611 + 8007668: 08007a0f .word 0x08007a0f + 800766c: 08007611 .word 0x08007611 + 8007670: 08007611 .word 0x08007611 + 8007674: 08007acd .word 0x08007acd + 8007678: 08007af5 .word 0x08007af5 + 800767c: 08007b39 .word 0x08007b39 + 8007680: 08007b77 .word 0x08007b77 + 8007684: 2005 movs r0, #5 + 8007686: f002 faed bl 8009c64 + 800768a: b190 cbz r0, 80076b2 + 800768c: 2105 movs r1, #5 + 800768e: 2000 movs r0, #0 + 8007690: f002 faac bl 8009bec + 8007694: 5d2a ldrb r2, [r5, r4] + 8007696: 4ba6 ldr r3, [pc, #664] ; (8007930 ) + 8007698: f109 0403 add.w r4, r9, #3 + 800769c: f109 0902 add.w r9, r9, #2 + 80076a0: fa5f f989 uxtb.w r9, r9 + 80076a4: f883 245c strb.w r2, [r3, #1116] ; 0x45c + 80076a8: f815 2009 ldrb.w r2, [r5, r9] + 80076ac: f883 245d strb.w r2, [r3, #1117] ; 0x45d + 80076b0: b2e4 uxtb r4, r4 + 80076b2: 46a1 mov r9, r4 + 80076b4: e7aa b.n 800760c + 80076b6: 2300 movs r3, #0 + 80076b8: f88d 3016 strb.w r3, [sp, #22] + 80076bc: f88d 3017 strb.w r3, [sp, #23] + 80076c0: f88d 301c strb.w r3, [sp, #28] + 80076c4: f88d 3020 strb.w r3, [sp, #32] + 80076c8: f1b8 0f00 cmp.w r8, #0 + 80076cc: d16c bne.n 80077a8 + 80076ce: f04f 0805 mov.w r8, #5 + 80076d2: f896 207c ldrb.w r2, [r6, #124] ; 0x7c + 80076d6: f88d 2039 strb.w r2, [sp, #57] ; 0x39 + 80076da: 1e63 subs r3, r4, #1 + 80076dc: f896 2039 ldrb.w r2, [r6, #57] ; 0x39 + 80076e0: f88d 203b strb.w r2, [sp, #59] ; 0x3b + 80076e4: 442b add r3, r5 + 80076e6: f896 2038 ldrb.w r2, [r6, #56] ; 0x38 + 80076ea: 930d str r3, [sp, #52] ; 0x34 + 80076ec: f88d 203c strb.w r2, [sp, #60] ; 0x3c + 80076f0: f896 311a ldrb.w r3, [r6, #282] ; 0x11a + 80076f4: f896 2068 ldrb.w r2, [r6, #104] ; 0x68 + 80076f8: f88d 203d strb.w r2, [sp, #61] ; 0x3d + 80076fc: f8d6 212c ldr.w r2, [r6, #300] ; 0x12c + 8007700: f88d 303a strb.w r3, [sp, #58] ; 0x3a + 8007704: 920c str r2, [sp, #48] ; 0x30 + 8007706: b373 cbz r3, 8007766 + 8007708: 1c7b adds r3, r7, #1 + 800770a: 1b1b subs r3, r3, r4 + 800770c: b2db uxtb r3, r3 + 800770e: f88d 3038 strb.w r3, [sp, #56] ; 0x38 + 8007712: ab08 add r3, sp, #32 + 8007714: 9301 str r3, [sp, #4] + 8007716: ab07 add r3, sp, #28 + 8007718: 9300 str r3, [sp, #0] + 800771a: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 800771e: f10d 0317 add.w r3, sp, #23 + 8007722: f10d 0216 add.w r2, sp, #22 + 8007726: a90c add r1, sp, #48 ; 0x30 + 8007728: f002 ff9e bl 800a668 + 800772c: f88d 0015 strb.w r0, [sp, #21] + 8007730: f000 0007 and.w r0, r0, #7 + 8007734: 2807 cmp r0, #7 + 8007736: d113 bne.n 8007760 + 8007738: f996 2039 ldrsb.w r2, [r6, #57] ; 0x39 + 800773c: f99d 3016 ldrsb.w r3, [sp, #22] + 8007740: f886 3039 strb.w r3, [r6, #57] ; 0x39 + 8007744: 429a cmp r2, r3 + 8007746: f89d 3017 ldrb.w r3, [sp, #23] + 800774a: f886 3038 strb.w r3, [r6, #56] ; 0x38 + 800774e: bfb8 it lt + 8007750: 2201 movlt r2, #1 + 8007752: f89d 301c ldrb.w r3, [sp, #28] + 8007756: bfb8 it lt + 8007758: f886 211d strblt.w r2, [r6, #285] ; 0x11d + 800775c: f886 3068 strb.w r3, [r6, #104] ; 0x68 + 8007760: f04f 0900 mov.w r9, #0 + 8007764: e009 b.n 800777a + 8007766: 2305 movs r3, #5 + 8007768: e7d1 b.n 800770e + 800776a: 2201 movs r2, #1 + 800776c: f10d 0115 add.w r1, sp, #21 + 8007770: 2003 movs r0, #3 + 8007772: f002 f8db bl 800992c + 8007776: f109 0901 add.w r9, r9, #1 + 800777a: fa5f f289 uxtb.w r2, r9 + 800777e: f89d 3020 ldrb.w r3, [sp, #32] + 8007782: fbb3 f1f8 udiv r1, r3, r8 + 8007786: 4291 cmp r1, r2 + 8007788: d8ef bhi.n 800776a + 800778a: 4423 add r3, r4 + 800778c: b2dc uxtb r4, r3 + 800778e: 1e63 subs r3, r4, #1 + 8007790: b2db uxtb r3, r3 + 8007792: 429f cmp r7, r3 + 8007794: d90d bls.n 80077b2 + 8007796: 5cea ldrb r2, [r5, r3] + 8007798: 2a03 cmp r2, #3 + 800779a: d09a beq.n 80076d2 + 800779c: 42a7 cmp r7, r4 + 800779e: bf88 it hi + 80077a0: 461c movhi r4, r3 + 80077a2: f04f 0801 mov.w r8, #1 + 80077a6: e784 b.n 80076b2 + 80077a8: f109 0905 add.w r9, r9, #5 + 80077ac: fa5f f489 uxtb.w r4, r9 + 80077b0: e7f7 b.n 80077a2 + 80077b2: 461c mov r4, r3 + 80077b4: e7f5 b.n 80077a2 + 80077b6: 5d2b ldrb r3, [r5, r4] + 80077b8: 2201 movs r2, #1 + 80077ba: f003 030f and.w r3, r3, #15 + 80077be: f109 0902 add.w r9, r9, #2 + 80077c2: f886 311b strb.w r3, [r6, #283] ; 0x11b + 80077c6: fa02 f303 lsl.w r3, r2, r3 + 80077ca: fa5f f989 uxtb.w r9, r9 + 80077ce: f8a6 3120 strh.w r3, [r6, #288] ; 0x120 + 80077d2: 2200 movs r2, #0 + 80077d4: a906 add r1, sp, #24 + 80077d6: 2004 movs r0, #4 + 80077d8: f002 f8a8 bl 800992c + 80077dc: 464c mov r4, r9 + 80077de: e768 b.n 80076b2 + 80077e0: 2307 movs r3, #7 + 80077e2: f88d 3015 strb.w r3, [sp, #21] + 80077e6: 5d2b ldrb r3, [r5, r4] + 80077e8: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 80077ec: f3c3 1202 ubfx r2, r3, #4, #3 + 80077f0: f003 030f and.w r3, r3, #15 + 80077f4: f88d 3030 strb.w r3, [sp, #48] ; 0x30 + 80077f8: f109 0303 add.w r3, r9, #3 + 80077fc: b2db uxtb r3, r3 + 80077fe: f88d 2031 strb.w r2, [sp, #49] ; 0x31 + 8007802: 5cea ldrb r2, [r5, r3] + 8007804: f109 0304 add.w r3, r9, #4 + 8007808: b2db uxtb r3, r3 + 800780a: f109 0405 add.w r4, r9, #5 + 800780e: 5ceb ldrb r3, [r5, r3] + 8007810: f109 0902 add.w r9, r9, #2 + 8007814: fa5f f989 uxtb.w r9, r9 + 8007818: 041b lsls r3, r3, #16 + 800781a: ea43 2302 orr.w r3, r3, r2, lsl #8 + 800781e: f815 2009 ldrb.w r2, [r5, r9] + 8007822: 4313 orrs r3, r2 + 8007824: 2264 movs r2, #100 ; 0x64 + 8007826: 4353 muls r3, r2 + 8007828: a90c add r1, sp, #48 ; 0x30 + 800782a: 930d str r3, [sp, #52] ; 0x34 + 800782c: f002 ff2b bl 800a686 + 8007830: f000 0307 and.w r3, r0, #7 + 8007834: 2b07 cmp r3, #7 + 8007836: b2e4 uxtb r4, r4 + 8007838: f88d 0015 strb.w r0, [sp, #21] + 800783c: d10c bne.n 8007858 + 800783e: f89d 3030 ldrb.w r3, [sp, #48] ; 0x30 + 8007842: f886 3070 strb.w r3, [r6, #112] ; 0x70 + 8007846: f886 3078 strb.w r3, [r6, #120] ; 0x78 + 800784a: 9b0d ldr r3, [sp, #52] ; 0x34 + 800784c: 66f3 str r3, [r6, #108] ; 0x6c + 800784e: 6773 str r3, [r6, #116] ; 0x74 + 8007850: f89d 3031 ldrb.w r3, [sp, #49] ; 0x31 + 8007854: f886 3069 strb.w r3, [r6, #105] ; 0x69 + 8007858: f88d 0018 strb.w r0, [sp, #24] + 800785c: 2201 movs r2, #1 + 800785e: a906 add r1, sp, #24 + 8007860: 2005 movs r0, #5 + 8007862: f002 f863 bl 800992c + 8007866: e724 b.n 80076b2 + 8007868: 4b31 ldr r3, [pc, #196] ; (8007930 ) + 800786a: f8d3 3348 ldr.w r3, [r3, #840] ; 0x348 + 800786e: b16b cbz r3, 800788c + 8007870: 681b ldr r3, [r3, #0] + 8007872: b15b cbz r3, 800788c + 8007874: 4798 blx r3 + 8007876: 9b02 ldr r3, [sp, #8] + 8007878: f88d 0018 strb.w r0, [sp, #24] + 800787c: f003 033f and.w r3, r3, #63 ; 0x3f + 8007880: f88d 3019 strb.w r3, [sp, #25] + 8007884: 2202 movs r2, #2 + 8007886: a906 add r1, sp, #24 + 8007888: 2006 movs r0, #6 + 800788a: e7ea b.n 8007862 + 800788c: 20ff movs r0, #255 ; 0xff + 800788e: e7f2 b.n 8007876 + 8007890: 2303 movs r3, #3 + 8007892: f88d 3015 strb.w r3, [sp, #21] + 8007896: 5d2b ldrb r3, [r5, r4] + 8007898: f88d 3024 strb.w r3, [sp, #36] ; 0x24 + 800789c: ab0c add r3, sp, #48 ; 0x30 + 800789e: 9308 str r3, [sp, #32] + 80078a0: f109 0303 add.w r3, r9, #3 + 80078a4: b2db uxtb r3, r3 + 80078a6: f109 0406 add.w r4, r9, #6 + 80078aa: 5cea ldrb r2, [r5, r3] + 80078ac: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 80078b0: f109 0304 add.w r3, r9, #4 + 80078b4: b2db uxtb r3, r3 + 80078b6: a908 add r1, sp, #32 + 80078b8: 5ceb ldrb r3, [r5, r3] + 80078ba: 041b lsls r3, r3, #16 + 80078bc: ea43 2302 orr.w r3, r3, r2, lsl #8 + 80078c0: f109 0202 add.w r2, r9, #2 + 80078c4: b2d2 uxtb r2, r2 + 80078c6: f109 0905 add.w r9, r9, #5 + 80078ca: 5caa ldrb r2, [r5, r2] + 80078cc: 4313 orrs r3, r2 + 80078ce: 2264 movs r2, #100 ; 0x64 + 80078d0: 4353 muls r3, r2 + 80078d2: fa5f f989 uxtb.w r9, r9 + 80078d6: 930c str r3, [sp, #48] ; 0x30 + 80078d8: 2300 movs r3, #0 + 80078da: 930d str r3, [sp, #52] ; 0x34 + 80078dc: f815 3009 ldrb.w r3, [r5, r9] + 80078e0: f88d 3038 strb.w r3, [sp, #56] ; 0x38 + 80078e4: f002 fed5 bl 800a692 + 80078e8: b2c3 uxtb r3, r0 + 80078ea: 2800 cmp r0, #0 + 80078ec: b2e4 uxtb r4, r4 + 80078ee: f88d 3015 strb.w r3, [sp, #21] + 80078f2: f6ff aede blt.w 80076b2 + 80078f6: f88d 3018 strb.w r3, [sp, #24] + 80078fa: 2201 movs r2, #1 + 80078fc: a906 add r1, sp, #24 + 80078fe: 2007 movs r0, #7 + 8007900: e7af b.n 8007862 + 8007902: 5d2b ldrb r3, [r5, r4] + 8007904: f003 030f and.w r3, r3, #15 + 8007908: 2b01 cmp r3, #1 + 800790a: f44f 727a mov.w r2, #1000 ; 0x3e8 + 800790e: bf38 it cc + 8007910: 2301 movcc r3, #1 + 8007912: 4353 muls r3, r2 + 8007914: f109 0902 add.w r9, r9, #2 + 8007918: 65b3 str r3, [r6, #88] ; 0x58 + 800791a: 4413 add r3, r2 + 800791c: fa5f f989 uxtb.w r9, r9 + 8007920: 65f3 str r3, [r6, #92] ; 0x5c + 8007922: 2200 movs r2, #0 + 8007924: a906 add r1, sp, #24 + 8007926: 2008 movs r0, #8 + 8007928: e756 b.n 80077d8 + 800792a: bf00 nop + 800792c: 20000c00 .word 0x20000c00 + 8007930: 200011c8 .word 0x200011c8 + 8007934: 5d2b ldrb r3, [r5, r4] + 8007936: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 800793a: f3c3 1240 ubfx r2, r3, #5, #1 + 800793e: f88d 201d strb.w r2, [sp, #29] + 8007942: a907 add r1, sp, #28 + 8007944: f3c3 1200 ubfx r2, r3, #4, #1 + 8007948: f003 030f and.w r3, r3, #15 + 800794c: f88d 201c strb.w r2, [sp, #28] + 8007950: f88d 301e strb.w r3, [sp, #30] + 8007954: f002 fea3 bl 800a69e + 8007958: f109 0902 add.w r9, r9, #2 + 800795c: 3001 adds r0, #1 + 800795e: fa5f f989 uxtb.w r9, r9 + 8007962: f43f af3b beq.w 80077dc + 8007966: f8bd 301c ldrh.w r3, [sp, #28] + 800796a: 4a91 ldr r2, [pc, #580] ; (8007bb0 ) + 800796c: f8a6 307c strh.w r3, [r6, #124] ; 0x7c + 8007970: f89d 301e ldrb.w r3, [sp, #30] + 8007974: f89d 401c ldrb.w r4, [sp, #28] + 8007978: 5cd0 ldrb r0, [r2, r3] + 800797a: f7f8 ff27 bl 80007cc <__aeabi_ui2f> + 800797e: 2302 movs r3, #2 + 8007980: f8c6 0080 str.w r0, [r6, #128] ; 0x80 + 8007984: a90c add r1, sp, #48 ; 0x30 + 8007986: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 800798a: f88d 3030 strb.w r3, [sp, #48] ; 0x30 + 800798e: f88d 4032 strb.w r4, [sp, #50] ; 0x32 + 8007992: f002 fe23 bl 800a5dc + 8007996: f996 3039 ldrsb.w r3, [r6, #57] ; 0x39 + 800799a: 9008 str r0, [sp, #32] + 800799c: b240 sxtb r0, r0 + 800799e: 4298 cmp r0, r3 + 80079a0: bfb8 it lt + 80079a2: 4618 movlt r0, r3 + 80079a4: f886 0039 strb.w r0, [r6, #57] ; 0x39 + 80079a8: 2200 movs r2, #0 + 80079aa: a906 add r1, sp, #24 + 80079ac: 2009 movs r0, #9 + 80079ae: e713 b.n 80077d8 + 80079b0: 2303 movs r3, #3 + 80079b2: f88d 3015 strb.w r3, [sp, #21] + 80079b6: 5d2b ldrb r3, [r5, r4] + 80079b8: f88d 3030 strb.w r3, [sp, #48] ; 0x30 + 80079bc: f109 0303 add.w r3, r9, #3 + 80079c0: b2db uxtb r3, r3 + 80079c2: f109 0405 add.w r4, r9, #5 + 80079c6: 5cea ldrb r2, [r5, r3] + 80079c8: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 80079cc: f109 0304 add.w r3, r9, #4 + 80079d0: b2db uxtb r3, r3 + 80079d2: f109 0902 add.w r9, r9, #2 + 80079d6: 5ceb ldrb r3, [r5, r3] + 80079d8: fa5f f989 uxtb.w r9, r9 + 80079dc: 041b lsls r3, r3, #16 + 80079de: ea43 2302 orr.w r3, r3, r2, lsl #8 + 80079e2: f815 2009 ldrb.w r2, [r5, r9] + 80079e6: 4313 orrs r3, r2 + 80079e8: 2264 movs r2, #100 ; 0x64 + 80079ea: 4353 muls r3, r2 + 80079ec: a90c add r1, sp, #48 ; 0x30 + 80079ee: 930d str r3, [sp, #52] ; 0x34 + 80079f0: f002 fe5b bl 800a6aa + 80079f4: b2c3 uxtb r3, r0 + 80079f6: 2800 cmp r0, #0 + 80079f8: b2e4 uxtb r4, r4 + 80079fa: f88d 3015 strb.w r3, [sp, #21] + 80079fe: f6ff ae58 blt.w 80076b2 + 8007a02: f88d 3018 strb.w r3, [sp, #24] + 8007a06: 2201 movs r2, #1 + 8007a08: a906 add r1, sp, #24 + 8007a0a: 200a movs r0, #10 + 8007a0c: e729 b.n 8007862 + 8007a0e: 2009 movs r0, #9 + 8007a10: f002 f928 bl 8009c64 + 8007a14: f8df a19c ldr.w sl, [pc, #412] ; 8007bb4 + 8007a18: 2800 cmp r0, #0 + 8007a1a: d054 beq.n 8007ac6 + 8007a1c: 2109 movs r1, #9 + 8007a1e: 2000 movs r0, #0 + 8007a20: f002 f8e4 bl 8009bec + 8007a24: 2300 movs r3, #0 + 8007a26: f8ad 3026 strh.w r3, [sp, #38] ; 0x26 + 8007a2a: f109 0302 add.w r3, r9, #2 + 8007a2e: b2db uxtb r3, r3 + 8007a30: f44f 717a mov.w r1, #1000 ; 0x3e8 + 8007a34: 5cea ldrb r2, [r5, r3] + 8007a36: f109 0303 add.w r3, r9, #3 + 8007a3a: b2db uxtb r3, r3 + 8007a3c: f10d 0b30 add.w fp, sp, #48 ; 0x30 + 8007a40: 5ceb ldrb r3, [r5, r3] + 8007a42: 041b lsls r3, r3, #16 + 8007a44: ea43 2302 orr.w r3, r3, r2, lsl #8 + 8007a48: 5d2a ldrb r2, [r5, r4] + 8007a4a: 4313 orrs r3, r2 + 8007a4c: f109 0204 add.w r2, r9, #4 + 8007a50: b2d2 uxtb r2, r2 + 8007a52: f109 0406 add.w r4, r9, #6 + 8007a56: f109 0905 add.w r9, r9, #5 + 8007a5a: 5caa ldrb r2, [r5, r2] + 8007a5c: fa5f f989 uxtb.w r9, r9 + 8007a60: ea43 6302 orr.w r3, r3, r2, lsl #24 + 8007a64: f815 2009 ldrb.w r2, [r5, r9] + 8007a68: 9303 str r3, [sp, #12] + 8007a6a: 434a muls r2, r1 + 8007a6c: 1212 asrs r2, r2, #8 + 8007a6e: 4658 mov r0, fp + 8007a70: f8ad 2024 strh.w r2, [sp, #36] ; 0x24 + 8007a74: f006 ff72 bl 800e95c + 8007a78: 9b03 ldr r3, [sp, #12] + 8007a7a: f103 5396 add.w r3, r3, #314572800 ; 0x12c00000 + 8007a7e: f503 13a9 add.w r3, r3, #1384448 ; 0x152000 + 8007a82: f503 53ec add.w r3, r3, #7552 ; 0x1d80 + 8007a86: 9308 str r3, [sp, #32] + 8007a88: f8da 333c ldr.w r3, [sl, #828] ; 0x33c + 8007a8c: 9300 str r3, [sp, #0] + 8007a8e: f10d 0920 add.w r9, sp, #32 + 8007a92: e899 0006 ldmia.w r9, {r1, r2} + 8007a96: f8da 3338 ldr.w r3, [sl, #824] ; 0x338 + 8007a9a: a80a add r0, sp, #40 ; 0x28 + 8007a9c: f006 ff1b bl 800e8d6 + 8007aa0: 9b0b ldr r3, [sp, #44] ; 0x2c + 8007aa2: 9300 str r3, [sp, #0] + 8007aa4: e89b 0006 ldmia.w fp, {r1, r2} + 8007aa8: 9b0a ldr r3, [sp, #40] ; 0x28 + 8007aaa: 4648 mov r0, r9 + 8007aac: f006 fef8 bl 800e8a0 + 8007ab0: e899 0003 ldmia.w r9, {r0, r1} + 8007ab4: f006 ff2a bl 800e90c + 8007ab8: f001 ff21 bl 80098fe + 8007abc: 2301 movs r3, #1 + 8007abe: b2e4 uxtb r4, r4 + 8007ac0: f88a 3438 strb.w r3, [sl, #1080] ; 0x438 + 8007ac4: e5f5 b.n 80076b2 + 8007ac6: f88a 0438 strb.w r0, [sl, #1080] ; 0x438 + 8007aca: e5f2 b.n 80076b2 + 8007acc: 200c movs r0, #12 + 8007ace: f002 f8c9 bl 8009c64 + 8007ad2: 2800 cmp r0, #0 + 8007ad4: f43f aded beq.w 80076b2 + 8007ad8: 210c movs r1, #12 + 8007ada: 2000 movs r0, #0 + 8007adc: f002 f886 bl 8009bec + 8007ae0: 4b34 ldr r3, [pc, #208] ; (8007bb4 ) + 8007ae2: f893 3490 ldrb.w r3, [r3, #1168] ; 0x490 + 8007ae6: 3b04 subs r3, #4 + 8007ae8: 2b01 cmp r3, #1 + 8007aea: f67f ade2 bls.w 80076b2 + 8007aee: f001 ff02 bl 80098f6 + 8007af2: e5de b.n 80076b2 + 8007af4: f109 0302 add.w r3, r9, #2 + 8007af8: b2db uxtb r3, r3 + 8007afa: 5d2a ldrb r2, [r5, r4] + 8007afc: 5ce9 ldrb r1, [r5, r3] + 8007afe: f109 0303 add.w r3, r9, #3 + 8007b02: b2db uxtb r3, r3 + 8007b04: f109 0405 add.w r4, r9, #5 + 8007b08: 5ceb ldrb r3, [r5, r3] + 8007b0a: f109 0904 add.w r9, r9, #4 + 8007b0e: fa5f f989 uxtb.w r9, r9 + 8007b12: 041b lsls r3, r3, #16 + 8007b14: f815 0009 ldrb.w r0, [r5, r9] + 8007b18: ea43 2301 orr.w r3, r3, r1, lsl #8 + 8007b1c: 4313 orrs r3, r2 + 8007b1e: 2164 movs r1, #100 ; 0x64 + 8007b20: 4359 muls r1, r3 + 8007b22: f000 000f and.w r0, r0, #15 + 8007b26: f001 fee7 bl 80098f8 + 8007b2a: b2e4 uxtb r4, r4 + 8007b2c: f88d 0018 strb.w r0, [sp, #24] + 8007b30: 2201 movs r2, #1 + 8007b32: a906 add r1, sp, #24 + 8007b34: 2011 movs r0, #17 + 8007b36: e694 b.n 8007862 + 8007b38: 200d movs r0, #13 + 8007b3a: f002 f893 bl 8009c64 + 8007b3e: 2800 cmp r0, #0 + 8007b40: f43f adb7 beq.w 80076b2 + 8007b44: 210d movs r1, #13 + 8007b46: 2000 movs r0, #0 + 8007b48: f002 f850 bl 8009bec + 8007b4c: f109 0302 add.w r3, r9, #2 + 8007b50: b2db uxtb r3, r3 + 8007b52: 4a19 ldr r2, [pc, #100] ; (8007bb8 ) + 8007b54: 5ce8 ldrb r0, [r5, r3] + 8007b56: 5d2b ldrb r3, [r5, r4] + 8007b58: 6812 ldr r2, [r2, #0] + 8007b5a: f109 0404 add.w r4, r9, #4 + 8007b5e: f109 0903 add.w r9, r9, #3 + 8007b62: fa5f f989 uxtb.w r9, r9 + 8007b66: ea43 2000 orr.w r0, r3, r0, lsl #8 + 8007b6a: f815 1009 ldrb.w r1, [r5, r9] + 8007b6e: b2e4 uxtb r4, r4 + 8007b70: f001 fec4 bl 80098fc + 8007b74: e59d b.n 80076b2 + 8007b76: 5d2a ldrb r2, [r5, r4] + 8007b78: f109 0302 add.w r3, r9, #2 + 8007b7c: f109 0404 add.w r4, r9, #4 + 8007b80: f109 0903 add.w r9, r9, #3 + 8007b84: b2db uxtb r3, r3 + 8007b86: fa5f f989 uxtb.w r9, r9 + 8007b8a: 5ce9 ldrb r1, [r5, r3] + 8007b8c: f815 3009 ldrb.w r3, [r5, r9] + 8007b90: 041b lsls r3, r3, #16 + 8007b92: ea43 2301 orr.w r3, r3, r1, lsl #8 + 8007b96: 4313 orrs r3, r2 + 8007b98: 2064 movs r0, #100 ; 0x64 + 8007b9a: 4358 muls r0, r3 + 8007b9c: f001 feb0 bl 8009900 + 8007ba0: b2e4 uxtb r4, r4 + 8007ba2: f88d 0018 strb.w r0, [sp, #24] + 8007ba6: 2201 movs r2, #1 + 8007ba8: a906 add r1, sp, #24 + 8007baa: 2013 movs r0, #19 + 8007bac: e659 b.n 8007862 + 8007bae: bf00 nop + 8007bb0: 0800f2f3 .word 0x0800f2f3 + 8007bb4: 200011c8 .word 0x200011c8 + 8007bb8: 20001774 .word 0x20001774 -08007ba8 : - 8007ba8: 4b0e ldr r3, [pc, #56] ; (8007be4 ) - 8007baa: f893 2491 ldrb.w r2, [r3, #1169] ; 0x491 - 8007bae: 0792 lsls r2, r2, #30 - 8007bb0: d503 bpl.n 8007bba - 8007bb2: f893 248f ldrb.w r2, [r3, #1167] ; 0x48f - 8007bb6: 2a01 cmp r2, #1 - 8007bb8: d908 bls.n 8007bcc - 8007bba: 490b ldr r1, [pc, #44] ; (8007be8 ) - 8007bbc: f891 211a ldrb.w r2, [r1, #282] ; 0x11a - 8007bc0: b122 cbz r2, 8007bcc - 8007bc2: 6a8a ldr r2, [r1, #40] ; 0x28 - 8007bc4: 1c50 adds r0, r2, #1 - 8007bc6: bf18 it ne - 8007bc8: 3201 addne r2, #1 - 8007bca: 628a str r2, [r1, #40] ; 0x28 - 8007bcc: 2200 movs r2, #0 - 8007bce: f8a3 2418 strh.w r2, [r3, #1048] ; 0x418 - 8007bd2: f883 241a strb.w r2, [r3, #1050] ; 0x41a - 8007bd6: f8d3 2340 ldr.w r2, [r3, #832] ; 0x340 - 8007bda: f022 0202 bic.w r2, r2, #2 - 8007bde: f8c3 2340 str.w r2, [r3, #832] ; 0x340 - 8007be2: 4770 bx lr - 8007be4: 200011c8 .word 0x200011c8 - 8007be8: 20000c00 .word 0x20000c00 +08007bbc : + 8007bbc: 4b0e ldr r3, [pc, #56] ; (8007bf8 ) + 8007bbe: f893 2491 ldrb.w r2, [r3, #1169] ; 0x491 + 8007bc2: 0792 lsls r2, r2, #30 + 8007bc4: d503 bpl.n 8007bce + 8007bc6: f893 248f ldrb.w r2, [r3, #1167] ; 0x48f + 8007bca: 2a01 cmp r2, #1 + 8007bcc: d908 bls.n 8007be0 + 8007bce: 490b ldr r1, [pc, #44] ; (8007bfc ) + 8007bd0: f891 211a ldrb.w r2, [r1, #282] ; 0x11a + 8007bd4: b122 cbz r2, 8007be0 + 8007bd6: 6a8a ldr r2, [r1, #40] ; 0x28 + 8007bd8: 1c50 adds r0, r2, #1 + 8007bda: bf18 it ne + 8007bdc: 3201 addne r2, #1 + 8007bde: 628a str r2, [r1, #40] ; 0x28 + 8007be0: 2200 movs r2, #0 + 8007be2: f8a3 2418 strh.w r2, [r3, #1048] ; 0x418 + 8007be6: f883 241a strb.w r2, [r3, #1050] ; 0x41a + 8007bea: f8d3 2340 ldr.w r2, [r3, #832] ; 0x340 + 8007bee: f022 0202 bic.w r2, r2, #2 + 8007bf2: f8c3 2340 str.w r2, [r3, #832] ; 0x340 + 8007bf6: 4770 bx lr + 8007bf8: 200011c8 .word 0x200011c8 + 8007bfc: 20000c00 .word 0x20000c00 -08007bec : - 8007bec: b570 push {r4, r5, r6, lr} - 8007bee: 4c18 ldr r4, [pc, #96] ; (8007c50 ) - 8007bf0: 4d18 ldr r5, [pc, #96] ; (8007c54 ) - 8007bf2: f504 705a add.w r0, r4, #872 ; 0x368 - 8007bf6: f006 ff97 bl 800eb28 - 8007bfa: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 - 8007bfe: f8d4 0498 ldr.w r0, [r4, #1176] ; 0x498 - 8007c02: f8d5 6090 ldr.w r6, [r5, #144] ; 0x90 - 8007c06: f023 0320 bic.w r3, r3, #32 - 8007c0a: f8c4 3340 str.w r3, [r4, #832] ; 0x340 - 8007c0e: b138 cbz r0, 8007c20 - 8007c10: f006 ff50 bl 800eab4 - 8007c14: 4286 cmp r6, r0 - 8007c16: d203 bcs.n 8007c20 - 8007c18: 2300 movs r3, #0 - 8007c1a: f885 303a strb.w r3, [r5, #58] ; 0x3a - 8007c1e: bd70 pop {r4, r5, r6, pc} - 8007c20: 2001 movs r0, #1 - 8007c22: f7ff f9cd bl 8006fc0 - 8007c26: 2800 cmp r0, #0 - 8007c28: d0f9 beq.n 8007c1e - 8007c2a: 280b cmp r0, #11 - 8007c2c: d0f7 beq.n 8007c1e - 8007c2e: f895 3039 ldrb.w r3, [r5, #57] ; 0x39 - 8007c32: f884 3442 strb.w r3, [r4, #1090] ; 0x442 - 8007c36: 2009 movs r0, #9 - 8007c38: f894 3418 ldrb.w r3, [r4, #1048] ; 0x418 - 8007c3c: f884 3445 strb.w r3, [r4, #1093] ; 0x445 - 8007c40: f884 0441 strb.w r0, [r4, #1089] ; 0x441 - 8007c44: f001 ffea bl 8009c1c - 8007c48: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 8007c4c: f7ff bfac b.w 8007ba8 - 8007c50: 200011c8 .word 0x200011c8 - 8007c54: 20000c00 .word 0x20000c00 +08007c00 : + 8007c00: b570 push {r4, r5, r6, lr} + 8007c02: 4c18 ldr r4, [pc, #96] ; (8007c64 ) + 8007c04: 4d18 ldr r5, [pc, #96] ; (8007c68 ) + 8007c06: f504 705a add.w r0, r4, #872 ; 0x368 + 8007c0a: f006 ff97 bl 800eb3c + 8007c0e: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 + 8007c12: f8d4 0498 ldr.w r0, [r4, #1176] ; 0x498 + 8007c16: f8d5 6090 ldr.w r6, [r5, #144] ; 0x90 + 8007c1a: f023 0320 bic.w r3, r3, #32 + 8007c1e: f8c4 3340 str.w r3, [r4, #832] ; 0x340 + 8007c22: b138 cbz r0, 8007c34 + 8007c24: f006 ff50 bl 800eac8 + 8007c28: 4286 cmp r6, r0 + 8007c2a: d203 bcs.n 8007c34 + 8007c2c: 2300 movs r3, #0 + 8007c2e: f885 303a strb.w r3, [r5, #58] ; 0x3a + 8007c32: bd70 pop {r4, r5, r6, pc} + 8007c34: 2001 movs r0, #1 + 8007c36: f7ff f9cd bl 8006fd4 + 8007c3a: 2800 cmp r0, #0 + 8007c3c: d0f9 beq.n 8007c32 + 8007c3e: 280b cmp r0, #11 + 8007c40: d0f7 beq.n 8007c32 + 8007c42: f895 3039 ldrb.w r3, [r5, #57] ; 0x39 + 8007c46: f884 3442 strb.w r3, [r4, #1090] ; 0x442 + 8007c4a: 2009 movs r0, #9 + 8007c4c: f894 3418 ldrb.w r3, [r4, #1048] ; 0x418 + 8007c50: f884 3445 strb.w r3, [r4, #1093] ; 0x445 + 8007c54: f884 0441 strb.w r0, [r4, #1089] ; 0x441 + 8007c58: f001 ffea bl 8009c30 + 8007c5c: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 8007c60: f7ff bfac b.w 8007bbc + 8007c64: 200011c8 .word 0x200011c8 + 8007c68: 20000c00 .word 0x20000c00 -08007c58 : - 8007c58: 4b09 ldr r3, [pc, #36] ; (8007c80 ) - 8007c5a: f8d3 2340 ldr.w r2, [r3, #832] ; 0x340 - 8007c5e: 2a01 cmp r2, #1 - 8007c60: d00a beq.n 8007c78 - 8007c62: 4908 ldr r1, [pc, #32] ; (8007c84 ) - 8007c64: 7809 ldrb r1, [r1, #0] - 8007c66: 07c9 lsls r1, r1, #31 - 8007c68: d408 bmi.n 8007c7c - 8007c6a: b93a cbnz r2, 8007c7c - 8007c6c: f893 0492 ldrb.w r0, [r3, #1170] ; 0x492 - 8007c70: 3801 subs r0, #1 - 8007c72: bf18 it ne - 8007c74: 2001 movne r0, #1 - 8007c76: 4770 bx lr - 8007c78: 2000 movs r0, #0 - 8007c7a: 4770 bx lr - 8007c7c: 2001 movs r0, #1 - 8007c7e: 4770 bx lr - 8007c80: 200011c8 .word 0x200011c8 - 8007c84: 200011c4 .word 0x200011c4 +08007c6c : + 8007c6c: 4b09 ldr r3, [pc, #36] ; (8007c94 ) + 8007c6e: f8d3 2340 ldr.w r2, [r3, #832] ; 0x340 + 8007c72: 2a01 cmp r2, #1 + 8007c74: d00a beq.n 8007c8c + 8007c76: 4908 ldr r1, [pc, #32] ; (8007c98 ) + 8007c78: 7809 ldrb r1, [r1, #0] + 8007c7a: 07c9 lsls r1, r1, #31 + 8007c7c: d408 bmi.n 8007c90 + 8007c7e: b93a cbnz r2, 8007c90 + 8007c80: f893 0492 ldrb.w r0, [r3, #1170] ; 0x492 + 8007c84: 3801 subs r0, #1 + 8007c86: bf18 it ne + 8007c88: 2001 movne r0, #1 + 8007c8a: 4770 bx lr + 8007c8c: 2000 movs r0, #0 + 8007c8e: 4770 bx lr + 8007c90: 2001 movs r0, #1 + 8007c92: 4770 bx lr + 8007c94: 200011c8 .word 0x200011c8 + 8007c98: 200011c4 .word 0x200011c4 -08007c88 : - 8007c88: 4b03 ldr r3, [pc, #12] ; (8007c98 ) - 8007c8a: f8d3 0340 ldr.w r0, [r3, #832] ; 0x340 - 8007c8e: 1e43 subs r3, r0, #1 - 8007c90: 4258 negs r0, r3 - 8007c92: 4158 adcs r0, r3 - 8007c94: 4770 bx lr - 8007c96: bf00 nop - 8007c98: 200011c8 .word 0x200011c8 +08007c9c : + 8007c9c: 4b03 ldr r3, [pc, #12] ; (8007cac ) + 8007c9e: f8d3 0340 ldr.w r0, [r3, #832] ; 0x340 + 8007ca2: 1e43 subs r3, r0, #1 + 8007ca4: 4258 negs r0, r3 + 8007ca6: 4158 adcs r0, r3 + 8007ca8: 4770 bx lr + 8007caa: bf00 nop + 8007cac: 200011c8 .word 0x200011c8 -08007c9c : - 8007c9c: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8007ca0: b0a9 sub sp, #164 ; 0xa4 - 8007ca2: f3ef 8210 mrs r2, PRIMASK - 8007ca6: b672 cpsid i - 8007ca8: f8df 82f4 ldr.w r8, [pc, #756] ; 8007fa0 - 8007cac: 2100 movs r1, #0 - 8007cae: f8d8 3000 ldr.w r3, [r8] - 8007cb2: f8c8 1000 str.w r1, [r8] - 8007cb6: f382 8810 msr PRIMASK, r2 - 8007cba: 4cba ldr r4, [pc, #744] ; (8007fa4 ) - 8007cbc: 2b00 cmp r3, #0 - 8007cbe: f000 80e4 beq.w 8007e8a - 8007cc2: b2da uxtb r2, r3 - 8007cc4: 069b lsls r3, r3, #26 - 8007cc6: 9203 str r2, [sp, #12] - 8007cc8: d564 bpl.n 8007d94 - 8007cca: 4db7 ldr r5, [pc, #732] ; (8007fa8 ) - 8007ccc: f895 3118 ldrb.w r3, [r5, #280] ; 0x118 - 8007cd0: 2b02 cmp r3, #2 - 8007cd2: d002 beq.n 8007cda - 8007cd4: 4bb5 ldr r3, [pc, #724] ; (8007fac ) - 8007cd6: 6adb ldr r3, [r3, #44] ; 0x2c - 8007cd8: 4798 blx r3 - 8007cda: f3ef 8910 mrs r9, PRIMASK - 8007cde: b672 cpsid i - 8007ce0: 4fb3 ldr r7, [pc, #716] ; (8007fb0 ) - 8007ce2: f006 fedd bl 800eaa0 - 8007ce6: 683e ldr r6, [r7, #0] - 8007ce8: f8d4 13b0 ldr.w r1, [r4, #944] ; 0x3b0 - 8007cec: 1a36 subs r6, r6, r0 - 8007cee: 4431 add r1, r6 - 8007cf0: 48b0 ldr r0, [pc, #704] ; (8007fb4 ) - 8007cf2: f006 ffa1 bl 800ec38 - 8007cf6: 48af ldr r0, [pc, #700] ; (8007fb4 ) - 8007cf8: f006 ff64 bl 800ebc4 - 8007cfc: f8d4 13b4 ldr.w r1, [r4, #948] ; 0x3b4 - 8007d00: 48ad ldr r0, [pc, #692] ; (8007fb8 ) +08007cb0 : + 8007cb0: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8007cb4: b0a9 sub sp, #164 ; 0xa4 + 8007cb6: f3ef 8210 mrs r2, PRIMASK + 8007cba: b672 cpsid i + 8007cbc: f8df 82f4 ldr.w r8, [pc, #756] ; 8007fb4 + 8007cc0: 2100 movs r1, #0 + 8007cc2: f8d8 3000 ldr.w r3, [r8] + 8007cc6: f8c8 1000 str.w r1, [r8] + 8007cca: f382 8810 msr PRIMASK, r2 + 8007cce: 4cba ldr r4, [pc, #744] ; (8007fb8 ) + 8007cd0: 2b00 cmp r3, #0 + 8007cd2: f000 80e4 beq.w 8007e9e + 8007cd6: b2da uxtb r2, r3 + 8007cd8: 069b lsls r3, r3, #26 + 8007cda: 9203 str r2, [sp, #12] + 8007cdc: d564 bpl.n 8007da8 + 8007cde: 4db7 ldr r5, [pc, #732] ; (8007fbc ) + 8007ce0: f895 3118 ldrb.w r3, [r5, #280] ; 0x118 + 8007ce4: 2b02 cmp r3, #2 + 8007ce6: d002 beq.n 8007cee + 8007ce8: 4bb5 ldr r3, [pc, #724] ; (8007fc0 ) + 8007cea: 6adb ldr r3, [r3, #44] ; 0x2c + 8007cec: 4798 blx r3 + 8007cee: f3ef 8910 mrs r9, PRIMASK + 8007cf2: b672 cpsid i + 8007cf4: 4fb3 ldr r7, [pc, #716] ; (8007fc4 ) + 8007cf6: f006 fedd bl 800eab4 + 8007cfa: 683e ldr r6, [r7, #0] + 8007cfc: f8d4 13b0 ldr.w r1, [r4, #944] ; 0x3b0 + 8007d00: 1a36 subs r6, r6, r0 8007d02: 4431 add r1, r6 - 8007d04: f006 ff98 bl 800ec38 - 8007d08: 48ab ldr r0, [pc, #684] ; (8007fb8 ) - 8007d0a: f006 ff5b bl 800ebc4 - 8007d0e: f389 8810 msr PRIMASK, r9 - 8007d12: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a - 8007d16: 2b00 cmp r3, #0 - 8007d18: f000 816d beq.w 8007ff6 - 8007d1c: 2315 movs r3, #21 - 8007d1e: a912 add r1, sp, #72 ; 0x48 - 8007d20: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 8007d24: f88d 3048 strb.w r3, [sp, #72] ; 0x48 - 8007d28: f002 fc4e bl 800a5c8 - 8007d2c: f8d4 13b4 ldr.w r1, [r4, #948] ; 0x3b4 - 8007d30: 900f str r0, [sp, #60] ; 0x3c - 8007d32: 4401 add r1, r0 - 8007d34: 48a1 ldr r0, [pc, #644] ; (8007fbc ) - 8007d36: f006 ff7f bl 800ec38 - 8007d3a: 48a0 ldr r0, [pc, #640] ; (8007fbc ) - 8007d3c: f006 ff42 bl 800ebc4 - 8007d40: 683b ldr r3, [r7, #0] - 8007d42: f894 241b ldrb.w r2, [r4, #1051] ; 0x41b - 8007d46: 62eb str r3, [r5, #44] ; 0x2c - 8007d48: af0d add r7, sp, #52 ; 0x34 - 8007d4a: 4638 mov r0, r7 - 8007d4c: f88d 2070 strb.w r2, [sp, #112] ; 0x70 - 8007d50: 931d str r3, [sp, #116] ; 0x74 - 8007d52: f006 fe1f bl 800e994 - 8007d56: f8d5 3128 ldr.w r3, [r5, #296] ; 0x128 - 8007d5a: 9300 str r3, [sp, #0] - 8007d5c: ae06 add r6, sp, #24 - 8007d5e: e897 0006 ldmia.w r7, {r1, r2} - 8007d62: f8d5 3124 ldr.w r3, [r5, #292] ; 0x124 - 8007d66: 4630 mov r0, r6 - 8007d68: f006 fdab bl 800e8c2 - 8007d6c: e896 0003 ldmia.w r6, {r0, r1} - 8007d70: ab1f add r3, sp, #124 ; 0x7c - 8007d72: e883 0003 stmia.w r3, {r0, r1} - 8007d76: f8d4 341c ldr.w r3, [r4, #1052] ; 0x41c - 8007d7a: 931e str r3, [sp, #120] ; 0x78 - 8007d7c: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 - 8007d80: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 8007d84: 3b00 subs r3, #0 - 8007d86: bf18 it ne - 8007d88: 2301 movne r3, #1 - 8007d8a: a91c add r1, sp, #112 ; 0x70 - 8007d8c: f88d 3071 strb.w r3, [sp, #113] ; 0x71 - 8007d90: f002 fc23 bl 800a5da - 8007d94: 9b03 ldr r3, [sp, #12] - 8007d96: 06df lsls r7, r3, #27 - 8007d98: d54b bpl.n 8007e32 - 8007d9a: 4d83 ldr r5, [pc, #524] ; (8007fa8 ) - 8007d9c: f8df a220 ldr.w sl, [pc, #544] ; 8007fc0 - 8007da0: f8d5 20e4 ldr.w r2, [r5, #228] ; 0xe4 - 8007da4: f9ba 300a ldrsh.w r3, [sl, #10] - 8007da8: 9205 str r2, [sp, #20] - 8007daa: f898 2000 ldrb.w r2, [r8] - 8007dae: 9304 str r3, [sp, #16] - 8007db0: 2300 movs r3, #0 - 8007db2: f363 0200 bfi r2, r3, #0, #1 - 8007db6: 930a str r3, [sp, #40] ; 0x28 - 8007db8: f888 2000 strb.w r2, [r8] - 8007dbc: f884 3444 strb.w r3, [r4, #1092] ; 0x444 - 8007dc0: 9a04 ldr r2, [sp, #16] - 8007dc2: f8a4 3422 strh.w r3, [r4, #1058] ; 0x422 - 8007dc6: f884 3425 strb.w r3, [r4, #1061] ; 0x425 - 8007dca: f8c4 3428 str.w r3, [r4, #1064] ; 0x428 - 8007dce: f8a4 342c strh.w r3, [r4, #1068] ; 0x42c - 8007dd2: f884 342e strb.w r3, [r4, #1070] ; 0x42e - 8007dd6: f8c4 3430 str.w r3, [r4, #1072] ; 0x430 - 8007dda: f884 3420 strb.w r3, [r4, #1056] ; 0x420 - 8007dde: f8c4 3434 str.w r3, [r4, #1076] ; 0x434 - 8007de2: f884 3438 strb.w r3, [r4, #1080] ; 0x438 - 8007de6: f8c4 343c str.w r3, [r4, #1084] ; 0x43c - 8007dea: 4b70 ldr r3, [pc, #448] ; (8007fac ) - 8007dec: f99a 900c ldrsb.w r9, [sl, #12] - 8007df0: f8a4 248c strh.w r2, [r4, #1164] ; 0x48c - 8007df4: f894 2490 ldrb.w r2, [r4, #1168] ; 0x490 - 8007df8: 6adb ldr r3, [r3, #44] ; 0x2c - 8007dfa: f884 948e strb.w r9, [r4, #1166] ; 0x48e - 8007dfe: f884 248f strb.w r2, [r4, #1167] ; 0x48f - 8007e02: f8da 7004 ldr.w r7, [sl, #4] - 8007e06: f8ba 6008 ldrh.w r6, [sl, #8] - 8007e0a: 4798 blx r3 - 8007e0c: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f - 8007e10: b913 cbnz r3, 8007e18 - 8007e12: 4869 ldr r0, [pc, #420] ; (8007fb8 ) - 8007e14: f006 fe88 bl 800eb28 - 8007e18: 4631 mov r1, r6 - 8007e1a: 4638 mov r0, r7 - 8007e1c: f001 fd4e bl 80098bc - 8007e20: 4683 mov fp, r0 - 8007e22: 2800 cmp r0, #0 - 8007e24: f000 80ea beq.w 8007ffc - 8007e28: 9b04 ldr r3, [sp, #16] - 8007e2a: f8a4 347e strh.w r3, [r4, #1150] ; 0x47e - 8007e2e: f884 9480 strb.w r9, [r4, #1152] ; 0x480 - 8007e32: 9b03 ldr r3, [sp, #12] - 8007e34: 0719 lsls r1, r3, #28 - 8007e36: d51a bpl.n 8007e6e - 8007e38: 4b5b ldr r3, [pc, #364] ; (8007fa8 ) - 8007e3a: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 - 8007e3e: 2b02 cmp r3, #2 - 8007e40: d002 beq.n 8007e48 - 8007e42: 4b5a ldr r3, [pc, #360] ; (8007fac ) - 8007e44: 6adb ldr r3, [r3, #44] ; 0x2c - 8007e46: 4798 blx r3 - 8007e48: 2002 movs r0, #2 - 8007e4a: f7fe fed9 bl 8006c00 - 8007e4e: f884 0441 strb.w r0, [r4, #1089] ; 0x441 - 8007e52: f001 fee3 bl 8009c1c - 8007e56: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a - 8007e5a: b113 cbz r3, 8007e62 - 8007e5c: 2301 movs r3, #1 - 8007e5e: f884 3419 strb.w r3, [r4, #1049] ; 0x419 - 8007e62: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 8007e66: f043 0310 orr.w r3, r3, #16 - 8007e6a: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 8007e6e: 9b03 ldr r3, [sp, #12] - 8007e70: 075a lsls r2, r3, #29 - 8007e72: d503 bpl.n 8007e7c - 8007e74: 2106 movs r1, #6 - 8007e76: 2005 movs r0, #5 - 8007e78: f7fe ff2a bl 8006cd0 - 8007e7c: 9b03 ldr r3, [sp, #12] - 8007e7e: 079b lsls r3, r3, #30 - 8007e80: d503 bpl.n 8007e8a - 8007e82: 2104 movs r1, #4 - 8007e84: 2003 movs r0, #3 - 8007e86: f7fe ff23 bl 8006cd0 - 8007e8a: f001 fd35 bl 80098f8 - 8007e8e: f894 2491 ldrb.w r2, [r4, #1169] ; 0x491 - 8007e92: 06d7 lsls r7, r2, #27 - 8007e94: d55f bpl.n 8007f56 - 8007e96: 2300 movs r3, #0 - 8007e98: f884 3492 strb.w r3, [r4, #1170] ; 0x492 - 8007e9c: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 - 8007ea0: 061e lsls r6, r3, #24 - 8007ea2: bf44 itt mi - 8007ea4: f023 0382 bicmi.w r3, r3, #130 ; 0x82 - 8007ea8: f8c4 3340 strmi.w r3, [r4, #832] ; 0x340 - 8007eac: f012 0f05 tst.w r2, #5 - 8007eb0: f000 82fc beq.w 80084ac - 8007eb4: 200b movs r0, #11 - 8007eb6: f001 fecb bl 8009c50 - 8007eba: 2800 cmp r0, #0 - 8007ebc: f000 82f6 beq.w 80084ac - 8007ec0: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 8007ec4: 07dd lsls r5, r3, #31 - 8007ec6: f100 82f1 bmi.w 80084ac - 8007eca: 0758 lsls r0, r3, #29 - 8007ecc: f140 8308 bpl.w 80084e0 - 8007ed0: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 - 8007ed4: f023 0302 bic.w r3, r3, #2 - 8007ed8: f8c4 3340 str.w r3, [r4, #832] ; 0x340 - 8007edc: f8d4 2340 ldr.w r2, [r4, #832] ; 0x340 - 8007ee0: bb82 cbnz r2, 8007f44 - 8007ee2: f894 5491 ldrb.w r5, [r4, #1169] ; 0x491 - 8007ee6: f015 0101 ands.w r1, r5, #1 - 8007eea: bf1e ittt ne - 8007eec: 462b movne r3, r5 - 8007eee: f362 0300 bfine r3, r2, #0, #1 - 8007ef2: f884 3491 strbne.w r3, [r4, #1169] ; 0x491 - 8007ef6: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 8007efa: 075e lsls r6, r3, #29 - 8007efc: bf44 itt mi - 8007efe: f36f 0382 bfcmi r3, #2, #1 - 8007f02: f884 3491 strbmi.w r3, [r4, #1169] ; 0x491 - 8007f06: 2301 movs r3, #1 - 8007f08: f884 3492 strb.w r3, [r4, #1170] ; 0x492 - 8007f0c: b121 cbz r1, 8007f18 - 8007f0e: f8d4 3344 ldr.w r3, [r4, #836] ; 0x344 - 8007f12: 482c ldr r0, [pc, #176] ; (8007fc4 ) - 8007f14: 681b ldr r3, [r3, #0] - 8007f16: 4798 blx r3 - 8007f18: 076d lsls r5, r5, #29 - 8007f1a: d50b bpl.n 8007f34 - 8007f1c: 482a ldr r0, [pc, #168] ; (8007fc8 ) - 8007f1e: f001 fea3 bl 8009c68 - 8007f22: f001 fed1 bl 8009cc8 - 8007f26: b128 cbz r0, 8007f34 - 8007f28: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 8007f2c: f043 0304 orr.w r3, r3, #4 - 8007f30: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 8007f34: f001 fcce bl 80098d4 - 8007f38: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 8007f3c: f36f 1304 bfc r3, #4, #1 - 8007f40: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 8007f44: 2301 movs r3, #1 - 8007f46: f884 3492 strb.w r3, [r4, #1170] ; 0x492 - 8007f4a: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 8007f4e: f043 0320 orr.w r3, r3, #32 - 8007f52: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 8007f56: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 8007f5a: 0718 lsls r0, r3, #28 - 8007f5c: d50a bpl.n 8007f74 - 8007f5e: f36f 03c3 bfc r3, #3, #1 - 8007f62: 491a ldr r1, [pc, #104] ; (8007fcc ) - 8007f64: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 8007f68: f8d4 3344 ldr.w r3, [r4, #836] ; 0x344 - 8007f6c: f1a1 0024 sub.w r0, r1, #36 ; 0x24 - 8007f70: 68db ldr r3, [r3, #12] - 8007f72: 4798 blx r3 - 8007f74: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 8007f78: 0799 lsls r1, r3, #30 - 8007f7a: d50a bpl.n 8007f92 - 8007f7c: f36f 0341 bfc r3, #1, #1 - 8007f80: 4912 ldr r1, [pc, #72] ; (8007fcc ) - 8007f82: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 8007f86: f8d4 3344 ldr.w r3, [r4, #836] ; 0x344 - 8007f8a: f1a1 006c sub.w r0, r1, #108 ; 0x6c - 8007f8e: 685b ldr r3, [r3, #4] - 8007f90: 4798 blx r3 - 8007f92: f894 3490 ldrb.w r3, [r4, #1168] ; 0x490 - 8007f96: 2b02 cmp r3, #2 - 8007f98: d11a bne.n 8007fd0 - 8007f9a: f7fe fefb bl 8006d94 - 8007f9e: e017 b.n 8007fd0 - 8007fa0: 200011c4 .word 0x200011c4 - 8007fa4: 200011c8 .word 0x200011c8 - 8007fa8: 20000c00 .word 0x20000c00 - 8007fac: 0800f9e4 .word 0x0800f9e4 - 8007fb0: 20001784 .word 0x20001784 - 8007fb4: 20001548 .word 0x20001548 - 8007fb8: 20001560 .word 0x20001560 - 8007fbc: 200015c8 .word 0x200015c8 - 8007fc0: 20001774 .word 0x20001774 - 8007fc4: 20001608 .word 0x20001608 - 8007fc8: 2000161c .word 0x2000161c - 8007fcc: 20001654 .word 0x20001654 - 8007fd0: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 8007fd4: 069a lsls r2, r3, #26 - 8007fd6: f140 82c6 bpl.w 8008566 - 8007fda: f36f 1345 bfc r3, #5, #1 - 8007fde: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 8007fe2: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 - 8007fe6: 2b00 cmp r3, #0 - 8007fe8: f040 82bd bne.w 8008566 - 8007fec: b029 add sp, #164 ; 0xa4 - 8007fee: e8bd 4ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8007ff2: f7ff ba77 b.w 80074e4 - 8007ff6: f884 3441 strb.w r3, [r4, #1089] ; 0x441 - 8007ffa: e6a1 b.n 8007d40 - 8007ffc: f895 2118 ldrb.w r2, [r5, #280] ; 0x118 - 8008000: 2a01 cmp r2, #1 - 8008002: d10c bne.n 800801e - 8008004: f001 fc5e bl 80098c4 - 8008008: 4680 mov r8, r0 - 800800a: b168 cbz r0, 8008028 - 800800c: 4658 mov r0, fp - 800800e: f001 fc4e bl 80098ae - 8008012: 4658 mov r0, fp - 8008014: f001 fc50 bl 80098b8 - 8008018: 2304 movs r3, #4 - 800801a: f884 348f strb.w r3, [r4, #1167] ; 0x48f - 800801e: b97e cbnz r6, 8008040 - 8008020: 2301 movs r3, #1 - 8008022: f884 3421 strb.w r3, [r4, #1057] ; 0x421 - 8008026: e150 b.n 80082ca - 8008028: f001 fc4e bl 80098c8 - 800802c: 2800 cmp r0, #0 - 800802e: d0f6 beq.n 800801e - 8008030: 4640 mov r0, r8 - 8008032: f001 fc3d bl 80098b0 - 8008036: 4640 mov r0, r8 - 8008038: f001 fc3f bl 80098ba - 800803c: 2305 movs r3, #5 - 800803e: e7ec b.n 800801a - 8008040: 783b ldrb r3, [r7, #0] - 8008042: 9304 str r3, [sp, #16] - 8008044: 095b lsrs r3, r3, #5 - 8008046: 3b01 subs r3, #1 - 8008048: 2b06 cmp r3, #6 - 800804a: f200 8218 bhi.w 800847e - 800804e: e8df f013 tbh [pc, r3, lsl #1] - 8008052: 0007 .short 0x0007 - 8008054: 00950216 .word 0x00950216 - 8008058: 00920216 .word 0x00920216 - 800805c: 02070216 .word 0x02070216 - 8008060: 2e10 cmp r6, #16 - 8008062: d9dd bls.n 8008020 - 8008064: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 - 8008068: 9712 str r7, [sp, #72] ; 0x48 - 800806a: b2f6 uxtb r6, r6 - 800806c: f88d 604c strb.w r6, [sp, #76] ; 0x4c - 8008070: 2b00 cmp r3, #0 - 8008072: d1d5 bne.n 8008020 - 8008074: a81c add r0, sp, #112 ; 0x70 - 8008076: f004 f95d bl 800c334 - 800807a: aa12 add r2, sp, #72 ; 0x48 - 800807c: a91c add r1, sp, #112 ; 0x70 - 800807e: 20ff movs r0, #255 ; 0xff - 8008080: f002 f8b2 bl 800a1e8 - 8008084: f89d 3058 ldrb.w r3, [sp, #88] ; 0x58 - 8008088: f3c3 0303 ubfx r3, r3, #0, #4 - 800808c: 4607 mov r7, r0 - 800808e: f88d 302c strb.w r3, [sp, #44] ; 0x2c - 8008092: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 8008096: f895 307d ldrb.w r3, [r5, #125] ; 0x7d - 800809a: f88d 302d strb.w r3, [sp, #45] ; 0x2d - 800809e: 2207 movs r2, #7 - 80080a0: a90b add r1, sp, #44 ; 0x2c - 80080a2: f002 faa4 bl 800a5ee - 80080a6: 2f00 cmp r7, #0 - 80080a8: d15d bne.n 8008166 - 80080aa: 2800 cmp r0, #0 - 80080ac: d05b beq.n 8008166 - 80080ae: f89d 3053 ldrb.w r3, [sp, #83] ; 0x53 - 80080b2: f89d 2052 ldrb.w r2, [sp, #82] ; 0x52 - 80080b6: 9915 ldr r1, [sp, #84] ; 0x54 - 80080b8: f8c5 10e4 str.w r1, [r5, #228] ; 0xe4 - 80080bc: 041b lsls r3, r3, #16 - 80080be: ea43 2302 orr.w r3, r3, r2, lsl #8 - 80080c2: f89d 2051 ldrb.w r2, [sp, #81] ; 0x51 - 80080c6: 2002 movs r0, #2 - 80080c8: 4313 orrs r3, r2 - 80080ca: f8c5 30e0 str.w r3, [r5, #224] ; 0xe0 - 80080ce: f004 f93f bl 800c350 - 80080d2: f89d 3058 ldrb.w r3, [sp, #88] ; 0x58 - 80080d6: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 80080da: f885 712e strb.w r7, [r5, #302] ; 0x12e - 80080de: f3c3 1202 ubfx r2, r3, #4, #3 - 80080e2: f3c3 0303 ubfx r3, r3, #0, #4 - 80080e6: f885 3070 strb.w r3, [r5, #112] ; 0x70 - 80080ea: f885 3078 strb.w r3, [r5, #120] ; 0x78 - 80080ee: f89d 3059 ldrb.w r3, [sp, #89] ; 0x59 - 80080f2: f885 2069 strb.w r2, [r5, #105] ; 0x69 - 80080f6: 2b01 cmp r3, #1 - 80080f8: bf38 it cc - 80080fa: 2301 movcc r3, #1 - 80080fc: f44f 727a mov.w r2, #1000 ; 0x3e8 - 8008100: 4353 muls r3, r2 - 8008102: 65ab str r3, [r5, #88] ; 0x58 - 8008104: 4413 add r3, r2 - 8008106: 65eb str r3, [r5, #92] ; 0x5c - 8008108: f10d 035a add.w r3, sp, #90 ; 0x5a - 800810c: f04f 0801 mov.w r8, #1 - 8008110: 9310 str r3, [sp, #64] ; 0x40 - 8008112: 3e11 subs r6, #17 - 8008114: f894 341b ldrb.w r3, [r4, #1051] ; 0x41b - 8008118: f88d 303c strb.w r3, [sp, #60] ; 0x3c - 800811c: a90f add r1, sp, #60 ; 0x3c - 800811e: f885 8068 strb.w r8, [r5, #104] ; 0x68 - 8008122: f88d 6044 strb.w r6, [sp, #68] ; 0x44 - 8008126: f002 fa6a bl 800a5fe - 800812a: 2302 movs r3, #2 - 800812c: 4640 mov r0, r8 - 800812e: f885 3130 strb.w r3, [r5, #304] ; 0x130 - 8008132: f001 fd8d bl 8009c50 - 8008136: b118 cbz r0, 8008140 - 8008138: 4641 mov r1, r8 - 800813a: 4638 mov r0, r7 - 800813c: f001 fd4c bl 8009bd8 - 8008140: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f - 8008144: 2b01 cmp r3, #1 - 8008146: f200 81a8 bhi.w 800849a - 800814a: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a - 800814e: 2b00 cmp r3, #0 - 8008150: f040 819b bne.w 800848a - 8008154: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 8008158: f043 0310 orr.w r3, r3, #16 - 800815c: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 8008160: f7fe fd4e bl 8006c00 - 8008164: e665 b.n 8007e32 - 8008166: 2001 movs r0, #1 - 8008168: f001 fd72 bl 8009c50 - 800816c: 2800 cmp r0, #0 - 800816e: d0e7 beq.n 8008140 - 8008170: 2101 movs r1, #1 - 8008172: 2007 movs r0, #7 - 8008174: e7e2 b.n 800813c - 8008176: 2301 movs r3, #1 - 8008178: f884 3420 strb.w r3, [r4, #1056] ; 0x420 - 800817c: f895 307d ldrb.w r3, [r5, #125] ; 0x7d - 8008180: f88d 302e strb.w r3, [sp, #46] ; 0x2e - 8008184: f894 3424 ldrb.w r3, [r4, #1060] ; 0x424 - 8008188: f88d 302d strb.w r3, [sp, #45] ; 0x2d - 800818c: f895 308c ldrb.w r3, [r5, #140] ; 0x8c - 8008190: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 8008194: 330d adds r3, #13 - 8008196: a90b add r1, sp, #44 ; 0x2c - 8008198: f88d 302c strb.w r3, [sp, #44] ; 0x2c - 800819c: f002 fa14 bl 800a5c8 - 80081a0: f1a6 030d sub.w r3, r6, #13 - 80081a4: b21b sxth r3, r3 - 80081a6: 9009 str r0, [sp, #36] ; 0x24 - 80081a8: ea23 73e3 bic.w r3, r3, r3, asr #31 - 80081ac: b200 sxth r0, r0 - 80081ae: 4283 cmp r3, r0 - 80081b0: f73f af36 bgt.w 8008020 - 80081b4: 2e0b cmp r6, #11 - 80081b6: f67f af33 bls.w 8008020 - 80081ba: 4bbb ldr r3, [pc, #748] ; (80084a8 ) - 80081bc: 9325 str r3, [sp, #148] ; 0x94 - 80081be: a81c add r0, sp, #112 ; 0x70 - 80081c0: 23ff movs r3, #255 ; 0xff - 80081c2: 971c str r7, [sp, #112] ; 0x70 - 80081c4: f88d 6074 strb.w r6, [sp, #116] ; 0x74 - 80081c8: f88d 3098 strb.w r3, [sp, #152] ; 0x98 - 80081cc: f002 f8d8 bl 800a380 - 80081d0: 4607 mov r7, r0 - 80081d2: 2800 cmp r0, #0 - 80081d4: f47f af24 bne.w 8008020 - 80081d8: f895 3118 ldrb.w r3, [r5, #280] ; 0x118 - 80081dc: 2b01 cmp r3, #1 - 80081de: d113 bne.n 8008208 - 80081e0: f001 fb70 bl 80098c4 - 80081e4: 2800 cmp r0, #0 - 80081e6: d073 beq.n 80082d0 - 80081e8: 4638 mov r0, r7 - 80081ea: f001 fb60 bl 80098ae - 80081ee: 4638 mov r0, r7 - 80081f0: f001 fb62 bl 80098b8 - 80081f4: 2304 movs r3, #4 - 80081f6: f89d 107c ldrb.w r1, [sp, #124] ; 0x7c - 80081fa: 981e ldr r0, [sp, #120] ; 0x78 - 80081fc: f884 348f strb.w r3, [r4, #1167] ; 0x48f - 8008200: f3c1 1100 ubfx r1, r1, #4, #1 - 8008204: f001 fb77 bl 80098f6 - 8008208: f89d 307c ldrb.w r3, [sp, #124] ; 0x7c - 800820c: 991e ldr r1, [sp, #120] ; 0x78 - 800820e: f8c4 1434 str.w r1, [r4, #1076] ; 0x434 - 8008212: f013 020f ands.w r2, r3, #15 - 8008216: d003 beq.n 8008220 - 8008218: f89d 0090 ldrb.w r0, [sp, #144] ; 0x90 - 800821c: 2800 cmp r0, #0 - 800821e: d163 bne.n 80082e8 - 8008220: f89d 0098 ldrb.w r0, [sp, #152] ; 0x98 - 8008224: 2800 cmp r0, #0 - 8008226: d062 beq.n 80082ee - 8008228: 2a00 cmp r2, #0 - 800822a: f47f aef9 bne.w 8008020 - 800822e: f89d 2090 ldrb.w r2, [sp, #144] ; 0x90 - 8008232: 2a00 cmp r2, #0 - 8008234: bf0c ite eq - 8008236: f04f 0802 moveq.w r8, #2 - 800823a: f04f 0803 movne.w r8, #3 - 800823e: 2200 movs r2, #0 - 8008240: 920a str r2, [sp, #40] ; 0x28 - 8008242: f8d5 20ec ldr.w r2, [r5, #236] ; 0xec - 8008246: 4291 cmp r1, r2 - 8008248: d154 bne.n 80082f4 - 800824a: f895 10e9 ldrb.w r1, [r5, #233] ; 0xe9 - 800824e: 2900 cmp r1, #0 - 8008250: d050 beq.n 80082f4 - 8008252: f8d5 110c ldr.w r1, [r5, #268] ; 0x10c - 8008256: f895 b0ea ldrb.w fp, [r5, #234] ; 0xea - 800825a: 6809 ldr r1, [r1, #0] - 800825c: 910a str r1, [sp, #40] ; 0x28 - 800825e: f895 1118 ldrb.w r1, [r5, #280] ; 0x118 - 8008262: 2902 cmp r1, #2 - 8008264: d102 bne.n 800826c - 8008266: 2103 movs r1, #3 - 8008268: f884 148f strb.w r1, [r4, #1167] ; 0x48f - 800826c: f1b8 0f03 cmp.w r8, #3 - 8008270: f47f aed6 bne.w 8008020 - 8008274: f013 0f60 tst.w r3, #96 ; 0x60 - 8008278: f47f aed2 bne.w 8008020 - 800827c: 9205 str r2, [sp, #20] - 800827e: 2701 movs r7, #1 - 8008280: f895 312e ldrb.w r3, [r5, #302] ; 0x12e - 8008284: f1bb 0f00 cmp.w fp, #0 - 8008288: d037 beq.n 80082fa - 800828a: f1bb 0f01 cmp.w fp, #1 - 800828e: d138 bne.n 8008302 - 8008290: 2b01 cmp r3, #1 - 8008292: d134 bne.n 80082fe - 8008294: f06f 0609 mvn.w r6, #9 - 8008298: fa46 f608 asr.w r6, r6, r8 - 800829c: f006 0601 and.w r6, r6, #1 - 80082a0: f1c6 0602 rsb r6, r6, #2 - 80082a4: b2f6 uxtb r6, r6 - 80082a6: f8bd 107e ldrh.w r1, [sp, #126] ; 0x7e - 80082aa: aa0a add r2, sp, #40 ; 0x28 - 80082ac: 4630 mov r0, r6 - 80082ae: f001 fe2d bl 8009f0c - 80082b2: b340 cbz r0, 8008306 - 80082b4: 2807 cmp r0, #7 - 80082b6: bf0c ite eq - 80082b8: 2308 moveq r3, #8 - 80082ba: 2301 movne r3, #1 - 80082bc: f884 3421 strb.w r3, [r4, #1057] ; 0x421 - 80082c0: 9b0a ldr r3, [sp, #40] ; 0x28 - 80082c2: f8c4 3430 str.w r3, [r4, #1072] ; 0x430 - 80082c6: f8c4 346c str.w r3, [r4, #1132] ; 0x46c - 80082ca: f7fe fce5 bl 8006c98 - 80082ce: e5b0 b.n 8007e32 - 80082d0: f001 fafa bl 80098c8 - 80082d4: 2800 cmp r0, #0 - 80082d6: d097 beq.n 8008208 - 80082d8: 4638 mov r0, r7 - 80082da: f001 fae9 bl 80098b0 - 80082de: 4638 mov r0, r7 - 80082e0: f001 faeb bl 80098ba - 80082e4: 2305 movs r3, #5 - 80082e6: e786 b.n 80081f6 - 80082e8: f04f 0800 mov.w r8, #0 - 80082ec: e7a7 b.n 800823e - 80082ee: f04f 0801 mov.w r8, #1 - 80082f2: e7a4 b.n 800823e - 80082f4: f04f 0b01 mov.w fp, #1 - 80082f8: e7c2 b.n 8008280 - 80082fa: 2604 movs r6, #4 - 80082fc: e7d3 b.n 80082a6 - 80082fe: 2603 movs r6, #3 - 8008300: e7d1 b.n 80082a6 - 8008302: 2301 movs r3, #1 - 8008304: e7da b.n 80082bc - 8008306: ab1c add r3, sp, #112 ; 0x70 - 8008308: 9300 str r3, [sp, #0] - 800830a: 9905 ldr r1, [sp, #20] - 800830c: 9b0a ldr r3, [sp, #40] ; 0x28 - 800830e: 4632 mov r2, r6 - 8008310: 4658 mov r0, fp - 8008312: f001 febb bl 800a08c - 8008316: b120 cbz r0, 8008322 - 8008318: 2802 cmp r0, #2 - 800831a: bf0c ite eq - 800831c: 230a moveq r3, #10 - 800831e: 230b movne r3, #11 - 8008320: e67f b.n 8008022 - 8008322: 9b0a ldr r3, [sp, #40] ; 0x28 - 8008324: f8c4 3430 str.w r3, [r4, #1072] ; 0x430 - 8008328: f8c4 346c str.w r3, [r4, #1132] ; 0x46c - 800832c: f89d 307c ldrb.w r3, [sp, #124] ; 0x7c - 8008330: f884 0421 strb.w r0, [r4, #1057] ; 0x421 - 8008334: f3c3 1340 ubfx r3, r3, #5, #1 - 8008338: f884 342e strb.w r3, [r4, #1070] ; 0x42e - 800833c: f884 3444 strb.w r3, [r4, #1092] ; 0x444 - 8008340: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f - 8008344: f884 7422 strb.w r7, [r4, #1058] ; 0x422 - 8008348: 2b01 cmp r3, #1 - 800834a: bf9e ittt ls - 800834c: 2201 movls r2, #1 - 800834e: 62a8 strls r0, [r5, #40] ; 0x28 - 8008350: f885 211e strbls.w r2, [r5, #286] ; 0x11e - 8008354: 2f01 cmp r7, #1 - 8008356: f8c4 0428 str.w r0, [r4, #1064] ; 0x428 - 800835a: f884 042c strb.w r0, [r4, #1068] ; 0x42c - 800835e: f884 0441 strb.w r0, [r4, #1089] ; 0x441 - 8008362: d138 bne.n 80083d6 - 8008364: 2202 movs r2, #2 - 8008366: f884 2420 strb.w r2, [r4, #1056] ; 0x420 - 800836a: f895 203a ldrb.w r2, [r5, #58] ; 0x3a - 800836e: 2a00 cmp r2, #0 - 8008370: d14a bne.n 8008408 - 8008372: f89d 207c ldrb.w r2, [sp, #124] ; 0x7c - 8008376: 06d6 lsls r6, r2, #27 - 8008378: d446 bmi.n 8008408 - 800837a: 2b01 cmp r3, #1 - 800837c: f894 1440 ldrb.w r1, [r4, #1088] ; 0x440 - 8008380: f89d 207c ldrb.w r2, [sp, #124] ; 0x7c - 8008384: d805 bhi.n 8008392 - 8008386: 2901 cmp r1, #1 - 8008388: d101 bne.n 800838e - 800838a: 0690 lsls r0, r2, #26 - 800838c: d501 bpl.n 8008392 - 800838e: f001 fb5f bl 8009a50 - 8008392: f1b8 0f02 cmp.w r8, #2 - 8008396: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f - 800839a: d043 beq.n 8008424 - 800839c: f1b8 0f03 cmp.w r8, #3 - 80083a0: d00a beq.n 80083b8 - 80083a2: f89d 107c ldrb.w r1, [sp, #124] ; 0x7c - 80083a6: f1b8 0f01 cmp.w r8, #1 - 80083aa: 464a mov r2, r9 - 80083ac: f001 010f and.w r1, r1, #15 - 80083b0: a820 add r0, sp, #128 ; 0x80 - 80083b2: d03b beq.n 800842c - 80083b4: f7ff f910 bl 80075d8 - 80083b8: f89d 3090 ldrb.w r3, [sp, #144] ; 0x90 - 80083bc: f884 3423 strb.w r3, [r4, #1059] ; 0x423 - 80083c0: 9b25 ldr r3, [sp, #148] ; 0x94 - 80083c2: f8c4 3428 str.w r3, [r4, #1064] ; 0x428 - 80083c6: f89d 3098 ldrb.w r3, [sp, #152] ; 0x98 - 80083ca: f884 342c strb.w r3, [r4, #1068] ; 0x42c - 80083ce: 2301 movs r3, #1 - 80083d0: f884 342d strb.w r3, [r4, #1069] ; 0x42d - 80083d4: e030 b.n 8008438 - 80083d6: 9a04 ldr r2, [sp, #16] - 80083d8: f002 02e0 and.w r2, r2, #224 ; 0xe0 - 80083dc: 2aa0 cmp r2, #160 ; 0xa0 - 80083de: d11b bne.n 8008418 - 80083e0: f895 112e ldrb.w r1, [r5, #302] ; 0x12e - 80083e4: 2201 movs r2, #1 - 80083e6: f885 203a strb.w r2, [r5, #58] ; 0x3a - 80083ea: b909 cbnz r1, 80083f0 - 80083ec: 9927 ldr r1, [sp, #156] ; 0x9c - 80083ee: 6369 str r1, [r5, #52] ; 0x34 - 80083f0: 2b01 cmp r3, #1 - 80083f2: f884 2420 strb.w r2, [r4, #1056] ; 0x420 - 80083f6: d907 bls.n 8008408 - 80083f8: f8d5 2090 ldr.w r2, [r5, #144] ; 0x90 - 80083fc: f8c4 243c str.w r2, [r4, #1084] ; 0x43c - 8008400: f8da 2000 ldr.w r2, [sl] - 8008404: f8c4 2498 str.w r2, [r4, #1176] ; 0x498 - 8008408: f895 2118 ldrb.w r2, [r5, #280] ; 0x118 - 800840c: 2a00 cmp r2, #0 - 800840e: d1b4 bne.n 800837a - 8008410: 2201 movs r2, #1 - 8008412: f884 2425 strb.w r2, [r4, #1061] ; 0x425 - 8008416: e7b0 b.n 800837a - 8008418: 2200 movs r2, #0 - 800841a: f885 203a strb.w r2, [r5, #58] ; 0x3a - 800841e: f884 2420 strb.w r2, [r4, #1056] ; 0x420 - 8008422: e7a6 b.n 8008372 - 8008424: f89d 1098 ldrb.w r1, [sp, #152] ; 0x98 - 8008428: 9825 ldr r0, [sp, #148] ; 0x94 - 800842a: 464a mov r2, r9 - 800842c: f7ff f8d4 bl 80075d8 - 8008430: f89d 3090 ldrb.w r3, [sp, #144] ; 0x90 - 8008434: f884 3423 strb.w r3, [r4, #1059] ; 0x423 - 8008438: f89d 2090 ldrb.w r2, [sp, #144] ; 0x90 - 800843c: 2ae0 cmp r2, #224 ; 0xe0 - 800843e: d108 bne.n 8008452 - 8008440: f895 311f ldrb.w r3, [r5, #287] ; 0x11f - 8008444: b92b cbnz r3, 8008452 - 8008446: f884 2423 strb.w r2, [r4, #1059] ; 0x423 - 800844a: f8c4 3428 str.w r3, [r4, #1064] ; 0x428 - 800844e: f8a4 342c strh.w r3, [r4, #1068] ; 0x42c - 8008452: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 8008456: f043 0302 orr.w r3, r3, #2 - 800845a: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 800845e: e66f b.n 8008140 - 8008460: 4d11 ldr r5, [pc, #68] ; (80084a8 ) - 8008462: 3e01 subs r6, #1 - 8008464: b2b2 uxth r2, r6 - 8008466: 1c79 adds r1, r7, #1 - 8008468: 4628 mov r0, r5 - 800846a: f004 f839 bl 800c4e0 - 800846e: 2303 movs r3, #3 - 8008470: f8a4 3420 strh.w r3, [r4, #1056] ; 0x420 - 8008474: f8c4 5428 str.w r5, [r4, #1064] ; 0x428 - 8008478: f884 642c strb.w r6, [r4, #1068] ; 0x42c - 800847c: e7e9 b.n 8008452 - 800847e: 2301 movs r3, #1 - 8008480: f884 3421 strb.w r3, [r4, #1057] ; 0x421 - 8008484: f7fe fc08 bl 8006c98 - 8008488: e65a b.n 8008140 - 800848a: f894 3444 ldrb.w r3, [r4, #1092] ; 0x444 - 800848e: 2b00 cmp r3, #0 - 8008490: f43f ae60 beq.w 8008154 - 8008494: 2000 movs r0, #0 - 8008496: f7fe fbed bl 8006c74 - 800849a: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f - 800849e: 2b02 cmp r3, #2 - 80084a0: f43f ae5e beq.w 8008160 - 80084a4: e656 b.n 8008154 - 80084a6: bf00 nop - 80084a8: 20001400 .word 0x20001400 - 80084ac: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 80084b0: 0759 lsls r1, r3, #29 - 80084b2: d515 bpl.n 80084e0 - 80084b4: 2001 movs r0, #1 - 80084b6: f001 fbcb bl 8009c50 - 80084ba: b160 cbz r0, 80084d6 - 80084bc: 2001 movs r0, #1 - 80084be: f001 fb9d bl 8009bfc - 80084c2: b908 cbnz r0, 80084c8 - 80084c4: f884 0418 strb.w r0, [r4, #1048] ; 0x418 - 80084c8: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 - 80084cc: f023 0302 bic.w r3, r3, #2 - 80084d0: f8c4 3340 str.w r3, [r4, #832] ; 0x340 - 80084d4: e004 b.n 80084e0 - 80084d6: 2006 movs r0, #6 - 80084d8: f001 fbba bl 8009c50 - 80084dc: 2800 cmp r0, #0 - 80084de: d1f3 bne.n 80084c8 - 80084e0: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 80084e4: 07da lsls r2, r3, #31 - 80084e6: f57f acf9 bpl.w 8007edc - 80084ea: f894 2440 ldrb.w r2, [r4, #1088] ; 0x440 - 80084ee: b10a cbz r2, 80084f4 - 80084f0: 2a03 cmp r2, #3 - 80084f2: d118 bne.n 8008526 - 80084f4: 4a1d ldr r2, [pc, #116] ; (800856c ) - 80084f6: f894 1418 ldrb.w r1, [r4, #1048] ; 0x418 - 80084fa: f892 2068 ldrb.w r2, [r2, #104] ; 0x68 - 80084fe: 4291 cmp r1, r2 - 8008500: d205 bcs.n 800850e - 8008502: 079b lsls r3, r3, #30 - 8008504: d523 bpl.n 800854e - 8008506: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f - 800850a: 2b01 cmp r3, #1 - 800850c: d81f bhi.n 800854e - 800850e: 4818 ldr r0, [pc, #96] ; (8008570 ) - 8008510: f006 fb0a bl 800eb28 - 8008514: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 - 8008518: f023 0320 bic.w r3, r3, #32 - 800851c: f8c4 3340 str.w r3, [r4, #832] ; 0x340 - 8008520: f7ff fb42 bl 8007ba8 - 8008524: e4da b.n 8007edc - 8008526: 2a01 cmp r2, #1 - 8008528: d111 bne.n 800854e - 800852a: f894 2419 ldrb.w r2, [r4, #1049] ; 0x419 - 800852e: 2a00 cmp r2, #0 - 8008530: f43f acd4 beq.w 8007edc - 8008534: 4a0d ldr r2, [pc, #52] ; (800856c ) - 8008536: f894 1418 ldrb.w r1, [r4, #1048] ; 0x418 - 800853a: f892 2068 ldrb.w r2, [r2, #104] ; 0x68 - 800853e: 4291 cmp r1, r2 - 8008540: d2e5 bcs.n 800850e - 8008542: 079f lsls r7, r3, #30 - 8008544: d503 bpl.n 800854e - 8008546: f894 3444 ldrb.w r3, [r4, #1092] ; 0x444 - 800854a: 2b00 cmp r3, #0 - 800854c: d1df bne.n 800850e - 800854e: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 - 8008552: 2000 movs r0, #0 - 8008554: f36f 1304 bfc r3, #4, #1 - 8008558: f884 3491 strb.w r3, [r4, #1169] ; 0x491 - 800855c: f884 0419 strb.w r0, [r4, #1049] ; 0x419 - 8008560: f7ff fb44 bl 8007bec - 8008564: e4ba b.n 8007edc - 8008566: b029 add sp, #164 ; 0xa4 - 8008568: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800856c: 20000c00 .word 0x20000c00 - 8008570: 20001530 .word 0x20001530 + 8007d04: 48b0 ldr r0, [pc, #704] ; (8007fc8 ) + 8007d06: f006 ffa1 bl 800ec4c + 8007d0a: 48af ldr r0, [pc, #700] ; (8007fc8 ) + 8007d0c: f006 ff64 bl 800ebd8 + 8007d10: f8d4 13b4 ldr.w r1, [r4, #948] ; 0x3b4 + 8007d14: 48ad ldr r0, [pc, #692] ; (8007fcc ) + 8007d16: 4431 add r1, r6 + 8007d18: f006 ff98 bl 800ec4c + 8007d1c: 48ab ldr r0, [pc, #684] ; (8007fcc ) + 8007d1e: f006 ff5b bl 800ebd8 + 8007d22: f389 8810 msr PRIMASK, r9 + 8007d26: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a + 8007d2a: 2b00 cmp r3, #0 + 8007d2c: f000 816d beq.w 800800a + 8007d30: 2315 movs r3, #21 + 8007d32: a912 add r1, sp, #72 ; 0x48 + 8007d34: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 8007d38: f88d 3048 strb.w r3, [sp, #72] ; 0x48 + 8007d3c: f002 fc4e bl 800a5dc + 8007d40: f8d4 13b4 ldr.w r1, [r4, #948] ; 0x3b4 + 8007d44: 900f str r0, [sp, #60] ; 0x3c + 8007d46: 4401 add r1, r0 + 8007d48: 48a1 ldr r0, [pc, #644] ; (8007fd0 ) + 8007d4a: f006 ff7f bl 800ec4c + 8007d4e: 48a0 ldr r0, [pc, #640] ; (8007fd0 ) + 8007d50: f006 ff42 bl 800ebd8 + 8007d54: 683b ldr r3, [r7, #0] + 8007d56: f894 241b ldrb.w r2, [r4, #1051] ; 0x41b + 8007d5a: 62eb str r3, [r5, #44] ; 0x2c + 8007d5c: af0d add r7, sp, #52 ; 0x34 + 8007d5e: 4638 mov r0, r7 + 8007d60: f88d 2070 strb.w r2, [sp, #112] ; 0x70 + 8007d64: 931d str r3, [sp, #116] ; 0x74 + 8007d66: f006 fe1f bl 800e9a8 + 8007d6a: f8d5 3128 ldr.w r3, [r5, #296] ; 0x128 + 8007d6e: 9300 str r3, [sp, #0] + 8007d70: ae06 add r6, sp, #24 + 8007d72: e897 0006 ldmia.w r7, {r1, r2} + 8007d76: f8d5 3124 ldr.w r3, [r5, #292] ; 0x124 + 8007d7a: 4630 mov r0, r6 + 8007d7c: f006 fdab bl 800e8d6 + 8007d80: e896 0003 ldmia.w r6, {r0, r1} + 8007d84: ab1f add r3, sp, #124 ; 0x7c + 8007d86: e883 0003 stmia.w r3, {r0, r1} + 8007d8a: f8d4 341c ldr.w r3, [r4, #1052] ; 0x41c + 8007d8e: 931e str r3, [sp, #120] ; 0x78 + 8007d90: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 + 8007d94: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 8007d98: 3b00 subs r3, #0 + 8007d9a: bf18 it ne + 8007d9c: 2301 movne r3, #1 + 8007d9e: a91c add r1, sp, #112 ; 0x70 + 8007da0: f88d 3071 strb.w r3, [sp, #113] ; 0x71 + 8007da4: f002 fc23 bl 800a5ee + 8007da8: 9b03 ldr r3, [sp, #12] + 8007daa: 06df lsls r7, r3, #27 + 8007dac: d54b bpl.n 8007e46 + 8007dae: 4d83 ldr r5, [pc, #524] ; (8007fbc ) + 8007db0: f8df a220 ldr.w sl, [pc, #544] ; 8007fd4 + 8007db4: f8d5 20e4 ldr.w r2, [r5, #228] ; 0xe4 + 8007db8: f9ba 300a ldrsh.w r3, [sl, #10] + 8007dbc: 9205 str r2, [sp, #20] + 8007dbe: f898 2000 ldrb.w r2, [r8] + 8007dc2: 9304 str r3, [sp, #16] + 8007dc4: 2300 movs r3, #0 + 8007dc6: f363 0200 bfi r2, r3, #0, #1 + 8007dca: 930a str r3, [sp, #40] ; 0x28 + 8007dcc: f888 2000 strb.w r2, [r8] + 8007dd0: f884 3444 strb.w r3, [r4, #1092] ; 0x444 + 8007dd4: 9a04 ldr r2, [sp, #16] + 8007dd6: f8a4 3422 strh.w r3, [r4, #1058] ; 0x422 + 8007dda: f884 3425 strb.w r3, [r4, #1061] ; 0x425 + 8007dde: f8c4 3428 str.w r3, [r4, #1064] ; 0x428 + 8007de2: f8a4 342c strh.w r3, [r4, #1068] ; 0x42c + 8007de6: f884 342e strb.w r3, [r4, #1070] ; 0x42e + 8007dea: f8c4 3430 str.w r3, [r4, #1072] ; 0x430 + 8007dee: f884 3420 strb.w r3, [r4, #1056] ; 0x420 + 8007df2: f8c4 3434 str.w r3, [r4, #1076] ; 0x434 + 8007df6: f884 3438 strb.w r3, [r4, #1080] ; 0x438 + 8007dfa: f8c4 343c str.w r3, [r4, #1084] ; 0x43c + 8007dfe: 4b70 ldr r3, [pc, #448] ; (8007fc0 ) + 8007e00: f99a 900c ldrsb.w r9, [sl, #12] + 8007e04: f8a4 248c strh.w r2, [r4, #1164] ; 0x48c + 8007e08: f894 2490 ldrb.w r2, [r4, #1168] ; 0x490 + 8007e0c: 6adb ldr r3, [r3, #44] ; 0x2c + 8007e0e: f884 948e strb.w r9, [r4, #1166] ; 0x48e + 8007e12: f884 248f strb.w r2, [r4, #1167] ; 0x48f + 8007e16: f8da 7004 ldr.w r7, [sl, #4] + 8007e1a: f8ba 6008 ldrh.w r6, [sl, #8] + 8007e1e: 4798 blx r3 + 8007e20: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f + 8007e24: b913 cbnz r3, 8007e2c + 8007e26: 4869 ldr r0, [pc, #420] ; (8007fcc ) + 8007e28: f006 fe88 bl 800eb3c + 8007e2c: 4631 mov r1, r6 + 8007e2e: 4638 mov r0, r7 + 8007e30: f001 fd4e bl 80098d0 + 8007e34: 4683 mov fp, r0 + 8007e36: 2800 cmp r0, #0 + 8007e38: f000 80ea beq.w 8008010 + 8007e3c: 9b04 ldr r3, [sp, #16] + 8007e3e: f8a4 347e strh.w r3, [r4, #1150] ; 0x47e + 8007e42: f884 9480 strb.w r9, [r4, #1152] ; 0x480 + 8007e46: 9b03 ldr r3, [sp, #12] + 8007e48: 0719 lsls r1, r3, #28 + 8007e4a: d51a bpl.n 8007e82 + 8007e4c: 4b5b ldr r3, [pc, #364] ; (8007fbc ) + 8007e4e: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 + 8007e52: 2b02 cmp r3, #2 + 8007e54: d002 beq.n 8007e5c + 8007e56: 4b5a ldr r3, [pc, #360] ; (8007fc0 ) + 8007e58: 6adb ldr r3, [r3, #44] ; 0x2c + 8007e5a: 4798 blx r3 + 8007e5c: 2002 movs r0, #2 + 8007e5e: f7fe fed9 bl 8006c14 + 8007e62: f884 0441 strb.w r0, [r4, #1089] ; 0x441 + 8007e66: f001 fee3 bl 8009c30 + 8007e6a: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a + 8007e6e: b113 cbz r3, 8007e76 + 8007e70: 2301 movs r3, #1 + 8007e72: f884 3419 strb.w r3, [r4, #1049] ; 0x419 + 8007e76: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8007e7a: f043 0310 orr.w r3, r3, #16 + 8007e7e: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8007e82: 9b03 ldr r3, [sp, #12] + 8007e84: 075a lsls r2, r3, #29 + 8007e86: d503 bpl.n 8007e90 + 8007e88: 2106 movs r1, #6 + 8007e8a: 2005 movs r0, #5 + 8007e8c: f7fe ff2a bl 8006ce4 + 8007e90: 9b03 ldr r3, [sp, #12] + 8007e92: 079b lsls r3, r3, #30 + 8007e94: d503 bpl.n 8007e9e + 8007e96: 2104 movs r1, #4 + 8007e98: 2003 movs r0, #3 + 8007e9a: f7fe ff23 bl 8006ce4 + 8007e9e: f001 fd35 bl 800990c + 8007ea2: f894 2491 ldrb.w r2, [r4, #1169] ; 0x491 + 8007ea6: 06d7 lsls r7, r2, #27 + 8007ea8: d55f bpl.n 8007f6a + 8007eaa: 2300 movs r3, #0 + 8007eac: f884 3492 strb.w r3, [r4, #1170] ; 0x492 + 8007eb0: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 + 8007eb4: 061e lsls r6, r3, #24 + 8007eb6: bf44 itt mi + 8007eb8: f023 0382 bicmi.w r3, r3, #130 ; 0x82 + 8007ebc: f8c4 3340 strmi.w r3, [r4, #832] ; 0x340 + 8007ec0: f012 0f05 tst.w r2, #5 + 8007ec4: f000 82fc beq.w 80084c0 + 8007ec8: 200b movs r0, #11 + 8007eca: f001 fecb bl 8009c64 + 8007ece: 2800 cmp r0, #0 + 8007ed0: f000 82f6 beq.w 80084c0 + 8007ed4: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8007ed8: 07dd lsls r5, r3, #31 + 8007eda: f100 82f1 bmi.w 80084c0 + 8007ede: 0758 lsls r0, r3, #29 + 8007ee0: f140 8308 bpl.w 80084f4 + 8007ee4: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 + 8007ee8: f023 0302 bic.w r3, r3, #2 + 8007eec: f8c4 3340 str.w r3, [r4, #832] ; 0x340 + 8007ef0: f8d4 2340 ldr.w r2, [r4, #832] ; 0x340 + 8007ef4: bb82 cbnz r2, 8007f58 + 8007ef6: f894 5491 ldrb.w r5, [r4, #1169] ; 0x491 + 8007efa: f015 0101 ands.w r1, r5, #1 + 8007efe: bf1e ittt ne + 8007f00: 462b movne r3, r5 + 8007f02: f362 0300 bfine r3, r2, #0, #1 + 8007f06: f884 3491 strbne.w r3, [r4, #1169] ; 0x491 + 8007f0a: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8007f0e: 075e lsls r6, r3, #29 + 8007f10: bf44 itt mi + 8007f12: f36f 0382 bfcmi r3, #2, #1 + 8007f16: f884 3491 strbmi.w r3, [r4, #1169] ; 0x491 + 8007f1a: 2301 movs r3, #1 + 8007f1c: f884 3492 strb.w r3, [r4, #1170] ; 0x492 + 8007f20: b121 cbz r1, 8007f2c + 8007f22: f8d4 3344 ldr.w r3, [r4, #836] ; 0x344 + 8007f26: 482c ldr r0, [pc, #176] ; (8007fd8 ) + 8007f28: 681b ldr r3, [r3, #0] + 8007f2a: 4798 blx r3 + 8007f2c: 076d lsls r5, r5, #29 + 8007f2e: d50b bpl.n 8007f48 + 8007f30: 482a ldr r0, [pc, #168] ; (8007fdc ) + 8007f32: f001 fea3 bl 8009c7c + 8007f36: f001 fed1 bl 8009cdc + 8007f3a: b128 cbz r0, 8007f48 + 8007f3c: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8007f40: f043 0304 orr.w r3, r3, #4 + 8007f44: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8007f48: f001 fcce bl 80098e8 + 8007f4c: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8007f50: f36f 1304 bfc r3, #4, #1 + 8007f54: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8007f58: 2301 movs r3, #1 + 8007f5a: f884 3492 strb.w r3, [r4, #1170] ; 0x492 + 8007f5e: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8007f62: f043 0320 orr.w r3, r3, #32 + 8007f66: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8007f6a: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8007f6e: 0718 lsls r0, r3, #28 + 8007f70: d50a bpl.n 8007f88 + 8007f72: f36f 03c3 bfc r3, #3, #1 + 8007f76: 491a ldr r1, [pc, #104] ; (8007fe0 ) + 8007f78: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8007f7c: f8d4 3344 ldr.w r3, [r4, #836] ; 0x344 + 8007f80: f1a1 0024 sub.w r0, r1, #36 ; 0x24 + 8007f84: 68db ldr r3, [r3, #12] + 8007f86: 4798 blx r3 + 8007f88: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8007f8c: 0799 lsls r1, r3, #30 + 8007f8e: d50a bpl.n 8007fa6 + 8007f90: f36f 0341 bfc r3, #1, #1 + 8007f94: 4912 ldr r1, [pc, #72] ; (8007fe0 ) + 8007f96: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8007f9a: f8d4 3344 ldr.w r3, [r4, #836] ; 0x344 + 8007f9e: f1a1 006c sub.w r0, r1, #108 ; 0x6c + 8007fa2: 685b ldr r3, [r3, #4] + 8007fa4: 4798 blx r3 + 8007fa6: f894 3490 ldrb.w r3, [r4, #1168] ; 0x490 + 8007faa: 2b02 cmp r3, #2 + 8007fac: d11a bne.n 8007fe4 + 8007fae: f7fe fefb bl 8006da8 + 8007fb2: e017 b.n 8007fe4 + 8007fb4: 200011c4 .word 0x200011c4 + 8007fb8: 200011c8 .word 0x200011c8 + 8007fbc: 20000c00 .word 0x20000c00 + 8007fc0: 0800f9f4 .word 0x0800f9f4 + 8007fc4: 20001784 .word 0x20001784 + 8007fc8: 20001548 .word 0x20001548 + 8007fcc: 20001560 .word 0x20001560 + 8007fd0: 200015c8 .word 0x200015c8 + 8007fd4: 20001774 .word 0x20001774 + 8007fd8: 20001608 .word 0x20001608 + 8007fdc: 2000161c .word 0x2000161c + 8007fe0: 20001654 .word 0x20001654 + 8007fe4: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8007fe8: 069a lsls r2, r3, #26 + 8007fea: f140 82c6 bpl.w 800857a + 8007fee: f36f 1345 bfc r3, #5, #1 + 8007ff2: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8007ff6: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 + 8007ffa: 2b00 cmp r3, #0 + 8007ffc: f040 82bd bne.w 800857a + 8008000: b029 add sp, #164 ; 0xa4 + 8008002: e8bd 4ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8008006: f7ff ba77 b.w 80074f8 + 800800a: f884 3441 strb.w r3, [r4, #1089] ; 0x441 + 800800e: e6a1 b.n 8007d54 + 8008010: f895 2118 ldrb.w r2, [r5, #280] ; 0x118 + 8008014: 2a01 cmp r2, #1 + 8008016: d10c bne.n 8008032 + 8008018: f001 fc5e bl 80098d8 + 800801c: 4680 mov r8, r0 + 800801e: b168 cbz r0, 800803c + 8008020: 4658 mov r0, fp + 8008022: f001 fc4e bl 80098c2 + 8008026: 4658 mov r0, fp + 8008028: f001 fc50 bl 80098cc + 800802c: 2304 movs r3, #4 + 800802e: f884 348f strb.w r3, [r4, #1167] ; 0x48f + 8008032: b97e cbnz r6, 8008054 + 8008034: 2301 movs r3, #1 + 8008036: f884 3421 strb.w r3, [r4, #1057] ; 0x421 + 800803a: e150 b.n 80082de + 800803c: f001 fc4e bl 80098dc + 8008040: 2800 cmp r0, #0 + 8008042: d0f6 beq.n 8008032 + 8008044: 4640 mov r0, r8 + 8008046: f001 fc3d bl 80098c4 + 800804a: 4640 mov r0, r8 + 800804c: f001 fc3f bl 80098ce + 8008050: 2305 movs r3, #5 + 8008052: e7ec b.n 800802e + 8008054: 783b ldrb r3, [r7, #0] + 8008056: 9304 str r3, [sp, #16] + 8008058: 095b lsrs r3, r3, #5 + 800805a: 3b01 subs r3, #1 + 800805c: 2b06 cmp r3, #6 + 800805e: f200 8218 bhi.w 8008492 + 8008062: e8df f013 tbh [pc, r3, lsl #1] + 8008066: 0007 .short 0x0007 + 8008068: 00950216 .word 0x00950216 + 800806c: 00920216 .word 0x00920216 + 8008070: 02070216 .word 0x02070216 + 8008074: 2e10 cmp r6, #16 + 8008076: d9dd bls.n 8008034 + 8008078: f895 3130 ldrb.w r3, [r5, #304] ; 0x130 + 800807c: 9712 str r7, [sp, #72] ; 0x48 + 800807e: b2f6 uxtb r6, r6 + 8008080: f88d 604c strb.w r6, [sp, #76] ; 0x4c + 8008084: 2b00 cmp r3, #0 + 8008086: d1d5 bne.n 8008034 + 8008088: a81c add r0, sp, #112 ; 0x70 + 800808a: f004 f95d bl 800c348 + 800808e: aa12 add r2, sp, #72 ; 0x48 + 8008090: a91c add r1, sp, #112 ; 0x70 + 8008092: 20ff movs r0, #255 ; 0xff + 8008094: f002 f8b2 bl 800a1fc + 8008098: f89d 3058 ldrb.w r3, [sp, #88] ; 0x58 + 800809c: f3c3 0303 ubfx r3, r3, #0, #4 + 80080a0: 4607 mov r7, r0 + 80080a2: f88d 302c strb.w r3, [sp, #44] ; 0x2c + 80080a6: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 80080aa: f895 307d ldrb.w r3, [r5, #125] ; 0x7d + 80080ae: f88d 302d strb.w r3, [sp, #45] ; 0x2d + 80080b2: 2207 movs r2, #7 + 80080b4: a90b add r1, sp, #44 ; 0x2c + 80080b6: f002 faa4 bl 800a602 + 80080ba: 2f00 cmp r7, #0 + 80080bc: d15d bne.n 800817a + 80080be: 2800 cmp r0, #0 + 80080c0: d05b beq.n 800817a + 80080c2: f89d 3053 ldrb.w r3, [sp, #83] ; 0x53 + 80080c6: f89d 2052 ldrb.w r2, [sp, #82] ; 0x52 + 80080ca: 9915 ldr r1, [sp, #84] ; 0x54 + 80080cc: f8c5 10e4 str.w r1, [r5, #228] ; 0xe4 + 80080d0: 041b lsls r3, r3, #16 + 80080d2: ea43 2302 orr.w r3, r3, r2, lsl #8 + 80080d6: f89d 2051 ldrb.w r2, [sp, #81] ; 0x51 + 80080da: 2002 movs r0, #2 + 80080dc: 4313 orrs r3, r2 + 80080de: f8c5 30e0 str.w r3, [r5, #224] ; 0xe0 + 80080e2: f004 f93f bl 800c364 + 80080e6: f89d 3058 ldrb.w r3, [sp, #88] ; 0x58 + 80080ea: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 80080ee: f885 712e strb.w r7, [r5, #302] ; 0x12e + 80080f2: f3c3 1202 ubfx r2, r3, #4, #3 + 80080f6: f3c3 0303 ubfx r3, r3, #0, #4 + 80080fa: f885 3070 strb.w r3, [r5, #112] ; 0x70 + 80080fe: f885 3078 strb.w r3, [r5, #120] ; 0x78 + 8008102: f89d 3059 ldrb.w r3, [sp, #89] ; 0x59 + 8008106: f885 2069 strb.w r2, [r5, #105] ; 0x69 + 800810a: 2b01 cmp r3, #1 + 800810c: bf38 it cc + 800810e: 2301 movcc r3, #1 + 8008110: f44f 727a mov.w r2, #1000 ; 0x3e8 + 8008114: 4353 muls r3, r2 + 8008116: 65ab str r3, [r5, #88] ; 0x58 + 8008118: 4413 add r3, r2 + 800811a: 65eb str r3, [r5, #92] ; 0x5c + 800811c: f10d 035a add.w r3, sp, #90 ; 0x5a + 8008120: f04f 0801 mov.w r8, #1 + 8008124: 9310 str r3, [sp, #64] ; 0x40 + 8008126: 3e11 subs r6, #17 + 8008128: f894 341b ldrb.w r3, [r4, #1051] ; 0x41b + 800812c: f88d 303c strb.w r3, [sp, #60] ; 0x3c + 8008130: a90f add r1, sp, #60 ; 0x3c + 8008132: f885 8068 strb.w r8, [r5, #104] ; 0x68 + 8008136: f88d 6044 strb.w r6, [sp, #68] ; 0x44 + 800813a: f002 fa6a bl 800a612 + 800813e: 2302 movs r3, #2 + 8008140: 4640 mov r0, r8 + 8008142: f885 3130 strb.w r3, [r5, #304] ; 0x130 + 8008146: f001 fd8d bl 8009c64 + 800814a: b118 cbz r0, 8008154 + 800814c: 4641 mov r1, r8 + 800814e: 4638 mov r0, r7 + 8008150: f001 fd4c bl 8009bec + 8008154: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f + 8008158: 2b01 cmp r3, #1 + 800815a: f200 81a8 bhi.w 80084ae + 800815e: f894 341a ldrb.w r3, [r4, #1050] ; 0x41a + 8008162: 2b00 cmp r3, #0 + 8008164: f040 819b bne.w 800849e + 8008168: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 800816c: f043 0310 orr.w r3, r3, #16 + 8008170: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8008174: f7fe fd4e bl 8006c14 + 8008178: e665 b.n 8007e46 + 800817a: 2001 movs r0, #1 + 800817c: f001 fd72 bl 8009c64 + 8008180: 2800 cmp r0, #0 + 8008182: d0e7 beq.n 8008154 + 8008184: 2101 movs r1, #1 + 8008186: 2007 movs r0, #7 + 8008188: e7e2 b.n 8008150 + 800818a: 2301 movs r3, #1 + 800818c: f884 3420 strb.w r3, [r4, #1056] ; 0x420 + 8008190: f895 307d ldrb.w r3, [r5, #125] ; 0x7d + 8008194: f88d 302e strb.w r3, [sp, #46] ; 0x2e + 8008198: f894 3424 ldrb.w r3, [r4, #1060] ; 0x424 + 800819c: f88d 302d strb.w r3, [sp, #45] ; 0x2d + 80081a0: f895 308c ldrb.w r3, [r5, #140] ; 0x8c + 80081a4: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 80081a8: 330d adds r3, #13 + 80081aa: a90b add r1, sp, #44 ; 0x2c + 80081ac: f88d 302c strb.w r3, [sp, #44] ; 0x2c + 80081b0: f002 fa14 bl 800a5dc + 80081b4: f1a6 030d sub.w r3, r6, #13 + 80081b8: b21b sxth r3, r3 + 80081ba: 9009 str r0, [sp, #36] ; 0x24 + 80081bc: ea23 73e3 bic.w r3, r3, r3, asr #31 + 80081c0: b200 sxth r0, r0 + 80081c2: 4283 cmp r3, r0 + 80081c4: f73f af36 bgt.w 8008034 + 80081c8: 2e0b cmp r6, #11 + 80081ca: f67f af33 bls.w 8008034 + 80081ce: 4bbb ldr r3, [pc, #748] ; (80084bc ) + 80081d0: 9325 str r3, [sp, #148] ; 0x94 + 80081d2: a81c add r0, sp, #112 ; 0x70 + 80081d4: 23ff movs r3, #255 ; 0xff + 80081d6: 971c str r7, [sp, #112] ; 0x70 + 80081d8: f88d 6074 strb.w r6, [sp, #116] ; 0x74 + 80081dc: f88d 3098 strb.w r3, [sp, #152] ; 0x98 + 80081e0: f002 f8d8 bl 800a394 + 80081e4: 4607 mov r7, r0 + 80081e6: 2800 cmp r0, #0 + 80081e8: f47f af24 bne.w 8008034 + 80081ec: f895 3118 ldrb.w r3, [r5, #280] ; 0x118 + 80081f0: 2b01 cmp r3, #1 + 80081f2: d113 bne.n 800821c + 80081f4: f001 fb70 bl 80098d8 + 80081f8: 2800 cmp r0, #0 + 80081fa: d073 beq.n 80082e4 + 80081fc: 4638 mov r0, r7 + 80081fe: f001 fb60 bl 80098c2 + 8008202: 4638 mov r0, r7 + 8008204: f001 fb62 bl 80098cc + 8008208: 2304 movs r3, #4 + 800820a: f89d 107c ldrb.w r1, [sp, #124] ; 0x7c + 800820e: 981e ldr r0, [sp, #120] ; 0x78 + 8008210: f884 348f strb.w r3, [r4, #1167] ; 0x48f + 8008214: f3c1 1100 ubfx r1, r1, #4, #1 + 8008218: f001 fb77 bl 800990a + 800821c: f89d 307c ldrb.w r3, [sp, #124] ; 0x7c + 8008220: 991e ldr r1, [sp, #120] ; 0x78 + 8008222: f8c4 1434 str.w r1, [r4, #1076] ; 0x434 + 8008226: f013 020f ands.w r2, r3, #15 + 800822a: d003 beq.n 8008234 + 800822c: f89d 0090 ldrb.w r0, [sp, #144] ; 0x90 + 8008230: 2800 cmp r0, #0 + 8008232: d163 bne.n 80082fc + 8008234: f89d 0098 ldrb.w r0, [sp, #152] ; 0x98 + 8008238: 2800 cmp r0, #0 + 800823a: d062 beq.n 8008302 + 800823c: 2a00 cmp r2, #0 + 800823e: f47f aef9 bne.w 8008034 + 8008242: f89d 2090 ldrb.w r2, [sp, #144] ; 0x90 + 8008246: 2a00 cmp r2, #0 + 8008248: bf0c ite eq + 800824a: f04f 0802 moveq.w r8, #2 + 800824e: f04f 0803 movne.w r8, #3 + 8008252: 2200 movs r2, #0 + 8008254: 920a str r2, [sp, #40] ; 0x28 + 8008256: f8d5 20ec ldr.w r2, [r5, #236] ; 0xec + 800825a: 4291 cmp r1, r2 + 800825c: d154 bne.n 8008308 + 800825e: f895 10e9 ldrb.w r1, [r5, #233] ; 0xe9 + 8008262: 2900 cmp r1, #0 + 8008264: d050 beq.n 8008308 + 8008266: f8d5 110c ldr.w r1, [r5, #268] ; 0x10c + 800826a: f895 b0ea ldrb.w fp, [r5, #234] ; 0xea + 800826e: 6809 ldr r1, [r1, #0] + 8008270: 910a str r1, [sp, #40] ; 0x28 + 8008272: f895 1118 ldrb.w r1, [r5, #280] ; 0x118 + 8008276: 2902 cmp r1, #2 + 8008278: d102 bne.n 8008280 + 800827a: 2103 movs r1, #3 + 800827c: f884 148f strb.w r1, [r4, #1167] ; 0x48f + 8008280: f1b8 0f03 cmp.w r8, #3 + 8008284: f47f aed6 bne.w 8008034 + 8008288: f013 0f60 tst.w r3, #96 ; 0x60 + 800828c: f47f aed2 bne.w 8008034 + 8008290: 9205 str r2, [sp, #20] + 8008292: 2701 movs r7, #1 + 8008294: f895 312e ldrb.w r3, [r5, #302] ; 0x12e + 8008298: f1bb 0f00 cmp.w fp, #0 + 800829c: d037 beq.n 800830e + 800829e: f1bb 0f01 cmp.w fp, #1 + 80082a2: d138 bne.n 8008316 + 80082a4: 2b01 cmp r3, #1 + 80082a6: d134 bne.n 8008312 + 80082a8: f06f 0609 mvn.w r6, #9 + 80082ac: fa46 f608 asr.w r6, r6, r8 + 80082b0: f006 0601 and.w r6, r6, #1 + 80082b4: f1c6 0602 rsb r6, r6, #2 + 80082b8: b2f6 uxtb r6, r6 + 80082ba: f8bd 107e ldrh.w r1, [sp, #126] ; 0x7e + 80082be: aa0a add r2, sp, #40 ; 0x28 + 80082c0: 4630 mov r0, r6 + 80082c2: f001 fe2d bl 8009f20 + 80082c6: b340 cbz r0, 800831a + 80082c8: 2807 cmp r0, #7 + 80082ca: bf0c ite eq + 80082cc: 2308 moveq r3, #8 + 80082ce: 2301 movne r3, #1 + 80082d0: f884 3421 strb.w r3, [r4, #1057] ; 0x421 + 80082d4: 9b0a ldr r3, [sp, #40] ; 0x28 + 80082d6: f8c4 3430 str.w r3, [r4, #1072] ; 0x430 + 80082da: f8c4 346c str.w r3, [r4, #1132] ; 0x46c + 80082de: f7fe fce5 bl 8006cac + 80082e2: e5b0 b.n 8007e46 + 80082e4: f001 fafa bl 80098dc + 80082e8: 2800 cmp r0, #0 + 80082ea: d097 beq.n 800821c + 80082ec: 4638 mov r0, r7 + 80082ee: f001 fae9 bl 80098c4 + 80082f2: 4638 mov r0, r7 + 80082f4: f001 faeb bl 80098ce + 80082f8: 2305 movs r3, #5 + 80082fa: e786 b.n 800820a + 80082fc: f04f 0800 mov.w r8, #0 + 8008300: e7a7 b.n 8008252 + 8008302: f04f 0801 mov.w r8, #1 + 8008306: e7a4 b.n 8008252 + 8008308: f04f 0b01 mov.w fp, #1 + 800830c: e7c2 b.n 8008294 + 800830e: 2604 movs r6, #4 + 8008310: e7d3 b.n 80082ba + 8008312: 2603 movs r6, #3 + 8008314: e7d1 b.n 80082ba + 8008316: 2301 movs r3, #1 + 8008318: e7da b.n 80082d0 + 800831a: ab1c add r3, sp, #112 ; 0x70 + 800831c: 9300 str r3, [sp, #0] + 800831e: 9905 ldr r1, [sp, #20] + 8008320: 9b0a ldr r3, [sp, #40] ; 0x28 + 8008322: 4632 mov r2, r6 + 8008324: 4658 mov r0, fp + 8008326: f001 febb bl 800a0a0 + 800832a: b120 cbz r0, 8008336 + 800832c: 2802 cmp r0, #2 + 800832e: bf0c ite eq + 8008330: 230a moveq r3, #10 + 8008332: 230b movne r3, #11 + 8008334: e67f b.n 8008036 + 8008336: 9b0a ldr r3, [sp, #40] ; 0x28 + 8008338: f8c4 3430 str.w r3, [r4, #1072] ; 0x430 + 800833c: f8c4 346c str.w r3, [r4, #1132] ; 0x46c + 8008340: f89d 307c ldrb.w r3, [sp, #124] ; 0x7c + 8008344: f884 0421 strb.w r0, [r4, #1057] ; 0x421 + 8008348: f3c3 1340 ubfx r3, r3, #5, #1 + 800834c: f884 342e strb.w r3, [r4, #1070] ; 0x42e + 8008350: f884 3444 strb.w r3, [r4, #1092] ; 0x444 + 8008354: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f + 8008358: f884 7422 strb.w r7, [r4, #1058] ; 0x422 + 800835c: 2b01 cmp r3, #1 + 800835e: bf9e ittt ls + 8008360: 2201 movls r2, #1 + 8008362: 62a8 strls r0, [r5, #40] ; 0x28 + 8008364: f885 211e strbls.w r2, [r5, #286] ; 0x11e + 8008368: 2f01 cmp r7, #1 + 800836a: f8c4 0428 str.w r0, [r4, #1064] ; 0x428 + 800836e: f884 042c strb.w r0, [r4, #1068] ; 0x42c + 8008372: f884 0441 strb.w r0, [r4, #1089] ; 0x441 + 8008376: d138 bne.n 80083ea + 8008378: 2202 movs r2, #2 + 800837a: f884 2420 strb.w r2, [r4, #1056] ; 0x420 + 800837e: f895 203a ldrb.w r2, [r5, #58] ; 0x3a + 8008382: 2a00 cmp r2, #0 + 8008384: d14a bne.n 800841c + 8008386: f89d 207c ldrb.w r2, [sp, #124] ; 0x7c + 800838a: 06d6 lsls r6, r2, #27 + 800838c: d446 bmi.n 800841c + 800838e: 2b01 cmp r3, #1 + 8008390: f894 1440 ldrb.w r1, [r4, #1088] ; 0x440 + 8008394: f89d 207c ldrb.w r2, [sp, #124] ; 0x7c + 8008398: d805 bhi.n 80083a6 + 800839a: 2901 cmp r1, #1 + 800839c: d101 bne.n 80083a2 + 800839e: 0690 lsls r0, r2, #26 + 80083a0: d501 bpl.n 80083a6 + 80083a2: f001 fb5f bl 8009a64 + 80083a6: f1b8 0f02 cmp.w r8, #2 + 80083aa: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f + 80083ae: d043 beq.n 8008438 + 80083b0: f1b8 0f03 cmp.w r8, #3 + 80083b4: d00a beq.n 80083cc + 80083b6: f89d 107c ldrb.w r1, [sp, #124] ; 0x7c + 80083ba: f1b8 0f01 cmp.w r8, #1 + 80083be: 464a mov r2, r9 + 80083c0: f001 010f and.w r1, r1, #15 + 80083c4: a820 add r0, sp, #128 ; 0x80 + 80083c6: d03b beq.n 8008440 + 80083c8: f7ff f910 bl 80075ec + 80083cc: f89d 3090 ldrb.w r3, [sp, #144] ; 0x90 + 80083d0: f884 3423 strb.w r3, [r4, #1059] ; 0x423 + 80083d4: 9b25 ldr r3, [sp, #148] ; 0x94 + 80083d6: f8c4 3428 str.w r3, [r4, #1064] ; 0x428 + 80083da: f89d 3098 ldrb.w r3, [sp, #152] ; 0x98 + 80083de: f884 342c strb.w r3, [r4, #1068] ; 0x42c + 80083e2: 2301 movs r3, #1 + 80083e4: f884 342d strb.w r3, [r4, #1069] ; 0x42d + 80083e8: e030 b.n 800844c + 80083ea: 9a04 ldr r2, [sp, #16] + 80083ec: f002 02e0 and.w r2, r2, #224 ; 0xe0 + 80083f0: 2aa0 cmp r2, #160 ; 0xa0 + 80083f2: d11b bne.n 800842c + 80083f4: f895 112e ldrb.w r1, [r5, #302] ; 0x12e + 80083f8: 2201 movs r2, #1 + 80083fa: f885 203a strb.w r2, [r5, #58] ; 0x3a + 80083fe: b909 cbnz r1, 8008404 + 8008400: 9927 ldr r1, [sp, #156] ; 0x9c + 8008402: 6369 str r1, [r5, #52] ; 0x34 + 8008404: 2b01 cmp r3, #1 + 8008406: f884 2420 strb.w r2, [r4, #1056] ; 0x420 + 800840a: d907 bls.n 800841c + 800840c: f8d5 2090 ldr.w r2, [r5, #144] ; 0x90 + 8008410: f8c4 243c str.w r2, [r4, #1084] ; 0x43c + 8008414: f8da 2000 ldr.w r2, [sl] + 8008418: f8c4 2498 str.w r2, [r4, #1176] ; 0x498 + 800841c: f895 2118 ldrb.w r2, [r5, #280] ; 0x118 + 8008420: 2a00 cmp r2, #0 + 8008422: d1b4 bne.n 800838e + 8008424: 2201 movs r2, #1 + 8008426: f884 2425 strb.w r2, [r4, #1061] ; 0x425 + 800842a: e7b0 b.n 800838e + 800842c: 2200 movs r2, #0 + 800842e: f885 203a strb.w r2, [r5, #58] ; 0x3a + 8008432: f884 2420 strb.w r2, [r4, #1056] ; 0x420 + 8008436: e7a6 b.n 8008386 + 8008438: f89d 1098 ldrb.w r1, [sp, #152] ; 0x98 + 800843c: 9825 ldr r0, [sp, #148] ; 0x94 + 800843e: 464a mov r2, r9 + 8008440: f7ff f8d4 bl 80075ec + 8008444: f89d 3090 ldrb.w r3, [sp, #144] ; 0x90 + 8008448: f884 3423 strb.w r3, [r4, #1059] ; 0x423 + 800844c: f89d 2090 ldrb.w r2, [sp, #144] ; 0x90 + 8008450: 2ae0 cmp r2, #224 ; 0xe0 + 8008452: d108 bne.n 8008466 + 8008454: f895 311f ldrb.w r3, [r5, #287] ; 0x11f + 8008458: b92b cbnz r3, 8008466 + 800845a: f884 2423 strb.w r2, [r4, #1059] ; 0x423 + 800845e: f8c4 3428 str.w r3, [r4, #1064] ; 0x428 + 8008462: f8a4 342c strh.w r3, [r4, #1068] ; 0x42c + 8008466: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 800846a: f043 0302 orr.w r3, r3, #2 + 800846e: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8008472: e66f b.n 8008154 + 8008474: 4d11 ldr r5, [pc, #68] ; (80084bc ) + 8008476: 3e01 subs r6, #1 + 8008478: b2b2 uxth r2, r6 + 800847a: 1c79 adds r1, r7, #1 + 800847c: 4628 mov r0, r5 + 800847e: f004 f839 bl 800c4f4 + 8008482: 2303 movs r3, #3 + 8008484: f8a4 3420 strh.w r3, [r4, #1056] ; 0x420 + 8008488: f8c4 5428 str.w r5, [r4, #1064] ; 0x428 + 800848c: f884 642c strb.w r6, [r4, #1068] ; 0x42c + 8008490: e7e9 b.n 8008466 + 8008492: 2301 movs r3, #1 + 8008494: f884 3421 strb.w r3, [r4, #1057] ; 0x421 + 8008498: f7fe fc08 bl 8006cac + 800849c: e65a b.n 8008154 + 800849e: f894 3444 ldrb.w r3, [r4, #1092] ; 0x444 + 80084a2: 2b00 cmp r3, #0 + 80084a4: f43f ae60 beq.w 8008168 + 80084a8: 2000 movs r0, #0 + 80084aa: f7fe fbed bl 8006c88 + 80084ae: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f + 80084b2: 2b02 cmp r3, #2 + 80084b4: f43f ae5e beq.w 8008174 + 80084b8: e656 b.n 8008168 + 80084ba: bf00 nop + 80084bc: 20001400 .word 0x20001400 + 80084c0: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 80084c4: 0759 lsls r1, r3, #29 + 80084c6: d515 bpl.n 80084f4 + 80084c8: 2001 movs r0, #1 + 80084ca: f001 fbcb bl 8009c64 + 80084ce: b160 cbz r0, 80084ea + 80084d0: 2001 movs r0, #1 + 80084d2: f001 fb9d bl 8009c10 + 80084d6: b908 cbnz r0, 80084dc + 80084d8: f884 0418 strb.w r0, [r4, #1048] ; 0x418 + 80084dc: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 + 80084e0: f023 0302 bic.w r3, r3, #2 + 80084e4: f8c4 3340 str.w r3, [r4, #832] ; 0x340 + 80084e8: e004 b.n 80084f4 + 80084ea: 2006 movs r0, #6 + 80084ec: f001 fbba bl 8009c64 + 80084f0: 2800 cmp r0, #0 + 80084f2: d1f3 bne.n 80084dc + 80084f4: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 80084f8: 07da lsls r2, r3, #31 + 80084fa: f57f acf9 bpl.w 8007ef0 + 80084fe: f894 2440 ldrb.w r2, [r4, #1088] ; 0x440 + 8008502: b10a cbz r2, 8008508 + 8008504: 2a03 cmp r2, #3 + 8008506: d118 bne.n 800853a + 8008508: 4a1d ldr r2, [pc, #116] ; (8008580 ) + 800850a: f894 1418 ldrb.w r1, [r4, #1048] ; 0x418 + 800850e: f892 2068 ldrb.w r2, [r2, #104] ; 0x68 + 8008512: 4291 cmp r1, r2 + 8008514: d205 bcs.n 8008522 + 8008516: 079b lsls r3, r3, #30 + 8008518: d523 bpl.n 8008562 + 800851a: f894 348f ldrb.w r3, [r4, #1167] ; 0x48f + 800851e: 2b01 cmp r3, #1 + 8008520: d81f bhi.n 8008562 + 8008522: 4818 ldr r0, [pc, #96] ; (8008584 ) + 8008524: f006 fb0a bl 800eb3c + 8008528: f8d4 3340 ldr.w r3, [r4, #832] ; 0x340 + 800852c: f023 0320 bic.w r3, r3, #32 + 8008530: f8c4 3340 str.w r3, [r4, #832] ; 0x340 + 8008534: f7ff fb42 bl 8007bbc + 8008538: e4da b.n 8007ef0 + 800853a: 2a01 cmp r2, #1 + 800853c: d111 bne.n 8008562 + 800853e: f894 2419 ldrb.w r2, [r4, #1049] ; 0x419 + 8008542: 2a00 cmp r2, #0 + 8008544: f43f acd4 beq.w 8007ef0 + 8008548: 4a0d ldr r2, [pc, #52] ; (8008580 ) + 800854a: f894 1418 ldrb.w r1, [r4, #1048] ; 0x418 + 800854e: f892 2068 ldrb.w r2, [r2, #104] ; 0x68 + 8008552: 4291 cmp r1, r2 + 8008554: d2e5 bcs.n 8008522 + 8008556: 079f lsls r7, r3, #30 + 8008558: d503 bpl.n 8008562 + 800855a: f894 3444 ldrb.w r3, [r4, #1092] ; 0x444 + 800855e: 2b00 cmp r3, #0 + 8008560: d1df bne.n 8008522 + 8008562: f894 3491 ldrb.w r3, [r4, #1169] ; 0x491 + 8008566: 2000 movs r0, #0 + 8008568: f36f 1304 bfc r3, #4, #1 + 800856c: f884 3491 strb.w r3, [r4, #1169] ; 0x491 + 8008570: f884 0419 strb.w r0, [r4, #1049] ; 0x419 + 8008574: f7ff fb44 bl 8007c00 + 8008578: e4ba b.n 8007ef0 + 800857a: b029 add sp, #164 ; 0xa4 + 800857c: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8008580: 20000c00 .word 0x20000c00 + 8008584: 20001530 .word 0x20001530 -08008574 : - 8008574: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8008578: 4689 mov r9, r1 - 800857a: b08d sub sp, #52 ; 0x34 - 800857c: 4690 mov r8, r2 - 800857e: 4607 mov r7, r0 - 8008580: 2800 cmp r0, #0 - 8008582: f000 818f beq.w 80088a4 - 8008586: 2900 cmp r1, #0 - 8008588: f000 818c beq.w 80088a4 - 800858c: 6803 ldr r3, [r0, #0] - 800858e: 2b00 cmp r3, #0 - 8008590: f000 8188 beq.w 80088a4 - 8008594: 6843 ldr r3, [r0, #4] - 8008596: 2b00 cmp r3, #0 - 8008598: f000 8184 beq.w 80088a4 - 800859c: 6883 ldr r3, [r0, #8] - 800859e: 2b00 cmp r3, #0 - 80085a0: f000 8180 beq.w 80088a4 - 80085a4: 68c3 ldr r3, [r0, #12] - 80085a6: 2b00 cmp r3, #0 - 80085a8: f000 817c beq.w 80088a4 - 80085ac: 4610 mov r0, r2 - 80085ae: f002 f807 bl 800a5c0 - 80085b2: 2800 cmp r0, #0 - 80085b4: f000 8178 beq.w 80088a8 - 80085b8: 4cbd ldr r4, [pc, #756] ; (80088b0 ) - 80085ba: 4dbe ldr r5, [pc, #760] ; (80088b4 ) - 80085bc: 4638 mov r0, r7 - 80085be: f001 fac1 bl 8009b44 - 80085c2: f240 52c4 movw r2, #1476 ; 0x5c4 - 80085c6: 2100 movs r1, #0 - 80085c8: 4620 mov r0, r4 - 80085ca: f003 ff9d bl 800c508 - 80085ce: f240 521c movw r2, #1308 ; 0x51c - 80085d2: 2100 movs r1, #0 - 80085d4: 4628 mov r0, r5 - 80085d6: f003 ff97 bl 800c508 - 80085da: 4bb7 ldr r3, [pc, #732] ; (80088b8 ) - 80085dc: f8c4 312c str.w r3, [r4, #300] ; 0x12c - 80085e0: f504 7309 add.w r3, r4, #548 ; 0x224 - 80085e4: 9308 str r3, [sp, #32] - 80085e6: f504 730a add.w r3, r4, #552 ; 0x228 - 80085ea: 2600 movs r6, #0 - 80085ec: 4640 mov r0, r8 - 80085ee: 9309 str r3, [sp, #36] ; 0x24 - 80085f0: a908 add r1, sp, #32 - 80085f2: 4bb2 ldr r3, [pc, #712] ; (80088bc ) - 80085f4: f884 8048 strb.w r8, [r4, #72] ; 0x48 - 80085f8: 930a str r3, [sp, #40] ; 0x28 - 80085fa: f884 6118 strb.w r6, [r4, #280] ; 0x118 - 80085fe: f884 608c strb.w r6, [r4, #140] ; 0x8c - 8008602: f88d 602c strb.w r6, [sp, #44] ; 0x2c - 8008606: f001 ffed bl 800a5e4 - 800860a: 230f movs r3, #15 - 800860c: a906 add r1, sp, #24 - 800860e: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008612: f88d 3018 strb.w r3, [sp, #24] - 8008616: f001 ffd7 bl 800a5c8 - 800861a: 1b80 subs r0, r0, r6 - 800861c: bf18 it ne - 800861e: 2001 movne r0, #1 - 8008620: f04f 0b0a mov.w fp, #10 - 8008624: f884 011c strb.w r0, [r4, #284] ; 0x11c - 8008628: a906 add r1, sp, #24 - 800862a: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 800862e: f88d b018 strb.w fp, [sp, #24] - 8008632: f001 ffc9 bl 800a5c8 - 8008636: f04f 0a06 mov.w sl, #6 - 800863a: f884 00dc strb.w r0, [r4, #220] ; 0xdc - 800863e: a906 add r1, sp, #24 - 8008640: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008644: f88d a018 strb.w sl, [sp, #24] - 8008648: f001 ffbe bl 800a5c8 - 800864c: 2310 movs r3, #16 - 800864e: f884 00dd strb.w r0, [r4, #221] ; 0xdd +08008588 : + 8008588: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800858c: 4689 mov r9, r1 + 800858e: b08d sub sp, #52 ; 0x34 + 8008590: 4690 mov r8, r2 + 8008592: 4607 mov r7, r0 + 8008594: 2800 cmp r0, #0 + 8008596: f000 818f beq.w 80088b8 + 800859a: 2900 cmp r1, #0 + 800859c: f000 818c beq.w 80088b8 + 80085a0: 6803 ldr r3, [r0, #0] + 80085a2: 2b00 cmp r3, #0 + 80085a4: f000 8188 beq.w 80088b8 + 80085a8: 6843 ldr r3, [r0, #4] + 80085aa: 2b00 cmp r3, #0 + 80085ac: f000 8184 beq.w 80088b8 + 80085b0: 6883 ldr r3, [r0, #8] + 80085b2: 2b00 cmp r3, #0 + 80085b4: f000 8180 beq.w 80088b8 + 80085b8: 68c3 ldr r3, [r0, #12] + 80085ba: 2b00 cmp r3, #0 + 80085bc: f000 817c beq.w 80088b8 + 80085c0: 4610 mov r0, r2 + 80085c2: f002 f807 bl 800a5d4 + 80085c6: 2800 cmp r0, #0 + 80085c8: f000 8178 beq.w 80088bc + 80085cc: 4cbd ldr r4, [pc, #756] ; (80088c4 ) + 80085ce: 4dbe ldr r5, [pc, #760] ; (80088c8 ) + 80085d0: 4638 mov r0, r7 + 80085d2: f001 fac1 bl 8009b58 + 80085d6: f240 52c4 movw r2, #1476 ; 0x5c4 + 80085da: 2100 movs r1, #0 + 80085dc: 4620 mov r0, r4 + 80085de: f003 ff9d bl 800c51c + 80085e2: f240 521c movw r2, #1308 ; 0x51c + 80085e6: 2100 movs r1, #0 + 80085e8: 4628 mov r0, r5 + 80085ea: f003 ff97 bl 800c51c + 80085ee: 4bb7 ldr r3, [pc, #732] ; (80088cc ) + 80085f0: f8c4 312c str.w r3, [r4, #300] ; 0x12c + 80085f4: f504 7309 add.w r3, r4, #548 ; 0x224 + 80085f8: 9308 str r3, [sp, #32] + 80085fa: f504 730a add.w r3, r4, #552 ; 0x228 + 80085fe: 2600 movs r6, #0 + 8008600: 4640 mov r0, r8 + 8008602: 9309 str r3, [sp, #36] ; 0x24 + 8008604: a908 add r1, sp, #32 + 8008606: 4bb2 ldr r3, [pc, #712] ; (80088d0 ) + 8008608: f884 8048 strb.w r8, [r4, #72] ; 0x48 + 800860c: 930a str r3, [sp, #40] ; 0x28 + 800860e: f884 6118 strb.w r6, [r4, #280] ; 0x118 + 8008612: f884 608c strb.w r6, [r4, #140] ; 0x8c + 8008616: f88d 602c strb.w r6, [sp, #44] ; 0x2c + 800861a: f001 ffed bl 800a5f8 + 800861e: 230f movs r3, #15 + 8008620: a906 add r1, sp, #24 + 8008622: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8008626: f88d 3018 strb.w r3, [sp, #24] + 800862a: f001 ffd7 bl 800a5dc + 800862e: 1b80 subs r0, r0, r6 + 8008630: bf18 it ne + 8008632: 2001 movne r0, #1 + 8008634: f04f 0b0a mov.w fp, #10 + 8008638: f884 011c strb.w r0, [r4, #284] ; 0x11c + 800863c: a906 add r1, sp, #24 + 800863e: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8008642: f88d b018 strb.w fp, [sp, #24] + 8008646: f001 ffc9 bl 800a5dc + 800864a: f04f 0a06 mov.w sl, #6 + 800864e: f884 00dc strb.w r0, [r4, #220] ; 0xdc 8008652: a906 add r1, sp, #24 8008654: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008658: f88d 3018 strb.w r3, [sp, #24] - 800865c: f001 ffb4 bl 800a5c8 - 8008660: 2311 movs r3, #17 - 8008662: f8c4 009c str.w r0, [r4, #156] ; 0x9c + 8008658: f88d a018 strb.w sl, [sp, #24] + 800865c: f001 ffbe bl 800a5dc + 8008660: 2310 movs r3, #16 + 8008662: f884 00dd strb.w r0, [r4, #221] ; 0xdd 8008666: a906 add r1, sp, #24 8008668: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 800866c: f88d 3018 strb.w r3, [sp, #24] - 8008670: f001 ffaa bl 800a5c8 - 8008674: 2312 movs r3, #18 - 8008676: f8c4 00a0 str.w r0, [r4, #160] ; 0xa0 + 8008670: f001 ffb4 bl 800a5dc + 8008674: 2311 movs r3, #17 + 8008676: f8c4 009c str.w r0, [r4, #156] ; 0x9c 800867a: a906 add r1, sp, #24 800867c: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 8008680: f88d 3018 strb.w r3, [sp, #24] - 8008684: f001 ffa0 bl 800a5c8 - 8008688: 2313 movs r3, #19 - 800868a: f8c4 00a4 str.w r0, [r4, #164] ; 0xa4 + 8008684: f001 ffaa bl 800a5dc + 8008688: 2312 movs r3, #18 + 800868a: f8c4 00a0 str.w r0, [r4, #160] ; 0xa0 800868e: a906 add r1, sp, #24 8008690: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 8008694: f88d 3018 strb.w r3, [sp, #24] - 8008698: f001 ff96 bl 800a5c8 - 800869c: 2314 movs r3, #20 - 800869e: f8c4 00a8 str.w r0, [r4, #168] ; 0xa8 + 8008698: f001 ffa0 bl 800a5dc + 800869c: 2313 movs r3, #19 + 800869e: f8c4 00a4 str.w r0, [r4, #164] ; 0xa4 80086a2: a906 add r1, sp, #24 80086a4: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 80086a8: f88d 3018 strb.w r3, [sp, #24] - 80086ac: f001 ff8c bl 800a5c8 - 80086b0: 2316 movs r3, #22 - 80086b2: f8c4 00ac str.w r0, [r4, #172] ; 0xac + 80086ac: f001 ff96 bl 800a5dc + 80086b0: 2314 movs r3, #20 + 80086b2: f8c4 00a8 str.w r0, [r4, #168] ; 0xa8 80086b6: a906 add r1, sp, #24 80086b8: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 80086bc: f88d 3018 strb.w r3, [sp, #24] - 80086c0: f001 ff82 bl 800a5c8 - 80086c4: 2317 movs r3, #23 - 80086c6: f884 00b1 strb.w r0, [r4, #177] ; 0xb1 + 80086c0: f001 ff8c bl 800a5dc + 80086c4: 2316 movs r3, #22 + 80086c6: f8c4 00ac str.w r0, [r4, #172] ; 0xac 80086ca: a906 add r1, sp, #24 80086cc: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 80086d0: f88d 3018 strb.w r3, [sp, #24] - 80086d4: f001 ff78 bl 800a5c8 - 80086d8: 2318 movs r3, #24 - 80086da: eb0d 0103 add.w r1, sp, r3 - 80086de: f8c4 00b4 str.w r0, [r4, #180] ; 0xb4 - 80086e2: f8c4 00bc str.w r0, [r4, #188] ; 0xbc - 80086e6: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 80086ea: f88d 3018 strb.w r3, [sp, #24] - 80086ee: f001 ff6b bl 800a5c8 - 80086f2: b2c0 uxtb r0, r0 - 80086f4: 231d movs r3, #29 - 80086f6: f884 00b8 strb.w r0, [r4, #184] ; 0xb8 - 80086fa: f884 00c0 strb.w r0, [r4, #192] ; 0xc0 - 80086fe: a906 add r1, sp, #24 - 8008700: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008704: f88d 3018 strb.w r3, [sp, #24] - 8008708: f001 ff5e bl 800a5c8 - 800870c: 231e movs r3, #30 - 800870e: f884 00c4 strb.w r0, [r4, #196] ; 0xc4 + 80086d4: f001 ff82 bl 800a5dc + 80086d8: 2317 movs r3, #23 + 80086da: f884 00b1 strb.w r0, [r4, #177] ; 0xb1 + 80086de: a906 add r1, sp, #24 + 80086e0: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 80086e4: f88d 3018 strb.w r3, [sp, #24] + 80086e8: f001 ff78 bl 800a5dc + 80086ec: 2318 movs r3, #24 + 80086ee: eb0d 0103 add.w r1, sp, r3 + 80086f2: f8c4 00b4 str.w r0, [r4, #180] ; 0xb4 + 80086f6: f8c4 00bc str.w r0, [r4, #188] ; 0xbc + 80086fa: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 80086fe: f88d 3018 strb.w r3, [sp, #24] + 8008702: f001 ff6b bl 800a5dc + 8008706: b2c0 uxtb r0, r0 + 8008708: 231d movs r3, #29 + 800870a: f884 00b8 strb.w r0, [r4, #184] ; 0xb8 + 800870e: f884 00c0 strb.w r0, [r4, #192] ; 0xc0 8008712: a906 add r1, sp, #24 8008714: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 8008718: f88d 3018 strb.w r3, [sp, #24] - 800871c: f001 ff54 bl 800a5c8 - 8008720: 231f movs r3, #31 - 8008722: f884 00c5 strb.w r0, [r4, #197] ; 0xc5 + 800871c: f001 ff5e bl 800a5dc + 8008720: 231e movs r3, #30 + 8008722: f884 00c4 strb.w r0, [r4, #196] ; 0xc4 8008726: a906 add r1, sp, #24 8008728: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 800872c: f88d 3018 strb.w r3, [sp, #24] - 8008730: f001 ff4a bl 800a5c8 - 8008734: 2320 movs r3, #32 - 8008736: f8c4 00c8 str.w r0, [r4, #200] ; 0xc8 + 8008730: f001 ff54 bl 800a5dc + 8008734: 231f movs r3, #31 + 8008736: f884 00c5 strb.w r0, [r4, #197] ; 0xc5 800873a: a906 add r1, sp, #24 800873c: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 8008740: f88d 3018 strb.w r3, [sp, #24] - 8008744: f001 ff40 bl 800a5c8 - 8008748: 230b movs r3, #11 - 800874a: f8c4 00cc str.w r0, [r4, #204] ; 0xcc + 8008744: f001 ff4a bl 800a5dc + 8008748: 2320 movs r3, #32 + 800874a: f8c4 00c8 str.w r0, [r4, #200] ; 0xc8 800874e: a906 add r1, sp, #24 8008750: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 8008754: f88d 3018 strb.w r3, [sp, #24] - 8008758: f001 ff36 bl 800a5c8 - 800875c: 230c movs r3, #12 - 800875e: a906 add r1, sp, #24 - 8008760: f8a4 00d0 strh.w r0, [r4, #208] ; 0xd0 + 8008758: f001 ff40 bl 800a5dc + 800875c: 230b movs r3, #11 + 800875e: f8c4 00cc str.w r0, [r4, #204] ; 0xcc + 8008762: a906 add r1, sp, #24 8008764: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 8008768: f88d 3018 strb.w r3, [sp, #24] - 800876c: f001 ff2c bl 800a5c8 - 8008770: f8d4 309c ldr.w r3, [r4, #156] ; 0x9c - 8008774: 6563 str r3, [r4, #84] ; 0x54 - 8008776: f8d4 30a0 ldr.w r3, [r4, #160] ; 0xa0 - 800877a: 65a3 str r3, [r4, #88] ; 0x58 - 800877c: f8d4 30a4 ldr.w r3, [r4, #164] ; 0xa4 - 8008780: 65e3 str r3, [r4, #92] ; 0x5c - 8008782: f8d4 30a8 ldr.w r3, [r4, #168] ; 0xa8 - 8008786: 6623 str r3, [r4, #96] ; 0x60 - 8008788: f04f 0801 mov.w r8, #1 - 800878c: f8d4 30ac ldr.w r3, [r4, #172] ; 0xac - 8008790: 9005 str r0, [sp, #20] - 8008792: f8a4 00d2 strh.w r0, [r4, #210] ; 0xd2 - 8008796: 6663 str r3, [r4, #100] ; 0x64 - 8008798: f884 80b0 strb.w r8, [r4, #176] ; 0xb0 - 800879c: f8c4 b094 str.w fp, [r4, #148] ; 0x94 - 80087a0: f884 a098 strb.w sl, [r4, #152] ; 0x98 - 80087a4: f8c4 b04c str.w fp, [r4, #76] ; 0x4c - 80087a8: f884 a050 strb.w sl, [r4, #80] ; 0x50 - 80087ac: f884 8068 strb.w r8, [r4, #104] ; 0x68 - 80087b0: f884 811f strb.w r8, [r4, #287] ; 0x11f - 80087b4: f8c5 9348 str.w r9, [r5, #840] ; 0x348 - 80087b8: f7fe fd7a bl 80072b0 - 80087bc: 4b40 ldr r3, [pc, #256] ; (80088c0 ) - 80087be: 9600 str r6, [sp, #0] - 80087c0: 4632 mov r2, r6 - 80087c2: f04f 31ff mov.w r1, #4294967295 - 80087c6: f505 705a add.w r0, r5, #872 ; 0x368 - 80087ca: f8c5 7344 str.w r7, [r5, #836] ; 0x344 - 80087ce: e9c4 660b strd r6, r6, [r4, #44] ; 0x2c - 80087d2: f884 8119 strb.w r8, [r4, #281] ; 0x119 - 80087d6: f885 6491 strb.w r6, [r5, #1169] ; 0x491 - 80087da: f8c5 8340 str.w r8, [r5, #832] ; 0x340 - 80087de: f006 f945 bl 800ea6c - 80087e2: 4b38 ldr r3, [pc, #224] ; (80088c4 ) - 80087e4: 9600 str r6, [sp, #0] - 80087e6: 4632 mov r2, r6 - 80087e8: f04f 31ff mov.w r1, #4294967295 - 80087ec: f505 7060 add.w r0, r5, #896 ; 0x380 - 80087f0: f006 f93c bl 800ea6c - 80087f4: 4b34 ldr r3, [pc, #208] ; (80088c8 ) - 80087f6: 9600 str r6, [sp, #0] - 80087f8: 4632 mov r2, r6 - 80087fa: f04f 31ff mov.w r1, #4294967295 - 80087fe: f505 7066 add.w r0, r5, #920 ; 0x398 - 8008802: f006 f933 bl 800ea6c - 8008806: af02 add r7, sp, #8 - 8008808: 4b30 ldr r3, [pc, #192] ; (80088cc ) + 800876c: f001 ff36 bl 800a5dc + 8008770: 230c movs r3, #12 + 8008772: a906 add r1, sp, #24 + 8008774: f8a4 00d0 strh.w r0, [r4, #208] ; 0xd0 + 8008778: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 800877c: f88d 3018 strb.w r3, [sp, #24] + 8008780: f001 ff2c bl 800a5dc + 8008784: f8d4 309c ldr.w r3, [r4, #156] ; 0x9c + 8008788: 6563 str r3, [r4, #84] ; 0x54 + 800878a: f8d4 30a0 ldr.w r3, [r4, #160] ; 0xa0 + 800878e: 65a3 str r3, [r4, #88] ; 0x58 + 8008790: f8d4 30a4 ldr.w r3, [r4, #164] ; 0xa4 + 8008794: 65e3 str r3, [r4, #92] ; 0x5c + 8008796: f8d4 30a8 ldr.w r3, [r4, #168] ; 0xa8 + 800879a: 6623 str r3, [r4, #96] ; 0x60 + 800879c: f04f 0801 mov.w r8, #1 + 80087a0: f8d4 30ac ldr.w r3, [r4, #172] ; 0xac + 80087a4: 9005 str r0, [sp, #20] + 80087a6: f8a4 00d2 strh.w r0, [r4, #210] ; 0xd2 + 80087aa: 6663 str r3, [r4, #100] ; 0x64 + 80087ac: f884 80b0 strb.w r8, [r4, #176] ; 0xb0 + 80087b0: f8c4 b094 str.w fp, [r4, #148] ; 0x94 + 80087b4: f884 a098 strb.w sl, [r4, #152] ; 0x98 + 80087b8: f8c4 b04c str.w fp, [r4, #76] ; 0x4c + 80087bc: f884 a050 strb.w sl, [r4, #80] ; 0x50 + 80087c0: f884 8068 strb.w r8, [r4, #104] ; 0x68 + 80087c4: f884 811f strb.w r8, [r4, #287] ; 0x11f + 80087c8: f8c5 9348 str.w r9, [r5, #840] ; 0x348 + 80087cc: f7fe fd7a bl 80072c4 + 80087d0: 4b40 ldr r3, [pc, #256] ; (80088d4 ) + 80087d2: 9600 str r6, [sp, #0] + 80087d4: 4632 mov r2, r6 + 80087d6: f04f 31ff mov.w r1, #4294967295 + 80087da: f505 705a add.w r0, r5, #872 ; 0x368 + 80087de: f8c5 7344 str.w r7, [r5, #836] ; 0x344 + 80087e2: e9c4 660b strd r6, r6, [r4, #44] ; 0x2c + 80087e6: f884 8119 strb.w r8, [r4, #281] ; 0x119 + 80087ea: f885 6491 strb.w r6, [r5, #1169] ; 0x491 + 80087ee: f8c5 8340 str.w r8, [r5, #832] ; 0x340 + 80087f2: f006 f945 bl 800ea80 + 80087f6: 4b38 ldr r3, [pc, #224] ; (80088d8 ) + 80087f8: 9600 str r6, [sp, #0] + 80087fa: 4632 mov r2, r6 + 80087fc: f04f 31ff mov.w r1, #4294967295 + 8008800: f505 7060 add.w r0, r5, #896 ; 0x380 + 8008804: f006 f93c bl 800ea80 + 8008808: 4b34 ldr r3, [pc, #208] ; (80088dc ) 800880a: 9600 str r6, [sp, #0] 800880c: 4632 mov r2, r6 800880e: f04f 31ff mov.w r1, #4294967295 - 8008812: f505 6080 add.w r0, r5, #1024 ; 0x400 - 8008816: f006 f929 bl 800ea6c - 800881a: 4638 mov r0, r7 - 800881c: f006 f8ba bl 800e994 - 8008820: e897 0003 ldmia.w r7, {r0, r1} - 8008824: f504 7392 add.w r3, r4, #292 ; 0x124 - 8008828: e883 0003 stmia.w r3, {r0, r1} - 800882c: 4b28 ldr r3, [pc, #160] ; (80088d0 ) - 800882e: 4f29 ldr r7, [pc, #164] ; (80088d4 ) - 8008830: 601e str r6, [r3, #0] - 8008832: 4b29 ldr r3, [pc, #164] ; (80088d8 ) - 8008834: f8c5 334c str.w r3, [r5, #844] ; 0x34c - 8008838: 4b28 ldr r3, [pc, #160] ; (80088dc ) - 800883a: f8c5 3354 str.w r3, [r5, #852] ; 0x354 - 800883e: 4b28 ldr r3, [pc, #160] ; (80088e0 ) - 8008840: f8c5 335c str.w r3, [r5, #860] ; 0x35c - 8008844: 4b27 ldr r3, [pc, #156] ; (80088e4 ) - 8008846: f8c5 3350 str.w r3, [r5, #848] ; 0x350 - 800884a: 4b27 ldr r3, [pc, #156] ; (80088e8 ) - 800884c: f8c5 3358 str.w r3, [r5, #856] ; 0x358 - 8008850: f505 7053 add.w r0, r5, #844 ; 0x34c - 8008854: 683b ldr r3, [r7, #0] - 8008856: 4798 blx r3 - 8008858: f504 70a6 add.w r0, r4, #332 ; 0x14c - 800885c: f003 fb88 bl 800bf70 - 8008860: b120 cbz r0, 800886c - 8008862: 2611 movs r6, #17 - 8008864: 4630 mov r0, r6 - 8008866: b00d add sp, #52 ; 0x34 - 8008868: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800886c: 4620 mov r0, r4 - 800886e: f001 fb1d bl 8009eac - 8008872: 2800 cmp r0, #0 - 8008874: d1f5 bne.n 8008862 - 8008876: f001 f841 bl 80098fc - 800887a: b9b8 cbnz r0, 80088ac - 800887c: 481b ldr r0, [pc, #108] ; (80088ec ) - 800887e: f001 fb67 bl 8009f50 - 8008882: 4606 mov r6, r0 - 8008884: 2800 cmp r0, #0 - 8008886: d1ec bne.n 8008862 - 8008888: 697b ldr r3, [r7, #20] - 800888a: 4798 blx r3 - 800888c: f003 fe06 bl 800c49c - 8008890: 6dbb ldr r3, [r7, #88] ; 0x58 - 8008892: f894 0119 ldrb.w r0, [r4, #281] ; 0x119 - 8008896: 4798 blx r3 - 8008898: 6afb ldr r3, [r7, #44] ; 0x2c - 800889a: 4798 blx r3 - 800889c: 2301 movs r3, #1 - 800889e: f885 3492 strb.w r3, [r5, #1170] ; 0x492 - 80088a2: e7df b.n 8008864 - 80088a4: 2603 movs r6, #3 - 80088a6: e7dd b.n 8008864 - 80088a8: 2609 movs r6, #9 - 80088aa: e7db b.n 8008864 - 80088ac: 2613 movs r6, #19 - 80088ae: e7d9 b.n 8008864 - 80088b0: 20000c00 .word 0x20000c00 - 80088b4: 200011c8 .word 0x200011c8 - 80088b8: 01000400 .word 0x01000400 - 80088bc: 200016e4 .word 0x200016e4 - 80088c0: 08007bed .word 0x08007bed - 80088c4: 0800744d .word 0x0800744d - 80088c8: 08007495 .word 0x08007495 - 80088cc: 08006c75 .word 0x08006c75 - 80088d0: 200011c4 .word 0x200011c4 - 80088d4: 0800f9e4 .word 0x0800f9e4 - 80088d8: 08006e99 .word 0x08006e99 - 80088dc: 08006e4d .word 0x08006e4d - 80088e0: 08006c31 .word 0x08006c31 - 80088e4: 08006e25 .word 0x08006e25 - 80088e8: 08006dfd .word 0x08006dfd - 80088ec: 20000ce8 .word 0x20000ce8 + 8008812: f505 7066 add.w r0, r5, #920 ; 0x398 + 8008816: f006 f933 bl 800ea80 + 800881a: af02 add r7, sp, #8 + 800881c: 4b30 ldr r3, [pc, #192] ; (80088e0 ) + 800881e: 9600 str r6, [sp, #0] + 8008820: 4632 mov r2, r6 + 8008822: f04f 31ff mov.w r1, #4294967295 + 8008826: f505 6080 add.w r0, r5, #1024 ; 0x400 + 800882a: f006 f929 bl 800ea80 + 800882e: 4638 mov r0, r7 + 8008830: f006 f8ba bl 800e9a8 + 8008834: e897 0003 ldmia.w r7, {r0, r1} + 8008838: f504 7392 add.w r3, r4, #292 ; 0x124 + 800883c: e883 0003 stmia.w r3, {r0, r1} + 8008840: 4b28 ldr r3, [pc, #160] ; (80088e4 ) + 8008842: 4f29 ldr r7, [pc, #164] ; (80088e8 ) + 8008844: 601e str r6, [r3, #0] + 8008846: 4b29 ldr r3, [pc, #164] ; (80088ec ) + 8008848: f8c5 334c str.w r3, [r5, #844] ; 0x34c + 800884c: 4b28 ldr r3, [pc, #160] ; (80088f0 ) + 800884e: f8c5 3354 str.w r3, [r5, #852] ; 0x354 + 8008852: 4b28 ldr r3, [pc, #160] ; (80088f4 ) + 8008854: f8c5 335c str.w r3, [r5, #860] ; 0x35c + 8008858: 4b27 ldr r3, [pc, #156] ; (80088f8 ) + 800885a: f8c5 3350 str.w r3, [r5, #848] ; 0x350 + 800885e: 4b27 ldr r3, [pc, #156] ; (80088fc ) + 8008860: f8c5 3358 str.w r3, [r5, #856] ; 0x358 + 8008864: f505 7053 add.w r0, r5, #844 ; 0x34c + 8008868: 683b ldr r3, [r7, #0] + 800886a: 4798 blx r3 + 800886c: f504 70a6 add.w r0, r4, #332 ; 0x14c + 8008870: f003 fb88 bl 800bf84 + 8008874: b120 cbz r0, 8008880 + 8008876: 2611 movs r6, #17 + 8008878: 4630 mov r0, r6 + 800887a: b00d add sp, #52 ; 0x34 + 800887c: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8008880: 4620 mov r0, r4 + 8008882: f001 fb1d bl 8009ec0 + 8008886: 2800 cmp r0, #0 + 8008888: d1f5 bne.n 8008876 + 800888a: f001 f841 bl 8009910 + 800888e: b9b8 cbnz r0, 80088c0 + 8008890: 481b ldr r0, [pc, #108] ; (8008900 ) + 8008892: f001 fb67 bl 8009f64 + 8008896: 4606 mov r6, r0 + 8008898: 2800 cmp r0, #0 + 800889a: d1ec bne.n 8008876 + 800889c: 697b ldr r3, [r7, #20] + 800889e: 4798 blx r3 + 80088a0: f003 fe06 bl 800c4b0 + 80088a4: 6dbb ldr r3, [r7, #88] ; 0x58 + 80088a6: f894 0119 ldrb.w r0, [r4, #281] ; 0x119 + 80088aa: 4798 blx r3 + 80088ac: 6afb ldr r3, [r7, #44] ; 0x2c + 80088ae: 4798 blx r3 + 80088b0: 2301 movs r3, #1 + 80088b2: f885 3492 strb.w r3, [r5, #1170] ; 0x492 + 80088b6: e7df b.n 8008878 + 80088b8: 2603 movs r6, #3 + 80088ba: e7dd b.n 8008878 + 80088bc: 2609 movs r6, #9 + 80088be: e7db b.n 8008878 + 80088c0: 2613 movs r6, #19 + 80088c2: e7d9 b.n 8008878 + 80088c4: 20000c00 .word 0x20000c00 + 80088c8: 200011c8 .word 0x200011c8 + 80088cc: 01000400 .word 0x01000400 + 80088d0: 200016e4 .word 0x200016e4 + 80088d4: 08007c01 .word 0x08007c01 + 80088d8: 08007461 .word 0x08007461 + 80088dc: 080074a9 .word 0x080074a9 + 80088e0: 08006c89 .word 0x08006c89 + 80088e4: 200011c4 .word 0x200011c4 + 80088e8: 0800f9f4 .word 0x0800f9f4 + 80088ec: 08006ead .word 0x08006ead + 80088f0: 08006e61 .word 0x08006e61 + 80088f4: 08006c45 .word 0x08006c45 + 80088f8: 08006e39 .word 0x08006e39 + 80088fc: 08006e11 .word 0x08006e11 + 8008900: 20000ce8 .word 0x20000ce8 -080088f0 : - 80088f0: b508 push {r3, lr} - 80088f2: 4b03 ldr r3, [pc, #12] ; (8008900 ) - 80088f4: 2000 movs r0, #0 - 80088f6: f8c3 0340 str.w r0, [r3, #832] ; 0x340 - 80088fa: f7fe f981 bl 8006c00 - 80088fe: bd08 pop {r3, pc} - 8008900: 200011c8 .word 0x200011c8 +08008904 : + 8008904: b508 push {r3, lr} + 8008906: 4b03 ldr r3, [pc, #12] ; (8008914 ) + 8008908: 2000 movs r0, #0 + 800890a: f8c3 0340 str.w r0, [r3, #832] ; 0x340 + 800890e: f7fe f981 bl 8006c14 + 8008912: bd08 pop {r3, pc} + 8008914: 200011c8 .word 0x200011c8 -08008904 : - 8008904: b510 push {r4, lr} - 8008906: f7ff f9a7 bl 8007c58 - 800890a: 4c0a ldr r4, [pc, #40] ; (8008934 ) - 800890c: b960 cbnz r0, 8008928 - 800890e: 4b0a ldr r3, [pc, #40] ; (8008938 ) - 8008910: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 - 8008914: 2b02 cmp r3, #2 - 8008916: d102 bne.n 800891e - 8008918: 4b08 ldr r3, [pc, #32] ; (800893c ) - 800891a: 6adb ldr r3, [r3, #44] ; 0x2c - 800891c: 4798 blx r3 - 800891e: 2301 movs r3, #1 - 8008920: f8c4 3340 str.w r3, [r4, #832] ; 0x340 - 8008924: 2000 movs r0, #0 - 8008926: bd10 pop {r4, pc} - 8008928: f8d4 0340 ldr.w r0, [r4, #832] ; 0x340 - 800892c: 3801 subs r0, #1 - 800892e: bf18 it ne - 8008930: 2001 movne r0, #1 - 8008932: e7f8 b.n 8008926 - 8008934: 200011c8 .word 0x200011c8 - 8008938: 20000c00 .word 0x20000c00 - 800893c: 0800f9e4 .word 0x0800f9e4 +08008918 : + 8008918: b510 push {r4, lr} + 800891a: f7ff f9a7 bl 8007c6c + 800891e: 4c0a ldr r4, [pc, #40] ; (8008948 ) + 8008920: b960 cbnz r0, 800893c + 8008922: 4b0a ldr r3, [pc, #40] ; (800894c ) + 8008924: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 + 8008928: 2b02 cmp r3, #2 + 800892a: d102 bne.n 8008932 + 800892c: 4b08 ldr r3, [pc, #32] ; (8008950 ) + 800892e: 6adb ldr r3, [r3, #44] ; 0x2c + 8008930: 4798 blx r3 + 8008932: 2301 movs r3, #1 + 8008934: f8c4 3340 str.w r3, [r4, #832] ; 0x340 + 8008938: 2000 movs r0, #0 + 800893a: bd10 pop {r4, pc} + 800893c: f8d4 0340 ldr.w r0, [r4, #832] ; 0x340 + 8008940: 3801 subs r0, #1 + 8008942: bf18 it ne + 8008944: 2001 movne r0, #1 + 8008946: e7f8 b.n 800893a + 8008948: 200011c8 .word 0x200011c8 + 800894c: 20000c00 .word 0x20000c00 + 8008950: 0800f9f4 .word 0x0800f9f4 -08008940 : - 8008940: b538 push {r3, r4, r5, lr} - 8008942: 4c13 ldr r4, [pc, #76] ; (8008990 ) - 8008944: f504 705a add.w r0, r4, #872 ; 0x368 - 8008948: f006 f8ee bl 800eb28 - 800894c: f504 7060 add.w r0, r4, #896 ; 0x380 - 8008950: f006 f8ea bl 800eb28 - 8008954: f504 7066 add.w r0, r4, #920 ; 0x398 - 8008958: f006 f8e6 bl 800eb28 - 800895c: f504 6080 add.w r0, r4, #1024 ; 0x400 - 8008960: f006 f8e2 bl 800eb28 - 8008964: f000 ffb5 bl 80098d2 - 8008968: 4b0a ldr r3, [pc, #40] ; (8008994 ) - 800896a: 2500 movs r5, #0 - 800896c: 6adb ldr r3, [r3, #44] ; 0x2c - 800896e: 4798 blx r3 - 8008970: f8c4 5340 str.w r5, [r4, #832] ; 0x340 - 8008974: f7fe fdb6 bl 80074e4 - 8008978: 4907 ldr r1, [pc, #28] ; (8008998 ) - 800897a: 4808 ldr r0, [pc, #32] ; (800899c ) - 800897c: f240 52c4 movw r2, #1476 ; 0x5c4 - 8008980: f003 fdae bl 800c4e0 - 8008984: 2301 movs r3, #1 - 8008986: f8c4 3340 str.w r3, [r4, #832] ; 0x340 - 800898a: 4628 mov r0, r5 - 800898c: bd38 pop {r3, r4, r5, pc} - 800898e: bf00 nop - 8008990: 200011c8 .word 0x200011c8 - 8008994: 0800f9e4 .word 0x0800f9e4 - 8008998: 20000c00 .word 0x20000c00 - 800899c: 2000063c .word 0x2000063c +08008954 : + 8008954: b538 push {r3, r4, r5, lr} + 8008956: 4c13 ldr r4, [pc, #76] ; (80089a4 ) + 8008958: f504 705a add.w r0, r4, #872 ; 0x368 + 800895c: f006 f8ee bl 800eb3c + 8008960: f504 7060 add.w r0, r4, #896 ; 0x380 + 8008964: f006 f8ea bl 800eb3c + 8008968: f504 7066 add.w r0, r4, #920 ; 0x398 + 800896c: f006 f8e6 bl 800eb3c + 8008970: f504 6080 add.w r0, r4, #1024 ; 0x400 + 8008974: f006 f8e2 bl 800eb3c + 8008978: f000 ffb5 bl 80098e6 + 800897c: 4b0a ldr r3, [pc, #40] ; (80089a8 ) + 800897e: 2500 movs r5, #0 + 8008980: 6adb ldr r3, [r3, #44] ; 0x2c + 8008982: 4798 blx r3 + 8008984: f8c4 5340 str.w r5, [r4, #832] ; 0x340 + 8008988: f7fe fdb6 bl 80074f8 + 800898c: 4907 ldr r1, [pc, #28] ; (80089ac ) + 800898e: 4808 ldr r0, [pc, #32] ; (80089b0 ) + 8008990: f240 52c4 movw r2, #1476 ; 0x5c4 + 8008994: f003 fdae bl 800c4f4 + 8008998: 2301 movs r3, #1 + 800899a: f8c4 3340 str.w r3, [r4, #832] ; 0x340 + 800899e: 4628 mov r0, r5 + 80089a0: bd38 pop {r3, r4, r5, pc} + 80089a2: bf00 nop + 80089a4: 200011c8 .word 0x200011c8 + 80089a8: 0800f9f4 .word 0x0800f9f4 + 80089ac: 20000c00 .word 0x20000c00 + 80089b0: 2000063c .word 0x2000063c -080089a0 : - 80089a0: b570 push {r4, r5, r6, lr} - 80089a2: 4b2e ldr r3, [pc, #184] ; (8008a5c ) - 80089a4: b08a sub sp, #40 ; 0x28 - 80089a6: 4605 mov r5, r0 - 80089a8: f893 00dd ldrb.w r0, [r3, #221] ; 0xdd - 80089ac: f88d 0009 strb.w r0, [sp, #9] - 80089b0: f893 00dc ldrb.w r0, [r3, #220] ; 0xdc - 80089b4: f88d 000a strb.w r0, [sp, #10] - 80089b8: 4829 ldr r0, [pc, #164] ; (8008a60 ) - 80089ba: 6a9a ldr r2, [r3, #40] ; 0x28 - 80089bc: f890 0418 ldrb.w r0, [r0, #1048] ; 0x418 - 80089c0: 9203 str r2, [sp, #12] - 80089c2: 2600 movs r6, #0 - 80089c4: f88d 000b strb.w r0, [sp, #11] - 80089c8: 9604 str r6, [sp, #16] - 80089ca: 460c mov r4, r1 - 80089cc: 2900 cmp r1, #0 - 80089ce: d040 beq.n 8008a52 - 80089d0: 9206 str r2, [sp, #24] - 80089d2: f8d3 2088 ldr.w r2, [r3, #136] ; 0x88 - 80089d6: 9207 str r2, [sp, #28] - 80089d8: 8f1a ldrh r2, [r3, #56] ; 0x38 - 80089da: f893 111a ldrb.w r1, [r3, #282] ; 0x11a - 80089de: f88d 1015 strb.w r1, [sp, #21] - 80089e2: ba52 rev16 r2, r2 - 80089e4: f8ad 2020 strh.w r2, [sp, #32] - 80089e8: f893 207c ldrb.w r2, [r3, #124] ; 0x7c - 80089ec: f893 3048 ldrb.w r3, [r3, #72] ; 0x48 - 80089f0: f88d 3024 strb.w r3, [sp, #36] ; 0x24 - 80089f4: ab03 add r3, sp, #12 - 80089f6: f88d 0022 strb.w r0, [sp, #34] ; 0x22 - 80089fa: f88d 2023 strb.w r2, [sp, #35] ; 0x23 - 80089fe: 9300 str r3, [sp, #0] - 8008a00: f10d 020a add.w r2, sp, #10 - 8008a04: f10d 030b add.w r3, sp, #11 - 8008a08: f10d 0109 add.w r1, sp, #9 - 8008a0c: a805 add r0, sp, #20 - 8008a0e: f88d 6014 strb.w r6, [sp, #20] - 8008a12: f000 fedd bl 80097d0 - 8008a16: f99d 0009 ldrsb.w r0, [sp, #9] - 8008a1a: f7fe f913 bl 8006c44 - 8008a1e: 7060 strb r0, [r4, #1] - 8008a20: a804 add r0, sp, #16 - 8008a22: f001 f82b bl 8009a7c - 8008a26: b9b0 cbnz r0, 8008a56 - 8008a28: 9a04 ldr r2, [sp, #16] - 8008a2a: 2a0f cmp r2, #15 - 8008a2c: d80d bhi.n 8008a4a - 8008a2e: 7863 ldrb r3, [r4, #1] - 8008a30: 429a cmp r2, r3 - 8008a32: d80a bhi.n 8008a4a - 8008a34: 4415 add r5, r2 - 8008a36: 42ab cmp r3, r5 - 8008a38: eba3 0102 sub.w r1, r3, r2 - 8008a3c: bf2c ite cs - 8008a3e: 2000 movcs r0, #0 - 8008a40: 2001 movcc r0, #1 - 8008a42: 7021 strb r1, [r4, #0] - 8008a44: 00c0 lsls r0, r0, #3 - 8008a46: b00a add sp, #40 ; 0x28 - 8008a48: bd70 pop {r4, r5, r6, pc} - 8008a4a: 2300 movs r3, #0 - 8008a4c: 7023 strb r3, [r4, #0] - 8008a4e: 2008 movs r0, #8 - 8008a50: e7f9 b.n 8008a46 - 8008a52: 2003 movs r0, #3 - 8008a54: e7f7 b.n 8008a46 - 8008a56: 2013 movs r0, #19 - 8008a58: e7f5 b.n 8008a46 - 8008a5a: bf00 nop - 8008a5c: 20000c00 .word 0x20000c00 - 8008a60: 200011c8 .word 0x200011c8 +080089b4 : + 80089b4: b570 push {r4, r5, r6, lr} + 80089b6: 4b2e ldr r3, [pc, #184] ; (8008a70 ) + 80089b8: b08a sub sp, #40 ; 0x28 + 80089ba: 4605 mov r5, r0 + 80089bc: f893 00dd ldrb.w r0, [r3, #221] ; 0xdd + 80089c0: f88d 0009 strb.w r0, [sp, #9] + 80089c4: f893 00dc ldrb.w r0, [r3, #220] ; 0xdc + 80089c8: f88d 000a strb.w r0, [sp, #10] + 80089cc: 4829 ldr r0, [pc, #164] ; (8008a74 ) + 80089ce: 6a9a ldr r2, [r3, #40] ; 0x28 + 80089d0: f890 0418 ldrb.w r0, [r0, #1048] ; 0x418 + 80089d4: 9203 str r2, [sp, #12] + 80089d6: 2600 movs r6, #0 + 80089d8: f88d 000b strb.w r0, [sp, #11] + 80089dc: 9604 str r6, [sp, #16] + 80089de: 460c mov r4, r1 + 80089e0: 2900 cmp r1, #0 + 80089e2: d040 beq.n 8008a66 + 80089e4: 9206 str r2, [sp, #24] + 80089e6: f8d3 2088 ldr.w r2, [r3, #136] ; 0x88 + 80089ea: 9207 str r2, [sp, #28] + 80089ec: 8f1a ldrh r2, [r3, #56] ; 0x38 + 80089ee: f893 111a ldrb.w r1, [r3, #282] ; 0x11a + 80089f2: f88d 1015 strb.w r1, [sp, #21] + 80089f6: ba52 rev16 r2, r2 + 80089f8: f8ad 2020 strh.w r2, [sp, #32] + 80089fc: f893 207c ldrb.w r2, [r3, #124] ; 0x7c + 8008a00: f893 3048 ldrb.w r3, [r3, #72] ; 0x48 + 8008a04: f88d 3024 strb.w r3, [sp, #36] ; 0x24 + 8008a08: ab03 add r3, sp, #12 + 8008a0a: f88d 0022 strb.w r0, [sp, #34] ; 0x22 + 8008a0e: f88d 2023 strb.w r2, [sp, #35] ; 0x23 + 8008a12: 9300 str r3, [sp, #0] + 8008a14: f10d 020a add.w r2, sp, #10 + 8008a18: f10d 030b add.w r3, sp, #11 + 8008a1c: f10d 0109 add.w r1, sp, #9 + 8008a20: a805 add r0, sp, #20 + 8008a22: f88d 6014 strb.w r6, [sp, #20] + 8008a26: f000 fedd bl 80097e4 + 8008a2a: f99d 0009 ldrsb.w r0, [sp, #9] + 8008a2e: f7fe f913 bl 8006c58 + 8008a32: 7060 strb r0, [r4, #1] + 8008a34: a804 add r0, sp, #16 + 8008a36: f001 f82b bl 8009a90 + 8008a3a: b9b0 cbnz r0, 8008a6a + 8008a3c: 9a04 ldr r2, [sp, #16] + 8008a3e: 2a0f cmp r2, #15 + 8008a40: d80d bhi.n 8008a5e + 8008a42: 7863 ldrb r3, [r4, #1] + 8008a44: 429a cmp r2, r3 + 8008a46: d80a bhi.n 8008a5e + 8008a48: 4415 add r5, r2 + 8008a4a: 42ab cmp r3, r5 + 8008a4c: eba3 0102 sub.w r1, r3, r2 + 8008a50: bf2c ite cs + 8008a52: 2000 movcs r0, #0 + 8008a54: 2001 movcc r0, #1 + 8008a56: 7021 strb r1, [r4, #0] + 8008a58: 00c0 lsls r0, r0, #3 + 8008a5a: b00a add sp, #40 ; 0x28 + 8008a5c: bd70 pop {r4, r5, r6, pc} + 8008a5e: 2300 movs r3, #0 + 8008a60: 7023 strb r3, [r4, #0] + 8008a62: 2008 movs r0, #8 + 8008a64: e7f9 b.n 8008a5a + 8008a66: 2003 movs r0, #3 + 8008a68: e7f7 b.n 8008a5a + 8008a6a: 2013 movs r0, #19 + 8008a6c: e7f5 b.n 8008a5a + 8008a6e: bf00 nop + 8008a70: 20000c00 .word 0x20000c00 + 8008a74: 200011c8 .word 0x200011c8 -08008a64 : - 8008a64: b51f push {r0, r1, r2, r3, r4, lr} - 8008a66: 4604 mov r4, r0 - 8008a68: 2800 cmp r0, #0 - 8008a6a: f000 8112 beq.w 8008c92 - 8008a6e: 7800 ldrb r0, [r0, #0] - 8008a70: 2841 cmp r0, #65 ; 0x41 - 8008a72: f200 8108 bhi.w 8008c86 - 8008a76: e8df f010 tbh [pc, r0, lsl #1] - 8008a7a: 0042 .short 0x0042 - 8008a7c: 004d0048 .word 0x004d0048 - 8008a80: 00560052 .word 0x00560052 - 8008a84: 005f005a .word 0x005f005a - 8008a88: 01060106 .word 0x01060106 - 8008a8c: 01060106 .word 0x01060106 - 8008a90: 01060106 .word 0x01060106 - 8008a94: 01060106 .word 0x01060106 - 8008a98: 006a0066 .word 0x006a0066 - 8008a9c: 0079006e .word 0x0079006e - 8008aa0: 00830080 .word 0x00830080 - 8008aa4: 008b0086 .word 0x008b0086 - 8008aa8: 008d0089 .word 0x008d0089 - 8008aac: 00940091 .word 0x00940091 - 8008ab0: 009a0097 .word 0x009a0097 - 8008ab4: 00a0009d .word 0x00a0009d - 8008ab8: 00b300af .word 0x00b300af - 8008abc: 00b700bb .word 0x00b700bb - 8008ac0: 00c200bf .word 0x00c200bf - 8008ac4: 00cf00c6 .word 0x00cf00c6 - 8008ac8: 00cd00cb .word 0x00cd00cb - 8008acc: 00d30106 .word 0x00d30106 - 8008ad0: 01060106 .word 0x01060106 - 8008ad4: 01060106 .word 0x01060106 - 8008ad8: 01060106 .word 0x01060106 - 8008adc: 01060106 .word 0x01060106 - 8008ae0: 01060106 .word 0x01060106 +08008a78 : + 8008a78: b51f push {r0, r1, r2, r3, r4, lr} + 8008a7a: 4604 mov r4, r0 + 8008a7c: 2800 cmp r0, #0 + 8008a7e: f000 8112 beq.w 8008ca6 + 8008a82: 7800 ldrb r0, [r0, #0] + 8008a84: 2841 cmp r0, #65 ; 0x41 + 8008a86: f200 8108 bhi.w 8008c9a + 8008a8a: e8df f010 tbh [pc, r0, lsl #1] + 8008a8e: 0042 .short 0x0042 + 8008a90: 004d0048 .word 0x004d0048 + 8008a94: 00560052 .word 0x00560052 + 8008a98: 005f005a .word 0x005f005a + 8008a9c: 01060106 .word 0x01060106 + 8008aa0: 01060106 .word 0x01060106 + 8008aa4: 01060106 .word 0x01060106 + 8008aa8: 01060106 .word 0x01060106 + 8008aac: 006a0066 .word 0x006a0066 + 8008ab0: 0079006e .word 0x0079006e + 8008ab4: 00830080 .word 0x00830080 + 8008ab8: 008b0086 .word 0x008b0086 + 8008abc: 008d0089 .word 0x008d0089 + 8008ac0: 00940091 .word 0x00940091 + 8008ac4: 009a0097 .word 0x009a0097 + 8008ac8: 00a0009d .word 0x00a0009d + 8008acc: 00b300af .word 0x00b300af + 8008ad0: 00b700bb .word 0x00b700bb + 8008ad4: 00c200bf .word 0x00c200bf + 8008ad8: 00cf00c6 .word 0x00cf00c6 + 8008adc: 00cd00cb .word 0x00cd00cb + 8008ae0: 00d30106 .word 0x00d30106 8008ae4: 01060106 .word 0x01060106 8008ae8: 01060106 .word 0x01060106 - 8008aec: 00db0106 .word 0x00db0106 - 8008af0: 00e300df .word 0x00e300df - 8008af4: 00ec00e8 .word 0x00ec00e8 - 8008af8: 00f400f0 .word 0x00f400f0 - 8008afc: 00fd .short 0x00fd - 8008afe: 4b67 ldr r3, [pc, #412] ; (8008c9c ) - 8008b00: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 - 8008b04: 7123 strb r3, [r4, #4] - 8008b06: b004 add sp, #16 - 8008b08: bd10 pop {r4, pc} - 8008b0a: 4b64 ldr r3, [pc, #400] ; (8008c9c ) - 8008b0c: f893 3130 ldrb.w r3, [r3, #304] ; 0x130 - 8008b10: 7123 strb r3, [r4, #4] - 8008b12: e002 b.n 8008b1a - 8008b14: 6860 ldr r0, [r4, #4] - 8008b16: f003 fbc7 bl 800c2a8 - 8008b1a: 2000 movs r0, #0 - 8008b1c: e7f3 b.n 8008b06 - 8008b1e: 6860 ldr r0, [r4, #4] - 8008b20: f003 fc08 bl 800c334 - 8008b24: e7f9 b.n 8008b1a - 8008b26: 4b5d ldr r3, [pc, #372] ; (8008c9c ) - 8008b28: f893 311a ldrb.w r3, [r3, #282] ; 0x11a - 8008b2c: e7f0 b.n 8008b10 - 8008b2e: 4b5b ldr r3, [pc, #364] ; (8008c9c ) - 8008b30: f8d3 30e0 ldr.w r3, [r3, #224] ; 0xe0 - 8008b34: 6063 str r3, [r4, #4] - 8008b36: e7f0 b.n 8008b1a - 8008b38: 4b58 ldr r3, [pc, #352] ; (8008c9c ) - 8008b3a: 1d21 adds r1, r4, #4 - 8008b3c: f893 0130 ldrb.w r0, [r3, #304] ; 0x130 - 8008b40: f003 fc10 bl 800c364 - 8008b44: e7e9 b.n 8008b1a - 8008b46: 4b55 ldr r3, [pc, #340] ; (8008c9c ) - 8008b48: f893 3119 ldrb.w r3, [r3, #281] ; 0x119 - 8008b4c: e7e0 b.n 8008b10 - 8008b4e: 4b53 ldr r3, [pc, #332] ; (8008c9c ) - 8008b50: f893 308c ldrb.w r3, [r3, #140] ; 0x8c - 8008b54: e7dc b.n 8008b10 - 8008b56: 231c movs r3, #28 - 8008b58: f88d 3008 strb.w r3, [sp, #8] - 8008b5c: 4b4f ldr r3, [pc, #316] ; (8008c9c ) - 8008b5e: a902 add r1, sp, #8 - 8008b60: f893 0048 ldrb.w r0, [r3, #72] ; 0x48 - 8008b64: f001 fd30 bl 800a5c8 - 8008b68: 6060 str r0, [r4, #4] - 8008b6a: e7d6 b.n 8008b1a - 8008b6c: 4b4c ldr r3, [pc, #304] ; (8008ca0 ) - 8008b6e: 3404 adds r4, #4 - 8008b70: e893 0003 ldmia.w r3, {r0, r1} - 8008b74: e884 0003 stmia.w r4, {r0, r1} - 8008b78: e7cf b.n 8008b1a - 8008b7a: 4b4a ldr r3, [pc, #296] ; (8008ca4 ) - 8008b7c: 3404 adds r4, #4 - 8008b7e: e7f7 b.n 8008b70 - 8008b80: 4b49 ldr r3, [pc, #292] ; (8008ca8 ) + 8008aec: 01060106 .word 0x01060106 + 8008af0: 01060106 .word 0x01060106 + 8008af4: 01060106 .word 0x01060106 + 8008af8: 01060106 .word 0x01060106 + 8008afc: 01060106 .word 0x01060106 + 8008b00: 00db0106 .word 0x00db0106 + 8008b04: 00e300df .word 0x00e300df + 8008b08: 00ec00e8 .word 0x00ec00e8 + 8008b0c: 00f400f0 .word 0x00f400f0 + 8008b10: 00fd .short 0x00fd + 8008b12: 4b67 ldr r3, [pc, #412] ; (8008cb0 ) + 8008b14: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 + 8008b18: 7123 strb r3, [r4, #4] + 8008b1a: b004 add sp, #16 + 8008b1c: bd10 pop {r4, pc} + 8008b1e: 4b64 ldr r3, [pc, #400] ; (8008cb0 ) + 8008b20: f893 3130 ldrb.w r3, [r3, #304] ; 0x130 + 8008b24: 7123 strb r3, [r4, #4] + 8008b26: e002 b.n 8008b2e + 8008b28: 6860 ldr r0, [r4, #4] + 8008b2a: f003 fbc7 bl 800c2bc + 8008b2e: 2000 movs r0, #0 + 8008b30: e7f3 b.n 8008b1a + 8008b32: 6860 ldr r0, [r4, #4] + 8008b34: f003 fc08 bl 800c348 + 8008b38: e7f9 b.n 8008b2e + 8008b3a: 4b5d ldr r3, [pc, #372] ; (8008cb0 ) + 8008b3c: f893 311a ldrb.w r3, [r3, #282] ; 0x11a + 8008b40: e7f0 b.n 8008b24 + 8008b42: 4b5b ldr r3, [pc, #364] ; (8008cb0 ) + 8008b44: f8d3 30e0 ldr.w r3, [r3, #224] ; 0xe0 + 8008b48: 6063 str r3, [r4, #4] + 8008b4a: e7f0 b.n 8008b2e + 8008b4c: 4b58 ldr r3, [pc, #352] ; (8008cb0 ) + 8008b4e: 1d21 adds r1, r4, #4 + 8008b50: f893 0130 ldrb.w r0, [r3, #304] ; 0x130 + 8008b54: f003 fc10 bl 800c378 + 8008b58: e7e9 b.n 8008b2e + 8008b5a: 4b55 ldr r3, [pc, #340] ; (8008cb0 ) + 8008b5c: f893 3119 ldrb.w r3, [r3, #281] ; 0x119 + 8008b60: e7e0 b.n 8008b24 + 8008b62: 4b53 ldr r3, [pc, #332] ; (8008cb0 ) + 8008b64: f893 308c ldrb.w r3, [r3, #140] ; 0x8c + 8008b68: e7dc b.n 8008b24 + 8008b6a: 231c movs r3, #28 + 8008b6c: f88d 3008 strb.w r3, [sp, #8] + 8008b70: 4b4f ldr r3, [pc, #316] ; (8008cb0 ) + 8008b72: a902 add r1, sp, #8 + 8008b74: f893 0048 ldrb.w r0, [r3, #72] ; 0x48 + 8008b78: f001 fd30 bl 800a5dc + 8008b7c: 6060 str r0, [r4, #4] + 8008b7e: e7d6 b.n 8008b2e + 8008b80: 4b4c ldr r3, [pc, #304] ; (8008cb4 ) 8008b82: 3404 adds r4, #4 - 8008b84: e7f4 b.n 8008b70 - 8008b86: 4b49 ldr r3, [pc, #292] ; (8008cac ) - 8008b88: 3404 adds r4, #4 - 8008b8a: e7f1 b.n 8008b70 - 8008b8c: 231a movs r3, #26 - 8008b8e: e7e3 b.n 8008b58 - 8008b90: 2319 movs r3, #25 - 8008b92: e7e1 b.n 8008b58 - 8008b94: 4b41 ldr r3, [pc, #260] ; (8008c9c ) - 8008b96: f893 3068 ldrb.w r3, [r3, #104] ; 0x68 - 8008b9a: e7b9 b.n 8008b10 - 8008b9c: 4b3f ldr r3, [pc, #252] ; (8008c9c ) - 8008b9e: 6d5b ldr r3, [r3, #84] ; 0x54 - 8008ba0: e7c8 b.n 8008b34 - 8008ba2: 4b3e ldr r3, [pc, #248] ; (8008c9c ) - 8008ba4: 6d9b ldr r3, [r3, #88] ; 0x58 - 8008ba6: e7c5 b.n 8008b34 - 8008ba8: 4b3c ldr r3, [pc, #240] ; (8008c9c ) - 8008baa: 6ddb ldr r3, [r3, #92] ; 0x5c - 8008bac: e7c2 b.n 8008b34 - 8008bae: 4b3b ldr r3, [pc, #236] ; (8008c9c ) - 8008bb0: 6e1b ldr r3, [r3, #96] ; 0x60 - 8008bb2: e7bf b.n 8008b34 - 8008bb4: 4b39 ldr r3, [pc, #228] ; (8008c9c ) - 8008bb6: 6e5b ldr r3, [r3, #100] ; 0x64 - 8008bb8: e7bc b.n 8008b34 - 8008bba: 2302 movs r3, #2 - 8008bbc: f88d 3008 strb.w r3, [sp, #8] - 8008bc0: 4b36 ldr r3, [pc, #216] ; (8008c9c ) - 8008bc2: a902 add r1, sp, #8 - 8008bc4: f893 207c ldrb.w r2, [r3, #124] ; 0x7c - 8008bc8: f893 0048 ldrb.w r0, [r3, #72] ; 0x48 - 8008bcc: f88d 200a strb.w r2, [sp, #10] - 8008bd0: f001 fcfa bl 800a5c8 - 8008bd4: 7120 strb r0, [r4, #4] - 8008bd6: e7a0 b.n 8008b1a - 8008bd8: 4b30 ldr r3, [pc, #192] ; (8008c9c ) - 8008bda: f893 30dd ldrb.w r3, [r3, #221] ; 0xdd - 8008bde: e797 b.n 8008b10 - 8008be0: 4b2e ldr r3, [pc, #184] ; (8008c9c ) - 8008be2: f893 3039 ldrb.w r3, [r3, #57] ; 0x39 - 8008be6: e793 b.n 8008b10 - 8008be8: 4b2c ldr r3, [pc, #176] ; (8008c9c ) - 8008bea: f893 30dc ldrb.w r3, [r3, #220] ; 0xdc - 8008bee: e78f b.n 8008b10 - 8008bf0: 4b2a ldr r3, [pc, #168] ; (8008c9c ) - 8008bf2: f893 3038 ldrb.w r3, [r3, #56] ; 0x38 - 8008bf6: e78b b.n 8008b10 - 8008bf8: 4b28 ldr r3, [pc, #160] ; (8008c9c ) - 8008bfa: 6cdb ldr r3, [r3, #76] ; 0x4c - 8008bfc: e79a b.n 8008b34 - 8008bfe: 4b27 ldr r3, [pc, #156] ; (8008c9c ) - 8008c00: f893 3050 ldrb.w r3, [r3, #80] ; 0x50 - 8008c04: e784 b.n 8008b10 - 8008c06: 4b25 ldr r3, [pc, #148] ; (8008c9c ) - 8008c08: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84 - 8008c0c: 6063 str r3, [r4, #4] - 8008c0e: e784 b.n 8008b1a - 8008c10: 4b22 ldr r3, [pc, #136] ; (8008c9c ) - 8008c12: e78f b.n 8008b34 - 8008c14: 4b26 ldr r3, [pc, #152] ; (8008cb0 ) - 8008c16: e78d b.n 8008b34 - 8008c18: 4b20 ldr r3, [pc, #128] ; (8008c9c ) - 8008c1a: f8d3 30cc ldr.w r3, [r3, #204] ; 0xcc - 8008c1e: e7f5 b.n 8008c0c - 8008c20: 4b1e ldr r3, [pc, #120] ; (8008c9c ) - 8008c22: f8d3 312c ldr.w r3, [r3, #300] ; 0x12c - 8008c26: 6063 str r3, [r4, #4] - 8008c28: f001 fd5c bl 800a6e4 - 8008c2c: 60a0 str r0, [r4, #8] - 8008c2e: e774 b.n 8008b1a - 8008c30: 4b1a ldr r3, [pc, #104] ; (8008c9c ) - 8008c32: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 - 8008c36: e77d b.n 8008b34 - 8008c38: 4b18 ldr r3, [pc, #96] ; (8008c9c ) - 8008c3a: f893 311f ldrb.w r3, [r3, #287] ; 0x11f - 8008c3e: e767 b.n 8008b10 - 8008c40: 4b16 ldr r3, [pc, #88] ; (8008c9c ) - 8008c42: f8b3 3088 ldrh.w r3, [r3, #136] ; 0x88 - 8008c46: 80a3 strh r3, [r4, #4] - 8008c48: e767 b.n 8008b1a - 8008c4a: 4b14 ldr r3, [pc, #80] ; (8008c9c ) - 8008c4c: f8b3 308a ldrh.w r3, [r3, #138] ; 0x8a - 8008c50: e7f9 b.n 8008c46 - 8008c52: 4b12 ldr r3, [pc, #72] ; (8008c9c ) - 8008c54: f8b3 30d0 ldrh.w r3, [r3, #208] ; 0xd0 - 8008c58: e7f5 b.n 8008c46 - 8008c5a: 4b10 ldr r3, [pc, #64] ; (8008c9c ) - 8008c5c: f8b3 30d2 ldrh.w r3, [r3, #210] ; 0xd2 - 8008c60: e7f1 b.n 8008c46 - 8008c62: 4b0e ldr r3, [pc, #56] ; (8008c9c ) - 8008c64: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 - 8008c68: b10a cbz r2, 8008c6e - 8008c6a: 2a06 cmp r2, #6 - 8008c6c: d113 bne.n 8008c96 - 8008c6e: f8b3 35a0 ldrh.w r3, [r3, #1440] ; 0x5a0 - 8008c72: e7e8 b.n 8008c46 - 8008c74: 4b09 ldr r3, [pc, #36] ; (8008c9c ) - 8008c76: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 - 8008c7a: b10a cbz r2, 8008c80 - 8008c7c: 2a06 cmp r2, #6 - 8008c7e: d10a bne.n 8008c96 - 8008c80: f8d3 35a4 ldr.w r3, [r3, #1444] ; 0x5a4 - 8008c84: e756 b.n 8008b34 - 8008c86: 4620 mov r0, r4 - 8008c88: b004 add sp, #16 - 8008c8a: e8bd 4010 ldmia.w sp!, {r4, lr} - 8008c8e: f000 be24 b.w 80098da - 8008c92: 2003 movs r0, #3 - 8008c94: e737 b.n 8008b06 - 8008c96: 2018 movs r0, #24 - 8008c98: e735 b.n 8008b06 - 8008c9a: bf00 nop - 8008c9c: 20000c00 .word 0x20000c00 - 8008ca0: 20000c6c .word 0x20000c6c - 8008ca4: 20000cb4 .word 0x20000cb4 - 8008ca8: 20000c74 .word 0x20000c74 - 8008cac: 20000cbc .word 0x20000cbc - 8008cb0: 2000063c .word 0x2000063c + 8008b84: e893 0003 ldmia.w r3, {r0, r1} + 8008b88: e884 0003 stmia.w r4, {r0, r1} + 8008b8c: e7cf b.n 8008b2e + 8008b8e: 4b4a ldr r3, [pc, #296] ; (8008cb8 ) + 8008b90: 3404 adds r4, #4 + 8008b92: e7f7 b.n 8008b84 + 8008b94: 4b49 ldr r3, [pc, #292] ; (8008cbc ) + 8008b96: 3404 adds r4, #4 + 8008b98: e7f4 b.n 8008b84 + 8008b9a: 4b49 ldr r3, [pc, #292] ; (8008cc0 ) + 8008b9c: 3404 adds r4, #4 + 8008b9e: e7f1 b.n 8008b84 + 8008ba0: 231a movs r3, #26 + 8008ba2: e7e3 b.n 8008b6c + 8008ba4: 2319 movs r3, #25 + 8008ba6: e7e1 b.n 8008b6c + 8008ba8: 4b41 ldr r3, [pc, #260] ; (8008cb0 ) + 8008baa: f893 3068 ldrb.w r3, [r3, #104] ; 0x68 + 8008bae: e7b9 b.n 8008b24 + 8008bb0: 4b3f ldr r3, [pc, #252] ; (8008cb0 ) + 8008bb2: 6d5b ldr r3, [r3, #84] ; 0x54 + 8008bb4: e7c8 b.n 8008b48 + 8008bb6: 4b3e ldr r3, [pc, #248] ; (8008cb0 ) + 8008bb8: 6d9b ldr r3, [r3, #88] ; 0x58 + 8008bba: e7c5 b.n 8008b48 + 8008bbc: 4b3c ldr r3, [pc, #240] ; (8008cb0 ) + 8008bbe: 6ddb ldr r3, [r3, #92] ; 0x5c + 8008bc0: e7c2 b.n 8008b48 + 8008bc2: 4b3b ldr r3, [pc, #236] ; (8008cb0 ) + 8008bc4: 6e1b ldr r3, [r3, #96] ; 0x60 + 8008bc6: e7bf b.n 8008b48 + 8008bc8: 4b39 ldr r3, [pc, #228] ; (8008cb0 ) + 8008bca: 6e5b ldr r3, [r3, #100] ; 0x64 + 8008bcc: e7bc b.n 8008b48 + 8008bce: 2302 movs r3, #2 + 8008bd0: f88d 3008 strb.w r3, [sp, #8] + 8008bd4: 4b36 ldr r3, [pc, #216] ; (8008cb0 ) + 8008bd6: a902 add r1, sp, #8 + 8008bd8: f893 207c ldrb.w r2, [r3, #124] ; 0x7c + 8008bdc: f893 0048 ldrb.w r0, [r3, #72] ; 0x48 + 8008be0: f88d 200a strb.w r2, [sp, #10] + 8008be4: f001 fcfa bl 800a5dc + 8008be8: 7120 strb r0, [r4, #4] + 8008bea: e7a0 b.n 8008b2e + 8008bec: 4b30 ldr r3, [pc, #192] ; (8008cb0 ) + 8008bee: f893 30dd ldrb.w r3, [r3, #221] ; 0xdd + 8008bf2: e797 b.n 8008b24 + 8008bf4: 4b2e ldr r3, [pc, #184] ; (8008cb0 ) + 8008bf6: f893 3039 ldrb.w r3, [r3, #57] ; 0x39 + 8008bfa: e793 b.n 8008b24 + 8008bfc: 4b2c ldr r3, [pc, #176] ; (8008cb0 ) + 8008bfe: f893 30dc ldrb.w r3, [r3, #220] ; 0xdc + 8008c02: e78f b.n 8008b24 + 8008c04: 4b2a ldr r3, [pc, #168] ; (8008cb0 ) + 8008c06: f893 3038 ldrb.w r3, [r3, #56] ; 0x38 + 8008c0a: e78b b.n 8008b24 + 8008c0c: 4b28 ldr r3, [pc, #160] ; (8008cb0 ) + 8008c0e: 6cdb ldr r3, [r3, #76] ; 0x4c + 8008c10: e79a b.n 8008b48 + 8008c12: 4b27 ldr r3, [pc, #156] ; (8008cb0 ) + 8008c14: f893 3050 ldrb.w r3, [r3, #80] ; 0x50 + 8008c18: e784 b.n 8008b24 + 8008c1a: 4b25 ldr r3, [pc, #148] ; (8008cb0 ) + 8008c1c: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84 + 8008c20: 6063 str r3, [r4, #4] + 8008c22: e784 b.n 8008b2e + 8008c24: 4b22 ldr r3, [pc, #136] ; (8008cb0 ) + 8008c26: e78f b.n 8008b48 + 8008c28: 4b26 ldr r3, [pc, #152] ; (8008cc4 ) + 8008c2a: e78d b.n 8008b48 + 8008c2c: 4b20 ldr r3, [pc, #128] ; (8008cb0 ) + 8008c2e: f8d3 30cc ldr.w r3, [r3, #204] ; 0xcc + 8008c32: e7f5 b.n 8008c20 + 8008c34: 4b1e ldr r3, [pc, #120] ; (8008cb0 ) + 8008c36: f8d3 312c ldr.w r3, [r3, #300] ; 0x12c + 8008c3a: 6063 str r3, [r4, #4] + 8008c3c: f001 fd5c bl 800a6f8 + 8008c40: 60a0 str r0, [r4, #8] + 8008c42: e774 b.n 8008b2e + 8008c44: 4b1a ldr r3, [pc, #104] ; (8008cb0 ) + 8008c46: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90 + 8008c4a: e77d b.n 8008b48 + 8008c4c: 4b18 ldr r3, [pc, #96] ; (8008cb0 ) + 8008c4e: f893 311f ldrb.w r3, [r3, #287] ; 0x11f + 8008c52: e767 b.n 8008b24 + 8008c54: 4b16 ldr r3, [pc, #88] ; (8008cb0 ) + 8008c56: f8b3 3088 ldrh.w r3, [r3, #136] ; 0x88 + 8008c5a: 80a3 strh r3, [r4, #4] + 8008c5c: e767 b.n 8008b2e + 8008c5e: 4b14 ldr r3, [pc, #80] ; (8008cb0 ) + 8008c60: f8b3 308a ldrh.w r3, [r3, #138] ; 0x8a + 8008c64: e7f9 b.n 8008c5a + 8008c66: 4b12 ldr r3, [pc, #72] ; (8008cb0 ) + 8008c68: f8b3 30d0 ldrh.w r3, [r3, #208] ; 0xd0 + 8008c6c: e7f5 b.n 8008c5a + 8008c6e: 4b10 ldr r3, [pc, #64] ; (8008cb0 ) + 8008c70: f8b3 30d2 ldrh.w r3, [r3, #210] ; 0xd2 + 8008c74: e7f1 b.n 8008c5a + 8008c76: 4b0e ldr r3, [pc, #56] ; (8008cb0 ) + 8008c78: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 + 8008c7c: b10a cbz r2, 8008c82 + 8008c7e: 2a06 cmp r2, #6 + 8008c80: d113 bne.n 8008caa + 8008c82: f8b3 35a0 ldrh.w r3, [r3, #1440] ; 0x5a0 + 8008c86: e7e8 b.n 8008c5a + 8008c88: 4b09 ldr r3, [pc, #36] ; (8008cb0 ) + 8008c8a: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 + 8008c8e: b10a cbz r2, 8008c94 + 8008c90: 2a06 cmp r2, #6 + 8008c92: d10a bne.n 8008caa + 8008c94: f8d3 35a4 ldr.w r3, [r3, #1444] ; 0x5a4 + 8008c98: e756 b.n 8008b48 + 8008c9a: 4620 mov r0, r4 + 8008c9c: b004 add sp, #16 + 8008c9e: e8bd 4010 ldmia.w sp!, {r4, lr} + 8008ca2: f000 be24 b.w 80098ee + 8008ca6: 2003 movs r0, #3 + 8008ca8: e737 b.n 8008b1a + 8008caa: 2018 movs r0, #24 + 8008cac: e735 b.n 8008b1a + 8008cae: bf00 nop + 8008cb0: 20000c00 .word 0x20000c00 + 8008cb4: 20000c6c .word 0x20000c6c + 8008cb8: 20000cb4 .word 0x20000cb4 + 8008cbc: 20000c74 .word 0x20000c74 + 8008cc0: 20000cbc .word 0x20000cbc + 8008cc4: 2000063c .word 0x2000063c -08008cb4 : - 8008cb4: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} - 8008cb6: 4604 mov r4, r0 - 8008cb8: b910 cbnz r0, 8008cc0 - 8008cba: 2003 movs r0, #3 - 8008cbc: b004 add sp, #16 - 8008cbe: bd70 pop {r4, r5, r6, pc} - 8008cc0: 4da4 ldr r5, [pc, #656] ; (8008f54 ) - 8008cc2: f8d5 3340 ldr.w r3, [r5, #832] ; 0x340 - 8008cc6: 079a lsls r2, r3, #30 - 8008cc8: f100 8271 bmi.w 80091ae - 8008ccc: 7802 ldrb r2, [r0, #0] - 8008cce: 2a41 cmp r2, #65 ; 0x41 - 8008cd0: f200 826a bhi.w 80091a8 - 8008cd4: e8df f012 tbh [pc, r2, lsl #1] - 8008cd8: 00480042 .word 0x00480042 - 8008cdc: 005c0056 .word 0x005c0056 - 8008ce0: 00650060 .word 0x00650060 - 8008ce4: 0077006a .word 0x0077006a - 8008ce8: 00880082 .word 0x00880082 - 8008cec: 0094008e .word 0x0094008e - 8008cf0: 00a0009a .word 0x00a0009a - 8008cf4: 00ac00a6 .word 0x00ac00a6 - 8008cf8: 026800b6 .word 0x026800b6 - 8008cfc: 00dd00bb .word 0x00dd00bb - 8008d00: 011700f0 .word 0x011700f0 - 8008d04: 012a0139 .word 0x012a0139 - 8008d08: 014d0144 .word 0x014d0144 - 8008d0c: 01550151 .word 0x01550151 - 8008d10: 015d0159 .word 0x015d0159 - 8008d14: 01610268 .word 0x01610268 - 8008d18: 019b0173 .word 0x019b0173 - 8008d1c: 01ad0189 .word 0x01ad0189 - 8008d20: 01ba01b3 .word 0x01ba01b3 - 8008d24: 01c401bf .word 0x01c401bf - 8008d28: 022a0268 .word 0x022a0268 - 8008d2c: 02680268 .word 0x02680268 - 8008d30: 02680268 .word 0x02680268 - 8008d34: 02680268 .word 0x02680268 - 8008d38: 02680268 .word 0x02680268 - 8008d3c: 02680268 .word 0x02680268 +08008cc8 : + 8008cc8: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} + 8008cca: 4604 mov r4, r0 + 8008ccc: b910 cbnz r0, 8008cd4 + 8008cce: 2003 movs r0, #3 + 8008cd0: b004 add sp, #16 + 8008cd2: bd70 pop {r4, r5, r6, pc} + 8008cd4: 4da4 ldr r5, [pc, #656] ; (8008f68 ) + 8008cd6: f8d5 3340 ldr.w r3, [r5, #832] ; 0x340 + 8008cda: 079a lsls r2, r3, #30 + 8008cdc: f100 8271 bmi.w 80091c2 + 8008ce0: 7802 ldrb r2, [r0, #0] + 8008ce2: 2a41 cmp r2, #65 ; 0x41 + 8008ce4: f200 826a bhi.w 80091bc + 8008ce8: e8df f012 tbh [pc, r2, lsl #1] + 8008cec: 00480042 .word 0x00480042 + 8008cf0: 005c0056 .word 0x005c0056 + 8008cf4: 00650060 .word 0x00650060 + 8008cf8: 0077006a .word 0x0077006a + 8008cfc: 00880082 .word 0x00880082 + 8008d00: 0094008e .word 0x0094008e + 8008d04: 00a0009a .word 0x00a0009a + 8008d08: 00ac00a6 .word 0x00ac00a6 + 8008d0c: 026800b6 .word 0x026800b6 + 8008d10: 00dd00bb .word 0x00dd00bb + 8008d14: 011700f0 .word 0x011700f0 + 8008d18: 012a0139 .word 0x012a0139 + 8008d1c: 014d0144 .word 0x014d0144 + 8008d20: 01550151 .word 0x01550151 + 8008d24: 015d0159 .word 0x015d0159 + 8008d28: 01610268 .word 0x01610268 + 8008d2c: 019b0173 .word 0x019b0173 + 8008d30: 01ad0189 .word 0x01ad0189 + 8008d34: 01ba01b3 .word 0x01ba01b3 + 8008d38: 01c401bf .word 0x01c401bf + 8008d3c: 022a0268 .word 0x022a0268 8008d40: 02680268 .word 0x02680268 8008d44: 02680268 .word 0x02680268 8008d48: 02680268 .word 0x02680268 - 8008d4c: 023b0236 .word 0x023b0236 - 8008d50: 02450240 .word 0x02450240 - 8008d54: 024f024a .word 0x024f024a - 8008d58: 025e0254 .word 0x025e0254 - 8008d5c: 7900 ldrb r0, [r0, #4] - 8008d5e: f7fe f8c1 bl 8006ee4 - 8008d62: 2800 cmp r0, #0 - 8008d64: d1aa bne.n 8008cbc - 8008d66: e005 b.n 8008d74 - 8008d68: 7903 ldrb r3, [r0, #4] - 8008d6a: 2b02 cmp r3, #2 - 8008d6c: d0a5 beq.n 8008cba - 8008d6e: 4a7a ldr r2, [pc, #488] ; (8008f58 ) - 8008d70: f882 3130 strb.w r3, [r2, #304] ; 0x130 - 8008d74: f895 3491 ldrb.w r3, [r5, #1169] ; 0x491 - 8008d78: f043 0320 orr.w r3, r3, #32 - 8008d7c: f885 3491 strb.w r3, [r5, #1169] ; 0x491 - 8008d80: 2000 movs r0, #0 - 8008d82: e79b b.n 8008cbc - 8008d84: 6840 ldr r0, [r0, #4] - 8008d86: f003 fa81 bl 800c28c - 8008d8a: 2800 cmp r0, #0 - 8008d8c: d0f2 beq.n 8008d74 - 8008d8e: e794 b.n 8008cba - 8008d90: 6840 ldr r0, [r0, #4] - 8008d92: f003 fabf bl 800c314 - 8008d96: e7f8 b.n 8008d8a - 8008d98: 4b6f ldr r3, [pc, #444] ; (8008f58 ) - 8008d9a: 7902 ldrb r2, [r0, #4] - 8008d9c: f883 211a strb.w r2, [r3, #282] ; 0x11a - 8008da0: e7e8 b.n 8008d74 - 8008da2: 4b6d ldr r3, [pc, #436] ; (8008f58 ) - 8008da4: 6842 ldr r2, [r0, #4] - 8008da6: f8c3 20e0 str.w r2, [r3, #224] ; 0xe0 - 8008daa: e7e3 b.n 8008d74 - 8008dac: 4e6a ldr r6, [pc, #424] ; (8008f58 ) - 8008dae: 6841 ldr r1, [r0, #4] - 8008db0: f896 0130 ldrb.w r0, [r6, #304] ; 0x130 - 8008db4: f003 facc bl 800c350 - 8008db8: 2800 cmp r0, #0 - 8008dba: f47f af7e bne.w 8008cba - 8008dbe: 6863 ldr r3, [r4, #4] - 8008dc0: f8c6 30e4 str.w r3, [r6, #228] ; 0xe4 - 8008dc4: e7d6 b.n 8008d74 - 8008dc6: 6841 ldr r1, [r0, #4] - 8008dc8: 2900 cmp r1, #0 - 8008dca: f43f af76 beq.w 8008cba - 8008dce: 2000 movs r0, #0 - 8008dd0: f001 f9ee bl 800a1b0 - 8008dd4: 2800 cmp r0, #0 - 8008dd6: d0cd beq.n 8008d74 - 8008dd8: 2011 movs r0, #17 - 8008dda: e76f b.n 8008cbc - 8008ddc: 6841 ldr r1, [r0, #4] - 8008dde: 2900 cmp r1, #0 - 8008de0: f43f af6b beq.w 8008cba - 8008de4: 2001 movs r0, #1 - 8008de6: e7f3 b.n 8008dd0 - 8008de8: 6841 ldr r1, [r0, #4] - 8008dea: 2900 cmp r1, #0 - 8008dec: f43f af65 beq.w 8008cba - 8008df0: 2008 movs r0, #8 - 8008df2: e7ed b.n 8008dd0 - 8008df4: 6841 ldr r1, [r0, #4] - 8008df6: 2900 cmp r1, #0 - 8008df8: f43f af5f beq.w 8008cba - 8008dfc: 2009 movs r0, #9 - 8008dfe: e7e7 b.n 8008dd0 - 8008e00: 6841 ldr r1, [r0, #4] - 8008e02: 2900 cmp r1, #0 - 8008e04: f43f af59 beq.w 8008cba - 8008e08: 200c movs r0, #12 - 8008e0a: e7e1 b.n 8008dd0 - 8008e0c: 6841 ldr r1, [r0, #4] - 8008e0e: 2900 cmp r1, #0 - 8008e10: f43f af53 beq.w 8008cba - 8008e14: 200d movs r0, #13 - 8008e16: e7db b.n 8008dd0 - 8008e18: 6841 ldr r1, [r0, #4] - 8008e1a: 2900 cmp r1, #0 - 8008e1c: f43f af4d beq.w 8008cba - 8008e20: 200e movs r0, #14 - 8008e22: e7d5 b.n 8008dd0 - 8008e24: 6841 ldr r1, [r0, #4] - 8008e26: 2900 cmp r1, #0 - 8008e28: f43f af47 beq.w 8008cba - 8008e2c: 200f movs r0, #15 - 8008e2e: e7cf b.n 8008dd0 - 8008e30: 4c4a ldr r4, [pc, #296] ; (8008f5c ) - 8008e32: 4b49 ldr r3, [pc, #292] ; (8008f58 ) - 8008e34: 7900 ldrb r0, [r0, #4] - 8008e36: f883 0119 strb.w r0, [r3, #281] ; 0x119 - 8008e3a: 6da3 ldr r3, [r4, #88] ; 0x58 - 8008e3c: 4798 blx r3 - 8008e3e: 6ae3 ldr r3, [r4, #44] ; 0x2c - 8008e40: 4798 blx r3 - 8008e42: e797 b.n 8008d74 - 8008e44: 4b44 ldr r3, [pc, #272] ; (8008f58 ) - 8008e46: 7902 ldrb r2, [r0, #4] - 8008e48: f883 208c strb.w r2, [r3, #140] ; 0x8c - 8008e4c: e792 b.n 8008d74 - 8008e4e: 4e42 ldr r6, [pc, #264] ; (8008f58 ) - 8008e50: 7a03 ldrb r3, [r0, #8] - 8008e52: f88d 3004 strb.w r3, [sp, #4] - 8008e56: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 8008e5a: f896 307d ldrb.w r3, [r6, #125] ; 0x7d - 8008e5e: f88d 3005 strb.w r3, [sp, #5] - 8008e62: 2207 movs r2, #7 - 8008e64: a901 add r1, sp, #4 - 8008e66: f001 fbc2 bl 800a5ee - 8008e6a: 2800 cmp r0, #0 - 8008e6c: f43f af25 beq.w 8008cba - 8008e70: 6863 ldr r3, [r4, #4] - 8008e72: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 8008e76: 9301 str r3, [sp, #4] - 8008e78: 2200 movs r2, #0 - 8008e7a: a901 add r1, sp, #4 - 8008e7c: f001 fbb7 bl 800a5ee - 8008e80: 2800 cmp r0, #0 - 8008e82: f43f af1a beq.w 8008cba - 8008e86: 366c adds r6, #108 ; 0x6c - 8008e88: e9d4 0101 ldrd r0, r1, [r4, #4] - 8008e8c: e886 0003 stmia.w r6, {r0, r1} - 8008e90: e770 b.n 8008d74 - 8008e92: 4e31 ldr r6, [pc, #196] ; (8008f58 ) - 8008e94: 7a03 ldrb r3, [r0, #8] - 8008e96: f88d 3004 strb.w r3, [sp, #4] - 8008e9a: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 8008e9e: f896 307d ldrb.w r3, [r6, #125] ; 0x7d - 8008ea2: f88d 3005 strb.w r3, [sp, #5] - 8008ea6: 2207 movs r2, #7 - 8008ea8: a901 add r1, sp, #4 - 8008eaa: f001 fba0 bl 800a5ee - 8008eae: 2800 cmp r0, #0 - 8008eb0: f43f af03 beq.w 8008cba - 8008eb4: 36b4 adds r6, #180 ; 0xb4 - 8008eb6: e7e7 b.n 8008e88 - 8008eb8: 4e27 ldr r6, [pc, #156] ; (8008f58 ) - 8008eba: 7a03 ldrb r3, [r0, #8] - 8008ebc: f88d 3004 strb.w r3, [sp, #4] - 8008ec0: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 8008ec4: f896 307d ldrb.w r3, [r6, #125] ; 0x7d - 8008ec8: f88d 3005 strb.w r3, [sp, #5] - 8008ecc: 2207 movs r2, #7 - 8008ece: a901 add r1, sp, #4 - 8008ed0: f001 fb8d bl 800a5ee - 8008ed4: 2800 cmp r0, #0 - 8008ed6: f43f aef0 beq.w 8008cba - 8008eda: e9d4 0101 ldrd r0, r1, [r4, #4] - 8008ede: f106 0374 add.w r3, r6, #116 ; 0x74 - 8008ee2: e883 0003 stmia.w r3, {r0, r1} - 8008ee6: f896 3118 ldrb.w r3, [r6, #280] ; 0x118 - 8008eea: 2b02 cmp r3, #2 - 8008eec: f47f af42 bne.w 8008d74 - 8008ef0: f896 3130 ldrb.w r3, [r6, #304] ; 0x130 - 8008ef4: 2b00 cmp r3, #0 - 8008ef6: f43f af3d beq.w 8008d74 - 8008efa: 4b18 ldr r3, [pc, #96] ; (8008f5c ) - 8008efc: 6adb ldr r3, [r3, #44] ; 0x2c - 8008efe: 4798 blx r3 - 8008f00: f7fd ff48 bl 8006d94 - 8008f04: e736 b.n 8008d74 - 8008f06: 4e14 ldr r6, [pc, #80] ; (8008f58 ) - 8008f08: 7a03 ldrb r3, [r0, #8] - 8008f0a: f88d 3004 strb.w r3, [sp, #4] - 8008f0e: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 - 8008f12: f896 307d ldrb.w r3, [r6, #125] ; 0x7d - 8008f16: f88d 3005 strb.w r3, [sp, #5] - 8008f1a: 2207 movs r2, #7 - 8008f1c: a901 add r1, sp, #4 - 8008f1e: f001 fb66 bl 800a5ee - 8008f22: 2800 cmp r0, #0 - 8008f24: f43f aec9 beq.w 8008cba - 8008f28: 36bc adds r6, #188 ; 0xbc - 8008f2a: e7ad b.n 8008e88 - 8008f2c: 6843 ldr r3, [r0, #4] - 8008f2e: 9302 str r3, [sp, #8] - 8008f30: 2301 movs r3, #1 - 8008f32: f88d 300c strb.w r3, [sp, #12] - 8008f36: 4b08 ldr r3, [pc, #32] ; (8008f58 ) - 8008f38: a902 add r1, sp, #8 - 8008f3a: f893 0048 ldrb.w r0, [r3, #72] ; 0x48 - 8008f3e: f001 fb63 bl 800a608 - 8008f42: 2800 cmp r0, #0 - 8008f44: f47f af16 bne.w 8008d74 - 8008f48: e6b7 b.n 8008cba - 8008f4a: 6843 ldr r3, [r0, #4] - 8008f4c: 9302 str r3, [sp, #8] - 8008f4e: 2300 movs r3, #0 - 8008f50: e7ef b.n 8008f32 - 8008f52: bf00 nop - 8008f54: 200011c8 .word 0x200011c8 - 8008f58: 20000c00 .word 0x20000c00 - 8008f5c: 0800f9e4 .word 0x0800f9e4 - 8008f60: 7903 ldrb r3, [r0, #4] - 8008f62: 1e5a subs r2, r3, #1 - 8008f64: 2a0e cmp r2, #14 - 8008f66: f63f aea8 bhi.w 8008cba - 8008f6a: 4a93 ldr r2, [pc, #588] ; (80091b8 ) - 8008f6c: f882 3068 strb.w r3, [r2, #104] ; 0x68 - 8008f70: e700 b.n 8008d74 - 8008f72: 4b91 ldr r3, [pc, #580] ; (80091b8 ) - 8008f74: 6842 ldr r2, [r0, #4] - 8008f76: 655a str r2, [r3, #84] ; 0x54 - 8008f78: e6fc b.n 8008d74 - 8008f7a: 4b8f ldr r3, [pc, #572] ; (80091b8 ) - 8008f7c: 6842 ldr r2, [r0, #4] - 8008f7e: 659a str r2, [r3, #88] ; 0x58 - 8008f80: e6f8 b.n 8008d74 - 8008f82: 4b8d ldr r3, [pc, #564] ; (80091b8 ) - 8008f84: 6842 ldr r2, [r0, #4] - 8008f86: 65da str r2, [r3, #92] ; 0x5c - 8008f88: e6f4 b.n 8008d74 - 8008f8a: 4b8b ldr r3, [pc, #556] ; (80091b8 ) - 8008f8c: 6842 ldr r2, [r0, #4] - 8008f8e: 661a str r2, [r3, #96] ; 0x60 - 8008f90: e6f0 b.n 8008d74 - 8008f92: 4b89 ldr r3, [pc, #548] ; (80091b8 ) - 8008f94: 6842 ldr r2, [r0, #4] - 8008f96: 665a str r2, [r3, #100] ; 0x64 - 8008f98: e6ec b.n 8008d74 - 8008f9a: 4c87 ldr r4, [pc, #540] ; (80091b8 ) - 8008f9c: 7903 ldrb r3, [r0, #4] - 8008f9e: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008fa2: f88d 3004 strb.w r3, [sp, #4] - 8008fa6: 2206 movs r2, #6 - 8008fa8: a901 add r1, sp, #4 - 8008faa: f001 fb20 bl 800a5ee - 8008fae: 2800 cmp r0, #0 - 8008fb0: f43f ae83 beq.w 8008cba - 8008fb4: f89d 3004 ldrb.w r3, [sp, #4] - 8008fb8: f884 30dd strb.w r3, [r4, #221] ; 0xdd - 8008fbc: e6da b.n 8008d74 - 8008fbe: 4c7e ldr r4, [pc, #504] ; (80091b8 ) - 8008fc0: 7903 ldrb r3, [r0, #4] - 8008fc2: f88d 3004 strb.w r3, [sp, #4] - 8008fc6: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008fca: f894 307c ldrb.w r3, [r4, #124] ; 0x7c - 8008fce: f88d 3006 strb.w r3, [sp, #6] - 8008fd2: 2205 movs r2, #5 - 8008fd4: a901 add r1, sp, #4 - 8008fd6: f001 fb0a bl 800a5ee - 8008fda: 2800 cmp r0, #0 - 8008fdc: f43f ae6d beq.w 8008cba - 8008fe0: f89d 3004 ldrb.w r3, [sp, #4] - 8008fe4: f884 3039 strb.w r3, [r4, #57] ; 0x39 - 8008fe8: e6c4 b.n 8008d74 - 8008fea: 4c73 ldr r4, [pc, #460] ; (80091b8 ) - 8008fec: 7903 ldrb r3, [r0, #4] - 8008fee: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8008ff2: f88d 3004 strb.w r3, [sp, #4] - 8008ff6: 220a movs r2, #10 - 8008ff8: a901 add r1, sp, #4 - 8008ffa: f001 faf8 bl 800a5ee - 8008ffe: 2800 cmp r0, #0 - 8009000: f43f ae5b beq.w 8008cba - 8009004: f89d 3004 ldrb.w r3, [sp, #4] - 8009008: f884 30dc strb.w r3, [r4, #220] ; 0xdc - 800900c: e6b2 b.n 8008d74 - 800900e: 4c6a ldr r4, [pc, #424] ; (80091b8 ) - 8009010: 7903 ldrb r3, [r0, #4] - 8009012: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8009016: f88d 3004 strb.w r3, [sp, #4] - 800901a: 2209 movs r2, #9 - 800901c: a901 add r1, sp, #4 - 800901e: f001 fae6 bl 800a5ee - 8009022: 2800 cmp r0, #0 - 8009024: f43f ae49 beq.w 8008cba - 8009028: f89d 3004 ldrb.w r3, [sp, #4] - 800902c: f884 3038 strb.w r3, [r4, #56] ; 0x38 - 8009030: e6a0 b.n 8008d74 - 8009032: 4b61 ldr r3, [pc, #388] ; (80091b8 ) - 8009034: 6842 ldr r2, [r0, #4] - 8009036: f8c3 2094 str.w r2, [r3, #148] ; 0x94 - 800903a: 64da str r2, [r3, #76] ; 0x4c - 800903c: e69a b.n 8008d74 - 800903e: 4b5e ldr r3, [pc, #376] ; (80091b8 ) - 8009040: 7902 ldrb r2, [r0, #4] - 8009042: f883 2098 strb.w r2, [r3, #152] ; 0x98 - 8009046: f883 2050 strb.w r2, [r3, #80] ; 0x50 - 800904a: e693 b.n 8008d74 - 800904c: 4b5a ldr r3, [pc, #360] ; (80091b8 ) - 800904e: 6842 ldr r2, [r0, #4] - 8009050: f8c3 2084 str.w r2, [r3, #132] ; 0x84 - 8009054: e68e b.n 8008d74 - 8009056: 4b58 ldr r3, [pc, #352] ; (80091b8 ) - 8009058: 6842 ldr r2, [r0, #4] - 800905a: f8c3 20cc str.w r2, [r3, #204] ; 0xcc - 800905e: e689 b.n 8008d74 - 8009060: 2b01 cmp r3, #1 - 8009062: f040 80a4 bne.w 80091ae - 8009066: 4c55 ldr r4, [pc, #340] ; (80091bc ) - 8009068: 2124 movs r1, #36 ; 0x24 - 800906a: 4620 mov r0, r4 - 800906c: f003 fa4e bl 800c50c - 8009070: 6a63 ldr r3, [r4, #36] ; 0x24 - 8009072: 4298 cmp r0, r3 - 8009074: d001 beq.n 800907a - 8009076: 2017 movs r0, #23 - 8009078: e620 b.n 8008cbc - 800907a: 211c movs r1, #28 - 800907c: f104 0028 add.w r0, r4, #40 ; 0x28 - 8009080: f003 fa44 bl 800c50c - 8009084: 6c63 ldr r3, [r4, #68] ; 0x44 + 8008d4c: 02680268 .word 0x02680268 + 8008d50: 02680268 .word 0x02680268 + 8008d54: 02680268 .word 0x02680268 + 8008d58: 02680268 .word 0x02680268 + 8008d5c: 02680268 .word 0x02680268 + 8008d60: 023b0236 .word 0x023b0236 + 8008d64: 02450240 .word 0x02450240 + 8008d68: 024f024a .word 0x024f024a + 8008d6c: 025e0254 .word 0x025e0254 + 8008d70: 7900 ldrb r0, [r0, #4] + 8008d72: f7fe f8c1 bl 8006ef8 + 8008d76: 2800 cmp r0, #0 + 8008d78: d1aa bne.n 8008cd0 + 8008d7a: e005 b.n 8008d88 + 8008d7c: 7903 ldrb r3, [r0, #4] + 8008d7e: 2b02 cmp r3, #2 + 8008d80: d0a5 beq.n 8008cce + 8008d82: 4a7a ldr r2, [pc, #488] ; (8008f6c ) + 8008d84: f882 3130 strb.w r3, [r2, #304] ; 0x130 + 8008d88: f895 3491 ldrb.w r3, [r5, #1169] ; 0x491 + 8008d8c: f043 0320 orr.w r3, r3, #32 + 8008d90: f885 3491 strb.w r3, [r5, #1169] ; 0x491 + 8008d94: 2000 movs r0, #0 + 8008d96: e79b b.n 8008cd0 + 8008d98: 6840 ldr r0, [r0, #4] + 8008d9a: f003 fa81 bl 800c2a0 + 8008d9e: 2800 cmp r0, #0 + 8008da0: d0f2 beq.n 8008d88 + 8008da2: e794 b.n 8008cce + 8008da4: 6840 ldr r0, [r0, #4] + 8008da6: f003 fabf bl 800c328 + 8008daa: e7f8 b.n 8008d9e + 8008dac: 4b6f ldr r3, [pc, #444] ; (8008f6c ) + 8008dae: 7902 ldrb r2, [r0, #4] + 8008db0: f883 211a strb.w r2, [r3, #282] ; 0x11a + 8008db4: e7e8 b.n 8008d88 + 8008db6: 4b6d ldr r3, [pc, #436] ; (8008f6c ) + 8008db8: 6842 ldr r2, [r0, #4] + 8008dba: f8c3 20e0 str.w r2, [r3, #224] ; 0xe0 + 8008dbe: e7e3 b.n 8008d88 + 8008dc0: 4e6a ldr r6, [pc, #424] ; (8008f6c ) + 8008dc2: 6841 ldr r1, [r0, #4] + 8008dc4: f896 0130 ldrb.w r0, [r6, #304] ; 0x130 + 8008dc8: f003 facc bl 800c364 + 8008dcc: 2800 cmp r0, #0 + 8008dce: f47f af7e bne.w 8008cce + 8008dd2: 6863 ldr r3, [r4, #4] + 8008dd4: f8c6 30e4 str.w r3, [r6, #228] ; 0xe4 + 8008dd8: e7d6 b.n 8008d88 + 8008dda: 6841 ldr r1, [r0, #4] + 8008ddc: 2900 cmp r1, #0 + 8008dde: f43f af76 beq.w 8008cce + 8008de2: 2000 movs r0, #0 + 8008de4: f001 f9ee bl 800a1c4 + 8008de8: 2800 cmp r0, #0 + 8008dea: d0cd beq.n 8008d88 + 8008dec: 2011 movs r0, #17 + 8008dee: e76f b.n 8008cd0 + 8008df0: 6841 ldr r1, [r0, #4] + 8008df2: 2900 cmp r1, #0 + 8008df4: f43f af6b beq.w 8008cce + 8008df8: 2001 movs r0, #1 + 8008dfa: e7f3 b.n 8008de4 + 8008dfc: 6841 ldr r1, [r0, #4] + 8008dfe: 2900 cmp r1, #0 + 8008e00: f43f af65 beq.w 8008cce + 8008e04: 2008 movs r0, #8 + 8008e06: e7ed b.n 8008de4 + 8008e08: 6841 ldr r1, [r0, #4] + 8008e0a: 2900 cmp r1, #0 + 8008e0c: f43f af5f beq.w 8008cce + 8008e10: 2009 movs r0, #9 + 8008e12: e7e7 b.n 8008de4 + 8008e14: 6841 ldr r1, [r0, #4] + 8008e16: 2900 cmp r1, #0 + 8008e18: f43f af59 beq.w 8008cce + 8008e1c: 200c movs r0, #12 + 8008e1e: e7e1 b.n 8008de4 + 8008e20: 6841 ldr r1, [r0, #4] + 8008e22: 2900 cmp r1, #0 + 8008e24: f43f af53 beq.w 8008cce + 8008e28: 200d movs r0, #13 + 8008e2a: e7db b.n 8008de4 + 8008e2c: 6841 ldr r1, [r0, #4] + 8008e2e: 2900 cmp r1, #0 + 8008e30: f43f af4d beq.w 8008cce + 8008e34: 200e movs r0, #14 + 8008e36: e7d5 b.n 8008de4 + 8008e38: 6841 ldr r1, [r0, #4] + 8008e3a: 2900 cmp r1, #0 + 8008e3c: f43f af47 beq.w 8008cce + 8008e40: 200f movs r0, #15 + 8008e42: e7cf b.n 8008de4 + 8008e44: 4c4a ldr r4, [pc, #296] ; (8008f70 ) + 8008e46: 4b49 ldr r3, [pc, #292] ; (8008f6c ) + 8008e48: 7900 ldrb r0, [r0, #4] + 8008e4a: f883 0119 strb.w r0, [r3, #281] ; 0x119 + 8008e4e: 6da3 ldr r3, [r4, #88] ; 0x58 + 8008e50: 4798 blx r3 + 8008e52: 6ae3 ldr r3, [r4, #44] ; 0x2c + 8008e54: 4798 blx r3 + 8008e56: e797 b.n 8008d88 + 8008e58: 4b44 ldr r3, [pc, #272] ; (8008f6c ) + 8008e5a: 7902 ldrb r2, [r0, #4] + 8008e5c: f883 208c strb.w r2, [r3, #140] ; 0x8c + 8008e60: e792 b.n 8008d88 + 8008e62: 4e42 ldr r6, [pc, #264] ; (8008f6c ) + 8008e64: 7a03 ldrb r3, [r0, #8] + 8008e66: f88d 3004 strb.w r3, [sp, #4] + 8008e6a: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 8008e6e: f896 307d ldrb.w r3, [r6, #125] ; 0x7d + 8008e72: f88d 3005 strb.w r3, [sp, #5] + 8008e76: 2207 movs r2, #7 + 8008e78: a901 add r1, sp, #4 + 8008e7a: f001 fbc2 bl 800a602 + 8008e7e: 2800 cmp r0, #0 + 8008e80: f43f af25 beq.w 8008cce + 8008e84: 6863 ldr r3, [r4, #4] + 8008e86: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 8008e8a: 9301 str r3, [sp, #4] + 8008e8c: 2200 movs r2, #0 + 8008e8e: a901 add r1, sp, #4 + 8008e90: f001 fbb7 bl 800a602 + 8008e94: 2800 cmp r0, #0 + 8008e96: f43f af1a beq.w 8008cce + 8008e9a: 366c adds r6, #108 ; 0x6c + 8008e9c: e9d4 0101 ldrd r0, r1, [r4, #4] + 8008ea0: e886 0003 stmia.w r6, {r0, r1} + 8008ea4: e770 b.n 8008d88 + 8008ea6: 4e31 ldr r6, [pc, #196] ; (8008f6c ) + 8008ea8: 7a03 ldrb r3, [r0, #8] + 8008eaa: f88d 3004 strb.w r3, [sp, #4] + 8008eae: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 8008eb2: f896 307d ldrb.w r3, [r6, #125] ; 0x7d + 8008eb6: f88d 3005 strb.w r3, [sp, #5] + 8008eba: 2207 movs r2, #7 + 8008ebc: a901 add r1, sp, #4 + 8008ebe: f001 fba0 bl 800a602 + 8008ec2: 2800 cmp r0, #0 + 8008ec4: f43f af03 beq.w 8008cce + 8008ec8: 36b4 adds r6, #180 ; 0xb4 + 8008eca: e7e7 b.n 8008e9c + 8008ecc: 4e27 ldr r6, [pc, #156] ; (8008f6c ) + 8008ece: 7a03 ldrb r3, [r0, #8] + 8008ed0: f88d 3004 strb.w r3, [sp, #4] + 8008ed4: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 8008ed8: f896 307d ldrb.w r3, [r6, #125] ; 0x7d + 8008edc: f88d 3005 strb.w r3, [sp, #5] + 8008ee0: 2207 movs r2, #7 + 8008ee2: a901 add r1, sp, #4 + 8008ee4: f001 fb8d bl 800a602 + 8008ee8: 2800 cmp r0, #0 + 8008eea: f43f aef0 beq.w 8008cce + 8008eee: e9d4 0101 ldrd r0, r1, [r4, #4] + 8008ef2: f106 0374 add.w r3, r6, #116 ; 0x74 + 8008ef6: e883 0003 stmia.w r3, {r0, r1} + 8008efa: f896 3118 ldrb.w r3, [r6, #280] ; 0x118 + 8008efe: 2b02 cmp r3, #2 + 8008f00: f47f af42 bne.w 8008d88 + 8008f04: f896 3130 ldrb.w r3, [r6, #304] ; 0x130 + 8008f08: 2b00 cmp r3, #0 + 8008f0a: f43f af3d beq.w 8008d88 + 8008f0e: 4b18 ldr r3, [pc, #96] ; (8008f70 ) + 8008f10: 6adb ldr r3, [r3, #44] ; 0x2c + 8008f12: 4798 blx r3 + 8008f14: f7fd ff48 bl 8006da8 + 8008f18: e736 b.n 8008d88 + 8008f1a: 4e14 ldr r6, [pc, #80] ; (8008f6c ) + 8008f1c: 7a03 ldrb r3, [r0, #8] + 8008f1e: f88d 3004 strb.w r3, [sp, #4] + 8008f22: f896 0048 ldrb.w r0, [r6, #72] ; 0x48 + 8008f26: f896 307d ldrb.w r3, [r6, #125] ; 0x7d + 8008f2a: f88d 3005 strb.w r3, [sp, #5] + 8008f2e: 2207 movs r2, #7 + 8008f30: a901 add r1, sp, #4 + 8008f32: f001 fb66 bl 800a602 + 8008f36: 2800 cmp r0, #0 + 8008f38: f43f aec9 beq.w 8008cce + 8008f3c: 36bc adds r6, #188 ; 0xbc + 8008f3e: e7ad b.n 8008e9c + 8008f40: 6843 ldr r3, [r0, #4] + 8008f42: 9302 str r3, [sp, #8] + 8008f44: 2301 movs r3, #1 + 8008f46: f88d 300c strb.w r3, [sp, #12] + 8008f4a: 4b08 ldr r3, [pc, #32] ; (8008f6c ) + 8008f4c: a902 add r1, sp, #8 + 8008f4e: f893 0048 ldrb.w r0, [r3, #72] ; 0x48 + 8008f52: f001 fb63 bl 800a61c + 8008f56: 2800 cmp r0, #0 + 8008f58: f47f af16 bne.w 8008d88 + 8008f5c: e6b7 b.n 8008cce + 8008f5e: 6843 ldr r3, [r0, #4] + 8008f60: 9302 str r3, [sp, #8] + 8008f62: 2300 movs r3, #0 + 8008f64: e7ef b.n 8008f46 + 8008f66: bf00 nop + 8008f68: 200011c8 .word 0x200011c8 + 8008f6c: 20000c00 .word 0x20000c00 + 8008f70: 0800f9f4 .word 0x0800f9f4 + 8008f74: 7903 ldrb r3, [r0, #4] + 8008f76: 1e5a subs r2, r3, #1 + 8008f78: 2a0e cmp r2, #14 + 8008f7a: f63f aea8 bhi.w 8008cce + 8008f7e: 4a93 ldr r2, [pc, #588] ; (80091cc ) + 8008f80: f882 3068 strb.w r3, [r2, #104] ; 0x68 + 8008f84: e700 b.n 8008d88 + 8008f86: 4b91 ldr r3, [pc, #580] ; (80091cc ) + 8008f88: 6842 ldr r2, [r0, #4] + 8008f8a: 655a str r2, [r3, #84] ; 0x54 + 8008f8c: e6fc b.n 8008d88 + 8008f8e: 4b8f ldr r3, [pc, #572] ; (80091cc ) + 8008f90: 6842 ldr r2, [r0, #4] + 8008f92: 659a str r2, [r3, #88] ; 0x58 + 8008f94: e6f8 b.n 8008d88 + 8008f96: 4b8d ldr r3, [pc, #564] ; (80091cc ) + 8008f98: 6842 ldr r2, [r0, #4] + 8008f9a: 65da str r2, [r3, #92] ; 0x5c + 8008f9c: e6f4 b.n 8008d88 + 8008f9e: 4b8b ldr r3, [pc, #556] ; (80091cc ) + 8008fa0: 6842 ldr r2, [r0, #4] + 8008fa2: 661a str r2, [r3, #96] ; 0x60 + 8008fa4: e6f0 b.n 8008d88 + 8008fa6: 4b89 ldr r3, [pc, #548] ; (80091cc ) + 8008fa8: 6842 ldr r2, [r0, #4] + 8008faa: 665a str r2, [r3, #100] ; 0x64 + 8008fac: e6ec b.n 8008d88 + 8008fae: 4c87 ldr r4, [pc, #540] ; (80091cc ) + 8008fb0: 7903 ldrb r3, [r0, #4] + 8008fb2: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8008fb6: f88d 3004 strb.w r3, [sp, #4] + 8008fba: 2206 movs r2, #6 + 8008fbc: a901 add r1, sp, #4 + 8008fbe: f001 fb20 bl 800a602 + 8008fc2: 2800 cmp r0, #0 + 8008fc4: f43f ae83 beq.w 8008cce + 8008fc8: f89d 3004 ldrb.w r3, [sp, #4] + 8008fcc: f884 30dd strb.w r3, [r4, #221] ; 0xdd + 8008fd0: e6da b.n 8008d88 + 8008fd2: 4c7e ldr r4, [pc, #504] ; (80091cc ) + 8008fd4: 7903 ldrb r3, [r0, #4] + 8008fd6: f88d 3004 strb.w r3, [sp, #4] + 8008fda: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8008fde: f894 307c ldrb.w r3, [r4, #124] ; 0x7c + 8008fe2: f88d 3006 strb.w r3, [sp, #6] + 8008fe6: 2205 movs r2, #5 + 8008fe8: a901 add r1, sp, #4 + 8008fea: f001 fb0a bl 800a602 + 8008fee: 2800 cmp r0, #0 + 8008ff0: f43f ae6d beq.w 8008cce + 8008ff4: f89d 3004 ldrb.w r3, [sp, #4] + 8008ff8: f884 3039 strb.w r3, [r4, #57] ; 0x39 + 8008ffc: e6c4 b.n 8008d88 + 8008ffe: 4c73 ldr r4, [pc, #460] ; (80091cc ) + 8009000: 7903 ldrb r3, [r0, #4] + 8009002: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8009006: f88d 3004 strb.w r3, [sp, #4] + 800900a: 220a movs r2, #10 + 800900c: a901 add r1, sp, #4 + 800900e: f001 faf8 bl 800a602 + 8009012: 2800 cmp r0, #0 + 8009014: f43f ae5b beq.w 8008cce + 8009018: f89d 3004 ldrb.w r3, [sp, #4] + 800901c: f884 30dc strb.w r3, [r4, #220] ; 0xdc + 8009020: e6b2 b.n 8008d88 + 8009022: 4c6a ldr r4, [pc, #424] ; (80091cc ) + 8009024: 7903 ldrb r3, [r0, #4] + 8009026: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 800902a: f88d 3004 strb.w r3, [sp, #4] + 800902e: 2209 movs r2, #9 + 8009030: a901 add r1, sp, #4 + 8009032: f001 fae6 bl 800a602 + 8009036: 2800 cmp r0, #0 + 8009038: f43f ae49 beq.w 8008cce + 800903c: f89d 3004 ldrb.w r3, [sp, #4] + 8009040: f884 3038 strb.w r3, [r4, #56] ; 0x38 + 8009044: e6a0 b.n 8008d88 + 8009046: 4b61 ldr r3, [pc, #388] ; (80091cc ) + 8009048: 6842 ldr r2, [r0, #4] + 800904a: f8c3 2094 str.w r2, [r3, #148] ; 0x94 + 800904e: 64da str r2, [r3, #76] ; 0x4c + 8009050: e69a b.n 8008d88 + 8009052: 4b5e ldr r3, [pc, #376] ; (80091cc ) + 8009054: 7902 ldrb r2, [r0, #4] + 8009056: f883 2098 strb.w r2, [r3, #152] ; 0x98 + 800905a: f883 2050 strb.w r2, [r3, #80] ; 0x50 + 800905e: e693 b.n 8008d88 + 8009060: 4b5a ldr r3, [pc, #360] ; (80091cc ) + 8009062: 6842 ldr r2, [r0, #4] + 8009064: f8c3 2084 str.w r2, [r3, #132] ; 0x84 + 8009068: e68e b.n 8008d88 + 800906a: 4b58 ldr r3, [pc, #352] ; (80091cc ) + 800906c: 6842 ldr r2, [r0, #4] + 800906e: f8c3 20cc str.w r2, [r3, #204] ; 0xcc + 8009072: e689 b.n 8008d88 + 8009074: 2b01 cmp r3, #1 + 8009076: f040 80a4 bne.w 80091c2 + 800907a: 4c55 ldr r4, [pc, #340] ; (80091d0 ) + 800907c: 2124 movs r1, #36 ; 0x24 + 800907e: 4620 mov r0, r4 + 8009080: f003 fa4e bl 800c520 + 8009084: 6a63 ldr r3, [r4, #36] ; 0x24 8009086: 4298 cmp r0, r3 - 8009088: d1f5 bne.n 8009076 - 800908a: f44f 7180 mov.w r1, #256 ; 0x100 - 800908e: f104 0048 add.w r0, r4, #72 ; 0x48 - 8009092: f003 fa3b bl 800c50c - 8009096: f8d4 3148 ldr.w r3, [r4, #328] ; 0x148 + 8009088: d001 beq.n 800908e + 800908a: 2017 movs r0, #23 + 800908c: e620 b.n 8008cd0 + 800908e: 211c movs r1, #28 + 8009090: f104 0028 add.w r0, r4, #40 ; 0x28 + 8009094: f003 fa44 bl 800c520 + 8009098: 6c63 ldr r3, [r4, #68] ; 0x44 800909a: 4298 cmp r0, r3 - 800909c: d1eb bne.n 8009076 - 800909e: 21d4 movs r1, #212 ; 0xd4 - 80090a0: f504 70a6 add.w r0, r4, #332 ; 0x14c - 80090a4: f003 fa32 bl 800c50c - 80090a8: f8d4 3220 ldr.w r3, [r4, #544] ; 0x220 - 80090ac: 4298 cmp r0, r3 - 80090ae: d1e2 bne.n 8009076 - 80090b0: 2100 movs r1, #0 - 80090b2: f504 7009 add.w r0, r4, #548 ; 0x224 - 80090b6: f003 fa29 bl 800c50c - 80090ba: f8d4 3224 ldr.w r3, [r4, #548] ; 0x224 - 80090be: 4298 cmp r0, r3 - 80090c0: d1d9 bne.n 8009076 - 80090c2: f44f 7160 mov.w r1, #896 ; 0x380 - 80090c6: f504 700a add.w r0, r4, #552 ; 0x228 - 80090ca: f003 fa1f bl 800c50c - 80090ce: f8d4 35a8 ldr.w r3, [r4, #1448] ; 0x5a8 + 800909c: d1f5 bne.n 800908a + 800909e: f44f 7180 mov.w r1, #256 ; 0x100 + 80090a2: f104 0048 add.w r0, r4, #72 ; 0x48 + 80090a6: f003 fa3b bl 800c520 + 80090aa: f8d4 3148 ldr.w r3, [r4, #328] ; 0x148 + 80090ae: 4298 cmp r0, r3 + 80090b0: d1eb bne.n 800908a + 80090b2: 21d4 movs r1, #212 ; 0xd4 + 80090b4: f504 70a6 add.w r0, r4, #332 ; 0x14c + 80090b8: f003 fa32 bl 800c520 + 80090bc: f8d4 3220 ldr.w r3, [r4, #544] ; 0x220 + 80090c0: 4298 cmp r0, r3 + 80090c2: d1e2 bne.n 800908a + 80090c4: 2100 movs r1, #0 + 80090c6: f504 7009 add.w r0, r4, #548 ; 0x224 + 80090ca: f003 fa29 bl 800c520 + 80090ce: f8d4 3224 ldr.w r3, [r4, #548] ; 0x224 80090d2: 4298 cmp r0, r3 - 80090d4: d1cf bne.n 8009076 - 80090d6: 2114 movs r1, #20 - 80090d8: f204 50ac addw r0, r4, #1452 ; 0x5ac - 80090dc: f003 fa16 bl 800c50c - 80090e0: f8d4 35c0 ldr.w r3, [r4, #1472] ; 0x5c0 - 80090e4: 4298 cmp r0, r3 - 80090e6: d1c6 bne.n 8009076 - 80090e8: 4e33 ldr r6, [pc, #204] ; (80091b8 ) - 80090ea: 4621 mov r1, r4 - 80090ec: 4630 mov r0, r6 - 80090ee: f240 52c4 movw r2, #1476 ; 0x5c4 - 80090f2: f003 f9f5 bl 800c4e0 - 80090f6: 4620 mov r0, r4 - 80090f8: f240 52c4 movw r2, #1476 ; 0x5c4 - 80090fc: 2100 movs r1, #0 - 80090fe: f003 fa03 bl 800c508 - 8009102: f895 341b ldrb.w r3, [r5, #1051] ; 0x41b - 8009106: f885 33e8 strb.w r3, [r5, #1000] ; 0x3e8 - 800910a: 6f73 ldr r3, [r6, #116] ; 0x74 - 800910c: f8c5 33ec str.w r3, [r5, #1004] ; 0x3ec - 8009110: f896 307d ldrb.w r3, [r6, #125] ; 0x7d - 8009114: f885 33f8 strb.w r3, [r5, #1016] ; 0x3f8 - 8009118: f240 2301 movw r3, #513 ; 0x201 - 800911c: f8a5 33fa strh.w r3, [r5, #1018] ; 0x3fa - 8009120: 4b27 ldr r3, [pc, #156] ; (80091c0 ) - 8009122: f896 0119 ldrb.w r0, [r6, #281] ; 0x119 - 8009126: 6d9b ldr r3, [r3, #88] ; 0x58 - 8009128: 4798 blx r3 - 800912a: e623 b.n 8008d74 - 800912c: 7983 ldrb r3, [r0, #6] - 800912e: 2b01 cmp r3, #1 - 8009130: f63f adc3 bhi.w 8008cba - 8009134: 4b20 ldr r3, [pc, #128] ; (80091b8 ) - 8009136: 6842 ldr r2, [r0, #4] - 8009138: 6840 ldr r0, [r0, #4] - 800913a: f8c3 212c str.w r2, [r3, #300] ; 0x12c - 800913e: f000 fed1 bl 8009ee4 - 8009142: e647 b.n 8008dd4 - 8009144: 4b1c ldr r3, [pc, #112] ; (80091b8 ) - 8009146: 6842 ldr r2, [r0, #4] - 8009148: f8c3 2090 str.w r2, [r3, #144] ; 0x90 - 800914c: e612 b.n 8008d74 - 800914e: 4b1a ldr r3, [pc, #104] ; (80091b8 ) - 8009150: 7902 ldrb r2, [r0, #4] - 8009152: f883 211f strb.w r2, [r3, #287] ; 0x11f - 8009156: e60d b.n 8008d74 - 8009158: 4b17 ldr r3, [pc, #92] ; (80091b8 ) - 800915a: 8882 ldrh r2, [r0, #4] - 800915c: f8a3 2088 strh.w r2, [r3, #136] ; 0x88 - 8009160: e608 b.n 8008d74 - 8009162: 4b15 ldr r3, [pc, #84] ; (80091b8 ) - 8009164: 8882 ldrh r2, [r0, #4] - 8009166: f8a3 208a strh.w r2, [r3, #138] ; 0x8a - 800916a: e603 b.n 8008d74 - 800916c: 4b12 ldr r3, [pc, #72] ; (80091b8 ) + 80090d4: d1d9 bne.n 800908a + 80090d6: f44f 7160 mov.w r1, #896 ; 0x380 + 80090da: f504 700a add.w r0, r4, #552 ; 0x228 + 80090de: f003 fa1f bl 800c520 + 80090e2: f8d4 35a8 ldr.w r3, [r4, #1448] ; 0x5a8 + 80090e6: 4298 cmp r0, r3 + 80090e8: d1cf bne.n 800908a + 80090ea: 2114 movs r1, #20 + 80090ec: f204 50ac addw r0, r4, #1452 ; 0x5ac + 80090f0: f003 fa16 bl 800c520 + 80090f4: f8d4 35c0 ldr.w r3, [r4, #1472] ; 0x5c0 + 80090f8: 4298 cmp r0, r3 + 80090fa: d1c6 bne.n 800908a + 80090fc: 4e33 ldr r6, [pc, #204] ; (80091cc ) + 80090fe: 4621 mov r1, r4 + 8009100: 4630 mov r0, r6 + 8009102: f240 52c4 movw r2, #1476 ; 0x5c4 + 8009106: f003 f9f5 bl 800c4f4 + 800910a: 4620 mov r0, r4 + 800910c: f240 52c4 movw r2, #1476 ; 0x5c4 + 8009110: 2100 movs r1, #0 + 8009112: f003 fa03 bl 800c51c + 8009116: f895 341b ldrb.w r3, [r5, #1051] ; 0x41b + 800911a: f885 33e8 strb.w r3, [r5, #1000] ; 0x3e8 + 800911e: 6f73 ldr r3, [r6, #116] ; 0x74 + 8009120: f8c5 33ec str.w r3, [r5, #1004] ; 0x3ec + 8009124: f896 307d ldrb.w r3, [r6, #125] ; 0x7d + 8009128: f885 33f8 strb.w r3, [r5, #1016] ; 0x3f8 + 800912c: f240 2301 movw r3, #513 ; 0x201 + 8009130: f8a5 33fa strh.w r3, [r5, #1018] ; 0x3fa + 8009134: 4b27 ldr r3, [pc, #156] ; (80091d4 ) + 8009136: f896 0119 ldrb.w r0, [r6, #281] ; 0x119 + 800913a: 6d9b ldr r3, [r3, #88] ; 0x58 + 800913c: 4798 blx r3 + 800913e: e623 b.n 8008d88 + 8009140: 7983 ldrb r3, [r0, #6] + 8009142: 2b01 cmp r3, #1 + 8009144: f63f adc3 bhi.w 8008cce + 8009148: 4b20 ldr r3, [pc, #128] ; (80091cc ) + 800914a: 6842 ldr r2, [r0, #4] + 800914c: 6840 ldr r0, [r0, #4] + 800914e: f8c3 212c str.w r2, [r3, #300] ; 0x12c + 8009152: f000 fed1 bl 8009ef8 + 8009156: e647 b.n 8008de8 + 8009158: 4b1c ldr r3, [pc, #112] ; (80091cc ) + 800915a: 6842 ldr r2, [r0, #4] + 800915c: f8c3 2090 str.w r2, [r3, #144] ; 0x90 + 8009160: e612 b.n 8008d88 + 8009162: 4b1a ldr r3, [pc, #104] ; (80091cc ) + 8009164: 7902 ldrb r2, [r0, #4] + 8009166: f883 211f strb.w r2, [r3, #287] ; 0x11f + 800916a: e60d b.n 8008d88 + 800916c: 4b17 ldr r3, [pc, #92] ; (80091cc ) 800916e: 8882 ldrh r2, [r0, #4] - 8009170: f8a3 20d0 strh.w r2, [r3, #208] ; 0xd0 - 8009174: e5fe b.n 8008d74 - 8009176: 4b10 ldr r3, [pc, #64] ; (80091b8 ) + 8009170: f8a3 2088 strh.w r2, [r3, #136] ; 0x88 + 8009174: e608 b.n 8008d88 + 8009176: 4b15 ldr r3, [pc, #84] ; (80091cc ) 8009178: 8882 ldrh r2, [r0, #4] - 800917a: f8a3 20d2 strh.w r2, [r3, #210] ; 0xd2 - 800917e: e5f9 b.n 8008d74 - 8009180: 4b0d ldr r3, [pc, #52] ; (80091b8 ) - 8009182: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 - 8009186: b10a cbz r2, 800918c - 8009188: 2a06 cmp r2, #6 - 800918a: d112 bne.n 80091b2 - 800918c: 88a2 ldrh r2, [r4, #4] - 800918e: f8a3 25a0 strh.w r2, [r3, #1440] ; 0x5a0 - 8009192: e5ef b.n 8008d74 - 8009194: 4b08 ldr r3, [pc, #32] ; (80091b8 ) + 800917a: f8a3 208a strh.w r2, [r3, #138] ; 0x8a + 800917e: e603 b.n 8008d88 + 8009180: 4b12 ldr r3, [pc, #72] ; (80091cc ) + 8009182: 8882 ldrh r2, [r0, #4] + 8009184: f8a3 20d0 strh.w r2, [r3, #208] ; 0xd0 + 8009188: e5fe b.n 8008d88 + 800918a: 4b10 ldr r3, [pc, #64] ; (80091cc ) + 800918c: 8882 ldrh r2, [r0, #4] + 800918e: f8a3 20d2 strh.w r2, [r3, #210] ; 0xd2 + 8009192: e5f9 b.n 8008d88 + 8009194: 4b0d ldr r3, [pc, #52] ; (80091cc ) 8009196: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 - 800919a: b10a cbz r2, 80091a0 + 800919a: b10a cbz r2, 80091a0 800919c: 2a06 cmp r2, #6 - 800919e: d108 bne.n 80091b2 - 80091a0: 6862 ldr r2, [r4, #4] - 80091a2: f8c3 25a4 str.w r2, [r3, #1444] ; 0x5a4 - 80091a6: e5e5 b.n 8008d74 - 80091a8: f000 fb99 bl 80098de - 80091ac: e5d9 b.n 8008d62 - 80091ae: 2001 movs r0, #1 - 80091b0: e584 b.n 8008cbc - 80091b2: 2018 movs r0, #24 - 80091b4: e582 b.n 8008cbc - 80091b6: bf00 nop - 80091b8: 20000c00 .word 0x20000c00 - 80091bc: 2000063c .word 0x2000063c - 80091c0: 0800f9e4 .word 0x0800f9e4 + 800919e: d112 bne.n 80091c6 + 80091a0: 88a2 ldrh r2, [r4, #4] + 80091a2: f8a3 25a0 strh.w r2, [r3, #1440] ; 0x5a0 + 80091a6: e5ef b.n 8008d88 + 80091a8: 4b08 ldr r3, [pc, #32] ; (80091cc ) + 80091aa: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 + 80091ae: b10a cbz r2, 80091b4 + 80091b0: 2a06 cmp r2, #6 + 80091b2: d108 bne.n 80091c6 + 80091b4: 6862 ldr r2, [r4, #4] + 80091b6: f8c3 25a4 str.w r2, [r3, #1444] ; 0x5a4 + 80091ba: e5e5 b.n 8008d88 + 80091bc: f000 fb99 bl 80098f2 + 80091c0: e5d9 b.n 8008d76 + 80091c2: 2001 movs r0, #1 + 80091c4: e584 b.n 8008cd0 + 80091c6: 2018 movs r0, #24 + 80091c8: e582 b.n 8008cd0 + 80091ca: bf00 nop + 80091cc: 20000c00 .word 0x20000c00 + 80091d0: 2000063c .word 0x2000063c + 80091d4: 0800f9f4 .word 0x0800f9f4 -080091c4 : - 80091c4: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} - 80091c8: b087 sub sp, #28 - 80091ca: 2300 movs r3, #0 - 80091cc: f8ad 3000 strh.w r3, [sp] - 80091d0: 4606 mov r6, r0 - 80091d2: 2800 cmp r0, #0 - 80091d4: f000 80ed beq.w 80093b2 - 80091d8: 6103 str r3, [r0, #16] - 80091da: f7fe fd3d bl 8007c58 - 80091de: b120 cbz r0, 80091ea - 80091e0: 2401 movs r4, #1 - 80091e2: 4620 mov r0, r4 - 80091e4: b007 add sp, #28 - 80091e6: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} - 80091ea: f000 fd73 bl 8009cd4 - 80091ee: 2800 cmp r0, #0 - 80091f0: d1f6 bne.n 80091e0 - 80091f2: f000 fd69 bl 8009cc8 - 80091f6: 4601 mov r1, r0 - 80091f8: b918 cbnz r0, 8009202 - 80091fa: 486f ldr r0, [pc, #444] ; (80093b8 ) - 80091fc: 2214 movs r2, #20 - 80091fe: f003 f983 bl 800c508 - 8009202: 4d6e ldr r5, [pc, #440] ; (80093bc ) - 8009204: f895 3491 ldrb.w r3, [r5, #1169] ; 0x491 - 8009208: 2201 movs r2, #1 - 800920a: f043 0304 orr.w r3, r3, #4 - 800920e: f885 2455 strb.w r2, [r5, #1109] ; 0x455 - 8009212: f885 3491 strb.w r3, [r5, #1169] ; 0x491 - 8009216: 7833 ldrb r3, [r6, #0] - 8009218: f88d 3004 strb.w r3, [sp, #4] - 800921c: 2100 movs r1, #0 - 800921e: 3b01 subs r3, #1 - 8009220: f88d 2005 strb.w r2, [sp, #5] - 8009224: f8ad 1006 strh.w r1, [sp, #6] - 8009228: 2b0c cmp r3, #12 - 800922a: f200 80ba bhi.w 80093a2 - 800922e: e8df f003 tbb [pc, r3] - 8009232: b807 .short 0xb807 - 8009234: 8178b8b8 .word 0x8178b8b8 - 8009238: b88fb8b8 .word 0xb88fb8b8 - 800923c: 99ac .short 0x99ac - 800923e: a8 .byte 0xa8 - 800923f: 00 .byte 0x00 - 8009240: f8d5 7340 ldr.w r7, [r5, #832] ; 0x340 - 8009244: f017 0720 ands.w r7, r7, #32 - 8009248: d1ca bne.n 80091e0 - 800924a: f896 8004 ldrb.w r8, [r6, #4] - 800924e: f1b8 0f02 cmp.w r8, #2 - 8009252: d145 bne.n 80092e0 - 8009254: f8df 8168 ldr.w r8, [pc, #360] ; 80093c0 - 8009258: 4c5a ldr r4, [pc, #360] ; (80093c4 ) - 800925a: f7fe f829 bl 80072b0 - 800925e: f996 1005 ldrsb.w r1, [r6, #5] - 8009262: f898 0048 ldrb.w r0, [r8, #72] ; 0x48 - 8009266: 463a mov r2, r7 - 8009268: f001 fa1b bl 800a6a2 - 800926c: f888 0039 strb.w r0, [r8, #57] ; 0x39 - 8009270: 79b3 ldrb r3, [r6, #6] - 8009272: f888 3038 strb.w r3, [r8, #56] ; 0x38 - 8009276: 4638 mov r0, r7 - 8009278: 2307 movs r3, #7 - 800927a: f88d 3005 strb.w r3, [sp, #5] - 800927e: f7fd fe31 bl 8006ee4 - 8009282: 23ff movs r3, #255 ; 0xff - 8009284: f504 7086 add.w r0, r4, #268 ; 0x10c - 8009288: f8a5 310c strh.w r3, [r5, #268] ; 0x10c - 800928c: f8c5 4108 str.w r4, [r5, #264] ; 0x108 - 8009290: f885 7104 strb.w r7, [r5, #260] ; 0x104 - 8009294: f003 f84e bl 800c334 - 8009298: f504 708a add.w r0, r4, #276 ; 0x114 - 800929c: f003 f804 bl 800c2a8 - 80092a0: 4638 mov r0, r7 - 80092a2: f7fd fe8d bl 8006fc0 - 80092a6: 4604 mov r4, r0 - 80092a8: b140 cbz r0, 80092bc - 80092aa: f996 1005 ldrsb.w r1, [r6, #5] - 80092ae: f898 0048 ldrb.w r0, [r8, #72] ; 0x48 - 80092b2: 2201 movs r2, #1 - 80092b4: f001 f9f5 bl 800a6a2 - 80092b8: f888 0039 strb.w r0, [r8, #57] ; 0x39 - 80092bc: f8d5 3494 ldr.w r3, [r5, #1172] ; 0x494 - 80092c0: 6133 str r3, [r6, #16] - 80092c2: 2c00 cmp r4, #0 - 80092c4: d071 beq.n 80093aa - 80092c6: f000 fcff bl 8009cc8 - 80092ca: 2800 cmp r0, #0 - 80092cc: d189 bne.n 80091e2 - 80092ce: f895 3491 ldrb.w r3, [r5, #1169] ; 0x491 - 80092d2: f885 041a strb.w r0, [r5, #1050] ; 0x41a - 80092d6: f360 0382 bfi r3, r0, #2, #1 - 80092da: f885 3491 strb.w r3, [r5, #1169] ; 0x491 - 80092de: e780 b.n 80091e2 - 80092e0: f1b8 0f01 cmp.w r8, #1 - 80092e4: f04f 0402 mov.w r4, #2 - 80092e8: d1e8 bne.n 80092bc - 80092ea: f8df 90d4 ldr.w r9, [pc, #212] ; 80093c0 - 80092ee: f88d 4014 strb.w r4, [sp, #20] - 80092f2: f899 0048 ldrb.w r0, [r9, #72] ; 0x48 - 80092f6: f889 711d strb.w r7, [r9, #285] ; 0x11d - 80092fa: a902 add r1, sp, #8 - 80092fc: f001 f972 bl 800a5e4 - 8009300: 7933 ldrb r3, [r6, #4] - 8009302: f889 3130 strb.w r3, [r9, #304] ; 0x130 - 8009306: f88d 7005 strb.w r7, [sp, #5] - 800930a: f88d 8006 strb.w r8, [sp, #6] - 800930e: f7fd fc85 bl 8006c1c - 8009312: f895 3491 ldrb.w r3, [r5, #1169] ; 0x491 - 8009316: f043 0310 orr.w r3, r3, #16 - 800931a: f885 3491 strb.w r3, [r5, #1169] ; 0x491 - 800931e: 2400 movs r4, #0 - 8009320: e7cc b.n 80092bc - 8009322: 2200 movs r2, #0 - 8009324: 4669 mov r1, sp - 8009326: 2002 movs r0, #2 - 8009328: f000 faf6 bl 8009918 - 800932c: 2800 cmp r0, #0 - 800932e: d0f6 beq.n 800931e - 8009330: 2413 movs r4, #19 - 8009332: e7c3 b.n 80092bc - 8009334: 4b24 ldr r3, [pc, #144] ; (80093c8 ) - 8009336: 88b2 ldrh r2, [r6, #4] - 8009338: 6bdb ldr r3, [r3, #60] ; 0x3c - 800933a: f996 100c ldrsb.w r1, [r6, #12] - 800933e: 68b0 ldr r0, [r6, #8] - 8009340: 4798 blx r3 - 8009342: f8d5 3340 ldr.w r3, [r5, #832] ; 0x340 - 8009346: f043 0302 orr.w r3, r3, #2 - 800934a: f8c5 3340 str.w r3, [r5, #832] ; 0x340 - 800934e: e7e6 b.n 800931e - 8009350: a902 add r1, sp, #8 - 8009352: 200d movs r0, #13 - 8009354: f000 fb60 bl 8009a18 - 8009358: 2800 cmp r0, #0 - 800935a: d0e0 beq.n 800931e - 800935c: 2200 movs r2, #0 - 800935e: 4669 mov r1, sp - 8009360: 200d movs r0, #13 - 8009362: e7e1 b.n 8009328 - 8009364: 4b16 ldr r3, [pc, #88] ; (80093c0 ) - 8009366: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 - 800936a: b9d3 cbnz r3, 80093a2 - 800936c: 7934 ldrb r4, [r6, #4] - 800936e: f004 0007 and.w r0, r4, #7 - 8009372: f000 faad bl 80098d0 - 8009376: f88d 4000 strb.w r4, [sp] - 800937a: 2201 movs r2, #1 - 800937c: 4669 mov r1, sp - 800937e: 2010 movs r0, #16 - 8009380: e7d2 b.n 8009328 - 8009382: 2200 movs r2, #0 - 8009384: 4669 mov r1, sp - 8009386: 2012 movs r0, #18 - 8009388: e7ce b.n 8009328 - 800938a: f88d 2007 strb.w r2, [sp, #7] - 800938e: f000 fa90 bl 80098b2 - 8009392: 4604 mov r4, r0 - 8009394: b938 cbnz r0, 80093a6 - 8009396: f000 fa89 bl 80098ac - 800939a: 4620 mov r0, r4 - 800939c: f000 fa8b bl 80098b6 - 80093a0: e78c b.n 80092bc - 80093a2: 2402 movs r4, #2 - 80093a4: e78a b.n 80092bc - 80093a6: 2401 movs r4, #1 - 80093a8: e788 b.n 80092bc - 80093aa: a801 add r0, sp, #4 - 80093ac: f000 fbde bl 8009b6c - 80093b0: e717 b.n 80091e2 - 80093b2: 2403 movs r4, #3 - 80093b4: e715 b.n 80091e2 - 80093b6: bf00 nop - 80093b8: 2000161c .word 0x2000161c - 80093bc: 200011c8 .word 0x200011c8 - 80093c0: 20000c00 .word 0x20000c00 - 80093c4: 200011ca .word 0x200011ca - 80093c8: 0800f9e4 .word 0x0800f9e4 +080091d8 : + 80091d8: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} + 80091dc: b087 sub sp, #28 + 80091de: 2300 movs r3, #0 + 80091e0: f8ad 3000 strh.w r3, [sp] + 80091e4: 4606 mov r6, r0 + 80091e6: 2800 cmp r0, #0 + 80091e8: f000 80ed beq.w 80093c6 + 80091ec: 6103 str r3, [r0, #16] + 80091ee: f7fe fd3d bl 8007c6c + 80091f2: b120 cbz r0, 80091fe + 80091f4: 2401 movs r4, #1 + 80091f6: 4620 mov r0, r4 + 80091f8: b007 add sp, #28 + 80091fa: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 80091fe: f000 fd73 bl 8009ce8 + 8009202: 2800 cmp r0, #0 + 8009204: d1f6 bne.n 80091f4 + 8009206: f000 fd69 bl 8009cdc + 800920a: 4601 mov r1, r0 + 800920c: b918 cbnz r0, 8009216 + 800920e: 486f ldr r0, [pc, #444] ; (80093cc ) + 8009210: 2214 movs r2, #20 + 8009212: f003 f983 bl 800c51c + 8009216: 4d6e ldr r5, [pc, #440] ; (80093d0 ) + 8009218: f895 3491 ldrb.w r3, [r5, #1169] ; 0x491 + 800921c: 2201 movs r2, #1 + 800921e: f043 0304 orr.w r3, r3, #4 + 8009222: f885 2455 strb.w r2, [r5, #1109] ; 0x455 + 8009226: f885 3491 strb.w r3, [r5, #1169] ; 0x491 + 800922a: 7833 ldrb r3, [r6, #0] + 800922c: f88d 3004 strb.w r3, [sp, #4] + 8009230: 2100 movs r1, #0 + 8009232: 3b01 subs r3, #1 + 8009234: f88d 2005 strb.w r2, [sp, #5] + 8009238: f8ad 1006 strh.w r1, [sp, #6] + 800923c: 2b0c cmp r3, #12 + 800923e: f200 80ba bhi.w 80093b6 + 8009242: e8df f003 tbb [pc, r3] + 8009246: b807 .short 0xb807 + 8009248: 8178b8b8 .word 0x8178b8b8 + 800924c: b88fb8b8 .word 0xb88fb8b8 + 8009250: 99ac .short 0x99ac + 8009252: a8 .byte 0xa8 + 8009253: 00 .byte 0x00 + 8009254: f8d5 7340 ldr.w r7, [r5, #832] ; 0x340 + 8009258: f017 0720 ands.w r7, r7, #32 + 800925c: d1ca bne.n 80091f4 + 800925e: f896 8004 ldrb.w r8, [r6, #4] + 8009262: f1b8 0f02 cmp.w r8, #2 + 8009266: d145 bne.n 80092f4 + 8009268: f8df 8168 ldr.w r8, [pc, #360] ; 80093d4 + 800926c: 4c5a ldr r4, [pc, #360] ; (80093d8 ) + 800926e: f7fe f829 bl 80072c4 + 8009272: f996 1005 ldrsb.w r1, [r6, #5] + 8009276: f898 0048 ldrb.w r0, [r8, #72] ; 0x48 + 800927a: 463a mov r2, r7 + 800927c: f001 fa1b bl 800a6b6 + 8009280: f888 0039 strb.w r0, [r8, #57] ; 0x39 + 8009284: 79b3 ldrb r3, [r6, #6] + 8009286: f888 3038 strb.w r3, [r8, #56] ; 0x38 + 800928a: 4638 mov r0, r7 + 800928c: 2307 movs r3, #7 + 800928e: f88d 3005 strb.w r3, [sp, #5] + 8009292: f7fd fe31 bl 8006ef8 + 8009296: 23ff movs r3, #255 ; 0xff + 8009298: f504 7086 add.w r0, r4, #268 ; 0x10c + 800929c: f8a5 310c strh.w r3, [r5, #268] ; 0x10c + 80092a0: f8c5 4108 str.w r4, [r5, #264] ; 0x108 + 80092a4: f885 7104 strb.w r7, [r5, #260] ; 0x104 + 80092a8: f003 f84e bl 800c348 + 80092ac: f504 708a add.w r0, r4, #276 ; 0x114 + 80092b0: f003 f804 bl 800c2bc + 80092b4: 4638 mov r0, r7 + 80092b6: f7fd fe8d bl 8006fd4 + 80092ba: 4604 mov r4, r0 + 80092bc: b140 cbz r0, 80092d0 + 80092be: f996 1005 ldrsb.w r1, [r6, #5] + 80092c2: f898 0048 ldrb.w r0, [r8, #72] ; 0x48 + 80092c6: 2201 movs r2, #1 + 80092c8: f001 f9f5 bl 800a6b6 + 80092cc: f888 0039 strb.w r0, [r8, #57] ; 0x39 + 80092d0: f8d5 3494 ldr.w r3, [r5, #1172] ; 0x494 + 80092d4: 6133 str r3, [r6, #16] + 80092d6: 2c00 cmp r4, #0 + 80092d8: d071 beq.n 80093be + 80092da: f000 fcff bl 8009cdc + 80092de: 2800 cmp r0, #0 + 80092e0: d189 bne.n 80091f6 + 80092e2: f895 3491 ldrb.w r3, [r5, #1169] ; 0x491 + 80092e6: f885 041a strb.w r0, [r5, #1050] ; 0x41a + 80092ea: f360 0382 bfi r3, r0, #2, #1 + 80092ee: f885 3491 strb.w r3, [r5, #1169] ; 0x491 + 80092f2: e780 b.n 80091f6 + 80092f4: f1b8 0f01 cmp.w r8, #1 + 80092f8: f04f 0402 mov.w r4, #2 + 80092fc: d1e8 bne.n 80092d0 + 80092fe: f8df 90d4 ldr.w r9, [pc, #212] ; 80093d4 + 8009302: f88d 4014 strb.w r4, [sp, #20] + 8009306: f899 0048 ldrb.w r0, [r9, #72] ; 0x48 + 800930a: f889 711d strb.w r7, [r9, #285] ; 0x11d + 800930e: a902 add r1, sp, #8 + 8009310: f001 f972 bl 800a5f8 + 8009314: 7933 ldrb r3, [r6, #4] + 8009316: f889 3130 strb.w r3, [r9, #304] ; 0x130 + 800931a: f88d 7005 strb.w r7, [sp, #5] + 800931e: f88d 8006 strb.w r8, [sp, #6] + 8009322: f7fd fc85 bl 8006c30 + 8009326: f895 3491 ldrb.w r3, [r5, #1169] ; 0x491 + 800932a: f043 0310 orr.w r3, r3, #16 + 800932e: f885 3491 strb.w r3, [r5, #1169] ; 0x491 + 8009332: 2400 movs r4, #0 + 8009334: e7cc b.n 80092d0 + 8009336: 2200 movs r2, #0 + 8009338: 4669 mov r1, sp + 800933a: 2002 movs r0, #2 + 800933c: f000 faf6 bl 800992c + 8009340: 2800 cmp r0, #0 + 8009342: d0f6 beq.n 8009332 + 8009344: 2413 movs r4, #19 + 8009346: e7c3 b.n 80092d0 + 8009348: 4b24 ldr r3, [pc, #144] ; (80093dc ) + 800934a: 88b2 ldrh r2, [r6, #4] + 800934c: 6bdb ldr r3, [r3, #60] ; 0x3c + 800934e: f996 100c ldrsb.w r1, [r6, #12] + 8009352: 68b0 ldr r0, [r6, #8] + 8009354: 4798 blx r3 + 8009356: f8d5 3340 ldr.w r3, [r5, #832] ; 0x340 + 800935a: f043 0302 orr.w r3, r3, #2 + 800935e: f8c5 3340 str.w r3, [r5, #832] ; 0x340 + 8009362: e7e6 b.n 8009332 + 8009364: a902 add r1, sp, #8 + 8009366: 200d movs r0, #13 + 8009368: f000 fb60 bl 8009a2c + 800936c: 2800 cmp r0, #0 + 800936e: d0e0 beq.n 8009332 + 8009370: 2200 movs r2, #0 + 8009372: 4669 mov r1, sp + 8009374: 200d movs r0, #13 + 8009376: e7e1 b.n 800933c + 8009378: 4b16 ldr r3, [pc, #88] ; (80093d4 ) + 800937a: f893 3118 ldrb.w r3, [r3, #280] ; 0x118 + 800937e: b9d3 cbnz r3, 80093b6 + 8009380: 7934 ldrb r4, [r6, #4] + 8009382: f004 0007 and.w r0, r4, #7 + 8009386: f000 faad bl 80098e4 + 800938a: f88d 4000 strb.w r4, [sp] + 800938e: 2201 movs r2, #1 + 8009390: 4669 mov r1, sp + 8009392: 2010 movs r0, #16 + 8009394: e7d2 b.n 800933c + 8009396: 2200 movs r2, #0 + 8009398: 4669 mov r1, sp + 800939a: 2012 movs r0, #18 + 800939c: e7ce b.n 800933c + 800939e: f88d 2007 strb.w r2, [sp, #7] + 80093a2: f000 fa90 bl 80098c6 + 80093a6: 4604 mov r4, r0 + 80093a8: b938 cbnz r0, 80093ba + 80093aa: f000 fa89 bl 80098c0 + 80093ae: 4620 mov r0, r4 + 80093b0: f000 fa8b bl 80098ca + 80093b4: e78c b.n 80092d0 + 80093b6: 2402 movs r4, #2 + 80093b8: e78a b.n 80092d0 + 80093ba: 2401 movs r4, #1 + 80093bc: e788 b.n 80092d0 + 80093be: a801 add r0, sp, #4 + 80093c0: f000 fbde bl 8009b80 + 80093c4: e717 b.n 80091f6 + 80093c6: 2403 movs r4, #3 + 80093c8: e715 b.n 80091f6 + 80093ca: bf00 nop + 80093cc: 2000161c .word 0x2000161c + 80093d0: 200011c8 .word 0x200011c8 + 80093d4: 20000c00 .word 0x20000c00 + 80093d8: 200011ca .word 0x200011ca + 80093dc: 0800f9f4 .word 0x0800f9f4 -080093cc : - 80093cc: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 80093d0: b099 sub sp, #100 ; 0x64 - 80093d2: 4680 mov r8, r0 - 80093d4: 9105 str r1, [sp, #20] - 80093d6: b918 cbnz r0, 80093e0 - 80093d8: 2003 movs r0, #3 - 80093da: b019 add sp, #100 ; 0x64 - 80093dc: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 80093e0: 2300 movs r3, #0 - 80093e2: 6103 str r3, [r0, #16] - 80093e4: f7fe fc38 bl 8007c58 - 80093e8: 4606 mov r6, r0 - 80093ea: 2800 cmp r0, #0 - 80093ec: f040 80ab bne.w 8009546 - 80093f0: 4645 mov r5, r8 - 80093f2: cd0f ldmia r5!, {r0, r1, r2, r3} - 80093f4: ac0e add r4, sp, #56 ; 0x38 - 80093f6: c40f stmia r4!, {r0, r1, r2, r3} - 80093f8: 4c5a ldr r4, [pc, #360] ; (8009564 ) - 80093fa: f898 a000 ldrb.w sl, [r8] - 80093fe: f8b8 700c ldrh.w r7, [r8, #12] - 8009402: f998 b00e ldrsb.w fp, [r8, #14] - 8009406: 2214 movs r2, #20 - 8009408: f504 6088 add.w r0, r4, #1088 ; 0x440 - 800940c: 4631 mov r1, r6 - 800940e: f003 f87b bl 800c508 - 8009412: 2201 movs r2, #1 - 8009414: f884 2441 strb.w r2, [r4, #1089] ; 0x441 - 8009418: 4c53 ldr r4, [pc, #332] ; (8009568 ) - 800941a: f894 2130 ldrb.w r2, [r4, #304] ; 0x130 - 800941e: 2a02 cmp r2, #2 - 8009420: 4635 mov r5, r6 - 8009422: d10b bne.n 800943c - 8009424: f894 2118 ldrb.w r2, [r4, #280] ; 0x118 - 8009428: 2a02 cmp r2, #2 - 800942a: d107 bne.n 800943c - 800942c: f894 211e ldrb.w r2, [r4, #286] ; 0x11e - 8009430: b922 cbnz r2, 800943c - 8009432: f1ba 0f01 cmp.w sl, #1 - 8009436: bf38 it cc - 8009438: f04f 0a01 movcc.w sl, #1 - 800943c: f1ba 0f01 cmp.w sl, #1 - 8009440: d02d beq.n 800949e - 8009442: f1ba 0f03 cmp.w sl, #3 - 8009446: d02c beq.n 80094a2 - 8009448: f1ba 0f00 cmp.w sl, #0 - 800944c: d135 bne.n 80094ba - 800944e: 2202 movs r2, #2 - 8009450: f89d 303c ldrb.w r3, [sp, #60] ; 0x3c - 8009454: f8dd 9040 ldr.w r9, [sp, #64] ; 0x40 - 8009458: 9302 str r3, [sp, #8] - 800945a: f362 1547 bfi r5, r2, #5, #3 - 800945e: 2601 movs r6, #1 - 8009460: f894 107c ldrb.w r1, [r4, #124] ; 0x7c - 8009464: f88d 1032 strb.w r1, [sp, #50] ; 0x32 - 8009468: 2202 movs r2, #2 - 800946a: a90c add r1, sp, #48 ; 0x30 - 800946c: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8009470: f88d 2030 strb.w r2, [sp, #48] ; 0x30 - 8009474: f001 f8a8 bl 800a5c8 - 8009478: f894 311a ldrb.w r3, [r4, #282] ; 0x11a - 800947c: f894 c130 ldrb.w ip, [r4, #304] ; 0x130 - 8009480: f894 111d ldrb.w r1, [r4, #285] ; 0x11d - 8009484: b240 sxtb r0, r0 - 8009486: 2202 movs r2, #2 - 8009488: 2b00 cmp r3, #0 - 800948a: d06f beq.n 800956c - 800948c: f1bc 0f01 cmp.w ip, #1 - 8009490: d165 bne.n 800955e - 8009492: 2900 cmp r1, #0 - 8009494: d163 bne.n 800955e - 8009496: 2e00 cmp r6, #0 - 8009498: d16d bne.n 8009576 - 800949a: 4610 mov r0, r2 - 800949c: e027 b.n 80094ee - 800949e: 2204 movs r2, #4 - 80094a0: e7d6 b.n 8009450 - 80094a2: 2300 movs r3, #0 - 80094a4: f8dd 903c ldr.w r9, [sp, #60] ; 0x3c - 80094a8: f8bd 7040 ldrh.w r7, [sp, #64] ; 0x40 - 80094ac: f99d b042 ldrsb.w fp, [sp, #66] ; 0x42 - 80094b0: 9302 str r3, [sp, #8] - 80094b2: f065 051f orn r5, r5, #31 - 80094b6: 2601 movs r6, #1 - 80094b8: e7d2 b.n 8009460 - 80094ba: f04f 0b00 mov.w fp, #0 - 80094be: 46d9 mov r9, fp - 80094c0: f8cd b008 str.w fp, [sp, #8] - 80094c4: e7cc b.n 8009460 - 80094c6: f04f 0001 mov.w r0, #1 - 80094ca: f884 041a strb.w r0, [r4, #1050] ; 0x41a - 80094ce: e0dd b.n 800968c - 80094d0: f205 429a addw r2, r5, #1178 ; 0x49a - 80094d4: a90b add r1, sp, #44 ; 0x2c - 80094d6: f000 fadd bl 8009a94 - 80094da: 2800 cmp r0, #0 - 80094dc: f000 8120 beq.w 8009720 - 80094e0: 2013 movs r0, #19 - 80094e2: 9b04 ldr r3, [sp, #16] - 80094e4: 8733 strh r3, [r6, #56] ; 0x38 - 80094e6: 4b1f ldr r3, [pc, #124] ; (8009564 ) - 80094e8: 2200 movs r2, #0 - 80094ea: f883 241a strb.w r2, [r3, #1050] ; 0x41a - 80094ee: 4b1d ldr r3, [pc, #116] ; (8009564 ) - 80094f0: f8d3 3494 ldr.w r3, [r3, #1172] ; 0x494 - 80094f4: f8c8 3010 str.w r3, [r8, #16] - 80094f8: e76f b.n 80093da - 80094fa: f205 459a addw r5, r5, #1178 ; 0x49a - 80094fe: 462a mov r2, r5 - 8009500: a90b add r1, sp, #44 ; 0x2c - 8009502: f000 fac7 bl 8009a94 - 8009506: 2800 cmp r0, #0 - 8009508: d1ea bne.n 80094e0 - 800950a: 9b0b ldr r3, [sp, #44] ; 0x2c - 800950c: f884 0128 strb.w r0, [r4, #296] ; 0x128 - 8009510: f8c4 512c str.w r5, [r4, #300] ; 0x12c - 8009514: f884 3130 strb.w r3, [r4, #304] ; 0x130 - 8009518: e102 b.n 8009720 - 800951a: f1b9 0f00 cmp.w r9, #0 - 800951e: f000 80ff beq.w 8009720 - 8009522: 2a00 cmp r2, #0 - 8009524: f000 80fc beq.w 8009720 - 8009528: 4649 mov r1, r9 - 800952a: 1ce0 adds r0, r4, #3 - 800952c: f002 ffd8 bl 800c4e0 - 8009530: f894 3237 ldrb.w r3, [r4, #567] ; 0x237 - 8009534: 3301 adds r3, #1 - 8009536: 8023 strh r3, [r4, #0] - 8009538: e0f2 b.n 8009720 - 800953a: 2012 movs r0, #18 - 800953c: e7d1 b.n 80094e2 - 800953e: 2002 movs r0, #2 - 8009540: e7cf b.n 80094e2 - 8009542: 2007 movs r0, #7 - 8009544: e7cf b.n 80094e6 - 8009546: 2001 movs r0, #1 - 8009548: e747 b.n 80093da - 800954a: 4b06 ldr r3, [pc, #24] ; (8009564 ) - 800954c: f893 2491 ldrb.w r2, [r3, #1169] ; 0x491 - 8009550: f883 a440 strb.w sl, [r3, #1088] ; 0x440 - 8009554: f042 0201 orr.w r2, r2, #1 - 8009558: f883 2491 strb.w r2, [r3, #1169] ; 0x491 - 800955c: e7c7 b.n 80094ee - 800955e: b9ee cbnz r6, 800959c - 8009560: 2002 movs r0, #2 - 8009562: e7c4 b.n 80094ee - 8009564: 200011c8 .word 0x200011c8 - 8009568: 20000c00 .word 0x20000c00 - 800956c: 2e00 cmp r6, #0 - 800956e: d094 beq.n 800949a - 8009570: 4558 cmp r0, fp - 8009572: bfb8 it lt - 8009574: 4658 movlt r0, fp - 8009576: f894 307c ldrb.w r3, [r4, #124] ; 0x7c - 800957a: f88d 0020 strb.w r0, [sp, #32] - 800957e: 2205 movs r2, #5 - 8009580: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 - 8009584: f88d 3022 strb.w r3, [sp, #34] ; 0x22 - 8009588: a908 add r1, sp, #32 - 800958a: f001 f830 bl 800a5ee - 800958e: 2800 cmp r0, #0 - 8009590: f43f af22 beq.w 80093d8 - 8009594: f89d 3020 ldrb.w r3, [sp, #32] - 8009598: f884 3039 strb.w r3, [r4, #57] ; 0x39 - 800959c: 4a69 ldr r2, [pc, #420] ; (8009744 ) - 800959e: 4b6a ldr r3, [pc, #424] ; (8009748 ) - 80095a0: f8d2 0498 ldr.w r0, [r2, #1176] ; 0x498 - 80095a4: f8d3 4090 ldr.w r4, [r3, #144] ; 0x90 - 80095a8: b138 cbz r0, 80095ba - 80095aa: f005 fa83 bl 800eab4 - 80095ae: 4b66 ldr r3, [pc, #408] ; (8009748 ) - 80095b0: 4284 cmp r4, r0 - 80095b2: bf3c itt cc - 80095b4: 2200 movcc r2, #0 - 80095b6: f883 203a strbcc.w r2, [r3, #58] ; 0x3a - 80095ba: 8f19 ldrh r1, [r3, #56] ; 0x38 - 80095bc: 8f1a ldrh r2, [r3, #56] ; 0x38 - 80095be: f893 0130 ldrb.w r0, [r3, #304] ; 0x130 - 80095c2: 9104 str r1, [sp, #16] - 80095c4: 6a99 ldr r1, [r3, #40] ; 0x28 - 80095c6: 9109 str r1, [sp, #36] ; 0x24 - 80095c8: ba52 rev16 r2, r2 - 80095ca: 2800 cmp r0, #0 - 80095cc: d0b9 beq.n 8009542 - 80095ce: f893 011b ldrb.w r0, [r3, #283] ; 0x11b - 80095d2: b900 cbnz r0, 80095d6 - 80095d4: 6318 str r0, [r3, #48] ; 0x30 - 80095d6: f893 0118 ldrb.w r0, [r3, #280] ; 0x118 - 80095da: f8ad 2058 strh.w r2, [sp, #88] ; 0x58 - 80095de: 3801 subs r0, #1 - 80095e0: f893 207c ldrb.w r2, [r3, #124] ; 0x7c - 80095e4: f893 411a ldrb.w r4, [r3, #282] ; 0x11a - 80095e8: 9114 str r1, [sp, #80] ; 0x50 - 80095ea: f1d0 0b00 rsbs fp, r0, #0 - 80095ee: f8d3 1088 ldr.w r1, [r3, #136] ; 0x88 - 80095f2: f88d 205b strb.w r2, [sp, #91] ; 0x5b - 80095f6: eb4b 0b00 adc.w fp, fp, r0 - 80095fa: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 - 80095fe: f893 003a ldrb.w r0, [r3, #58] ; 0x3a - 8009602: f893 3068 ldrb.w r3, [r3, #104] ; 0x68 - 8009606: f88d 305a strb.w r3, [sp, #90] ; 0x5a - 800960a: ab09 add r3, sp, #36 ; 0x24 - 800960c: 9300 str r3, [sp, #0] - 800960e: 4b4f ldr r3, [pc, #316] ; (800974c ) - 8009610: 9003 str r0, [sp, #12] - 8009612: f04f 0001 mov.w r0, #1 - 8009616: f88d 004c strb.w r0, [sp, #76] ; 0x4c - 800961a: 9115 str r1, [sp, #84] ; 0x54 - 800961c: f88d 205c strb.w r2, [sp, #92] ; 0x5c - 8009620: f1a3 012f sub.w r1, r3, #47 ; 0x2f - 8009624: f1a3 0230 sub.w r2, r3, #48 ; 0x30 - 8009628: a813 add r0, sp, #76 ; 0x4c - 800962a: f88d 404d strb.w r4, [sp, #77] ; 0x4d - 800962e: f000 f8cf bl 80097d0 - 8009632: 9b03 ldr r3, [sp, #12] - 8009634: ea4f 1b0b mov.w fp, fp, lsl #4 - 8009638: ea4b 1b43 orr.w fp, fp, r3, lsl #5 - 800963c: 2600 movs r6, #0 - 800963e: ea4b 1b80 orr.w fp, fp, r0, lsl #6 - 8009642: ea4b 13c4 orr.w r3, fp, r4, lsl #7 - 8009646: 45b1 cmp r9, r6 - 8009648: 4c3e ldr r4, [pc, #248] ; (8009744 ) - 800964a: 9303 str r3, [sp, #12] - 800964c: bf08 it eq - 800964e: 4637 moveq r7, r6 - 8009650: 463a mov r2, r7 - 8009652: 4649 mov r1, r9 - 8009654: f504 709c add.w r0, r4, #312 ; 0x138 - 8009658: e9cd 660a strd r6, r6, [sp, #40] ; 0x28 - 800965c: 469b mov fp, r3 - 800965e: 8026 strh r6, [r4, #0] - 8009660: f884 641a strb.w r6, [r4, #1050] ; 0x41a - 8009664: f002 ff3c bl 800c4e0 - 8009668: b2e9 uxtb r1, r5 - 800966a: 70a5 strb r5, [r4, #2] - 800966c: f3c5 1542 ubfx r5, r5, #5, #3 - 8009670: b2fa uxtb r2, r7 - 8009672: 2d04 cmp r5, #4 - 8009674: 4e34 ldr r6, [pc, #208] ; (8009748 ) - 8009676: 9b03 ldr r3, [sp, #12] - 8009678: f884 2237 strb.w r2, [r4, #567] ; 0x237 - 800967c: f43f af23 beq.w 80094c6 - 8009680: 2d07 cmp r5, #7 - 8009682: f43f af4a beq.w 800951a - 8009686: 2d02 cmp r5, #2 - 8009688: f47f af59 bne.w 800953e - 800968c: 4d30 ldr r5, [pc, #192] ; (8009750 ) - 800968e: f884 110d strb.w r1, [r4, #269] ; 0x10d - 8009692: 2004 movs r0, #4 - 8009694: 9902 ldr r1, [sp, #8] - 8009696: f884 0104 strb.w r0, [r4, #260] ; 0x104 - 800969a: 20ff movs r0, #255 ; 0xff - 800969c: f884 010c strb.w r0, [r4, #268] ; 0x10c - 80096a0: f884 1128 strb.w r1, [r4, #296] ; 0x128 - 80096a4: f884 3114 strb.w r3, [r4, #276] ; 0x114 - 80096a8: f8d6 10e4 ldr.w r1, [r6, #228] ; 0xe4 - 80096ac: f8c4 5108 str.w r5, [r4, #264] ; 0x108 - 80096b0: f505 739b add.w r3, r5, #310 ; 0x136 - 80096b4: a80a add r0, sp, #40 ; 0x28 - 80096b6: f8c4 1110 str.w r1, [r4, #272] ; 0x110 - 80096ba: f884 2130 strb.w r2, [r4, #304] ; 0x130 - 80096be: f8c4 312c str.w r3, [r4, #300] ; 0x12c - 80096c2: f000 fc17 bl 8009ef4 - 80096c6: 2800 cmp r0, #0 - 80096c8: f47f af37 bne.w 800953a - 80096cc: 9b0a ldr r3, [sp, #40] ; 0x28 - 80096ce: f8a4 0444 strh.w r0, [r4, #1092] ; 0x444 - 80096d2: a80b add r0, sp, #44 ; 0x2c - 80096d4: f8a4 3116 strh.w r3, [r4, #278] ; 0x116 - 80096d8: f8c4 344c str.w r3, [r4, #1100] ; 0x44c - 80096dc: f000 f9ce bl 8009a7c - 80096e0: 2800 cmp r0, #0 - 80096e2: f47f aefd bne.w 80094e0 - 80096e6: 9b0b ldr r3, [sp, #44] ; 0x2c - 80096e8: b1d3 cbz r3, 8009720 - 80096ea: f996 0039 ldrsb.w r0, [r6, #57] ; 0x39 - 80096ee: f7fd faa9 bl 8006c44 - 80096f2: f894 3237 ldrb.w r3, [r4, #567] ; 0x237 - 80096f6: 2b00 cmp r3, #0 - 80096f8: f43f aeff beq.w 80094fa - 80096fc: 9b0b ldr r3, [sp, #44] ; 0x2c - 80096fe: 2b0f cmp r3, #15 - 8009700: f63f aee6 bhi.w 80094d0 - 8009704: f505 728b add.w r2, r5, #278 ; 0x116 - 8009708: a90b add r1, sp, #44 ; 0x2c - 800970a: 200f movs r0, #15 - 800970c: f000 f9c2 bl 8009a94 - 8009710: 2800 cmp r0, #0 - 8009712: f47f aee5 bne.w 80094e0 - 8009716: 9b0b ldr r3, [sp, #44] ; 0x2c - 8009718: f363 0b03 bfi fp, r3, #0, #4 - 800971c: f884 b114 strb.w fp, [r4, #276] ; 0x114 - 8009720: 9805 ldr r0, [sp, #20] - 8009722: f7fd fc4d bl 8006fc0 - 8009726: 2800 cmp r0, #0 - 8009728: f47f aedb bne.w 80094e2 - 800972c: 9b09 ldr r3, [sp, #36] ; 0x24 - 800972e: f886 003a strb.w r0, [r6, #58] ; 0x3a - 8009732: 62b3 str r3, [r6, #40] ; 0x28 - 8009734: f000 f97e bl 8009a34 - 8009738: 2800 cmp r0, #0 - 800973a: f43f af06 beq.w 800954a - 800973e: 2013 movs r0, #19 - 8009740: e6d1 b.n 80094e6 - 8009742: bf00 nop - 8009744: 200011c8 .word 0x200011c8 - 8009748: 20000c00 .word 0x20000c00 - 800974c: 20000c68 .word 0x20000c68 - 8009750: 200011ca .word 0x200011ca +080093e0 : + 80093e0: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 80093e4: b099 sub sp, #100 ; 0x64 + 80093e6: 4680 mov r8, r0 + 80093e8: 9105 str r1, [sp, #20] + 80093ea: b918 cbnz r0, 80093f4 + 80093ec: 2003 movs r0, #3 + 80093ee: b019 add sp, #100 ; 0x64 + 80093f0: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 80093f4: 2300 movs r3, #0 + 80093f6: 6103 str r3, [r0, #16] + 80093f8: f7fe fc38 bl 8007c6c + 80093fc: 4606 mov r6, r0 + 80093fe: 2800 cmp r0, #0 + 8009400: f040 80ab bne.w 800955a + 8009404: 4645 mov r5, r8 + 8009406: cd0f ldmia r5!, {r0, r1, r2, r3} + 8009408: ac0e add r4, sp, #56 ; 0x38 + 800940a: c40f stmia r4!, {r0, r1, r2, r3} + 800940c: 4c5a ldr r4, [pc, #360] ; (8009578 ) + 800940e: f898 a000 ldrb.w sl, [r8] + 8009412: f8b8 700c ldrh.w r7, [r8, #12] + 8009416: f998 b00e ldrsb.w fp, [r8, #14] + 800941a: 2214 movs r2, #20 + 800941c: f504 6088 add.w r0, r4, #1088 ; 0x440 + 8009420: 4631 mov r1, r6 + 8009422: f003 f87b bl 800c51c + 8009426: 2201 movs r2, #1 + 8009428: f884 2441 strb.w r2, [r4, #1089] ; 0x441 + 800942c: 4c53 ldr r4, [pc, #332] ; (800957c ) + 800942e: f894 2130 ldrb.w r2, [r4, #304] ; 0x130 + 8009432: 2a02 cmp r2, #2 + 8009434: 4635 mov r5, r6 + 8009436: d10b bne.n 8009450 + 8009438: f894 2118 ldrb.w r2, [r4, #280] ; 0x118 + 800943c: 2a02 cmp r2, #2 + 800943e: d107 bne.n 8009450 + 8009440: f894 211e ldrb.w r2, [r4, #286] ; 0x11e + 8009444: b922 cbnz r2, 8009450 + 8009446: f1ba 0f01 cmp.w sl, #1 + 800944a: bf38 it cc + 800944c: f04f 0a01 movcc.w sl, #1 + 8009450: f1ba 0f01 cmp.w sl, #1 + 8009454: d02d beq.n 80094b2 + 8009456: f1ba 0f03 cmp.w sl, #3 + 800945a: d02c beq.n 80094b6 + 800945c: f1ba 0f00 cmp.w sl, #0 + 8009460: d135 bne.n 80094ce + 8009462: 2202 movs r2, #2 + 8009464: f89d 303c ldrb.w r3, [sp, #60] ; 0x3c + 8009468: f8dd 9040 ldr.w r9, [sp, #64] ; 0x40 + 800946c: 9302 str r3, [sp, #8] + 800946e: f362 1547 bfi r5, r2, #5, #3 + 8009472: 2601 movs r6, #1 + 8009474: f894 107c ldrb.w r1, [r4, #124] ; 0x7c + 8009478: f88d 1032 strb.w r1, [sp, #50] ; 0x32 + 800947c: 2202 movs r2, #2 + 800947e: a90c add r1, sp, #48 ; 0x30 + 8009480: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8009484: f88d 2030 strb.w r2, [sp, #48] ; 0x30 + 8009488: f001 f8a8 bl 800a5dc + 800948c: f894 311a ldrb.w r3, [r4, #282] ; 0x11a + 8009490: f894 c130 ldrb.w ip, [r4, #304] ; 0x130 + 8009494: f894 111d ldrb.w r1, [r4, #285] ; 0x11d + 8009498: b240 sxtb r0, r0 + 800949a: 2202 movs r2, #2 + 800949c: 2b00 cmp r3, #0 + 800949e: d06f beq.n 8009580 + 80094a0: f1bc 0f01 cmp.w ip, #1 + 80094a4: d165 bne.n 8009572 + 80094a6: 2900 cmp r1, #0 + 80094a8: d163 bne.n 8009572 + 80094aa: 2e00 cmp r6, #0 + 80094ac: d16d bne.n 800958a + 80094ae: 4610 mov r0, r2 + 80094b0: e027 b.n 8009502 + 80094b2: 2204 movs r2, #4 + 80094b4: e7d6 b.n 8009464 + 80094b6: 2300 movs r3, #0 + 80094b8: f8dd 903c ldr.w r9, [sp, #60] ; 0x3c + 80094bc: f8bd 7040 ldrh.w r7, [sp, #64] ; 0x40 + 80094c0: f99d b042 ldrsb.w fp, [sp, #66] ; 0x42 + 80094c4: 9302 str r3, [sp, #8] + 80094c6: f065 051f orn r5, r5, #31 + 80094ca: 2601 movs r6, #1 + 80094cc: e7d2 b.n 8009474 + 80094ce: f04f 0b00 mov.w fp, #0 + 80094d2: 46d9 mov r9, fp + 80094d4: f8cd b008 str.w fp, [sp, #8] + 80094d8: e7cc b.n 8009474 + 80094da: f04f 0001 mov.w r0, #1 + 80094de: f884 041a strb.w r0, [r4, #1050] ; 0x41a + 80094e2: e0dd b.n 80096a0 + 80094e4: f205 429a addw r2, r5, #1178 ; 0x49a + 80094e8: a90b add r1, sp, #44 ; 0x2c + 80094ea: f000 fadd bl 8009aa8 + 80094ee: 2800 cmp r0, #0 + 80094f0: f000 8120 beq.w 8009734 + 80094f4: 2013 movs r0, #19 + 80094f6: 9b04 ldr r3, [sp, #16] + 80094f8: 8733 strh r3, [r6, #56] ; 0x38 + 80094fa: 4b1f ldr r3, [pc, #124] ; (8009578 ) + 80094fc: 2200 movs r2, #0 + 80094fe: f883 241a strb.w r2, [r3, #1050] ; 0x41a + 8009502: 4b1d ldr r3, [pc, #116] ; (8009578 ) + 8009504: f8d3 3494 ldr.w r3, [r3, #1172] ; 0x494 + 8009508: f8c8 3010 str.w r3, [r8, #16] + 800950c: e76f b.n 80093ee + 800950e: f205 459a addw r5, r5, #1178 ; 0x49a + 8009512: 462a mov r2, r5 + 8009514: a90b add r1, sp, #44 ; 0x2c + 8009516: f000 fac7 bl 8009aa8 + 800951a: 2800 cmp r0, #0 + 800951c: d1ea bne.n 80094f4 + 800951e: 9b0b ldr r3, [sp, #44] ; 0x2c + 8009520: f884 0128 strb.w r0, [r4, #296] ; 0x128 + 8009524: f8c4 512c str.w r5, [r4, #300] ; 0x12c + 8009528: f884 3130 strb.w r3, [r4, #304] ; 0x130 + 800952c: e102 b.n 8009734 + 800952e: f1b9 0f00 cmp.w r9, #0 + 8009532: f000 80ff beq.w 8009734 + 8009536: 2a00 cmp r2, #0 + 8009538: f000 80fc beq.w 8009734 + 800953c: 4649 mov r1, r9 + 800953e: 1ce0 adds r0, r4, #3 + 8009540: f002 ffd8 bl 800c4f4 + 8009544: f894 3237 ldrb.w r3, [r4, #567] ; 0x237 + 8009548: 3301 adds r3, #1 + 800954a: 8023 strh r3, [r4, #0] + 800954c: e0f2 b.n 8009734 + 800954e: 2012 movs r0, #18 + 8009550: e7d1 b.n 80094f6 + 8009552: 2002 movs r0, #2 + 8009554: e7cf b.n 80094f6 + 8009556: 2007 movs r0, #7 + 8009558: e7cf b.n 80094fa + 800955a: 2001 movs r0, #1 + 800955c: e747 b.n 80093ee + 800955e: 4b06 ldr r3, [pc, #24] ; (8009578 ) + 8009560: f893 2491 ldrb.w r2, [r3, #1169] ; 0x491 + 8009564: f883 a440 strb.w sl, [r3, #1088] ; 0x440 + 8009568: f042 0201 orr.w r2, r2, #1 + 800956c: f883 2491 strb.w r2, [r3, #1169] ; 0x491 + 8009570: e7c7 b.n 8009502 + 8009572: b9ee cbnz r6, 80095b0 + 8009574: 2002 movs r0, #2 + 8009576: e7c4 b.n 8009502 + 8009578: 200011c8 .word 0x200011c8 + 800957c: 20000c00 .word 0x20000c00 + 8009580: 2e00 cmp r6, #0 + 8009582: d094 beq.n 80094ae + 8009584: 4558 cmp r0, fp + 8009586: bfb8 it lt + 8009588: 4658 movlt r0, fp + 800958a: f894 307c ldrb.w r3, [r4, #124] ; 0x7c + 800958e: f88d 0020 strb.w r0, [sp, #32] + 8009592: 2205 movs r2, #5 + 8009594: f894 0048 ldrb.w r0, [r4, #72] ; 0x48 + 8009598: f88d 3022 strb.w r3, [sp, #34] ; 0x22 + 800959c: a908 add r1, sp, #32 + 800959e: f001 f830 bl 800a602 + 80095a2: 2800 cmp r0, #0 + 80095a4: f43f af22 beq.w 80093ec + 80095a8: f89d 3020 ldrb.w r3, [sp, #32] + 80095ac: f884 3039 strb.w r3, [r4, #57] ; 0x39 + 80095b0: 4a69 ldr r2, [pc, #420] ; (8009758 ) + 80095b2: 4b6a ldr r3, [pc, #424] ; (800975c ) + 80095b4: f8d2 0498 ldr.w r0, [r2, #1176] ; 0x498 + 80095b8: f8d3 4090 ldr.w r4, [r3, #144] ; 0x90 + 80095bc: b138 cbz r0, 80095ce + 80095be: f005 fa83 bl 800eac8 + 80095c2: 4b66 ldr r3, [pc, #408] ; (800975c ) + 80095c4: 4284 cmp r4, r0 + 80095c6: bf3c itt cc + 80095c8: 2200 movcc r2, #0 + 80095ca: f883 203a strbcc.w r2, [r3, #58] ; 0x3a + 80095ce: 8f19 ldrh r1, [r3, #56] ; 0x38 + 80095d0: 8f1a ldrh r2, [r3, #56] ; 0x38 + 80095d2: f893 0130 ldrb.w r0, [r3, #304] ; 0x130 + 80095d6: 9104 str r1, [sp, #16] + 80095d8: 6a99 ldr r1, [r3, #40] ; 0x28 + 80095da: 9109 str r1, [sp, #36] ; 0x24 + 80095dc: ba52 rev16 r2, r2 + 80095de: 2800 cmp r0, #0 + 80095e0: d0b9 beq.n 8009556 + 80095e2: f893 011b ldrb.w r0, [r3, #283] ; 0x11b + 80095e6: b900 cbnz r0, 80095ea + 80095e8: 6318 str r0, [r3, #48] ; 0x30 + 80095ea: f893 0118 ldrb.w r0, [r3, #280] ; 0x118 + 80095ee: f8ad 2058 strh.w r2, [sp, #88] ; 0x58 + 80095f2: 3801 subs r0, #1 + 80095f4: f893 207c ldrb.w r2, [r3, #124] ; 0x7c + 80095f8: f893 411a ldrb.w r4, [r3, #282] ; 0x11a + 80095fc: 9114 str r1, [sp, #80] ; 0x50 + 80095fe: f1d0 0b00 rsbs fp, r0, #0 + 8009602: f8d3 1088 ldr.w r1, [r3, #136] ; 0x88 + 8009606: f88d 205b strb.w r2, [sp, #91] ; 0x5b + 800960a: eb4b 0b00 adc.w fp, fp, r0 + 800960e: f893 2048 ldrb.w r2, [r3, #72] ; 0x48 + 8009612: f893 003a ldrb.w r0, [r3, #58] ; 0x3a + 8009616: f893 3068 ldrb.w r3, [r3, #104] ; 0x68 + 800961a: f88d 305a strb.w r3, [sp, #90] ; 0x5a + 800961e: ab09 add r3, sp, #36 ; 0x24 + 8009620: 9300 str r3, [sp, #0] + 8009622: 4b4f ldr r3, [pc, #316] ; (8009760 ) + 8009624: 9003 str r0, [sp, #12] + 8009626: f04f 0001 mov.w r0, #1 + 800962a: f88d 004c strb.w r0, [sp, #76] ; 0x4c + 800962e: 9115 str r1, [sp, #84] ; 0x54 + 8009630: f88d 205c strb.w r2, [sp, #92] ; 0x5c + 8009634: f1a3 012f sub.w r1, r3, #47 ; 0x2f + 8009638: f1a3 0230 sub.w r2, r3, #48 ; 0x30 + 800963c: a813 add r0, sp, #76 ; 0x4c + 800963e: f88d 404d strb.w r4, [sp, #77] ; 0x4d + 8009642: f000 f8cf bl 80097e4 + 8009646: 9b03 ldr r3, [sp, #12] + 8009648: ea4f 1b0b mov.w fp, fp, lsl #4 + 800964c: ea4b 1b43 orr.w fp, fp, r3, lsl #5 + 8009650: 2600 movs r6, #0 + 8009652: ea4b 1b80 orr.w fp, fp, r0, lsl #6 + 8009656: ea4b 13c4 orr.w r3, fp, r4, lsl #7 + 800965a: 45b1 cmp r9, r6 + 800965c: 4c3e ldr r4, [pc, #248] ; (8009758 ) + 800965e: 9303 str r3, [sp, #12] + 8009660: bf08 it eq + 8009662: 4637 moveq r7, r6 + 8009664: 463a mov r2, r7 + 8009666: 4649 mov r1, r9 + 8009668: f504 709c add.w r0, r4, #312 ; 0x138 + 800966c: e9cd 660a strd r6, r6, [sp, #40] ; 0x28 + 8009670: 469b mov fp, r3 + 8009672: 8026 strh r6, [r4, #0] + 8009674: f884 641a strb.w r6, [r4, #1050] ; 0x41a + 8009678: f002 ff3c bl 800c4f4 + 800967c: b2e9 uxtb r1, r5 + 800967e: 70a5 strb r5, [r4, #2] + 8009680: f3c5 1542 ubfx r5, r5, #5, #3 + 8009684: b2fa uxtb r2, r7 + 8009686: 2d04 cmp r5, #4 + 8009688: 4e34 ldr r6, [pc, #208] ; (800975c ) + 800968a: 9b03 ldr r3, [sp, #12] + 800968c: f884 2237 strb.w r2, [r4, #567] ; 0x237 + 8009690: f43f af23 beq.w 80094da + 8009694: 2d07 cmp r5, #7 + 8009696: f43f af4a beq.w 800952e + 800969a: 2d02 cmp r5, #2 + 800969c: f47f af59 bne.w 8009552 + 80096a0: 4d30 ldr r5, [pc, #192] ; (8009764 ) + 80096a2: f884 110d strb.w r1, [r4, #269] ; 0x10d + 80096a6: 2004 movs r0, #4 + 80096a8: 9902 ldr r1, [sp, #8] + 80096aa: f884 0104 strb.w r0, [r4, #260] ; 0x104 + 80096ae: 20ff movs r0, #255 ; 0xff + 80096b0: f884 010c strb.w r0, [r4, #268] ; 0x10c + 80096b4: f884 1128 strb.w r1, [r4, #296] ; 0x128 + 80096b8: f884 3114 strb.w r3, [r4, #276] ; 0x114 + 80096bc: f8d6 10e4 ldr.w r1, [r6, #228] ; 0xe4 + 80096c0: f8c4 5108 str.w r5, [r4, #264] ; 0x108 + 80096c4: f505 739b add.w r3, r5, #310 ; 0x136 + 80096c8: a80a add r0, sp, #40 ; 0x28 + 80096ca: f8c4 1110 str.w r1, [r4, #272] ; 0x110 + 80096ce: f884 2130 strb.w r2, [r4, #304] ; 0x130 + 80096d2: f8c4 312c str.w r3, [r4, #300] ; 0x12c + 80096d6: f000 fc17 bl 8009f08 + 80096da: 2800 cmp r0, #0 + 80096dc: f47f af37 bne.w 800954e + 80096e0: 9b0a ldr r3, [sp, #40] ; 0x28 + 80096e2: f8a4 0444 strh.w r0, [r4, #1092] ; 0x444 + 80096e6: a80b add r0, sp, #44 ; 0x2c + 80096e8: f8a4 3116 strh.w r3, [r4, #278] ; 0x116 + 80096ec: f8c4 344c str.w r3, [r4, #1100] ; 0x44c + 80096f0: f000 f9ce bl 8009a90 + 80096f4: 2800 cmp r0, #0 + 80096f6: f47f aefd bne.w 80094f4 + 80096fa: 9b0b ldr r3, [sp, #44] ; 0x2c + 80096fc: b1d3 cbz r3, 8009734 + 80096fe: f996 0039 ldrsb.w r0, [r6, #57] ; 0x39 + 8009702: f7fd faa9 bl 8006c58 + 8009706: f894 3237 ldrb.w r3, [r4, #567] ; 0x237 + 800970a: 2b00 cmp r3, #0 + 800970c: f43f aeff beq.w 800950e + 8009710: 9b0b ldr r3, [sp, #44] ; 0x2c + 8009712: 2b0f cmp r3, #15 + 8009714: f63f aee6 bhi.w 80094e4 + 8009718: f505 728b add.w r2, r5, #278 ; 0x116 + 800971c: a90b add r1, sp, #44 ; 0x2c + 800971e: 200f movs r0, #15 + 8009720: f000 f9c2 bl 8009aa8 + 8009724: 2800 cmp r0, #0 + 8009726: f47f aee5 bne.w 80094f4 + 800972a: 9b0b ldr r3, [sp, #44] ; 0x2c + 800972c: f363 0b03 bfi fp, r3, #0, #4 + 8009730: f884 b114 strb.w fp, [r4, #276] ; 0x114 + 8009734: 9805 ldr r0, [sp, #20] + 8009736: f7fd fc4d bl 8006fd4 + 800973a: 2800 cmp r0, #0 + 800973c: f47f aedb bne.w 80094f6 + 8009740: 9b09 ldr r3, [sp, #36] ; 0x24 + 8009742: f886 003a strb.w r0, [r6, #58] ; 0x3a + 8009746: 62b3 str r3, [r6, #40] ; 0x28 + 8009748: f000 f97e bl 8009a48 + 800974c: 2800 cmp r0, #0 + 800974e: f43f af06 beq.w 800955e + 8009752: 2013 movs r0, #19 + 8009754: e6d1 b.n 80094fa + 8009756: bf00 nop + 8009758: 200011c8 .word 0x200011c8 + 800975c: 20000c00 .word 0x20000c00 + 8009760: 20000c68 .word 0x20000c68 + 8009764: 200011ca .word 0x200011ca -08009754 : - 8009754: b537 push {r0, r1, r2, r4, r5, lr} - 8009756: 4d0b ldr r5, [pc, #44] ; (8009784 ) - 8009758: f88d 0004 strb.w r0, [sp, #4] - 800975c: 4604 mov r4, r0 - 800975e: 220f movs r2, #15 - 8009760: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 - 8009764: a901 add r1, sp, #4 - 8009766: f000 ff42 bl 800a5ee - 800976a: b140 cbz r0, 800977e - 800976c: 4a06 ldr r2, [pc, #24] ; (8009788 ) - 800976e: f885 411c strb.w r4, [r5, #284] ; 0x11c - 8009772: f892 3491 ldrb.w r3, [r2, #1169] ; 0x491 - 8009776: f043 0320 orr.w r3, r3, #32 - 800977a: f882 3491 strb.w r3, [r2, #1169] ; 0x491 - 800977e: b003 add sp, #12 - 8009780: bd30 pop {r4, r5, pc} - 8009782: bf00 nop - 8009784: 20000c00 .word 0x20000c00 - 8009788: 200011c8 .word 0x200011c8 +08009768 : + 8009768: b537 push {r0, r1, r2, r4, r5, lr} + 800976a: 4d0b ldr r5, [pc, #44] ; (8009798 ) + 800976c: f88d 0004 strb.w r0, [sp, #4] + 8009770: 4604 mov r4, r0 + 8009772: 220f movs r2, #15 + 8009774: f895 0048 ldrb.w r0, [r5, #72] ; 0x48 + 8009778: a901 add r1, sp, #4 + 800977a: f000 ff42 bl 800a602 + 800977e: b140 cbz r0, 8009792 + 8009780: 4a06 ldr r2, [pc, #24] ; (800979c ) + 8009782: f885 411c strb.w r4, [r5, #284] ; 0x11c + 8009786: f892 3491 ldrb.w r3, [r2, #1169] ; 0x491 + 800978a: f043 0320 orr.w r3, r3, #32 + 800978e: f882 3491 strb.w r3, [r2, #1169] ; 0x491 + 8009792: b003 add sp, #12 + 8009794: bd30 pop {r4, r5, pc} + 8009796: bf00 nop + 8009798: 20000c00 .word 0x20000c00 + 800979c: 200011c8 .word 0x200011c8 -0800978c : - 800978c: b510 push {r4, lr} - 800978e: f7ff f8b9 bl 8008904 - 8009792: 4604 mov r4, r0 - 8009794: b988 cbnz r0, 80097ba - 8009796: 480a ldr r0, [pc, #40] ; (80097c0 ) - 8009798: f005 f9c6 bl 800eb28 - 800979c: 4809 ldr r0, [pc, #36] ; (80097c4 ) - 800979e: f005 f9c3 bl 800eb28 - 80097a2: 4809 ldr r0, [pc, #36] ; (80097c8 ) - 80097a4: f005 f9c0 bl 800eb28 - 80097a8: f000 f893 bl 80098d2 - 80097ac: f7fd fd80 bl 80072b0 - 80097b0: 4b06 ldr r3, [pc, #24] ; (80097cc ) - 80097b2: 6adb ldr r3, [r3, #44] ; 0x2c - 80097b4: 4798 blx r3 - 80097b6: 4620 mov r0, r4 - 80097b8: bd10 pop {r4, pc} - 80097ba: 2401 movs r4, #1 - 80097bc: e7fb b.n 80097b6 - 80097be: bf00 nop - 80097c0: 20001530 .word 0x20001530 - 80097c4: 20001548 .word 0x20001548 - 80097c8: 20001560 .word 0x20001560 - 80097cc: 0800f9e4 .word 0x0800f9e4 +080097a0 : + 80097a0: b510 push {r4, lr} + 80097a2: f7ff f8b9 bl 8008918 + 80097a6: 4604 mov r4, r0 + 80097a8: b988 cbnz r0, 80097ce + 80097aa: 480a ldr r0, [pc, #40] ; (80097d4 ) + 80097ac: f005 f9c6 bl 800eb3c + 80097b0: 4809 ldr r0, [pc, #36] ; (80097d8 ) + 80097b2: f005 f9c3 bl 800eb3c + 80097b6: 4809 ldr r0, [pc, #36] ; (80097dc ) + 80097b8: f005 f9c0 bl 800eb3c + 80097bc: f000 f893 bl 80098e6 + 80097c0: f7fd fd80 bl 80072c4 + 80097c4: 4b06 ldr r3, [pc, #24] ; (80097e0 ) + 80097c6: 6adb ldr r3, [r3, #44] ; 0x2c + 80097c8: 4798 blx r3 + 80097ca: 4620 mov r0, r4 + 80097cc: bd10 pop {r4, pc} + 80097ce: 2401 movs r4, #1 + 80097d0: e7fb b.n 80097ca + 80097d2: bf00 nop + 80097d4: 20001530 .word 0x20001530 + 80097d8: 20001548 .word 0x20001548 + 80097dc: 20001560 .word 0x20001560 + 80097e0: 0800f9f4 .word 0x0800f9f4 -080097d0 : - 80097d0: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 80097d4: b08b sub sp, #44 ; 0x2c - 80097d6: 7847 ldrb r7, [r0, #1] - 80097d8: 9300 str r3, [sp, #0] - 80097da: 9b14 ldr r3, [sp, #80] ; 0x50 - 80097dc: f990 800c ldrsb.w r8, [r0, #12] - 80097e0: f990 600d ldrsb.w r6, [r0, #13] - 80097e4: f890 900e ldrb.w r9, [r0, #14] - 80097e8: 468b mov fp, r1 - 80097ea: 6841 ldr r1, [r0, #4] - 80097ec: 6019 str r1, [r3, #0] - 80097ee: 4604 mov r4, r0 - 80097f0: 4692 mov sl, r2 - 80097f2: 2f00 cmp r7, #0 - 80097f4: d057 beq.n 80098a6 - 80097f6: 2302 movs r3, #2 - 80097f8: f88d 3010 strb.w r3, [sp, #16] - 80097fc: a904 add r1, sp, #16 - 80097fe: 7bc3 ldrb r3, [r0, #15] - 8009800: 7c00 ldrb r0, [r0, #16] - 8009802: f88d 3012 strb.w r3, [sp, #18] - 8009806: f000 fedf bl 800a5c8 - 800980a: f8b4 c008 ldrh.w ip, [r4, #8] - 800980e: 8961 ldrh r1, [r4, #10] - 8009810: b243 sxtb r3, r0 - 8009812: 6860 ldr r0, [r4, #4] - 8009814: 4598 cmp r8, r3 - 8009816: 4645 mov r5, r8 - 8009818: 4461 add r1, ip - 800981a: bfb8 it lt - 800981c: 461d movlt r5, r3 - 800981e: 4560 cmp r0, ip - 8009820: bf34 ite cc - 8009822: 2700 movcc r7, #0 - 8009824: 2701 movcs r7, #1 - 8009826: 4288 cmp r0, r1 - 8009828: d309 bcc.n 800983e - 800982a: 210a movs r1, #10 - 800982c: f88d 1010 strb.w r1, [sp, #16] - 8009830: 7c20 ldrb r0, [r4, #16] - 8009832: 9301 str r3, [sp, #4] - 8009834: a904 add r1, sp, #16 - 8009836: f000 fec7 bl 800a5c8 - 800983a: 9b01 ldr r3, [sp, #4] - 800983c: b246 sxtb r6, r0 - 800983e: f8b4 c008 ldrh.w ip, [r4, #8] - 8009842: 8960 ldrh r0, [r4, #10] - 8009844: 6861 ldr r1, [r4, #4] - 8009846: eb0c 0e40 add.w lr, ip, r0, lsl #1 - 800984a: 4571 cmp r1, lr - 800984c: d320 bcc.n 8009890 - 800984e: eba1 010c sub.w r1, r1, ip - 8009852: fbb1 fcf0 udiv ip, r1, r0 - 8009856: fb00 111c mls r1, r0, ip, r1 - 800985a: b9c9 cbnz r1, 8009890 - 800985c: 4598 cmp r8, r3 - 800985e: dc0a bgt.n 8009876 - 8009860: 7823 ldrb r3, [r4, #0] - 8009862: b133 cbz r3, 8009872 - 8009864: 2302 movs r3, #2 - 8009866: 7c20 ldrb r0, [r4, #16] - 8009868: f88d 3024 strb.w r3, [sp, #36] ; 0x24 - 800986c: a906 add r1, sp, #24 - 800986e: f000 feb9 bl 800a5e4 - 8009872: f04f 0901 mov.w r9, #1 - 8009876: 2321 movs r3, #33 ; 0x21 - 8009878: f88d 3010 strb.w r3, [sp, #16] - 800987c: 7c20 ldrb r0, [r4, #16] - 800987e: 7be3 ldrb r3, [r4, #15] - 8009880: f88d 5011 strb.w r5, [sp, #17] - 8009884: a904 add r1, sp, #16 - 8009886: f88d 3012 strb.w r3, [sp, #18] - 800988a: f000 fe9d bl 800a5c8 - 800988e: b245 sxtb r5, r0 - 8009890: 9b00 ldr r3, [sp, #0] - 8009892: f88b 5000 strb.w r5, [fp] - 8009896: 4638 mov r0, r7 - 8009898: f88a 6000 strb.w r6, [sl] - 800989c: f883 9000 strb.w r9, [r3] - 80098a0: b00b add sp, #44 ; 0x2c - 80098a2: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 80098a6: 4645 mov r5, r8 - 80098a8: e7f2 b.n 8009890 +080097e4 : + 80097e4: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 80097e8: b08b sub sp, #44 ; 0x2c + 80097ea: 7847 ldrb r7, [r0, #1] + 80097ec: 9300 str r3, [sp, #0] + 80097ee: 9b14 ldr r3, [sp, #80] ; 0x50 + 80097f0: f990 800c ldrsb.w r8, [r0, #12] + 80097f4: f990 600d ldrsb.w r6, [r0, #13] + 80097f8: f890 900e ldrb.w r9, [r0, #14] + 80097fc: 468b mov fp, r1 + 80097fe: 6841 ldr r1, [r0, #4] + 8009800: 6019 str r1, [r3, #0] + 8009802: 4604 mov r4, r0 + 8009804: 4692 mov sl, r2 + 8009806: 2f00 cmp r7, #0 + 8009808: d057 beq.n 80098ba + 800980a: 2302 movs r3, #2 + 800980c: f88d 3010 strb.w r3, [sp, #16] + 8009810: a904 add r1, sp, #16 + 8009812: 7bc3 ldrb r3, [r0, #15] + 8009814: 7c00 ldrb r0, [r0, #16] + 8009816: f88d 3012 strb.w r3, [sp, #18] + 800981a: f000 fedf bl 800a5dc + 800981e: f8b4 c008 ldrh.w ip, [r4, #8] + 8009822: 8961 ldrh r1, [r4, #10] + 8009824: b243 sxtb r3, r0 + 8009826: 6860 ldr r0, [r4, #4] + 8009828: 4598 cmp r8, r3 + 800982a: 4645 mov r5, r8 + 800982c: 4461 add r1, ip + 800982e: bfb8 it lt + 8009830: 461d movlt r5, r3 + 8009832: 4560 cmp r0, ip + 8009834: bf34 ite cc + 8009836: 2700 movcc r7, #0 + 8009838: 2701 movcs r7, #1 + 800983a: 4288 cmp r0, r1 + 800983c: d309 bcc.n 8009852 + 800983e: 210a movs r1, #10 + 8009840: f88d 1010 strb.w r1, [sp, #16] + 8009844: 7c20 ldrb r0, [r4, #16] + 8009846: 9301 str r3, [sp, #4] + 8009848: a904 add r1, sp, #16 + 800984a: f000 fec7 bl 800a5dc + 800984e: 9b01 ldr r3, [sp, #4] + 8009850: b246 sxtb r6, r0 + 8009852: f8b4 c008 ldrh.w ip, [r4, #8] + 8009856: 8960 ldrh r0, [r4, #10] + 8009858: 6861 ldr r1, [r4, #4] + 800985a: eb0c 0e40 add.w lr, ip, r0, lsl #1 + 800985e: 4571 cmp r1, lr + 8009860: d320 bcc.n 80098a4 + 8009862: eba1 010c sub.w r1, r1, ip + 8009866: fbb1 fcf0 udiv ip, r1, r0 + 800986a: fb00 111c mls r1, r0, ip, r1 + 800986e: b9c9 cbnz r1, 80098a4 + 8009870: 4598 cmp r8, r3 + 8009872: dc0a bgt.n 800988a + 8009874: 7823 ldrb r3, [r4, #0] + 8009876: b133 cbz r3, 8009886 + 8009878: 2302 movs r3, #2 + 800987a: 7c20 ldrb r0, [r4, #16] + 800987c: f88d 3024 strb.w r3, [sp, #36] ; 0x24 + 8009880: a906 add r1, sp, #24 + 8009882: f000 feb9 bl 800a5f8 + 8009886: f04f 0901 mov.w r9, #1 + 800988a: 2321 movs r3, #33 ; 0x21 + 800988c: f88d 3010 strb.w r3, [sp, #16] + 8009890: 7c20 ldrb r0, [r4, #16] + 8009892: 7be3 ldrb r3, [r4, #15] + 8009894: f88d 5011 strb.w r5, [sp, #17] + 8009898: a904 add r1, sp, #16 + 800989a: f88d 3012 strb.w r3, [sp, #18] + 800989e: f000 fe9d bl 800a5dc + 80098a2: b245 sxtb r5, r0 + 80098a4: 9b00 ldr r3, [sp, #0] + 80098a6: f88b 5000 strb.w r5, [fp] + 80098aa: 4638 mov r0, r7 + 80098ac: f88a 6000 strb.w r6, [sl] + 80098b0: f883 9000 strb.w r9, [r3] + 80098b4: b00b add sp, #44 ; 0x2c + 80098b6: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 80098ba: 4645 mov r5, r8 + 80098bc: e7f2 b.n 80098a4 -080098aa : - 80098aa: 4770 bx lr - -080098ac : - 80098ac: 4770 bx lr - -080098ae : - 80098ae: 4770 bx lr - -080098b0 : - 80098b0: 4770 bx lr - -080098b2 : - 80098b2: 2000 movs r0, #0 - 80098b4: 4770 bx lr - -080098b6 : - 80098b6: 4770 bx lr - -080098b8 : - 80098b8: 4770 bx lr - -080098ba : - 80098ba: 4770 bx lr - -080098bc : - 80098bc: 2000 movs r0, #0 +080098be : 80098be: 4770 bx lr -080098c0 : - 80098c0: 2000 movs r0, #0 +080098c0 : + 80098c0: 4770 bx lr + +080098c2 : 80098c2: 4770 bx lr -080098c4 : - 80098c4: 2000 movs r0, #0 - 80098c6: 4770 bx lr +080098c4 : + 80098c4: 4770 bx lr -080098c8 : - 80098c8: 2000 movs r0, #0 +080098c6 : + 80098c6: 2000 movs r0, #0 + 80098c8: 4770 bx lr + +080098ca : 80098ca: 4770 bx lr -080098cc : - 80098cc: 2000 movs r0, #0 +080098cc : + 80098cc: 4770 bx lr + +080098ce : 80098ce: 4770 bx lr -080098d0 : - 80098d0: 4770 bx lr - -080098d2 : +080098d0 : + 80098d0: 2000 movs r0, #0 80098d2: 4770 bx lr -080098d4 : - 80098d4: 4770 bx lr +080098d4 : + 80098d4: 2000 movs r0, #0 + 80098d6: 4770 bx lr -080098d6 : - 80098d6: 2002 movs r0, #2 - 80098d8: 4770 bx lr +080098d8 : + 80098d8: 2000 movs r0, #0 + 80098da: 4770 bx lr -080098da : - 80098da: 2002 movs r0, #2 - 80098dc: 4770 bx lr +080098dc : + 80098dc: 2000 movs r0, #0 + 80098de: 4770 bx lr -080098de : - 80098de: 2002 movs r0, #2 - 80098e0: 4770 bx lr - -080098e2 : +080098e0 : + 80098e0: 2000 movs r0, #0 80098e2: 4770 bx lr -080098e4 : - 80098e4: 2000 movs r0, #0 +080098e4 : + 80098e4: 4770 bx lr + +080098e6 : 80098e6: 4770 bx lr -080098e8 : +080098e8 : 80098e8: 4770 bx lr -080098ea : - 80098ea: 4770 bx lr +080098ea : + 80098ea: 2002 movs r0, #2 + 80098ec: 4770 bx lr -080098ec : - 80098ec: 2000 movs r0, #0 - 80098ee: 4770 bx lr +080098ee : + 80098ee: 2002 movs r0, #2 + 80098f0: 4770 bx lr -080098f0 : - 80098f0: 2000 movs r0, #0 - 80098f2: 4770 bx lr - -080098f4 : +080098f2 : + 80098f2: 2002 movs r0, #2 80098f4: 4770 bx lr -080098f6 : +080098f6 : 80098f6: 4770 bx lr -080098f8 : - 80098f8: 4770 bx lr +080098f8 : + 80098f8: 2000 movs r0, #0 + 80098fa: 4770 bx lr + +080098fc : + 80098fc: 4770 bx lr + +080098fe : + 80098fe: 4770 bx lr + +08009900 : + 8009900: 2000 movs r0, #0 + 8009902: 4770 bx lr + +08009904 : + 8009904: 2000 movs r0, #0 + 8009906: 4770 bx lr + +08009908 : + 8009908: 4770 bx lr + +0800990a : + 800990a: 4770 bx lr + +0800990c : + 800990c: 4770 bx lr ... -080098fc : - 80098fc: b510 push {r4, lr} - 80098fe: 4c05 ldr r4, [pc, #20] ; (8009914 ) - 8009900: f44f 7203 mov.w r2, #524 ; 0x20c - 8009904: 4620 mov r0, r4 - 8009906: 2100 movs r1, #0 - 8009908: f002 fdfe bl 800c508 - 800990c: 2000 movs r0, #0 - 800990e: e9c4 0000 strd r0, r0, [r4] - 8009912: bd10 pop {r4, pc} - 8009914: 20001788 .word 0x20001788 +08009910 : + 8009910: b510 push {r4, lr} + 8009912: 4c05 ldr r4, [pc, #20] ; (8009928 ) + 8009914: f44f 7203 mov.w r2, #524 ; 0x20c + 8009918: 4620 mov r0, r4 + 800991a: 2100 movs r1, #0 + 800991c: f002 fdfe bl 800c51c + 8009920: 2000 movs r0, #0 + 8009922: e9c4 0000 strd r0, r0, [r4] + 8009926: bd10 pop {r4, pc} + 8009928: 20001788 .word 0x20001788 -08009918 : - 8009918: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} - 800991c: 4681 mov r9, r0 - 800991e: 4617 mov r7, r2 - 8009920: 2900 cmp r1, #0 - 8009922: d03f beq.n 80099a4 - 8009924: 4b24 ldr r3, [pc, #144] ; (80099b8 ) - 8009926: 2500 movs r5, #0 - 8009928: f103 0c01 add.w ip, r3, #1 - 800992c: 461a mov r2, r3 - 800992e: 0128 lsls r0, r5, #4 - 8009930: 3310 adds r3, #16 - 8009932: f812 8f01 ldrb.w r8, [r2, #1]! - 8009936: f1b8 0f00 cmp.w r8, #0 - 800993a: d136 bne.n 80099aa - 800993c: 429a cmp r2, r3 - 800993e: d1f8 bne.n 8009932 - 8009940: 4e1e ldr r6, [pc, #120] ; (80099bc ) - 8009942: 6833 ldr r3, [r6, #0] - 8009944: b90b cbnz r3, 800994a - 8009946: f8c6 c000 str.w ip, [r6] - 800994a: 6873 ldr r3, [r6, #4] - 800994c: b10b cbz r3, 8009952 - 800994e: f8c3 c000 str.w ip, [r3] - 8009952: 1833 adds r3, r6, r0 - 8009954: 2400 movs r4, #0 - 8009956: 3501 adds r5, #1 - 8009958: 609c str r4, [r3, #8] - 800995a: f883 900c strb.w r9, [r3, #12] - 800995e: 300d adds r0, #13 - 8009960: 012b lsls r3, r5, #4 - 8009962: b2ba uxth r2, r7 - 8009964: eb06 1505 add.w r5, r6, r5, lsl #4 - 8009968: 4430 add r0, r6 - 800996a: 50f7 str r7, [r6, r3] - 800996c: f8c6 c004 str.w ip, [r6, #4] - 8009970: f002 fdb6 bl 800c4e0 - 8009974: f1b9 0f11 cmp.w r9, #17 - 8009978: f04f 0300 mov.w r3, #0 - 800997c: bf98 it ls - 800997e: 4c10 ldrls r4, [pc, #64] ; (80099c0 ) - 8009980: 716b strb r3, [r5, #5] - 8009982: f8d6 3208 ldr.w r3, [r6, #520] ; 0x208 - 8009986: bf98 it ls - 8009988: fa24 f409 lsrls.w r4, r4, r9 - 800998c: f103 0301 add.w r3, r3, #1 +0800992c : + 800992c: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} + 8009930: 4681 mov r9, r0 + 8009932: 4617 mov r7, r2 + 8009934: 2900 cmp r1, #0 + 8009936: d03f beq.n 80099b8 + 8009938: 4b24 ldr r3, [pc, #144] ; (80099cc ) + 800993a: 2500 movs r5, #0 + 800993c: f103 0c01 add.w ip, r3, #1 + 8009940: 461a mov r2, r3 + 8009942: 0128 lsls r0, r5, #4 + 8009944: 3310 adds r3, #16 + 8009946: f812 8f01 ldrb.w r8, [r2, #1]! + 800994a: f1b8 0f00 cmp.w r8, #0 + 800994e: d136 bne.n 80099be + 8009950: 429a cmp r2, r3 + 8009952: d1f8 bne.n 8009946 + 8009954: 4e1e ldr r6, [pc, #120] ; (80099d0 ) + 8009956: 6833 ldr r3, [r6, #0] + 8009958: b90b cbnz r3, 800995e + 800995a: f8c6 c000 str.w ip, [r6] + 800995e: 6873 ldr r3, [r6, #4] + 8009960: b10b cbz r3, 8009966 + 8009962: f8c3 c000 str.w ip, [r3] + 8009966: 1833 adds r3, r6, r0 + 8009968: 2400 movs r4, #0 + 800996a: 3501 adds r5, #1 + 800996c: 609c str r4, [r3, #8] + 800996e: f883 900c strb.w r9, [r3, #12] + 8009972: 300d adds r0, #13 + 8009974: 012b lsls r3, r5, #4 + 8009976: b2ba uxth r2, r7 + 8009978: eb06 1505 add.w r5, r6, r5, lsl #4 + 800997c: 4430 add r0, r6 + 800997e: 50f7 str r7, [r6, r3] + 8009980: f8c6 c004 str.w ip, [r6, #4] + 8009984: f002 fdb6 bl 800c4f4 + 8009988: f1b9 0f11 cmp.w r9, #17 + 800998c: f04f 0300 mov.w r3, #0 8009990: bf98 it ls - 8009992: f004 0401 andls.w r4, r4, #1 - 8009996: 443b add r3, r7 - 8009998: 712c strb r4, [r5, #4] - 800999a: f8c6 3208 str.w r3, [r6, #520] ; 0x208 - 800999e: 4640 mov r0, r8 - 80099a0: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} - 80099a4: f04f 0801 mov.w r8, #1 - 80099a8: e7f9 b.n 800999e - 80099aa: 3501 adds r5, #1 - 80099ac: 2d20 cmp r5, #32 - 80099ae: d1bb bne.n 8009928 - 80099b0: f04f 0802 mov.w r8, #2 - 80099b4: e7f3 b.n 800999e - 80099b6: bf00 nop - 80099b8: 2000178f .word 0x2000178f - 80099bc: 20001788 .word 0x20001788 - 80099c0: 00020720 .word 0x00020720 + 8009992: 4c10 ldrls r4, [pc, #64] ; (80099d4 ) + 8009994: 716b strb r3, [r5, #5] + 8009996: f8d6 3208 ldr.w r3, [r6, #520] ; 0x208 + 800999a: bf98 it ls + 800999c: fa24 f409 lsrls.w r4, r4, r9 + 80099a0: f103 0301 add.w r3, r3, #1 + 80099a4: bf98 it ls + 80099a6: f004 0401 andls.w r4, r4, #1 + 80099aa: 443b add r3, r7 + 80099ac: 712c strb r4, [r5, #4] + 80099ae: f8c6 3208 str.w r3, [r6, #520] ; 0x208 + 80099b2: 4640 mov r0, r8 + 80099b4: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} + 80099b8: f04f 0801 mov.w r8, #1 + 80099bc: e7f9 b.n 80099b2 + 80099be: 3501 adds r5, #1 + 80099c0: 2d20 cmp r5, #32 + 80099c2: d1bb bne.n 800993c + 80099c4: f04f 0802 mov.w r8, #2 + 80099c8: e7f3 b.n 80099b2 + 80099ca: bf00 nop + 80099cc: 2000178f .word 0x2000178f + 80099d0: 20001788 .word 0x20001788 + 80099d4: 00020720 .word 0x00020720 -080099c4 : - 80099c4: b510 push {r4, lr} - 80099c6: b310 cbz r0, 8009a0e - 80099c8: 4a12 ldr r2, [pc, #72] ; (8009a14 ) - 80099ca: 6813 ldr r3, [r2, #0] - 80099cc: 4298 cmp r0, r3 - 80099ce: d104 bne.n 80099da - 80099d0: 6803 ldr r3, [r0, #0] - 80099d2: 6013 str r3, [r2, #0] - 80099d4: 2300 movs r3, #0 - 80099d6: e004 b.n 80099e2 - 80099d8: 460b mov r3, r1 - 80099da: b113 cbz r3, 80099e2 - 80099dc: 6819 ldr r1, [r3, #0] - 80099de: 4288 cmp r0, r1 - 80099e0: d1fa bne.n 80099d8 - 80099e2: 6851 ldr r1, [r2, #4] - 80099e4: 4288 cmp r0, r1 - 80099e6: bf08 it eq - 80099e8: 6053 streq r3, [r2, #4] - 80099ea: b10b cbz r3, 80099f0 - 80099ec: 6801 ldr r1, [r0, #0] - 80099ee: 6019 str r1, [r3, #0] - 80099f0: f8d2 3208 ldr.w r3, [r2, #520] ; 0x208 - 80099f4: 6881 ldr r1, [r0, #8] - 80099f6: 3b01 subs r3, #1 - 80099f8: 2400 movs r4, #0 - 80099fa: 1a5b subs r3, r3, r1 - 80099fc: 6004 str r4, [r0, #0] - 80099fe: 4621 mov r1, r4 - 8009a00: f8c2 3208 str.w r3, [r2, #520] ; 0x208 - 8009a04: 2210 movs r2, #16 - 8009a06: f002 fd7f bl 800c508 - 8009a0a: 4620 mov r0, r4 - 8009a0c: bd10 pop {r4, pc} - 8009a0e: 2001 movs r0, #1 - 8009a10: e7fc b.n 8009a0c - 8009a12: bf00 nop - 8009a14: 20001788 .word 0x20001788 +080099d8 : + 80099d8: b510 push {r4, lr} + 80099da: b310 cbz r0, 8009a22 + 80099dc: 4a12 ldr r2, [pc, #72] ; (8009a28 ) + 80099de: 6813 ldr r3, [r2, #0] + 80099e0: 4298 cmp r0, r3 + 80099e2: d104 bne.n 80099ee + 80099e4: 6803 ldr r3, [r0, #0] + 80099e6: 6013 str r3, [r2, #0] + 80099e8: 2300 movs r3, #0 + 80099ea: e004 b.n 80099f6 + 80099ec: 460b mov r3, r1 + 80099ee: b113 cbz r3, 80099f6 + 80099f0: 6819 ldr r1, [r3, #0] + 80099f2: 4288 cmp r0, r1 + 80099f4: d1fa bne.n 80099ec + 80099f6: 6851 ldr r1, [r2, #4] + 80099f8: 4288 cmp r0, r1 + 80099fa: bf08 it eq + 80099fc: 6053 streq r3, [r2, #4] + 80099fe: b10b cbz r3, 8009a04 + 8009a00: 6801 ldr r1, [r0, #0] + 8009a02: 6019 str r1, [r3, #0] + 8009a04: f8d2 3208 ldr.w r3, [r2, #520] ; 0x208 + 8009a08: 6881 ldr r1, [r0, #8] + 8009a0a: 3b01 subs r3, #1 + 8009a0c: 2400 movs r4, #0 + 8009a0e: 1a5b subs r3, r3, r1 + 8009a10: 6004 str r4, [r0, #0] + 8009a12: 4621 mov r1, r4 + 8009a14: f8c2 3208 str.w r3, [r2, #520] ; 0x208 + 8009a18: 2210 movs r2, #16 + 8009a1a: f002 fd7f bl 800c51c + 8009a1e: 4620 mov r0, r4 + 8009a20: bd10 pop {r4, pc} + 8009a22: 2001 movs r0, #1 + 8009a24: e7fc b.n 8009a20 + 8009a26: bf00 nop + 8009a28: 20001788 .word 0x20001788 -08009a18 : - 8009a18: 4b05 ldr r3, [pc, #20] ; (8009a30 ) - 8009a1a: 681b ldr r3, [r3, #0] - 8009a1c: b113 cbz r3, 8009a24 - 8009a1e: 791a ldrb r2, [r3, #4] - 8009a20: 4282 cmp r2, r0 - 8009a22: d1fa bne.n 8009a1a - 8009a24: 2b00 cmp r3, #0 - 8009a26: 600b str r3, [r1, #0] - 8009a28: bf0c ite eq - 8009a2a: 2003 moveq r0, #3 - 8009a2c: 2000 movne r0, #0 - 8009a2e: 4770 bx lr - 8009a30: 20001788 .word 0x20001788 +08009a2c : + 8009a2c: 4b05 ldr r3, [pc, #20] ; (8009a44 ) + 8009a2e: 681b ldr r3, [r3, #0] + 8009a30: b113 cbz r3, 8009a38 + 8009a32: 791a ldrb r2, [r3, #4] + 8009a34: 4282 cmp r2, r0 + 8009a36: d1fa bne.n 8009a2e + 8009a38: 2b00 cmp r3, #0 + 8009a3a: 600b str r3, [r1, #0] + 8009a3c: bf0c ite eq + 8009a3e: 2003 moveq r0, #3 + 8009a40: 2000 movne r0, #0 + 8009a42: 4770 bx lr + 8009a44: 20001788 .word 0x20001788 -08009a34 : - 8009a34: b510 push {r4, lr} - 8009a36: 4b05 ldr r3, [pc, #20] ; (8009a4c ) - 8009a38: 6818 ldr r0, [r3, #0] - 8009a3a: b900 cbnz r0, 8009a3e - 8009a3c: bd10 pop {r4, pc} - 8009a3e: 7b03 ldrb r3, [r0, #12] - 8009a40: 6804 ldr r4, [r0, #0] - 8009a42: b90b cbnz r3, 8009a48 - 8009a44: f7ff ffbe bl 80099c4 - 8009a48: 4620 mov r0, r4 - 8009a4a: e7f6 b.n 8009a3a - 8009a4c: 20001788 .word 0x20001788 +08009a48 : + 8009a48: b510 push {r4, lr} + 8009a4a: 4b05 ldr r3, [pc, #20] ; (8009a60 ) + 8009a4c: 6818 ldr r0, [r3, #0] + 8009a4e: b900 cbnz r0, 8009a52 + 8009a50: bd10 pop {r4, pc} + 8009a52: 7b03 ldrb r3, [r0, #12] + 8009a54: 6804 ldr r4, [r0, #0] + 8009a56: b90b cbnz r3, 8009a5c + 8009a58: f7ff ffbe bl 80099d8 + 8009a5c: 4620 mov r0, r4 + 8009a5e: e7f6 b.n 8009a4e + 8009a60: 20001788 .word 0x20001788 -08009a50 : - 8009a50: b538 push {r3, r4, r5, lr} - 8009a52: 4b08 ldr r3, [pc, #32] ; (8009a74 ) - 8009a54: 4c08 ldr r4, [pc, #32] ; (8009a78 ) - 8009a56: 6818 ldr r0, [r3, #0] - 8009a58: b900 cbnz r0, 8009a5c - 8009a5a: bd38 pop {r3, r4, r5, pc} - 8009a5c: 7903 ldrb r3, [r0, #4] - 8009a5e: 6805 ldr r5, [r0, #0] - 8009a60: 2b11 cmp r3, #17 - 8009a62: d805 bhi.n 8009a70 - 8009a64: fa24 f303 lsr.w r3, r4, r3 - 8009a68: 07db lsls r3, r3, #31 - 8009a6a: d501 bpl.n 8009a70 - 8009a6c: f7ff ffaa bl 80099c4 - 8009a70: 4628 mov r0, r5 - 8009a72: e7f1 b.n 8009a58 - 8009a74: 20001788 .word 0x20001788 - 8009a78: 00020720 .word 0x00020720 +08009a64 : + 8009a64: b538 push {r3, r4, r5, lr} + 8009a66: 4b08 ldr r3, [pc, #32] ; (8009a88 ) + 8009a68: 4c08 ldr r4, [pc, #32] ; (8009a8c ) + 8009a6a: 6818 ldr r0, [r3, #0] + 8009a6c: b900 cbnz r0, 8009a70 + 8009a6e: bd38 pop {r3, r4, r5, pc} + 8009a70: 7903 ldrb r3, [r0, #4] + 8009a72: 6805 ldr r5, [r0, #0] + 8009a74: 2b11 cmp r3, #17 + 8009a76: d805 bhi.n 8009a84 + 8009a78: fa24 f303 lsr.w r3, r4, r3 + 8009a7c: 07db lsls r3, r3, #31 + 8009a7e: d501 bpl.n 8009a84 + 8009a80: f7ff ffaa bl 80099d8 + 8009a84: 4628 mov r0, r5 + 8009a86: e7f1 b.n 8009a6c + 8009a88: 20001788 .word 0x20001788 + 8009a8c: 00020720 .word 0x00020720 -08009a7c : - 8009a7c: b128 cbz r0, 8009a8a - 8009a7e: 4b04 ldr r3, [pc, #16] ; (8009a90 ) - 8009a80: f8d3 3208 ldr.w r3, [r3, #520] ; 0x208 - 8009a84: 6003 str r3, [r0, #0] - 8009a86: 2000 movs r0, #0 - 8009a88: 4770 bx lr - 8009a8a: 2001 movs r0, #1 - 8009a8c: 4770 bx lr - 8009a8e: bf00 nop - 8009a90: 20001788 .word 0x20001788 +08009a90 : + 8009a90: b128 cbz r0, 8009a9e + 8009a92: 4b04 ldr r3, [pc, #16] ; (8009aa4 ) + 8009a94: f8d3 3208 ldr.w r3, [r3, #520] ; 0x208 + 8009a98: 6003 str r3, [r0, #0] + 8009a9a: 2000 movs r0, #0 + 8009a9c: 4770 bx lr + 8009a9e: 2001 movs r0, #1 + 8009aa0: 4770 bx lr + 8009aa2: bf00 nop + 8009aa4: 20001788 .word 0x20001788 -08009a94 : - 8009a94: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8009a98: 4607 mov r7, r0 - 8009a9a: 460e mov r6, r1 - 8009a9c: 4615 mov r5, r2 - 8009a9e: b33a cbz r2, 8009af0 - 8009aa0: b331 cbz r1, 8009af0 - 8009aa2: 4b14 ldr r3, [pc, #80] ; (8009af4 ) - 8009aa4: 681c ldr r4, [r3, #0] - 8009aa6: 2300 movs r3, #0 - 8009aa8: b92c cbnz r4, 8009ab6 - 8009aaa: 4630 mov r0, r6 - 8009aac: f7ff ffe6 bl 8009a7c - 8009ab0: 2000 movs r0, #0 - 8009ab2: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8009ab6: 68a2 ldr r2, [r4, #8] - 8009ab8: 1af9 subs r1, r7, r3 - 8009aba: 3201 adds r2, #1 - 8009abc: 4291 cmp r1, r2 - 8009abe: d310 bcc.n 8009ae2 - 8009ac0: 7922 ldrb r2, [r4, #4] - 8009ac2: 54ea strb r2, [r5, r3] - 8009ac4: 1c58 adds r0, r3, #1 - 8009ac6: 8922 ldrh r2, [r4, #8] - 8009ac8: fa5f f880 uxtb.w r8, r0 - 8009acc: 1d61 adds r1, r4, #5 - 8009ace: fa55 f080 uxtab r0, r5, r0 - 8009ad2: f002 fd05 bl 800c4e0 - 8009ad6: 68a3 ldr r3, [r4, #8] - 8009ad8: 6824 ldr r4, [r4, #0] - 8009ada: 4498 add r8, r3 - 8009adc: fa5f f388 uxtb.w r3, r8 - 8009ae0: e7e2 b.n 8009aa8 - 8009ae2: 4620 mov r0, r4 - 8009ae4: 6824 ldr r4, [r4, #0] - 8009ae6: f7ff ff6d bl 80099c4 - 8009aea: 2c00 cmp r4, #0 - 8009aec: d1f9 bne.n 8009ae2 - 8009aee: e7dc b.n 8009aaa - 8009af0: 2001 movs r0, #1 - 8009af2: e7de b.n 8009ab2 - 8009af4: 20001788 .word 0x20001788 +08009aa8 : + 8009aa8: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8009aac: 4607 mov r7, r0 + 8009aae: 460e mov r6, r1 + 8009ab0: 4615 mov r5, r2 + 8009ab2: b33a cbz r2, 8009b04 + 8009ab4: b331 cbz r1, 8009b04 + 8009ab6: 4b14 ldr r3, [pc, #80] ; (8009b08 ) + 8009ab8: 681c ldr r4, [r3, #0] + 8009aba: 2300 movs r3, #0 + 8009abc: b92c cbnz r4, 8009aca + 8009abe: 4630 mov r0, r6 + 8009ac0: f7ff ffe6 bl 8009a90 + 8009ac4: 2000 movs r0, #0 + 8009ac6: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8009aca: 68a2 ldr r2, [r4, #8] + 8009acc: 1af9 subs r1, r7, r3 + 8009ace: 3201 adds r2, #1 + 8009ad0: 4291 cmp r1, r2 + 8009ad2: d310 bcc.n 8009af6 + 8009ad4: 7922 ldrb r2, [r4, #4] + 8009ad6: 54ea strb r2, [r5, r3] + 8009ad8: 1c58 adds r0, r3, #1 + 8009ada: 8922 ldrh r2, [r4, #8] + 8009adc: fa5f f880 uxtb.w r8, r0 + 8009ae0: 1d61 adds r1, r4, #5 + 8009ae2: fa55 f080 uxtab r0, r5, r0 + 8009ae6: f002 fd05 bl 800c4f4 + 8009aea: 68a3 ldr r3, [r4, #8] + 8009aec: 6824 ldr r4, [r4, #0] + 8009aee: 4498 add r8, r3 + 8009af0: fa5f f388 uxtb.w r3, r8 + 8009af4: e7e2 b.n 8009abc + 8009af6: 4620 mov r0, r4 + 8009af8: 6824 ldr r4, [r4, #0] + 8009afa: f7ff ff6d bl 80099d8 + 8009afe: 2c00 cmp r4, #0 + 8009b00: d1f9 bne.n 8009af6 + 8009b02: e7dc b.n 8009abe + 8009b04: 2001 movs r0, #1 + 8009b06: e7de b.n 8009ac6 + 8009b08: 20001788 .word 0x20001788 -08009af8 : - 8009af8: 3802 subs r0, #2 - 8009afa: b2c0 uxtb r0, r0 - 8009afc: 2811 cmp r0, #17 - 8009afe: bf9a itte ls - 8009b00: 4b01 ldrls r3, [pc, #4] ; (8009b08 ) - 8009b02: 5c18 ldrbls r0, [r3, r0] - 8009b04: 2000 movhi r0, #0 - 8009b06: 4770 bx lr - 8009b08: 0800f2f3 .word 0x0800f2f3 +08009b0c : + 8009b0c: 3802 subs r0, #2 + 8009b0e: b2c0 uxtb r0, r0 + 8009b10: 2811 cmp r0, #17 + 8009b12: bf9a itte ls + 8009b14: 4b01 ldrls r3, [pc, #4] ; (8009b1c ) + 8009b16: 5c18 ldrbls r0, [r3, r0] + 8009b18: 2000 movhi r0, #0 + 8009b1a: 4770 bx lr + 8009b1c: 0800f303 .word 0x0800f303 -08009b0c : - 8009b0c: b530 push {r4, r5, lr} - 8009b0e: 4b0b ldr r3, [pc, #44] ; (8009b3c ) - 8009b10: f893 2020 ldrb.w r2, [r3, #32] - 8009b14: 4604 mov r4, r0 - 8009b16: 4608 mov r0, r1 - 8009b18: b172 cbz r2, 8009b38 - 8009b1a: 2100 movs r1, #0 - 8009b1c: 331c adds r3, #28 - 8009b1e: 7805 ldrb r5, [r0, #0] - 8009b20: 42a5 cmp r5, r4 - 8009b22: d008 beq.n 8009b36 - 8009b24: 3101 adds r1, #1 - 8009b26: 4298 cmp r0, r3 - 8009b28: b2cd uxtb r5, r1 - 8009b2a: bf0c ite eq - 8009b2c: 4804 ldreq r0, [pc, #16] ; (8009b40 ) - 8009b2e: 3004 addne r0, #4 - 8009b30: 42aa cmp r2, r5 - 8009b32: d8f4 bhi.n 8009b1e - 8009b34: 2000 movs r0, #0 - 8009b36: bd30 pop {r4, r5, pc} - 8009b38: 4610 mov r0, r2 - 8009b3a: e7fc b.n 8009b36 - 8009b3c: 20001994 .word 0x20001994 - 8009b40: 200019a0 .word 0x200019a0 +08009b20 : + 8009b20: b530 push {r4, r5, lr} + 8009b22: 4b0b ldr r3, [pc, #44] ; (8009b50 ) + 8009b24: f893 2020 ldrb.w r2, [r3, #32] + 8009b28: 4604 mov r4, r0 + 8009b2a: 4608 mov r0, r1 + 8009b2c: b172 cbz r2, 8009b4c + 8009b2e: 2100 movs r1, #0 + 8009b30: 331c adds r3, #28 + 8009b32: 7805 ldrb r5, [r0, #0] + 8009b34: 42a5 cmp r5, r4 + 8009b36: d008 beq.n 8009b4a + 8009b38: 3101 adds r1, #1 + 8009b3a: 4298 cmp r0, r3 + 8009b3c: b2cd uxtb r5, r1 + 8009b3e: bf0c ite eq + 8009b40: 4804 ldreq r0, [pc, #16] ; (8009b54 ) + 8009b42: 3004 addne r0, #4 + 8009b44: 42aa cmp r2, r5 + 8009b46: d8f4 bhi.n 8009b32 + 8009b48: 2000 movs r0, #0 + 8009b4a: bd30 pop {r4, r5, pc} + 8009b4c: 4610 mov r0, r2 + 8009b4e: e7fc b.n 8009b4a + 8009b50: 20001994 .word 0x20001994 + 8009b54: 200019a0 .word 0x200019a0 -08009b44 : - 8009b44: b510 push {r4, lr} - 8009b46: 4c08 ldr r4, [pc, #32] ; (8009b68 ) - 8009b48: 2300 movs r3, #0 - 8009b4a: 6020 str r0, [r4, #0] - 8009b4c: 2214 movs r2, #20 - 8009b4e: f104 000c add.w r0, r4, #12 - 8009b52: 21ff movs r1, #255 ; 0xff - 8009b54: f884 3020 strb.w r3, [r4, #32] - 8009b58: e9c4 0001 strd r0, r0, [r4, #4] - 8009b5c: f002 fcd4 bl 800c508 - 8009b60: 2301 movs r3, #1 - 8009b62: f884 3021 strb.w r3, [r4, #33] ; 0x21 - 8009b66: bd10 pop {r4, pc} - 8009b68: 20001994 .word 0x20001994 +08009b58 : + 8009b58: b510 push {r4, lr} + 8009b5a: 4c08 ldr r4, [pc, #32] ; (8009b7c ) + 8009b5c: 2300 movs r3, #0 + 8009b5e: 6020 str r0, [r4, #0] + 8009b60: 2214 movs r2, #20 + 8009b62: f104 000c add.w r0, r4, #12 + 8009b66: 21ff movs r1, #255 ; 0xff + 8009b68: f884 3020 strb.w r3, [r4, #32] + 8009b6c: e9c4 0001 strd r0, r0, [r4, #4] + 8009b70: f002 fcd4 bl 800c51c + 8009b74: 2301 movs r3, #1 + 8009b76: f884 3021 strb.w r3, [r4, #33] ; 0x21 + 8009b7a: bd10 pop {r4, pc} + 8009b7c: 20001994 .word 0x20001994 -08009b6c : - 8009b6c: b510 push {r4, lr} - 8009b6e: 4a0e ldr r2, [pc, #56] ; (8009ba8 ) - 8009b70: f892 1020 ldrb.w r1, [r2, #32] - 8009b74: 2904 cmp r1, #4 - 8009b76: d815 bhi.n 8009ba4 - 8009b78: 6893 ldr r3, [r2, #8] - 8009b7a: 7804 ldrb r4, [r0, #0] - 8009b7c: 701c strb r4, [r3, #0] - 8009b7e: 7844 ldrb r4, [r0, #1] - 8009b80: 705c strb r4, [r3, #1] - 8009b82: 78c4 ldrb r4, [r0, #3] - 8009b84: 7880 ldrb r0, [r0, #2] - 8009b86: 7098 strb r0, [r3, #2] - 8009b88: 3101 adds r1, #1 - 8009b8a: 70dc strb r4, [r3, #3] - 8009b8c: f882 1020 strb.w r1, [r2, #32] - 8009b90: f102 011c add.w r1, r2, #28 - 8009b94: 428b cmp r3, r1 - 8009b96: bf14 ite ne - 8009b98: 3304 addne r3, #4 - 8009b9a: f102 030c addeq.w r3, r2, #12 - 8009b9e: 6093 str r3, [r2, #8] - 8009ba0: 2001 movs r0, #1 - 8009ba2: bd10 pop {r4, pc} - 8009ba4: 2000 movs r0, #0 - 8009ba6: e7fc b.n 8009ba2 - 8009ba8: 20001994 .word 0x20001994 +08009b80 : + 8009b80: b510 push {r4, lr} + 8009b82: 4a0e ldr r2, [pc, #56] ; (8009bbc ) + 8009b84: f892 1020 ldrb.w r1, [r2, #32] + 8009b88: 2904 cmp r1, #4 + 8009b8a: d815 bhi.n 8009bb8 + 8009b8c: 6893 ldr r3, [r2, #8] + 8009b8e: 7804 ldrb r4, [r0, #0] + 8009b90: 701c strb r4, [r3, #0] + 8009b92: 7844 ldrb r4, [r0, #1] + 8009b94: 705c strb r4, [r3, #1] + 8009b96: 78c4 ldrb r4, [r0, #3] + 8009b98: 7880 ldrb r0, [r0, #2] + 8009b9a: 7098 strb r0, [r3, #2] + 8009b9c: 3101 adds r1, #1 + 8009b9e: 70dc strb r4, [r3, #3] + 8009ba0: f882 1020 strb.w r1, [r2, #32] + 8009ba4: f102 011c add.w r1, r2, #28 + 8009ba8: 428b cmp r3, r1 + 8009baa: bf14 ite ne + 8009bac: 3304 addne r3, #4 + 8009bae: f102 030c addeq.w r3, r2, #12 + 8009bb2: 6093 str r3, [r2, #8] + 8009bb4: 2001 movs r0, #1 + 8009bb6: bd10 pop {r4, pc} + 8009bb8: 2000 movs r0, #0 + 8009bba: e7fc b.n 8009bb6 + 8009bbc: 20001994 .word 0x20001994 -08009bac : - 8009bac: 4b09 ldr r3, [pc, #36] ; (8009bd4 ) - 8009bae: f893 0020 ldrb.w r0, [r3, #32] - 8009bb2: b168 cbz r0, 8009bd0 - 8009bb4: 685a ldr r2, [r3, #4] - 8009bb6: f103 011c add.w r1, r3, #28 - 8009bba: 428a cmp r2, r1 - 8009bbc: f100 30ff add.w r0, r0, #4294967295 - 8009bc0: bf14 ite ne - 8009bc2: 3204 addne r2, #4 - 8009bc4: f103 020c addeq.w r2, r3, #12 - 8009bc8: f883 0020 strb.w r0, [r3, #32] - 8009bcc: 605a str r2, [r3, #4] - 8009bce: 2001 movs r0, #1 - 8009bd0: 4770 bx lr - 8009bd2: bf00 nop - 8009bd4: 20001994 .word 0x20001994 +08009bc0 : + 8009bc0: 4b09 ldr r3, [pc, #36] ; (8009be8 ) + 8009bc2: f893 0020 ldrb.w r0, [r3, #32] + 8009bc6: b168 cbz r0, 8009be4 + 8009bc8: 685a ldr r2, [r3, #4] + 8009bca: f103 011c add.w r1, r3, #28 + 8009bce: 428a cmp r2, r1 + 8009bd0: f100 30ff add.w r0, r0, #4294967295 + 8009bd4: bf14 ite ne + 8009bd6: 3204 addne r2, #4 + 8009bd8: f103 020c addeq.w r2, r3, #12 + 8009bdc: f883 0020 strb.w r0, [r3, #32] + 8009be0: 605a str r2, [r3, #4] + 8009be2: 2001 movs r0, #1 + 8009be4: 4770 bx lr + 8009be6: bf00 nop + 8009be8: 20001994 .word 0x20001994 -08009bd8 : - 8009bd8: b510 push {r4, lr} - 8009bda: 4b07 ldr r3, [pc, #28] ; (8009bf8 ) - 8009bdc: f893 2020 ldrb.w r2, [r3, #32] - 8009be0: 4604 mov r4, r0 - 8009be2: 4608 mov r0, r1 - 8009be4: b132 cbz r2, 8009bf4 - 8009be6: 6859 ldr r1, [r3, #4] - 8009be8: f7ff ff90 bl 8009b0c - 8009bec: b110 cbz r0, 8009bf4 - 8009bee: 2301 movs r3, #1 - 8009bf0: 7044 strb r4, [r0, #1] - 8009bf2: 7083 strb r3, [r0, #2] - 8009bf4: bd10 pop {r4, pc} - 8009bf6: bf00 nop - 8009bf8: 20001994 .word 0x20001994 +08009bec : + 8009bec: b510 push {r4, lr} + 8009bee: 4b07 ldr r3, [pc, #28] ; (8009c0c ) + 8009bf0: f893 2020 ldrb.w r2, [r3, #32] + 8009bf4: 4604 mov r4, r0 + 8009bf6: 4608 mov r0, r1 + 8009bf8: b132 cbz r2, 8009c08 + 8009bfa: 6859 ldr r1, [r3, #4] + 8009bfc: f7ff ff90 bl 8009b20 + 8009c00: b110 cbz r0, 8009c08 + 8009c02: 2301 movs r3, #1 + 8009c04: 7044 strb r4, [r0, #1] + 8009c06: 7083 strb r3, [r0, #2] + 8009c08: bd10 pop {r4, pc} + 8009c0a: bf00 nop + 8009c0c: 20001994 .word 0x20001994 -08009bfc : - 8009bfc: b508 push {r3, lr} - 8009bfe: 4b06 ldr r3, [pc, #24] ; (8009c18 ) - 8009c00: f893 2020 ldrb.w r2, [r3, #32] - 8009c04: b12a cbz r2, 8009c12 - 8009c06: 6859 ldr r1, [r3, #4] - 8009c08: f7ff ff80 bl 8009b0c - 8009c0c: b108 cbz r0, 8009c12 - 8009c0e: 7840 ldrb r0, [r0, #1] - 8009c10: bd08 pop {r3, pc} - 8009c12: 2001 movs r0, #1 - 8009c14: e7fc b.n 8009c10 - 8009c16: bf00 nop - 8009c18: 20001994 .word 0x20001994 +08009c10 : + 8009c10: b508 push {r3, lr} + 8009c12: 4b06 ldr r3, [pc, #24] ; (8009c2c ) + 8009c14: f893 2020 ldrb.w r2, [r3, #32] + 8009c18: b12a cbz r2, 8009c26 + 8009c1a: 6859 ldr r1, [r3, #4] + 8009c1c: f7ff ff80 bl 8009b20 + 8009c20: b108 cbz r0, 8009c26 + 8009c22: 7840 ldrb r0, [r0, #1] + 8009c24: bd08 pop {r3, pc} + 8009c26: 2001 movs r0, #1 + 8009c28: e7fc b.n 8009c24 + 8009c2a: bf00 nop + 8009c2c: 20001994 .word 0x20001994 -08009c1c : - 8009c1c: b530 push {r4, r5, lr} - 8009c1e: 4a0a ldr r2, [pc, #40] ; (8009c48 ) - 8009c20: f892 1020 ldrb.w r1, [r2, #32] - 8009c24: 6853 ldr r3, [r2, #4] - 8009c26: f882 0021 strb.w r0, [r2, #33] ; 0x21 - 8009c2a: b161 cbz r1, 8009c46 - 8009c2c: 6891 ldr r1, [r2, #8] - 8009c2e: 2401 movs r4, #1 - 8009c30: 321c adds r2, #28 - 8009c32: 78dd ldrb r5, [r3, #3] - 8009c34: 7058 strb r0, [r3, #1] - 8009c36: b905 cbnz r5, 8009c3a - 8009c38: 709c strb r4, [r3, #2] - 8009c3a: 4293 cmp r3, r2 - 8009c3c: bf0c ite eq - 8009c3e: 4b03 ldreq r3, [pc, #12] ; (8009c4c ) - 8009c40: 3304 addne r3, #4 - 8009c42: 4299 cmp r1, r3 - 8009c44: d1f5 bne.n 8009c32 - 8009c46: bd30 pop {r4, r5, pc} - 8009c48: 20001994 .word 0x20001994 - 8009c4c: 200019a0 .word 0x200019a0 +08009c30 : + 8009c30: b530 push {r4, r5, lr} + 8009c32: 4a0a ldr r2, [pc, #40] ; (8009c5c ) + 8009c34: f892 1020 ldrb.w r1, [r2, #32] + 8009c38: 6853 ldr r3, [r2, #4] + 8009c3a: f882 0021 strb.w r0, [r2, #33] ; 0x21 + 8009c3e: b161 cbz r1, 8009c5a + 8009c40: 6891 ldr r1, [r2, #8] + 8009c42: 2401 movs r4, #1 + 8009c44: 321c adds r2, #28 + 8009c46: 78dd ldrb r5, [r3, #3] + 8009c48: 7058 strb r0, [r3, #1] + 8009c4a: b905 cbnz r5, 8009c4e + 8009c4c: 709c strb r4, [r3, #2] + 8009c4e: 4293 cmp r3, r2 + 8009c50: bf0c ite eq + 8009c52: 4b03 ldreq r3, [pc, #12] ; (8009c60 ) + 8009c54: 3304 addne r3, #4 + 8009c56: 4299 cmp r1, r3 + 8009c58: d1f5 bne.n 8009c46 + 8009c5a: bd30 pop {r4, r5, pc} + 8009c5c: 20001994 .word 0x20001994 + 8009c60: 200019a0 .word 0x200019a0 -08009c50 : - 8009c50: b508 push {r3, lr} - 8009c52: 4b04 ldr r3, [pc, #16] ; (8009c64 ) - 8009c54: 6859 ldr r1, [r3, #4] - 8009c56: f7ff ff59 bl 8009b0c - 8009c5a: 3800 subs r0, #0 - 8009c5c: bf18 it ne - 8009c5e: 2001 movne r0, #1 - 8009c60: bd08 pop {r3, pc} - 8009c62: bf00 nop - 8009c64: 20001994 .word 0x20001994 +08009c64 : + 8009c64: b508 push {r3, lr} + 8009c66: 4b04 ldr r3, [pc, #16] ; (8009c78 ) + 8009c68: 6859 ldr r1, [r3, #4] + 8009c6a: f7ff ff59 bl 8009b20 + 8009c6e: 3800 subs r0, #0 + 8009c70: bf18 it ne + 8009c72: 2001 movne r0, #1 + 8009c74: bd08 pop {r3, pc} + 8009c76: bf00 nop + 8009c78: 20001994 .word 0x20001994 -08009c68 : - 8009c68: e92d 41f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, lr} - 8009c6c: 2204 movs r2, #4 - 8009c6e: 4e15 ldr r6, [pc, #84] ; (8009cc4 ) - 8009c70: 4604 mov r4, r0 - 8009c72: 2100 movs r1, #0 - 8009c74: eb0d 0002 add.w r0, sp, r2 - 8009c78: f896 8020 ldrb.w r8, [r6, #32] - 8009c7c: f002 fc44 bl 800c508 - 8009c80: 2500 movs r5, #0 - 8009c82: b2eb uxtb r3, r5 - 8009c84: 4598 cmp r8, r3 - 8009c86: d802 bhi.n 8009c8e - 8009c88: b002 add sp, #8 - 8009c8a: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8009c8e: 6873 ldr r3, [r6, #4] - 8009c90: 7819 ldrb r1, [r3, #0] - 8009c92: 7021 strb r1, [r4, #0] - 8009c94: 785a ldrb r2, [r3, #1] - 8009c96: 7062 strb r2, [r4, #1] - 8009c98: 789f ldrb r7, [r3, #2] - 8009c9a: b15f cbz r7, 8009cb4 - 8009c9c: 6833 ldr r3, [r6, #0] - 8009c9e: 4620 mov r0, r4 - 8009ca0: 689b ldr r3, [r3, #8] - 8009ca2: 4798 blx r3 - 8009ca4: f7ff ff82 bl 8009bac - 8009ca8: b917 cbnz r7, 8009cb0 - 8009caa: a801 add r0, sp, #4 - 8009cac: f7ff ff5e bl 8009b6c - 8009cb0: 3501 adds r5, #1 - 8009cb2: e7e6 b.n 8009c82 - 8009cb4: 78db ldrb r3, [r3, #3] - 8009cb6: f88d 1004 strb.w r1, [sp, #4] - 8009cba: f88d 2005 strb.w r2, [sp, #5] - 8009cbe: f88d 3007 strb.w r3, [sp, #7] - 8009cc2: e7ef b.n 8009ca4 - 8009cc4: 20001994 .word 0x20001994 +08009c7c : + 8009c7c: e92d 41f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, lr} + 8009c80: 2204 movs r2, #4 + 8009c82: 4e15 ldr r6, [pc, #84] ; (8009cd8 ) + 8009c84: 4604 mov r4, r0 + 8009c86: 2100 movs r1, #0 + 8009c88: eb0d 0002 add.w r0, sp, r2 + 8009c8c: f896 8020 ldrb.w r8, [r6, #32] + 8009c90: f002 fc44 bl 800c51c + 8009c94: 2500 movs r5, #0 + 8009c96: b2eb uxtb r3, r5 + 8009c98: 4598 cmp r8, r3 + 8009c9a: d802 bhi.n 8009ca2 + 8009c9c: b002 add sp, #8 + 8009c9e: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8009ca2: 6873 ldr r3, [r6, #4] + 8009ca4: 7819 ldrb r1, [r3, #0] + 8009ca6: 7021 strb r1, [r4, #0] + 8009ca8: 785a ldrb r2, [r3, #1] + 8009caa: 7062 strb r2, [r4, #1] + 8009cac: 789f ldrb r7, [r3, #2] + 8009cae: b15f cbz r7, 8009cc8 + 8009cb0: 6833 ldr r3, [r6, #0] + 8009cb2: 4620 mov r0, r4 + 8009cb4: 689b ldr r3, [r3, #8] + 8009cb6: 4798 blx r3 + 8009cb8: f7ff ff82 bl 8009bc0 + 8009cbc: b917 cbnz r7, 8009cc4 + 8009cbe: a801 add r0, sp, #4 + 8009cc0: f7ff ff5e bl 8009b80 + 8009cc4: 3501 adds r5, #1 + 8009cc6: e7e6 b.n 8009c96 + 8009cc8: 78db ldrb r3, [r3, #3] + 8009cca: f88d 1004 strb.w r1, [sp, #4] + 8009cce: f88d 2005 strb.w r2, [sp, #5] + 8009cd2: f88d 3007 strb.w r3, [sp, #7] + 8009cd6: e7ef b.n 8009cb8 + 8009cd8: 20001994 .word 0x20001994 -08009cc8 : - 8009cc8: 4b01 ldr r3, [pc, #4] ; (8009cd0 ) - 8009cca: f893 0020 ldrb.w r0, [r3, #32] - 8009cce: 4770 bx lr - 8009cd0: 20001994 .word 0x20001994 - -08009cd4 : - 8009cd4: 4b03 ldr r3, [pc, #12] ; (8009ce4 ) - 8009cd6: f893 0020 ldrb.w r0, [r3, #32] - 8009cda: 2804 cmp r0, #4 - 8009cdc: bf94 ite ls - 8009cde: 2000 movls r0, #0 - 8009ce0: 2001 movhi r0, #1 +08009cdc : + 8009cdc: 4b01 ldr r3, [pc, #4] ; (8009ce4 ) + 8009cde: f893 0020 ldrb.w r0, [r3, #32] 8009ce2: 4770 bx lr 8009ce4: 20001994 .word 0x20001994 -08009ce8 : - 8009ce8: b51f push {r0, r1, r2, r3, r4, lr} - 8009cea: 2400 movs r4, #0 - 8009cec: e9cd 4402 strd r4, r4, [sp, #8] - 8009cf0: 1fc4 subs r4, r0, #7 - 8009cf2: f88d 4000 strb.w r4, [sp] - 8009cf6: f88d 1001 strb.w r1, [sp, #1] - 8009cfa: 0a0c lsrs r4, r1, #8 - 8009cfc: f8ad 2004 strh.w r2, [sp, #4] - 8009d00: 0c09 lsrs r1, r1, #16 - 8009d02: 0c12 lsrs r2, r2, #16 - 8009d04: f88d 1003 strb.w r1, [sp, #3] - 8009d08: f88d 2006 strb.w r2, [sp, #6] - 8009d0c: f88d 3007 strb.w r3, [sp, #7] - 8009d10: 4602 mov r2, r0 - 8009d12: 0a1b lsrs r3, r3, #8 - 8009d14: 2101 movs r1, #1 - 8009d16: 4668 mov r0, sp - 8009d18: f88d 4002 strb.w r4, [sp, #2] - 8009d1c: f88d 3008 strb.w r3, [sp, #8] - 8009d20: f002 fa4f bl 800c1c2 - 8009d24: 2800 cmp r0, #0 - 8009d26: bf18 it ne - 8009d28: 200e movne r0, #14 - 8009d2a: b004 add sp, #16 - 8009d2c: bd10 pop {r4, pc} +08009ce8 : + 8009ce8: 4b03 ldr r3, [pc, #12] ; (8009cf8 ) + 8009cea: f893 0020 ldrb.w r0, [r3, #32] + 8009cee: 2804 cmp r0, #4 + 8009cf0: bf94 ite ls + 8009cf2: 2000 movls r0, #0 + 8009cf4: 2001 movhi r0, #1 + 8009cf6: 4770 bx lr + 8009cf8: 20001994 .word 0x20001994 -08009d2e : - 8009d2e: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8009d32: b088 sub sp, #32 - 8009d34: 4617 mov r7, r2 - 8009d36: 460d mov r5, r1 - 8009d38: 9a0f ldr r2, [sp, #60] ; 0x3c - 8009d3a: 4606 mov r6, r0 - 8009d3c: 2800 cmp r0, #0 - 8009d3e: d04d beq.n 8009ddc - 8009d40: 2400 movs r4, #0 - 8009d42: 2101 movs r1, #1 - 8009d44: e9cd 4404 strd r4, r4, [sp, #16] - 8009d48: f88d 1010 strb.w r1, [sp, #16] - 8009d4c: f89d 1038 ldrb.w r1, [sp, #56] ; 0x38 - 8009d50: f88d 1015 strb.w r1, [sp, #21] - 8009d54: f8ad 3016 strh.w r3, [sp, #22] - 8009d58: 0c19 lsrs r1, r3, #16 - 8009d5a: e9cd 4400 strd r4, r4, [sp] - 8009d5e: 0e1b lsrs r3, r3, #24 - 8009d60: e9cd 4402 strd r4, r4, [sp, #8] - 8009d64: f88d 3019 strb.w r3, [sp, #25] - 8009d68: f8ad 201a strh.w r2, [sp, #26] - 8009d6c: 0c13 lsrs r3, r2, #16 - 8009d6e: 0e12 lsrs r2, r2, #24 - 8009d70: 9407 str r4, [sp, #28] - 8009d72: f88d 1018 strb.w r1, [sp, #24] - 8009d76: f88d 301c strb.w r3, [sp, #28] - 8009d7a: f88d 201d strb.w r2, [sp, #29] - 8009d7e: b2e3 uxtb r3, r4 - 8009d80: ea4f 1803 mov.w r8, r3, lsl #4 - 8009d84: 2d00 cmp r5, #0 - 8009d86: fa5f f888 uxtb.w r8, r8 - 8009d8a: dc03 bgt.n 8009d94 - 8009d8c: 2000 movs r0, #0 - 8009d8e: b008 add sp, #32 - 8009d90: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8009d94: 3301 adds r3, #1 - 8009d96: 2110 movs r1, #16 - 8009d98: f88d 301f strb.w r3, [sp, #31] - 8009d9c: 463a mov r2, r7 - 8009d9e: 466b mov r3, sp - 8009da0: eb0d 0001 add.w r0, sp, r1 - 8009da4: f002 f9a3 bl 800c0ee - 8009da8: 4603 mov r3, r0 - 8009daa: b9c8 cbnz r0, 8009de0 - 8009dac: 2d10 cmp r5, #16 - 8009dae: 46ac mov ip, r5 - 8009db0: bfa8 it ge - 8009db2: f04f 0c10 movge.w ip, #16 - 8009db6: b2da uxtb r2, r3 - 8009db8: 4562 cmp r2, ip - 8009dba: f103 0301 add.w r3, r3, #1 - 8009dbe: db03 blt.n 8009dc8 - 8009dc0: 3d10 subs r5, #16 - 8009dc2: b22d sxth r5, r5 - 8009dc4: 3401 adds r4, #1 - 8009dc6: e7da b.n 8009d7e - 8009dc8: eb08 0002 add.w r0, r8, r2 - 8009dcc: 3220 adds r2, #32 - 8009dce: 446a add r2, sp - 8009dd0: 5c31 ldrb r1, [r6, r0] - 8009dd2: f812 2c20 ldrb.w r2, [r2, #-32] - 8009dd6: 404a eors r2, r1 - 8009dd8: 5432 strb r2, [r6, r0] - 8009dda: e7ec b.n 8009db6 - 8009ddc: 2009 movs r0, #9 - 8009dde: e7d6 b.n 8009d8e - 8009de0: 200e movs r0, #14 - 8009de2: e7d4 b.n 8009d8e +08009cfc : + 8009cfc: b51f push {r0, r1, r2, r3, r4, lr} + 8009cfe: 2400 movs r4, #0 + 8009d00: e9cd 4402 strd r4, r4, [sp, #8] + 8009d04: 1fc4 subs r4, r0, #7 + 8009d06: f88d 4000 strb.w r4, [sp] + 8009d0a: f88d 1001 strb.w r1, [sp, #1] + 8009d0e: 0a0c lsrs r4, r1, #8 + 8009d10: f8ad 2004 strh.w r2, [sp, #4] + 8009d14: 0c09 lsrs r1, r1, #16 + 8009d16: 0c12 lsrs r2, r2, #16 + 8009d18: f88d 1003 strb.w r1, [sp, #3] + 8009d1c: f88d 2006 strb.w r2, [sp, #6] + 8009d20: f88d 3007 strb.w r3, [sp, #7] + 8009d24: 4602 mov r2, r0 + 8009d26: 0a1b lsrs r3, r3, #8 + 8009d28: 2101 movs r1, #1 + 8009d2a: 4668 mov r0, sp + 8009d2c: f88d 4002 strb.w r4, [sp, #2] + 8009d30: f88d 3008 strb.w r3, [sp, #8] + 8009d34: f002 fa4f bl 800c1d6 + 8009d38: 2800 cmp r0, #0 + 8009d3a: bf18 it ne + 8009d3c: 200e movne r0, #14 + 8009d3e: b004 add sp, #16 + 8009d40: bd10 pop {r4, pc} -08009de4 : - 8009de4: 3801 subs r0, #1 - 8009de6: 2803 cmp r0, #3 - 8009de8: d815 bhi.n 8009e16 - 8009dea: e8df f000 tbb [pc, r0] - 8009dee: 0802 .short 0x0802 - 8009df0: 100c .short 0x100c - 8009df2: 4b0a ldr r3, [pc, #40] ; (8009e1c ) - 8009df4: 681b ldr r3, [r3, #0] - 8009df6: 691b ldr r3, [r3, #16] - 8009df8: 600b str r3, [r1, #0] - 8009dfa: 2000 movs r0, #0 - 8009dfc: 4770 bx lr - 8009dfe: 4b07 ldr r3, [pc, #28] ; (8009e1c ) - 8009e00: 681b ldr r3, [r3, #0] - 8009e02: 695b ldr r3, [r3, #20] - 8009e04: e7f8 b.n 8009df8 - 8009e06: 4b05 ldr r3, [pc, #20] ; (8009e1c ) +08009d42 : + 8009d42: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8009d46: b088 sub sp, #32 + 8009d48: 4617 mov r7, r2 + 8009d4a: 460d mov r5, r1 + 8009d4c: 9a0f ldr r2, [sp, #60] ; 0x3c + 8009d4e: 4606 mov r6, r0 + 8009d50: 2800 cmp r0, #0 + 8009d52: d04d beq.n 8009df0 + 8009d54: 2400 movs r4, #0 + 8009d56: 2101 movs r1, #1 + 8009d58: e9cd 4404 strd r4, r4, [sp, #16] + 8009d5c: f88d 1010 strb.w r1, [sp, #16] + 8009d60: f89d 1038 ldrb.w r1, [sp, #56] ; 0x38 + 8009d64: f88d 1015 strb.w r1, [sp, #21] + 8009d68: f8ad 3016 strh.w r3, [sp, #22] + 8009d6c: 0c19 lsrs r1, r3, #16 + 8009d6e: e9cd 4400 strd r4, r4, [sp] + 8009d72: 0e1b lsrs r3, r3, #24 + 8009d74: e9cd 4402 strd r4, r4, [sp, #8] + 8009d78: f88d 3019 strb.w r3, [sp, #25] + 8009d7c: f8ad 201a strh.w r2, [sp, #26] + 8009d80: 0c13 lsrs r3, r2, #16 + 8009d82: 0e12 lsrs r2, r2, #24 + 8009d84: 9407 str r4, [sp, #28] + 8009d86: f88d 1018 strb.w r1, [sp, #24] + 8009d8a: f88d 301c strb.w r3, [sp, #28] + 8009d8e: f88d 201d strb.w r2, [sp, #29] + 8009d92: b2e3 uxtb r3, r4 + 8009d94: ea4f 1803 mov.w r8, r3, lsl #4 + 8009d98: 2d00 cmp r5, #0 + 8009d9a: fa5f f888 uxtb.w r8, r8 + 8009d9e: dc03 bgt.n 8009da8 + 8009da0: 2000 movs r0, #0 + 8009da2: b008 add sp, #32 + 8009da4: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8009da8: 3301 adds r3, #1 + 8009daa: 2110 movs r1, #16 + 8009dac: f88d 301f strb.w r3, [sp, #31] + 8009db0: 463a mov r2, r7 + 8009db2: 466b mov r3, sp + 8009db4: eb0d 0001 add.w r0, sp, r1 + 8009db8: f002 f9a3 bl 800c102 + 8009dbc: 4603 mov r3, r0 + 8009dbe: b9c8 cbnz r0, 8009df4 + 8009dc0: 2d10 cmp r5, #16 + 8009dc2: 46ac mov ip, r5 + 8009dc4: bfa8 it ge + 8009dc6: f04f 0c10 movge.w ip, #16 + 8009dca: b2da uxtb r2, r3 + 8009dcc: 4562 cmp r2, ip + 8009dce: f103 0301 add.w r3, r3, #1 + 8009dd2: db03 blt.n 8009ddc + 8009dd4: 3d10 subs r5, #16 + 8009dd6: b22d sxth r5, r5 + 8009dd8: 3401 adds r4, #1 + 8009dda: e7da b.n 8009d92 + 8009ddc: eb08 0002 add.w r0, r8, r2 + 8009de0: 3220 adds r2, #32 + 8009de2: 446a add r2, sp + 8009de4: 5c31 ldrb r1, [r6, r0] + 8009de6: f812 2c20 ldrb.w r2, [r2, #-32] + 8009dea: 404a eors r2, r1 + 8009dec: 5432 strb r2, [r6, r0] + 8009dee: e7ec b.n 8009dca + 8009df0: 2009 movs r0, #9 + 8009df2: e7d6 b.n 8009da2 + 8009df4: 200e movs r0, #14 + 8009df6: e7d4 b.n 8009da2 + +08009df8 : + 8009df8: 3801 subs r0, #1 + 8009dfa: 2803 cmp r0, #3 + 8009dfc: d815 bhi.n 8009e2a + 8009dfe: e8df f000 tbb [pc, r0] + 8009e02: 0802 .short 0x0802 + 8009e04: 100c .short 0x100c + 8009e06: 4b0a ldr r3, [pc, #40] ; (8009e30 ) 8009e08: 681b ldr r3, [r3, #0] - 8009e0a: 699b ldr r3, [r3, #24] - 8009e0c: e7f4 b.n 8009df8 - 8009e0e: 4b03 ldr r3, [pc, #12] ; (8009e1c ) - 8009e10: 681b ldr r3, [r3, #0] - 8009e12: 69db ldr r3, [r3, #28] - 8009e14: e7f0 b.n 8009df8 - 8009e16: 2005 movs r0, #5 - 8009e18: 4770 bx lr - 8009e1a: bf00 nop - 8009e1c: 200019b8 .word 0x200019b8 + 8009e0a: 691b ldr r3, [r3, #16] + 8009e0c: 600b str r3, [r1, #0] + 8009e0e: 2000 movs r0, #0 + 8009e10: 4770 bx lr + 8009e12: 4b07 ldr r3, [pc, #28] ; (8009e30 ) + 8009e14: 681b ldr r3, [r3, #0] + 8009e16: 695b ldr r3, [r3, #20] + 8009e18: e7f8 b.n 8009e0c + 8009e1a: 4b05 ldr r3, [pc, #20] ; (8009e30 ) + 8009e1c: 681b ldr r3, [r3, #0] + 8009e1e: 699b ldr r3, [r3, #24] + 8009e20: e7f4 b.n 8009e0c + 8009e22: 4b03 ldr r3, [pc, #12] ; (8009e30 ) + 8009e24: 681b ldr r3, [r3, #0] + 8009e26: 69db ldr r3, [r3, #28] + 8009e28: e7f0 b.n 8009e0c + 8009e2a: 2005 movs r0, #5 + 8009e2c: 4770 bx lr + 8009e2e: bf00 nop + 8009e30: 200019b8 .word 0x200019b8 -08009e20 : - 8009e20: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8009e24: b0c4 sub sp, #272 ; 0x110 - 8009e26: 460c mov r4, r1 - 8009e28: 9e4a ldr r6, [sp, #296] ; 0x128 - 8009e2a: 4617 mov r7, r2 - 8009e2c: 461d mov r5, r3 - 8009e2e: 4680 mov r8, r0 - 8009e30: b3b8 cbz r0, 8009ea2 - 8009e32: f5b1 7f80 cmp.w r1, #256 ; 0x100 - 8009e36: d836 bhi.n 8009ea6 - 8009e38: f44f 7288 mov.w r2, #272 ; 0x110 - 8009e3c: 2100 movs r1, #0 - 8009e3e: 4668 mov r0, sp - 8009e40: f002 fb62 bl 800c508 - 8009e44: 2349 movs r3, #73 ; 0x49 - 8009e46: 9300 str r3, [sp, #0] - 8009e48: f44f 7380 mov.w r3, #256 ; 0x100 - 8009e4c: f8ad 3004 strh.w r3, [sp, #4] - 8009e50: 0c2b lsrs r3, r5, #16 - 8009e52: f88d 3008 strb.w r3, [sp, #8] - 8009e56: 0c33 lsrs r3, r6, #16 - 8009e58: f8ad 5006 strh.w r5, [sp, #6] - 8009e5c: f8ad 600a strh.w r6, [sp, #10] - 8009e60: f88d 300c strb.w r3, [sp, #12] - 8009e64: 4622 mov r2, r4 - 8009e66: 2300 movs r3, #0 - 8009e68: 4641 mov r1, r8 - 8009e6a: a804 add r0, sp, #16 - 8009e6c: 0e2d lsrs r5, r5, #24 - 8009e6e: 0e36 lsrs r6, r6, #24 - 8009e70: f88d 300e strb.w r3, [sp, #14] - 8009e74: f88d 5009 strb.w r5, [sp, #9] - 8009e78: f88d 600d strb.w r6, [sp, #13] - 8009e7c: f88d 400f strb.w r4, [sp, #15] - 8009e80: f002 fb2e bl 800c4e0 - 8009e84: f104 0110 add.w r1, r4, #16 - 8009e88: 9a4b ldr r2, [sp, #300] ; 0x12c - 8009e8a: 463b mov r3, r7 - 8009e8c: b289 uxth r1, r1 - 8009e8e: 4668 mov r0, sp - 8009e90: f002 f917 bl 800c0c2 - 8009e94: b110 cbz r0, 8009e9c - 8009e96: 2801 cmp r0, #1 - 8009e98: bf18 it ne - 8009e9a: 200e movne r0, #14 - 8009e9c: b044 add sp, #272 ; 0x110 - 8009e9e: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8009ea2: 2009 movs r0, #9 - 8009ea4: e7fa b.n 8009e9c - 8009ea6: 200d movs r0, #13 - 8009ea8: e7f8 b.n 8009e9c +08009e34 : + 8009e34: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8009e38: b0c4 sub sp, #272 ; 0x110 + 8009e3a: 460c mov r4, r1 + 8009e3c: 9e4a ldr r6, [sp, #296] ; 0x128 + 8009e3e: 4617 mov r7, r2 + 8009e40: 461d mov r5, r3 + 8009e42: 4680 mov r8, r0 + 8009e44: b3b8 cbz r0, 8009eb6 + 8009e46: f5b1 7f80 cmp.w r1, #256 ; 0x100 + 8009e4a: d836 bhi.n 8009eba + 8009e4c: f44f 7288 mov.w r2, #272 ; 0x110 + 8009e50: 2100 movs r1, #0 + 8009e52: 4668 mov r0, sp + 8009e54: f002 fb62 bl 800c51c + 8009e58: 2349 movs r3, #73 ; 0x49 + 8009e5a: 9300 str r3, [sp, #0] + 8009e5c: f44f 7380 mov.w r3, #256 ; 0x100 + 8009e60: f8ad 3004 strh.w r3, [sp, #4] + 8009e64: 0c2b lsrs r3, r5, #16 + 8009e66: f88d 3008 strb.w r3, [sp, #8] + 8009e6a: 0c33 lsrs r3, r6, #16 + 8009e6c: f8ad 5006 strh.w r5, [sp, #6] + 8009e70: f8ad 600a strh.w r6, [sp, #10] + 8009e74: f88d 300c strb.w r3, [sp, #12] + 8009e78: 4622 mov r2, r4 + 8009e7a: 2300 movs r3, #0 + 8009e7c: 4641 mov r1, r8 + 8009e7e: a804 add r0, sp, #16 + 8009e80: 0e2d lsrs r5, r5, #24 + 8009e82: 0e36 lsrs r6, r6, #24 + 8009e84: f88d 300e strb.w r3, [sp, #14] + 8009e88: f88d 5009 strb.w r5, [sp, #9] + 8009e8c: f88d 600d strb.w r6, [sp, #13] + 8009e90: f88d 400f strb.w r4, [sp, #15] + 8009e94: f002 fb2e bl 800c4f4 + 8009e98: f104 0110 add.w r1, r4, #16 + 8009e9c: 9a4b ldr r2, [sp, #300] ; 0x12c + 8009e9e: 463b mov r3, r7 + 8009ea0: b289 uxth r1, r1 + 8009ea2: 4668 mov r0, sp + 8009ea4: f002 f917 bl 800c0d6 + 8009ea8: b110 cbz r0, 8009eb0 + 8009eaa: 2801 cmp r0, #1 + 8009eac: bf18 it ne + 8009eae: 200e movne r0, #14 + 8009eb0: b044 add sp, #272 ; 0x110 + 8009eb2: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8009eb6: 2009 movs r0, #9 + 8009eb8: e7fa b.n 8009eb0 + 8009eba: 200d movs r0, #13 + 8009ebc: e7f8 b.n 8009eb0 ... -08009eac : - 8009eac: b510 push {r4, lr} - 8009eae: b190 cbz r0, 8009ed6 - 8009eb0: 4c0a ldr r4, [pc, #40] ; (8009edc ) - 8009eb2: 2228 movs r2, #40 ; 0x28 - 8009eb4: 2100 movs r1, #0 - 8009eb6: 6020 str r0, [r4, #0] - 8009eb8: f002 fb26 bl 800c508 - 8009ebc: 6823 ldr r3, [r4, #0] - 8009ebe: 4a08 ldr r2, [pc, #32] ; (8009ee0 ) - 8009ec0: 601a str r2, [r3, #0] - 8009ec2: 2000 movs r0, #0 - 8009ec4: f04f 32ff mov.w r2, #4294967295 - 8009ec8: e9c3 0203 strd r0, r2, [r3, #12] - 8009ecc: e9c3 2205 strd r2, r2, [r3, #20] - 8009ed0: e9c3 2207 strd r2, r2, [r3, #28] - 8009ed4: bd10 pop {r4, pc} - 8009ed6: 2008 movs r0, #8 - 8009ed8: e7fc b.n 8009ed4 - 8009eda: bf00 nop - 8009edc: 200019b8 .word 0x200019b8 - 8009ee0: 01010100 .word 0x01010100 - -08009ee4 : - 8009ee4: 4b02 ldr r3, [pc, #8] ; (8009ef0 ) - 8009ee6: 681b ldr r3, [r3, #0] - 8009ee8: 6018 str r0, [r3, #0] - 8009eea: 2000 movs r0, #0 - 8009eec: 4770 bx lr +08009ec0 : + 8009ec0: b510 push {r4, lr} + 8009ec2: b190 cbz r0, 8009eea + 8009ec4: 4c0a ldr r4, [pc, #40] ; (8009ef0 ) + 8009ec6: 2228 movs r2, #40 ; 0x28 + 8009ec8: 2100 movs r1, #0 + 8009eca: 6020 str r0, [r4, #0] + 8009ecc: f002 fb26 bl 800c51c + 8009ed0: 6823 ldr r3, [r4, #0] + 8009ed2: 4a08 ldr r2, [pc, #32] ; (8009ef4 ) + 8009ed4: 601a str r2, [r3, #0] + 8009ed6: 2000 movs r0, #0 + 8009ed8: f04f 32ff mov.w r2, #4294967295 + 8009edc: e9c3 0203 strd r0, r2, [r3, #12] + 8009ee0: e9c3 2205 strd r2, r2, [r3, #20] + 8009ee4: e9c3 2207 strd r2, r2, [r3, #28] + 8009ee8: bd10 pop {r4, pc} + 8009eea: 2008 movs r0, #8 + 8009eec: e7fc b.n 8009ee8 8009eee: bf00 nop 8009ef0: 200019b8 .word 0x200019b8 + 8009ef4: 01010100 .word 0x01010100 -08009ef4 : - 8009ef4: b130 cbz r0, 8009f04 - 8009ef6: 4b04 ldr r3, [pc, #16] ; (8009f08 ) - 8009ef8: 681b ldr r3, [r3, #0] - 8009efa: 68db ldr r3, [r3, #12] - 8009efc: 3301 adds r3, #1 - 8009efe: 6003 str r3, [r0, #0] - 8009f00: 2000 movs r0, #0 - 8009f02: 4770 bx lr - 8009f04: 2009 movs r0, #9 - 8009f06: 4770 bx lr - 8009f08: 200019b8 .word 0x200019b8 +08009ef8 : + 8009ef8: 4b02 ldr r3, [pc, #8] ; (8009f04 ) + 8009efa: 681b ldr r3, [r3, #0] + 8009efc: 6018 str r0, [r3, #0] + 8009efe: 2000 movs r0, #0 + 8009f00: 4770 bx lr + 8009f02: bf00 nop + 8009f04: 200019b8 .word 0x200019b8 -08009f0c : - 8009f0c: b513 push {r0, r1, r4, lr} - 8009f0e: 2300 movs r3, #0 - 8009f10: 460c mov r4, r1 - 8009f12: 9301 str r3, [sp, #4] - 8009f14: b1d2 cbz r2, 8009f4c - 8009f16: a901 add r1, sp, #4 - 8009f18: f7ff ff64 bl 8009de4 - 8009f1c: b918 cbnz r0, 8009f26 - 8009f1e: 9b01 ldr r3, [sp, #4] - 8009f20: 1c59 adds r1, r3, #1 - 8009f22: d102 bne.n 8009f2a - 8009f24: 6014 str r4, [r2, #0] - 8009f26: b002 add sp, #8 - 8009f28: bd10 pop {r4, pc} - 8009f2a: b299 uxth r1, r3 - 8009f2c: 1a61 subs r1, r4, r1 - 8009f2e: 2900 cmp r1, #0 - 8009f30: dd02 ble.n 8009f38 - 8009f32: 440b add r3, r1 - 8009f34: 6013 str r3, [r2, #0] - 8009f36: e7f6 b.n 8009f26 - 8009f38: d102 bne.n 8009f40 - 8009f3a: 6013 str r3, [r2, #0] - 8009f3c: 2007 movs r0, #7 - 8009f3e: e7f2 b.n 8009f26 - 8009f40: 0c1b lsrs r3, r3, #16 - 8009f42: 041b lsls r3, r3, #16 - 8009f44: f503 3380 add.w r3, r3, #65536 ; 0x10000 - 8009f48: 4423 add r3, r4 - 8009f4a: e7f3 b.n 8009f34 - 8009f4c: 2009 movs r0, #9 - 8009f4e: e7ea b.n 8009f26 +08009f08 : + 8009f08: b130 cbz r0, 8009f18 + 8009f0a: 4b04 ldr r3, [pc, #16] ; (8009f1c ) + 8009f0c: 681b ldr r3, [r3, #0] + 8009f0e: 68db ldr r3, [r3, #12] + 8009f10: 3301 adds r3, #1 + 8009f12: 6003 str r3, [r0, #0] + 8009f14: 2000 movs r0, #0 + 8009f16: 4770 bx lr + 8009f18: 2009 movs r0, #9 + 8009f1a: 4770 bx lr + 8009f1c: 200019b8 .word 0x200019b8 -08009f50 : - 8009f50: b128 cbz r0, 8009f5e - 8009f52: 4b04 ldr r3, [pc, #16] ; (8009f64 ) - 8009f54: 681b ldr r3, [r3, #0] - 8009f56: 331c adds r3, #28 - 8009f58: 6243 str r3, [r0, #36] ; 0x24 - 8009f5a: 2000 movs r0, #0 - 8009f5c: 4770 bx lr - 8009f5e: 2009 movs r0, #9 - 8009f60: 4770 bx lr - 8009f62: bf00 nop - 8009f64: 200019b8 .word 0x200019b8 +08009f20 : + 8009f20: b513 push {r0, r1, r4, lr} + 8009f22: 2300 movs r3, #0 + 8009f24: 460c mov r4, r1 + 8009f26: 9301 str r3, [sp, #4] + 8009f28: b1d2 cbz r2, 8009f60 + 8009f2a: a901 add r1, sp, #4 + 8009f2c: f7ff ff64 bl 8009df8 + 8009f30: b918 cbnz r0, 8009f3a + 8009f32: 9b01 ldr r3, [sp, #4] + 8009f34: 1c59 adds r1, r3, #1 + 8009f36: d102 bne.n 8009f3e + 8009f38: 6014 str r4, [r2, #0] + 8009f3a: b002 add sp, #8 + 8009f3c: bd10 pop {r4, pc} + 8009f3e: b299 uxth r1, r3 + 8009f40: 1a61 subs r1, r4, r1 + 8009f42: 2900 cmp r1, #0 + 8009f44: dd02 ble.n 8009f4c + 8009f46: 440b add r3, r1 + 8009f48: 6013 str r3, [r2, #0] + 8009f4a: e7f6 b.n 8009f3a + 8009f4c: d102 bne.n 8009f54 + 8009f4e: 6013 str r3, [r2, #0] + 8009f50: 2007 movs r0, #7 + 8009f52: e7f2 b.n 8009f3a + 8009f54: 0c1b lsrs r3, r3, #16 + 8009f56: 041b lsls r3, r3, #16 + 8009f58: f503 3380 add.w r3, r3, #65536 ; 0x10000 + 8009f5c: 4423 add r3, r4 + 8009f5e: e7f3 b.n 8009f48 + 8009f60: 2009 movs r0, #9 + 8009f62: e7ea b.n 8009f3a -08009f68 : - 8009f68: b51f push {r0, r1, r2, r3, r4, lr} - 8009f6a: 4604 mov r4, r0 - 8009f6c: b300 cbz r0, 8009fb0 - 8009f6e: 2300 movs r3, #0 - 8009f70: a803 add r0, sp, #12 - 8009f72: 9303 str r3, [sp, #12] - 8009f74: f002 f97c bl 800c270 - 8009f78: 4a10 ldr r2, [pc, #64] ; (8009fbc ) - 8009f7a: f8bd 300c ldrh.w r3, [sp, #12] - 8009f7e: 6812 ldr r2, [r2, #0] - 8009f80: 4620 mov r0, r4 - 8009f82: 8093 strh r3, [r2, #4] - 8009f84: 82e3 strh r3, [r4, #22] - 8009f86: f000 fa56 bl 800a436 - 8009f8a: b998 cbnz r0, 8009fb4 - 8009f8c: f104 0318 add.w r3, r4, #24 - 8009f90: 9300 str r3, [sp, #0] - 8009f92: 6821 ldr r1, [r4, #0] - 8009f94: 2301 movs r3, #1 - 8009f96: 2213 movs r2, #19 - 8009f98: f002 f88a bl 800c0b0 - 8009f9c: b960 cbnz r0, 8009fb8 - 8009f9e: 4620 mov r0, r4 - 8009fa0: f000 fa49 bl 800a436 - 8009fa4: 3800 subs r0, #0 - 8009fa6: bf18 it ne - 8009fa8: 2001 movne r0, #1 - 8009faa: 0100 lsls r0, r0, #4 - 8009fac: b004 add sp, #16 - 8009fae: bd10 pop {r4, pc} - 8009fb0: 2009 movs r0, #9 - 8009fb2: e7fb b.n 8009fac - 8009fb4: 2010 movs r0, #16 - 8009fb6: e7f9 b.n 8009fac - 8009fb8: 200e movs r0, #14 - 8009fba: e7f7 b.n 8009fac - 8009fbc: 200019b8 .word 0x200019b8 +08009f64 : + 8009f64: b128 cbz r0, 8009f72 + 8009f66: 4b04 ldr r3, [pc, #16] ; (8009f78 ) + 8009f68: 681b ldr r3, [r3, #0] + 8009f6a: 331c adds r3, #28 + 8009f6c: 6243 str r3, [r0, #36] ; 0x24 + 8009f6e: 2000 movs r0, #0 + 8009f70: 4770 bx lr + 8009f72: 2009 movs r0, #9 + 8009f74: 4770 bx lr + 8009f76: bf00 nop + 8009f78: 200019b8 .word 0x200019b8 -08009fc0 : - 8009fc0: b5f0 push {r4, r5, r6, r7, lr} - 8009fc2: 4605 mov r5, r0 - 8009fc4: b087 sub sp, #28 - 8009fc6: 461c mov r4, r3 - 8009fc8: b33b cbz r3, 800a01a - 8009fca: 4e2f ldr r6, [pc, #188] ; (800a088 ) - 8009fcc: 6833 ldr r3, [r6, #0] - 8009fce: 68db ldr r3, [r3, #12] - 8009fd0: 4283 cmp r3, r0 - 8009fd2: d857 bhi.n 800a084 - 8009fd4: f894 2020 ldrb.w r2, [r4, #32] - 8009fd8: 2a00 cmp r2, #0 - 8009fda: bf14 ite ne - 8009fdc: 2209 movne r2, #9 - 8009fde: 2208 moveq r2, #8 - 8009fe0: 4283 cmp r3, r0 - 8009fe2: d305 bcc.n 8009ff0 - 8009fe4: 4620 mov r0, r4 - 8009fe6: f000 fa5a bl 800a49e - 8009fea: b170 cbz r0, 800a00a - 8009fec: 2010 movs r0, #16 - 8009fee: e00a b.n 800a006 - 8009ff0: 2300 movs r3, #0 - 8009ff2: 9001 str r0, [sp, #4] - 8009ff4: 9300 str r3, [sp, #0] - 8009ff6: 68a3 ldr r3, [r4, #8] - 8009ff8: f894 1028 ldrb.w r1, [r4, #40] ; 0x28 - 8009ffc: 6a60 ldr r0, [r4, #36] ; 0x24 - 8009ffe: f7ff fe96 bl 8009d2e - 800a002: 2800 cmp r0, #0 - 800a004: d0ee beq.n 8009fe4 - 800a006: b007 add sp, #28 - 800a008: bdf0 pop {r4, r5, r6, r7, pc} - 800a00a: 7923 ldrb r3, [r4, #4] - 800a00c: 6821 ldr r1, [r4, #0] - 800a00e: f8b4 c008 ldrh.w ip, [r4, #8] - 800a012: 68a7 ldr r7, [r4, #8] - 800a014: 3b04 subs r3, #4 - 800a016: b29a uxth r2, r3 - 800a018: b909 cbnz r1, 800a01e - 800a01a: 2009 movs r0, #9 - 800a01c: e7f3 b.n 800a006 - 800a01e: f5b2 7f80 cmp.w r2, #256 ; 0x100 - 800a022: d82d bhi.n 800a080 - 800a024: f8ad c00e strh.w ip, [sp, #14] - 800a028: f88d 3017 strb.w r3, [sp, #23] - 800a02c: ea4f 4c17 mov.w ip, r7, lsr #16 - 800a030: f104 032c add.w r3, r4, #44 ; 0x2c - 800a034: 0e3f lsrs r7, r7, #24 - 800a036: f88d 7011 strb.w r7, [sp, #17] - 800a03a: 9300 str r3, [sp, #0] - 800a03c: 0c2f lsrs r7, r5, #16 - 800a03e: 2308 movs r3, #8 - 800a040: f04f 0e49 mov.w lr, #73 ; 0x49 - 800a044: f8ad 000c strh.w r0, [sp, #12] - 800a048: f88d 7014 strb.w r7, [sp, #20] - 800a04c: f88d 0016 strb.w r0, [sp, #22] - 800a050: 0e2f lsrs r7, r5, #24 - 800a052: eb0d 0003 add.w r0, sp, r3 - 800a056: f8cd e008 str.w lr, [sp, #8] - 800a05a: f88d c010 strb.w ip, [sp, #16] - 800a05e: f8ad 5012 strh.w r5, [sp, #18] - 800a062: f88d 7015 strb.w r7, [sp, #21] - 800a066: f002 f823 bl 800c0b0 - 800a06a: b108 cbz r0, 800a070 - 800a06c: 200e movs r0, #14 - 800a06e: e7ca b.n 800a006 - 800a070: 4620 mov r0, r4 - 800a072: f000 fa14 bl 800a49e - 800a076: 2800 cmp r0, #0 - 800a078: d1b8 bne.n 8009fec - 800a07a: 6833 ldr r3, [r6, #0] - 800a07c: 60dd str r5, [r3, #12] - 800a07e: e7c2 b.n 800a006 - 800a080: 200d movs r0, #13 - 800a082: e7c0 b.n 800a006 - 800a084: 2006 movs r0, #6 - 800a086: e7be b.n 800a006 - 800a088: 200019b8 .word 0x200019b8 +08009f7c : + 8009f7c: b51f push {r0, r1, r2, r3, r4, lr} + 8009f7e: 4604 mov r4, r0 + 8009f80: b300 cbz r0, 8009fc4 + 8009f82: 2300 movs r3, #0 + 8009f84: a803 add r0, sp, #12 + 8009f86: 9303 str r3, [sp, #12] + 8009f88: f002 f97c bl 800c284 + 8009f8c: 4a10 ldr r2, [pc, #64] ; (8009fd0 ) + 8009f8e: f8bd 300c ldrh.w r3, [sp, #12] + 8009f92: 6812 ldr r2, [r2, #0] + 8009f94: 4620 mov r0, r4 + 8009f96: 8093 strh r3, [r2, #4] + 8009f98: 82e3 strh r3, [r4, #22] + 8009f9a: f000 fa56 bl 800a44a + 8009f9e: b998 cbnz r0, 8009fc8 + 8009fa0: f104 0318 add.w r3, r4, #24 + 8009fa4: 9300 str r3, [sp, #0] + 8009fa6: 6821 ldr r1, [r4, #0] + 8009fa8: 2301 movs r3, #1 + 8009faa: 2213 movs r2, #19 + 8009fac: f002 f88a bl 800c0c4 + 8009fb0: b960 cbnz r0, 8009fcc + 8009fb2: 4620 mov r0, r4 + 8009fb4: f000 fa49 bl 800a44a + 8009fb8: 3800 subs r0, #0 + 8009fba: bf18 it ne + 8009fbc: 2001 movne r0, #1 + 8009fbe: 0100 lsls r0, r0, #4 + 8009fc0: b004 add sp, #16 + 8009fc2: bd10 pop {r4, pc} + 8009fc4: 2009 movs r0, #9 + 8009fc6: e7fb b.n 8009fc0 + 8009fc8: 2010 movs r0, #16 + 8009fca: e7f9 b.n 8009fc0 + 8009fcc: 200e movs r0, #14 + 8009fce: e7f7 b.n 8009fc0 + 8009fd0: 200019b8 .word 0x200019b8 -0800a08c : - 800a08c: e92d 41ff stmdb sp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, lr} - 800a090: 9d0a ldr r5, [sp, #40] ; 0x28 - 800a092: 4680 mov r8, r0 - 800a094: 460f mov r7, r1 - 800a096: 4616 mov r6, r2 - 800a098: 461c mov r4, r3 - 800a09a: 2d00 cmp r5, #0 - 800a09c: d05a beq.n 800a154 - 800a09e: 2300 movs r3, #0 - 800a0a0: a903 add r1, sp, #12 - 800a0a2: 4610 mov r0, r2 - 800a0a4: 9303 str r3, [sp, #12] - 800a0a6: f7ff fe9d bl 8009de4 - 800a0aa: b118 cbz r0, 800a0b4 - 800a0ac: 2006 movs r0, #6 - 800a0ae: b004 add sp, #16 - 800a0b0: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800a0b4: 9b03 ldr r3, [sp, #12] - 800a0b6: 429c cmp r4, r3 - 800a0b8: d801 bhi.n 800a0be - 800a0ba: 3301 adds r3, #1 - 800a0bc: d1f6 bne.n 800a0ac - 800a0be: 4628 mov r0, r5 - 800a0c0: f000 f95e bl 800a380 - 800a0c4: 2800 cmp r0, #0 - 800a0c6: d147 bne.n 800a158 - 800a0c8: 4b26 ldr r3, [pc, #152] ; (800a164 ) - 800a0ca: 781a ldrb r2, [r3, #0] - 800a0cc: 4542 cmp r2, r8 - 800a0ce: d003 beq.n 800a0d8 - 800a0d0: 791a ldrb r2, [r3, #4] - 800a0d2: 4542 cmp r2, r8 - 800a0d4: d142 bne.n 800a15c - 800a0d6: 2001 movs r0, #1 - 800a0d8: 68aa ldr r2, [r5, #8] - 800a0da: 42ba cmp r2, r7 - 800a0dc: d140 bne.n 800a160 - 800a0de: eb03 0280 add.w r2, r3, r0, lsl #2 - 800a0e2: 6aeb ldr r3, [r5, #44] ; 0x2c - 800a0e4: f892 8001 ldrb.w r8, [r2, #1] - 800a0e8: 7929 ldrb r1, [r5, #4] - 800a0ea: e9cd 4300 strd r4, r3, [sp] - 800a0ee: 3904 subs r1, #4 - 800a0f0: 7892 ldrb r2, [r2, #2] - 800a0f2: 6828 ldr r0, [r5, #0] - 800a0f4: 463b mov r3, r7 - 800a0f6: b289 uxth r1, r1 - 800a0f8: f7ff fe92 bl 8009e20 - 800a0fc: 2800 cmp r0, #0 - 800a0fe: d1d6 bne.n 800a0ae - 800a100: f895 3020 ldrb.w r3, [r5, #32] - 800a104: 9401 str r4, [sp, #4] - 800a106: 2b00 cmp r3, #0 - 800a108: f04f 0301 mov.w r3, #1 - 800a10c: 9300 str r3, [sp, #0] - 800a10e: bf14 ite ne - 800a110: 4642 movne r2, r8 - 800a112: 2208 moveq r2, #8 - 800a114: f895 1028 ldrb.w r1, [r5, #40] ; 0x28 - 800a118: 6a68 ldr r0, [r5, #36] ; 0x24 - 800a11a: 463b mov r3, r7 - 800a11c: f7ff fe07 bl 8009d2e - 800a120: 2800 cmp r0, #0 - 800a122: d1c4 bne.n 800a0ae - 800a124: 3e01 subs r6, #1 - 800a126: 2e03 cmp r6, #3 - 800a128: d8c1 bhi.n 800a0ae - 800a12a: e8df f006 tbb [pc, r6] - 800a12e: 0702 .short 0x0702 - 800a130: 0f0b .short 0x0f0b - 800a132: 4b0d ldr r3, [pc, #52] ; (800a168 ) - 800a134: 681b ldr r3, [r3, #0] - 800a136: 611c str r4, [r3, #16] - 800a138: 621c str r4, [r3, #32] - 800a13a: e7b8 b.n 800a0ae - 800a13c: 4b0a ldr r3, [pc, #40] ; (800a168 ) - 800a13e: 681b ldr r3, [r3, #0] - 800a140: 615c str r4, [r3, #20] - 800a142: e7f9 b.n 800a138 - 800a144: 4b08 ldr r3, [pc, #32] ; (800a168 ) - 800a146: 681b ldr r3, [r3, #0] - 800a148: 619c str r4, [r3, #24] - 800a14a: e7f5 b.n 800a138 - 800a14c: 4b06 ldr r3, [pc, #24] ; (800a168 ) - 800a14e: 681b ldr r3, [r3, #0] - 800a150: 61dc str r4, [r3, #28] - 800a152: e7ac b.n 800a0ae - 800a154: 2009 movs r0, #9 - 800a156: e7aa b.n 800a0ae - 800a158: 200f movs r0, #15 - 800a15a: e7a8 b.n 800a0ae - 800a15c: 200b movs r0, #11 - 800a15e: e7a6 b.n 800a0ae - 800a160: 2002 movs r0, #2 - 800a162: e7a4 b.n 800a0ae - 800a164: 200000f0 .word 0x200000f0 - 800a168: 200019b8 .word 0x200019b8 +08009fd4 : + 8009fd4: b5f0 push {r4, r5, r6, r7, lr} + 8009fd6: 4605 mov r5, r0 + 8009fd8: b087 sub sp, #28 + 8009fda: 461c mov r4, r3 + 8009fdc: b33b cbz r3, 800a02e + 8009fde: 4e2f ldr r6, [pc, #188] ; (800a09c ) + 8009fe0: 6833 ldr r3, [r6, #0] + 8009fe2: 68db ldr r3, [r3, #12] + 8009fe4: 4283 cmp r3, r0 + 8009fe6: d857 bhi.n 800a098 + 8009fe8: f894 2020 ldrb.w r2, [r4, #32] + 8009fec: 2a00 cmp r2, #0 + 8009fee: bf14 ite ne + 8009ff0: 2209 movne r2, #9 + 8009ff2: 2208 moveq r2, #8 + 8009ff4: 4283 cmp r3, r0 + 8009ff6: d305 bcc.n 800a004 + 8009ff8: 4620 mov r0, r4 + 8009ffa: f000 fa5a bl 800a4b2 + 8009ffe: b170 cbz r0, 800a01e + 800a000: 2010 movs r0, #16 + 800a002: e00a b.n 800a01a + 800a004: 2300 movs r3, #0 + 800a006: 9001 str r0, [sp, #4] + 800a008: 9300 str r3, [sp, #0] + 800a00a: 68a3 ldr r3, [r4, #8] + 800a00c: f894 1028 ldrb.w r1, [r4, #40] ; 0x28 + 800a010: 6a60 ldr r0, [r4, #36] ; 0x24 + 800a012: f7ff fe96 bl 8009d42 + 800a016: 2800 cmp r0, #0 + 800a018: d0ee beq.n 8009ff8 + 800a01a: b007 add sp, #28 + 800a01c: bdf0 pop {r4, r5, r6, r7, pc} + 800a01e: 7923 ldrb r3, [r4, #4] + 800a020: 6821 ldr r1, [r4, #0] + 800a022: f8b4 c008 ldrh.w ip, [r4, #8] + 800a026: 68a7 ldr r7, [r4, #8] + 800a028: 3b04 subs r3, #4 + 800a02a: b29a uxth r2, r3 + 800a02c: b909 cbnz r1, 800a032 + 800a02e: 2009 movs r0, #9 + 800a030: e7f3 b.n 800a01a + 800a032: f5b2 7f80 cmp.w r2, #256 ; 0x100 + 800a036: d82d bhi.n 800a094 + 800a038: f8ad c00e strh.w ip, [sp, #14] + 800a03c: f88d 3017 strb.w r3, [sp, #23] + 800a040: ea4f 4c17 mov.w ip, r7, lsr #16 + 800a044: f104 032c add.w r3, r4, #44 ; 0x2c + 800a048: 0e3f lsrs r7, r7, #24 + 800a04a: f88d 7011 strb.w r7, [sp, #17] + 800a04e: 9300 str r3, [sp, #0] + 800a050: 0c2f lsrs r7, r5, #16 + 800a052: 2308 movs r3, #8 + 800a054: f04f 0e49 mov.w lr, #73 ; 0x49 + 800a058: f8ad 000c strh.w r0, [sp, #12] + 800a05c: f88d 7014 strb.w r7, [sp, #20] + 800a060: f88d 0016 strb.w r0, [sp, #22] + 800a064: 0e2f lsrs r7, r5, #24 + 800a066: eb0d 0003 add.w r0, sp, r3 + 800a06a: f8cd e008 str.w lr, [sp, #8] + 800a06e: f88d c010 strb.w ip, [sp, #16] + 800a072: f8ad 5012 strh.w r5, [sp, #18] + 800a076: f88d 7015 strb.w r7, [sp, #21] + 800a07a: f002 f823 bl 800c0c4 + 800a07e: b108 cbz r0, 800a084 + 800a080: 200e movs r0, #14 + 800a082: e7ca b.n 800a01a + 800a084: 4620 mov r0, r4 + 800a086: f000 fa14 bl 800a4b2 + 800a08a: 2800 cmp r0, #0 + 800a08c: d1b8 bne.n 800a000 + 800a08e: 6833 ldr r3, [r6, #0] + 800a090: 60dd str r5, [r3, #12] + 800a092: e7c2 b.n 800a01a + 800a094: 200d movs r0, #13 + 800a096: e7c0 b.n 800a01a + 800a098: 2006 movs r0, #6 + 800a09a: e7be b.n 800a01a + 800a09c: 200019b8 .word 0x200019b8 -0800a16c : - 800a16c: b51f push {r0, r1, r2, r3, r4, lr} - 800a16e: 460a mov r2, r1 - 800a170: 2a0b cmp r2, #11 - 800a172: f04f 0100 mov.w r1, #0 - 800a176: e9cd 1100 strd r1, r1, [sp] - 800a17a: e9cd 1102 strd r1, r1, [sp, #8] - 800a17e: d007 beq.n 800a190 - 800a180: 2a0c cmp r2, #12 - 800a182: d013 beq.n 800a1ac - 800a184: 2a0a cmp r2, #10 - 800a186: d00f beq.n 800a1a8 - 800a188: 200a movs r0, #10 - 800a18a: b005 add sp, #20 - 800a18c: f85d fb04 ldr.w pc, [sp], #4 - 800a190: 2801 cmp r0, #1 - 800a192: d102 bne.n 800a19a - 800a194: 2320 movs r3, #32 - 800a196: f88d 3000 strb.w r3, [sp] - 800a19a: 4668 mov r0, sp - 800a19c: f002 f811 bl 800c1c2 - 800a1a0: 2800 cmp r0, #0 - 800a1a2: bf18 it ne - 800a1a4: 200e movne r0, #14 - 800a1a6: e7f0 b.n 800a18a - 800a1a8: 2330 movs r3, #48 ; 0x30 - 800a1aa: e7f4 b.n 800a196 - 800a1ac: 210b movs r1, #11 - 800a1ae: e7f4 b.n 800a19a +0800a0a0 : + 800a0a0: e92d 41ff stmdb sp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, lr} + 800a0a4: 9d0a ldr r5, [sp, #40] ; 0x28 + 800a0a6: 4680 mov r8, r0 + 800a0a8: 460f mov r7, r1 + 800a0aa: 4616 mov r6, r2 + 800a0ac: 461c mov r4, r3 + 800a0ae: 2d00 cmp r5, #0 + 800a0b0: d05a beq.n 800a168 + 800a0b2: 2300 movs r3, #0 + 800a0b4: a903 add r1, sp, #12 + 800a0b6: 4610 mov r0, r2 + 800a0b8: 9303 str r3, [sp, #12] + 800a0ba: f7ff fe9d bl 8009df8 + 800a0be: b118 cbz r0, 800a0c8 + 800a0c0: 2006 movs r0, #6 + 800a0c2: b004 add sp, #16 + 800a0c4: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800a0c8: 9b03 ldr r3, [sp, #12] + 800a0ca: 429c cmp r4, r3 + 800a0cc: d801 bhi.n 800a0d2 + 800a0ce: 3301 adds r3, #1 + 800a0d0: d1f6 bne.n 800a0c0 + 800a0d2: 4628 mov r0, r5 + 800a0d4: f000 f95e bl 800a394 + 800a0d8: 2800 cmp r0, #0 + 800a0da: d147 bne.n 800a16c + 800a0dc: 4b26 ldr r3, [pc, #152] ; (800a178 ) + 800a0de: 781a ldrb r2, [r3, #0] + 800a0e0: 4542 cmp r2, r8 + 800a0e2: d003 beq.n 800a0ec + 800a0e4: 791a ldrb r2, [r3, #4] + 800a0e6: 4542 cmp r2, r8 + 800a0e8: d142 bne.n 800a170 + 800a0ea: 2001 movs r0, #1 + 800a0ec: 68aa ldr r2, [r5, #8] + 800a0ee: 42ba cmp r2, r7 + 800a0f0: d140 bne.n 800a174 + 800a0f2: eb03 0280 add.w r2, r3, r0, lsl #2 + 800a0f6: 6aeb ldr r3, [r5, #44] ; 0x2c + 800a0f8: f892 8001 ldrb.w r8, [r2, #1] + 800a0fc: 7929 ldrb r1, [r5, #4] + 800a0fe: e9cd 4300 strd r4, r3, [sp] + 800a102: 3904 subs r1, #4 + 800a104: 7892 ldrb r2, [r2, #2] + 800a106: 6828 ldr r0, [r5, #0] + 800a108: 463b mov r3, r7 + 800a10a: b289 uxth r1, r1 + 800a10c: f7ff fe92 bl 8009e34 + 800a110: 2800 cmp r0, #0 + 800a112: d1d6 bne.n 800a0c2 + 800a114: f895 3020 ldrb.w r3, [r5, #32] + 800a118: 9401 str r4, [sp, #4] + 800a11a: 2b00 cmp r3, #0 + 800a11c: f04f 0301 mov.w r3, #1 + 800a120: 9300 str r3, [sp, #0] + 800a122: bf14 ite ne + 800a124: 4642 movne r2, r8 + 800a126: 2208 moveq r2, #8 + 800a128: f895 1028 ldrb.w r1, [r5, #40] ; 0x28 + 800a12c: 6a68 ldr r0, [r5, #36] ; 0x24 + 800a12e: 463b mov r3, r7 + 800a130: f7ff fe07 bl 8009d42 + 800a134: 2800 cmp r0, #0 + 800a136: d1c4 bne.n 800a0c2 + 800a138: 3e01 subs r6, #1 + 800a13a: 2e03 cmp r6, #3 + 800a13c: d8c1 bhi.n 800a0c2 + 800a13e: e8df f006 tbb [pc, r6] + 800a142: 0702 .short 0x0702 + 800a144: 0f0b .short 0x0f0b + 800a146: 4b0d ldr r3, [pc, #52] ; (800a17c ) + 800a148: 681b ldr r3, [r3, #0] + 800a14a: 611c str r4, [r3, #16] + 800a14c: 621c str r4, [r3, #32] + 800a14e: e7b8 b.n 800a0c2 + 800a150: 4b0a ldr r3, [pc, #40] ; (800a17c ) + 800a152: 681b ldr r3, [r3, #0] + 800a154: 615c str r4, [r3, #20] + 800a156: e7f9 b.n 800a14c + 800a158: 4b08 ldr r3, [pc, #32] ; (800a17c ) + 800a15a: 681b ldr r3, [r3, #0] + 800a15c: 619c str r4, [r3, #24] + 800a15e: e7f5 b.n 800a14c + 800a160: 4b06 ldr r3, [pc, #24] ; (800a17c ) + 800a162: 681b ldr r3, [r3, #0] + 800a164: 61dc str r4, [r3, #28] + 800a166: e7ac b.n 800a0c2 + 800a168: 2009 movs r0, #9 + 800a16a: e7aa b.n 800a0c2 + 800a16c: 200f movs r0, #15 + 800a16e: e7a8 b.n 800a0c2 + 800a170: 200b movs r0, #11 + 800a172: e7a6 b.n 800a0c2 + 800a174: 2002 movs r0, #2 + 800a176: e7a4 b.n 800a0c2 + 800a178: 200000f0 .word 0x200000f0 + 800a17c: 200019b8 .word 0x200019b8 -0800a1b0 : - 800a1b0: b538 push {r3, r4, r5, lr} - 800a1b2: 4605 mov r5, r0 - 800a1b4: f002 f800 bl 800c1b8 - 800a1b8: 4604 mov r4, r0 - 800a1ba: b978 cbnz r0, 800a1dc - 800a1bc: b97d cbnz r5, 800a1de - 800a1be: 4b09 ldr r3, [pc, #36] ; (800a1e4 ) - 800a1c0: 681b ldr r3, [r3, #0] - 800a1c2: 210b movs r1, #11 - 800a1c4: 7898 ldrb r0, [r3, #2] - 800a1c6: f7ff ffd1 bl 800a16c - 800a1ca: b938 cbnz r0, 800a1dc - 800a1cc: 210c movs r1, #12 - 800a1ce: f7ff ffcd bl 800a16c - 800a1d2: b918 cbnz r0, 800a1dc - 800a1d4: 210a movs r1, #10 - 800a1d6: f7ff ffc9 bl 800a16c - 800a1da: b100 cbz r0, 800a1de - 800a1dc: 240e movs r4, #14 - 800a1de: 4620 mov r0, r4 - 800a1e0: bd38 pop {r3, r4, r5, pc} - 800a1e2: bf00 nop - 800a1e4: 200019b8 .word 0x200019b8 +0800a180 : + 800a180: b51f push {r0, r1, r2, r3, r4, lr} + 800a182: 460a mov r2, r1 + 800a184: 2a0b cmp r2, #11 + 800a186: f04f 0100 mov.w r1, #0 + 800a18a: e9cd 1100 strd r1, r1, [sp] + 800a18e: e9cd 1102 strd r1, r1, [sp, #8] + 800a192: d007 beq.n 800a1a4 + 800a194: 2a0c cmp r2, #12 + 800a196: d013 beq.n 800a1c0 + 800a198: 2a0a cmp r2, #10 + 800a19a: d00f beq.n 800a1bc + 800a19c: 200a movs r0, #10 + 800a19e: b005 add sp, #20 + 800a1a0: f85d fb04 ldr.w pc, [sp], #4 + 800a1a4: 2801 cmp r0, #1 + 800a1a6: d102 bne.n 800a1ae + 800a1a8: 2320 movs r3, #32 + 800a1aa: f88d 3000 strb.w r3, [sp] + 800a1ae: 4668 mov r0, sp + 800a1b0: f002 f811 bl 800c1d6 + 800a1b4: 2800 cmp r0, #0 + 800a1b6: bf18 it ne + 800a1b8: 200e movne r0, #14 + 800a1ba: e7f0 b.n 800a19e + 800a1bc: 2330 movs r3, #48 ; 0x30 + 800a1be: e7f4 b.n 800a1aa + 800a1c0: 210b movs r1, #11 + 800a1c2: e7f4 b.n 800a1ae -0800a1e8 : - 800a1e8: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} - 800a1ec: 4680 mov r8, r0 - 800a1ee: b08f sub sp, #60 ; 0x3c - 800a1f0: 460c mov r4, r1 - 800a1f2: 4617 mov r7, r2 - 800a1f4: 2a00 cmp r2, #0 - 800a1f6: d06b beq.n 800a2d0 - 800a1f8: 2900 cmp r1, #0 - 800a1fa: d069 beq.n 800a2d0 - 800a1fc: 2500 movs r5, #0 - 800a1fe: 4629 mov r1, r5 - 800a200: 221d movs r2, #29 - 800a202: a806 add r0, sp, #24 - 800a204: 9505 str r5, [sp, #20] - 800a206: f004 fe91 bl 800ef2c - 800a20a: f88d 5013 strb.w r5, [sp, #19] - 800a20e: 4d34 ldr r5, [pc, #208] ; (800a2e0 ) - 800a210: 682b ldr r3, [r5, #0] - 800a212: f10d 0914 add.w r9, sp, #20 - 800a216: 889e ldrh r6, [r3, #4] - 800a218: f8cd 9004 str.w r9, [sp, #4] - 800a21c: f10d 0313 add.w r3, sp, #19 - 800a220: 9302 str r3, [sp, #8] - 800a222: 793b ldrb r3, [r7, #4] - 800a224: 9300 str r3, [sp, #0] - 800a226: 683b ldr r3, [r7, #0] - 800a228: 4632 mov r2, r6 - 800a22a: 4621 mov r1, r4 - 800a22c: 4640 mov r0, r8 - 800a22e: f001 ffe4 bl 800c1fa - 800a232: 2800 cmp r0, #0 - 800a234: d14e bne.n 800a2d4 - 800a236: 6838 ldr r0, [r7, #0] - 800a238: 793a ldrb r2, [r7, #4] - 800a23a: 4649 mov r1, r9 - 800a23c: f002 f950 bl 800c4e0 - 800a240: 4638 mov r0, r7 - 800a242: f000 f84f bl 800a2e4 +0800a1c4 : + 800a1c4: b538 push {r3, r4, r5, lr} + 800a1c6: 4605 mov r5, r0 + 800a1c8: f002 f800 bl 800c1cc + 800a1cc: 4604 mov r4, r0 + 800a1ce: b978 cbnz r0, 800a1f0 + 800a1d0: b97d cbnz r5, 800a1f2 + 800a1d2: 4b09 ldr r3, [pc, #36] ; (800a1f8 ) + 800a1d4: 681b ldr r3, [r3, #0] + 800a1d6: 210b movs r1, #11 + 800a1d8: 7898 ldrb r0, [r3, #2] + 800a1da: f7ff ffd1 bl 800a180 + 800a1de: b938 cbnz r0, 800a1f0 + 800a1e0: 210c movs r1, #12 + 800a1e2: f7ff ffcd bl 800a180 + 800a1e6: b918 cbnz r0, 800a1f0 + 800a1e8: 210a movs r1, #10 + 800a1ea: f7ff ffc9 bl 800a180 + 800a1ee: b100 cbz r0, 800a1f2 + 800a1f0: 240e movs r4, #14 + 800a1f2: 4620 mov r0, r4 + 800a1f4: bd38 pop {r3, r4, r5, pc} + 800a1f6: bf00 nop + 800a1f8: 200019b8 .word 0x200019b8 + +0800a1fc : + 800a1fc: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} + 800a200: 4680 mov r8, r0 + 800a202: b08f sub sp, #60 ; 0x3c + 800a204: 460c mov r4, r1 + 800a206: 4617 mov r7, r2 + 800a208: 2a00 cmp r2, #0 + 800a20a: d06b beq.n 800a2e4 + 800a20c: 2900 cmp r1, #0 + 800a20e: d069 beq.n 800a2e4 + 800a210: 2500 movs r5, #0 + 800a212: 4629 mov r1, r5 + 800a214: 221d movs r2, #29 + 800a216: a806 add r0, sp, #24 + 800a218: 9505 str r5, [sp, #20] + 800a21a: f004 fe91 bl 800ef40 + 800a21e: f88d 5013 strb.w r5, [sp, #19] + 800a222: 4d34 ldr r5, [pc, #208] ; (800a2f4 ) + 800a224: 682b ldr r3, [r5, #0] + 800a226: f10d 0914 add.w r9, sp, #20 + 800a22a: 889e ldrh r6, [r3, #4] + 800a22c: f8cd 9004 str.w r9, [sp, #4] + 800a230: f10d 0313 add.w r3, sp, #19 + 800a234: 9302 str r3, [sp, #8] + 800a236: 793b ldrb r3, [r7, #4] + 800a238: 9300 str r3, [sp, #0] + 800a23a: 683b ldr r3, [r7, #0] + 800a23c: 4632 mov r2, r6 + 800a23e: 4621 mov r1, r4 + 800a240: 4640 mov r0, r8 + 800a242: f001 ffe4 bl 800c20e 800a246: 2800 cmp r0, #0 - 800a248: d146 bne.n 800a2d8 - 800a24a: 7a3c ldrb r4, [r7, #8] - 800a24c: 79fa ldrb r2, [r7, #7] - 800a24e: 79bb ldrb r3, [r7, #6] - 800a250: 0424 lsls r4, r4, #16 - 800a252: ea44 2402 orr.w r4, r4, r2, lsl #8 - 800a256: 431c orrs r4, r3 - 800a258: 682b ldr r3, [r5, #0] - 800a25a: 689a ldr r2, [r3, #8] - 800a25c: 4294 cmp r4, r2 - 800a25e: d93d bls.n 800a2dc - 800a260: 609c str r4, [r3, #8] - 800a262: f89d 0013 ldrb.w r0, [sp, #19] - 800a266: 210b movs r1, #11 - 800a268: f7ff ff80 bl 800a16c - 800a26c: 4603 mov r3, r0 - 800a26e: bb58 cbnz r0, 800a2c8 - 800a270: 210c movs r1, #12 - 800a272: f7ff ff7b bl 800a16c - 800a276: 4603 mov r3, r0 - 800a278: bb30 cbnz r0, 800a2c8 - 800a27a: 210a movs r1, #10 - 800a27c: f7ff ff76 bl 800a16c + 800a248: d14e bne.n 800a2e8 + 800a24a: 6838 ldr r0, [r7, #0] + 800a24c: 793a ldrb r2, [r7, #4] + 800a24e: 4649 mov r1, r9 + 800a250: f002 f950 bl 800c4f4 + 800a254: 4638 mov r0, r7 + 800a256: f000 f84f bl 800a2f8 + 800a25a: 2800 cmp r0, #0 + 800a25c: d146 bne.n 800a2ec + 800a25e: 7a3c ldrb r4, [r7, #8] + 800a260: 79fa ldrb r2, [r7, #7] + 800a262: 79bb ldrb r3, [r7, #6] + 800a264: 0424 lsls r4, r4, #16 + 800a266: ea44 2402 orr.w r4, r4, r2, lsl #8 + 800a26a: 431c orrs r4, r3 + 800a26c: 682b ldr r3, [r5, #0] + 800a26e: 689a ldr r2, [r3, #8] + 800a270: 4294 cmp r4, r2 + 800a272: d93d bls.n 800a2f0 + 800a274: 609c str r4, [r3, #8] + 800a276: f89d 0013 ldrb.w r0, [sp, #19] + 800a27a: 210b movs r1, #11 + 800a27c: f7ff ff80 bl 800a180 800a280: 4603 mov r3, r0 - 800a282: bb08 cbnz r0, 800a2c8 - 800a284: 7a7b ldrb r3, [r7, #9] - 800a286: 7aba ldrb r2, [r7, #10] - 800a288: 7aff ldrb r7, [r7, #11] - 800a28a: 043f lsls r7, r7, #16 - 800a28c: ea47 2702 orr.w r7, r7, r2, lsl #8 - 800a290: 431f orrs r7, r3 - 800a292: 463a mov r2, r7 - 800a294: 4633 mov r3, r6 - 800a296: 4621 mov r1, r4 - 800a298: 2009 movs r0, #9 - 800a29a: f7ff fd25 bl 8009ce8 - 800a29e: 4603 mov r3, r0 - 800a2a0: b990 cbnz r0, 800a2c8 - 800a2a2: 4633 mov r3, r6 - 800a2a4: 463a mov r2, r7 - 800a2a6: 4621 mov r1, r4 - 800a2a8: 2008 movs r0, #8 - 800a2aa: f7ff fd1d bl 8009ce8 - 800a2ae: 4603 mov r3, r0 - 800a2b0: b950 cbnz r0, 800a2c8 - 800a2b2: 682a ldr r2, [r5, #0] - 800a2b4: f89d 1013 ldrb.w r1, [sp, #19] - 800a2b8: 7091 strb r1, [r2, #2] - 800a2ba: 2100 movs r1, #0 - 800a2bc: 60d1 str r1, [r2, #12] - 800a2be: f04f 31ff mov.w r1, #4294967295 - 800a2c2: e9c2 1104 strd r1, r1, [r2, #16] - 800a2c6: 6191 str r1, [r2, #24] - 800a2c8: 4618 mov r0, r3 - 800a2ca: b00f add sp, #60 ; 0x3c - 800a2cc: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} - 800a2d0: 2309 movs r3, #9 - 800a2d2: e7f9 b.n 800a2c8 - 800a2d4: 230e movs r3, #14 - 800a2d6: e7f7 b.n 800a2c8 - 800a2d8: 230f movs r3, #15 - 800a2da: e7f5 b.n 800a2c8 - 800a2dc: 2303 movs r3, #3 - 800a2de: e7f3 b.n 800a2c8 - 800a2e0: 200019b8 .word 0x200019b8 + 800a282: bb58 cbnz r0, 800a2dc + 800a284: 210c movs r1, #12 + 800a286: f7ff ff7b bl 800a180 + 800a28a: 4603 mov r3, r0 + 800a28c: bb30 cbnz r0, 800a2dc + 800a28e: 210a movs r1, #10 + 800a290: f7ff ff76 bl 800a180 + 800a294: 4603 mov r3, r0 + 800a296: bb08 cbnz r0, 800a2dc + 800a298: 7a7b ldrb r3, [r7, #9] + 800a29a: 7aba ldrb r2, [r7, #10] + 800a29c: 7aff ldrb r7, [r7, #11] + 800a29e: 043f lsls r7, r7, #16 + 800a2a0: ea47 2702 orr.w r7, r7, r2, lsl #8 + 800a2a4: 431f orrs r7, r3 + 800a2a6: 463a mov r2, r7 + 800a2a8: 4633 mov r3, r6 + 800a2aa: 4621 mov r1, r4 + 800a2ac: 2009 movs r0, #9 + 800a2ae: f7ff fd25 bl 8009cfc + 800a2b2: 4603 mov r3, r0 + 800a2b4: b990 cbnz r0, 800a2dc + 800a2b6: 4633 mov r3, r6 + 800a2b8: 463a mov r2, r7 + 800a2ba: 4621 mov r1, r4 + 800a2bc: 2008 movs r0, #8 + 800a2be: f7ff fd1d bl 8009cfc + 800a2c2: 4603 mov r3, r0 + 800a2c4: b950 cbnz r0, 800a2dc + 800a2c6: 682a ldr r2, [r5, #0] + 800a2c8: f89d 1013 ldrb.w r1, [sp, #19] + 800a2cc: 7091 strb r1, [r2, #2] + 800a2ce: 2100 movs r1, #0 + 800a2d0: 60d1 str r1, [r2, #12] + 800a2d2: f04f 31ff mov.w r1, #4294967295 + 800a2d6: e9c2 1104 strd r1, r1, [r2, #16] + 800a2da: 6191 str r1, [r2, #24] + 800a2dc: 4618 mov r0, r3 + 800a2de: b00f add sp, #60 ; 0x3c + 800a2e0: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 800a2e4: 2309 movs r3, #9 + 800a2e6: e7f9 b.n 800a2dc + 800a2e8: 230e movs r3, #14 + 800a2ea: e7f7 b.n 800a2dc + 800a2ec: 230f movs r3, #15 + 800a2ee: e7f5 b.n 800a2dc + 800a2f0: 2303 movs r3, #3 + 800a2f2: e7f3 b.n 800a2dc + 800a2f4: 200019b8 .word 0x200019b8 -0800a2e4 : - 800a2e4: b510 push {r4, lr} - 800a2e6: 4604 mov r4, r0 - 800a2e8: 2800 cmp r0, #0 - 800a2ea: d045 beq.n 800a378 - 800a2ec: 6801 ldr r1, [r0, #0] - 800a2ee: 2900 cmp r1, #0 - 800a2f0: d042 beq.n 800a378 - 800a2f2: f811 3b01 ldrb.w r3, [r1], #1 - 800a2f6: 7143 strb r3, [r0, #5] - 800a2f8: 2203 movs r2, #3 - 800a2fa: 3006 adds r0, #6 - 800a2fc: f002 f8f0 bl 800c4e0 - 800a300: 4620 mov r0, r4 - 800a302: 2203 movs r2, #3 - 800a304: f850 1b09 ldr.w r1, [r0], #9 - 800a308: 3104 adds r1, #4 - 800a30a: f002 f8e9 bl 800c4e0 - 800a30e: 6821 ldr r1, [r4, #0] - 800a310: 79cb ldrb r3, [r1, #7] - 800a312: 60e3 str r3, [r4, #12] - 800a314: 7a0a ldrb r2, [r1, #8] - 800a316: ea43 2302 orr.w r3, r3, r2, lsl #8 - 800a31a: 60e3 str r3, [r4, #12] - 800a31c: 7a4a ldrb r2, [r1, #9] - 800a31e: ea43 4302 orr.w r3, r3, r2, lsl #16 - 800a322: 60e3 str r3, [r4, #12] - 800a324: 7a8a ldrb r2, [r1, #10] - 800a326: ea43 6302 orr.w r3, r3, r2, lsl #24 - 800a32a: 60e3 str r3, [r4, #12] - 800a32c: 7acb ldrb r3, [r1, #11] - 800a32e: 7423 strb r3, [r4, #16] - 800a330: 7b0b ldrb r3, [r1, #12] - 800a332: 7463 strb r3, [r4, #17] - 800a334: 7923 ldrb r3, [r4, #4] - 800a336: 2b21 cmp r3, #33 ; 0x21 - 800a338: d11a bne.n 800a370 - 800a33a: 2210 movs r2, #16 - 800a33c: 310d adds r1, #13 - 800a33e: f104 0012 add.w r0, r4, #18 - 800a342: f002 f8cd bl 800c4e0 - 800a346: 221d movs r2, #29 - 800a348: 6821 ldr r1, [r4, #0] - 800a34a: 1c50 adds r0, r2, #1 - 800a34c: 5c8b ldrb r3, [r1, r2] - 800a34e: 6263 str r3, [r4, #36] ; 0x24 - 800a350: 5c08 ldrb r0, [r1, r0] - 800a352: ea43 2300 orr.w r3, r3, r0, lsl #8 - 800a356: 1c90 adds r0, r2, #2 - 800a358: 6263 str r3, [r4, #36] ; 0x24 - 800a35a: 5c08 ldrb r0, [r1, r0] - 800a35c: 3203 adds r2, #3 - 800a35e: ea43 4300 orr.w r3, r3, r0, lsl #16 +0800a2f8 : + 800a2f8: b510 push {r4, lr} + 800a2fa: 4604 mov r4, r0 + 800a2fc: 2800 cmp r0, #0 + 800a2fe: d045 beq.n 800a38c + 800a300: 6801 ldr r1, [r0, #0] + 800a302: 2900 cmp r1, #0 + 800a304: d042 beq.n 800a38c + 800a306: f811 3b01 ldrb.w r3, [r1], #1 + 800a30a: 7143 strb r3, [r0, #5] + 800a30c: 2203 movs r2, #3 + 800a30e: 3006 adds r0, #6 + 800a310: f002 f8f0 bl 800c4f4 + 800a314: 4620 mov r0, r4 + 800a316: 2203 movs r2, #3 + 800a318: f850 1b09 ldr.w r1, [r0], #9 + 800a31c: 3104 adds r1, #4 + 800a31e: f002 f8e9 bl 800c4f4 + 800a322: 6821 ldr r1, [r4, #0] + 800a324: 79cb ldrb r3, [r1, #7] + 800a326: 60e3 str r3, [r4, #12] + 800a328: 7a0a ldrb r2, [r1, #8] + 800a32a: ea43 2302 orr.w r3, r3, r2, lsl #8 + 800a32e: 60e3 str r3, [r4, #12] + 800a330: 7a4a ldrb r2, [r1, #9] + 800a332: ea43 4302 orr.w r3, r3, r2, lsl #16 + 800a336: 60e3 str r3, [r4, #12] + 800a338: 7a8a ldrb r2, [r1, #10] + 800a33a: ea43 6302 orr.w r3, r3, r2, lsl #24 + 800a33e: 60e3 str r3, [r4, #12] + 800a340: 7acb ldrb r3, [r1, #11] + 800a342: 7423 strb r3, [r4, #16] + 800a344: 7b0b ldrb r3, [r1, #12] + 800a346: 7463 strb r3, [r4, #17] + 800a348: 7923 ldrb r3, [r4, #4] + 800a34a: 2b21 cmp r3, #33 ; 0x21 + 800a34c: d11a bne.n 800a384 + 800a34e: 2210 movs r2, #16 + 800a350: 310d adds r1, #13 + 800a352: f104 0012 add.w r0, r4, #18 + 800a356: f002 f8cd bl 800c4f4 + 800a35a: 221d movs r2, #29 + 800a35c: 6821 ldr r1, [r4, #0] + 800a35e: 1c50 adds r0, r2, #1 + 800a360: 5c8b ldrb r3, [r1, r2] 800a362: 6263 str r3, [r4, #36] ; 0x24 - 800a364: 5c8a ldrb r2, [r1, r2] - 800a366: ea43 6302 orr.w r3, r3, r2, lsl #24 - 800a36a: 6263 str r3, [r4, #36] ; 0x24 - 800a36c: 2000 movs r0, #0 - 800a36e: bd10 pop {r4, pc} - 800a370: 2b11 cmp r3, #17 - 800a372: dc03 bgt.n 800a37c - 800a374: 220d movs r2, #13 - 800a376: e7e7 b.n 800a348 - 800a378: 2002 movs r0, #2 - 800a37a: e7f8 b.n 800a36e - 800a37c: 2001 movs r0, #1 - 800a37e: e7f6 b.n 800a36e + 800a364: 5c08 ldrb r0, [r1, r0] + 800a366: ea43 2300 orr.w r3, r3, r0, lsl #8 + 800a36a: 1c90 adds r0, r2, #2 + 800a36c: 6263 str r3, [r4, #36] ; 0x24 + 800a36e: 5c08 ldrb r0, [r1, r0] + 800a370: 3203 adds r2, #3 + 800a372: ea43 4300 orr.w r3, r3, r0, lsl #16 + 800a376: 6263 str r3, [r4, #36] ; 0x24 + 800a378: 5c8a ldrb r2, [r1, r2] + 800a37a: ea43 6302 orr.w r3, r3, r2, lsl #24 + 800a37e: 6263 str r3, [r4, #36] ; 0x24 + 800a380: 2000 movs r0, #0 + 800a382: bd10 pop {r4, pc} + 800a384: 2b11 cmp r3, #17 + 800a386: dc03 bgt.n 800a390 + 800a388: 220d movs r2, #13 + 800a38a: e7e7 b.n 800a35c + 800a38c: 2002 movs r0, #2 + 800a38e: e7f8 b.n 800a382 + 800a390: 2001 movs r0, #1 + 800a392: e7f6 b.n 800a382 -0800a380 : - 800a380: b510 push {r4, lr} - 800a382: 4604 mov r4, r0 - 800a384: 2800 cmp r0, #0 - 800a386: d054 beq.n 800a432 - 800a388: 6801 ldr r1, [r0, #0] - 800a38a: 2900 cmp r1, #0 - 800a38c: d051 beq.n 800a432 - 800a38e: 780b ldrb r3, [r1, #0] - 800a390: 7143 strb r3, [r0, #5] - 800a392: 784b ldrb r3, [r1, #1] - 800a394: 6083 str r3, [r0, #8] - 800a396: 788a ldrb r2, [r1, #2] - 800a398: ea43 2302 orr.w r3, r3, r2, lsl #8 - 800a39c: 6083 str r3, [r0, #8] - 800a39e: 78ca ldrb r2, [r1, #3] - 800a3a0: ea43 4302 orr.w r3, r3, r2, lsl #16 - 800a3a4: 6083 str r3, [r0, #8] - 800a3a6: 790a ldrb r2, [r1, #4] - 800a3a8: ea43 6302 orr.w r3, r3, r2, lsl #24 - 800a3ac: 6083 str r3, [r0, #8] - 800a3ae: 794b ldrb r3, [r1, #5] - 800a3b0: 7303 strb r3, [r0, #12] - 800a3b2: 798b ldrb r3, [r1, #6] - 800a3b4: 81c3 strh r3, [r0, #14] - 800a3b6: 79ca ldrb r2, [r1, #7] - 800a3b8: ea43 2302 orr.w r3, r3, r2, lsl #8 - 800a3bc: 7b02 ldrb r2, [r0, #12] - 800a3be: 81c3 strh r3, [r0, #14] - 800a3c0: f002 020f and.w r2, r2, #15 - 800a3c4: 3108 adds r1, #8 - 800a3c6: 3010 adds r0, #16 - 800a3c8: f002 f88a bl 800c4e0 - 800a3cc: 7b23 ldrb r3, [r4, #12] - 800a3ce: 2200 movs r2, #0 - 800a3d0: f003 030f and.w r3, r3, #15 - 800a3d4: f884 2020 strb.w r2, [r4, #32] - 800a3d8: f884 2028 strb.w r2, [r4, #40] ; 0x28 - 800a3dc: 7922 ldrb r2, [r4, #4] - 800a3de: f103 0008 add.w r0, r3, #8 - 800a3e2: 1a11 subs r1, r2, r0 - 800a3e4: 2904 cmp r1, #4 - 800a3e6: dd0d ble.n 800a404 - 800a3e8: 6821 ldr r1, [r4, #0] - 800a3ea: 3309 adds r3, #9 - 800a3ec: 3a04 subs r2, #4 - 800a3ee: 1ad2 subs r2, r2, r3 - 800a3f0: 5c08 ldrb r0, [r1, r0] - 800a3f2: f884 0020 strb.w r0, [r4, #32] - 800a3f6: b2d2 uxtb r2, r2 - 800a3f8: 6a60 ldr r0, [r4, #36] ; 0x24 - 800a3fa: f884 2028 strb.w r2, [r4, #40] ; 0x28 - 800a3fe: 4419 add r1, r3 - 800a400: f002 f86e bl 800c4e0 - 800a404: 7923 ldrb r3, [r4, #4] - 800a406: 6822 ldr r2, [r4, #0] - 800a408: 441a add r2, r3 - 800a40a: 2000 movs r0, #0 - 800a40c: f812 3c04 ldrb.w r3, [r2, #-4] - 800a410: 62e3 str r3, [r4, #44] ; 0x2c - 800a412: f812 1c03 ldrb.w r1, [r2, #-3] - 800a416: ea43 2301 orr.w r3, r3, r1, lsl #8 - 800a41a: 62e3 str r3, [r4, #44] ; 0x2c - 800a41c: f812 1c02 ldrb.w r1, [r2, #-2] - 800a420: ea43 4301 orr.w r3, r3, r1, lsl #16 +0800a394 : + 800a394: b510 push {r4, lr} + 800a396: 4604 mov r4, r0 + 800a398: 2800 cmp r0, #0 + 800a39a: d054 beq.n 800a446 + 800a39c: 6801 ldr r1, [r0, #0] + 800a39e: 2900 cmp r1, #0 + 800a3a0: d051 beq.n 800a446 + 800a3a2: 780b ldrb r3, [r1, #0] + 800a3a4: 7143 strb r3, [r0, #5] + 800a3a6: 784b ldrb r3, [r1, #1] + 800a3a8: 6083 str r3, [r0, #8] + 800a3aa: 788a ldrb r2, [r1, #2] + 800a3ac: ea43 2302 orr.w r3, r3, r2, lsl #8 + 800a3b0: 6083 str r3, [r0, #8] + 800a3b2: 78ca ldrb r2, [r1, #3] + 800a3b4: ea43 4302 orr.w r3, r3, r2, lsl #16 + 800a3b8: 6083 str r3, [r0, #8] + 800a3ba: 790a ldrb r2, [r1, #4] + 800a3bc: ea43 6302 orr.w r3, r3, r2, lsl #24 + 800a3c0: 6083 str r3, [r0, #8] + 800a3c2: 794b ldrb r3, [r1, #5] + 800a3c4: 7303 strb r3, [r0, #12] + 800a3c6: 798b ldrb r3, [r1, #6] + 800a3c8: 81c3 strh r3, [r0, #14] + 800a3ca: 79ca ldrb r2, [r1, #7] + 800a3cc: ea43 2302 orr.w r3, r3, r2, lsl #8 + 800a3d0: 7b02 ldrb r2, [r0, #12] + 800a3d2: 81c3 strh r3, [r0, #14] + 800a3d4: f002 020f and.w r2, r2, #15 + 800a3d8: 3108 adds r1, #8 + 800a3da: 3010 adds r0, #16 + 800a3dc: f002 f88a bl 800c4f4 + 800a3e0: 7b23 ldrb r3, [r4, #12] + 800a3e2: 2200 movs r2, #0 + 800a3e4: f003 030f and.w r3, r3, #15 + 800a3e8: f884 2020 strb.w r2, [r4, #32] + 800a3ec: f884 2028 strb.w r2, [r4, #40] ; 0x28 + 800a3f0: 7922 ldrb r2, [r4, #4] + 800a3f2: f103 0008 add.w r0, r3, #8 + 800a3f6: 1a11 subs r1, r2, r0 + 800a3f8: 2904 cmp r1, #4 + 800a3fa: dd0d ble.n 800a418 + 800a3fc: 6821 ldr r1, [r4, #0] + 800a3fe: 3309 adds r3, #9 + 800a400: 3a04 subs r2, #4 + 800a402: 1ad2 subs r2, r2, r3 + 800a404: 5c08 ldrb r0, [r1, r0] + 800a406: f884 0020 strb.w r0, [r4, #32] + 800a40a: b2d2 uxtb r2, r2 + 800a40c: 6a60 ldr r0, [r4, #36] ; 0x24 + 800a40e: f884 2028 strb.w r2, [r4, #40] ; 0x28 + 800a412: 4419 add r1, r3 + 800a414: f002 f86e bl 800c4f4 + 800a418: 7923 ldrb r3, [r4, #4] + 800a41a: 6822 ldr r2, [r4, #0] + 800a41c: 441a add r2, r3 + 800a41e: 2000 movs r0, #0 + 800a420: f812 3c04 ldrb.w r3, [r2, #-4] 800a424: 62e3 str r3, [r4, #44] ; 0x2c - 800a426: f812 2c01 ldrb.w r2, [r2, #-1] - 800a42a: ea43 6302 orr.w r3, r3, r2, lsl #24 + 800a426: f812 1c03 ldrb.w r1, [r2, #-3] + 800a42a: ea43 2301 orr.w r3, r3, r1, lsl #8 800a42e: 62e3 str r3, [r4, #44] ; 0x2c - 800a430: bd10 pop {r4, pc} - 800a432: 2002 movs r0, #2 - 800a434: e7fc b.n 800a430 + 800a430: f812 1c02 ldrb.w r1, [r2, #-2] + 800a434: ea43 4301 orr.w r3, r3, r1, lsl #16 + 800a438: 62e3 str r3, [r4, #44] ; 0x2c + 800a43a: f812 2c01 ldrb.w r2, [r2, #-1] + 800a43e: ea43 6302 orr.w r3, r3, r2, lsl #24 + 800a442: 62e3 str r3, [r4, #44] ; 0x2c + 800a444: bd10 pop {r4, pc} + 800a446: 2002 movs r0, #2 + 800a448: e7fc b.n 800a444 -0800a436 : - 800a436: b510 push {r4, lr} - 800a438: 4604 mov r4, r0 - 800a43a: b360 cbz r0, 800a496 - 800a43c: 6803 ldr r3, [r0, #0] - 800a43e: b353 cbz r3, 800a496 - 800a440: 7902 ldrb r2, [r0, #4] - 800a442: 2a16 cmp r2, #22 - 800a444: d929 bls.n 800a49a - 800a446: 7942 ldrb r2, [r0, #5] - 800a448: 701a strb r2, [r3, #0] - 800a44a: 4601 mov r1, r0 - 800a44c: 2208 movs r2, #8 - 800a44e: f851 0b06 ldr.w r0, [r1], #6 - 800a452: 3001 adds r0, #1 - 800a454: f002 f84e bl 800c4f4 - 800a458: 4621 mov r1, r4 - 800a45a: 2208 movs r2, #8 - 800a45c: f851 0b0e ldr.w r0, [r1], #14 - 800a460: 3009 adds r0, #9 - 800a462: f002 f847 bl 800c4f4 - 800a466: 6823 ldr r3, [r4, #0] - 800a468: 8ae2 ldrh r2, [r4, #22] - 800a46a: 745a strb r2, [r3, #17] - 800a46c: 8ae3 ldrh r3, [r4, #22] - 800a46e: 6822 ldr r2, [r4, #0] - 800a470: 0a1b lsrs r3, r3, #8 - 800a472: 7493 strb r3, [r2, #18] - 800a474: 6823 ldr r3, [r4, #0] - 800a476: 69a2 ldr r2, [r4, #24] - 800a478: 74da strb r2, [r3, #19] - 800a47a: 69a3 ldr r3, [r4, #24] - 800a47c: 6822 ldr r2, [r4, #0] - 800a47e: 0a1b lsrs r3, r3, #8 - 800a480: 7513 strb r3, [r2, #20] - 800a482: 6823 ldr r3, [r4, #0] - 800a484: 8b62 ldrh r2, [r4, #26] - 800a486: 755a strb r2, [r3, #21] +0800a44a : + 800a44a: b510 push {r4, lr} + 800a44c: 4604 mov r4, r0 + 800a44e: b360 cbz r0, 800a4aa + 800a450: 6803 ldr r3, [r0, #0] + 800a452: b353 cbz r3, 800a4aa + 800a454: 7902 ldrb r2, [r0, #4] + 800a456: 2a16 cmp r2, #22 + 800a458: d929 bls.n 800a4ae + 800a45a: 7942 ldrb r2, [r0, #5] + 800a45c: 701a strb r2, [r3, #0] + 800a45e: 4601 mov r1, r0 + 800a460: 2208 movs r2, #8 + 800a462: f851 0b06 ldr.w r0, [r1], #6 + 800a466: 3001 adds r0, #1 + 800a468: f002 f84e bl 800c508 + 800a46c: 4621 mov r1, r4 + 800a46e: 2208 movs r2, #8 + 800a470: f851 0b0e ldr.w r0, [r1], #14 + 800a474: 3009 adds r0, #9 + 800a476: f002 f847 bl 800c508 + 800a47a: 6823 ldr r3, [r4, #0] + 800a47c: 8ae2 ldrh r2, [r4, #22] + 800a47e: 745a strb r2, [r3, #17] + 800a480: 8ae3 ldrh r3, [r4, #22] + 800a482: 6822 ldr r2, [r4, #0] + 800a484: 0a1b lsrs r3, r3, #8 + 800a486: 7493 strb r3, [r2, #18] 800a488: 6823 ldr r3, [r4, #0] - 800a48a: 7ee2 ldrb r2, [r4, #27] - 800a48c: 759a strb r2, [r3, #22] - 800a48e: 2317 movs r3, #23 - 800a490: 7123 strb r3, [r4, #4] - 800a492: 2000 movs r0, #0 - 800a494: bd10 pop {r4, pc} - 800a496: 2001 movs r0, #1 - 800a498: e7fc b.n 800a494 - 800a49a: 2002 movs r0, #2 - 800a49c: e7fa b.n 800a494 + 800a48a: 69a2 ldr r2, [r4, #24] + 800a48c: 74da strb r2, [r3, #19] + 800a48e: 69a3 ldr r3, [r4, #24] + 800a490: 6822 ldr r2, [r4, #0] + 800a492: 0a1b lsrs r3, r3, #8 + 800a494: 7513 strb r3, [r2, #20] + 800a496: 6823 ldr r3, [r4, #0] + 800a498: 8b62 ldrh r2, [r4, #26] + 800a49a: 755a strb r2, [r3, #21] + 800a49c: 6823 ldr r3, [r4, #0] + 800a49e: 7ee2 ldrb r2, [r4, #27] + 800a4a0: 759a strb r2, [r3, #22] + 800a4a2: 2317 movs r3, #23 + 800a4a4: 7123 strb r3, [r4, #4] + 800a4a6: 2000 movs r0, #0 + 800a4a8: bd10 pop {r4, pc} + 800a4aa: 2001 movs r0, #1 + 800a4ac: e7fc b.n 800a4a8 + 800a4ae: 2002 movs r0, #2 + 800a4b0: e7fa b.n 800a4a8 -0800a49e : - 800a49e: b538 push {r3, r4, r5, lr} - 800a4a0: 4604 mov r4, r0 - 800a4a2: 2800 cmp r0, #0 - 800a4a4: d063 beq.n 800a56e - 800a4a6: 6801 ldr r1, [r0, #0] - 800a4a8: 2900 cmp r1, #0 - 800a4aa: d060 beq.n 800a56e - 800a4ac: 7b03 ldrb r3, [r0, #12] - 800a4ae: f890 2028 ldrb.w r2, [r0, #40] ; 0x28 - 800a4b2: f003 030f and.w r3, r3, #15 - 800a4b6: 2a00 cmp r2, #0 - 800a4b8: d157 bne.n 800a56a - 800a4ba: 3308 adds r3, #8 - 800a4bc: 7920 ldrb r0, [r4, #4] - 800a4be: 3204 adds r2, #4 - 800a4c0: 4413 add r3, r2 - 800a4c2: 4298 cmp r0, r3 - 800a4c4: d355 bcc.n 800a572 - 800a4c6: 7963 ldrb r3, [r4, #5] - 800a4c8: 700b strb r3, [r1, #0] - 800a4ca: 6823 ldr r3, [r4, #0] - 800a4cc: 68a2 ldr r2, [r4, #8] - 800a4ce: 705a strb r2, [r3, #1] - 800a4d0: 68a3 ldr r3, [r4, #8] - 800a4d2: 6822 ldr r2, [r4, #0] - 800a4d4: 0a1b lsrs r3, r3, #8 - 800a4d6: 7093 strb r3, [r2, #2] - 800a4d8: 6823 ldr r3, [r4, #0] - 800a4da: 8962 ldrh r2, [r4, #10] - 800a4dc: 70da strb r2, [r3, #3] +0800a4b2 : + 800a4b2: b538 push {r3, r4, r5, lr} + 800a4b4: 4604 mov r4, r0 + 800a4b6: 2800 cmp r0, #0 + 800a4b8: d063 beq.n 800a582 + 800a4ba: 6801 ldr r1, [r0, #0] + 800a4bc: 2900 cmp r1, #0 + 800a4be: d060 beq.n 800a582 + 800a4c0: 7b03 ldrb r3, [r0, #12] + 800a4c2: f890 2028 ldrb.w r2, [r0, #40] ; 0x28 + 800a4c6: f003 030f and.w r3, r3, #15 + 800a4ca: 2a00 cmp r2, #0 + 800a4cc: d157 bne.n 800a57e + 800a4ce: 3308 adds r3, #8 + 800a4d0: 7920 ldrb r0, [r4, #4] + 800a4d2: 3204 adds r2, #4 + 800a4d4: 4413 add r3, r2 + 800a4d6: 4298 cmp r0, r3 + 800a4d8: d355 bcc.n 800a586 + 800a4da: 7963 ldrb r3, [r4, #5] + 800a4dc: 700b strb r3, [r1, #0] 800a4de: 6823 ldr r3, [r4, #0] - 800a4e0: 7ae2 ldrb r2, [r4, #11] - 800a4e2: 711a strb r2, [r3, #4] - 800a4e4: 6823 ldr r3, [r4, #0] - 800a4e6: 7b22 ldrb r2, [r4, #12] - 800a4e8: 715a strb r2, [r3, #5] - 800a4ea: 6823 ldr r3, [r4, #0] - 800a4ec: 89e2 ldrh r2, [r4, #14] - 800a4ee: 719a strb r2, [r3, #6] - 800a4f0: 89e3 ldrh r3, [r4, #14] - 800a4f2: 6822 ldr r2, [r4, #0] - 800a4f4: 0a1b lsrs r3, r3, #8 - 800a4f6: 4621 mov r1, r4 - 800a4f8: 71d3 strb r3, [r2, #7] + 800a4e0: 68a2 ldr r2, [r4, #8] + 800a4e2: 705a strb r2, [r3, #1] + 800a4e4: 68a3 ldr r3, [r4, #8] + 800a4e6: 6822 ldr r2, [r4, #0] + 800a4e8: 0a1b lsrs r3, r3, #8 + 800a4ea: 7093 strb r3, [r2, #2] + 800a4ec: 6823 ldr r3, [r4, #0] + 800a4ee: 8962 ldrh r2, [r4, #10] + 800a4f0: 70da strb r2, [r3, #3] + 800a4f2: 6823 ldr r3, [r4, #0] + 800a4f4: 7ae2 ldrb r2, [r4, #11] + 800a4f6: 711a strb r2, [r3, #4] + 800a4f8: 6823 ldr r3, [r4, #0] 800a4fa: 7b22 ldrb r2, [r4, #12] - 800a4fc: f851 0b10 ldr.w r0, [r1], #16 - 800a500: f002 020f and.w r2, r2, #15 - 800a504: 3008 adds r0, #8 - 800a506: f001 ffeb bl 800c4e0 - 800a50a: 7b23 ldrb r3, [r4, #12] - 800a50c: f894 2028 ldrb.w r2, [r4, #40] ; 0x28 - 800a510: f003 030f and.w r3, r3, #15 - 800a514: f103 0508 add.w r5, r3, #8 - 800a518: b12a cbz r2, 800a526 - 800a51a: 6822 ldr r2, [r4, #0] - 800a51c: f894 1020 ldrb.w r1, [r4, #32] - 800a520: 5551 strb r1, [r2, r5] - 800a522: f103 0509 add.w r5, r3, #9 - 800a526: 6820 ldr r0, [r4, #0] - 800a528: f894 2028 ldrb.w r2, [r4, #40] ; 0x28 - 800a52c: 6a61 ldr r1, [r4, #36] ; 0x24 - 800a52e: 4428 add r0, r5 - 800a530: f001 ffd6 bl 800c4e0 - 800a534: f894 3028 ldrb.w r3, [r4, #40] ; 0x28 - 800a538: 6822 ldr r2, [r4, #0] - 800a53a: 6ae1 ldr r1, [r4, #44] ; 0x2c - 800a53c: 442b add r3, r5 - 800a53e: 54d1 strb r1, [r2, r3] - 800a540: 1c5a adds r2, r3, #1 - 800a542: 6ae1 ldr r1, [r4, #44] ; 0x2c - 800a544: 6820 ldr r0, [r4, #0] - 800a546: b292 uxth r2, r2 - 800a548: 0a09 lsrs r1, r1, #8 - 800a54a: 5481 strb r1, [r0, r2] - 800a54c: 1c9a adds r2, r3, #2 - 800a54e: 6821 ldr r1, [r4, #0] - 800a550: 8de0 ldrh r0, [r4, #46] ; 0x2e - 800a552: b292 uxth r2, r2 - 800a554: 5488 strb r0, [r1, r2] - 800a556: 1cda adds r2, r3, #3 - 800a558: 6821 ldr r1, [r4, #0] - 800a55a: f894 002f ldrb.w r0, [r4, #47] ; 0x2f - 800a55e: b292 uxth r2, r2 - 800a560: 3304 adds r3, #4 - 800a562: 5488 strb r0, [r1, r2] - 800a564: 7123 strb r3, [r4, #4] - 800a566: 2000 movs r0, #0 - 800a568: bd38 pop {r3, r4, r5, pc} - 800a56a: 3309 adds r3, #9 - 800a56c: e7a6 b.n 800a4bc - 800a56e: 2001 movs r0, #1 - 800a570: e7fa b.n 800a568 - 800a572: 2002 movs r0, #2 - 800a574: e7f8 b.n 800a568 + 800a4fc: 715a strb r2, [r3, #5] + 800a4fe: 6823 ldr r3, [r4, #0] + 800a500: 89e2 ldrh r2, [r4, #14] + 800a502: 719a strb r2, [r3, #6] + 800a504: 89e3 ldrh r3, [r4, #14] + 800a506: 6822 ldr r2, [r4, #0] + 800a508: 0a1b lsrs r3, r3, #8 + 800a50a: 4621 mov r1, r4 + 800a50c: 71d3 strb r3, [r2, #7] + 800a50e: 7b22 ldrb r2, [r4, #12] + 800a510: f851 0b10 ldr.w r0, [r1], #16 + 800a514: f002 020f and.w r2, r2, #15 + 800a518: 3008 adds r0, #8 + 800a51a: f001 ffeb bl 800c4f4 + 800a51e: 7b23 ldrb r3, [r4, #12] + 800a520: f894 2028 ldrb.w r2, [r4, #40] ; 0x28 + 800a524: f003 030f and.w r3, r3, #15 + 800a528: f103 0508 add.w r5, r3, #8 + 800a52c: b12a cbz r2, 800a53a + 800a52e: 6822 ldr r2, [r4, #0] + 800a530: f894 1020 ldrb.w r1, [r4, #32] + 800a534: 5551 strb r1, [r2, r5] + 800a536: f103 0509 add.w r5, r3, #9 + 800a53a: 6820 ldr r0, [r4, #0] + 800a53c: f894 2028 ldrb.w r2, [r4, #40] ; 0x28 + 800a540: 6a61 ldr r1, [r4, #36] ; 0x24 + 800a542: 4428 add r0, r5 + 800a544: f001 ffd6 bl 800c4f4 + 800a548: f894 3028 ldrb.w r3, [r4, #40] ; 0x28 + 800a54c: 6822 ldr r2, [r4, #0] + 800a54e: 6ae1 ldr r1, [r4, #44] ; 0x2c + 800a550: 442b add r3, r5 + 800a552: 54d1 strb r1, [r2, r3] + 800a554: 1c5a adds r2, r3, #1 + 800a556: 6ae1 ldr r1, [r4, #44] ; 0x2c + 800a558: 6820 ldr r0, [r4, #0] + 800a55a: b292 uxth r2, r2 + 800a55c: 0a09 lsrs r1, r1, #8 + 800a55e: 5481 strb r1, [r0, r2] + 800a560: 1c9a adds r2, r3, #2 + 800a562: 6821 ldr r1, [r4, #0] + 800a564: 8de0 ldrh r0, [r4, #46] ; 0x2e + 800a566: b292 uxth r2, r2 + 800a568: 5488 strb r0, [r1, r2] + 800a56a: 1cda adds r2, r3, #3 + 800a56c: 6821 ldr r1, [r4, #0] + 800a56e: f894 002f ldrb.w r0, [r4, #47] ; 0x2f + 800a572: b292 uxth r2, r2 + 800a574: 3304 adds r3, #4 + 800a576: 5488 strb r0, [r1, r2] + 800a578: 7123 strb r3, [r4, #4] + 800a57a: 2000 movs r0, #0 + 800a57c: bd38 pop {r3, r4, r5, pc} + 800a57e: 3309 adds r3, #9 + 800a580: e7a6 b.n 800a4d0 + 800a582: 2001 movs r0, #1 + 800a584: e7fa b.n 800a57c + 800a586: 2002 movs r0, #2 + 800a588: e7f8 b.n 800a57c ... -0800a578 : - 800a578: 4b02 ldr r3, [pc, #8] ; (800a584 ) - 800a57a: 881a ldrh r2, [r3, #0] - 800a57c: 4310 orrs r0, r2 - 800a57e: 8018 strh r0, [r3, #0] - 800a580: 4770 bx lr - 800a582: bf00 nop - 800a584: 200019bc .word 0x200019bc +0800a58c : + 800a58c: 4b02 ldr r3, [pc, #8] ; (800a598 ) + 800a58e: 881a ldrh r2, [r3, #0] + 800a590: 4310 orrs r0, r2 + 800a592: 8018 strh r0, [r3, #0] + 800a594: 4770 bx lr + 800a596: bf00 nop + 800a598: 200019bc .word 0x200019bc -0800a588 : - 800a588: b508 push {r3, lr} - 800a58a: 4b07 ldr r3, [pc, #28] ; (800a5a8 ) - 800a58c: 881b ldrh r3, [r3, #0] - 800a58e: b13b cbz r3, 800a5a0 - 800a590: f7fe f9b8 bl 8008904 - 800a594: 2800 cmp r0, #0 - 800a596: bf0c ite eq - 800a598: 2000 moveq r0, #0 - 800a59a: f06f 0002 mvnne.w r0, #2 - 800a59e: bd08 pop {r3, pc} - 800a5a0: f06f 0001 mvn.w r0, #1 - 800a5a4: e7fb b.n 800a59e - 800a5a6: bf00 nop - 800a5a8: 200019bc .word 0x200019bc - -0800a5ac : - 800a5ac: b510 push {r4, lr} - 800a5ae: 4b03 ldr r3, [pc, #12] ; (800a5bc ) - 800a5b0: 2400 movs r4, #0 - 800a5b2: 801c strh r4, [r3, #0] - 800a5b4: f7fe f99c bl 80088f0 - 800a5b8: 4620 mov r0, r4 - 800a5ba: bd10 pop {r4, pc} +0800a59c : + 800a59c: b508 push {r3, lr} + 800a59e: 4b07 ldr r3, [pc, #28] ; (800a5bc ) + 800a5a0: 881b ldrh r3, [r3, #0] + 800a5a2: b13b cbz r3, 800a5b4 + 800a5a4: f7fe f9b8 bl 8008918 + 800a5a8: 2800 cmp r0, #0 + 800a5aa: bf0c ite eq + 800a5ac: 2000 moveq r0, #0 + 800a5ae: f06f 0002 mvnne.w r0, #2 + 800a5b2: bd08 pop {r3, pc} + 800a5b4: f06f 0001 mvn.w r0, #1 + 800a5b8: e7fb b.n 800a5b2 + 800a5ba: bf00 nop 800a5bc: 200019bc .word 0x200019bc -0800a5c0 : - 800a5c0: fab0 f080 clz r0, r0 - 800a5c4: 0940 lsrs r0, r0, #5 - 800a5c6: 4770 bx lr +0800a5c0 : + 800a5c0: b510 push {r4, lr} + 800a5c2: 4b03 ldr r3, [pc, #12] ; (800a5d0 ) + 800a5c4: 2400 movs r4, #0 + 800a5c6: 801c strh r4, [r3, #0] + 800a5c8: f7fe f99c bl 8008904 + 800a5cc: 4620 mov r0, r4 + 800a5ce: bd10 pop {r4, pc} + 800a5d0: 200019bc .word 0x200019bc -0800a5c8 : - 800a5c8: b082 sub sp, #8 - 800a5ca: b918 cbnz r0, 800a5d4 - 800a5cc: 4608 mov r0, r1 - 800a5ce: b002 add sp, #8 - 800a5d0: f000 b8ca b.w 800a768 - 800a5d4: 2000 movs r0, #0 - 800a5d6: b002 add sp, #8 - 800a5d8: 4770 bx lr +0800a5d4 : + 800a5d4: fab0 f080 clz r0, r0 + 800a5d8: 0940 lsrs r0, r0, #5 + 800a5da: 4770 bx lr -0800a5da : - 800a5da: b910 cbnz r0, 800a5e2 - 800a5dc: 4608 mov r0, r1 - 800a5de: f000 b977 b.w 800a8d0 - 800a5e2: 4770 bx lr - -0800a5e4 : - 800a5e4: b910 cbnz r0, 800a5ec - 800a5e6: 4608 mov r0, r1 - 800a5e8: f000 b98e b.w 800a908 +0800a5dc : + 800a5dc: b082 sub sp, #8 + 800a5de: b918 cbnz r0, 800a5e8 + 800a5e0: 4608 mov r0, r1 + 800a5e2: b002 add sp, #8 + 800a5e4: f000 b8ca b.w 800a77c + 800a5e8: 2000 movs r0, #0 + 800a5ea: b002 add sp, #8 800a5ec: 4770 bx lr -0800a5ee : - 800a5ee: 4603 mov r3, r0 +0800a5ee : + 800a5ee: b910 cbnz r0, 800a5f6 800a5f0: 4608 mov r0, r1 - 800a5f2: 4611 mov r1, r2 - 800a5f4: b90b cbnz r3, 800a5fa - 800a5f6: f000 b9e5 b.w 800a9c4 - 800a5fa: 2000 movs r0, #0 - 800a5fc: 4770 bx lr + 800a5f2: f000 b977 b.w 800a8e4 + 800a5f6: 4770 bx lr -0800a5fe : - 800a5fe: b910 cbnz r0, 800a606 - 800a600: 4608 mov r0, r1 - 800a602: f000 bd71 b.w 800b0e8 - 800a606: 4770 bx lr +0800a5f8 : + 800a5f8: b910 cbnz r0, 800a600 + 800a5fa: 4608 mov r0, r1 + 800a5fc: f000 b98e b.w 800a91c + 800a600: 4770 bx lr -0800a608 : - 800a608: b910 cbnz r0, 800a610 - 800a60a: 4608 mov r0, r1 - 800a60c: f000 ba06 b.w 800aa1c - 800a610: 2000 movs r0, #0 - 800a612: 4770 bx lr +0800a602 : + 800a602: 4603 mov r3, r0 + 800a604: 4608 mov r0, r1 + 800a606: 4611 mov r1, r2 + 800a608: b90b cbnz r3, 800a60e + 800a60a: f000 b9e5 b.w 800a9d8 + 800a60e: 2000 movs r0, #0 + 800a610: 4770 bx lr -0800a614 : - 800a614: b410 push {r4} - 800a616: 4604 mov r4, r0 - 800a618: 4608 mov r0, r1 - 800a61a: 4611 mov r1, r2 - 800a61c: 461a mov r2, r3 - 800a61e: 9b01 ldr r3, [sp, #4] - 800a620: b914 cbnz r4, 800a628 - 800a622: bc10 pop {r4} - 800a624: f000 ba18 b.w 800aa58 - 800a628: bc10 pop {r4} - 800a62a: 4770 bx lr +0800a612 : + 800a612: b910 cbnz r0, 800a61a + 800a614: 4608 mov r0, r1 + 800a616: f000 bd71 b.w 800b0fc + 800a61a: 4770 bx lr -0800a62c : - 800a62c: 4603 mov r3, r0 - 800a62e: 4608 mov r0, r1 - 800a630: 4611 mov r1, r2 - 800a632: b90b cbnz r3, 800a638 - 800a634: f000 ba42 b.w 800aabc - 800a638: 2000 movs r0, #0 - 800a63a: 4770 bx lr +0800a61c : + 800a61c: b910 cbnz r0, 800a624 + 800a61e: 4608 mov r0, r1 + 800a620: f000 ba06 b.w 800aa30 + 800a624: 2000 movs r0, #0 + 800a626: 4770 bx lr -0800a63c : - 800a63c: b410 push {r4} - 800a63e: 4604 mov r4, r0 - 800a640: 4608 mov r0, r1 - 800a642: 4611 mov r1, r2 - 800a644: 461a mov r2, r3 - 800a646: b914 cbnz r4, 800a64e - 800a648: bc10 pop {r4} - 800a64a: f000 baaf b.w 800abac - 800a64e: 2000 movs r0, #0 - 800a650: bc10 pop {r4} - 800a652: 4770 bx lr +0800a628 : + 800a628: b410 push {r4} + 800a62a: 4604 mov r4, r0 + 800a62c: 4608 mov r0, r1 + 800a62e: 4611 mov r1, r2 + 800a630: 461a mov r2, r3 + 800a632: 9b01 ldr r3, [sp, #4] + 800a634: b914 cbnz r4, 800a63c + 800a636: bc10 pop {r4} + 800a638: f000 ba18 b.w 800aa6c + 800a63c: bc10 pop {r4} + 800a63e: 4770 bx lr -0800a654 : - 800a654: b430 push {r4, r5} - 800a656: 4605 mov r5, r0 - 800a658: 4608 mov r0, r1 - 800a65a: 4611 mov r1, r2 - 800a65c: 461a mov r2, r3 - 800a65e: e9dd 3402 ldrd r3, r4, [sp, #8] - 800a662: b91d cbnz r5, 800a66c - 800a664: 9402 str r4, [sp, #8] - 800a666: bc30 pop {r4, r5} - 800a668: f000 bb2e b.w 800acc8 - 800a66c: 2000 movs r0, #0 - 800a66e: bc30 pop {r4, r5} - 800a670: 4770 bx lr +0800a640 : + 800a640: 4603 mov r3, r0 + 800a642: 4608 mov r0, r1 + 800a644: 4611 mov r1, r2 + 800a646: b90b cbnz r3, 800a64c + 800a648: f000 ba42 b.w 800aad0 + 800a64c: 2000 movs r0, #0 + 800a64e: 4770 bx lr -0800a672 : - 800a672: b910 cbnz r0, 800a67a - 800a674: 4608 mov r0, r1 - 800a676: f000 bbdf b.w 800ae38 - 800a67a: 2000 movs r0, #0 - 800a67c: 4770 bx lr +0800a650 : + 800a650: b410 push {r4} + 800a652: 4604 mov r4, r0 + 800a654: 4608 mov r0, r1 + 800a656: 4611 mov r1, r2 + 800a658: 461a mov r2, r3 + 800a65a: b914 cbnz r4, 800a662 + 800a65c: bc10 pop {r4} + 800a65e: f000 baaf b.w 800abc0 + 800a662: 2000 movs r0, #0 + 800a664: bc10 pop {r4} + 800a666: 4770 bx lr -0800a67e : - 800a67e: b910 cbnz r0, 800a686 - 800a680: 4608 mov r0, r1 - 800a682: f000 bd6f b.w 800b164 - 800a686: 2000 movs r0, #0 - 800a688: 4770 bx lr +0800a668 : + 800a668: b430 push {r4, r5} + 800a66a: 4605 mov r5, r0 + 800a66c: 4608 mov r0, r1 + 800a66e: 4611 mov r1, r2 + 800a670: 461a mov r2, r3 + 800a672: e9dd 3402 ldrd r3, r4, [sp, #8] + 800a676: b91d cbnz r5, 800a680 + 800a678: 9402 str r4, [sp, #8] + 800a67a: bc30 pop {r4, r5} + 800a67c: f000 bb2e b.w 800acdc + 800a680: 2000 movs r0, #0 + 800a682: bc30 pop {r4, r5} + 800a684: 4770 bx lr -0800a68a : - 800a68a: b910 cbnz r0, 800a692 - 800a68c: 4608 mov r0, r1 - 800a68e: f000 bbee b.w 800ae6e - 800a692: 2000 movs r0, #0 - 800a694: 4770 bx lr +0800a686 : + 800a686: b910 cbnz r0, 800a68e + 800a688: 4608 mov r0, r1 + 800a68a: f000 bbdf b.w 800ae4c + 800a68e: 2000 movs r0, #0 + 800a690: 4770 bx lr -0800a696 : - 800a696: b910 cbnz r0, 800a69e - 800a698: 4608 mov r0, r1 - 800a69a: f000 bbeb b.w 800ae74 - 800a69e: 2000 movs r0, #0 - 800a6a0: 4770 bx lr +0800a692 : + 800a692: b910 cbnz r0, 800a69a + 800a694: 4608 mov r0, r1 + 800a696: f000 bd6f b.w 800b178 + 800a69a: 2000 movs r0, #0 + 800a69c: 4770 bx lr -0800a6a2 : - 800a6a2: 4603 mov r3, r0 - 800a6a4: 4608 mov r0, r1 - 800a6a6: 4611 mov r1, r2 - 800a6a8: b90b cbnz r3, 800a6ae - 800a6aa: f000 bc05 b.w 800aeb8 - 800a6ae: 2000 movs r0, #0 - 800a6b0: 4770 bx lr +0800a69e : + 800a69e: b910 cbnz r0, 800a6a6 + 800a6a0: 4608 mov r0, r1 + 800a6a2: f000 bbee b.w 800ae82 + 800a6a6: 2000 movs r0, #0 + 800a6a8: 4770 bx lr -0800a6b2 : - 800a6b2: b410 push {r4} - 800a6b4: 4604 mov r4, r0 - 800a6b6: 4608 mov r0, r1 - 800a6b8: 4611 mov r1, r2 - 800a6ba: 461a mov r2, r3 - 800a6bc: 9b01 ldr r3, [sp, #4] - 800a6be: b914 cbnz r4, 800a6c6 - 800a6c0: bc10 pop {r4} - 800a6c2: f000 bbfb b.w 800aebc - 800a6c6: 2009 movs r0, #9 - 800a6c8: bc10 pop {r4} - 800a6ca: 4770 bx lr +0800a6aa : + 800a6aa: b910 cbnz r0, 800a6b2 + 800a6ac: 4608 mov r0, r1 + 800a6ae: f000 bbeb b.w 800ae88 + 800a6b2: 2000 movs r0, #0 + 800a6b4: 4770 bx lr -0800a6cc : - 800a6cc: b410 push {r4} - 800a6ce: 4604 mov r4, r0 - 800a6d0: 4608 mov r0, r1 - 800a6d2: 4611 mov r1, r2 - 800a6d4: 461a mov r2, r3 - 800a6d6: b914 cbnz r4, 800a6de - 800a6d8: bc10 pop {r4} - 800a6da: f000 bd63 b.w 800b1a4 - 800a6de: b2c8 uxtb r0, r1 - 800a6e0: bc10 pop {r4} - 800a6e2: 4770 bx lr +0800a6b6 : + 800a6b6: 4603 mov r3, r0 + 800a6b8: 4608 mov r0, r1 + 800a6ba: 4611 mov r1, r2 + 800a6bc: b90b cbnz r3, 800a6c2 + 800a6be: f000 bc05 b.w 800aecc + 800a6c2: 2000 movs r0, #0 + 800a6c4: 4770 bx lr -0800a6e4 : - 800a6e4: 4800 ldr r0, [pc, #0] ; (800a6e8 ) - 800a6e6: 4770 bx lr - 800a6e8: 02010001 .word 0x02010001 +0800a6c6 : + 800a6c6: b410 push {r4} + 800a6c8: 4604 mov r4, r0 + 800a6ca: 4608 mov r0, r1 + 800a6cc: 4611 mov r1, r2 + 800a6ce: 461a mov r2, r3 + 800a6d0: 9b01 ldr r3, [sp, #4] + 800a6d2: b914 cbnz r4, 800a6da + 800a6d4: bc10 pop {r4} + 800a6d6: f000 bbfb b.w 800aed0 + 800a6da: 2009 movs r0, #9 + 800a6dc: bc10 pop {r4} + 800a6de: 4770 bx lr -0800a6ec : - 800a6ec: 4b06 ldr r3, [pc, #24] ; (800a708 ) - 800a6ee: b510 push {r4, lr} - 800a6f0: 6a1b ldr r3, [r3, #32] - 800a6f2: 4604 mov r4, r0 - 800a6f4: 4798 blx r3 - 800a6f6: b130 cbz r0, 800a706 - 800a6f8: 4804 ldr r0, [pc, #16] ; (800a70c ) - 800a6fa: 4b05 ldr r3, [pc, #20] ; (800a710 ) - 800a6fc: 4420 add r0, r4 - 800a6fe: 4298 cmp r0, r3 - 800a700: bf8c ite hi - 800a702: 2000 movhi r0, #0 - 800a704: 2001 movls r0, #1 - 800a706: bd10 pop {r4, pc} - 800a708: 0800f9e4 .word 0x0800f9e4 - 800a70c: c920c240 .word 0xc920c240 - 800a710: 002ab980 .word 0x002ab980 +0800a6e0 : + 800a6e0: b410 push {r4} + 800a6e2: 4604 mov r4, r0 + 800a6e4: 4608 mov r0, r1 + 800a6e6: 4611 mov r1, r2 + 800a6e8: 461a mov r2, r3 + 800a6ea: b914 cbnz r4, 800a6f2 + 800a6ec: bc10 pop {r4} + 800a6ee: f000 bd63 b.w 800b1b8 + 800a6f2: b2c8 uxtb r0, r1 + 800a6f4: bc10 pop {r4} + 800a6f6: 4770 bx lr -0800a714 : - 800a714: b5f0 push {r4, r5, r6, r7, lr} - 800a716: 4b11 ldr r3, [pc, #68] ; (800a75c ) - 800a718: b085 sub sp, #20 - 800a71a: 460c mov r4, r1 - 800a71c: 4910 ldr r1, [pc, #64] ; (800a760 ) - 800a71e: 561f ldrsb r7, [r3, r0] - 800a720: 4605 mov r5, r0 - 800a722: f001 f849 bl 800b7b8 - 800a726: 4b0f ldr r3, [pc, #60] ; (800a764 ) - 800a728: b2e4 uxtb r4, r4 - 800a72a: 6a5e ldr r6, [r3, #36] ; 0x24 - 800a72c: 2d07 cmp r5, #7 - 800a72e: f04f 0301 mov.w r3, #1 - 800a732: e9cd 4302 strd r4, r3, [sp, #8] - 800a736: 4601 mov r1, r0 - 800a738: d10a bne.n 800a750 - 800a73a: 2205 movs r2, #5 - 800a73c: 2300 movs r3, #0 - 800a73e: e9cd 2300 strd r2, r3, [sp] - 800a742: f44f 727a mov.w r2, #1000 ; 0x3e8 - 800a746: 437a muls r2, r7 - 800a748: 4618 mov r0, r3 - 800a74a: 47b0 blx r6 - 800a74c: b005 add sp, #20 - 800a74e: bdf0 pop {r4, r5, r6, r7, pc} - 800a750: 2208 movs r2, #8 - 800a752: 2000 movs r0, #0 - 800a754: e9cd 2000 strd r2, r0, [sp] - 800a758: 463a mov r2, r7 - 800a75a: e7f5 b.n 800a748 - 800a75c: 0800f32f .word 0x0800f32f - 800a760: 0800f308 .word 0x0800f308 - 800a764: 0800f9e4 .word 0x0800f9e4 +0800a6f8 : + 800a6f8: 4800 ldr r0, [pc, #0] ; (800a6fc ) + 800a6fa: 4770 bx lr + 800a6fc: 02010001 .word 0x02010001 -0800a768 : - 800a768: b51f push {r0, r1, r2, r3, r4, lr} - 800a76a: 2300 movs r3, #0 - 800a76c: 9300 str r3, [sp, #0] - 800a76e: 7803 ldrb r3, [r0, #0] - 800a770: 3b01 subs r3, #1 - 800a772: 2b37 cmp r3, #55 ; 0x37 - 800a774: d821 bhi.n 800a7ba - 800a776: e8df f003 tbb [pc, r3] - 800a77a: 241c .short 0x241c - 800a77c: 1e202020 .word 0x1e202020 - 800a780: 20202020 .word 0x20202020 - 800a784: 4e454341 .word 0x4e454341 - 800a788: 5b585520 .word 0x5b585520 - 800a78c: 2064615e .word 0x2064615e - 800a790: 736e1e6c .word 0x736e1e6c - 800a794: 20207a78 .word 0x20207a78 - 800a798: 2026817d .word 0x2026817d - 800a79c: 20202020 .word 0x20202020 - 800a7a0: 20202020 .word 0x20202020 - 800a7a4: 20202020 .word 0x20202020 - 800a7a8: 208a8583 .word 0x208a8583 - 800a7ac: 208a8320 .word 0x208a8320 - 800a7b0: 908c .short 0x908c - 800a7b2: 78c3 ldrb r3, [r0, #3] - 800a7b4: b10b cbz r3, 800a7ba - 800a7b6: 2302 movs r3, #2 - 800a7b8: 9300 str r3, [sp, #0] - 800a7ba: 9800 ldr r0, [sp, #0] - 800a7bc: b005 add sp, #20 - 800a7be: f85d fb04 ldr.w pc, [sp], #4 - 800a7c2: 7883 ldrb r3, [r0, #2] - 800a7c4: e7f6 b.n 800a7b4 - 800a7c6: 7843 ldrb r3, [r0, #1] - 800a7c8: f88d 3004 strb.w r3, [sp, #4] - 800a7cc: 2305 movs r3, #5 - 800a7ce: f88d 3005 strb.w r3, [sp, #5] - 800a7d2: 7883 ldrb r3, [r0, #2] - 800a7d4: 3b00 subs r3, #0 - 800a7d6: bf18 it ne - 800a7d8: 2301 movne r3, #1 - 800a7da: 005b lsls r3, r3, #1 - 800a7dc: f88d 3006 strb.w r3, [sp, #6] - 800a7e0: 2310 movs r3, #16 - 800a7e2: f88d 3007 strb.w r3, [sp, #7] - 800a7e6: 4b30 ldr r3, [pc, #192] ; (800a8a8 ) - 800a7e8: 681b ldr r3, [r3, #0] - 800a7ea: a801 add r0, sp, #4 - 800a7ec: f503 7258 add.w r2, r3, #864 ; 0x360 - 800a7f0: e9cd 2302 strd r2, r3, [sp, #8] - 800a7f4: f000 ffc0 bl 800b778 - 800a7f8: 9000 str r0, [sp, #0] - 800a7fa: e7de b.n 800a7ba - 800a7fc: 2340 movs r3, #64 ; 0x40 - 800a7fe: e7db b.n 800a7b8 - 800a800: 2320 movs r3, #32 - 800a802: e7d9 b.n 800a7b8 - 800a804: 7882 ldrb r2, [r0, #2] - 800a806: f990 3001 ldrsb.w r3, [r0, #1] - 800a80a: b912 cbnz r2, 800a812 - 800a80c: 4a27 ldr r2, [pc, #156] ; (800a8ac ) - 800a80e: 5cd3 ldrb r3, [r2, r3] - 800a810: e7d2 b.n 800a7b8 - 800a812: 4a27 ldr r2, [pc, #156] ; (800a8b0 ) - 800a814: e7fb b.n 800a80e - 800a816: 7882 ldrb r2, [r0, #2] - 800a818: f990 3001 ldrsb.w r3, [r0, #1] - 800a81c: 2a00 cmp r2, #0 - 800a81e: d1f8 bne.n 800a812 - 800a820: 4a24 ldr r2, [pc, #144] ; (800a8b4 ) - 800a822: e7f4 b.n 800a80e - 800a824: f640 33b8 movw r3, #3000 ; 0xbb8 - 800a828: e7c6 b.n 800a7b8 - 800a82a: f44f 737a mov.w r3, #1000 ; 0x3e8 - 800a82e: e7c3 b.n 800a7b8 - 800a830: f44f 63fa mov.w r3, #2000 ; 0x7d0 - 800a834: e7c0 b.n 800a7b8 - 800a836: f241 3388 movw r3, #5000 ; 0x1388 - 800a83a: e7bd b.n 800a7b8 - 800a83c: f241 7370 movw r3, #6000 ; 0x1770 - 800a840: e7ba b.n 800a7b8 - 800a842: 481d ldr r0, [pc, #116] ; (800a8b8 ) - 800a844: f44f 717a mov.w r1, #1000 ; 0x3e8 - 800a848: f001 fe2e bl 800c4a8 - 800a84c: f500 60fa add.w r0, r0, #2000 ; 0x7d0 - 800a850: e7d2 b.n 800a7f8 - 800a852: 4b1a ldr r3, [pc, #104] ; (800a8bc ) - 800a854: e7b0 b.n 800a7b8 - 800a856: 4b14 ldr r3, [pc, #80] ; (800a8a8 ) - 800a858: 681b ldr r3, [r3, #0] - 800a85a: f503 7358 add.w r3, r3, #864 ; 0x360 - 800a85e: e7ab b.n 800a7b8 - 800a860: 4b11 ldr r3, [pc, #68] ; (800a8a8 ) - 800a862: 681b ldr r3, [r3, #0] - 800a864: f503 735b add.w r3, r3, #876 ; 0x36c - 800a868: e7a6 b.n 800a7b8 - 800a86a: 2310 movs r3, #16 - 800a86c: e7a4 b.n 800a7b8 - 800a86e: 4b0e ldr r3, [pc, #56] ; (800a8a8 ) - 800a870: 681b ldr r3, [r3, #0] - 800a872: e7a1 b.n 800a7b8 - 800a874: f04f 4383 mov.w r3, #1098907648 ; 0x41800000 - 800a878: 9300 str r3, [sp, #0] - 800a87a: e79e b.n 800a7ba - 800a87c: 4b10 ldr r3, [pc, #64] ; (800a8c0 ) - 800a87e: e7fb b.n 800a878 - 800a880: 4b10 ldr r3, [pc, #64] ; (800a8c4 ) - 800a882: e799 b.n 800a7b8 - 800a884: f240 1311 movw r3, #273 ; 0x111 - 800a888: f8ad 3000 strh.w r3, [sp] - 800a88c: e795 b.n 800a7ba - 800a88e: 2303 movs r3, #3 - 800a890: e792 b.n 800a7b8 - 800a892: f990 3001 ldrsb.w r3, [r0, #1] - 800a896: 4a0c ldr r2, [pc, #48] ; (800a8c8 ) - 800a898: e7b9 b.n 800a80e - 800a89a: 490c ldr r1, [pc, #48] ; (800a8cc ) - 800a89c: f990 0001 ldrsb.w r0, [r0, #1] - 800a8a0: f000 ff8a bl 800b7b8 - 800a8a4: e7a8 b.n 800a7f8 - 800a8a6: bf00 nop - 800a8a8: 200019c4 .word 0x200019c4 - 800a8ac: 0800f3b7 .word 0x0800f3b7 - 800a8b0: 0800f3bf .word 0x0800f3bf - 800a8b4: 0800f3c7 .word 0x0800f3c7 - 800a8b8: fffffc18 .word 0xfffffc18 - 800a8bc: 3706ea00 .word 0x3706ea00 - 800a8c0: 4009999a .word 0x4009999a - 800a8c4: 3709f740 .word 0x3709f740 - 800a8c8: 0800f32f .word 0x0800f32f - 800a8cc: 0800f308 .word 0x0800f308 +0800a700 : + 800a700: 4b06 ldr r3, [pc, #24] ; (800a71c ) + 800a702: b510 push {r4, lr} + 800a704: 6a1b ldr r3, [r3, #32] + 800a706: 4604 mov r4, r0 + 800a708: 4798 blx r3 + 800a70a: b130 cbz r0, 800a71a + 800a70c: 4804 ldr r0, [pc, #16] ; (800a720 ) + 800a70e: 4b05 ldr r3, [pc, #20] ; (800a724 ) + 800a710: 4420 add r0, r4 + 800a712: 4298 cmp r0, r3 + 800a714: bf8c ite hi + 800a716: 2000 movhi r0, #0 + 800a718: 2001 movls r0, #1 + 800a71a: bd10 pop {r4, pc} + 800a71c: 0800f9f4 .word 0x0800f9f4 + 800a720: c920c240 .word 0xc920c240 + 800a724: 002ab980 .word 0x002ab980 -0800a8d0 : - 800a8d0: b537 push {r0, r1, r2, r4, r5, lr} - 800a8d2: 4b0b ldr r3, [pc, #44] ; (800a900 ) - 800a8d4: 7802 ldrb r2, [r0, #0] - 800a8d6: 681b ldr r3, [r3, #0] - 800a8d8: 210c movs r1, #12 - 800a8da: fb01 3302 mla r3, r1, r2, r3 - 800a8de: 7a5b ldrb r3, [r3, #9] - 800a8e0: eb03 0443 add.w r4, r3, r3, lsl #1 - 800a8e4: 4b07 ldr r3, [pc, #28] ; (800a904 ) - 800a8e6: 681d ldr r5, [r3, #0] - 800a8e8: 6903 ldr r3, [r0, #16] - 800a8ea: 9300 str r3, [sp, #0] - 800a8ec: 68c3 ldr r3, [r0, #12] - 800a8ee: 7842 ldrb r2, [r0, #1] - 800a8f0: 6881 ldr r1, [r0, #8] - 800a8f2: eb05 00c4 add.w r0, r5, r4, lsl #3 - 800a8f6: f000 fcdf bl 800b2b8 - 800a8fa: b003 add sp, #12 - 800a8fc: bd30 pop {r4, r5, pc} - 800a8fe: bf00 nop - 800a900: 200019c4 .word 0x200019c4 - 800a904: 200019c0 .word 0x200019c0 +0800a728 : + 800a728: b5f0 push {r4, r5, r6, r7, lr} + 800a72a: 4b11 ldr r3, [pc, #68] ; (800a770 ) + 800a72c: b085 sub sp, #20 + 800a72e: 460c mov r4, r1 + 800a730: 4910 ldr r1, [pc, #64] ; (800a774 ) + 800a732: 561f ldrsb r7, [r3, r0] + 800a734: 4605 mov r5, r0 + 800a736: f001 f849 bl 800b7cc + 800a73a: 4b0f ldr r3, [pc, #60] ; (800a778 ) + 800a73c: b2e4 uxtb r4, r4 + 800a73e: 6a5e ldr r6, [r3, #36] ; 0x24 + 800a740: 2d07 cmp r5, #7 + 800a742: f04f 0301 mov.w r3, #1 + 800a746: e9cd 4302 strd r4, r3, [sp, #8] + 800a74a: 4601 mov r1, r0 + 800a74c: d10a bne.n 800a764 + 800a74e: 2205 movs r2, #5 + 800a750: 2300 movs r3, #0 + 800a752: e9cd 2300 strd r2, r3, [sp] + 800a756: f44f 727a mov.w r2, #1000 ; 0x3e8 + 800a75a: 437a muls r2, r7 + 800a75c: 4618 mov r0, r3 + 800a75e: 47b0 blx r6 + 800a760: b005 add sp, #20 + 800a762: bdf0 pop {r4, r5, r6, r7, pc} + 800a764: 2208 movs r2, #8 + 800a766: 2000 movs r0, #0 + 800a768: e9cd 2000 strd r2, r0, [sp] + 800a76c: 463a mov r2, r7 + 800a76e: e7f5 b.n 800a75c + 800a770: 0800f33f .word 0x0800f33f + 800a774: 0800f318 .word 0x0800f318 + 800a778: 0800f9f4 .word 0x0800f9f4 -0800a908 : - 800a908: b570 push {r4, r5, r6, lr} - 800a90a: b086 sub sp, #24 - 800a90c: 7b02 ldrb r2, [r0, #12] - 800a90e: 2364 movs r3, #100 ; 0x64 - 800a910: f8ad 3000 strh.w r3, [sp] - 800a914: 2a01 cmp r2, #1 - 800a916: f04f 0300 mov.w r3, #0 - 800a91a: e9cd 3301 strd r3, r3, [sp, #4] - 800a91e: e9cd 3303 strd r3, r3, [sp, #12] - 800a922: f88d 3002 strb.w r3, [sp, #2] - 800a926: f88d 3014 strb.w r3, [sp, #20] - 800a92a: d030 beq.n 800a98e - 800a92c: 2a02 cmp r2, #2 - 800a92e: d039 beq.n 800a9a4 - 800a930: bb5a cbnz r2, 800a98a - 800a932: 6803 ldr r3, [r0, #0] - 800a934: b34b cbz r3, 800a98a - 800a936: 6843 ldr r3, [r0, #4] - 800a938: b33b cbz r3, 800a98a - 800a93a: 4d1f ldr r5, [pc, #124] ; (800a9b8 ) - 800a93c: 6880 ldr r0, [r0, #8] - 800a93e: 602b str r3, [r5, #0] - 800a940: 4b1e ldr r3, [pc, #120] ; (800a9bc ) - 800a942: 2218 movs r2, #24 - 800a944: 4669 mov r1, sp - 800a946: 6018 str r0, [r3, #0] - 800a948: f001 fdca bl 800c4e0 - 800a94c: 4b1c ldr r3, [pc, #112] ; (800a9c0 ) - 800a94e: 682c ldr r4, [r5, #0] - 800a950: e893 0007 ldmia.w r3, {r0, r1, r2} - 800a954: 330c adds r3, #12 - 800a956: e884 0007 stmia.w r4, {r0, r1, r2} - 800a95a: e893 0007 ldmia.w r3, {r0, r1, r2} - 800a95e: f104 060c add.w r6, r4, #12 - 800a962: 2303 movs r3, #3 - 800a964: e886 0007 stmia.w r6, {r0, r1, r2} - 800a968: f8a4 336c strh.w r3, [r4, #876] ; 0x36c - 800a96c: 2201 movs r2, #1 - 800a96e: f504 715b add.w r1, r4, #876 ; 0x36c - 800a972: f504 7058 add.w r0, r4, #864 ; 0x360 - 800a976: f000 fc90 bl 800b29a - 800a97a: 682b ldr r3, [r5, #0] - 800a97c: f64f 72b0 movw r2, #65456 ; 0xffb0 - 800a980: f8a3 2378 strh.w r2, [r3, #888] ; 0x378 - 800a984: 2205 movs r2, #5 - 800a986: f8c3 237c str.w r2, [r3, #892] ; 0x37c - 800a98a: b006 add sp, #24 - 800a98c: bd70 pop {r4, r5, r6, pc} - 800a98e: 490a ldr r1, [pc, #40] ; (800a9b8 ) - 800a990: 6808 ldr r0, [r1, #0] - 800a992: 6043 str r3, [r0, #4] - 800a994: 6103 str r3, [r0, #16] - 800a996: f500 715b add.w r1, r0, #876 ; 0x36c - 800a99a: f500 7058 add.w r0, r0, #864 ; 0x360 - 800a99e: f000 fc7c bl 800b29a - 800a9a2: e7f2 b.n 800a98a - 800a9a4: 4b04 ldr r3, [pc, #16] ; (800a9b8 ) - 800a9a6: 681b ldr r3, [r3, #0] - 800a9a8: f8b3 2360 ldrh.w r2, [r3, #864] ; 0x360 - 800a9ac: f8b3 136c ldrh.w r1, [r3, #876] ; 0x36c - 800a9b0: 430a orrs r2, r1 - 800a9b2: f8a3 2360 strh.w r2, [r3, #864] ; 0x360 - 800a9b6: e7e8 b.n 800a98a - 800a9b8: 200019c4 .word 0x200019c4 - 800a9bc: 200019c0 .word 0x200019c0 - 800a9c0: 0800f0d8 .word 0x0800f0d8 +0800a77c : + 800a77c: b51f push {r0, r1, r2, r3, r4, lr} + 800a77e: 2300 movs r3, #0 + 800a780: 9300 str r3, [sp, #0] + 800a782: 7803 ldrb r3, [r0, #0] + 800a784: 3b01 subs r3, #1 + 800a786: 2b37 cmp r3, #55 ; 0x37 + 800a788: d821 bhi.n 800a7ce + 800a78a: e8df f003 tbb [pc, r3] + 800a78e: 241c .short 0x241c + 800a790: 1e202020 .word 0x1e202020 + 800a794: 20202020 .word 0x20202020 + 800a798: 4e454341 .word 0x4e454341 + 800a79c: 5b585520 .word 0x5b585520 + 800a7a0: 2064615e .word 0x2064615e + 800a7a4: 736e1e6c .word 0x736e1e6c + 800a7a8: 20207a78 .word 0x20207a78 + 800a7ac: 2026817d .word 0x2026817d + 800a7b0: 20202020 .word 0x20202020 + 800a7b4: 20202020 .word 0x20202020 + 800a7b8: 20202020 .word 0x20202020 + 800a7bc: 208a8583 .word 0x208a8583 + 800a7c0: 208a8320 .word 0x208a8320 + 800a7c4: 908c .short 0x908c + 800a7c6: 78c3 ldrb r3, [r0, #3] + 800a7c8: b10b cbz r3, 800a7ce + 800a7ca: 2302 movs r3, #2 + 800a7cc: 9300 str r3, [sp, #0] + 800a7ce: 9800 ldr r0, [sp, #0] + 800a7d0: b005 add sp, #20 + 800a7d2: f85d fb04 ldr.w pc, [sp], #4 + 800a7d6: 7883 ldrb r3, [r0, #2] + 800a7d8: e7f6 b.n 800a7c8 + 800a7da: 7843 ldrb r3, [r0, #1] + 800a7dc: f88d 3004 strb.w r3, [sp, #4] + 800a7e0: 2305 movs r3, #5 + 800a7e2: f88d 3005 strb.w r3, [sp, #5] + 800a7e6: 7883 ldrb r3, [r0, #2] + 800a7e8: 3b00 subs r3, #0 + 800a7ea: bf18 it ne + 800a7ec: 2301 movne r3, #1 + 800a7ee: 005b lsls r3, r3, #1 + 800a7f0: f88d 3006 strb.w r3, [sp, #6] + 800a7f4: 2310 movs r3, #16 + 800a7f6: f88d 3007 strb.w r3, [sp, #7] + 800a7fa: 4b30 ldr r3, [pc, #192] ; (800a8bc ) + 800a7fc: 681b ldr r3, [r3, #0] + 800a7fe: a801 add r0, sp, #4 + 800a800: f503 7258 add.w r2, r3, #864 ; 0x360 + 800a804: e9cd 2302 strd r2, r3, [sp, #8] + 800a808: f000 ffc0 bl 800b78c + 800a80c: 9000 str r0, [sp, #0] + 800a80e: e7de b.n 800a7ce + 800a810: 2340 movs r3, #64 ; 0x40 + 800a812: e7db b.n 800a7cc + 800a814: 2320 movs r3, #32 + 800a816: e7d9 b.n 800a7cc + 800a818: 7882 ldrb r2, [r0, #2] + 800a81a: f990 3001 ldrsb.w r3, [r0, #1] + 800a81e: b912 cbnz r2, 800a826 + 800a820: 4a27 ldr r2, [pc, #156] ; (800a8c0 ) + 800a822: 5cd3 ldrb r3, [r2, r3] + 800a824: e7d2 b.n 800a7cc + 800a826: 4a27 ldr r2, [pc, #156] ; (800a8c4 ) + 800a828: e7fb b.n 800a822 + 800a82a: 7882 ldrb r2, [r0, #2] + 800a82c: f990 3001 ldrsb.w r3, [r0, #1] + 800a830: 2a00 cmp r2, #0 + 800a832: d1f8 bne.n 800a826 + 800a834: 4a24 ldr r2, [pc, #144] ; (800a8c8 ) + 800a836: e7f4 b.n 800a822 + 800a838: f640 33b8 movw r3, #3000 ; 0xbb8 + 800a83c: e7c6 b.n 800a7cc + 800a83e: f44f 737a mov.w r3, #1000 ; 0x3e8 + 800a842: e7c3 b.n 800a7cc + 800a844: f44f 63fa mov.w r3, #2000 ; 0x7d0 + 800a848: e7c0 b.n 800a7cc + 800a84a: f241 3388 movw r3, #5000 ; 0x1388 + 800a84e: e7bd b.n 800a7cc + 800a850: f241 7370 movw r3, #6000 ; 0x1770 + 800a854: e7ba b.n 800a7cc + 800a856: 481d ldr r0, [pc, #116] ; (800a8cc ) + 800a858: f44f 717a mov.w r1, #1000 ; 0x3e8 + 800a85c: f001 fe2e bl 800c4bc + 800a860: f500 60fa add.w r0, r0, #2000 ; 0x7d0 + 800a864: e7d2 b.n 800a80c + 800a866: 4b1a ldr r3, [pc, #104] ; (800a8d0 ) + 800a868: e7b0 b.n 800a7cc + 800a86a: 4b14 ldr r3, [pc, #80] ; (800a8bc ) + 800a86c: 681b ldr r3, [r3, #0] + 800a86e: f503 7358 add.w r3, r3, #864 ; 0x360 + 800a872: e7ab b.n 800a7cc + 800a874: 4b11 ldr r3, [pc, #68] ; (800a8bc ) + 800a876: 681b ldr r3, [r3, #0] + 800a878: f503 735b add.w r3, r3, #876 ; 0x36c + 800a87c: e7a6 b.n 800a7cc + 800a87e: 2310 movs r3, #16 + 800a880: e7a4 b.n 800a7cc + 800a882: 4b0e ldr r3, [pc, #56] ; (800a8bc ) + 800a884: 681b ldr r3, [r3, #0] + 800a886: e7a1 b.n 800a7cc + 800a888: f04f 4383 mov.w r3, #1098907648 ; 0x41800000 + 800a88c: 9300 str r3, [sp, #0] + 800a88e: e79e b.n 800a7ce + 800a890: 4b10 ldr r3, [pc, #64] ; (800a8d4 ) + 800a892: e7fb b.n 800a88c + 800a894: 4b10 ldr r3, [pc, #64] ; (800a8d8 ) + 800a896: e799 b.n 800a7cc + 800a898: f240 1311 movw r3, #273 ; 0x111 + 800a89c: f8ad 3000 strh.w r3, [sp] + 800a8a0: e795 b.n 800a7ce + 800a8a2: 2303 movs r3, #3 + 800a8a4: e792 b.n 800a7cc + 800a8a6: f990 3001 ldrsb.w r3, [r0, #1] + 800a8aa: 4a0c ldr r2, [pc, #48] ; (800a8dc ) + 800a8ac: e7b9 b.n 800a822 + 800a8ae: 490c ldr r1, [pc, #48] ; (800a8e0 ) + 800a8b0: f990 0001 ldrsb.w r0, [r0, #1] + 800a8b4: f000 ff8a bl 800b7cc + 800a8b8: e7a8 b.n 800a80c + 800a8ba: bf00 nop + 800a8bc: 200019c4 .word 0x200019c4 + 800a8c0: 0800f3c7 .word 0x0800f3c7 + 800a8c4: 0800f3cf .word 0x0800f3cf + 800a8c8: 0800f3d7 .word 0x0800f3d7 + 800a8cc: fffffc18 .word 0xfffffc18 + 800a8d0: 3706ea00 .word 0x3706ea00 + 800a8d4: 4009999a .word 0x4009999a + 800a8d8: 3709f740 .word 0x3709f740 + 800a8dc: 0800f33f .word 0x0800f33f + 800a8e0: 0800f318 .word 0x0800f318 -0800a9c4 : - 800a9c4: b508 push {r3, lr} - 800a9c6: 4603 mov r3, r0 - 800a9c8: 290a cmp r1, #10 - 800a9ca: d824 bhi.n 800aa16 - 800a9cc: e8df f001 tbb [pc, r1] - 800a9d0: 23232306 .word 0x23232306 - 800a9d4: 1b160b23 .word 0x1b160b23 - 800a9d8: 2123 .short 0x2123 - 800a9da: 21 .byte 0x21 - 800a9db: 00 .byte 0x00 - 800a9dc: e8bd 4008 ldmia.w sp!, {r3, lr} - 800a9e0: 6800 ldr r0, [r0, #0] - 800a9e2: f7ff be83 b.w 800a6ec - 800a9e6: f990 0000 ldrsb.w r0, [r0] - 800a9ea: 7899 ldrb r1, [r3, #2] - 800a9ec: 2205 movs r2, #5 - 800a9ee: b971 cbnz r1, 800aa0e - 800a9f0: f000 fc13 bl 800b21a - 800a9f4: 3800 subs r0, #0 - 800a9f6: bf18 it ne - 800a9f8: 2001 movne r0, #1 - 800a9fa: bd08 pop {r3, pc} - 800a9fc: 2205 movs r2, #5 - 800a9fe: f993 0000 ldrsb.w r0, [r3] - 800aa02: 2100 movs r1, #0 - 800aa04: e7f4 b.n 800a9f0 - 800aa06: f990 0000 ldrsb.w r0, [r0] - 800aa0a: 7859 ldrb r1, [r3, #1] - 800aa0c: e7ee b.n 800a9ec - 800aa0e: 2102 movs r1, #2 - 800aa10: e7ee b.n 800a9f0 - 800aa12: 2207 movs r2, #7 - 800aa14: e7f3 b.n 800a9fe - 800aa16: 2000 movs r0, #0 - 800aa18: e7ef b.n 800a9fa +0800a8e4 : + 800a8e4: b537 push {r0, r1, r2, r4, r5, lr} + 800a8e6: 4b0b ldr r3, [pc, #44] ; (800a914 ) + 800a8e8: 7802 ldrb r2, [r0, #0] + 800a8ea: 681b ldr r3, [r3, #0] + 800a8ec: 210c movs r1, #12 + 800a8ee: fb01 3302 mla r3, r1, r2, r3 + 800a8f2: 7a5b ldrb r3, [r3, #9] + 800a8f4: eb03 0443 add.w r4, r3, r3, lsl #1 + 800a8f8: 4b07 ldr r3, [pc, #28] ; (800a918 ) + 800a8fa: 681d ldr r5, [r3, #0] + 800a8fc: 6903 ldr r3, [r0, #16] + 800a8fe: 9300 str r3, [sp, #0] + 800a900: 68c3 ldr r3, [r0, #12] + 800a902: 7842 ldrb r2, [r0, #1] + 800a904: 6881 ldr r1, [r0, #8] + 800a906: eb05 00c4 add.w r0, r5, r4, lsl #3 + 800a90a: f000 fcdf bl 800b2cc + 800a90e: b003 add sp, #12 + 800a910: bd30 pop {r4, r5, pc} + 800a912: bf00 nop + 800a914: 200019c4 .word 0x200019c4 + 800a918: 200019c0 .word 0x200019c0 + +0800a91c : + 800a91c: b570 push {r4, r5, r6, lr} + 800a91e: b086 sub sp, #24 + 800a920: 7b02 ldrb r2, [r0, #12] + 800a922: 2364 movs r3, #100 ; 0x64 + 800a924: f8ad 3000 strh.w r3, [sp] + 800a928: 2a01 cmp r2, #1 + 800a92a: f04f 0300 mov.w r3, #0 + 800a92e: e9cd 3301 strd r3, r3, [sp, #4] + 800a932: e9cd 3303 strd r3, r3, [sp, #12] + 800a936: f88d 3002 strb.w r3, [sp, #2] + 800a93a: f88d 3014 strb.w r3, [sp, #20] + 800a93e: d030 beq.n 800a9a2 + 800a940: 2a02 cmp r2, #2 + 800a942: d039 beq.n 800a9b8 + 800a944: bb5a cbnz r2, 800a99e + 800a946: 6803 ldr r3, [r0, #0] + 800a948: b34b cbz r3, 800a99e + 800a94a: 6843 ldr r3, [r0, #4] + 800a94c: b33b cbz r3, 800a99e + 800a94e: 4d1f ldr r5, [pc, #124] ; (800a9cc ) + 800a950: 6880 ldr r0, [r0, #8] + 800a952: 602b str r3, [r5, #0] + 800a954: 4b1e ldr r3, [pc, #120] ; (800a9d0 ) + 800a956: 2218 movs r2, #24 + 800a958: 4669 mov r1, sp + 800a95a: 6018 str r0, [r3, #0] + 800a95c: f001 fdca bl 800c4f4 + 800a960: 4b1c ldr r3, [pc, #112] ; (800a9d4 ) + 800a962: 682c ldr r4, [r5, #0] + 800a964: e893 0007 ldmia.w r3, {r0, r1, r2} + 800a968: 330c adds r3, #12 + 800a96a: e884 0007 stmia.w r4, {r0, r1, r2} + 800a96e: e893 0007 ldmia.w r3, {r0, r1, r2} + 800a972: f104 060c add.w r6, r4, #12 + 800a976: 2303 movs r3, #3 + 800a978: e886 0007 stmia.w r6, {r0, r1, r2} + 800a97c: f8a4 336c strh.w r3, [r4, #876] ; 0x36c + 800a980: 2201 movs r2, #1 + 800a982: f504 715b add.w r1, r4, #876 ; 0x36c + 800a986: f504 7058 add.w r0, r4, #864 ; 0x360 + 800a98a: f000 fc90 bl 800b2ae + 800a98e: 682b ldr r3, [r5, #0] + 800a990: f64f 72b0 movw r2, #65456 ; 0xffb0 + 800a994: f8a3 2378 strh.w r2, [r3, #888] ; 0x378 + 800a998: 2205 movs r2, #5 + 800a99a: f8c3 237c str.w r2, [r3, #892] ; 0x37c + 800a99e: b006 add sp, #24 + 800a9a0: bd70 pop {r4, r5, r6, pc} + 800a9a2: 490a ldr r1, [pc, #40] ; (800a9cc ) + 800a9a4: 6808 ldr r0, [r1, #0] + 800a9a6: 6043 str r3, [r0, #4] + 800a9a8: 6103 str r3, [r0, #16] + 800a9aa: f500 715b add.w r1, r0, #876 ; 0x36c + 800a9ae: f500 7058 add.w r0, r0, #864 ; 0x360 + 800a9b2: f000 fc7c bl 800b2ae + 800a9b6: e7f2 b.n 800a99e + 800a9b8: 4b04 ldr r3, [pc, #16] ; (800a9cc ) + 800a9ba: 681b ldr r3, [r3, #0] + 800a9bc: f8b3 2360 ldrh.w r2, [r3, #864] ; 0x360 + 800a9c0: f8b3 136c ldrh.w r1, [r3, #876] ; 0x36c + 800a9c4: 430a orrs r2, r1 + 800a9c6: f8a3 2360 strh.w r2, [r3, #864] ; 0x360 + 800a9ca: e7e8 b.n 800a99e + 800a9cc: 200019c4 .word 0x200019c4 + 800a9d0: 200019c0 .word 0x200019c0 + 800a9d4: 0800f0e8 .word 0x0800f0e8 + +0800a9d8 : + 800a9d8: b508 push {r3, lr} + 800a9da: 4603 mov r3, r0 + 800a9dc: 290a cmp r1, #10 + 800a9de: d824 bhi.n 800aa2a + 800a9e0: e8df f001 tbb [pc, r1] + 800a9e4: 23232306 .word 0x23232306 + 800a9e8: 1b160b23 .word 0x1b160b23 + 800a9ec: 2123 .short 0x2123 + 800a9ee: 21 .byte 0x21 + 800a9ef: 00 .byte 0x00 + 800a9f0: e8bd 4008 ldmia.w sp!, {r3, lr} + 800a9f4: 6800 ldr r0, [r0, #0] + 800a9f6: f7ff be83 b.w 800a700 + 800a9fa: f990 0000 ldrsb.w r0, [r0] + 800a9fe: 7899 ldrb r1, [r3, #2] + 800aa00: 2205 movs r2, #5 + 800aa02: b971 cbnz r1, 800aa22 + 800aa04: f000 fc13 bl 800b22e + 800aa08: 3800 subs r0, #0 + 800aa0a: bf18 it ne + 800aa0c: 2001 movne r0, #1 + 800aa0e: bd08 pop {r3, pc} + 800aa10: 2205 movs r2, #5 + 800aa12: f993 0000 ldrsb.w r0, [r3] + 800aa16: 2100 movs r1, #0 + 800aa18: e7f4 b.n 800aa04 + 800aa1a: f990 0000 ldrsb.w r0, [r0] + 800aa1e: 7859 ldrb r1, [r3, #1] + 800aa20: e7ee b.n 800aa00 + 800aa22: 2102 movs r1, #2 + 800aa24: e7ee b.n 800aa04 + 800aa26: 2207 movs r2, #7 + 800aa28: e7f3 b.n 800aa12 + 800aa2a: 2000 movs r0, #0 + 800aa2c: e7ef b.n 800aa0e ... -0800aa1c : - 800aa1c: b510 push {r4, lr} - 800aa1e: 7904 ldrb r4, [r0, #4] - 800aa20: b11c cbz r4, 800aa2a - 800aa22: 2c01 cmp r4, #1 - 800aa24: d00b beq.n 800aa3e - 800aa26: 2000 movs r0, #0 - 800aa28: bd10 pop {r4, pc} - 800aa2a: 4b0a ldr r3, [pc, #40] ; (800aa54 ) - 800aa2c: 6801 ldr r1, [r0, #0] - 800aa2e: 681b ldr r3, [r3, #0] - 800aa30: 2201 movs r2, #1 - 800aa32: f503 7058 add.w r0, r3, #864 ; 0x360 - 800aa36: f000 fc30 bl 800b29a - 800aa3a: 2001 movs r0, #1 - 800aa3c: e7f4 b.n 800aa28 - 800aa3e: 4b05 ldr r3, [pc, #20] ; (800aa54 ) +0800aa30 : + 800aa30: b510 push {r4, lr} + 800aa32: 7904 ldrb r4, [r0, #4] + 800aa34: b11c cbz r4, 800aa3e + 800aa36: 2c01 cmp r4, #1 + 800aa38: d00b beq.n 800aa52 + 800aa3a: 2000 movs r0, #0 + 800aa3c: bd10 pop {r4, pc} + 800aa3e: 4b0a ldr r3, [pc, #40] ; (800aa68 ) 800aa40: 6801 ldr r1, [r0, #0] 800aa42: 681b ldr r3, [r3, #0] - 800aa44: 4622 mov r2, r4 - 800aa46: f503 705b add.w r0, r3, #876 ; 0x36c - 800aa4a: f000 fc26 bl 800b29a - 800aa4e: 4620 mov r0, r4 - 800aa50: e7ea b.n 800aa28 - 800aa52: bf00 nop - 800aa54: 200019c4 .word 0x200019c4 + 800aa44: 2201 movs r2, #1 + 800aa46: f503 7058 add.w r0, r3, #864 ; 0x360 + 800aa4a: f000 fc30 bl 800b2ae + 800aa4e: 2001 movs r0, #1 + 800aa50: e7f4 b.n 800aa3c + 800aa52: 4b05 ldr r3, [pc, #20] ; (800aa68 ) + 800aa54: 6801 ldr r1, [r0, #0] + 800aa56: 681b ldr r3, [r3, #0] + 800aa58: 4622 mov r2, r4 + 800aa5a: f503 705b add.w r0, r3, #876 ; 0x36c + 800aa5e: f000 fc26 bl 800b2ae + 800aa62: 4620 mov r0, r4 + 800aa64: e7ea b.n 800aa3c + 800aa66: bf00 nop + 800aa68: 200019c4 .word 0x200019c4 -0800aa58 : - 800aa58: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} - 800aa5a: 2805 cmp r0, #5 - 800aa5c: 4d14 ldr r5, [pc, #80] ; (800aab0 ) - 800aa5e: 461c mov r4, r3 - 800aa60: bfa8 it ge - 800aa62: 2005 movge r0, #5 - 800aa64: 7058 strb r0, [r3, #1] - 800aa66: 460e mov r6, r1 - 800aa68: 4629 mov r1, r5 - 800aa6a: 4617 mov r7, r2 - 800aa6c: f000 fea4 bl 800b7b8 - 800aa70: f994 3001 ldrsb.w r3, [r4, #1] - 800aa74: 70a0 strb r0, [r4, #2] - 800aa76: 2b07 cmp r3, #7 - 800aa78: d113 bne.n 800aaa2 - 800aa7a: 2032 movs r0, #50 ; 0x32 - 800aa7c: f000 fd9c bl 800b5b8 - 800aa80: 4b0c ldr r3, [pc, #48] ; (800aab4 ) - 800aa82: 6ddb ldr r3, [r3, #92] ; 0x5c - 800aa84: 4605 mov r5, r0 - 800aa86: 4798 blx r3 - 800aa88: f104 020c add.w r2, r4, #12 - 800aa8c: 3408 adds r4, #8 - 800aa8e: 4603 mov r3, r0 - 800aa90: 9201 str r2, [sp, #4] - 800aa92: 9400 str r4, [sp, #0] - 800aa94: 463a mov r2, r7 - 800aa96: 4631 mov r1, r6 - 800aa98: 4628 mov r0, r5 - 800aa9a: f000 fd92 bl 800b5c2 - 800aa9e: b003 add sp, #12 - 800aaa0: bdf0 pop {r4, r5, r6, r7, pc} - 800aaa2: 4a05 ldr r2, [pc, #20] ; (800aab8 ) - 800aaa4: f855 1023 ldr.w r1, [r5, r3, lsl #2] - 800aaa8: 5cd0 ldrb r0, [r2, r3] - 800aaaa: f000 fd7d bl 800b5a8 - 800aaae: e7e7 b.n 800aa80 - 800aab0: 0800f308 .word 0x0800f308 - 800aab4: 0800f9e4 .word 0x0800f9e4 - 800aab8: 0800f32f .word 0x0800f32f +0800aa6c : + 800aa6c: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} + 800aa6e: 2805 cmp r0, #5 + 800aa70: 4d14 ldr r5, [pc, #80] ; (800aac4 ) + 800aa72: 461c mov r4, r3 + 800aa74: bfa8 it ge + 800aa76: 2005 movge r0, #5 + 800aa78: 7058 strb r0, [r3, #1] + 800aa7a: 460e mov r6, r1 + 800aa7c: 4629 mov r1, r5 + 800aa7e: 4617 mov r7, r2 + 800aa80: f000 fea4 bl 800b7cc + 800aa84: f994 3001 ldrsb.w r3, [r4, #1] + 800aa88: 70a0 strb r0, [r4, #2] + 800aa8a: 2b07 cmp r3, #7 + 800aa8c: d113 bne.n 800aab6 + 800aa8e: 2032 movs r0, #50 ; 0x32 + 800aa90: f000 fd9c bl 800b5cc + 800aa94: 4b0c ldr r3, [pc, #48] ; (800aac8 ) + 800aa96: 6ddb ldr r3, [r3, #92] ; 0x5c + 800aa98: 4605 mov r5, r0 + 800aa9a: 4798 blx r3 + 800aa9c: f104 020c add.w r2, r4, #12 + 800aaa0: 3408 adds r4, #8 + 800aaa2: 4603 mov r3, r0 + 800aaa4: 9201 str r2, [sp, #4] + 800aaa6: 9400 str r4, [sp, #0] + 800aaa8: 463a mov r2, r7 + 800aaaa: 4631 mov r1, r6 + 800aaac: 4628 mov r0, r5 + 800aaae: f000 fd92 bl 800b5d6 + 800aab2: b003 add sp, #12 + 800aab4: bdf0 pop {r4, r5, r6, r7, pc} + 800aab6: 4a05 ldr r2, [pc, #20] ; (800aacc ) + 800aab8: f855 1023 ldr.w r1, [r5, r3, lsl #2] + 800aabc: 5cd0 ldrb r0, [r2, r3] + 800aabe: f000 fd7d bl 800b5bc + 800aac2: e7e7 b.n 800aa94 + 800aac4: 0800f318 .word 0x0800f318 + 800aac8: 0800f9f4 .word 0x0800f9f4 + 800aacc: 0800f33f .word 0x0800f33f -0800aabc : - 800aabc: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800aac0: 4f34 ldr r7, [pc, #208] ; (800ab94 ) - 800aac2: f990 6001 ldrsb.w r6, [r0, #1] - 800aac6: 687b ldr r3, [r7, #4] - 800aac8: f8d0 9004 ldr.w r9, [r0, #4] - 800aacc: b08b sub sp, #44 ; 0x2c - 800aace: 4604 mov r4, r0 - 800aad0: 4688 mov r8, r1 - 800aad2: 4798 blx r3 - 800aad4: 4605 mov r5, r0 - 800aad6: 2800 cmp r0, #0 - 800aad8: d159 bne.n 800ab8e - 800aada: 7ce3 ldrb r3, [r4, #19] - 800aadc: b973 cbnz r3, 800aafc - 800aade: 4a2e ldr r2, [pc, #184] ; (800ab98 ) - 800aae0: 7823 ldrb r3, [r4, #0] - 800aae2: 6812 ldr r2, [r2, #0] - 800aae4: eb03 0343 add.w r3, r3, r3, lsl #1 - 800aae8: 0099 lsls r1, r3, #2 - 800aaea: eb02 0383 add.w r3, r2, r3, lsl #2 - 800aaee: f8d3 9004 ldr.w r9, [r3, #4] - 800aaf2: f1b9 0f00 cmp.w r9, #0 - 800aaf6: d101 bne.n 800aafc - 800aaf8: f852 9001 ldr.w r9, [r2, r1] - 800aafc: 4b27 ldr r3, [pc, #156] ; (800ab9c ) - 800aafe: 4648 mov r0, r9 - 800ab00: f913 b006 ldrsb.w fp, [r3, r6] - 800ab04: 68fb ldr r3, [r7, #12] - 800ab06: 4798 blx r3 - 800ab08: 7ca3 ldrb r3, [r4, #18] - 800ab0a: f8d7 a018 ldr.w sl, [r7, #24] - 800ab0e: 8922 ldrh r2, [r4, #8] - 800ab10: 9309 str r3, [sp, #36] ; 0x24 - 800ab12: 2e07 cmp r6, #7 - 800ab14: d128 bne.n 800ab68 - 800ab16: 2300 movs r3, #0 - 800ab18: 2101 movs r1, #1 - 800ab1a: e9cd 2302 strd r2, r3, [sp, #8] - 800ab1e: 4a20 ldr r2, [pc, #128] ; (800aba0 ) - 800ab20: 9306 str r3, [sp, #24] - 800ab22: e9cd 3104 strd r3, r1, [sp, #16] - 800ab26: e9cd 3307 strd r3, r3, [sp, #28] - 800ab2a: 2105 movs r1, #5 - 800ab2c: e9cd 2100 strd r2, r1, [sp] - 800ab30: f44f 727a mov.w r2, #1000 ; 0x3e8 - 800ab34: fb02 f20b mul.w r2, r2, fp - 800ab38: f24c 3150 movw r1, #50000 ; 0xc350 - 800ab3c: 4618 mov r0, r3 - 800ab3e: 47d0 blx sl - 800ab40: 7c63 ldrb r3, [r4, #17] - 800ab42: b313 cbz r3, 800ab8a - 800ab44: 4b17 ldr r3, [pc, #92] ; (800aba4 ) - 800ab46: 5d99 ldrb r1, [r3, r6] - 800ab48: 6d7b ldr r3, [r7, #84] ; 0x54 - 800ab4a: 310d adds r1, #13 - 800ab4c: b2c9 uxtb r1, r1 - 800ab4e: 4628 mov r0, r5 - 800ab50: 4798 blx r3 - 800ab52: 7ce0 ldrb r0, [r4, #19] - 800ab54: 4632 mov r2, r6 - 800ab56: 4649 mov r1, r9 - 800ab58: f000 fe40 bl 800b7dc - 800ab5c: f888 6000 strb.w r6, [r8] - 800ab60: 2001 movs r0, #1 - 800ab62: b00b add sp, #44 ; 0x2c - 800ab64: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800ab68: 2100 movs r1, #0 - 800ab6a: 2501 movs r5, #1 - 800ab6c: 2308 movs r3, #8 - 800ab6e: e9cd 1300 strd r1, r3, [sp] - 800ab72: e9cd 1507 strd r1, r5, [sp, #28] - 800ab76: e9cd 1105 strd r1, r1, [sp, #20] - 800ab7a: e9cd 1103 strd r1, r1, [sp, #12] - 800ab7e: 9202 str r2, [sp, #8] - 800ab80: 78a1 ldrb r1, [r4, #2] - 800ab82: 462b mov r3, r5 - 800ab84: 465a mov r2, fp - 800ab86: 4628 mov r0, r5 - 800ab88: e7d9 b.n 800ab3e - 800ab8a: 4b07 ldr r3, [pc, #28] ; (800aba8 ) - 800ab8c: e7db b.n 800ab46 - 800ab8e: 2000 movs r0, #0 - 800ab90: e7e7 b.n 800ab62 - 800ab92: bf00 nop - 800ab94: 0800f9e4 .word 0x0800f9e4 - 800ab98: 200019c4 .word 0x200019c4 - 800ab9c: 0800f32f .word 0x0800f32f - 800aba0: 00014585 .word 0x00014585 - 800aba4: 0800f3c7 .word 0x0800f3c7 - 800aba8: 0800f3b7 .word 0x0800f3b7 +0800aad0 : + 800aad0: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800aad4: 4f34 ldr r7, [pc, #208] ; (800aba8 ) + 800aad6: f990 6001 ldrsb.w r6, [r0, #1] + 800aada: 687b ldr r3, [r7, #4] + 800aadc: f8d0 9004 ldr.w r9, [r0, #4] + 800aae0: b08b sub sp, #44 ; 0x2c + 800aae2: 4604 mov r4, r0 + 800aae4: 4688 mov r8, r1 + 800aae6: 4798 blx r3 + 800aae8: 4605 mov r5, r0 + 800aaea: 2800 cmp r0, #0 + 800aaec: d159 bne.n 800aba2 + 800aaee: 7ce3 ldrb r3, [r4, #19] + 800aaf0: b973 cbnz r3, 800ab10 + 800aaf2: 4a2e ldr r2, [pc, #184] ; (800abac ) + 800aaf4: 7823 ldrb r3, [r4, #0] + 800aaf6: 6812 ldr r2, [r2, #0] + 800aaf8: eb03 0343 add.w r3, r3, r3, lsl #1 + 800aafc: 0099 lsls r1, r3, #2 + 800aafe: eb02 0383 add.w r3, r2, r3, lsl #2 + 800ab02: f8d3 9004 ldr.w r9, [r3, #4] + 800ab06: f1b9 0f00 cmp.w r9, #0 + 800ab0a: d101 bne.n 800ab10 + 800ab0c: f852 9001 ldr.w r9, [r2, r1] + 800ab10: 4b27 ldr r3, [pc, #156] ; (800abb0 ) + 800ab12: 4648 mov r0, r9 + 800ab14: f913 b006 ldrsb.w fp, [r3, r6] + 800ab18: 68fb ldr r3, [r7, #12] + 800ab1a: 4798 blx r3 + 800ab1c: 7ca3 ldrb r3, [r4, #18] + 800ab1e: f8d7 a018 ldr.w sl, [r7, #24] + 800ab22: 8922 ldrh r2, [r4, #8] + 800ab24: 9309 str r3, [sp, #36] ; 0x24 + 800ab26: 2e07 cmp r6, #7 + 800ab28: d128 bne.n 800ab7c + 800ab2a: 2300 movs r3, #0 + 800ab2c: 2101 movs r1, #1 + 800ab2e: e9cd 2302 strd r2, r3, [sp, #8] + 800ab32: 4a20 ldr r2, [pc, #128] ; (800abb4 ) + 800ab34: 9306 str r3, [sp, #24] + 800ab36: e9cd 3104 strd r3, r1, [sp, #16] + 800ab3a: e9cd 3307 strd r3, r3, [sp, #28] + 800ab3e: 2105 movs r1, #5 + 800ab40: e9cd 2100 strd r2, r1, [sp] + 800ab44: f44f 727a mov.w r2, #1000 ; 0x3e8 + 800ab48: fb02 f20b mul.w r2, r2, fp + 800ab4c: f24c 3150 movw r1, #50000 ; 0xc350 + 800ab50: 4618 mov r0, r3 + 800ab52: 47d0 blx sl + 800ab54: 7c63 ldrb r3, [r4, #17] + 800ab56: b313 cbz r3, 800ab9e + 800ab58: 4b17 ldr r3, [pc, #92] ; (800abb8 ) + 800ab5a: 5d99 ldrb r1, [r3, r6] + 800ab5c: 6d7b ldr r3, [r7, #84] ; 0x54 + 800ab5e: 310d adds r1, #13 + 800ab60: b2c9 uxtb r1, r1 + 800ab62: 4628 mov r0, r5 + 800ab64: 4798 blx r3 + 800ab66: 7ce0 ldrb r0, [r4, #19] + 800ab68: 4632 mov r2, r6 + 800ab6a: 4649 mov r1, r9 + 800ab6c: f000 fe40 bl 800b7f0 + 800ab70: f888 6000 strb.w r6, [r8] + 800ab74: 2001 movs r0, #1 + 800ab76: b00b add sp, #44 ; 0x2c + 800ab78: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800ab7c: 2100 movs r1, #0 + 800ab7e: 2501 movs r5, #1 + 800ab80: 2308 movs r3, #8 + 800ab82: e9cd 1300 strd r1, r3, [sp] + 800ab86: e9cd 1507 strd r1, r5, [sp, #28] + 800ab8a: e9cd 1105 strd r1, r1, [sp, #20] + 800ab8e: e9cd 1103 strd r1, r1, [sp, #12] + 800ab92: 9202 str r2, [sp, #8] + 800ab94: 78a1 ldrb r1, [r4, #2] + 800ab96: 462b mov r3, r5 + 800ab98: 465a mov r2, fp + 800ab9a: 4628 mov r0, r5 + 800ab9c: e7d9 b.n 800ab52 + 800ab9e: 4b07 ldr r3, [pc, #28] ; (800abbc ) + 800aba0: e7db b.n 800ab5a + 800aba2: 2000 movs r0, #0 + 800aba4: e7e7 b.n 800ab76 + 800aba6: bf00 nop + 800aba8: 0800f9f4 .word 0x0800f9f4 + 800abac: 200019c4 .word 0x200019c4 + 800abb0: 0800f33f .word 0x0800f33f + 800abb4: 00014585 .word 0x00014585 + 800abb8: 0800f3d7 .word 0x0800f3d7 + 800abbc: 0800f3c7 .word 0x0800f3c7 -0800abac : - 800abac: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800abb0: b08d sub sp, #52 ; 0x34 - 800abb2: f990 3001 ldrsb.w r3, [r0, #1] - 800abb6: f8df a0fc ldr.w sl, [pc, #252] ; 800acb4 - 800abba: f8df 90fc ldr.w r9, [pc, #252] ; 800acb8 - 800abbe: e9cd 120a strd r1, r2, [sp, #40] ; 0x28 - 800abc2: 4a3e ldr r2, [pc, #248] ; (800acbc ) - 800abc4: f912 b003 ldrsb.w fp, [r2, r3] - 800abc8: 7802 ldrb r2, [r0, #0] - 800abca: f8da 3000 ldr.w r3, [sl] - 800abce: 250c movs r5, #12 - 800abd0: fb05 3302 mla r3, r5, r2, r3 - 800abd4: 4a3a ldr r2, [pc, #232] ; (800acc0 ) - 800abd6: 7a5b ldrb r3, [r3, #9] - 800abd8: 6812 ldr r2, [r2, #0] - 800abda: eb03 0343 add.w r3, r3, r3, lsl #1 - 800abde: eb02 03c3 add.w r3, r2, r3, lsl #3 - 800abe2: 4604 mov r4, r0 - 800abe4: f993 1002 ldrsb.w r1, [r3, #2] - 800abe8: f990 0002 ldrsb.w r0, [r0, #2] - 800abec: f000 fddf bl 800b7ae - 800abf0: 4934 ldr r1, [pc, #208] ; (800acc4 ) - 800abf2: 4606 mov r6, r0 - 800abf4: f994 0001 ldrsb.w r0, [r4, #1] - 800abf8: f000 fdde bl 800b7b8 - 800abfc: 68a2 ldr r2, [r4, #8] - 800abfe: 6861 ldr r1, [r4, #4] - 800ac00: 4680 mov r8, r0 - 800ac02: 4630 mov r0, r6 - 800ac04: f000 fd05 bl 800b612 - 800ac08: 7821 ldrb r1, [r4, #0] - 800ac0a: f8da 2000 ldr.w r2, [sl] - 800ac0e: f8d9 300c ldr.w r3, [r9, #12] - 800ac12: 4369 muls r1, r5 - 800ac14: 4607 mov r7, r0 - 800ac16: 5850 ldr r0, [r2, r1] - 800ac18: 4798 blx r3 - 800ac1a: f8d9 301c ldr.w r3, [r9, #28] - 800ac1e: 469c mov ip, r3 - 800ac20: f994 3001 ldrsb.w r3, [r4, #1] - 800ac24: 2500 movs r5, #0 - 800ac26: 2b07 cmp r3, #7 - 800ac28: f44f 637a mov.w r3, #4000 ; 0xfa0 - 800ac2c: e9cd 5307 strd r5, r3, [sp, #28] - 800ac30: e9cd 5505 strd r5, r5, [sp, #20] - 800ac34: d12d bne.n 800ac92 - 800ac36: 2301 movs r3, #1 - 800ac38: e9cd 5303 strd r5, r3, [sp, #12] - 800ac3c: 2305 movs r3, #5 - 800ac3e: e9cd 5301 strd r5, r3, [sp, #4] - 800ac42: f44f 737a mov.w r3, #1000 ; 0x3e8 - 800ac46: fb03 f30b mul.w r3, r3, fp - 800ac4a: 9300 str r3, [sp, #0] - 800ac4c: 4639 mov r1, r7 - 800ac4e: 4643 mov r3, r8 - 800ac50: f246 12a8 movw r2, #25000 ; 0x61a8 - 800ac54: 4628 mov r0, r5 - 800ac56: 4667 mov r7, ip - 800ac58: 47b8 blx r7 - 800ac5a: 7823 ldrb r3, [r4, #0] - 800ac5c: f8da 2000 ldr.w r2, [sl] - 800ac60: 210c movs r1, #12 - 800ac62: 434b muls r3, r1 - 800ac64: f994 1001 ldrsb.w r1, [r4, #1] - 800ac68: 58d0 ldr r0, [r2, r3] - 800ac6a: f000 fdd9 bl 800b820 - 800ac6e: 89a1 ldrh r1, [r4, #12] - 800ac70: f994 0001 ldrsb.w r0, [r4, #1] - 800ac74: f7ff fd4e bl 800a714 - 800ac78: 9b0b ldr r3, [sp, #44] ; 0x2c - 800ac7a: 7b21 ldrb r1, [r4, #12] - 800ac7c: 6018 str r0, [r3, #0] - 800ac7e: f8d9 3054 ldr.w r3, [r9, #84] ; 0x54 - 800ac82: 4628 mov r0, r5 - 800ac84: 4798 blx r3 - 800ac86: 9b0a ldr r3, [sp, #40] ; 0x28 - 800ac88: 2001 movs r0, #1 - 800ac8a: 701e strb r6, [r3, #0] - 800ac8c: b00d add sp, #52 ; 0x34 - 800ac8e: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800ac92: 2001 movs r0, #1 - 800ac94: 2308 movs r3, #8 - 800ac96: e9cd 5003 strd r5, r0, [sp, #12] - 800ac9a: e9cd 0301 strd r0, r3, [sp, #4] - 800ac9e: 462a mov r2, r5 - 800aca0: f8cd b000 str.w fp, [sp] - 800aca4: 4665 mov r5, ip - 800aca6: 4643 mov r3, r8 - 800aca8: 4639 mov r1, r7 - 800acaa: 47a8 blx r5 - 800acac: 2001 movs r0, #1 - 800acae: 4605 mov r5, r0 - 800acb0: e7d3 b.n 800ac5a - 800acb2: bf00 nop - 800acb4: 200019c4 .word 0x200019c4 - 800acb8: 0800f9e4 .word 0x0800f9e4 - 800acbc: 0800f32f .word 0x0800f32f - 800acc0: 200019c0 .word 0x200019c0 - 800acc4: 0800f308 .word 0x0800f308 +0800abc0 : + 800abc0: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800abc4: b08d sub sp, #52 ; 0x34 + 800abc6: f990 3001 ldrsb.w r3, [r0, #1] + 800abca: f8df a0fc ldr.w sl, [pc, #252] ; 800acc8 + 800abce: f8df 90fc ldr.w r9, [pc, #252] ; 800accc + 800abd2: e9cd 120a strd r1, r2, [sp, #40] ; 0x28 + 800abd6: 4a3e ldr r2, [pc, #248] ; (800acd0 ) + 800abd8: f912 b003 ldrsb.w fp, [r2, r3] + 800abdc: 7802 ldrb r2, [r0, #0] + 800abde: f8da 3000 ldr.w r3, [sl] + 800abe2: 250c movs r5, #12 + 800abe4: fb05 3302 mla r3, r5, r2, r3 + 800abe8: 4a3a ldr r2, [pc, #232] ; (800acd4 ) + 800abea: 7a5b ldrb r3, [r3, #9] + 800abec: 6812 ldr r2, [r2, #0] + 800abee: eb03 0343 add.w r3, r3, r3, lsl #1 + 800abf2: eb02 03c3 add.w r3, r2, r3, lsl #3 + 800abf6: 4604 mov r4, r0 + 800abf8: f993 1002 ldrsb.w r1, [r3, #2] + 800abfc: f990 0002 ldrsb.w r0, [r0, #2] + 800ac00: f000 fddf bl 800b7c2 + 800ac04: 4934 ldr r1, [pc, #208] ; (800acd8 ) + 800ac06: 4606 mov r6, r0 + 800ac08: f994 0001 ldrsb.w r0, [r4, #1] + 800ac0c: f000 fdde bl 800b7cc + 800ac10: 68a2 ldr r2, [r4, #8] + 800ac12: 6861 ldr r1, [r4, #4] + 800ac14: 4680 mov r8, r0 + 800ac16: 4630 mov r0, r6 + 800ac18: f000 fd05 bl 800b626 + 800ac1c: 7821 ldrb r1, [r4, #0] + 800ac1e: f8da 2000 ldr.w r2, [sl] + 800ac22: f8d9 300c ldr.w r3, [r9, #12] + 800ac26: 4369 muls r1, r5 + 800ac28: 4607 mov r7, r0 + 800ac2a: 5850 ldr r0, [r2, r1] + 800ac2c: 4798 blx r3 + 800ac2e: f8d9 301c ldr.w r3, [r9, #28] + 800ac32: 469c mov ip, r3 + 800ac34: f994 3001 ldrsb.w r3, [r4, #1] + 800ac38: 2500 movs r5, #0 + 800ac3a: 2b07 cmp r3, #7 + 800ac3c: f44f 637a mov.w r3, #4000 ; 0xfa0 + 800ac40: e9cd 5307 strd r5, r3, [sp, #28] + 800ac44: e9cd 5505 strd r5, r5, [sp, #20] + 800ac48: d12d bne.n 800aca6 + 800ac4a: 2301 movs r3, #1 + 800ac4c: e9cd 5303 strd r5, r3, [sp, #12] + 800ac50: 2305 movs r3, #5 + 800ac52: e9cd 5301 strd r5, r3, [sp, #4] + 800ac56: f44f 737a mov.w r3, #1000 ; 0x3e8 + 800ac5a: fb03 f30b mul.w r3, r3, fp + 800ac5e: 9300 str r3, [sp, #0] + 800ac60: 4639 mov r1, r7 + 800ac62: 4643 mov r3, r8 + 800ac64: f246 12a8 movw r2, #25000 ; 0x61a8 + 800ac68: 4628 mov r0, r5 + 800ac6a: 4667 mov r7, ip + 800ac6c: 47b8 blx r7 + 800ac6e: 7823 ldrb r3, [r4, #0] + 800ac70: f8da 2000 ldr.w r2, [sl] + 800ac74: 210c movs r1, #12 + 800ac76: 434b muls r3, r1 + 800ac78: f994 1001 ldrsb.w r1, [r4, #1] + 800ac7c: 58d0 ldr r0, [r2, r3] + 800ac7e: f000 fdd9 bl 800b834 + 800ac82: 89a1 ldrh r1, [r4, #12] + 800ac84: f994 0001 ldrsb.w r0, [r4, #1] + 800ac88: f7ff fd4e bl 800a728 + 800ac8c: 9b0b ldr r3, [sp, #44] ; 0x2c + 800ac8e: 7b21 ldrb r1, [r4, #12] + 800ac90: 6018 str r0, [r3, #0] + 800ac92: f8d9 3054 ldr.w r3, [r9, #84] ; 0x54 + 800ac96: 4628 mov r0, r5 + 800ac98: 4798 blx r3 + 800ac9a: 9b0a ldr r3, [sp, #40] ; 0x28 + 800ac9c: 2001 movs r0, #1 + 800ac9e: 701e strb r6, [r3, #0] + 800aca0: b00d add sp, #52 ; 0x34 + 800aca2: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800aca6: 2001 movs r0, #1 + 800aca8: 2308 movs r3, #8 + 800acaa: e9cd 5003 strd r5, r0, [sp, #12] + 800acae: e9cd 0301 strd r0, r3, [sp, #4] + 800acb2: 462a mov r2, r5 + 800acb4: f8cd b000 str.w fp, [sp] + 800acb8: 4665 mov r5, ip + 800acba: 4643 mov r3, r8 + 800acbc: 4639 mov r1, r7 + 800acbe: 47a8 blx r5 + 800acc0: 2001 movs r0, #1 + 800acc2: 4605 mov r5, r0 + 800acc4: e7d3 b.n 800ac6e + 800acc6: bf00 nop + 800acc8: 200019c4 .word 0x200019c4 + 800accc: 0800f9f4 .word 0x0800f9f4 + 800acd0: 0800f33f .word 0x0800f33f + 800acd4: 200019c0 .word 0x200019c0 + 800acd8: 0800f318 .word 0x0800f318 -0800acc8 : - 800acc8: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800accc: b08f sub sp, #60 ; 0x3c - 800acce: 2400 movs r4, #0 - 800acd0: 4605 mov r5, r0 - 800acd2: 468a mov sl, r1 - 800acd4: 4691 mov r9, r2 - 800acd6: 4698 mov r8, r3 - 800acd8: 9404 str r4, [sp, #16] - 800acda: f8ad 4014 strh.w r4, [sp, #20] - 800acde: f8ad 4002 strh.w r4, [sp, #2] - 800ace2: 2607 movs r6, #7 - 800ace4: f04f 0b01 mov.w fp, #1 - 800ace8: 7a2b ldrb r3, [r5, #8] - 800acea: 42a3 cmp r3, r4 - 800acec: d906 bls.n 800acfc - 800acee: 6868 ldr r0, [r5, #4] - 800acf0: a904 add r1, sp, #16 - 800acf2: 4420 add r0, r4 - 800acf4: f000 fbf2 bl 800b4dc - 800acf8: 2800 cmp r0, #0 - 800acfa: d15e bne.n 800adba - 800acfc: 2302 movs r3, #2 - 800acfe: f88d 3008 strb.w r3, [sp, #8] - 800ad02: a802 add r0, sp, #8 - 800ad04: 7a6b ldrb r3, [r5, #9] - 800ad06: f88d 300a strb.w r3, [sp, #10] - 800ad0a: f7ff fd2d bl 800a768 - 800ad0e: 7aab ldrb r3, [r5, #10] - 800ad10: f88d 301d strb.w r3, [sp, #29] - 800ad14: f89d 3011 ldrb.w r3, [sp, #17] - 800ad18: f88d 301e strb.w r3, [sp, #30] - 800ad1c: f89d 3012 ldrb.w r3, [sp, #18] - 800ad20: f88d 301f strb.w r3, [sp, #31] - 800ad24: f89d 3010 ldrb.w r3, [sp, #16] - 800ad28: f88d 3020 strb.w r3, [sp, #32] - 800ad2c: 7aeb ldrb r3, [r5, #11] - 800ad2e: f88d 3021 strb.w r3, [sp, #33] ; 0x21 - 800ad32: 7b2b ldrb r3, [r5, #12] - 800ad34: f88d 3022 strb.w r3, [sp, #34] ; 0x22 - 800ad38: 7b6b ldrb r3, [r5, #13] - 800ad3a: f88d 3023 strb.w r3, [sp, #35] ; 0x23 - 800ad3e: 2310 movs r3, #16 - 800ad40: f88d 601c strb.w r6, [sp, #28] - 800ad44: f88d 3024 strb.w r3, [sp, #36] ; 0x24 - 800ad48: 4e3a ldr r6, [pc, #232] ; (800ae34 ) - 800ad4a: f88d 002c strb.w r0, [sp, #44] ; 0x2c - 800ad4e: f10d 0302 add.w r3, sp, #2 - 800ad52: 930a str r3, [sp, #40] ; 0x28 - 800ad54: 2305 movs r3, #5 - 800ad56: f88d 302d strb.w r3, [sp, #45] ; 0x2d - 800ad5a: 6833 ldr r3, [r6, #0] - 800ad5c: 930c str r3, [sp, #48] ; 0x30 - 800ad5e: 2307 movs r3, #7 - 800ad60: f8ad 3034 strh.w r3, [sp, #52] ; 0x34 - 800ad64: 682b ldr r3, [r5, #0] - 800ad66: 9306 str r3, [sp, #24] - 800ad68: f10d 0212 add.w r2, sp, #18 - 800ad6c: ab04 add r3, sp, #16 - 800ad6e: f10d 0111 add.w r1, sp, #17 - 800ad72: a806 add r0, sp, #24 - 800ad74: f000 fbcc bl 800b510 - 800ad78: 2807 cmp r0, #7 - 800ad7a: 4605 mov r5, r0 - 800ad7c: d10b bne.n 800ad96 - 800ad7e: 6830 ldr r0, [r6, #0] - 800ad80: 220c movs r2, #12 - 800ad82: 2100 movs r1, #0 - 800ad84: f500 7058 add.w r0, r0, #864 ; 0x360 - 800ad88: f001 fbbe bl 800c508 - 800ad8c: 6833 ldr r3, [r6, #0] - 800ad8e: f8bd 2002 ldrh.w r2, [sp, #2] - 800ad92: f8a3 2360 strh.w r2, [r3, #864] ; 0x360 - 800ad96: f89d 3011 ldrb.w r3, [sp, #17] - 800ad9a: f88a 3000 strb.w r3, [sl] - 800ad9e: f89d 3012 ldrb.w r3, [sp, #18] - 800ada2: f889 3000 strb.w r3, [r9] - 800ada6: f89d 3010 ldrb.w r3, [sp, #16] - 800adaa: f888 3000 strb.w r3, [r8] - 800adae: 9b18 ldr r3, [sp, #96] ; 0x60 - 800adb0: 4628 mov r0, r5 - 800adb2: 701c strb r4, [r3, #0] - 800adb4: b00f add sp, #60 ; 0x3c - 800adb6: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800adba: f89d 3013 ldrb.w r3, [sp, #19] - 800adbe: f8bd 7014 ldrh.w r7, [sp, #20] - 800adc2: f8ad 7002 strh.w r7, [sp, #2] - 800adc6: 4420 add r0, r4 - 800adc8: b2c4 uxtb r4, r0 - 800adca: b9f3 cbnz r3, 800ae0a - 800adcc: b317 cbz r7, 800ae14 - 800adce: 4a19 ldr r2, [pc, #100] ; (800ae34 ) - 800add0: 2000 movs r0, #0 - 800add2: 6811 ldr r1, [r2, #0] - 800add4: 2607 movs r6, #7 - 800add6: 4602 mov r2, r0 - 800add8: f04f 0c0c mov.w ip, #12 - 800addc: 2b06 cmp r3, #6 - 800adde: d11b bne.n 800ae18 - 800ade0: fb0c fe00 mul.w lr, ip, r0 - 800ade4: f851 e00e ldr.w lr, [r1, lr] - 800ade8: f1be 0f00 cmp.w lr, #0 - 800adec: d004 beq.n 800adf8 - 800adee: fa0b f200 lsl.w r2, fp, r0 - 800adf2: 433a orrs r2, r7 - 800adf4: b297 uxth r7, r2 - 800adf6: 2201 movs r2, #1 - 800adf8: 3001 adds r0, #1 - 800adfa: 2810 cmp r0, #16 - 800adfc: d1ee bne.n 800addc - 800adfe: 2a00 cmp r2, #0 - 800ae00: f43f af72 beq.w 800ace8 - 800ae04: f8ad 7002 strh.w r7, [sp, #2] - 800ae08: e76e b.n 800ace8 - 800ae0a: 1e5a subs r2, r3, #1 - 800ae0c: 2a04 cmp r2, #4 - 800ae0e: d901 bls.n 800ae14 - 800ae10: 2b06 cmp r3, #6 - 800ae12: d0dc beq.n 800adce - 800ae14: 2606 movs r6, #6 - 800ae16: e767 b.n 800ace8 - 800ae18: fa47 fe00 asr.w lr, r7, r0 - 800ae1c: f01e 0f01 tst.w lr, #1 - 800ae20: d0ea beq.n 800adf8 - 800ae22: fb0c fe00 mul.w lr, ip, r0 - 800ae26: f851 e00e ldr.w lr, [r1, lr] - 800ae2a: f1be 0f00 cmp.w lr, #0 - 800ae2e: bf08 it eq - 800ae30: 2606 moveq r6, #6 - 800ae32: e7e1 b.n 800adf8 - 800ae34: 200019c4 .word 0x200019c4 +0800acdc : + 800acdc: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800ace0: b08f sub sp, #60 ; 0x3c + 800ace2: 2400 movs r4, #0 + 800ace4: 4605 mov r5, r0 + 800ace6: 468a mov sl, r1 + 800ace8: 4691 mov r9, r2 + 800acea: 4698 mov r8, r3 + 800acec: 9404 str r4, [sp, #16] + 800acee: f8ad 4014 strh.w r4, [sp, #20] + 800acf2: f8ad 4002 strh.w r4, [sp, #2] + 800acf6: 2607 movs r6, #7 + 800acf8: f04f 0b01 mov.w fp, #1 + 800acfc: 7a2b ldrb r3, [r5, #8] + 800acfe: 42a3 cmp r3, r4 + 800ad00: d906 bls.n 800ad10 + 800ad02: 6868 ldr r0, [r5, #4] + 800ad04: a904 add r1, sp, #16 + 800ad06: 4420 add r0, r4 + 800ad08: f000 fbf2 bl 800b4f0 + 800ad0c: 2800 cmp r0, #0 + 800ad0e: d15e bne.n 800adce + 800ad10: 2302 movs r3, #2 + 800ad12: f88d 3008 strb.w r3, [sp, #8] + 800ad16: a802 add r0, sp, #8 + 800ad18: 7a6b ldrb r3, [r5, #9] + 800ad1a: f88d 300a strb.w r3, [sp, #10] + 800ad1e: f7ff fd2d bl 800a77c + 800ad22: 7aab ldrb r3, [r5, #10] + 800ad24: f88d 301d strb.w r3, [sp, #29] + 800ad28: f89d 3011 ldrb.w r3, [sp, #17] + 800ad2c: f88d 301e strb.w r3, [sp, #30] + 800ad30: f89d 3012 ldrb.w r3, [sp, #18] + 800ad34: f88d 301f strb.w r3, [sp, #31] + 800ad38: f89d 3010 ldrb.w r3, [sp, #16] + 800ad3c: f88d 3020 strb.w r3, [sp, #32] + 800ad40: 7aeb ldrb r3, [r5, #11] + 800ad42: f88d 3021 strb.w r3, [sp, #33] ; 0x21 + 800ad46: 7b2b ldrb r3, [r5, #12] + 800ad48: f88d 3022 strb.w r3, [sp, #34] ; 0x22 + 800ad4c: 7b6b ldrb r3, [r5, #13] + 800ad4e: f88d 3023 strb.w r3, [sp, #35] ; 0x23 + 800ad52: 2310 movs r3, #16 + 800ad54: f88d 601c strb.w r6, [sp, #28] + 800ad58: f88d 3024 strb.w r3, [sp, #36] ; 0x24 + 800ad5c: 4e3a ldr r6, [pc, #232] ; (800ae48 ) + 800ad5e: f88d 002c strb.w r0, [sp, #44] ; 0x2c + 800ad62: f10d 0302 add.w r3, sp, #2 + 800ad66: 930a str r3, [sp, #40] ; 0x28 + 800ad68: 2305 movs r3, #5 + 800ad6a: f88d 302d strb.w r3, [sp, #45] ; 0x2d + 800ad6e: 6833 ldr r3, [r6, #0] + 800ad70: 930c str r3, [sp, #48] ; 0x30 + 800ad72: 2307 movs r3, #7 + 800ad74: f8ad 3034 strh.w r3, [sp, #52] ; 0x34 + 800ad78: 682b ldr r3, [r5, #0] + 800ad7a: 9306 str r3, [sp, #24] + 800ad7c: f10d 0212 add.w r2, sp, #18 + 800ad80: ab04 add r3, sp, #16 + 800ad82: f10d 0111 add.w r1, sp, #17 + 800ad86: a806 add r0, sp, #24 + 800ad88: f000 fbcc bl 800b524 + 800ad8c: 2807 cmp r0, #7 + 800ad8e: 4605 mov r5, r0 + 800ad90: d10b bne.n 800adaa + 800ad92: 6830 ldr r0, [r6, #0] + 800ad94: 220c movs r2, #12 + 800ad96: 2100 movs r1, #0 + 800ad98: f500 7058 add.w r0, r0, #864 ; 0x360 + 800ad9c: f001 fbbe bl 800c51c + 800ada0: 6833 ldr r3, [r6, #0] + 800ada2: f8bd 2002 ldrh.w r2, [sp, #2] + 800ada6: f8a3 2360 strh.w r2, [r3, #864] ; 0x360 + 800adaa: f89d 3011 ldrb.w r3, [sp, #17] + 800adae: f88a 3000 strb.w r3, [sl] + 800adb2: f89d 3012 ldrb.w r3, [sp, #18] + 800adb6: f889 3000 strb.w r3, [r9] + 800adba: f89d 3010 ldrb.w r3, [sp, #16] + 800adbe: f888 3000 strb.w r3, [r8] + 800adc2: 9b18 ldr r3, [sp, #96] ; 0x60 + 800adc4: 4628 mov r0, r5 + 800adc6: 701c strb r4, [r3, #0] + 800adc8: b00f add sp, #60 ; 0x3c + 800adca: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800adce: f89d 3013 ldrb.w r3, [sp, #19] + 800add2: f8bd 7014 ldrh.w r7, [sp, #20] + 800add6: f8ad 7002 strh.w r7, [sp, #2] + 800adda: 4420 add r0, r4 + 800addc: b2c4 uxtb r4, r0 + 800adde: b9f3 cbnz r3, 800ae1e + 800ade0: b317 cbz r7, 800ae28 + 800ade2: 4a19 ldr r2, [pc, #100] ; (800ae48 ) + 800ade4: 2000 movs r0, #0 + 800ade6: 6811 ldr r1, [r2, #0] + 800ade8: 2607 movs r6, #7 + 800adea: 4602 mov r2, r0 + 800adec: f04f 0c0c mov.w ip, #12 + 800adf0: 2b06 cmp r3, #6 + 800adf2: d11b bne.n 800ae2c + 800adf4: fb0c fe00 mul.w lr, ip, r0 + 800adf8: f851 e00e ldr.w lr, [r1, lr] + 800adfc: f1be 0f00 cmp.w lr, #0 + 800ae00: d004 beq.n 800ae0c + 800ae02: fa0b f200 lsl.w r2, fp, r0 + 800ae06: 433a orrs r2, r7 + 800ae08: b297 uxth r7, r2 + 800ae0a: 2201 movs r2, #1 + 800ae0c: 3001 adds r0, #1 + 800ae0e: 2810 cmp r0, #16 + 800ae10: d1ee bne.n 800adf0 + 800ae12: 2a00 cmp r2, #0 + 800ae14: f43f af72 beq.w 800acfc + 800ae18: f8ad 7002 strh.w r7, [sp, #2] + 800ae1c: e76e b.n 800acfc + 800ae1e: 1e5a subs r2, r3, #1 + 800ae20: 2a04 cmp r2, #4 + 800ae22: d901 bls.n 800ae28 + 800ae24: 2b06 cmp r3, #6 + 800ae26: d0dc beq.n 800ade2 + 800ae28: 2606 movs r6, #6 + 800ae2a: e767 b.n 800acfc + 800ae2c: fa47 fe00 asr.w lr, r7, r0 + 800ae30: f01e 0f01 tst.w lr, #1 + 800ae34: d0ea beq.n 800ae0c + 800ae36: fb0c fe00 mul.w lr, ip, r0 + 800ae3a: f851 e00e ldr.w lr, [r1, lr] + 800ae3e: f1be 0f00 cmp.w lr, #0 + 800ae42: bf08 it eq + 800ae44: 2606 moveq r6, #6 + 800ae46: e7e1 b.n 800ae0c + 800ae48: 200019c4 .word 0x200019c4 -0800ae38 : - 800ae38: b538 push {r3, r4, r5, lr} - 800ae3a: 4605 mov r5, r0 - 800ae3c: 6840 ldr r0, [r0, #4] - 800ae3e: f7ff fc55 bl 800a6ec - 800ae42: 2205 movs r2, #5 - 800ae44: 1d84 adds r4, r0, #6 - 800ae46: 2100 movs r1, #0 - 800ae48: f995 0000 ldrsb.w r0, [r5] - 800ae4c: b2e4 uxtb r4, r4 - 800ae4e: f000 f9e4 bl 800b21a - 800ae52: b908 cbnz r0, 800ae58 - 800ae54: f004 04fd and.w r4, r4, #253 ; 0xfd - 800ae58: f995 0001 ldrsb.w r0, [r5, #1] - 800ae5c: 2207 movs r2, #7 - 800ae5e: 2100 movs r1, #0 - 800ae60: f000 f9db bl 800b21a - 800ae64: b908 cbnz r0, 800ae6a - 800ae66: f004 04fb and.w r4, r4, #251 ; 0xfb - 800ae6a: 4620 mov r0, r4 - 800ae6c: bd38 pop {r3, r4, r5, pc} +0800ae4c : + 800ae4c: b538 push {r3, r4, r5, lr} + 800ae4e: 4605 mov r5, r0 + 800ae50: 6840 ldr r0, [r0, #4] + 800ae52: f7ff fc55 bl 800a700 + 800ae56: 2205 movs r2, #5 + 800ae58: 1d84 adds r4, r0, #6 + 800ae5a: 2100 movs r1, #0 + 800ae5c: f995 0000 ldrsb.w r0, [r5] + 800ae60: b2e4 uxtb r4, r4 + 800ae62: f000 f9e4 bl 800b22e + 800ae66: b908 cbnz r0, 800ae6c + 800ae68: f004 04fd and.w r4, r4, #253 ; 0xfd + 800ae6c: f995 0001 ldrsb.w r0, [r5, #1] + 800ae70: 2207 movs r2, #7 + 800ae72: 2100 movs r1, #0 + 800ae74: f000 f9db bl 800b22e + 800ae78: b908 cbnz r0, 800ae7e + 800ae7a: f004 04fb and.w r4, r4, #251 ; 0xfb + 800ae7e: 4620 mov r0, r4 + 800ae80: bd38 pop {r3, r4, r5, pc} -0800ae6e : - 800ae6e: 2000 movs r0, #0 - 800ae70: 4770 bx lr +0800ae82 : + 800ae82: 2000 movs r0, #0 + 800ae84: 4770 bx lr ... -0800ae74 : - 800ae74: b510 push {r4, lr} - 800ae76: 7803 ldrb r3, [r0, #0] - 800ae78: 2b0f cmp r3, #15 - 800ae7a: 4604 mov r4, r0 - 800ae7c: d818 bhi.n 800aeb0 - 800ae7e: 6840 ldr r0, [r0, #4] - 800ae80: f7ff fc34 bl 800a6ec - 800ae84: 7822 ldrb r2, [r4, #0] - 800ae86: 490b ldr r1, [pc, #44] ; (800aeb4 ) - 800ae88: eb02 0242 add.w r2, r2, r2, lsl #1 - 800ae8c: 6809 ldr r1, [r1, #0] - 800ae8e: 1c83 adds r3, r0, #2 - 800ae90: eb01 0082 add.w r0, r1, r2, lsl #2 - 800ae94: f851 2022 ldr.w r2, [r1, r2, lsl #2] - 800ae98: b2db uxtb r3, r3 - 800ae9a: b91a cbnz r2, 800aea4 - 800ae9c: f003 03fd and.w r3, r3, #253 ; 0xfd - 800aea0: b258 sxtb r0, r3 - 800aea2: bd10 pop {r4, pc} - 800aea4: 2b03 cmp r3, #3 - 800aea6: bf06 itte eq - 800aea8: 6862 ldreq r2, [r4, #4] - 800aeaa: 6042 streq r2, [r0, #4] - 800aeac: 2302 movne r3, #2 - 800aeae: e7f7 b.n 800aea0 - 800aeb0: 2000 movs r0, #0 - 800aeb2: e7f6 b.n 800aea2 - 800aeb4: 200019c4 .word 0x200019c4 +0800ae88 : + 800ae88: b510 push {r4, lr} + 800ae8a: 7803 ldrb r3, [r0, #0] + 800ae8c: 2b0f cmp r3, #15 + 800ae8e: 4604 mov r4, r0 + 800ae90: d818 bhi.n 800aec4 + 800ae92: 6840 ldr r0, [r0, #4] + 800ae94: f7ff fc34 bl 800a700 + 800ae98: 7822 ldrb r2, [r4, #0] + 800ae9a: 490b ldr r1, [pc, #44] ; (800aec8 ) + 800ae9c: eb02 0242 add.w r2, r2, r2, lsl #1 + 800aea0: 6809 ldr r1, [r1, #0] + 800aea2: 1c83 adds r3, r0, #2 + 800aea4: eb01 0082 add.w r0, r1, r2, lsl #2 + 800aea8: f851 2022 ldr.w r2, [r1, r2, lsl #2] + 800aeac: b2db uxtb r3, r3 + 800aeae: b91a cbnz r2, 800aeb8 + 800aeb0: f003 03fd and.w r3, r3, #253 ; 0xfd + 800aeb4: b258 sxtb r0, r3 + 800aeb6: bd10 pop {r4, pc} + 800aeb8: 2b03 cmp r3, #3 + 800aeba: bf06 itte eq + 800aebc: 6862 ldreq r2, [r4, #4] + 800aebe: 6042 streq r2, [r0, #4] + 800aec0: 2302 movne r3, #2 + 800aec2: e7f7 b.n 800aeb4 + 800aec4: 2000 movs r0, #0 + 800aec6: e7f6 b.n 800aeb6 + 800aec8: 200019c4 .word 0x200019c4 -0800aeb8 : - 800aeb8: 2002 movs r0, #2 - 800aeba: 4770 bx lr +0800aecc : + 800aecc: 2002 movs r0, #2 + 800aece: 4770 bx lr -0800aebc : - 800aebc: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800aec0: f8df 8138 ldr.w r8, [pc, #312] ; 800affc - 800aec4: 4604 mov r4, r0 - 800aec6: f8d8 0000 ldr.w r0, [r8] - 800aeca: b099 sub sp, #100 ; 0x64 - 800aecc: 4689 mov r9, r1 - 800aece: 4617 mov r7, r2 - 800aed0: 2100 movs r1, #0 - 800aed2: 461e mov r6, r3 - 800aed4: 2201 movs r2, #1 - 800aed6: 2303 movs r3, #3 - 800aed8: f500 7058 add.w r0, r0, #864 ; 0x360 - 800aedc: e9cd 1106 strd r1, r1, [sp, #24] - 800aee0: e9cd 1108 strd r1, r1, [sp, #32] - 800aee4: f88d 1014 strb.w r1, [sp, #20] - 800aee8: f88d 1015 strb.w r1, [sp, #21] - 800aeec: f8ad 3016 strh.w r3, [sp, #22] - 800aef0: f000 f9b5 bl 800b25e - 800aef4: b938 cbnz r0, 800af06 - 800aef6: f8d8 2000 ldr.w r2, [r8] - 800aefa: f8b2 3360 ldrh.w r3, [r2, #864] ; 0x360 - 800aefe: f043 0303 orr.w r3, r3, #3 - 800af02: f8a2 3360 strh.w r3, [r2, #864] ; 0x360 - 800af06: f8d8 2000 ldr.w r2, [r8] - 800af0a: 7a63 ldrb r3, [r4, #9] - 800af0c: f88d 3028 strb.w r3, [sp, #40] ; 0x28 - 800af10: f502 7158 add.w r1, r2, #864 ; 0x360 - 800af14: e9cd 120b strd r1, r2, [sp, #44] ; 0x2c - 800af18: 4a39 ldr r2, [pc, #228] ; (800b000 ) - 800af1a: f994 3008 ldrsb.w r3, [r4, #8] - 800af1e: 6812 ldr r2, [r2, #0] - 800af20: 920d str r2, [sp, #52] ; 0x34 - 800af22: f10d 0216 add.w r2, sp, #22 - 800af26: 920f str r2, [sp, #60] ; 0x3c - 800af28: 6822 ldr r2, [r4, #0] - 800af2a: 9210 str r2, [sp, #64] ; 0x40 - 800af2c: 6862 ldr r2, [r4, #4] - 800af2e: 9211 str r2, [sp, #68] ; 0x44 - 800af30: e9d4 0103 ldrd r0, r1, [r4, #12] - 800af34: 7aa2 ldrb r2, [r4, #10] - 800af36: f88d 2048 strb.w r2, [sp, #72] ; 0x48 - 800af3a: 2201 movs r2, #1 - 800af3c: f88d 2049 strb.w r2, [sp, #73] ; 0x49 - 800af40: aa13 add r2, sp, #76 ; 0x4c - 800af42: e882 0003 stmia.w r2, {r0, r1} - 800af46: 2510 movs r5, #16 - 800af48: 7d22 ldrb r2, [r4, #20] - 800af4a: 8ae1 ldrh r1, [r4, #22] - 800af4c: f88d 3029 strb.w r3, [sp, #41] ; 0x29 - 800af50: 4618 mov r0, r3 - 800af52: f88d 2054 strb.w r2, [sp, #84] ; 0x54 - 800af56: f8ad 5038 strh.w r5, [sp, #56] ; 0x38 - 800af5a: f7ff fbdb bl 800a714 - 800af5e: ab0a add r3, sp, #40 ; 0x28 - 800af60: 9317 str r3, [sp, #92] ; 0x5c - 800af62: f10d 0315 add.w r3, sp, #21 - 800af66: 9016 str r0, [sp, #88] ; 0x58 - 800af68: 9300 str r3, [sp, #0] - 800af6a: 4631 mov r1, r6 - 800af6c: 9701 str r7, [sp, #4] - 800af6e: ab05 add r3, sp, #20 - 800af70: aa06 add r2, sp, #24 - 800af72: a810 add r0, sp, #64 ; 0x40 - 800af74: f000 fbbc bl 800b6f0 - 800af78: 4606 mov r6, r0 - 800af7a: bb98 cbnz r0, 800afe4 - 800af7c: f89d 1014 ldrb.w r1, [sp, #20] - 800af80: 4f20 ldr r7, [pc, #128] ; (800b004 ) - 800af82: 3901 subs r1, #1 - 800af84: f001 fa90 bl 800c4a8 - 800af88: 4b1f ldr r3, [pc, #124] ; (800b008 ) - 800af8a: 691b ldr r3, [r3, #16] - 800af8c: 9303 str r3, [sp, #12] - 800af8e: b2c4 uxtb r4, r0 - 800af90: f04f 0b0c mov.w fp, #12 - 800af94: f104 0360 add.w r3, r4, #96 ; 0x60 - 800af98: 446b add r3, sp - 800af9a: f8d8 0000 ldr.w r0, [r8] - 800af9e: f813 ac48 ldrb.w sl, [r3, #-72] - 800afa2: f89d 3014 ldrb.w r3, [sp, #20] - 800afa6: fb0b fc0a mul.w ip, fp, sl - 800afaa: 3401 adds r4, #1 - 800afac: 4639 mov r1, r7 - 800afae: fbb4 f2f3 udiv r2, r4, r3 - 800afb2: fb03 4412 mls r4, r3, r2, r4 - 800afb6: f8d0 337c ldr.w r3, [r0, #892] ; 0x37c - 800afba: f9b0 2378 ldrsh.w r2, [r0, #888] ; 0x378 - 800afbe: f850 000c ldr.w r0, [r0, ip] - 800afc2: f8dd c00c ldr.w ip, [sp, #12] - 800afc6: b2e4 uxtb r4, r4 - 800afc8: 47e0 blx ip - 800afca: b128 cbz r0, 800afd8 - 800afcc: f889 a000 strb.w sl, [r9] - 800afd0: 4630 mov r0, r6 - 800afd2: b019 add sp, #100 ; 0x64 - 800afd4: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800afd8: 3d01 subs r5, #1 - 800afda: f015 05ff ands.w r5, r5, #255 ; 0xff - 800afde: d1d9 bne.n 800af94 - 800afe0: 260d movs r6, #13 - 800afe2: e7f5 b.n 800afd0 - 800afe4: 280c cmp r0, #12 - 800afe6: bf01 itttt eq - 800afe8: f8d8 2000 ldreq.w r2, [r8] - 800afec: f8b2 3360 ldrheq.w r3, [r2, #864] ; 0x360 - 800aff0: f043 0303 orreq.w r3, r3, #3 - 800aff4: f8a2 3360 strheq.w r3, [r2, #864] ; 0x360 - 800aff8: e7ea b.n 800afd0 - 800affa: bf00 nop - 800affc: 200019c4 .word 0x200019c4 - 800b000: 200019c0 .word 0x200019c0 - 800b004: 00030d40 .word 0x00030d40 - 800b008: 0800f9e4 .word 0x0800f9e4 +0800aed0 : + 800aed0: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800aed4: f8df 8138 ldr.w r8, [pc, #312] ; 800b010 + 800aed8: 4604 mov r4, r0 + 800aeda: f8d8 0000 ldr.w r0, [r8] + 800aede: b099 sub sp, #100 ; 0x64 + 800aee0: 4689 mov r9, r1 + 800aee2: 4617 mov r7, r2 + 800aee4: 2100 movs r1, #0 + 800aee6: 461e mov r6, r3 + 800aee8: 2201 movs r2, #1 + 800aeea: 2303 movs r3, #3 + 800aeec: f500 7058 add.w r0, r0, #864 ; 0x360 + 800aef0: e9cd 1106 strd r1, r1, [sp, #24] + 800aef4: e9cd 1108 strd r1, r1, [sp, #32] + 800aef8: f88d 1014 strb.w r1, [sp, #20] + 800aefc: f88d 1015 strb.w r1, [sp, #21] + 800af00: f8ad 3016 strh.w r3, [sp, #22] + 800af04: f000 f9b5 bl 800b272 + 800af08: b938 cbnz r0, 800af1a + 800af0a: f8d8 2000 ldr.w r2, [r8] + 800af0e: f8b2 3360 ldrh.w r3, [r2, #864] ; 0x360 + 800af12: f043 0303 orr.w r3, r3, #3 + 800af16: f8a2 3360 strh.w r3, [r2, #864] ; 0x360 + 800af1a: f8d8 2000 ldr.w r2, [r8] + 800af1e: 7a63 ldrb r3, [r4, #9] + 800af20: f88d 3028 strb.w r3, [sp, #40] ; 0x28 + 800af24: f502 7158 add.w r1, r2, #864 ; 0x360 + 800af28: e9cd 120b strd r1, r2, [sp, #44] ; 0x2c + 800af2c: 4a39 ldr r2, [pc, #228] ; (800b014 ) + 800af2e: f994 3008 ldrsb.w r3, [r4, #8] + 800af32: 6812 ldr r2, [r2, #0] + 800af34: 920d str r2, [sp, #52] ; 0x34 + 800af36: f10d 0216 add.w r2, sp, #22 + 800af3a: 920f str r2, [sp, #60] ; 0x3c + 800af3c: 6822 ldr r2, [r4, #0] + 800af3e: 9210 str r2, [sp, #64] ; 0x40 + 800af40: 6862 ldr r2, [r4, #4] + 800af42: 9211 str r2, [sp, #68] ; 0x44 + 800af44: e9d4 0103 ldrd r0, r1, [r4, #12] + 800af48: 7aa2 ldrb r2, [r4, #10] + 800af4a: f88d 2048 strb.w r2, [sp, #72] ; 0x48 + 800af4e: 2201 movs r2, #1 + 800af50: f88d 2049 strb.w r2, [sp, #73] ; 0x49 + 800af54: aa13 add r2, sp, #76 ; 0x4c + 800af56: e882 0003 stmia.w r2, {r0, r1} + 800af5a: 2510 movs r5, #16 + 800af5c: 7d22 ldrb r2, [r4, #20] + 800af5e: 8ae1 ldrh r1, [r4, #22] + 800af60: f88d 3029 strb.w r3, [sp, #41] ; 0x29 + 800af64: 4618 mov r0, r3 + 800af66: f88d 2054 strb.w r2, [sp, #84] ; 0x54 + 800af6a: f8ad 5038 strh.w r5, [sp, #56] ; 0x38 + 800af6e: f7ff fbdb bl 800a728 + 800af72: ab0a add r3, sp, #40 ; 0x28 + 800af74: 9317 str r3, [sp, #92] ; 0x5c + 800af76: f10d 0315 add.w r3, sp, #21 + 800af7a: 9016 str r0, [sp, #88] ; 0x58 + 800af7c: 9300 str r3, [sp, #0] + 800af7e: 4631 mov r1, r6 + 800af80: 9701 str r7, [sp, #4] + 800af82: ab05 add r3, sp, #20 + 800af84: aa06 add r2, sp, #24 + 800af86: a810 add r0, sp, #64 ; 0x40 + 800af88: f000 fbbc bl 800b704 + 800af8c: 4606 mov r6, r0 + 800af8e: bb98 cbnz r0, 800aff8 + 800af90: f89d 1014 ldrb.w r1, [sp, #20] + 800af94: 4f20 ldr r7, [pc, #128] ; (800b018 ) + 800af96: 3901 subs r1, #1 + 800af98: f001 fa90 bl 800c4bc + 800af9c: 4b1f ldr r3, [pc, #124] ; (800b01c ) + 800af9e: 691b ldr r3, [r3, #16] + 800afa0: 9303 str r3, [sp, #12] + 800afa2: b2c4 uxtb r4, r0 + 800afa4: f04f 0b0c mov.w fp, #12 + 800afa8: f104 0360 add.w r3, r4, #96 ; 0x60 + 800afac: 446b add r3, sp + 800afae: f8d8 0000 ldr.w r0, [r8] + 800afb2: f813 ac48 ldrb.w sl, [r3, #-72] + 800afb6: f89d 3014 ldrb.w r3, [sp, #20] + 800afba: fb0b fc0a mul.w ip, fp, sl + 800afbe: 3401 adds r4, #1 + 800afc0: 4639 mov r1, r7 + 800afc2: fbb4 f2f3 udiv r2, r4, r3 + 800afc6: fb03 4412 mls r4, r3, r2, r4 + 800afca: f8d0 337c ldr.w r3, [r0, #892] ; 0x37c + 800afce: f9b0 2378 ldrsh.w r2, [r0, #888] ; 0x378 + 800afd2: f850 000c ldr.w r0, [r0, ip] + 800afd6: f8dd c00c ldr.w ip, [sp, #12] + 800afda: b2e4 uxtb r4, r4 + 800afdc: 47e0 blx ip + 800afde: b128 cbz r0, 800afec + 800afe0: f889 a000 strb.w sl, [r9] + 800afe4: 4630 mov r0, r6 + 800afe6: b019 add sp, #100 ; 0x64 + 800afe8: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800afec: 3d01 subs r5, #1 + 800afee: f015 05ff ands.w r5, r5, #255 ; 0xff + 800aff2: d1d9 bne.n 800afa8 + 800aff4: 260d movs r6, #13 + 800aff6: e7f5 b.n 800afe4 + 800aff8: 280c cmp r0, #12 + 800affa: bf01 itttt eq + 800affc: f8d8 2000 ldreq.w r2, [r8] + 800b000: f8b2 3360 ldrheq.w r3, [r2, #864] ; 0x360 + 800b004: f043 0303 orreq.w r3, r3, #3 + 800b008: f8a2 3360 strheq.w r3, [r2, #864] ; 0x360 + 800b00c: e7ea b.n 800afe4 + 800b00e: bf00 nop + 800b010: 200019c4 .word 0x200019c4 + 800b014: 200019c0 .word 0x200019c0 + 800b018: 00030d40 .word 0x00030d40 + 800b01c: 0800f9f4 .word 0x0800f9f4 -0800b00c : - 800b00c: b5f8 push {r3, r4, r5, r6, r7, lr} - 800b00e: 7906 ldrb r6, [r0, #4] - 800b010: 2e01 cmp r6, #1 - 800b012: 4605 mov r5, r0 - 800b014: d801 bhi.n 800b01a - 800b016: 2006 movs r0, #6 - 800b018: bdf8 pop {r3, r4, r5, r6, r7, pc} - 800b01a: 2e0f cmp r6, #15 - 800b01c: d82b bhi.n 800b076 - 800b01e: 6803 ldr r3, [r0, #0] - 800b020: 7a18 ldrb r0, [r3, #8] - 800b022: f340 0003 sbfx r0, r0, #0, #4 - 800b026: 2205 movs r2, #5 - 800b028: 2100 movs r1, #0 - 800b02a: b240 sxtb r0, r0 - 800b02c: f000 f8f5 bl 800b21a - 800b030: 682b ldr r3, [r5, #0] - 800b032: 4604 mov r4, r0 +0800b020 : + 800b020: b5f8 push {r3, r4, r5, r6, r7, lr} + 800b022: 7906 ldrb r6, [r0, #4] + 800b024: 2e01 cmp r6, #1 + 800b026: 4605 mov r5, r0 + 800b028: d801 bhi.n 800b02e + 800b02a: 2006 movs r0, #6 + 800b02c: bdf8 pop {r3, r4, r5, r6, r7, pc} + 800b02e: 2e0f cmp r6, #15 + 800b030: d82b bhi.n 800b08a + 800b032: 6803 ldr r3, [r0, #0] 800b034: 7a18 ldrb r0, [r3, #8] - 800b036: f340 1003 sbfx r0, r0, #4, #4 + 800b036: f340 0003 sbfx r0, r0, #0, #4 800b03a: 2205 movs r2, #5 800b03c: 2100 movs r1, #0 800b03e: b240 sxtb r0, r0 - 800b040: f000 f8eb bl 800b21a - 800b044: b1a8 cbz r0, 800b072 - 800b046: fab4 f484 clz r4, r4 - 800b04a: 0964 lsrs r4, r4, #5 - 800b04c: 6829 ldr r1, [r5, #0] - 800b04e: 7a0b ldrb r3, [r1, #8] - 800b050: 6808 ldr r0, [r1, #0] - 800b052: f343 0203 sbfx r2, r3, #0, #4 - 800b056: f343 1303 sbfx r3, r3, #4, #4 - 800b05a: b252 sxtb r2, r2 - 800b05c: b25b sxtb r3, r3 - 800b05e: 429a cmp r2, r3 - 800b060: bfc8 it gt - 800b062: 2401 movgt r4, #1 - 800b064: f7ff fb42 bl 800a6ec - 800b068: b948 cbnz r0, 800b07e - 800b06a: 2c00 cmp r4, #0 - 800b06c: d1d3 bne.n 800b016 - 800b06e: 2004 movs r0, #4 - 800b070: e7d2 b.n 800b018 - 800b072: 2401 movs r4, #1 - 800b074: e7ea b.n 800b04c - 800b076: 2003 movs r0, #3 - 800b078: e7ce b.n 800b018 - 800b07a: 2005 movs r0, #5 - 800b07c: e7cc b.n 800b018 + 800b040: f000 f8f5 bl 800b22e + 800b044: 682b ldr r3, [r5, #0] + 800b046: 4604 mov r4, r0 + 800b048: 7a18 ldrb r0, [r3, #8] + 800b04a: f340 1003 sbfx r0, r0, #4, #4 + 800b04e: 2205 movs r2, #5 + 800b050: 2100 movs r1, #0 + 800b052: b240 sxtb r0, r0 + 800b054: f000 f8eb bl 800b22e + 800b058: b1a8 cbz r0, 800b086 + 800b05a: fab4 f484 clz r4, r4 + 800b05e: 0964 lsrs r4, r4, #5 + 800b060: 6829 ldr r1, [r5, #0] + 800b062: 7a0b ldrb r3, [r1, #8] + 800b064: 6808 ldr r0, [r1, #0] + 800b066: f343 0203 sbfx r2, r3, #0, #4 + 800b06a: f343 1303 sbfx r3, r3, #4, #4 + 800b06e: b252 sxtb r2, r2 + 800b070: b25b sxtb r3, r3 + 800b072: 429a cmp r2, r3 + 800b074: bfc8 it gt + 800b076: 2401 movgt r4, #1 + 800b078: f7ff fb42 bl 800a700 + 800b07c: b948 cbnz r0, 800b092 800b07e: 2c00 cmp r4, #0 - 800b080: d1fb bne.n 800b07a - 800b082: 4f0c ldr r7, [pc, #48] ; (800b0b4 ) - 800b084: 6829 ldr r1, [r5, #0] - 800b086: 683b ldr r3, [r7, #0] - 800b088: eb06 0046 add.w r0, r6, r6, lsl #1 - 800b08c: eb03 0080 add.w r0, r3, r0, lsl #2 - 800b090: 220c movs r2, #12 - 800b092: f001 fa25 bl 800c4e0 - 800b096: 683a ldr r2, [r7, #0] - 800b098: 230c movs r3, #12 - 800b09a: fb03 2306 mla r3, r3, r6, r2 - 800b09e: 4620 mov r0, r4 - 800b0a0: 725c strb r4, [r3, #9] - 800b0a2: f8b2 1360 ldrh.w r1, [r2, #864] ; 0x360 - 800b0a6: 2301 movs r3, #1 - 800b0a8: 40b3 lsls r3, r6 - 800b0aa: 430b orrs r3, r1 - 800b0ac: f8a2 3360 strh.w r3, [r2, #864] ; 0x360 - 800b0b0: e7b2 b.n 800b018 - 800b0b2: bf00 nop - 800b0b4: 200019c4 .word 0x200019c4 + 800b080: d1d3 bne.n 800b02a + 800b082: 2004 movs r0, #4 + 800b084: e7d2 b.n 800b02c + 800b086: 2401 movs r4, #1 + 800b088: e7ea b.n 800b060 + 800b08a: 2003 movs r0, #3 + 800b08c: e7ce b.n 800b02c + 800b08e: 2005 movs r0, #5 + 800b090: e7cc b.n 800b02c + 800b092: 2c00 cmp r4, #0 + 800b094: d1fb bne.n 800b08e + 800b096: 4f0c ldr r7, [pc, #48] ; (800b0c8 ) + 800b098: 6829 ldr r1, [r5, #0] + 800b09a: 683b ldr r3, [r7, #0] + 800b09c: eb06 0046 add.w r0, r6, r6, lsl #1 + 800b0a0: eb03 0080 add.w r0, r3, r0, lsl #2 + 800b0a4: 220c movs r2, #12 + 800b0a6: f001 fa25 bl 800c4f4 + 800b0aa: 683a ldr r2, [r7, #0] + 800b0ac: 230c movs r3, #12 + 800b0ae: fb03 2306 mla r3, r3, r6, r2 + 800b0b2: 4620 mov r0, r4 + 800b0b4: 725c strb r4, [r3, #9] + 800b0b6: f8b2 1360 ldrh.w r1, [r2, #864] ; 0x360 + 800b0ba: 2301 movs r3, #1 + 800b0bc: 40b3 lsls r3, r6 + 800b0be: 430b orrs r3, r1 + 800b0c0: f8a2 3360 strh.w r3, [r2, #864] ; 0x360 + 800b0c4: e7b2 b.n 800b02c + 800b0c6: bf00 nop + 800b0c8: 200019c4 .word 0x200019c4 -0800b0b8 : - 800b0b8: b410 push {r4} - 800b0ba: 7801 ldrb r1, [r0, #0] - 800b0bc: 2901 cmp r1, #1 - 800b0be: d90e bls.n 800b0de - 800b0c0: 4b08 ldr r3, [pc, #32] ; (800b0e4 ) - 800b0c2: 6818 ldr r0, [r3, #0] - 800b0c4: 230c movs r3, #12 - 800b0c6: 434b muls r3, r1 - 800b0c8: 18c4 adds r4, r0, r3 - 800b0ca: 2200 movs r2, #0 - 800b0cc: 50c2 str r2, [r0, r3] - 800b0ce: e9c4 2201 strd r2, r2, [r4, #4] - 800b0d2: f500 7058 add.w r0, r0, #864 ; 0x360 - 800b0d6: bc10 pop {r4} - 800b0d8: 2210 movs r2, #16 - 800b0da: f000 b8a7 b.w 800b22c - 800b0de: 2000 movs r0, #0 - 800b0e0: bc10 pop {r4} - 800b0e2: 4770 bx lr - 800b0e4: 200019c4 .word 0x200019c4 +0800b0cc : + 800b0cc: b410 push {r4} + 800b0ce: 7801 ldrb r1, [r0, #0] + 800b0d0: 2901 cmp r1, #1 + 800b0d2: d90e bls.n 800b0f2 + 800b0d4: 4b08 ldr r3, [pc, #32] ; (800b0f8 ) + 800b0d6: 6818 ldr r0, [r3, #0] + 800b0d8: 230c movs r3, #12 + 800b0da: 434b muls r3, r1 + 800b0dc: 18c4 adds r4, r0, r3 + 800b0de: 2200 movs r2, #0 + 800b0e0: 50c2 str r2, [r0, r3] + 800b0e2: e9c4 2201 strd r2, r2, [r4, #4] + 800b0e6: f500 7058 add.w r0, r0, #864 ; 0x360 + 800b0ea: bc10 pop {r4} + 800b0ec: 2210 movs r2, #16 + 800b0ee: f000 b8a7 b.w 800b240 + 800b0f2: 2000 movs r0, #0 + 800b0f4: bc10 pop {r4} + 800b0f6: 4770 bx lr + 800b0f8: 200019c4 .word 0x200019c4 -0800b0e8 : - 800b0e8: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800b0ec: b086 sub sp, #24 - 800b0ee: 2350 movs r3, #80 ; 0x50 - 800b0f0: f88d 3014 strb.w r3, [sp, #20] - 800b0f4: 7a03 ldrb r3, [r0, #8] - 800b0f6: 2b10 cmp r3, #16 - 800b0f8: 4607 mov r7, r0 - 800b0fa: d130 bne.n 800b15e - 800b0fc: 6843 ldr r3, [r0, #4] - 800b0fe: 7bdd ldrb r5, [r3, #15] - 800b100: bb6d cbnz r5, 800b15e - 800b102: 2402 movs r4, #2 - 800b104: 46a8 mov r8, r5 - 800b106: 2664 movs r6, #100 ; 0x64 - 800b108: 2c06 cmp r4, #6 - 800b10a: d814 bhi.n 800b136 - 800b10c: 687a ldr r2, [r7, #4] - 800b10e: 5d53 ldrb r3, [r2, r5] - 800b110: 9303 str r3, [sp, #12] - 800b112: 442a add r2, r5 - 800b114: 7851 ldrb r1, [r2, #1] - 800b116: ea43 2301 orr.w r3, r3, r1, lsl #8 - 800b11a: 9303 str r3, [sp, #12] - 800b11c: 7892 ldrb r2, [r2, #2] - 800b11e: ea43 4302 orr.w r3, r3, r2, lsl #16 - 800b122: 4373 muls r3, r6 - 800b124: e9cd 3803 strd r3, r8, [sp, #12] - 800b128: b963 cbnz r3, 800b144 - 800b12a: 4668 mov r0, sp - 800b12c: f88d 4000 strb.w r4, [sp] - 800b130: f7ff ffc2 bl 800b0b8 - 800b134: e00d b.n 800b152 - 800b136: f8cd 800c str.w r8, [sp, #12] - 800b13a: f88d 8014 strb.w r8, [sp, #20] - 800b13e: f8cd 8010 str.w r8, [sp, #16] - 800b142: e7f2 b.n 800b12a - 800b144: ab03 add r3, sp, #12 - 800b146: a801 add r0, sp, #4 - 800b148: 9301 str r3, [sp, #4] - 800b14a: f88d 4008 strb.w r4, [sp, #8] - 800b14e: f7ff ff5d bl 800b00c - 800b152: 3401 adds r4, #1 - 800b154: b2e4 uxtb r4, r4 - 800b156: 2c10 cmp r4, #16 - 800b158: f105 0503 add.w r5, r5, #3 - 800b15c: d1d4 bne.n 800b108 - 800b15e: b006 add sp, #24 - 800b160: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} +0800b0fc : + 800b0fc: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800b100: b086 sub sp, #24 + 800b102: 2350 movs r3, #80 ; 0x50 + 800b104: f88d 3014 strb.w r3, [sp, #20] + 800b108: 7a03 ldrb r3, [r0, #8] + 800b10a: 2b10 cmp r3, #16 + 800b10c: 4607 mov r7, r0 + 800b10e: d130 bne.n 800b172 + 800b110: 6843 ldr r3, [r0, #4] + 800b112: 7bdd ldrb r5, [r3, #15] + 800b114: bb6d cbnz r5, 800b172 + 800b116: 2402 movs r4, #2 + 800b118: 46a8 mov r8, r5 + 800b11a: 2664 movs r6, #100 ; 0x64 + 800b11c: 2c06 cmp r4, #6 + 800b11e: d814 bhi.n 800b14a + 800b120: 687a ldr r2, [r7, #4] + 800b122: 5d53 ldrb r3, [r2, r5] + 800b124: 9303 str r3, [sp, #12] + 800b126: 442a add r2, r5 + 800b128: 7851 ldrb r1, [r2, #1] + 800b12a: ea43 2301 orr.w r3, r3, r1, lsl #8 + 800b12e: 9303 str r3, [sp, #12] + 800b130: 7892 ldrb r2, [r2, #2] + 800b132: ea43 4302 orr.w r3, r3, r2, lsl #16 + 800b136: 4373 muls r3, r6 + 800b138: e9cd 3803 strd r3, r8, [sp, #12] + 800b13c: b963 cbnz r3, 800b158 + 800b13e: 4668 mov r0, sp + 800b140: f88d 4000 strb.w r4, [sp] + 800b144: f7ff ffc2 bl 800b0cc + 800b148: e00d b.n 800b166 + 800b14a: f8cd 800c str.w r8, [sp, #12] + 800b14e: f88d 8014 strb.w r8, [sp, #20] + 800b152: f8cd 8010 str.w r8, [sp, #16] + 800b156: e7f2 b.n 800b13e + 800b158: ab03 add r3, sp, #12 + 800b15a: a801 add r0, sp, #4 + 800b15c: 9301 str r3, [sp, #4] + 800b15e: f88d 4008 strb.w r4, [sp, #8] + 800b162: f7ff ff5d bl 800b020 + 800b166: 3401 adds r4, #1 + 800b168: b2e4 uxtb r4, r4 + 800b16a: 2c10 cmp r4, #16 + 800b16c: f105 0503 add.w r5, r5, #3 + 800b170: d1d4 bne.n 800b11c + 800b172: b006 add sp, #24 + 800b174: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} -0800b164 : - 800b164: b51f push {r0, r1, r2, r3, r4, lr} - 800b166: 6802 ldr r2, [r0, #0] - 800b168: 7903 ldrb r3, [r0, #4] - 800b16a: 6811 ldr r1, [r2, #0] - 800b16c: b951 cbnz r1, 800b184 - 800b16e: a801 add r0, sp, #4 - 800b170: f88d 3004 strb.w r3, [sp, #4] - 800b174: f7ff ffa0 bl 800b0b8 - 800b178: b978 cbnz r0, 800b19a - 800b17a: 2000 movs r0, #0 - 800b17c: b240 sxtb r0, r0 - 800b17e: b005 add sp, #20 - 800b180: f85d fb04 ldr.w pc, [sp], #4 - 800b184: a802 add r0, sp, #8 - 800b186: 9202 str r2, [sp, #8] - 800b188: f88d 300c strb.w r3, [sp, #12] - 800b18c: f7ff ff3e bl 800b00c - 800b190: 2806 cmp r0, #6 - 800b192: d8f2 bhi.n 800b17a - 800b194: 4b02 ldr r3, [pc, #8] ; (800b1a0 ) - 800b196: 5c18 ldrb r0, [r3, r0] - 800b198: e7f0 b.n 800b17c - 800b19a: 2003 movs r0, #3 - 800b19c: e7ee b.n 800b17c - 800b19e: bf00 nop - 800b1a0: 0800f328 .word 0x0800f328 +0800b178 : + 800b178: b51f push {r0, r1, r2, r3, r4, lr} + 800b17a: 6802 ldr r2, [r0, #0] + 800b17c: 7903 ldrb r3, [r0, #4] + 800b17e: 6811 ldr r1, [r2, #0] + 800b180: b951 cbnz r1, 800b198 + 800b182: a801 add r0, sp, #4 + 800b184: f88d 3004 strb.w r3, [sp, #4] + 800b188: f7ff ffa0 bl 800b0cc + 800b18c: b978 cbnz r0, 800b1ae + 800b18e: 2000 movs r0, #0 + 800b190: b240 sxtb r0, r0 + 800b192: b005 add sp, #20 + 800b194: f85d fb04 ldr.w pc, [sp], #4 + 800b198: a802 add r0, sp, #8 + 800b19a: 9202 str r2, [sp, #8] + 800b19c: f88d 300c strb.w r3, [sp, #12] + 800b1a0: f7ff ff3e bl 800b020 + 800b1a4: 2806 cmp r0, #6 + 800b1a6: d8f2 bhi.n 800b18e + 800b1a8: 4b02 ldr r3, [pc, #8] ; (800b1b4 ) + 800b1aa: 5c18 ldrb r0, [r3, r0] + 800b1ac: e7f0 b.n 800b190 + 800b1ae: 2003 movs r0, #3 + 800b1b0: e7ee b.n 800b190 + 800b1b2: bf00 nop + 800b1b4: 0800f338 .word 0x0800f338 -0800b1a4 : - 800b1a4: 00c9 lsls r1, r1, #3 - 800b1a6: b920 cbnz r0, 800b1b2 - 800b1a8: 4b03 ldr r3, [pc, #12] ; (800b1b8 ) - 800b1aa: 440b add r3, r1 - 800b1ac: 5698 ldrsb r0, [r3, r2] - 800b1ae: b2c0 uxtb r0, r0 - 800b1b0: 4770 bx lr - 800b1b2: 4b02 ldr r3, [pc, #8] ; (800b1bc ) - 800b1b4: e7f9 b.n 800b1aa - 800b1b6: bf00 nop - 800b1b8: 0800f337 .word 0x0800f337 - 800b1bc: 0800f377 .word 0x0800f377 +0800b1b8 : + 800b1b8: 00c9 lsls r1, r1, #3 + 800b1ba: b920 cbnz r0, 800b1c6 + 800b1bc: 4b03 ldr r3, [pc, #12] ; (800b1cc ) + 800b1be: 440b add r3, r1 + 800b1c0: 5698 ldrsb r0, [r3, r2] + 800b1c2: b2c0 uxtb r0, r0 + 800b1c4: 4770 bx lr + 800b1c6: 4b02 ldr r3, [pc, #8] ; (800b1d0 ) + 800b1c8: e7f9 b.n 800b1be + 800b1ca: bf00 nop + 800b1cc: 0800f347 .word 0x0800f347 + 800b1d0: 0800f387 .word 0x0800f387 -0800b1c0 : - 800b1c0: b5f0 push {r4, r5, r6, r7, lr} - 800b1c2: 429a cmp r2, r3 - 800b1c4: 9d06 ldr r5, [sp, #24] - 800b1c6: db03 blt.n 800b1d0 - 800b1c8: f99d 3014 ldrsb.w r3, [sp, #20] - 800b1cc: 429a cmp r2, r3 - 800b1ce: dd20 ble.n 800b212 - 800b1d0: 2000 movs r0, #0 - 800b1d2: bdf0 pop {r4, r5, r6, r7, pc} - 800b1d4: eb03 0343 add.w r3, r3, r3, lsl #1 - 800b1d8: f831 c014 ldrh.w ip, [r1, r4, lsl #1] - 800b1dc: eb05 0383 add.w r3, r5, r3, lsl #2 - 800b1e0: 2600 movs r6, #0 - 800b1e2: fa4c f706 asr.w r7, ip, r6 - 800b1e6: 07ff lsls r7, r7, #31 - 800b1e8: d507 bpl.n 800b1fa - 800b1ea: 7a1f ldrb r7, [r3, #8] - 800b1ec: f007 0e0f and.w lr, r7, #15 - 800b1f0: 4572 cmp r2, lr - 800b1f2: db02 blt.n 800b1fa - 800b1f4: ebb2 1f17 cmp.w r2, r7, lsr #4 - 800b1f8: dd0d ble.n 800b216 - 800b1fa: 3601 adds r6, #1 - 800b1fc: 2e10 cmp r6, #16 - 800b1fe: f103 030c add.w r3, r3, #12 - 800b202: d1ee bne.n 800b1e2 - 800b204: 3401 adds r4, #1 - 800b206: b2e4 uxtb r4, r4 - 800b208: 0123 lsls r3, r4, #4 - 800b20a: b2db uxtb r3, r3 - 800b20c: 4298 cmp r0, r3 - 800b20e: d8e1 bhi.n 800b1d4 - 800b210: e7de b.n 800b1d0 - 800b212: 2400 movs r4, #0 - 800b214: e7f8 b.n 800b208 - 800b216: 2001 movs r0, #1 - 800b218: e7db b.n 800b1d2 +0800b1d4 : + 800b1d4: b5f0 push {r4, r5, r6, r7, lr} + 800b1d6: 429a cmp r2, r3 + 800b1d8: 9d06 ldr r5, [sp, #24] + 800b1da: db03 blt.n 800b1e4 + 800b1dc: f99d 3014 ldrsb.w r3, [sp, #20] + 800b1e0: 429a cmp r2, r3 + 800b1e2: dd20 ble.n 800b226 + 800b1e4: 2000 movs r0, #0 + 800b1e6: bdf0 pop {r4, r5, r6, r7, pc} + 800b1e8: eb03 0343 add.w r3, r3, r3, lsl #1 + 800b1ec: f831 c014 ldrh.w ip, [r1, r4, lsl #1] + 800b1f0: eb05 0383 add.w r3, r5, r3, lsl #2 + 800b1f4: 2600 movs r6, #0 + 800b1f6: fa4c f706 asr.w r7, ip, r6 + 800b1fa: 07ff lsls r7, r7, #31 + 800b1fc: d507 bpl.n 800b20e + 800b1fe: 7a1f ldrb r7, [r3, #8] + 800b200: f007 0e0f and.w lr, r7, #15 + 800b204: 4572 cmp r2, lr + 800b206: db02 blt.n 800b20e + 800b208: ebb2 1f17 cmp.w r2, r7, lsr #4 + 800b20c: dd0d ble.n 800b22a + 800b20e: 3601 adds r6, #1 + 800b210: 2e10 cmp r6, #16 + 800b212: f103 030c add.w r3, r3, #12 + 800b216: d1ee bne.n 800b1f6 + 800b218: 3401 adds r4, #1 + 800b21a: b2e4 uxtb r4, r4 + 800b21c: 0123 lsls r3, r4, #4 + 800b21e: b2db uxtb r3, r3 + 800b220: 4298 cmp r0, r3 + 800b222: d8e1 bhi.n 800b1e8 + 800b224: e7de b.n 800b1e4 + 800b226: 2400 movs r4, #0 + 800b228: e7f8 b.n 800b21c + 800b22a: 2001 movs r0, #1 + 800b22c: e7db b.n 800b1e6 -0800b21a : - 800b21a: 4288 cmp r0, r1 - 800b21c: db04 blt.n 800b228 - 800b21e: 4290 cmp r0, r2 - 800b220: bfcc ite gt - 800b222: 2000 movgt r0, #0 - 800b224: 2001 movle r0, #1 - 800b226: 4770 bx lr - 800b228: 2000 movs r0, #0 - 800b22a: 4770 bx lr +0800b22e : + 800b22e: 4288 cmp r0, r1 + 800b230: db04 blt.n 800b23c + 800b232: 4290 cmp r0, r2 + 800b234: bfcc ite gt + 800b236: 2000 movgt r0, #0 + 800b238: 2001 movle r0, #1 + 800b23a: 4770 bx lr + 800b23c: 2000 movs r0, #0 + 800b23e: 4770 bx lr -0800b22c : - 800b22c: b510 push {r4, lr} - 800b22e: 0914 lsrs r4, r2, #4 - 800b230: ebb4 1f11 cmp.w r4, r1, lsr #4 - 800b234: 4603 mov r3, r0 - 800b236: ea4f 1011 mov.w r0, r1, lsr #4 - 800b23a: d30e bcc.n 800b25a - 800b23c: 4291 cmp r1, r2 - 800b23e: d20c bcs.n 800b25a - 800b240: b202 sxth r2, r0 - 800b242: f001 010f and.w r1, r1, #15 - 800b246: f833 4012 ldrh.w r4, [r3, r2, lsl #1] - 800b24a: 2001 movs r0, #1 - 800b24c: fa00 f101 lsl.w r1, r0, r1 - 800b250: ea24 0101 bic.w r1, r4, r1 - 800b254: f823 1012 strh.w r1, [r3, r2, lsl #1] - 800b258: bd10 pop {r4, pc} - 800b25a: 2000 movs r0, #0 - 800b25c: e7fc b.n 800b258 +0800b240 : + 800b240: b510 push {r4, lr} + 800b242: 0914 lsrs r4, r2, #4 + 800b244: ebb4 1f11 cmp.w r4, r1, lsr #4 + 800b248: 4603 mov r3, r0 + 800b24a: ea4f 1011 mov.w r0, r1, lsr #4 + 800b24e: d30e bcc.n 800b26e + 800b250: 4291 cmp r1, r2 + 800b252: d20c bcs.n 800b26e + 800b254: b202 sxth r2, r0 + 800b256: f001 010f and.w r1, r1, #15 + 800b25a: f833 4012 ldrh.w r4, [r3, r2, lsl #1] + 800b25e: 2001 movs r0, #1 + 800b260: fa00 f101 lsl.w r1, r0, r1 + 800b264: ea24 0101 bic.w r1, r4, r1 + 800b268: f823 1012 strh.w r1, [r3, r2, lsl #1] + 800b26c: bd10 pop {r4, pc} + 800b26e: 2000 movs r0, #0 + 800b270: e7fc b.n 800b26c -0800b25e : - 800b25e: b5f0 push {r4, r5, r6, r7, lr} - 800b260: b128 cbz r0, 800b26e - 800b262: eb00 0541 add.w r5, r0, r1, lsl #1 - 800b266: 2701 movs r7, #1 - 800b268: 2000 movs r0, #0 - 800b26a: 4291 cmp r1, r2 - 800b26c: d300 bcc.n 800b270 - 800b26e: bdf0 pop {r4, r5, r6, r7, pc} - 800b270: 2400 movs r4, #0 - 800b272: f835 cb02 ldrh.w ip, [r5], #2 - 800b276: 4623 mov r3, r4 - 800b278: fa07 f604 lsl.w r6, r7, r4 - 800b27c: ea36 060c bics.w r6, r6, ip - 800b280: bf08 it eq - 800b282: 3301 addeq r3, #1 - 800b284: f104 0401 add.w r4, r4, #1 - 800b288: bf08 it eq - 800b28a: b2db uxtbeq r3, r3 - 800b28c: 2c10 cmp r4, #16 - 800b28e: d1f3 bne.n 800b278 - 800b290: 4418 add r0, r3 - 800b292: 3101 adds r1, #1 - 800b294: b2c0 uxtb r0, r0 - 800b296: b2c9 uxtb r1, r1 - 800b298: e7e7 b.n 800b26a +0800b272 : + 800b272: b5f0 push {r4, r5, r6, r7, lr} + 800b274: b128 cbz r0, 800b282 + 800b276: eb00 0541 add.w r5, r0, r1, lsl #1 + 800b27a: 2701 movs r7, #1 + 800b27c: 2000 movs r0, #0 + 800b27e: 4291 cmp r1, r2 + 800b280: d300 bcc.n 800b284 + 800b282: bdf0 pop {r4, r5, r6, r7, pc} + 800b284: 2400 movs r4, #0 + 800b286: f835 cb02 ldrh.w ip, [r5], #2 + 800b28a: 4623 mov r3, r4 + 800b28c: fa07 f604 lsl.w r6, r7, r4 + 800b290: ea36 060c bics.w r6, r6, ip + 800b294: bf08 it eq + 800b296: 3301 addeq r3, #1 + 800b298: f104 0401 add.w r4, r4, #1 + 800b29c: bf08 it eq + 800b29e: b2db uxtbeq r3, r3 + 800b2a0: 2c10 cmp r4, #16 + 800b2a2: d1f3 bne.n 800b28c + 800b2a4: 4418 add r0, r3 + 800b2a6: 3101 adds r1, #1 + 800b2a8: b2c0 uxtb r0, r0 + 800b2aa: b2c9 uxtb r1, r1 + 800b2ac: e7e7 b.n 800b27e -0800b29a : - 800b29a: b510 push {r4, lr} - 800b29c: b100 cbz r0, 800b2a0 - 800b29e: b949 cbnz r1, 800b2b4 - 800b2a0: bd10 pop {r4, pc} - 800b2a2: f831 4013 ldrh.w r4, [r1, r3, lsl #1] - 800b2a6: f820 4013 strh.w r4, [r0, r3, lsl #1] - 800b2aa: 3301 adds r3, #1 - 800b2ac: b2dc uxtb r4, r3 - 800b2ae: 42a2 cmp r2, r4 - 800b2b0: d8f7 bhi.n 800b2a2 - 800b2b2: e7f5 b.n 800b2a0 - 800b2b4: 2300 movs r3, #0 - 800b2b6: e7f9 b.n 800b2ac +0800b2ae : + 800b2ae: b510 push {r4, lr} + 800b2b0: b100 cbz r0, 800b2b4 + 800b2b2: b949 cbnz r1, 800b2c8 + 800b2b4: bd10 pop {r4, pc} + 800b2b6: f831 4013 ldrh.w r4, [r1, r3, lsl #1] + 800b2ba: f820 4013 strh.w r4, [r0, r3, lsl #1] + 800b2be: 3301 adds r3, #1 + 800b2c0: b2dc uxtb r4, r3 + 800b2c2: 42a2 cmp r2, r4 + 800b2c4: d8f7 bhi.n 800b2b6 + 800b2c6: e7f5 b.n 800b2b4 + 800b2c8: 2300 movs r3, #0 + 800b2ca: e7f9 b.n 800b2c0 -0800b2b8 : - 800b2b8: b082 sub sp, #8 - 800b2ba: b530 push {r4, r5, lr} - 800b2bc: 8804 ldrh r4, [r0, #0] - 800b2be: 9304 str r3, [sp, #16] - 800b2c0: b96a cbnz r2, 800b2de - 800b2c2: f5b3 6f61 cmp.w r3, #3600 ; 0xe10 - 800b2c6: d318 bcc.n 800b2fa - 800b2c8: f649 25af movw r5, #39599 ; 0x9aaf - 800b2cc: f242 7210 movw r2, #10000 ; 0x2710 - 800b2d0: 42ab cmp r3, r5 - 800b2d2: bf98 it ls - 800b2d4: f44f 727a movls.w r2, #1000 ; 0x3e8 - 800b2d8: 4294 cmp r4, r2 - 800b2da: bf38 it cc - 800b2dc: 4614 movcc r4, r2 - 800b2de: 2c01 cmp r4, #1 - 800b2e0: bf38 it cc - 800b2e2: 2401 movcc r4, #1 - 800b2e4: 4361 muls r1, r4 - 800b2e6: e8bd 4030 ldmia.w sp!, {r4, r5, lr} - 800b2ea: 68c3 ldr r3, [r0, #12] - 800b2ec: 428b cmp r3, r1 - 800b2ee: bf8c ite hi - 800b2f0: 1a5b subhi r3, r3, r1 - 800b2f2: 2300 movls r3, #0 - 800b2f4: 60c3 str r3, [r0, #12] - 800b2f6: b002 add sp, #8 - 800b2f8: 4770 bx lr - 800b2fa: 2264 movs r2, #100 ; 0x64 - 800b2fc: e7ec b.n 800b2d8 +0800b2cc : + 800b2cc: b082 sub sp, #8 + 800b2ce: b530 push {r4, r5, lr} + 800b2d0: 8804 ldrh r4, [r0, #0] + 800b2d2: 9304 str r3, [sp, #16] + 800b2d4: b96a cbnz r2, 800b2f2 + 800b2d6: f5b3 6f61 cmp.w r3, #3600 ; 0xe10 + 800b2da: d318 bcc.n 800b30e + 800b2dc: f649 25af movw r5, #39599 ; 0x9aaf + 800b2e0: f242 7210 movw r2, #10000 ; 0x2710 + 800b2e4: 42ab cmp r3, r5 + 800b2e6: bf98 it ls + 800b2e8: f44f 727a movls.w r2, #1000 ; 0x3e8 + 800b2ec: 4294 cmp r4, r2 + 800b2ee: bf38 it cc + 800b2f0: 4614 movcc r4, r2 + 800b2f2: 2c01 cmp r4, #1 + 800b2f4: bf38 it cc + 800b2f6: 2401 movcc r4, #1 + 800b2f8: 4361 muls r1, r4 + 800b2fa: e8bd 4030 ldmia.w sp!, {r4, r5, lr} + 800b2fe: 68c3 ldr r3, [r0, #12] + 800b300: 428b cmp r3, r1 + 800b302: bf8c ite hi + 800b304: 1a5b subhi r3, r3, r1 + 800b306: 2300 movls r3, #0 + 800b308: 60c3 str r3, [r0, #12] + 800b30a: b002 add sp, #8 + 800b30c: 4770 bx lr + 800b30e: 2264 movs r2, #100 ; 0x64 + 800b310: e7ec b.n 800b2ec ... -0800b300 : - 800b300: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800b304: b091 sub sp, #68 ; 0x44 - 800b306: 4615 mov r5, r2 - 800b308: f8dd 806c ldr.w r8, [sp, #108] ; 0x6c - 800b30c: 9304 str r3, [sp, #16] - 800b30e: f89d 3068 ldrb.w r3, [sp, #104] ; 0x68 - 800b312: 9309 str r3, [sp, #36] ; 0x24 - 800b314: 460c mov r4, r1 - 800b316: 4606 mov r6, r0 - 800b318: f003 fbc2 bl 800eaa0 - 800b31c: 4a68 ldr r2, [pc, #416] ; (800b4c0 ) - 800b31e: f8df b1a4 ldr.w fp, [pc, #420] ; 800b4c4 - 800b322: 9005 str r0, [sp, #20] - 800b324: f5a8 33f6 sub.w r3, r8, #125952 ; 0x1ec00 - 800b328: 3b30 subs r3, #48 ; 0x30 - 800b32a: fbb3 f3f2 udiv r3, r3, r2 - 800b32e: 4353 muls r3, r2 - 800b330: f503 32f6 add.w r2, r3, #125952 ; 0x1ec00 - 800b334: f503 33a8 add.w r3, r3, #86016 ; 0x15000 - 800b338: f503 73c0 add.w r3, r3, #384 ; 0x180 - 800b33c: 9303 str r3, [sp, #12] - 800b33e: 2318 movs r3, #24 - 800b340: fb13 4305 smlabb r3, r3, r5, r4 - 800b344: 3230 adds r2, #48 ; 0x30 - 800b346: 9206 str r2, [sp, #24] - 800b348: 9308 str r3, [sp, #32] - 800b34a: 2500 movs r5, #0 - 800b34c: f04f 3aff mov.w sl, #4294967295 - 800b350: 9b08 ldr r3, [sp, #32] - 800b352: 42a3 cmp r3, r4 - 800b354: d107 bne.n 800b366 - 800b356: 2d00 cmp r5, #0 - 800b358: bf14 ite ne - 800b35a: 4650 movne r0, sl - 800b35c: f04f 30ff moveq.w r0, #4294967295 - 800b360: b011 add sp, #68 ; 0x44 - 800b362: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800b366: f9bd 3070 ldrsh.w r3, [sp, #112] ; 0x70 - 800b36a: f8ad 302c strh.w r3, [sp, #44] ; 0x2c - 800b36e: 990b ldr r1, [sp, #44] ; 0x2c - 800b370: f8cd 806c str.w r8, [sp, #108] ; 0x6c - 800b374: 4640 mov r0, r8 - 800b376: f8cd 8028 str.w r8, [sp, #40] ; 0x28 - 800b37a: f003 fb21 bl 800e9c0 - 800b37e: f8b4 9000 ldrh.w r9, [r4] - 800b382: b96e cbnz r6, 800b3a0 - 800b384: f5b8 6f61 cmp.w r8, #3600 ; 0xe10 - 800b388: d35b bcc.n 800b442 - 800b38a: f649 22af movw r2, #39599 ; 0x9aaf - 800b38e: f242 7310 movw r3, #10000 ; 0x2710 - 800b392: 4590 cmp r8, r2 - 800b394: bf98 it ls - 800b396: f44f 737a movls.w r3, #1000 ; 0x3e8 - 800b39a: 4599 cmp r9, r3 - 800b39c: bf38 it cc - 800b39e: 4699 movcc r9, r3 - 800b3a0: 464b mov r3, r9 - 800b3a2: 2b01 cmp r3, #1 - 800b3a4: bf38 it cc - 800b3a6: 2301 movcc r3, #1 - 800b3a8: 9307 str r3, [sp, #28] - 800b3aa: 2e00 cmp r6, #0 - 800b3ac: d152 bne.n 800b454 - 800b3ae: f1b9 0f64 cmp.w r9, #100 ; 0x64 - 800b3b2: d148 bne.n 800b446 - 800b3b4: 60a0 str r0, [r4, #8] - 800b3b6: 465f mov r7, fp - 800b3b8: 68a1 ldr r1, [r4, #8] - 800b3ba: a80e add r0, sp, #56 ; 0x38 - 800b3bc: f003 fb22 bl 800ea04 - 800b3c0: 9b0f ldr r3, [sp, #60] ; 0x3c - 800b3c2: 9300 str r3, [sp, #0] - 800b3c4: e9dd 120a ldrd r1, r2, [sp, #40] ; 0x28 - 800b3c8: 9b0e ldr r3, [sp, #56] ; 0x38 - 800b3ca: a80c add r0, sp, #48 ; 0x30 - 800b3cc: f003 fa79 bl 800e8c2 - 800b3d0: 9b04 ldr r3, [sp, #16] - 800b3d2: 9a0c ldr r2, [sp, #48] ; 0x30 - 800b3d4: b90b cbnz r3, 800b3da - 800b3d6: 9b09 ldr r3, [sp, #36] ; 0x24 - 800b3d8: b12b cbz r3, 800b3e6 - 800b3da: 6923 ldr r3, [r4, #16] - 800b3dc: 42bb cmp r3, r7 - 800b3de: d102 bne.n 800b3e6 - 800b3e0: 4b39 ldr r3, [pc, #228] ; (800b4c8 ) - 800b3e2: 429a cmp r2, r3 - 800b3e4: d90d bls.n 800b402 - 800b3e6: 4b39 ldr r3, [pc, #228] ; (800b4cc ) - 800b3e8: 60e7 str r7, [r4, #12] - 800b3ea: 4598 cmp r8, r3 - 800b3ec: d909 bls.n 800b402 - 800b3ee: 2300 movs r3, #0 - 800b3f0: f8ad 3034 strh.w r3, [sp, #52] ; 0x34 - 800b3f4: 9b06 ldr r3, [sp, #24] - 800b3f6: 990d ldr r1, [sp, #52] ; 0x34 - 800b3f8: 930c str r3, [sp, #48] ; 0x30 - 800b3fa: 4618 mov r0, r3 - 800b3fc: f003 fae0 bl 800e9c0 - 800b400: 60a0 str r0, [r4, #8] - 800b402: 6860 ldr r0, [r4, #4] - 800b404: b900 cbnz r0, 800b408 - 800b406: 60e7 str r7, [r4, #12] - 800b408: 6127 str r7, [r4, #16] - 800b40a: b126 cbz r6, 800b416 - 800b40c: f003 fb52 bl 800eab4 - 800b410: 68e3 ldr r3, [r4, #12] - 800b412: 4403 add r3, r0 - 800b414: 60e3 str r3, [r4, #12] - 800b416: e9d4 3203 ldrd r3, r2, [r4, #12] - 800b41a: 4293 cmp r3, r2 - 800b41c: 9b05 ldr r3, [sp, #20] - 800b41e: 991d ldr r1, [sp, #116] ; 0x74 - 800b420: 6063 str r3, [r4, #4] - 800b422: 9b07 ldr r3, [sp, #28] - 800b424: bf88 it hi - 800b426: 60e2 strhi r2, [r4, #12] - 800b428: 434b muls r3, r1 - 800b42a: 68e1 ldr r1, [r4, #12] - 800b42c: 4299 cmp r1, r3 - 800b42e: d202 bcs.n 800b436 - 800b430: 9804 ldr r0, [sp, #16] - 800b432: b9a8 cbnz r0, 800b460 - 800b434: b1a6 cbz r6, 800b460 - 800b436: 2301 movs r3, #1 - 800b438: 441d add r5, r3 - 800b43a: 7523 strb r3, [r4, #20] - 800b43c: b2ed uxtb r5, r5 - 800b43e: 3418 adds r4, #24 - 800b440: e786 b.n 800b350 - 800b442: 2364 movs r3, #100 ; 0x64 - 800b444: e7a9 b.n 800b39a - 800b446: f5b9 7f7a cmp.w r9, #1000 ; 0x3e8 - 800b44a: bf0a itet eq - 800b44c: 4f20 ldreq r7, [pc, #128] ; (800b4d0 ) - 800b44e: 4f21 ldrne r7, [pc, #132] ; (800b4d4 ) - 800b450: 60a0 streq r0, [r4, #8] - 800b452: e7b1 b.n 800b3b8 - 800b454: 9b04 ldr r3, [sp, #16] - 800b456: b90b cbnz r3, 800b45c - 800b458: f8c4 b00c str.w fp, [r4, #12] - 800b45c: 465f mov r7, fp - 800b45e: e7d0 b.n 800b402 - 800b460: 2000 movs r0, #0 - 800b462: 4293 cmp r3, r2 - 800b464: 7520 strb r0, [r4, #20] - 800b466: d806 bhi.n 800b476 - 800b468: 1a5b subs r3, r3, r1 - 800b46a: 459a cmp sl, r3 - 800b46c: f105 0501 add.w r5, r5, #1 - 800b470: bf28 it cs - 800b472: 469a movcs sl, r3 - 800b474: b2ed uxtb r5, r5 - 800b476: 2e00 cmp r6, #0 - 800b478: d1e1 bne.n 800b43e - 800b47a: f1b9 0f64 cmp.w r9, #100 ; 0x64 - 800b47e: 4a16 ldr r2, [pc, #88] ; (800b4d8 ) - 800b480: f8ad 6034 strh.w r6, [sp, #52] ; 0x34 - 800b484: d019 beq.n 800b4ba - 800b486: f649 23b0 movw r3, #39600 ; 0x9ab0 - 800b48a: f5b9 7f7a cmp.w r9, #1000 ; 0x3e8 - 800b48e: bf18 it ne - 800b490: 4613 movne r3, r2 - 800b492: 4590 cmp r8, r2 - 800b494: bf84 itt hi - 800b496: 9a03 ldrhi r2, [sp, #12] - 800b498: 189b addhi r3, r3, r2 - 800b49a: 930c str r3, [sp, #48] ; 0x30 - 800b49c: 9b1c ldr r3, [sp, #112] ; 0x70 - 800b49e: 9300 str r3, [sp, #0] - 800b4a0: af0c add r7, sp, #48 ; 0x30 - 800b4a2: e897 0006 ldmia.w r7, {r1, r2} - 800b4a6: 9b1b ldr r3, [sp, #108] ; 0x6c - 800b4a8: 4638 mov r0, r7 - 800b4aa: f003 fa0a bl 800e8c2 - 800b4ae: e897 0003 ldmia.w r7, {r0, r1} - 800b4b2: f003 fa85 bl 800e9c0 - 800b4b6: 4682 mov sl, r0 - 800b4b8: e7c1 b.n 800b43e - 800b4ba: f44f 6361 mov.w r3, #3600 ; 0xe10 - 800b4be: e7e8 b.n 800b492 - 800b4c0: 00015180 .word 0x00015180 - 800b4c4: 001b7740 .word 0x001b7740 - 800b4c8: 0001517f .word 0x0001517f - 800b4cc: 0001ec2f .word 0x0001ec2f - 800b4d0: 0112a880 .word 0x0112a880 - 800b4d4: 02932e00 .word 0x02932e00 - 800b4d8: 0001ec30 .word 0x0001ec30 +0800b314 : + 800b314: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800b318: b091 sub sp, #68 ; 0x44 + 800b31a: 4615 mov r5, r2 + 800b31c: f8dd 806c ldr.w r8, [sp, #108] ; 0x6c + 800b320: 9304 str r3, [sp, #16] + 800b322: f89d 3068 ldrb.w r3, [sp, #104] ; 0x68 + 800b326: 9309 str r3, [sp, #36] ; 0x24 + 800b328: 460c mov r4, r1 + 800b32a: 4606 mov r6, r0 + 800b32c: f003 fbc2 bl 800eab4 + 800b330: 4a68 ldr r2, [pc, #416] ; (800b4d4 ) + 800b332: f8df b1a4 ldr.w fp, [pc, #420] ; 800b4d8 + 800b336: 9005 str r0, [sp, #20] + 800b338: f5a8 33f6 sub.w r3, r8, #125952 ; 0x1ec00 + 800b33c: 3b30 subs r3, #48 ; 0x30 + 800b33e: fbb3 f3f2 udiv r3, r3, r2 + 800b342: 4353 muls r3, r2 + 800b344: f503 32f6 add.w r2, r3, #125952 ; 0x1ec00 + 800b348: f503 33a8 add.w r3, r3, #86016 ; 0x15000 + 800b34c: f503 73c0 add.w r3, r3, #384 ; 0x180 + 800b350: 9303 str r3, [sp, #12] + 800b352: 2318 movs r3, #24 + 800b354: fb13 4305 smlabb r3, r3, r5, r4 + 800b358: 3230 adds r2, #48 ; 0x30 + 800b35a: 9206 str r2, [sp, #24] + 800b35c: 9308 str r3, [sp, #32] + 800b35e: 2500 movs r5, #0 + 800b360: f04f 3aff mov.w sl, #4294967295 + 800b364: 9b08 ldr r3, [sp, #32] + 800b366: 42a3 cmp r3, r4 + 800b368: d107 bne.n 800b37a + 800b36a: 2d00 cmp r5, #0 + 800b36c: bf14 ite ne + 800b36e: 4650 movne r0, sl + 800b370: f04f 30ff moveq.w r0, #4294967295 + 800b374: b011 add sp, #68 ; 0x44 + 800b376: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800b37a: f9bd 3070 ldrsh.w r3, [sp, #112] ; 0x70 + 800b37e: f8ad 302c strh.w r3, [sp, #44] ; 0x2c + 800b382: 990b ldr r1, [sp, #44] ; 0x2c + 800b384: f8cd 806c str.w r8, [sp, #108] ; 0x6c + 800b388: 4640 mov r0, r8 + 800b38a: f8cd 8028 str.w r8, [sp, #40] ; 0x28 + 800b38e: f003 fb21 bl 800e9d4 + 800b392: f8b4 9000 ldrh.w r9, [r4] + 800b396: b96e cbnz r6, 800b3b4 + 800b398: f5b8 6f61 cmp.w r8, #3600 ; 0xe10 + 800b39c: d35b bcc.n 800b456 + 800b39e: f649 22af movw r2, #39599 ; 0x9aaf + 800b3a2: f242 7310 movw r3, #10000 ; 0x2710 + 800b3a6: 4590 cmp r8, r2 + 800b3a8: bf98 it ls + 800b3aa: f44f 737a movls.w r3, #1000 ; 0x3e8 + 800b3ae: 4599 cmp r9, r3 + 800b3b0: bf38 it cc + 800b3b2: 4699 movcc r9, r3 + 800b3b4: 464b mov r3, r9 + 800b3b6: 2b01 cmp r3, #1 + 800b3b8: bf38 it cc + 800b3ba: 2301 movcc r3, #1 + 800b3bc: 9307 str r3, [sp, #28] + 800b3be: 2e00 cmp r6, #0 + 800b3c0: d152 bne.n 800b468 + 800b3c2: f1b9 0f64 cmp.w r9, #100 ; 0x64 + 800b3c6: d148 bne.n 800b45a + 800b3c8: 60a0 str r0, [r4, #8] + 800b3ca: 465f mov r7, fp + 800b3cc: 68a1 ldr r1, [r4, #8] + 800b3ce: a80e add r0, sp, #56 ; 0x38 + 800b3d0: f003 fb22 bl 800ea18 + 800b3d4: 9b0f ldr r3, [sp, #60] ; 0x3c + 800b3d6: 9300 str r3, [sp, #0] + 800b3d8: e9dd 120a ldrd r1, r2, [sp, #40] ; 0x28 + 800b3dc: 9b0e ldr r3, [sp, #56] ; 0x38 + 800b3de: a80c add r0, sp, #48 ; 0x30 + 800b3e0: f003 fa79 bl 800e8d6 + 800b3e4: 9b04 ldr r3, [sp, #16] + 800b3e6: 9a0c ldr r2, [sp, #48] ; 0x30 + 800b3e8: b90b cbnz r3, 800b3ee + 800b3ea: 9b09 ldr r3, [sp, #36] ; 0x24 + 800b3ec: b12b cbz r3, 800b3fa + 800b3ee: 6923 ldr r3, [r4, #16] + 800b3f0: 42bb cmp r3, r7 + 800b3f2: d102 bne.n 800b3fa + 800b3f4: 4b39 ldr r3, [pc, #228] ; (800b4dc ) + 800b3f6: 429a cmp r2, r3 + 800b3f8: d90d bls.n 800b416 + 800b3fa: 4b39 ldr r3, [pc, #228] ; (800b4e0 ) + 800b3fc: 60e7 str r7, [r4, #12] + 800b3fe: 4598 cmp r8, r3 + 800b400: d909 bls.n 800b416 + 800b402: 2300 movs r3, #0 + 800b404: f8ad 3034 strh.w r3, [sp, #52] ; 0x34 + 800b408: 9b06 ldr r3, [sp, #24] + 800b40a: 990d ldr r1, [sp, #52] ; 0x34 + 800b40c: 930c str r3, [sp, #48] ; 0x30 + 800b40e: 4618 mov r0, r3 + 800b410: f003 fae0 bl 800e9d4 + 800b414: 60a0 str r0, [r4, #8] + 800b416: 6860 ldr r0, [r4, #4] + 800b418: b900 cbnz r0, 800b41c + 800b41a: 60e7 str r7, [r4, #12] + 800b41c: 6127 str r7, [r4, #16] + 800b41e: b126 cbz r6, 800b42a + 800b420: f003 fb52 bl 800eac8 + 800b424: 68e3 ldr r3, [r4, #12] + 800b426: 4403 add r3, r0 + 800b428: 60e3 str r3, [r4, #12] + 800b42a: e9d4 3203 ldrd r3, r2, [r4, #12] + 800b42e: 4293 cmp r3, r2 + 800b430: 9b05 ldr r3, [sp, #20] + 800b432: 991d ldr r1, [sp, #116] ; 0x74 + 800b434: 6063 str r3, [r4, #4] + 800b436: 9b07 ldr r3, [sp, #28] + 800b438: bf88 it hi + 800b43a: 60e2 strhi r2, [r4, #12] + 800b43c: 434b muls r3, r1 + 800b43e: 68e1 ldr r1, [r4, #12] + 800b440: 4299 cmp r1, r3 + 800b442: d202 bcs.n 800b44a + 800b444: 9804 ldr r0, [sp, #16] + 800b446: b9a8 cbnz r0, 800b474 + 800b448: b1a6 cbz r6, 800b474 + 800b44a: 2301 movs r3, #1 + 800b44c: 441d add r5, r3 + 800b44e: 7523 strb r3, [r4, #20] + 800b450: b2ed uxtb r5, r5 + 800b452: 3418 adds r4, #24 + 800b454: e786 b.n 800b364 + 800b456: 2364 movs r3, #100 ; 0x64 + 800b458: e7a9 b.n 800b3ae + 800b45a: f5b9 7f7a cmp.w r9, #1000 ; 0x3e8 + 800b45e: bf0a itet eq + 800b460: 4f20 ldreq r7, [pc, #128] ; (800b4e4 ) + 800b462: 4f21 ldrne r7, [pc, #132] ; (800b4e8 ) + 800b464: 60a0 streq r0, [r4, #8] + 800b466: e7b1 b.n 800b3cc + 800b468: 9b04 ldr r3, [sp, #16] + 800b46a: b90b cbnz r3, 800b470 + 800b46c: f8c4 b00c str.w fp, [r4, #12] + 800b470: 465f mov r7, fp + 800b472: e7d0 b.n 800b416 + 800b474: 2000 movs r0, #0 + 800b476: 4293 cmp r3, r2 + 800b478: 7520 strb r0, [r4, #20] + 800b47a: d806 bhi.n 800b48a + 800b47c: 1a5b subs r3, r3, r1 + 800b47e: 459a cmp sl, r3 + 800b480: f105 0501 add.w r5, r5, #1 + 800b484: bf28 it cs + 800b486: 469a movcs sl, r3 + 800b488: b2ed uxtb r5, r5 + 800b48a: 2e00 cmp r6, #0 + 800b48c: d1e1 bne.n 800b452 + 800b48e: f1b9 0f64 cmp.w r9, #100 ; 0x64 + 800b492: 4a16 ldr r2, [pc, #88] ; (800b4ec ) + 800b494: f8ad 6034 strh.w r6, [sp, #52] ; 0x34 + 800b498: d019 beq.n 800b4ce + 800b49a: f649 23b0 movw r3, #39600 ; 0x9ab0 + 800b49e: f5b9 7f7a cmp.w r9, #1000 ; 0x3e8 + 800b4a2: bf18 it ne + 800b4a4: 4613 movne r3, r2 + 800b4a6: 4590 cmp r8, r2 + 800b4a8: bf84 itt hi + 800b4aa: 9a03 ldrhi r2, [sp, #12] + 800b4ac: 189b addhi r3, r3, r2 + 800b4ae: 930c str r3, [sp, #48] ; 0x30 + 800b4b0: 9b1c ldr r3, [sp, #112] ; 0x70 + 800b4b2: 9300 str r3, [sp, #0] + 800b4b4: af0c add r7, sp, #48 ; 0x30 + 800b4b6: e897 0006 ldmia.w r7, {r1, r2} + 800b4ba: 9b1b ldr r3, [sp, #108] ; 0x6c + 800b4bc: 4638 mov r0, r7 + 800b4be: f003 fa0a bl 800e8d6 + 800b4c2: e897 0003 ldmia.w r7, {r0, r1} + 800b4c6: f003 fa85 bl 800e9d4 + 800b4ca: 4682 mov sl, r0 + 800b4cc: e7c1 b.n 800b452 + 800b4ce: f44f 6361 mov.w r3, #3600 ; 0xe10 + 800b4d2: e7e8 b.n 800b4a6 + 800b4d4: 00015180 .word 0x00015180 + 800b4d8: 001b7740 .word 0x001b7740 + 800b4dc: 0001517f .word 0x0001517f + 800b4e0: 0001ec2f .word 0x0001ec2f + 800b4e4: 0112a880 .word 0x0112a880 + 800b4e8: 02932e00 .word 0x02932e00 + 800b4ec: 0001ec30 .word 0x0001ec30 -0800b4dc : - 800b4dc: 7803 ldrb r3, [r0, #0] - 800b4de: 2b03 cmp r3, #3 - 800b4e0: d114 bne.n 800b50c - 800b4e2: 7843 ldrb r3, [r0, #1] - 800b4e4: f003 020f and.w r2, r3, #15 - 800b4e8: 091b lsrs r3, r3, #4 - 800b4ea: 708a strb r2, [r1, #2] - 800b4ec: 704b strb r3, [r1, #1] - 800b4ee: 7883 ldrb r3, [r0, #2] - 800b4f0: 808b strh r3, [r1, #4] - 800b4f2: 78c2 ldrb r2, [r0, #3] - 800b4f4: ea43 2302 orr.w r3, r3, r2, lsl #8 - 800b4f8: 808b strh r3, [r1, #4] - 800b4fa: 7903 ldrb r3, [r0, #4] - 800b4fc: f3c3 1202 ubfx r2, r3, #4, #3 - 800b500: f003 030f and.w r3, r3, #15 - 800b504: 70ca strb r2, [r1, #3] - 800b506: 700b strb r3, [r1, #0] - 800b508: 2005 movs r0, #5 - 800b50a: 4770 bx lr - 800b50c: 2000 movs r0, #0 - 800b50e: 4770 bx lr +0800b4f0 : + 800b4f0: 7803 ldrb r3, [r0, #0] + 800b4f2: 2b03 cmp r3, #3 + 800b4f4: d114 bne.n 800b520 + 800b4f6: 7843 ldrb r3, [r0, #1] + 800b4f8: f003 020f and.w r2, r3, #15 + 800b4fc: 091b lsrs r3, r3, #4 + 800b4fe: 708a strb r2, [r1, #2] + 800b500: 704b strb r3, [r1, #1] + 800b502: 7883 ldrb r3, [r0, #2] + 800b504: 808b strh r3, [r1, #4] + 800b506: 78c2 ldrb r2, [r0, #3] + 800b508: ea43 2302 orr.w r3, r3, r2, lsl #8 + 800b50c: 808b strh r3, [r1, #4] + 800b50e: 7903 ldrb r3, [r0, #4] + 800b510: f3c3 1202 ubfx r2, r3, #4, #3 + 800b514: f003 030f and.w r3, r3, #15 + 800b518: 70ca strb r2, [r1, #3] + 800b51a: 700b strb r3, [r1, #0] + 800b51c: 2005 movs r0, #5 + 800b51e: 4770 bx lr + 800b520: 2000 movs r0, #0 + 800b522: 4770 bx lr -0800b510 : - 800b510: e92d 47f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, r9, sl, lr} - 800b514: 4698 mov r8, r3 - 800b516: 7943 ldrb r3, [r0, #5] - 800b518: 7905 ldrb r5, [r0, #4] - 800b51a: f990 6007 ldrsb.w r6, [r0, #7] - 800b51e: 4691 mov r9, r2 - 800b520: 4604 mov r4, r0 - 800b522: f990 2006 ldrsb.w r2, [r0, #6] - 800b526: 468a mov sl, r1 - 800b528: b183 cbz r3, 800b54c - 800b52a: f990 7008 ldrsb.w r7, [r0, #8] - 800b52e: b375 cbz r5, 800b58e - 800b530: 2a0f cmp r2, #15 - 800b532: d112 bne.n 800b55a - 800b534: f994 2009 ldrsb.w r2, [r4, #9] - 800b538: 2e0f cmp r6, #15 - 800b53a: d11e bne.n 800b57a - 800b53c: f994 600a ldrsb.w r6, [r4, #10] - 800b540: 2d07 cmp r5, #7 - 800b542: d124 bne.n 800b58e - 800b544: 2f00 cmp r7, #0 - 800b546: bf08 it eq - 800b548: 2701 moveq r7, #1 - 800b54a: e020 b.n 800b58e - 800b54c: f990 700b ldrsb.w r7, [r0, #11] - 800b550: f990 2009 ldrsb.w r2, [r0, #9] - 800b554: f990 600a ldrsb.w r6, [r0, #10] - 800b558: e7e9 b.n 800b52e - 800b55a: 69a3 ldr r3, [r4, #24] - 800b55c: 9301 str r3, [sp, #4] - 800b55e: f994 3015 ldrsb.w r3, [r4, #21] - 800b562: 9300 str r3, [sp, #0] - 800b564: 6921 ldr r1, [r4, #16] - 800b566: f994 3014 ldrsb.w r3, [r4, #20] - 800b56a: 7b20 ldrb r0, [r4, #12] - 800b56c: f7ff fe28 bl 800b1c0 - 800b570: 2800 cmp r0, #0 - 800b572: d1e1 bne.n 800b538 - 800b574: f005 05fd and.w r5, r5, #253 ; 0xfd - 800b578: e7de b.n 800b538 - 800b57a: f994 301d ldrsb.w r3, [r4, #29] - 800b57e: 42b3 cmp r3, r6 - 800b580: dc0f bgt.n 800b5a2 - 800b582: f994 301c ldrsb.w r3, [r4, #28] - 800b586: 42b3 cmp r3, r6 - 800b588: dada bge.n 800b540 - 800b58a: f005 05fb and.w r5, r5, #251 ; 0xfb - 800b58e: 4628 mov r0, r5 - 800b590: f88a 2000 strb.w r2, [sl] - 800b594: f889 6000 strb.w r6, [r9] - 800b598: f888 7000 strb.w r7, [r8] - 800b59c: b002 add sp, #8 - 800b59e: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 800b5a2: 461e mov r6, r3 - 800b5a4: e7cc b.n 800b540 +0800b524 : + 800b524: e92d 47f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, r9, sl, lr} + 800b528: 4698 mov r8, r3 + 800b52a: 7943 ldrb r3, [r0, #5] + 800b52c: 7905 ldrb r5, [r0, #4] + 800b52e: f990 6007 ldrsb.w r6, [r0, #7] + 800b532: 4691 mov r9, r2 + 800b534: 4604 mov r4, r0 + 800b536: f990 2006 ldrsb.w r2, [r0, #6] + 800b53a: 468a mov sl, r1 + 800b53c: b183 cbz r3, 800b560 + 800b53e: f990 7008 ldrsb.w r7, [r0, #8] + 800b542: b375 cbz r5, 800b5a2 + 800b544: 2a0f cmp r2, #15 + 800b546: d112 bne.n 800b56e + 800b548: f994 2009 ldrsb.w r2, [r4, #9] + 800b54c: 2e0f cmp r6, #15 + 800b54e: d11e bne.n 800b58e + 800b550: f994 600a ldrsb.w r6, [r4, #10] + 800b554: 2d07 cmp r5, #7 + 800b556: d124 bne.n 800b5a2 + 800b558: 2f00 cmp r7, #0 + 800b55a: bf08 it eq + 800b55c: 2701 moveq r7, #1 + 800b55e: e020 b.n 800b5a2 + 800b560: f990 700b ldrsb.w r7, [r0, #11] + 800b564: f990 2009 ldrsb.w r2, [r0, #9] + 800b568: f990 600a ldrsb.w r6, [r0, #10] + 800b56c: e7e9 b.n 800b542 + 800b56e: 69a3 ldr r3, [r4, #24] + 800b570: 9301 str r3, [sp, #4] + 800b572: f994 3015 ldrsb.w r3, [r4, #21] + 800b576: 9300 str r3, [sp, #0] + 800b578: 6921 ldr r1, [r4, #16] + 800b57a: f994 3014 ldrsb.w r3, [r4, #20] + 800b57e: 7b20 ldrb r0, [r4, #12] + 800b580: f7ff fe28 bl 800b1d4 + 800b584: 2800 cmp r0, #0 + 800b586: d1e1 bne.n 800b54c + 800b588: f005 05fd and.w r5, r5, #253 ; 0xfd + 800b58c: e7de b.n 800b54c + 800b58e: f994 301d ldrsb.w r3, [r4, #29] + 800b592: 42b3 cmp r3, r6 + 800b594: dc0f bgt.n 800b5b6 + 800b596: f994 301c ldrsb.w r3, [r4, #28] + 800b59a: 42b3 cmp r3, r6 + 800b59c: dada bge.n 800b554 + 800b59e: f005 05fb and.w r5, r5, #251 ; 0xfb + 800b5a2: 4628 mov r0, r5 + 800b5a4: f88a 2000 strb.w r2, [sl] + 800b5a8: f889 6000 strb.w r6, [r9] + 800b5ac: f888 7000 strb.w r7, [r8] + 800b5b0: b002 add sp, #8 + 800b5b2: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 800b5b6: 461e mov r6, r3 + 800b5b8: e7cc b.n 800b554 ... -0800b5a8 : - 800b5a8: 4b02 ldr r3, [pc, #8] ; (800b5b4 ) - 800b5aa: fa03 f000 lsl.w r0, r3, r0 - 800b5ae: fbb0 f0f1 udiv r0, r0, r1 - 800b5b2: 4770 bx lr - 800b5b4: 000f4240 .word 0x000f4240 +0800b5bc : + 800b5bc: 4b02 ldr r3, [pc, #8] ; (800b5c8 ) + 800b5be: fa03 f000 lsl.w r0, r3, r0 + 800b5c2: fbb0 f0f1 udiv r0, r0, r1 + 800b5c6: 4770 bx lr + 800b5c8: 000f4240 .word 0x000f4240 -0800b5b8 : - 800b5b8: f44f 53fa mov.w r3, #8000 ; 0x1f40 - 800b5bc: fbb3 f0f0 udiv r0, r3, r0 - 800b5c0: 4770 bx lr +0800b5cc : + 800b5cc: f44f 53fa mov.w r3, #8000 ; 0x1f40 + 800b5d0: fbb3 f0f0 udiv r0, r3, r0 + 800b5d4: 4770 bx lr -0800b5c2 : - 800b5c2: b530 push {r4, r5, lr} - 800b5c4: f44f 757a mov.w r5, #1000 ; 0x3e8 - 800b5c8: 1f0c subs r4, r1, #4 - 800b5ca: 436a muls r2, r5 - 800b5cc: fb00 2204 mla r2, r0, r4, r2 - 800b5d0: 0052 lsls r2, r2, #1 - 800b5d2: bf1e ittt ne - 800b5d4: f100 34ff addne.w r4, r0, #4294967295 - 800b5d8: 1912 addne r2, r2, r4 - 800b5da: fbb2 f2f0 udivne r2, r2, r0 - 800b5de: 4291 cmp r1, r2 - 800b5e0: bf38 it cc - 800b5e2: 4611 movcc r1, r2 - 800b5e4: 9a03 ldr r2, [sp, #12] - 800b5e6: 6011 str r1, [r2, #0] - 800b5e8: 0082 lsls r2, r0, #2 - 800b5ea: 4348 muls r0, r1 - 800b5ec: bf1c itt ne - 800b5ee: 3001 addne r0, #1 - 800b5f0: 0840 lsrne r0, r0, #1 - 800b5f2: f44f 717a mov.w r1, #1000 ; 0x3e8 - 800b5f6: 1a12 subs r2, r2, r0 - 800b5f8: fb01 2313 mls r3, r1, r3, r2 - 800b5fc: 2b00 cmp r3, #0 - 800b5fe: bfca itet gt - 800b600: f203 33e7 addwgt r3, r3, #999 ; 0x3e7 - 800b604: fb93 f1f1 sdivle r1, r3, r1 - 800b608: fbb3 f1f1 udivgt r1, r3, r1 - 800b60c: 9b04 ldr r3, [sp, #16] - 800b60e: 6019 str r1, [r3, #0] - 800b610: bd30 pop {r4, r5, pc} +0800b5d6 : + 800b5d6: b530 push {r4, r5, lr} + 800b5d8: f44f 757a mov.w r5, #1000 ; 0x3e8 + 800b5dc: 1f0c subs r4, r1, #4 + 800b5de: 436a muls r2, r5 + 800b5e0: fb00 2204 mla r2, r0, r4, r2 + 800b5e4: 0052 lsls r2, r2, #1 + 800b5e6: bf1e ittt ne + 800b5e8: f100 34ff addne.w r4, r0, #4294967295 + 800b5ec: 1912 addne r2, r2, r4 + 800b5ee: fbb2 f2f0 udivne r2, r2, r0 + 800b5f2: 4291 cmp r1, r2 + 800b5f4: bf38 it cc + 800b5f6: 4611 movcc r1, r2 + 800b5f8: 9a03 ldr r2, [sp, #12] + 800b5fa: 6011 str r1, [r2, #0] + 800b5fc: 0082 lsls r2, r0, #2 + 800b5fe: 4348 muls r0, r1 + 800b600: bf1c itt ne + 800b602: 3001 addne r0, #1 + 800b604: 0840 lsrne r0, r0, #1 + 800b606: f44f 717a mov.w r1, #1000 ; 0x3e8 + 800b60a: 1a12 subs r2, r2, r0 + 800b60c: fb01 2313 mls r3, r1, r3, r2 + 800b610: 2b00 cmp r3, #0 + 800b612: bfca itet gt + 800b614: f203 33e7 addwgt r3, r3, #999 ; 0x3e7 + 800b618: fb93 f1f1 sdivle r1, r3, r1 + 800b61c: fbb3 f1f1 udivgt r1, r3, r1 + 800b620: 9b04 ldr r3, [sp, #16] + 800b622: 6019 str r1, [r3, #0] + 800b624: bd30 pop {r4, r5, pc} -0800b612 : - 800b612: b538 push {r3, r4, r5, lr} - 800b614: 0040 lsls r0, r0, #1 - 800b616: 4614 mov r4, r2 - 800b618: 460d mov r5, r1 - 800b61a: f7f5 f8d7 bl 80007cc <__aeabi_ui2f> - 800b61e: 4601 mov r1, r0 - 800b620: 4628 mov r0, r5 - 800b622: f7f5 f821 bl 8000668 <__aeabi_fsub> - 800b626: 4621 mov r1, r4 - 800b628: f7f5 f81e bl 8000668 <__aeabi_fsub> - 800b62c: f7f4 ff10 bl 8000450 <__aeabi_f2d> - 800b630: f003 fcaa bl 800ef88 - 800b634: f7f4 ffec bl 8000610 <__aeabi_d2iz> - 800b638: b240 sxtb r0, r0 - 800b63a: bd38 pop {r3, r4, r5, pc} +0800b626 : + 800b626: b538 push {r3, r4, r5, lr} + 800b628: 0040 lsls r0, r0, #1 + 800b62a: 4614 mov r4, r2 + 800b62c: 460d mov r5, r1 + 800b62e: f7f5 f8cd bl 80007cc <__aeabi_ui2f> + 800b632: 4601 mov r1, r0 + 800b634: 4628 mov r0, r5 + 800b636: f7f5 f817 bl 8000668 <__aeabi_fsub> + 800b63a: 4621 mov r1, r4 + 800b63c: f7f5 f814 bl 8000668 <__aeabi_fsub> + 800b640: f7f4 ff06 bl 8000450 <__aeabi_f2d> + 800b644: f003 fca8 bl 800ef98 + 800b648: f7f4 ffe2 bl 8000610 <__aeabi_d2iz> + 800b64c: b240 sxtb r0, r0 + 800b64e: bd38 pop {r3, r4, r5, pc} -0800b63c : - 800b63c: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800b640: 9301 str r3, [sp, #4] - 800b642: 2300 movs r3, #0 - 800b644: 461f mov r7, r3 - 800b646: 469c mov ip, r3 - 800b648: 011c lsls r4, r3, #4 - 800b64a: 8a05 ldrh r5, [r0, #16] - 800b64c: fa5f fe84 uxtb.w lr, r4 - 800b650: f004 04f0 and.w r4, r4, #240 ; 0xf0 - 800b654: 42a5 cmp r5, r4 - 800b656: d806 bhi.n 800b666 - 800b658: 9b01 ldr r3, [sp, #4] - 800b65a: f882 c000 strb.w ip, [r2] - 800b65e: 701f strb r7, [r3, #0] - 800b660: b003 add sp, #12 - 800b662: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800b666: eb0e 054e add.w r5, lr, lr, lsl #1 - 800b66a: ea4f 0943 mov.w r9, r3, lsl #1 - 800b66e: 00ad lsls r5, r5, #2 - 800b670: 2400 movs r4, #0 - 800b672: 6846 ldr r6, [r0, #4] - 800b674: f836 6009 ldrh.w r6, [r6, r9] - 800b678: 4126 asrs r6, r4 - 800b67a: 07f6 lsls r6, r6, #31 - 800b67c: d527 bpl.n 800b6ce - 800b67e: 6886 ldr r6, [r0, #8] - 800b680: eb06 0a05 add.w sl, r6, r5 - 800b684: 5976 ldr r6, [r6, r5] - 800b686: b316 cbz r6, 800b6ce - 800b688: 7806 ldrb r6, [r0, #0] - 800b68a: b936 cbnz r6, 800b69a - 800b68c: 6946 ldr r6, [r0, #20] - 800b68e: b126 cbz r6, 800b69a - 800b690: f836 6009 ldrh.w r6, [r6, r9] - 800b694: 4126 asrs r6, r4 - 800b696: 07f6 lsls r6, r6, #31 - 800b698: d519 bpl.n 800b6ce - 800b69a: f89a 6008 ldrb.w r6, [sl, #8] - 800b69e: f990 b001 ldrsb.w fp, [r0, #1] - 800b6a2: f346 0803 sbfx r8, r6, #0, #4 - 800b6a6: fa4f f888 sxtb.w r8, r8 - 800b6aa: 45d8 cmp r8, fp - 800b6ac: dc0f bgt.n 800b6ce - 800b6ae: f346 1603 sbfx r6, r6, #4, #4 - 800b6b2: b276 sxtb r6, r6 - 800b6b4: 455e cmp r6, fp - 800b6b6: db0a blt.n 800b6ce - 800b6b8: f89a 6009 ldrb.w r6, [sl, #9] - 800b6bc: eb06 0846 add.w r8, r6, r6, lsl #1 - 800b6c0: 68c6 ldr r6, [r0, #12] - 800b6c2: eb06 06c8 add.w r6, r6, r8, lsl #3 - 800b6c6: 7d36 ldrb r6, [r6, #20] - 800b6c8: b94e cbnz r6, 800b6de - 800b6ca: 3701 adds r7, #1 - 800b6cc: b2ff uxtb r7, r7 - 800b6ce: 3401 adds r4, #1 - 800b6d0: 2c10 cmp r4, #16 - 800b6d2: f105 050c add.w r5, r5, #12 - 800b6d6: d1cc bne.n 800b672 - 800b6d8: 3301 adds r3, #1 - 800b6da: b2db uxtb r3, r3 - 800b6dc: e7b4 b.n 800b648 - 800b6de: f10c 0601 add.w r6, ip, #1 - 800b6e2: eb0e 0804 add.w r8, lr, r4 - 800b6e6: f801 800c strb.w r8, [r1, ip] - 800b6ea: fa5f fc86 uxtb.w ip, r6 - 800b6ee: e7ee b.n 800b6ce +0800b650 : + 800b650: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800b654: 9301 str r3, [sp, #4] + 800b656: 2300 movs r3, #0 + 800b658: 461f mov r7, r3 + 800b65a: 469c mov ip, r3 + 800b65c: 011c lsls r4, r3, #4 + 800b65e: 8a05 ldrh r5, [r0, #16] + 800b660: fa5f fe84 uxtb.w lr, r4 + 800b664: f004 04f0 and.w r4, r4, #240 ; 0xf0 + 800b668: 42a5 cmp r5, r4 + 800b66a: d806 bhi.n 800b67a + 800b66c: 9b01 ldr r3, [sp, #4] + 800b66e: f882 c000 strb.w ip, [r2] + 800b672: 701f strb r7, [r3, #0] + 800b674: b003 add sp, #12 + 800b676: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800b67a: eb0e 054e add.w r5, lr, lr, lsl #1 + 800b67e: ea4f 0943 mov.w r9, r3, lsl #1 + 800b682: 00ad lsls r5, r5, #2 + 800b684: 2400 movs r4, #0 + 800b686: 6846 ldr r6, [r0, #4] + 800b688: f836 6009 ldrh.w r6, [r6, r9] + 800b68c: 4126 asrs r6, r4 + 800b68e: 07f6 lsls r6, r6, #31 + 800b690: d527 bpl.n 800b6e2 + 800b692: 6886 ldr r6, [r0, #8] + 800b694: eb06 0a05 add.w sl, r6, r5 + 800b698: 5976 ldr r6, [r6, r5] + 800b69a: b316 cbz r6, 800b6e2 + 800b69c: 7806 ldrb r6, [r0, #0] + 800b69e: b936 cbnz r6, 800b6ae + 800b6a0: 6946 ldr r6, [r0, #20] + 800b6a2: b126 cbz r6, 800b6ae + 800b6a4: f836 6009 ldrh.w r6, [r6, r9] + 800b6a8: 4126 asrs r6, r4 + 800b6aa: 07f6 lsls r6, r6, #31 + 800b6ac: d519 bpl.n 800b6e2 + 800b6ae: f89a 6008 ldrb.w r6, [sl, #8] + 800b6b2: f990 b001 ldrsb.w fp, [r0, #1] + 800b6b6: f346 0803 sbfx r8, r6, #0, #4 + 800b6ba: fa4f f888 sxtb.w r8, r8 + 800b6be: 45d8 cmp r8, fp + 800b6c0: dc0f bgt.n 800b6e2 + 800b6c2: f346 1603 sbfx r6, r6, #4, #4 + 800b6c6: b276 sxtb r6, r6 + 800b6c8: 455e cmp r6, fp + 800b6ca: db0a blt.n 800b6e2 + 800b6cc: f89a 6009 ldrb.w r6, [sl, #9] + 800b6d0: eb06 0846 add.w r8, r6, r6, lsl #1 + 800b6d4: 68c6 ldr r6, [r0, #12] + 800b6d6: eb06 06c8 add.w r6, r6, r8, lsl #3 + 800b6da: 7d36 ldrb r6, [r6, #20] + 800b6dc: b94e cbnz r6, 800b6f2 + 800b6de: 3701 adds r7, #1 + 800b6e0: b2ff uxtb r7, r7 + 800b6e2: 3401 adds r4, #1 + 800b6e4: 2c10 cmp r4, #16 + 800b6e6: f105 050c add.w r5, r5, #12 + 800b6ea: d1cc bne.n 800b686 + 800b6ec: 3301 adds r3, #1 + 800b6ee: b2db uxtb r3, r3 + 800b6f0: e7b4 b.n 800b65c + 800b6f2: f10c 0601 add.w r6, ip, #1 + 800b6f6: eb0e 0804 add.w r8, lr, r4 + 800b6fa: f801 800c strb.w r8, [r1, ip] + 800b6fe: fa5f fc86 uxtb.w ip, r6 + 800b702: e7ee b.n 800b6e2 -0800b6f0 : - 800b6f0: e92d 47ff stmdb sp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, lr} - 800b6f4: 4604 mov r4, r0 - 800b6f6: 6840 ldr r0, [r0, #4] - 800b6f8: e9dd 670c ldrd r6, r7, [sp, #48] ; 0x30 - 800b6fc: 461d mov r5, r3 - 800b6fe: 468a mov sl, r1 - 800b700: 4691 mov r9, r2 - 800b702: f003 f9d7 bl 800eab4 - 800b706: 6823 ldr r3, [r4, #0] - 800b708: 1a1b subs r3, r3, r0 - 800b70a: 603b str r3, [r7, #0] - 800b70c: f04f 0800 mov.w r8, #0 - 800b710: 2301 movs r3, #1 - 800b712: 7033 strb r3, [r6, #0] - 800b714: f885 8000 strb.w r8, [r5] - 800b718: 6863 ldr r3, [r4, #4] - 800b71a: b113 cbz r3, 800b722 - 800b71c: 6823 ldr r3, [r4, #0] - 800b71e: 4283 cmp r3, r0 - 800b720: d824 bhi.n 800b76c - 800b722: f8ca 8000 str.w r8, [sl] - 800b726: f8d4 c01c ldr.w ip, [r4, #28] - 800b72a: 69a3 ldr r3, [r4, #24] - 800b72c: f89c e000 ldrb.w lr, [ip] - 800b730: 9303 str r3, [sp, #12] - 800b732: e9d4 0103 ldrd r0, r1, [r4, #12] - 800b736: ab01 add r3, sp, #4 - 800b738: e883 0003 stmia.w r3, {r0, r1} - 800b73c: 7d23 ldrb r3, [r4, #20] - 800b73e: 9300 str r3, [sp, #0] - 800b740: f8dc 100c ldr.w r1, [ip, #12] - 800b744: 7a23 ldrb r3, [r4, #8] - 800b746: 7a62 ldrb r2, [r4, #9] - 800b748: 4670 mov r0, lr - 800b74a: f7ff fdd9 bl 800b300 - 800b74e: 4633 mov r3, r6 - 800b750: 6038 str r0, [r7, #0] - 800b752: 462a mov r2, r5 - 800b754: 69e0 ldr r0, [r4, #28] - 800b756: 4649 mov r1, r9 - 800b758: f7ff ff70 bl 800b63c - 800b75c: 782b ldrb r3, [r5, #0] - 800b75e: b12b cbz r3, 800b76c - 800b760: f8c7 8000 str.w r8, [r7] - 800b764: 2000 movs r0, #0 - 800b766: b004 add sp, #16 - 800b768: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 800b76c: 7833 ldrb r3, [r6, #0] - 800b76e: 2b00 cmp r3, #0 - 800b770: bf14 ite ne - 800b772: 200b movne r0, #11 - 800b774: 200c moveq r0, #12 - 800b776: e7f6 b.n 800b766 +0800b704 : + 800b704: e92d 47ff stmdb sp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, lr} + 800b708: 4604 mov r4, r0 + 800b70a: 6840 ldr r0, [r0, #4] + 800b70c: e9dd 670c ldrd r6, r7, [sp, #48] ; 0x30 + 800b710: 461d mov r5, r3 + 800b712: 468a mov sl, r1 + 800b714: 4691 mov r9, r2 + 800b716: f003 f9d7 bl 800eac8 + 800b71a: 6823 ldr r3, [r4, #0] + 800b71c: 1a1b subs r3, r3, r0 + 800b71e: 603b str r3, [r7, #0] + 800b720: f04f 0800 mov.w r8, #0 + 800b724: 2301 movs r3, #1 + 800b726: 7033 strb r3, [r6, #0] + 800b728: f885 8000 strb.w r8, [r5] + 800b72c: 6863 ldr r3, [r4, #4] + 800b72e: b113 cbz r3, 800b736 + 800b730: 6823 ldr r3, [r4, #0] + 800b732: 4283 cmp r3, r0 + 800b734: d824 bhi.n 800b780 + 800b736: f8ca 8000 str.w r8, [sl] + 800b73a: f8d4 c01c ldr.w ip, [r4, #28] + 800b73e: 69a3 ldr r3, [r4, #24] + 800b740: f89c e000 ldrb.w lr, [ip] + 800b744: 9303 str r3, [sp, #12] + 800b746: e9d4 0103 ldrd r0, r1, [r4, #12] + 800b74a: ab01 add r3, sp, #4 + 800b74c: e883 0003 stmia.w r3, {r0, r1} + 800b750: 7d23 ldrb r3, [r4, #20] + 800b752: 9300 str r3, [sp, #0] + 800b754: f8dc 100c ldr.w r1, [ip, #12] + 800b758: 7a23 ldrb r3, [r4, #8] + 800b75a: 7a62 ldrb r2, [r4, #9] + 800b75c: 4670 mov r0, lr + 800b75e: f7ff fdd9 bl 800b314 + 800b762: 4633 mov r3, r6 + 800b764: 6038 str r0, [r7, #0] + 800b766: 462a mov r2, r5 + 800b768: 69e0 ldr r0, [r4, #28] + 800b76a: 4649 mov r1, r9 + 800b76c: f7ff ff70 bl 800b650 + 800b770: 782b ldrb r3, [r5, #0] + 800b772: b12b cbz r3, 800b780 + 800b774: f8c7 8000 str.w r8, [r7] + 800b778: 2000 movs r0, #0 + 800b77a: b004 add sp, #16 + 800b77c: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 800b780: 7833 ldrb r3, [r6, #0] + 800b782: 2b00 cmp r3, #0 + 800b784: bf14 ite ne + 800b786: 200b movne r0, #11 + 800b788: 200c moveq r0, #12 + 800b78a: e7f6 b.n 800b77a -0800b778 : - 800b778: b537 push {r0, r1, r2, r4, r5, lr} - 800b77a: f990 2000 ldrsb.w r2, [r0] - 800b77e: f990 5002 ldrsb.w r5, [r0, #2] - 800b782: 4295 cmp r5, r2 - 800b784: 4604 mov r4, r0 - 800b786: d00f beq.n 800b7a8 - 800b788: 3a01 subs r2, #1 - 800b78a: b252 sxtb r2, r2 - 800b78c: 4295 cmp r5, r2 - 800b78e: d00b beq.n 800b7a8 - 800b790: 68a3 ldr r3, [r4, #8] - 800b792: 9301 str r3, [sp, #4] - 800b794: f994 3001 ldrsb.w r3, [r4, #1] - 800b798: 9300 str r3, [sp, #0] - 800b79a: 6861 ldr r1, [r4, #4] - 800b79c: 78e0 ldrb r0, [r4, #3] - 800b79e: 462b mov r3, r5 - 800b7a0: f7ff fd0e bl 800b1c0 - 800b7a4: 2800 cmp r0, #0 - 800b7a6: d0ef beq.n 800b788 - 800b7a8: 4610 mov r0, r2 - 800b7aa: b003 add sp, #12 - 800b7ac: bd30 pop {r4, r5, pc} +0800b78c : + 800b78c: b537 push {r0, r1, r2, r4, r5, lr} + 800b78e: f990 2000 ldrsb.w r2, [r0] + 800b792: f990 5002 ldrsb.w r5, [r0, #2] + 800b796: 4295 cmp r5, r2 + 800b798: 4604 mov r4, r0 + 800b79a: d00f beq.n 800b7bc + 800b79c: 3a01 subs r2, #1 + 800b79e: b252 sxtb r2, r2 + 800b7a0: 4295 cmp r5, r2 + 800b7a2: d00b beq.n 800b7bc + 800b7a4: 68a3 ldr r3, [r4, #8] + 800b7a6: 9301 str r3, [sp, #4] + 800b7a8: f994 3001 ldrsb.w r3, [r4, #1] + 800b7ac: 9300 str r3, [sp, #0] + 800b7ae: 6861 ldr r1, [r4, #4] + 800b7b0: 78e0 ldrb r0, [r4, #3] + 800b7b2: 462b mov r3, r5 + 800b7b4: f7ff fd0e bl 800b1d4 + 800b7b8: 2800 cmp r0, #0 + 800b7ba: d0ef beq.n 800b79c + 800b7bc: 4610 mov r0, r2 + 800b7be: b003 add sp, #12 + 800b7c0: bd30 pop {r4, r5, pc} -0800b7ae : - 800b7ae: 4288 cmp r0, r1 - 800b7b0: bfb8 it lt - 800b7b2: 4608 movlt r0, r1 - 800b7b4: 4770 bx lr +0800b7c2 : + 800b7c2: 4288 cmp r0, r1 + 800b7c4: bfb8 it lt + 800b7c6: 4608 movlt r0, r1 + 800b7c8: 4770 bx lr ... -0800b7b8 : - 800b7b8: f851 0020 ldr.w r0, [r1, r0, lsl #2] - 800b7bc: 4b05 ldr r3, [pc, #20] ; (800b7d4 ) - 800b7be: 4298 cmp r0, r3 - 800b7c0: d005 beq.n 800b7ce - 800b7c2: 4b05 ldr r3, [pc, #20] ; (800b7d8 ) - 800b7c4: 1ac3 subs r3, r0, r3 - 800b7c6: 4258 negs r0, r3 - 800b7c8: 4158 adcs r0, r3 - 800b7ca: 0040 lsls r0, r0, #1 - 800b7cc: 4770 bx lr - 800b7ce: 2001 movs r0, #1 - 800b7d0: 4770 bx lr - 800b7d2: bf00 nop - 800b7d4: 0003d090 .word 0x0003d090 - 800b7d8: 0007a120 .word 0x0007a120 +0800b7cc : + 800b7cc: f851 0020 ldr.w r0, [r1, r0, lsl #2] + 800b7d0: 4b05 ldr r3, [pc, #20] ; (800b7e8 ) + 800b7d2: 4298 cmp r0, r3 + 800b7d4: d005 beq.n 800b7e2 + 800b7d6: 4b05 ldr r3, [pc, #20] ; (800b7ec ) + 800b7d8: 1ac3 subs r3, r0, r3 + 800b7da: 4258 negs r0, r3 + 800b7dc: 4158 adcs r0, r3 + 800b7de: 0040 lsls r0, r0, #1 + 800b7e0: 4770 bx lr + 800b7e2: 2001 movs r0, #1 + 800b7e4: 4770 bx lr + 800b7e6: bf00 nop + 800b7e8: 0003d090 .word 0x0003d090 + 800b7ec: 0007a120 .word 0x0007a120 -0800b7dc : - 800b7dc: 2805 cmp r0, #5 - 800b7de: b51f push {r0, r1, r2, r3, r4, lr} - 800b7e0: d80e bhi.n 800b800 - 800b7e2: 4b0c ldr r3, [pc, #48] ; (800b814 ) - 800b7e4: f853 3020 ldr.w r3, [r3, r0, lsl #2] - 800b7e8: 9300 str r3, [sp, #0] - 800b7ea: e9cd 1201 strd r1, r2, [sp, #4] - 800b7ee: 4b0a ldr r3, [pc, #40] ; (800b818 ) - 800b7f0: 2201 movs r2, #1 - 800b7f2: 2100 movs r1, #0 - 800b7f4: 2002 movs r0, #2 - 800b7f6: f002 fe69 bl 800e4cc - 800b7fa: b005 add sp, #20 - 800b7fc: f85d fb04 ldr.w pc, [sp], #4 - 800b800: e9cd 1200 strd r1, r2, [sp] - 800b804: 4b05 ldr r3, [pc, #20] ; (800b81c ) - 800b806: 2201 movs r2, #1 - 800b808: 2100 movs r1, #0 - 800b80a: 2002 movs r0, #2 - 800b80c: f002 fe5e bl 800e4cc - 800b810: e7f3 b.n 800b7fa - 800b812: bf00 nop - 800b814: 0800f43c .word 0x0800f43c - 800b818: 0800f3cf .word 0x0800f3cf - 800b81c: 0800f3ee .word 0x0800f3ee +0800b7f0 : + 800b7f0: 2805 cmp r0, #5 + 800b7f2: b51f push {r0, r1, r2, r3, r4, lr} + 800b7f4: d80e bhi.n 800b814 + 800b7f6: 4b0c ldr r3, [pc, #48] ; (800b828 ) + 800b7f8: f853 3020 ldr.w r3, [r3, r0, lsl #2] + 800b7fc: 9300 str r3, [sp, #0] + 800b7fe: e9cd 1201 strd r1, r2, [sp, #4] + 800b802: 4b0a ldr r3, [pc, #40] ; (800b82c ) + 800b804: 2201 movs r2, #1 + 800b806: 2100 movs r1, #0 + 800b808: 2002 movs r0, #2 + 800b80a: f002 fe69 bl 800e4e0 + 800b80e: b005 add sp, #20 + 800b810: f85d fb04 ldr.w pc, [sp], #4 + 800b814: e9cd 1200 strd r1, r2, [sp] + 800b818: 4b05 ldr r3, [pc, #20] ; (800b830 ) + 800b81a: 2201 movs r2, #1 + 800b81c: 2100 movs r1, #0 + 800b81e: 2002 movs r0, #2 + 800b820: f002 fe5e bl 800e4e0 + 800b824: e7f3 b.n 800b80e + 800b826: bf00 nop + 800b828: 0800f44c .word 0x0800f44c + 800b82c: 0800f3df .word 0x0800f3df + 800b830: 0800f3fe .word 0x0800f3fe -0800b820 : - 800b820: b507 push {r0, r1, r2, lr} - 800b822: 4b05 ldr r3, [pc, #20] ; (800b838 ) - 800b824: e9cd 0100 strd r0, r1, [sp] - 800b828: 2201 movs r2, #1 - 800b82a: 2100 movs r1, #0 - 800b82c: 2002 movs r0, #2 - 800b82e: f002 fe4d bl 800e4cc - 800b832: b003 add sp, #12 - 800b834: f85d fb04 ldr.w pc, [sp], #4 - 800b838: 0800f40a .word 0x0800f40a +0800b834 : + 800b834: b507 push {r0, r1, r2, lr} + 800b836: 4b05 ldr r3, [pc, #20] ; (800b84c ) + 800b838: e9cd 0100 strd r0, r1, [sp] + 800b83c: 2201 movs r2, #1 + 800b83e: 2100 movs r1, #0 + 800b840: 2002 movs r0, #2 + 800b842: f002 fe4d bl 800e4e0 + 800b846: b003 add sp, #12 + 800b848: f85d fb04 ldr.w pc, [sp], #4 + 800b84c: 0800f41a .word 0x0800f41a -0800b83c : - 800b83c: b510 push {r4, lr} - 800b83e: 2210 movs r2, #16 - 800b840: 4604 mov r4, r0 - 800b842: 2100 movs r1, #0 - 800b844: 30f1 adds r0, #241 ; 0xf1 - 800b846: f000 fe5f bl 800c508 - 800b84a: 2100 movs r1, #0 - 800b84c: f8c4 1114 str.w r1, [r4, #276] ; 0x114 - 800b850: 4620 mov r0, r4 - 800b852: 22f0 movs r2, #240 ; 0xf0 - 800b854: e8bd 4010 ldmia.w sp!, {r4, lr} - 800b858: f000 be56 b.w 800c508 +0800b850 : + 800b850: b510 push {r4, lr} + 800b852: 2210 movs r2, #16 + 800b854: 4604 mov r4, r0 + 800b856: 2100 movs r1, #0 + 800b858: 30f1 adds r0, #241 ; 0xf1 + 800b85a: f000 fe5f bl 800c51c + 800b85e: 2100 movs r1, #0 + 800b860: f8c4 1114 str.w r1, [r4, #276] ; 0x114 + 800b864: 4620 mov r0, r4 + 800b866: 22f0 movs r2, #240 ; 0xf0 + 800b868: e8bd 4010 ldmia.w sp!, {r4, lr} + 800b86c: f000 be56 b.w 800c51c -0800b85c : - 800b85c: 4602 mov r2, r0 - 800b85e: 4608 mov r0, r1 - 800b860: 2110 movs r1, #16 - 800b862: f000 b9a5 b.w 800bbb0 +0800b870 : + 800b870: 4602 mov r2, r0 + 800b872: 4608 mov r0, r1 + 800b874: 2110 movs r1, #16 + 800b876: f000 b9a5 b.w 800bbc4 -0800b866 : - 800b866: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} - 800b86a: 4604 mov r4, r0 - 800b86c: f8d0 0114 ldr.w r0, [r0, #276] ; 0x114 - 800b870: b085 sub sp, #20 - 800b872: 460e mov r6, r1 - 800b874: 4615 mov r5, r2 - 800b876: f204 1901 addw r9, r4, #257 ; 0x101 - 800b87a: b388 cbz r0, 800b8e0 - 800b87c: f1c0 0810 rsb r8, r0, #16 - 800b880: 4590 cmp r8, r2 - 800b882: 4647 mov r7, r8 - 800b884: bf28 it cs - 800b886: 4617 movcs r7, r2 - 800b888: b2ba uxth r2, r7 - 800b88a: 4448 add r0, r9 - 800b88c: f000 fe28 bl 800c4e0 - 800b890: f8d4 3114 ldr.w r3, [r4, #276] ; 0x114 - 800b894: 443b add r3, r7 - 800b896: 2b0f cmp r3, #15 - 800b898: f8c4 3114 str.w r3, [r4, #276] ; 0x114 - 800b89c: d92d bls.n 800b8fa - 800b89e: 45a8 cmp r8, r5 - 800b8a0: d22b bcs.n 800b8fa - 800b8a2: f104 03f0 add.w r3, r4, #240 ; 0xf0 - 800b8a6: f504 7180 add.w r1, r4, #256 ; 0x100 - 800b8aa: f813 2f01 ldrb.w r2, [r3, #1]! - 800b8ae: 7c18 ldrb r0, [r3, #16] - 800b8b0: 428b cmp r3, r1 - 800b8b2: ea82 0200 eor.w r2, r2, r0 - 800b8b6: 701a strb r2, [r3, #0] - 800b8b8: d1f7 bne.n 800b8aa - 800b8ba: f104 08f1 add.w r8, r4, #241 ; 0xf1 - 800b8be: 2210 movs r2, #16 - 800b8c0: 4641 mov r1, r8 - 800b8c2: 4668 mov r0, sp - 800b8c4: f000 fe0c bl 800c4e0 - 800b8c8: 4622 mov r2, r4 - 800b8ca: 4669 mov r1, sp - 800b8cc: 4668 mov r0, sp - 800b8ce: f000 f9e9 bl 800bca4 +0800b87a : + 800b87a: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} + 800b87e: 4604 mov r4, r0 + 800b880: f8d0 0114 ldr.w r0, [r0, #276] ; 0x114 + 800b884: b085 sub sp, #20 + 800b886: 460e mov r6, r1 + 800b888: 4615 mov r5, r2 + 800b88a: f204 1901 addw r9, r4, #257 ; 0x101 + 800b88e: b388 cbz r0, 800b8f4 + 800b890: f1c0 0810 rsb r8, r0, #16 + 800b894: 4590 cmp r8, r2 + 800b896: 4647 mov r7, r8 + 800b898: bf28 it cs + 800b89a: 4617 movcs r7, r2 + 800b89c: b2ba uxth r2, r7 + 800b89e: 4448 add r0, r9 + 800b8a0: f000 fe28 bl 800c4f4 + 800b8a4: f8d4 3114 ldr.w r3, [r4, #276] ; 0x114 + 800b8a8: 443b add r3, r7 + 800b8aa: 2b0f cmp r3, #15 + 800b8ac: f8c4 3114 str.w r3, [r4, #276] ; 0x114 + 800b8b0: d92d bls.n 800b90e + 800b8b2: 45a8 cmp r8, r5 + 800b8b4: d22b bcs.n 800b90e + 800b8b6: f104 03f0 add.w r3, r4, #240 ; 0xf0 + 800b8ba: f504 7180 add.w r1, r4, #256 ; 0x100 + 800b8be: f813 2f01 ldrb.w r2, [r3, #1]! + 800b8c2: 7c18 ldrb r0, [r3, #16] + 800b8c4: 428b cmp r3, r1 + 800b8c6: ea82 0200 eor.w r2, r2, r0 + 800b8ca: 701a strb r2, [r3, #0] + 800b8cc: d1f7 bne.n 800b8be + 800b8ce: f104 08f1 add.w r8, r4, #241 ; 0xf1 800b8d2: 2210 movs r2, #16 - 800b8d4: 4669 mov r1, sp - 800b8d6: 4640 mov r0, r8 - 800b8d8: f000 fe02 bl 800c4e0 - 800b8dc: 443e add r6, r7 - 800b8de: 1bed subs r5, r5, r7 - 800b8e0: f504 7880 add.w r8, r4, #256 ; 0x100 - 800b8e4: f104 07f1 add.w r7, r4, #241 ; 0xf1 - 800b8e8: 2d10 cmp r5, #16 - 800b8ea: d809 bhi.n 800b900 - 800b8ec: b2aa uxth r2, r5 - 800b8ee: 4631 mov r1, r6 - 800b8f0: 4648 mov r0, r9 - 800b8f2: f000 fdf5 bl 800c4e0 - 800b8f6: f8c4 5114 str.w r5, [r4, #276] ; 0x114 - 800b8fa: b005 add sp, #20 - 800b8fc: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} - 800b900: f104 03f0 add.w r3, r4, #240 ; 0xf0 - 800b904: 1e71 subs r1, r6, #1 - 800b906: f813 2f01 ldrb.w r2, [r3, #1]! - 800b90a: f811 0f01 ldrb.w r0, [r1, #1]! - 800b90e: 4543 cmp r3, r8 - 800b910: ea82 0200 eor.w r2, r2, r0 - 800b914: 701a strb r2, [r3, #0] - 800b916: d1f6 bne.n 800b906 - 800b918: 2210 movs r2, #16 - 800b91a: 4639 mov r1, r7 - 800b91c: 4668 mov r0, sp - 800b91e: f000 fddf bl 800c4e0 - 800b922: 4622 mov r2, r4 - 800b924: 4669 mov r1, sp - 800b926: 4668 mov r0, sp - 800b928: f000 f9bc bl 800bca4 + 800b8d4: 4641 mov r1, r8 + 800b8d6: 4668 mov r0, sp + 800b8d8: f000 fe0c bl 800c4f4 + 800b8dc: 4622 mov r2, r4 + 800b8de: 4669 mov r1, sp + 800b8e0: 4668 mov r0, sp + 800b8e2: f000 f9e9 bl 800bcb8 + 800b8e6: 2210 movs r2, #16 + 800b8e8: 4669 mov r1, sp + 800b8ea: 4640 mov r0, r8 + 800b8ec: f000 fe02 bl 800c4f4 + 800b8f0: 443e add r6, r7 + 800b8f2: 1bed subs r5, r5, r7 + 800b8f4: f504 7880 add.w r8, r4, #256 ; 0x100 + 800b8f8: f104 07f1 add.w r7, r4, #241 ; 0xf1 + 800b8fc: 2d10 cmp r5, #16 + 800b8fe: d809 bhi.n 800b914 + 800b900: b2aa uxth r2, r5 + 800b902: 4631 mov r1, r6 + 800b904: 4648 mov r0, r9 + 800b906: f000 fdf5 bl 800c4f4 + 800b90a: f8c4 5114 str.w r5, [r4, #276] ; 0x114 + 800b90e: b005 add sp, #20 + 800b910: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 800b914: f104 03f0 add.w r3, r4, #240 ; 0xf0 + 800b918: 1e71 subs r1, r6, #1 + 800b91a: f813 2f01 ldrb.w r2, [r3, #1]! + 800b91e: f811 0f01 ldrb.w r0, [r1, #1]! + 800b922: 4543 cmp r3, r8 + 800b924: ea82 0200 eor.w r2, r2, r0 + 800b928: 701a strb r2, [r3, #0] + 800b92a: d1f6 bne.n 800b91a 800b92c: 2210 movs r2, #16 - 800b92e: 4669 mov r1, sp - 800b930: 4638 mov r0, r7 - 800b932: f000 fdd5 bl 800c4e0 - 800b936: 3610 adds r6, #16 - 800b938: 3d10 subs r5, #16 - 800b93a: e7d5 b.n 800b8e8 + 800b92e: 4639 mov r1, r7 + 800b930: 4668 mov r0, sp + 800b932: f000 fddf bl 800c4f4 + 800b936: 4622 mov r2, r4 + 800b938: 4669 mov r1, sp + 800b93a: 4668 mov r0, sp + 800b93c: f000 f9bc bl 800bcb8 + 800b940: 2210 movs r2, #16 + 800b942: 4669 mov r1, sp + 800b944: 4638 mov r0, r7 + 800b946: f000 fdd5 bl 800c4f4 + 800b94a: 3610 adds r6, #16 + 800b94c: 3d10 subs r5, #16 + 800b94e: e7d5 b.n 800b8fc -0800b93c : - 800b93c: b5f0 push {r4, r5, r6, r7, lr} - 800b93e: b089 sub sp, #36 ; 0x24 - 800b940: 460c mov r4, r1 - 800b942: 2210 movs r2, #16 - 800b944: 2100 movs r1, #0 - 800b946: 4605 mov r5, r0 - 800b948: 4668 mov r0, sp - 800b94a: f000 fddd bl 800c508 - 800b94e: 4622 mov r2, r4 - 800b950: 4669 mov r1, sp - 800b952: 4668 mov r0, sp - 800b954: f000 f9a6 bl 800bca4 - 800b958: f99d 3000 ldrsb.w r3, [sp] - 800b95c: 2b00 cmp r3, #0 - 800b95e: 466a mov r2, sp - 800b960: f04f 0100 mov.w r1, #0 - 800b964: da43 bge.n 800b9ee - 800b966: 7813 ldrb r3, [r2, #0] - 800b968: f812 0f01 ldrb.w r0, [r2, #1]! - 800b96c: 3101 adds r1, #1 - 800b96e: 005b lsls r3, r3, #1 - 800b970: ea43 13d0 orr.w r3, r3, r0, lsr #7 - 800b974: 290f cmp r1, #15 - 800b976: f802 3c01 strb.w r3, [r2, #-1] - 800b97a: d1f4 bne.n 800b966 - 800b97c: f89d 300f ldrb.w r3, [sp, #15] - 800b980: 005b lsls r3, r3, #1 - 800b982: f083 0387 eor.w r3, r3, #135 ; 0x87 - 800b986: f8d4 0114 ldr.w r0, [r4, #276] ; 0x114 - 800b98a: b2db uxtb r3, r3 - 800b98c: 2810 cmp r0, #16 - 800b98e: f88d 300f strb.w r3, [sp, #15] - 800b992: d13b bne.n 800ba0c - 800b994: f504 7380 add.w r3, r4, #256 ; 0x100 - 800b998: 4669 mov r1, sp - 800b99a: f504 7088 add.w r0, r4, #272 ; 0x110 - 800b99e: f813 6f01 ldrb.w r6, [r3, #1]! - 800b9a2: f811 2b01 ldrb.w r2, [r1], #1 - 800b9a6: 4298 cmp r0, r3 - 800b9a8: ea82 0206 eor.w r2, r2, r6 - 800b9ac: 701a strb r2, [r3, #0] - 800b9ae: d1f6 bne.n 800b99e - 800b9b0: f104 03f0 add.w r3, r4, #240 ; 0xf0 - 800b9b4: f504 7180 add.w r1, r4, #256 ; 0x100 - 800b9b8: f813 2f01 ldrb.w r2, [r3, #1]! - 800b9bc: 7c18 ldrb r0, [r3, #16] - 800b9be: 428b cmp r3, r1 - 800b9c0: ea82 0200 eor.w r2, r2, r0 - 800b9c4: 701a strb r2, [r3, #0] - 800b9c6: d1f7 bne.n 800b9b8 - 800b9c8: 2210 movs r2, #16 - 800b9ca: eb0d 0002 add.w r0, sp, r2 - 800b9ce: f104 01f1 add.w r1, r4, #241 ; 0xf1 - 800b9d2: f000 fd85 bl 800c4e0 - 800b9d6: 4622 mov r2, r4 - 800b9d8: 4629 mov r1, r5 - 800b9da: a804 add r0, sp, #16 - 800b9dc: f000 f962 bl 800bca4 - 800b9e0: 2210 movs r2, #16 - 800b9e2: 2100 movs r1, #0 - 800b9e4: 4668 mov r0, sp - 800b9e6: f000 fd8f bl 800c508 - 800b9ea: b009 add sp, #36 ; 0x24 - 800b9ec: bdf0 pop {r4, r5, r6, r7, pc} - 800b9ee: 7813 ldrb r3, [r2, #0] - 800b9f0: f812 0f01 ldrb.w r0, [r2, #1]! - 800b9f4: 3101 adds r1, #1 - 800b9f6: 005b lsls r3, r3, #1 - 800b9f8: ea43 13d0 orr.w r3, r3, r0, lsr #7 - 800b9fc: 290f cmp r1, #15 - 800b9fe: f802 3c01 strb.w r3, [r2, #-1] - 800ba02: d1f4 bne.n 800b9ee - 800ba04: f89d 300f ldrb.w r3, [sp, #15] - 800ba08: 005b lsls r3, r3, #1 - 800ba0a: e7bc b.n 800b986 - 800ba0c: f99d 3000 ldrsb.w r3, [sp] - 800ba10: 2b00 cmp r3, #0 - 800ba12: 466a mov r2, sp - 800ba14: f04f 0100 mov.w r1, #0 - 800ba18: da37 bge.n 800ba8a - 800ba1a: 7813 ldrb r3, [r2, #0] - 800ba1c: f812 6f01 ldrb.w r6, [r2, #1]! - 800ba20: 3101 adds r1, #1 - 800ba22: 005b lsls r3, r3, #1 - 800ba24: ea43 13d6 orr.w r3, r3, r6, 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: f083 0387 eor.w r3, r3, #135 ; 0x87 - 800ba3a: 1c47 adds r7, r0, #1 - 800ba3c: b2db uxtb r3, r3 - 800ba3e: f88d 300f strb.w r3, [sp, #15] - 800ba42: 2f10 cmp r7, #16 - 800ba44: eb04 0300 add.w r3, r4, r0 - 800ba48: f1c0 060f rsb r6, r0, #15 - 800ba4c: f04f 0280 mov.w r2, #128 ; 0x80 - 800ba50: bf88 it hi - 800ba52: 2600 movhi r6, #0 - 800ba54: f500 7081 add.w r0, r0, #258 ; 0x102 - 800ba58: f883 2101 strb.w r2, [r3, #257] ; 0x101 - 800ba5c: 2100 movs r1, #0 - 800ba5e: 4632 mov r2, r6 - 800ba60: 4420 add r0, r4 - 800ba62: 443e add r6, r7 - 800ba64: f003 fa62 bl 800ef2c - 800ba68: f8c4 6114 str.w r6, [r4, #276] ; 0x114 - 800ba6c: f504 7380 add.w r3, r4, #256 ; 0x100 - 800ba70: 4669 mov r1, sp - 800ba72: f504 7088 add.w r0, r4, #272 ; 0x110 - 800ba76: f813 6f01 ldrb.w r6, [r3, #1]! - 800ba7a: f811 2b01 ldrb.w r2, [r1], #1 - 800ba7e: 4298 cmp r0, r3 - 800ba80: ea82 0206 eor.w r2, r2, r6 - 800ba84: 701a strb r2, [r3, #0] - 800ba86: d1f6 bne.n 800ba76 - 800ba88: e792 b.n 800b9b0 - 800ba8a: 7813 ldrb r3, [r2, #0] - 800ba8c: f812 6f01 ldrb.w r6, [r2, #1]! - 800ba90: 3101 adds r1, #1 - 800ba92: 005b lsls r3, r3, #1 - 800ba94: ea43 13d6 orr.w r3, r3, r6, lsr #7 - 800ba98: 290f cmp r1, #15 - 800ba9a: f802 3c01 strb.w r3, [r2, #-1] - 800ba9e: d1f4 bne.n 800ba8a - 800baa0: f89d 300f ldrb.w r3, [sp, #15] - 800baa4: 005b lsls r3, r3, #1 - 800baa6: e7c8 b.n 800ba3a +0800b950 : + 800b950: b5f0 push {r4, r5, r6, r7, lr} + 800b952: b089 sub sp, #36 ; 0x24 + 800b954: 460c mov r4, r1 + 800b956: 2210 movs r2, #16 + 800b958: 2100 movs r1, #0 + 800b95a: 4605 mov r5, r0 + 800b95c: 4668 mov r0, sp + 800b95e: f000 fddd bl 800c51c + 800b962: 4622 mov r2, r4 + 800b964: 4669 mov r1, sp + 800b966: 4668 mov r0, sp + 800b968: f000 f9a6 bl 800bcb8 + 800b96c: f99d 3000 ldrsb.w r3, [sp] + 800b970: 2b00 cmp r3, #0 + 800b972: 466a mov r2, sp + 800b974: f04f 0100 mov.w r1, #0 + 800b978: da43 bge.n 800ba02 + 800b97a: 7813 ldrb r3, [r2, #0] + 800b97c: f812 0f01 ldrb.w r0, [r2, #1]! + 800b980: 3101 adds r1, #1 + 800b982: 005b lsls r3, r3, #1 + 800b984: ea43 13d0 orr.w r3, r3, r0, lsr #7 + 800b988: 290f cmp r1, #15 + 800b98a: f802 3c01 strb.w r3, [r2, #-1] + 800b98e: d1f4 bne.n 800b97a + 800b990: f89d 300f ldrb.w r3, [sp, #15] + 800b994: 005b lsls r3, r3, #1 + 800b996: f083 0387 eor.w r3, r3, #135 ; 0x87 + 800b99a: f8d4 0114 ldr.w r0, [r4, #276] ; 0x114 + 800b99e: b2db uxtb r3, r3 + 800b9a0: 2810 cmp r0, #16 + 800b9a2: f88d 300f strb.w r3, [sp, #15] + 800b9a6: d13b bne.n 800ba20 + 800b9a8: f504 7380 add.w r3, r4, #256 ; 0x100 + 800b9ac: 4669 mov r1, sp + 800b9ae: f504 7088 add.w r0, r4, #272 ; 0x110 + 800b9b2: f813 6f01 ldrb.w r6, [r3, #1]! + 800b9b6: f811 2b01 ldrb.w r2, [r1], #1 + 800b9ba: 4298 cmp r0, r3 + 800b9bc: ea82 0206 eor.w r2, r2, r6 + 800b9c0: 701a strb r2, [r3, #0] + 800b9c2: d1f6 bne.n 800b9b2 + 800b9c4: f104 03f0 add.w r3, r4, #240 ; 0xf0 + 800b9c8: f504 7180 add.w r1, r4, #256 ; 0x100 + 800b9cc: f813 2f01 ldrb.w r2, [r3, #1]! + 800b9d0: 7c18 ldrb r0, [r3, #16] + 800b9d2: 428b cmp r3, r1 + 800b9d4: ea82 0200 eor.w r2, r2, r0 + 800b9d8: 701a strb r2, [r3, #0] + 800b9da: d1f7 bne.n 800b9cc + 800b9dc: 2210 movs r2, #16 + 800b9de: eb0d 0002 add.w r0, sp, r2 + 800b9e2: f104 01f1 add.w r1, r4, #241 ; 0xf1 + 800b9e6: f000 fd85 bl 800c4f4 + 800b9ea: 4622 mov r2, r4 + 800b9ec: 4629 mov r1, r5 + 800b9ee: a804 add r0, sp, #16 + 800b9f0: f000 f962 bl 800bcb8 + 800b9f4: 2210 movs r2, #16 + 800b9f6: 2100 movs r1, #0 + 800b9f8: 4668 mov r0, sp + 800b9fa: f000 fd8f bl 800c51c + 800b9fe: b009 add sp, #36 ; 0x24 + 800ba00: bdf0 pop {r4, r5, r6, r7, pc} + 800ba02: 7813 ldrb r3, [r2, #0] + 800ba04: f812 0f01 ldrb.w r0, [r2, #1]! + 800ba08: 3101 adds r1, #1 + 800ba0a: 005b lsls r3, r3, #1 + 800ba0c: ea43 13d0 orr.w r3, r3, r0, lsr #7 + 800ba10: 290f cmp r1, #15 + 800ba12: f802 3c01 strb.w r3, [r2, #-1] + 800ba16: d1f4 bne.n 800ba02 + 800ba18: f89d 300f ldrb.w r3, [sp, #15] + 800ba1c: 005b lsls r3, r3, #1 + 800ba1e: e7bc b.n 800b99a + 800ba20: f99d 3000 ldrsb.w r3, [sp] + 800ba24: 2b00 cmp r3, #0 + 800ba26: 466a mov r2, sp + 800ba28: f04f 0100 mov.w r1, #0 + 800ba2c: da37 bge.n 800ba9e + 800ba2e: 7813 ldrb r3, [r2, #0] + 800ba30: f812 6f01 ldrb.w r6, [r2, #1]! + 800ba34: 3101 adds r1, #1 + 800ba36: 005b lsls r3, r3, #1 + 800ba38: ea43 13d6 orr.w r3, r3, r6, lsr #7 + 800ba3c: 290f cmp r1, #15 + 800ba3e: f802 3c01 strb.w r3, [r2, #-1] + 800ba42: d1f4 bne.n 800ba2e + 800ba44: f89d 300f ldrb.w r3, [sp, #15] + 800ba48: 005b lsls r3, r3, #1 + 800ba4a: f083 0387 eor.w r3, r3, #135 ; 0x87 + 800ba4e: 1c47 adds r7, r0, #1 + 800ba50: b2db uxtb r3, r3 + 800ba52: f88d 300f strb.w r3, [sp, #15] + 800ba56: 2f10 cmp r7, #16 + 800ba58: eb04 0300 add.w r3, r4, r0 + 800ba5c: f1c0 060f rsb r6, r0, #15 + 800ba60: f04f 0280 mov.w r2, #128 ; 0x80 + 800ba64: bf88 it hi + 800ba66: 2600 movhi r6, #0 + 800ba68: f500 7081 add.w r0, r0, #258 ; 0x102 + 800ba6c: f883 2101 strb.w r2, [r3, #257] ; 0x101 + 800ba70: 2100 movs r1, #0 + 800ba72: 4632 mov r2, r6 + 800ba74: 4420 add r0, r4 + 800ba76: 443e add r6, r7 + 800ba78: f003 fa62 bl 800ef40 + 800ba7c: f8c4 6114 str.w r6, [r4, #276] ; 0x114 + 800ba80: f504 7380 add.w r3, r4, #256 ; 0x100 + 800ba84: 4669 mov r1, sp + 800ba86: f504 7088 add.w r0, r4, #272 ; 0x110 + 800ba8a: f813 6f01 ldrb.w r6, [r3, #1]! + 800ba8e: f811 2b01 ldrb.w r2, [r1], #1 + 800ba92: 4298 cmp r0, r3 + 800ba94: ea82 0206 eor.w r2, r2, r6 + 800ba98: 701a strb r2, [r3, #0] + 800ba9a: d1f6 bne.n 800ba8a + 800ba9c: e792 b.n 800b9c4 + 800ba9e: 7813 ldrb r3, [r2, #0] + 800baa0: f812 6f01 ldrb.w r6, [r2, #1]! + 800baa4: 3101 adds r1, #1 + 800baa6: 005b lsls r3, r3, #1 + 800baa8: ea43 13d6 orr.w r3, r3, r6, lsr #7 + 800baac: 290f cmp r1, #15 + 800baae: f802 3c01 strb.w r3, [r2, #-1] + 800bab2: d1f4 bne.n 800ba9e + 800bab4: f89d 300f ldrb.w r3, [sp, #15] + 800bab8: 005b lsls r3, r3, #1 + 800baba: e7c8 b.n 800ba4e -0800baa8 : - 800baa8: 780a ldrb r2, [r1, #0] - 800baaa: 7803 ldrb r3, [r0, #0] - 800baac: 4053 eors r3, r2 - 800baae: 7003 strb r3, [r0, #0] - 800bab0: 784a ldrb r2, [r1, #1] - 800bab2: 7843 ldrb r3, [r0, #1] - 800bab4: 4053 eors r3, r2 - 800bab6: 7043 strb r3, [r0, #1] - 800bab8: 788a ldrb r2, [r1, #2] - 800baba: 7883 ldrb r3, [r0, #2] - 800babc: 4053 eors r3, r2 - 800babe: 7083 strb r3, [r0, #2] - 800bac0: 78ca ldrb r2, [r1, #3] - 800bac2: 78c3 ldrb r3, [r0, #3] - 800bac4: 4053 eors r3, r2 - 800bac6: 70c3 strb r3, [r0, #3] - 800bac8: 790a ldrb r2, [r1, #4] - 800baca: 7903 ldrb r3, [r0, #4] - 800bacc: 4053 eors r3, r2 - 800bace: 7103 strb r3, [r0, #4] - 800bad0: 794a ldrb r2, [r1, #5] - 800bad2: 7943 ldrb r3, [r0, #5] - 800bad4: 4053 eors r3, r2 - 800bad6: 7143 strb r3, [r0, #5] - 800bad8: 798a ldrb r2, [r1, #6] - 800bada: 7983 ldrb r3, [r0, #6] - 800badc: 4053 eors r3, r2 - 800bade: 7183 strb r3, [r0, #6] - 800bae0: 79ca ldrb r2, [r1, #7] - 800bae2: 79c3 ldrb r3, [r0, #7] - 800bae4: 4053 eors r3, r2 - 800bae6: 71c3 strb r3, [r0, #7] - 800bae8: 7a0a ldrb r2, [r1, #8] - 800baea: 7a03 ldrb r3, [r0, #8] - 800baec: 4053 eors r3, r2 - 800baee: 7203 strb r3, [r0, #8] - 800baf0: 7a4a ldrb r2, [r1, #9] - 800baf2: 7a43 ldrb r3, [r0, #9] - 800baf4: 4053 eors r3, r2 - 800baf6: 7243 strb r3, [r0, #9] - 800baf8: 7a8a ldrb r2, [r1, #10] - 800bafa: 7a83 ldrb r3, [r0, #10] - 800bafc: 4053 eors r3, r2 - 800bafe: 7283 strb r3, [r0, #10] - 800bb00: 7aca ldrb r2, [r1, #11] - 800bb02: 7ac3 ldrb r3, [r0, #11] - 800bb04: 4053 eors r3, r2 - 800bb06: 72c3 strb r3, [r0, #11] - 800bb08: 7b0a ldrb r2, [r1, #12] - 800bb0a: 7b03 ldrb r3, [r0, #12] - 800bb0c: 4053 eors r3, r2 - 800bb0e: 7303 strb r3, [r0, #12] - 800bb10: 7b4a ldrb r2, [r1, #13] - 800bb12: 7b43 ldrb r3, [r0, #13] - 800bb14: 4053 eors r3, r2 - 800bb16: 7343 strb r3, [r0, #13] - 800bb18: 7b8a ldrb r2, [r1, #14] - 800bb1a: 7b83 ldrb r3, [r0, #14] - 800bb1c: 4053 eors r3, r2 - 800bb1e: 7383 strb r3, [r0, #14] - 800bb20: 7bca ldrb r2, [r1, #15] - 800bb22: 7bc3 ldrb r3, [r0, #15] - 800bb24: 4053 eors r3, r2 - 800bb26: 73c3 strb r3, [r0, #15] - 800bb28: 4770 bx lr +0800babc : + 800babc: 780a ldrb r2, [r1, #0] + 800babe: 7803 ldrb r3, [r0, #0] + 800bac0: 4053 eors r3, r2 + 800bac2: 7003 strb r3, [r0, #0] + 800bac4: 784a ldrb r2, [r1, #1] + 800bac6: 7843 ldrb r3, [r0, #1] + 800bac8: 4053 eors r3, r2 + 800baca: 7043 strb r3, [r0, #1] + 800bacc: 788a ldrb r2, [r1, #2] + 800bace: 7883 ldrb r3, [r0, #2] + 800bad0: 4053 eors r3, r2 + 800bad2: 7083 strb r3, [r0, #2] + 800bad4: 78ca ldrb r2, [r1, #3] + 800bad6: 78c3 ldrb r3, [r0, #3] + 800bad8: 4053 eors r3, r2 + 800bada: 70c3 strb r3, [r0, #3] + 800badc: 790a ldrb r2, [r1, #4] + 800bade: 7903 ldrb r3, [r0, #4] + 800bae0: 4053 eors r3, r2 + 800bae2: 7103 strb r3, [r0, #4] + 800bae4: 794a ldrb r2, [r1, #5] + 800bae6: 7943 ldrb r3, [r0, #5] + 800bae8: 4053 eors r3, r2 + 800baea: 7143 strb r3, [r0, #5] + 800baec: 798a ldrb r2, [r1, #6] + 800baee: 7983 ldrb r3, [r0, #6] + 800baf0: 4053 eors r3, r2 + 800baf2: 7183 strb r3, [r0, #6] + 800baf4: 79ca ldrb r2, [r1, #7] + 800baf6: 79c3 ldrb r3, [r0, #7] + 800baf8: 4053 eors r3, r2 + 800bafa: 71c3 strb r3, [r0, #7] + 800bafc: 7a0a ldrb r2, [r1, #8] + 800bafe: 7a03 ldrb r3, [r0, #8] + 800bb00: 4053 eors r3, r2 + 800bb02: 7203 strb r3, [r0, #8] + 800bb04: 7a4a ldrb r2, [r1, #9] + 800bb06: 7a43 ldrb r3, [r0, #9] + 800bb08: 4053 eors r3, r2 + 800bb0a: 7243 strb r3, [r0, #9] + 800bb0c: 7a8a ldrb r2, [r1, #10] + 800bb0e: 7a83 ldrb r3, [r0, #10] + 800bb10: 4053 eors r3, r2 + 800bb12: 7283 strb r3, [r0, #10] + 800bb14: 7aca ldrb r2, [r1, #11] + 800bb16: 7ac3 ldrb r3, [r0, #11] + 800bb18: 4053 eors r3, r2 + 800bb1a: 72c3 strb r3, [r0, #11] + 800bb1c: 7b0a ldrb r2, [r1, #12] + 800bb1e: 7b03 ldrb r3, [r0, #12] + 800bb20: 4053 eors r3, r2 + 800bb22: 7303 strb r3, [r0, #12] + 800bb24: 7b4a ldrb r2, [r1, #13] + 800bb26: 7b43 ldrb r3, [r0, #13] + 800bb28: 4053 eors r3, r2 + 800bb2a: 7343 strb r3, [r0, #13] + 800bb2c: 7b8a ldrb r2, [r1, #14] + 800bb2e: 7b83 ldrb r3, [r0, #14] + 800bb30: 4053 eors r3, r2 + 800bb32: 7383 strb r3, [r0, #14] + 800bb34: 7bca ldrb r2, [r1, #15] + 800bb36: 7bc3 ldrb r3, [r0, #15] + 800bb38: 4053 eors r3, r2 + 800bb3a: 73c3 strb r3, [r0, #15] + 800bb3c: 4770 bx lr -0800bb2a : - 800bb2a: b510 push {r4, lr} - 800bb2c: 780b ldrb r3, [r1, #0] - 800bb2e: 7814 ldrb r4, [r2, #0] - 800bb30: 4063 eors r3, r4 - 800bb32: 7003 strb r3, [r0, #0] - 800bb34: 7854 ldrb r4, [r2, #1] - 800bb36: 784b ldrb r3, [r1, #1] - 800bb38: 4063 eors r3, r4 - 800bb3a: 7043 strb r3, [r0, #1] - 800bb3c: 7894 ldrb r4, [r2, #2] - 800bb3e: 788b ldrb r3, [r1, #2] - 800bb40: 4063 eors r3, r4 - 800bb42: 7083 strb r3, [r0, #2] - 800bb44: 78d4 ldrb r4, [r2, #3] - 800bb46: 78cb ldrb r3, [r1, #3] - 800bb48: 4063 eors r3, r4 - 800bb4a: 70c3 strb r3, [r0, #3] - 800bb4c: 7914 ldrb r4, [r2, #4] - 800bb4e: 790b ldrb r3, [r1, #4] - 800bb50: 4063 eors r3, r4 - 800bb52: 7103 strb r3, [r0, #4] - 800bb54: 7954 ldrb r4, [r2, #5] - 800bb56: 794b ldrb r3, [r1, #5] - 800bb58: 4063 eors r3, r4 - 800bb5a: 7143 strb r3, [r0, #5] - 800bb5c: 7994 ldrb r4, [r2, #6] - 800bb5e: 798b ldrb r3, [r1, #6] - 800bb60: 4063 eors r3, r4 - 800bb62: 7183 strb r3, [r0, #6] - 800bb64: 79d4 ldrb r4, [r2, #7] - 800bb66: 79cb ldrb r3, [r1, #7] - 800bb68: 4063 eors r3, r4 - 800bb6a: 71c3 strb r3, [r0, #7] - 800bb6c: 7a14 ldrb r4, [r2, #8] - 800bb6e: 7a0b ldrb r3, [r1, #8] - 800bb70: 4063 eors r3, r4 - 800bb72: 7203 strb r3, [r0, #8] - 800bb74: 7a54 ldrb r4, [r2, #9] - 800bb76: 7a4b ldrb r3, [r1, #9] - 800bb78: 4063 eors r3, r4 - 800bb7a: 7243 strb r3, [r0, #9] - 800bb7c: 7a8b ldrb r3, [r1, #10] - 800bb7e: 7a94 ldrb r4, [r2, #10] - 800bb80: 4063 eors r3, r4 - 800bb82: 7283 strb r3, [r0, #10] - 800bb84: 7ad4 ldrb r4, [r2, #11] - 800bb86: 7acb ldrb r3, [r1, #11] - 800bb88: 4063 eors r3, r4 - 800bb8a: 72c3 strb r3, [r0, #11] - 800bb8c: 7b14 ldrb r4, [r2, #12] - 800bb8e: 7b0b ldrb r3, [r1, #12] - 800bb90: 4063 eors r3, r4 - 800bb92: 7303 strb r3, [r0, #12] - 800bb94: 7b54 ldrb r4, [r2, #13] - 800bb96: 7b4b ldrb r3, [r1, #13] - 800bb98: 4063 eors r3, r4 - 800bb9a: 7343 strb r3, [r0, #13] - 800bb9c: 7b94 ldrb r4, [r2, #14] - 800bb9e: 7b8b ldrb r3, [r1, #14] - 800bba0: 4063 eors r3, r4 - 800bba2: 7383 strb r3, [r0, #14] - 800bba4: 7bcb ldrb r3, [r1, #15] - 800bba6: 7bd2 ldrb r2, [r2, #15] - 800bba8: 4053 eors r3, r2 - 800bbaa: 73c3 strb r3, [r0, #15] - 800bbac: bd10 pop {r4, pc} +0800bb3e : + 800bb3e: b510 push {r4, lr} + 800bb40: 780b ldrb r3, [r1, #0] + 800bb42: 7814 ldrb r4, [r2, #0] + 800bb44: 4063 eors r3, r4 + 800bb46: 7003 strb r3, [r0, #0] + 800bb48: 7854 ldrb r4, [r2, #1] + 800bb4a: 784b ldrb r3, [r1, #1] + 800bb4c: 4063 eors r3, r4 + 800bb4e: 7043 strb r3, [r0, #1] + 800bb50: 7894 ldrb r4, [r2, #2] + 800bb52: 788b ldrb r3, [r1, #2] + 800bb54: 4063 eors r3, r4 + 800bb56: 7083 strb r3, [r0, #2] + 800bb58: 78d4 ldrb r4, [r2, #3] + 800bb5a: 78cb ldrb r3, [r1, #3] + 800bb5c: 4063 eors r3, r4 + 800bb5e: 70c3 strb r3, [r0, #3] + 800bb60: 7914 ldrb r4, [r2, #4] + 800bb62: 790b ldrb r3, [r1, #4] + 800bb64: 4063 eors r3, r4 + 800bb66: 7103 strb r3, [r0, #4] + 800bb68: 7954 ldrb r4, [r2, #5] + 800bb6a: 794b ldrb r3, [r1, #5] + 800bb6c: 4063 eors r3, r4 + 800bb6e: 7143 strb r3, [r0, #5] + 800bb70: 7994 ldrb r4, [r2, #6] + 800bb72: 798b ldrb r3, [r1, #6] + 800bb74: 4063 eors r3, r4 + 800bb76: 7183 strb r3, [r0, #6] + 800bb78: 79d4 ldrb r4, [r2, #7] + 800bb7a: 79cb ldrb r3, [r1, #7] + 800bb7c: 4063 eors r3, r4 + 800bb7e: 71c3 strb r3, [r0, #7] + 800bb80: 7a14 ldrb r4, [r2, #8] + 800bb82: 7a0b ldrb r3, [r1, #8] + 800bb84: 4063 eors r3, r4 + 800bb86: 7203 strb r3, [r0, #8] + 800bb88: 7a54 ldrb r4, [r2, #9] + 800bb8a: 7a4b ldrb r3, [r1, #9] + 800bb8c: 4063 eors r3, r4 + 800bb8e: 7243 strb r3, [r0, #9] + 800bb90: 7a8b ldrb r3, [r1, #10] + 800bb92: 7a94 ldrb r4, [r2, #10] + 800bb94: 4063 eors r3, r4 + 800bb96: 7283 strb r3, [r0, #10] + 800bb98: 7ad4 ldrb r4, [r2, #11] + 800bb9a: 7acb ldrb r3, [r1, #11] + 800bb9c: 4063 eors r3, r4 + 800bb9e: 72c3 strb r3, [r0, #11] + 800bba0: 7b14 ldrb r4, [r2, #12] + 800bba2: 7b0b ldrb r3, [r1, #12] + 800bba4: 4063 eors r3, r4 + 800bba6: 7303 strb r3, [r0, #12] + 800bba8: 7b54 ldrb r4, [r2, #13] + 800bbaa: 7b4b ldrb r3, [r1, #13] + 800bbac: 4063 eors r3, r4 + 800bbae: 7343 strb r3, [r0, #13] + 800bbb0: 7b94 ldrb r4, [r2, #14] + 800bbb2: 7b8b ldrb r3, [r1, #14] + 800bbb4: 4063 eors r3, r4 + 800bbb6: 7383 strb r3, [r0, #14] + 800bbb8: 7bcb ldrb r3, [r1, #15] + 800bbba: 7bd2 ldrb r2, [r2, #15] + 800bbbc: 4053 eors r3, r2 + 800bbbe: 73c3 strb r3, [r0, #15] + 800bbc0: bd10 pop {r4, pc} ... -0800bbb0 : - 800bbb0: f1a1 0310 sub.w r3, r1, #16 - 800bbb4: b2db uxtb r3, r3 - 800bbb6: 2b10 cmp r3, #16 - 800bbb8: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 800bbbc: d804 bhi.n 800bbc8 - 800bbbe: 4c37 ldr r4, [pc, #220] ; (800bc9c ) - 800bbc0: fa24 f303 lsr.w r3, r4, r3 - 800bbc4: 07db lsls r3, r3, #31 - 800bbc6: d405 bmi.n 800bbd4 - 800bbc8: 2300 movs r3, #0 - 800bbca: f882 30f0 strb.w r3, [r2, #240] ; 0xf0 - 800bbce: 20ff movs r0, #255 ; 0xff - 800bbd0: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 800bbd4: 1e53 subs r3, r2, #1 - 800bbd6: 1844 adds r4, r0, r1 - 800bbd8: 42a0 cmp r0, r4 - 800bbda: d14e bne.n 800bc7a - 800bbdc: f101 031c add.w r3, r1, #28 - 800bbe0: 009b lsls r3, r3, #2 - 800bbe2: fa5f f983 uxtb.w r9, r3 - 800bbe6: f3c3 1303 ubfx r3, r3, #4, #4 - 800bbea: 3b01 subs r3, #1 - 800bbec: 4d2c ldr r5, [pc, #176] ; (800bca0 ) - 800bbee: f882 30f0 strb.w r3, [r2, #240] ; 0xf0 - 800bbf2: 2401 movs r4, #1 - 800bbf4: 460b mov r3, r1 - 800bbf6: 18d6 adds r6, r2, r3 - 800bbf8: fbb3 f0f1 udiv r0, r3, r1 - 800bbfc: fb01 3010 mls r0, r1, r0, r3 - 800bc00: f010 00ff ands.w r0, r0, #255 ; 0xff - 800bc04: f816 ac04 ldrb.w sl, [r6, #-4] - 800bc08: f816 ec03 ldrb.w lr, [r6, #-3] - 800bc0c: f816 cc02 ldrb.w ip, [r6, #-2] - 800bc10: f816 7c01 ldrb.w r7, [r6, #-1] - 800bc14: d136 bne.n 800bc84 - 800bc16: f815 800e ldrb.w r8, [r5, lr] - 800bc1a: f815 e00c ldrb.w lr, [r5, ip] - 800bc1e: f815 c007 ldrb.w ip, [r5, r7] - 800bc22: f815 700a ldrb.w r7, [r5, sl] - 800bc26: 09e0 lsrs r0, r4, #7 - 800bc28: eb00 0040 add.w r0, r0, r0, lsl #1 - 800bc2c: ea84 0808 eor.w r8, r4, r8 - 800bc30: eb00 00c0 add.w r0, r0, r0, lsl #3 - 800bc34: 0064 lsls r4, r4, #1 - 800bc36: b2c0 uxtb r0, r0 - 800bc38: b2e4 uxtb r4, r4 - 800bc3a: 4044 eors r4, r0 - 800bc3c: 46c2 mov sl, r8 - 800bc3e: 1a58 subs r0, r3, r1 - 800bc40: b2c0 uxtb r0, r0 - 800bc42: f812 8000 ldrb.w r8, [r2, r0] - 800bc46: ea8a 0a08 eor.w sl, sl, r8 - 800bc4a: f802 a003 strb.w sl, [r2, r3] - 800bc4e: 4410 add r0, r2 - 800bc50: 3304 adds r3, #4 - 800bc52: f890 8001 ldrb.w r8, [r0, #1] - 800bc56: ea8e 0e08 eor.w lr, lr, r8 - 800bc5a: f886 e001 strb.w lr, [r6, #1] - 800bc5e: f890 e002 ldrb.w lr, [r0, #2] - 800bc62: ea8c 0c0e eor.w ip, ip, lr - 800bc66: f886 c002 strb.w ip, [r6, #2] - 800bc6a: 78c0 ldrb r0, [r0, #3] - 800bc6c: b2db uxtb r3, r3 - 800bc6e: 4047 eors r7, r0 - 800bc70: 4599 cmp r9, r3 - 800bc72: 70f7 strb r7, [r6, #3] - 800bc74: d8bf bhi.n 800bbf6 - 800bc76: 2000 movs r0, #0 - 800bc78: e7aa b.n 800bbd0 - 800bc7a: f810 5b01 ldrb.w r5, [r0], #1 - 800bc7e: f803 5f01 strb.w r5, [r3, #1]! - 800bc82: e7a9 b.n 800bbd8 - 800bc84: 2918 cmp r1, #24 - 800bc86: d9da bls.n 800bc3e - 800bc88: 2810 cmp r0, #16 - 800bc8a: bf01 itttt eq - 800bc8c: f815 a00a ldrbeq.w sl, [r5, sl] - 800bc90: f815 e00e ldrbeq.w lr, [r5, lr] - 800bc94: f815 c00c ldrbeq.w ip, [r5, ip] - 800bc98: 5def ldrbeq r7, [r5, r7] - 800bc9a: e7d0 b.n 800bc3e - 800bc9c: 00010101 .word 0x00010101 - 800bca0: 0800f654 .word 0x0800f654 +0800bbc4 : + 800bbc4: f1a1 0310 sub.w r3, r1, #16 + 800bbc8: b2db uxtb r3, r3 + 800bbca: 2b10 cmp r3, #16 + 800bbcc: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} + 800bbd0: d804 bhi.n 800bbdc + 800bbd2: 4c37 ldr r4, [pc, #220] ; (800bcb0 ) + 800bbd4: fa24 f303 lsr.w r3, r4, r3 + 800bbd8: 07db lsls r3, r3, #31 + 800bbda: d405 bmi.n 800bbe8 + 800bbdc: 2300 movs r3, #0 + 800bbde: f882 30f0 strb.w r3, [r2, #240] ; 0xf0 + 800bbe2: 20ff movs r0, #255 ; 0xff + 800bbe4: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 800bbe8: 1e53 subs r3, r2, #1 + 800bbea: 1844 adds r4, r0, r1 + 800bbec: 42a0 cmp r0, r4 + 800bbee: d14e bne.n 800bc8e + 800bbf0: f101 031c add.w r3, r1, #28 + 800bbf4: 009b lsls r3, r3, #2 + 800bbf6: fa5f f983 uxtb.w r9, r3 + 800bbfa: f3c3 1303 ubfx r3, r3, #4, #4 + 800bbfe: 3b01 subs r3, #1 + 800bc00: 4d2c ldr r5, [pc, #176] ; (800bcb4 ) + 800bc02: f882 30f0 strb.w r3, [r2, #240] ; 0xf0 + 800bc06: 2401 movs r4, #1 + 800bc08: 460b mov r3, r1 + 800bc0a: 18d6 adds r6, r2, r3 + 800bc0c: fbb3 f0f1 udiv r0, r3, r1 + 800bc10: fb01 3010 mls r0, r1, r0, r3 + 800bc14: f010 00ff ands.w r0, r0, #255 ; 0xff + 800bc18: f816 ac04 ldrb.w sl, [r6, #-4] + 800bc1c: f816 ec03 ldrb.w lr, [r6, #-3] + 800bc20: f816 cc02 ldrb.w ip, [r6, #-2] + 800bc24: f816 7c01 ldrb.w r7, [r6, #-1] + 800bc28: d136 bne.n 800bc98 + 800bc2a: f815 800e ldrb.w r8, [r5, lr] + 800bc2e: f815 e00c ldrb.w lr, [r5, ip] + 800bc32: f815 c007 ldrb.w ip, [r5, r7] + 800bc36: f815 700a ldrb.w r7, [r5, sl] + 800bc3a: 09e0 lsrs r0, r4, #7 + 800bc3c: eb00 0040 add.w r0, r0, r0, lsl #1 + 800bc40: ea84 0808 eor.w r8, r4, r8 + 800bc44: eb00 00c0 add.w r0, r0, r0, lsl #3 + 800bc48: 0064 lsls r4, r4, #1 + 800bc4a: b2c0 uxtb r0, r0 + 800bc4c: b2e4 uxtb r4, r4 + 800bc4e: 4044 eors r4, r0 + 800bc50: 46c2 mov sl, r8 + 800bc52: 1a58 subs r0, r3, r1 + 800bc54: b2c0 uxtb r0, r0 + 800bc56: f812 8000 ldrb.w r8, [r2, r0] + 800bc5a: ea8a 0a08 eor.w sl, sl, r8 + 800bc5e: f802 a003 strb.w sl, [r2, r3] + 800bc62: 4410 add r0, r2 + 800bc64: 3304 adds r3, #4 + 800bc66: f890 8001 ldrb.w r8, [r0, #1] + 800bc6a: ea8e 0e08 eor.w lr, lr, r8 + 800bc6e: f886 e001 strb.w lr, [r6, #1] + 800bc72: f890 e002 ldrb.w lr, [r0, #2] + 800bc76: ea8c 0c0e eor.w ip, ip, lr + 800bc7a: f886 c002 strb.w ip, [r6, #2] + 800bc7e: 78c0 ldrb r0, [r0, #3] + 800bc80: b2db uxtb r3, r3 + 800bc82: 4047 eors r7, r0 + 800bc84: 4599 cmp r9, r3 + 800bc86: 70f7 strb r7, [r6, #3] + 800bc88: d8bf bhi.n 800bc0a + 800bc8a: 2000 movs r0, #0 + 800bc8c: e7aa b.n 800bbe4 + 800bc8e: f810 5b01 ldrb.w r5, [r0], #1 + 800bc92: f803 5f01 strb.w r5, [r3, #1]! + 800bc96: e7a9 b.n 800bbec + 800bc98: 2918 cmp r1, #24 + 800bc9a: d9da bls.n 800bc52 + 800bc9c: 2810 cmp r0, #16 + 800bc9e: bf01 itttt eq + 800bca0: f815 a00a ldrbeq.w sl, [r5, sl] + 800bca4: f815 e00e ldrbeq.w lr, [r5, lr] + 800bca8: f815 c00c ldrbeq.w ip, [r5, ip] + 800bcac: 5def ldrbeq r7, [r5, r7] + 800bcae: e7d0 b.n 800bc52 + 800bcb0: 00010101 .word 0x00010101 + 800bcb4: 0800f664 .word 0x0800f664 -0800bca4 : - 800bca4: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800bca8: b0a3 sub sp, #140 ; 0x8c - 800bcaa: f892 30f0 ldrb.w r3, [r2, #240] ; 0xf0 - 800bcae: 911d str r1, [sp, #116] ; 0x74 - 800bcb0: 921b str r2, [sp, #108] ; 0x6c - 800bcb2: 9301 str r3, [sp, #4] - 800bcb4: 2b00 cmp r3, #0 - 800bcb6: f000 8153 beq.w 800bf60 - 800bcba: 4601 mov r1, r0 - 800bcbc: a81e add r0, sp, #120 ; 0x78 - 800bcbe: f7ff ff34 bl 800bb2a - 800bcc2: 9b1b ldr r3, [sp, #108] ; 0x6c - 800bcc4: 4ca7 ldr r4, [pc, #668] ; (800bf64 ) - 800bcc6: 4da8 ldr r5, [pc, #672] ; (800bf68 ) - 800bcc8: 4ea8 ldr r6, [pc, #672] ; (800bf6c ) - 800bcca: 3310 adds r3, #16 - 800bccc: 9302 str r3, [sp, #8] - 800bcce: 2300 movs r3, #0 - 800bcd0: 9303 str r3, [sp, #12] - 800bcd2: f89d 007c ldrb.w r0, [sp, #124] ; 0x7c - 800bcd6: 9004 str r0, [sp, #16] - 800bcd8: f89d 0086 ldrb.w r0, [sp, #134] ; 0x86 - 800bcdc: 9005 str r0, [sp, #20] - 800bcde: 5c20 ldrb r0, [r4, r0] - 800bce0: 9006 str r0, [sp, #24] - 800bce2: f89d 007b ldrb.w r0, [sp, #123] ; 0x7b - 800bce6: 9007 str r0, [sp, #28] - 800bce8: 5c20 ldrb r0, [r4, r0] - 800bcea: 9008 str r0, [sp, #32] - 800bcec: 9804 ldr r0, [sp, #16] - 800bcee: f89d c081 ldrb.w ip, [sp, #129] ; 0x81 +0800bcb8 : + 800bcb8: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800bcbc: b0a3 sub sp, #140 ; 0x8c + 800bcbe: f892 30f0 ldrb.w r3, [r2, #240] ; 0xf0 + 800bcc2: 911d str r1, [sp, #116] ; 0x74 + 800bcc4: 921b str r2, [sp, #108] ; 0x6c + 800bcc6: 9301 str r3, [sp, #4] + 800bcc8: 2b00 cmp r3, #0 + 800bcca: f000 8153 beq.w 800bf74 + 800bcce: 4601 mov r1, r0 + 800bcd0: a81e add r0, sp, #120 ; 0x78 + 800bcd2: f7ff ff34 bl 800bb3e + 800bcd6: 9b1b ldr r3, [sp, #108] ; 0x6c + 800bcd8: 4ca7 ldr r4, [pc, #668] ; (800bf78 ) + 800bcda: 4da8 ldr r5, [pc, #672] ; (800bf7c ) + 800bcdc: 4ea8 ldr r6, [pc, #672] ; (800bf80 ) + 800bcde: 3310 adds r3, #16 + 800bce0: 9302 str r3, [sp, #8] + 800bce2: 2300 movs r3, #0 + 800bce4: 9303 str r3, [sp, #12] + 800bce6: f89d 007c ldrb.w r0, [sp, #124] ; 0x7c + 800bcea: 9004 str r0, [sp, #16] + 800bcec: f89d 0086 ldrb.w r0, [sp, #134] ; 0x86 + 800bcf0: 9005 str r0, [sp, #20] 800bcf2: 5c20 ldrb r0, [r4, r0] - 800bcf4: 9009 str r0, [sp, #36] ; 0x24 - 800bcf6: f814 000c ldrb.w r0, [r4, ip] - 800bcfa: 900a str r0, [sp, #40] ; 0x28 - 800bcfc: f89d 0080 ldrb.w r0, [sp, #128] ; 0x80 - 800bd00: 900b str r0, [sp, #44] ; 0x2c - 800bd02: f89d 0085 ldrb.w r0, [sp, #133] ; 0x85 - 800bd06: f89d 8078 ldrb.w r8, [sp, #120] ; 0x78 - 800bd0a: f89d e07d ldrb.w lr, [sp, #125] ; 0x7d - 800bd0e: f89d a082 ldrb.w sl, [sp, #130] ; 0x82 - 800bd12: f89d 9087 ldrb.w r9, [sp, #135] ; 0x87 - 800bd16: 900c str r0, [sp, #48] ; 0x30 - 800bd18: f89d 007a ldrb.w r0, [sp, #122] ; 0x7a - 800bd1c: 9b02 ldr r3, [sp, #8] - 800bd1e: 931c str r3, [sp, #112] ; 0x70 - 800bd20: f814 200a ldrb.w r2, [r4, sl] - 800bd24: f814 3009 ldrb.w r3, [r4, r9] - 800bd28: f814 1008 ldrb.w r1, [r4, r8] - 800bd2c: f814 700e ldrb.w r7, [r4, lr] - 800bd30: 900d str r0, [sp, #52] ; 0x34 - 800bd32: 5c20 ldrb r0, [r4, r0] - 800bd34: 900e str r0, [sp, #56] ; 0x38 - 800bd36: f89d 007f ldrb.w r0, [sp, #127] ; 0x7f - 800bd3a: 900f str r0, [sp, #60] ; 0x3c - 800bd3c: 5c20 ldrb r0, [r4, r0] - 800bd3e: 9010 str r0, [sp, #64] ; 0x40 - 800bd40: 980b ldr r0, [sp, #44] ; 0x2c - 800bd42: 5c20 ldrb r0, [r4, r0] - 800bd44: 9011 str r0, [sp, #68] ; 0x44 - 800bd46: 980c ldr r0, [sp, #48] ; 0x30 - 800bd48: 5c20 ldrb r0, [r4, r0] - 800bd4a: 9012 str r0, [sp, #72] ; 0x48 - 800bd4c: f89d 0084 ldrb.w r0, [sp, #132] ; 0x84 - 800bd50: 9013 str r0, [sp, #76] ; 0x4c - 800bd52: f89d 0079 ldrb.w r0, [sp, #121] ; 0x79 - 800bd56: 9014 str r0, [sp, #80] ; 0x50 - 800bd58: f89d 007e ldrb.w r0, [sp, #126] ; 0x7e - 800bd5c: 9015 str r0, [sp, #84] ; 0x54 - 800bd5e: 5c20 ldrb r0, [r4, r0] - 800bd60: 9016 str r0, [sp, #88] ; 0x58 - 800bd62: f89d 0083 ldrb.w r0, [sp, #131] ; 0x83 - 800bd66: 9017 str r0, [sp, #92] ; 0x5c - 800bd68: 5c20 ldrb r0, [r4, r0] - 800bd6a: 9018 str r0, [sp, #96] ; 0x60 - 800bd6c: 9813 ldr r0, [sp, #76] ; 0x4c - 800bd6e: 5c20 ldrb r0, [r4, r0] - 800bd70: 9019 str r0, [sp, #100] ; 0x64 - 800bd72: 9814 ldr r0, [sp, #80] ; 0x50 - 800bd74: 5c20 ldrb r0, [r4, r0] - 800bd76: 901a str r0, [sp, #104] ; 0x68 - 800bd78: 9803 ldr r0, [sp, #12] - 800bd7a: 3001 adds r0, #1 - 800bd7c: 9003 str r0, [sp, #12] - 800bd7e: 9802 ldr r0, [sp, #8] - 800bd80: f8dd b004 ldr.w fp, [sp, #4] - 800bd84: 3010 adds r0, #16 - 800bd86: 9002 str r0, [sp, #8] - 800bd88: f89d 000c ldrb.w r0, [sp, #12] - 800bd8c: 4583 cmp fp, r0 - 800bd8e: d836 bhi.n 800bdfe - 800bd90: f88d 1078 strb.w r1, [sp, #120] ; 0x78 - 800bd94: f88d 207a strb.w r2, [sp, #122] ; 0x7a - 800bd98: 9909 ldr r1, [sp, #36] ; 0x24 - 800bd9a: 9a0e ldr r2, [sp, #56] ; 0x38 - 800bd9c: f88d 107c strb.w r1, [sp, #124] ; 0x7c - 800bda0: f88d 2082 strb.w r2, [sp, #130] ; 0x82 - 800bda4: 9911 ldr r1, [sp, #68] ; 0x44 - 800bda6: 9a06 ldr r2, [sp, #24] - 800bda8: f88d 1080 strb.w r1, [sp, #128] ; 0x80 - 800bdac: f88d 207e strb.w r2, [sp, #126] ; 0x7e - 800bdb0: 9919 ldr r1, [sp, #100] ; 0x64 - 800bdb2: 9a16 ldr r2, [sp, #88] ; 0x58 - 800bdb4: f88d 1084 strb.w r1, [sp, #132] ; 0x84 - 800bdb8: f88d 2086 strb.w r2, [sp, #134] ; 0x86 - 800bdbc: 990a ldr r1, [sp, #40] ; 0x28 - 800bdbe: 9a18 ldr r2, [sp, #96] ; 0x60 - 800bdc0: f88d 107d strb.w r1, [sp, #125] ; 0x7d - 800bdc4: f88d 2087 strb.w r2, [sp, #135] ; 0x87 - 800bdc8: 9912 ldr r1, [sp, #72] ; 0x48 - 800bdca: 9a10 ldr r2, [sp, #64] ; 0x40 - 800bdcc: f88d 307b strb.w r3, [sp, #123] ; 0x7b - 800bdd0: 9b1b ldr r3, [sp, #108] ; 0x6c - 800bdd2: f88d 1081 strb.w r1, [sp, #129] ; 0x81 - 800bdd6: f88d 2083 strb.w r2, [sp, #131] ; 0x83 - 800bdda: 991a ldr r1, [sp, #104] ; 0x68 - 800bddc: 9a08 ldr r2, [sp, #32] - 800bdde: 981d ldr r0, [sp, #116] ; 0x74 - 800bde0: f88d 1085 strb.w r1, [sp, #133] ; 0x85 - 800bde4: f88d 207f strb.w r2, [sp, #127] ; 0x7f - 800bde8: a91e add r1, sp, #120 ; 0x78 - 800bdea: eb03 120b add.w r2, r3, fp, lsl #4 - 800bdee: f88d 7079 strb.w r7, [sp, #121] ; 0x79 - 800bdf2: f7ff fe9a bl 800bb2a - 800bdf6: 2000 movs r0, #0 - 800bdf8: b023 add sp, #140 ; 0x8c - 800bdfa: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800bdfe: f815 b008 ldrb.w fp, [r5, r8] - 800be02: ea82 0003 eor.w r0, r2, r3 - 800be06: ea8b 0000 eor.w r0, fp, r0 - 800be0a: f816 b00e ldrb.w fp, [r6, lr] - 800be0e: ea80 000b eor.w r0, r0, fp - 800be12: f88d 0078 strb.w r0, [sp, #120] ; 0x78 - 800be16: f815 000e ldrb.w r0, [r5, lr] - 800be1a: 404b eors r3, r1 - 800be1c: 4043 eors r3, r0 - 800be1e: f816 000a ldrb.w r0, [r6, sl] - 800be22: 4043 eors r3, r0 - 800be24: f88d 3079 strb.w r3, [sp, #121] ; 0x79 - 800be28: ea81 0307 eor.w r3, r1, r7 - 800be2c: f815 100a ldrb.w r1, [r5, sl] - 800be30: 4059 eors r1, r3 - 800be32: f816 3009 ldrb.w r3, [r6, r9] - 800be36: 4059 eors r1, r3 - 800be38: f816 3008 ldrb.w r3, [r6, r8] - 800be3c: f88d 107a strb.w r1, [sp, #122] ; 0x7a - 800be40: 407a eors r2, r7 - 800be42: 4053 eors r3, r2 - 800be44: f815 2009 ldrb.w r2, [r5, r9] - 800be48: 4053 eors r3, r2 - 800be4a: f88d 307b strb.w r3, [sp, #123] ; 0x7b - 800be4e: 9a08 ldr r2, [sp, #32] - 800be50: 9b06 ldr r3, [sp, #24] - 800be52: 4053 eors r3, r2 - 800be54: 9a04 ldr r2, [sp, #16] - 800be56: 5caa ldrb r2, [r5, r2] - 800be58: 4053 eors r3, r2 - 800be5a: f816 200c ldrb.w r2, [r6, ip] - 800be5e: 4053 eors r3, r2 - 800be60: f88d 307c strb.w r3, [sp, #124] ; 0x7c - 800be64: e9dd 3208 ldrd r3, r2, [sp, #32] - 800be68: 405a eors r2, r3 - 800be6a: f815 300c ldrb.w r3, [r5, ip] - 800be6e: 4053 eors r3, r2 - 800be70: 9a05 ldr r2, [sp, #20] - 800be72: 5cb2 ldrb r2, [r6, r2] - 800be74: 4053 eors r3, r2 - 800be76: f88d 307d strb.w r3, [sp, #125] ; 0x7d - 800be7a: e9dd 3209 ldrd r3, r2, [sp, #36] ; 0x24 - 800be7e: 405a eors r2, r3 - 800be80: 9b05 ldr r3, [sp, #20] - 800be82: 5ceb ldrb r3, [r5, r3] - 800be84: 4053 eors r3, r2 - 800be86: 9a07 ldr r2, [sp, #28] - 800be88: 5cb2 ldrb r2, [r6, r2] - 800be8a: 4053 eors r3, r2 - 800be8c: f88d 307e strb.w r3, [sp, #126] ; 0x7e - 800be90: 9b06 ldr r3, [sp, #24] - 800be92: 9a0a ldr r2, [sp, #40] ; 0x28 - 800be94: 4053 eors r3, r2 - 800be96: 9a04 ldr r2, [sp, #16] - 800be98: 5cb2 ldrb r2, [r6, r2] - 800be9a: 405a eors r2, r3 - 800be9c: 9b07 ldr r3, [sp, #28] - 800be9e: 5ceb ldrb r3, [r5, r3] - 800bea0: 405a eors r2, r3 - 800bea2: f88d 207f strb.w r2, [sp, #127] ; 0x7f - 800bea6: 9b0e ldr r3, [sp, #56] ; 0x38 - 800bea8: 9a10 ldr r2, [sp, #64] ; 0x40 - 800beaa: 4053 eors r3, r2 - 800beac: 9a0b ldr r2, [sp, #44] ; 0x2c - 800beae: 5caa ldrb r2, [r5, r2] - 800beb0: 4053 eors r3, r2 - 800beb2: 9a0c ldr r2, [sp, #48] ; 0x30 - 800beb4: 5cb2 ldrb r2, [r6, r2] - 800beb6: 4053 eors r3, r2 - 800beb8: f88d 3080 strb.w r3, [sp, #128] ; 0x80 - 800bebc: e9dd 3210 ldrd r3, r2, [sp, #64] ; 0x40 - 800bec0: 405a eors r2, r3 - 800bec2: 9b0c ldr r3, [sp, #48] ; 0x30 - 800bec4: 5ceb ldrb r3, [r5, r3] - 800bec6: 4053 eors r3, r2 - 800bec8: 9a0d ldr r2, [sp, #52] ; 0x34 - 800beca: 5cb2 ldrb r2, [r6, r2] - 800becc: 4053 eors r3, r2 - 800bece: f88d 3081 strb.w r3, [sp, #129] ; 0x81 - 800bed2: e9dd 3211 ldrd r3, r2, [sp, #68] ; 0x44 - 800bed6: 405a eors r2, r3 - 800bed8: 9b0d ldr r3, [sp, #52] ; 0x34 - 800beda: 5ceb ldrb r3, [r5, r3] - 800bedc: 4053 eors r3, r2 - 800bede: 9a0f ldr r2, [sp, #60] ; 0x3c - 800bee0: 5cb2 ldrb r2, [r6, r2] - 800bee2: 4053 eors r3, r2 - 800bee4: f88d 3082 strb.w r3, [sp, #130] ; 0x82 - 800bee8: 9a12 ldr r2, [sp, #72] ; 0x48 - 800beea: 9b0e ldr r3, [sp, #56] ; 0x38 - 800beec: 4053 eors r3, r2 - 800beee: 9a0b ldr r2, [sp, #44] ; 0x2c - 800bef0: 5cb2 ldrb r2, [r6, r2] - 800bef2: 405a eors r2, r3 - 800bef4: 9b0f ldr r3, [sp, #60] ; 0x3c - 800bef6: 5ceb ldrb r3, [r5, r3] - 800bef8: 991c ldr r1, [sp, #112] ; 0x70 - 800befa: 405a eors r2, r3 - 800befc: f88d 2083 strb.w r2, [sp, #131] ; 0x83 - 800bf00: 9b16 ldr r3, [sp, #88] ; 0x58 - 800bf02: 9a18 ldr r2, [sp, #96] ; 0x60 - 800bf04: 4053 eors r3, r2 - 800bf06: 9a13 ldr r2, [sp, #76] ; 0x4c - 800bf08: 5caa ldrb r2, [r5, r2] - 800bf0a: 4053 eors r3, r2 - 800bf0c: 9a14 ldr r2, [sp, #80] ; 0x50 - 800bf0e: 5cb2 ldrb r2, [r6, r2] - 800bf10: 4053 eors r3, r2 - 800bf12: f88d 3084 strb.w r3, [sp, #132] ; 0x84 - 800bf16: e9dd 3218 ldrd r3, r2, [sp, #96] ; 0x60 - 800bf1a: 405a eors r2, r3 - 800bf1c: 9b14 ldr r3, [sp, #80] ; 0x50 - 800bf1e: 5ceb ldrb r3, [r5, r3] - 800bf20: 4053 eors r3, r2 - 800bf22: 9a15 ldr r2, [sp, #84] ; 0x54 - 800bf24: 5cb2 ldrb r2, [r6, r2] - 800bf26: 4053 eors r3, r2 - 800bf28: f88d 3085 strb.w r3, [sp, #133] ; 0x85 - 800bf2c: e9dd 3219 ldrd r3, r2, [sp, #100] ; 0x64 - 800bf30: 405a eors r2, r3 - 800bf32: 9b15 ldr r3, [sp, #84] ; 0x54 - 800bf34: 5ceb ldrb r3, [r5, r3] - 800bf36: 4053 eors r3, r2 - 800bf38: 9a17 ldr r2, [sp, #92] ; 0x5c - 800bf3a: 5cb2 ldrb r2, [r6, r2] - 800bf3c: 4053 eors r3, r2 - 800bf3e: f88d 3086 strb.w r3, [sp, #134] ; 0x86 - 800bf42: 9a1a ldr r2, [sp, #104] ; 0x68 - 800bf44: 9b16 ldr r3, [sp, #88] ; 0x58 - 800bf46: 4053 eors r3, r2 - 800bf48: 9a13 ldr r2, [sp, #76] ; 0x4c - 800bf4a: 5cb2 ldrb r2, [r6, r2] - 800bf4c: 4053 eors r3, r2 - 800bf4e: 9a17 ldr r2, [sp, #92] ; 0x5c - 800bf50: 5caa ldrb r2, [r5, r2] - 800bf52: a81e add r0, sp, #120 ; 0x78 - 800bf54: 4053 eors r3, r2 - 800bf56: f88d 3087 strb.w r3, [sp, #135] ; 0x87 - 800bf5a: f7ff fda5 bl 800baa8 - 800bf5e: e6b8 b.n 800bcd2 - 800bf60: 20ff movs r0, #255 ; 0xff - 800bf62: e749 b.n 800bdf8 - 800bf64: 0800f654 .word 0x0800f654 - 800bf68: 0800f454 .word 0x0800f454 - 800bf6c: 0800f554 .word 0x0800f554 + 800bcf4: 9006 str r0, [sp, #24] + 800bcf6: f89d 007b ldrb.w r0, [sp, #123] ; 0x7b + 800bcfa: 9007 str r0, [sp, #28] + 800bcfc: 5c20 ldrb r0, [r4, r0] + 800bcfe: 9008 str r0, [sp, #32] + 800bd00: 9804 ldr r0, [sp, #16] + 800bd02: f89d c081 ldrb.w ip, [sp, #129] ; 0x81 + 800bd06: 5c20 ldrb r0, [r4, r0] + 800bd08: 9009 str r0, [sp, #36] ; 0x24 + 800bd0a: f814 000c ldrb.w r0, [r4, ip] + 800bd0e: 900a str r0, [sp, #40] ; 0x28 + 800bd10: f89d 0080 ldrb.w r0, [sp, #128] ; 0x80 + 800bd14: 900b str r0, [sp, #44] ; 0x2c + 800bd16: f89d 0085 ldrb.w r0, [sp, #133] ; 0x85 + 800bd1a: f89d 8078 ldrb.w r8, [sp, #120] ; 0x78 + 800bd1e: f89d e07d ldrb.w lr, [sp, #125] ; 0x7d + 800bd22: f89d a082 ldrb.w sl, [sp, #130] ; 0x82 + 800bd26: f89d 9087 ldrb.w r9, [sp, #135] ; 0x87 + 800bd2a: 900c str r0, [sp, #48] ; 0x30 + 800bd2c: f89d 007a ldrb.w r0, [sp, #122] ; 0x7a + 800bd30: 9b02 ldr r3, [sp, #8] + 800bd32: 931c str r3, [sp, #112] ; 0x70 + 800bd34: f814 200a ldrb.w r2, [r4, sl] + 800bd38: f814 3009 ldrb.w r3, [r4, r9] + 800bd3c: f814 1008 ldrb.w r1, [r4, r8] + 800bd40: f814 700e ldrb.w r7, [r4, lr] + 800bd44: 900d str r0, [sp, #52] ; 0x34 + 800bd46: 5c20 ldrb r0, [r4, r0] + 800bd48: 900e str r0, [sp, #56] ; 0x38 + 800bd4a: f89d 007f ldrb.w r0, [sp, #127] ; 0x7f + 800bd4e: 900f str r0, [sp, #60] ; 0x3c + 800bd50: 5c20 ldrb r0, [r4, r0] + 800bd52: 9010 str r0, [sp, #64] ; 0x40 + 800bd54: 980b ldr r0, [sp, #44] ; 0x2c + 800bd56: 5c20 ldrb r0, [r4, r0] + 800bd58: 9011 str r0, [sp, #68] ; 0x44 + 800bd5a: 980c ldr r0, [sp, #48] ; 0x30 + 800bd5c: 5c20 ldrb r0, [r4, r0] + 800bd5e: 9012 str r0, [sp, #72] ; 0x48 + 800bd60: f89d 0084 ldrb.w r0, [sp, #132] ; 0x84 + 800bd64: 9013 str r0, [sp, #76] ; 0x4c + 800bd66: f89d 0079 ldrb.w r0, [sp, #121] ; 0x79 + 800bd6a: 9014 str r0, [sp, #80] ; 0x50 + 800bd6c: f89d 007e ldrb.w r0, [sp, #126] ; 0x7e + 800bd70: 9015 str r0, [sp, #84] ; 0x54 + 800bd72: 5c20 ldrb r0, [r4, r0] + 800bd74: 9016 str r0, [sp, #88] ; 0x58 + 800bd76: f89d 0083 ldrb.w r0, [sp, #131] ; 0x83 + 800bd7a: 9017 str r0, [sp, #92] ; 0x5c + 800bd7c: 5c20 ldrb r0, [r4, r0] + 800bd7e: 9018 str r0, [sp, #96] ; 0x60 + 800bd80: 9813 ldr r0, [sp, #76] ; 0x4c + 800bd82: 5c20 ldrb r0, [r4, r0] + 800bd84: 9019 str r0, [sp, #100] ; 0x64 + 800bd86: 9814 ldr r0, [sp, #80] ; 0x50 + 800bd88: 5c20 ldrb r0, [r4, r0] + 800bd8a: 901a str r0, [sp, #104] ; 0x68 + 800bd8c: 9803 ldr r0, [sp, #12] + 800bd8e: 3001 adds r0, #1 + 800bd90: 9003 str r0, [sp, #12] + 800bd92: 9802 ldr r0, [sp, #8] + 800bd94: f8dd b004 ldr.w fp, [sp, #4] + 800bd98: 3010 adds r0, #16 + 800bd9a: 9002 str r0, [sp, #8] + 800bd9c: f89d 000c ldrb.w r0, [sp, #12] + 800bda0: 4583 cmp fp, r0 + 800bda2: d836 bhi.n 800be12 + 800bda4: f88d 1078 strb.w r1, [sp, #120] ; 0x78 + 800bda8: f88d 207a strb.w r2, [sp, #122] ; 0x7a + 800bdac: 9909 ldr r1, [sp, #36] ; 0x24 + 800bdae: 9a0e ldr r2, [sp, #56] ; 0x38 + 800bdb0: f88d 107c strb.w r1, [sp, #124] ; 0x7c + 800bdb4: f88d 2082 strb.w r2, [sp, #130] ; 0x82 + 800bdb8: 9911 ldr r1, [sp, #68] ; 0x44 + 800bdba: 9a06 ldr r2, [sp, #24] + 800bdbc: f88d 1080 strb.w r1, [sp, #128] ; 0x80 + 800bdc0: f88d 207e strb.w r2, [sp, #126] ; 0x7e + 800bdc4: 9919 ldr r1, [sp, #100] ; 0x64 + 800bdc6: 9a16 ldr r2, [sp, #88] ; 0x58 + 800bdc8: f88d 1084 strb.w r1, [sp, #132] ; 0x84 + 800bdcc: f88d 2086 strb.w r2, [sp, #134] ; 0x86 + 800bdd0: 990a ldr r1, [sp, #40] ; 0x28 + 800bdd2: 9a18 ldr r2, [sp, #96] ; 0x60 + 800bdd4: f88d 107d strb.w r1, [sp, #125] ; 0x7d + 800bdd8: f88d 2087 strb.w r2, [sp, #135] ; 0x87 + 800bddc: 9912 ldr r1, [sp, #72] ; 0x48 + 800bdde: 9a10 ldr r2, [sp, #64] ; 0x40 + 800bde0: f88d 307b strb.w r3, [sp, #123] ; 0x7b + 800bde4: 9b1b ldr r3, [sp, #108] ; 0x6c + 800bde6: f88d 1081 strb.w r1, [sp, #129] ; 0x81 + 800bdea: f88d 2083 strb.w r2, [sp, #131] ; 0x83 + 800bdee: 991a ldr r1, [sp, #104] ; 0x68 + 800bdf0: 9a08 ldr r2, [sp, #32] + 800bdf2: 981d ldr r0, [sp, #116] ; 0x74 + 800bdf4: f88d 1085 strb.w r1, [sp, #133] ; 0x85 + 800bdf8: f88d 207f strb.w r2, [sp, #127] ; 0x7f + 800bdfc: a91e add r1, sp, #120 ; 0x78 + 800bdfe: eb03 120b add.w r2, r3, fp, lsl #4 + 800be02: f88d 7079 strb.w r7, [sp, #121] ; 0x79 + 800be06: f7ff fe9a bl 800bb3e + 800be0a: 2000 movs r0, #0 + 800be0c: b023 add sp, #140 ; 0x8c + 800be0e: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800be12: f815 b008 ldrb.w fp, [r5, r8] + 800be16: ea82 0003 eor.w r0, r2, r3 + 800be1a: ea8b 0000 eor.w r0, fp, r0 + 800be1e: f816 b00e ldrb.w fp, [r6, lr] + 800be22: ea80 000b eor.w r0, r0, fp + 800be26: f88d 0078 strb.w r0, [sp, #120] ; 0x78 + 800be2a: f815 000e ldrb.w r0, [r5, lr] + 800be2e: 404b eors r3, r1 + 800be30: 4043 eors r3, r0 + 800be32: f816 000a ldrb.w r0, [r6, sl] + 800be36: 4043 eors r3, r0 + 800be38: f88d 3079 strb.w r3, [sp, #121] ; 0x79 + 800be3c: ea81 0307 eor.w r3, r1, r7 + 800be40: f815 100a ldrb.w r1, [r5, sl] + 800be44: 4059 eors r1, r3 + 800be46: f816 3009 ldrb.w r3, [r6, r9] + 800be4a: 4059 eors r1, r3 + 800be4c: f816 3008 ldrb.w r3, [r6, r8] + 800be50: f88d 107a strb.w r1, [sp, #122] ; 0x7a + 800be54: 407a eors r2, r7 + 800be56: 4053 eors r3, r2 + 800be58: f815 2009 ldrb.w r2, [r5, r9] + 800be5c: 4053 eors r3, r2 + 800be5e: f88d 307b strb.w r3, [sp, #123] ; 0x7b + 800be62: 9a08 ldr r2, [sp, #32] + 800be64: 9b06 ldr r3, [sp, #24] + 800be66: 4053 eors r3, r2 + 800be68: 9a04 ldr r2, [sp, #16] + 800be6a: 5caa ldrb r2, [r5, r2] + 800be6c: 4053 eors r3, r2 + 800be6e: f816 200c ldrb.w r2, [r6, ip] + 800be72: 4053 eors r3, r2 + 800be74: f88d 307c strb.w r3, [sp, #124] ; 0x7c + 800be78: e9dd 3208 ldrd r3, r2, [sp, #32] + 800be7c: 405a eors r2, r3 + 800be7e: f815 300c ldrb.w r3, [r5, ip] + 800be82: 4053 eors r3, r2 + 800be84: 9a05 ldr r2, [sp, #20] + 800be86: 5cb2 ldrb r2, [r6, r2] + 800be88: 4053 eors r3, r2 + 800be8a: f88d 307d strb.w r3, [sp, #125] ; 0x7d + 800be8e: e9dd 3209 ldrd r3, r2, [sp, #36] ; 0x24 + 800be92: 405a eors r2, r3 + 800be94: 9b05 ldr r3, [sp, #20] + 800be96: 5ceb ldrb r3, [r5, r3] + 800be98: 4053 eors r3, r2 + 800be9a: 9a07 ldr r2, [sp, #28] + 800be9c: 5cb2 ldrb r2, [r6, r2] + 800be9e: 4053 eors r3, r2 + 800bea0: f88d 307e strb.w r3, [sp, #126] ; 0x7e + 800bea4: 9b06 ldr r3, [sp, #24] + 800bea6: 9a0a ldr r2, [sp, #40] ; 0x28 + 800bea8: 4053 eors r3, r2 + 800beaa: 9a04 ldr r2, [sp, #16] + 800beac: 5cb2 ldrb r2, [r6, r2] + 800beae: 405a eors r2, r3 + 800beb0: 9b07 ldr r3, [sp, #28] + 800beb2: 5ceb ldrb r3, [r5, r3] + 800beb4: 405a eors r2, r3 + 800beb6: f88d 207f strb.w r2, [sp, #127] ; 0x7f + 800beba: 9b0e ldr r3, [sp, #56] ; 0x38 + 800bebc: 9a10 ldr r2, [sp, #64] ; 0x40 + 800bebe: 4053 eors r3, r2 + 800bec0: 9a0b ldr r2, [sp, #44] ; 0x2c + 800bec2: 5caa ldrb r2, [r5, r2] + 800bec4: 4053 eors r3, r2 + 800bec6: 9a0c ldr r2, [sp, #48] ; 0x30 + 800bec8: 5cb2 ldrb r2, [r6, r2] + 800beca: 4053 eors r3, r2 + 800becc: f88d 3080 strb.w r3, [sp, #128] ; 0x80 + 800bed0: e9dd 3210 ldrd r3, r2, [sp, #64] ; 0x40 + 800bed4: 405a eors r2, r3 + 800bed6: 9b0c ldr r3, [sp, #48] ; 0x30 + 800bed8: 5ceb ldrb r3, [r5, r3] + 800beda: 4053 eors r3, r2 + 800bedc: 9a0d ldr r2, [sp, #52] ; 0x34 + 800bede: 5cb2 ldrb r2, [r6, r2] + 800bee0: 4053 eors r3, r2 + 800bee2: f88d 3081 strb.w r3, [sp, #129] ; 0x81 + 800bee6: e9dd 3211 ldrd r3, r2, [sp, #68] ; 0x44 + 800beea: 405a eors r2, r3 + 800beec: 9b0d ldr r3, [sp, #52] ; 0x34 + 800beee: 5ceb ldrb r3, [r5, r3] + 800bef0: 4053 eors r3, r2 + 800bef2: 9a0f ldr r2, [sp, #60] ; 0x3c + 800bef4: 5cb2 ldrb r2, [r6, r2] + 800bef6: 4053 eors r3, r2 + 800bef8: f88d 3082 strb.w r3, [sp, #130] ; 0x82 + 800befc: 9a12 ldr r2, [sp, #72] ; 0x48 + 800befe: 9b0e ldr r3, [sp, #56] ; 0x38 + 800bf00: 4053 eors r3, r2 + 800bf02: 9a0b ldr r2, [sp, #44] ; 0x2c + 800bf04: 5cb2 ldrb r2, [r6, r2] + 800bf06: 405a eors r2, r3 + 800bf08: 9b0f ldr r3, [sp, #60] ; 0x3c + 800bf0a: 5ceb ldrb r3, [r5, r3] + 800bf0c: 991c ldr r1, [sp, #112] ; 0x70 + 800bf0e: 405a eors r2, r3 + 800bf10: f88d 2083 strb.w r2, [sp, #131] ; 0x83 + 800bf14: 9b16 ldr r3, [sp, #88] ; 0x58 + 800bf16: 9a18 ldr r2, [sp, #96] ; 0x60 + 800bf18: 4053 eors r3, r2 + 800bf1a: 9a13 ldr r2, [sp, #76] ; 0x4c + 800bf1c: 5caa ldrb r2, [r5, r2] + 800bf1e: 4053 eors r3, r2 + 800bf20: 9a14 ldr r2, [sp, #80] ; 0x50 + 800bf22: 5cb2 ldrb r2, [r6, r2] + 800bf24: 4053 eors r3, r2 + 800bf26: f88d 3084 strb.w r3, [sp, #132] ; 0x84 + 800bf2a: e9dd 3218 ldrd r3, r2, [sp, #96] ; 0x60 + 800bf2e: 405a eors r2, r3 + 800bf30: 9b14 ldr r3, [sp, #80] ; 0x50 + 800bf32: 5ceb ldrb r3, [r5, r3] + 800bf34: 4053 eors r3, r2 + 800bf36: 9a15 ldr r2, [sp, #84] ; 0x54 + 800bf38: 5cb2 ldrb r2, [r6, r2] + 800bf3a: 4053 eors r3, r2 + 800bf3c: f88d 3085 strb.w r3, [sp, #133] ; 0x85 + 800bf40: e9dd 3219 ldrd r3, r2, [sp, #100] ; 0x64 + 800bf44: 405a eors r2, r3 + 800bf46: 9b15 ldr r3, [sp, #84] ; 0x54 + 800bf48: 5ceb ldrb r3, [r5, r3] + 800bf4a: 4053 eors r3, r2 + 800bf4c: 9a17 ldr r2, [sp, #92] ; 0x5c + 800bf4e: 5cb2 ldrb r2, [r6, r2] + 800bf50: 4053 eors r3, r2 + 800bf52: f88d 3086 strb.w r3, [sp, #134] ; 0x86 + 800bf56: 9a1a ldr r2, [sp, #104] ; 0x68 + 800bf58: 9b16 ldr r3, [sp, #88] ; 0x58 + 800bf5a: 4053 eors r3, r2 + 800bf5c: 9a13 ldr r2, [sp, #76] ; 0x4c + 800bf5e: 5cb2 ldrb r2, [r6, r2] + 800bf60: 4053 eors r3, r2 + 800bf62: 9a17 ldr r2, [sp, #92] ; 0x5c + 800bf64: 5caa ldrb r2, [r5, r2] + 800bf66: a81e add r0, sp, #120 ; 0x78 + 800bf68: 4053 eors r3, r2 + 800bf6a: f88d 3087 strb.w r3, [sp, #135] ; 0x87 + 800bf6e: f7ff fda5 bl 800babc + 800bf72: e6b8 b.n 800bce6 + 800bf74: 20ff movs r0, #255 ; 0xff + 800bf76: e749 b.n 800be0c + 800bf78: 0800f664 .word 0x0800f664 + 800bf7c: 0800f464 .word 0x0800f464 + 800bf80: 0800f564 .word 0x0800f564 -0800bf70 : - 800bf70: b508 push {r3, lr} - 800bf72: b138 cbz r0, 800bf84 - 800bf74: 4a04 ldr r2, [pc, #16] ; (800bf88 ) - 800bf76: 4905 ldr r1, [pc, #20] ; (800bf8c ) - 800bf78: 6010 str r0, [r2, #0] - 800bf7a: 22d8 movs r2, #216 ; 0xd8 - 800bf7c: f000 fab0 bl 800c4e0 - 800bf80: 2000 movs r0, #0 - 800bf82: bd08 pop {r3, pc} - 800bf84: 2002 movs r0, #2 - 800bf86: e7fc b.n 800bf82 - 800bf88: 200019c8 .word 0x200019c8 - 800bf8c: 0800fb84 .word 0x0800fb84 +0800bf84 : + 800bf84: b508 push {r3, lr} + 800bf86: b138 cbz r0, 800bf98 + 800bf88: 4a04 ldr r2, [pc, #16] ; (800bf9c ) + 800bf8a: 4905 ldr r1, [pc, #20] ; (800bfa0 ) + 800bf8c: 6010 str r0, [r2, #0] + 800bf8e: 22d8 movs r2, #216 ; 0xd8 + 800bf90: f000 fab0 bl 800c4f4 + 800bf94: 2000 movs r0, #0 + 800bf96: bd08 pop {r3, pc} + 800bf98: 2002 movs r0, #2 + 800bf9a: e7fc b.n 800bf96 + 800bf9c: 200019c8 .word 0x200019c8 + 800bfa0: 0800fb94 .word 0x0800fb94 -0800bf90 : - 800bf90: 4b0a ldr r3, [pc, #40] ; (800bfbc ) - 800bf92: 681a ldr r2, [r3, #0] - 800bf94: b570 push {r4, r5, r6, lr} - 800bf96: 2300 movs r3, #0 - 800bf98: f102 0518 add.w r5, r2, #24 - 800bf9c: eb03 1403 add.w r4, r3, r3, lsl #4 - 800bfa0: 5d2e ldrb r6, [r5, r4] - 800bfa2: 4286 cmp r6, r0 - 800bfa4: d104 bne.n 800bfb0 - 800bfa6: 3418 adds r4, #24 - 800bfa8: 4422 add r2, r4 - 800bfaa: 600a str r2, [r1, #0] - 800bfac: 2000 movs r0, #0 - 800bfae: bd70 pop {r4, r5, r6, pc} - 800bfb0: 3301 adds r3, #1 - 800bfb2: 2b0b cmp r3, #11 - 800bfb4: d1f2 bne.n 800bf9c - 800bfb6: 2003 movs r0, #3 - 800bfb8: e7f9 b.n 800bfae - 800bfba: bf00 nop - 800bfbc: 200019c8 .word 0x200019c8 +0800bfa4 : + 800bfa4: 4b0a ldr r3, [pc, #40] ; (800bfd0 ) + 800bfa6: 681a ldr r2, [r3, #0] + 800bfa8: b570 push {r4, r5, r6, lr} + 800bfaa: 2300 movs r3, #0 + 800bfac: f102 0518 add.w r5, r2, #24 + 800bfb0: eb03 1403 add.w r4, r3, r3, lsl #4 + 800bfb4: 5d2e ldrb r6, [r5, r4] + 800bfb6: 4286 cmp r6, r0 + 800bfb8: d104 bne.n 800bfc4 + 800bfba: 3418 adds r4, #24 + 800bfbc: 4422 add r2, r4 + 800bfbe: 600a str r2, [r1, #0] + 800bfc0: 2000 movs r0, #0 + 800bfc2: bd70 pop {r4, r5, r6, pc} + 800bfc4: 3301 adds r3, #1 + 800bfc6: 2b0b cmp r3, #11 + 800bfc8: d1f2 bne.n 800bfb0 + 800bfca: 2003 movs r0, #3 + 800bfcc: e7f9 b.n 800bfc2 + 800bfce: bf00 nop + 800bfd0: 200019c8 .word 0x200019c8 -0800bfc0 : - 800bfc0: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800bfc4: b0cc sub sp, #304 ; 0x130 - 800bfc6: 4606 mov r6, r0 - 800bfc8: f8dd 8148 ldr.w r8, [sp, #328] ; 0x148 - 800bfcc: 4617 mov r7, r2 - 800bfce: 461c mov r4, r3 - 800bfd0: 460d mov r5, r1 - 800bfd2: b331 cbz r1, 800c022 - 800bfd4: f1b8 0f00 cmp.w r8, #0 - 800bfd8: d023 beq.n 800c022 - 800bfda: a806 add r0, sp, #24 - 800bfdc: f7ff fc2e bl 800b83c - 800bfe0: 4620 mov r0, r4 - 800bfe2: a901 add r1, sp, #4 - 800bfe4: f7ff ffd4 bl 800bf90 - 800bfe8: 4604 mov r4, r0 - 800bfea: b9b0 cbnz r0, 800c01a - 800bfec: 9901 ldr r1, [sp, #4] +0800bfd4 : + 800bfd4: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800bfd8: b0cc sub sp, #304 ; 0x130 + 800bfda: 4606 mov r6, r0 + 800bfdc: f8dd 8148 ldr.w r8, [sp, #328] ; 0x148 + 800bfe0: 4617 mov r7, r2 + 800bfe2: 461c mov r4, r3 + 800bfe4: 460d mov r5, r1 + 800bfe6: b331 cbz r1, 800c036 + 800bfe8: f1b8 0f00 cmp.w r8, #0 + 800bfec: d023 beq.n 800c036 800bfee: a806 add r0, sp, #24 - 800bff0: 3101 adds r1, #1 - 800bff2: f7ff fc33 bl 800b85c - 800bff6: b126 cbz r6, 800c002 - 800bff8: 2210 movs r2, #16 - 800bffa: 4631 mov r1, r6 - 800bffc: a806 add r0, sp, #24 - 800bffe: f7ff fc32 bl 800b866 - 800c002: 463a mov r2, r7 - 800c004: 4629 mov r1, r5 - 800c006: a806 add r0, sp, #24 - 800c008: f7ff fc2d bl 800b866 - 800c00c: a906 add r1, sp, #24 - 800c00e: a802 add r0, sp, #8 - 800c010: f7ff fc94 bl 800b93c - 800c014: 9b02 ldr r3, [sp, #8] - 800c016: f8c8 3000 str.w r3, [r8] - 800c01a: 4620 mov r0, r4 - 800c01c: b04c add sp, #304 ; 0x130 - 800c01e: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800c022: 2402 movs r4, #2 - 800c024: e7f9 b.n 800c01a + 800bff0: f7ff fc2e bl 800b850 + 800bff4: 4620 mov r0, r4 + 800bff6: a901 add r1, sp, #4 + 800bff8: f7ff ffd4 bl 800bfa4 + 800bffc: 4604 mov r4, r0 + 800bffe: b9b0 cbnz r0, 800c02e + 800c000: 9901 ldr r1, [sp, #4] + 800c002: a806 add r0, sp, #24 + 800c004: 3101 adds r1, #1 + 800c006: f7ff fc33 bl 800b870 + 800c00a: b126 cbz r6, 800c016 + 800c00c: 2210 movs r2, #16 + 800c00e: 4631 mov r1, r6 + 800c010: a806 add r0, sp, #24 + 800c012: f7ff fc32 bl 800b87a + 800c016: 463a mov r2, r7 + 800c018: 4629 mov r1, r5 + 800c01a: a806 add r0, sp, #24 + 800c01c: f7ff fc2d bl 800b87a + 800c020: a906 add r1, sp, #24 + 800c022: a802 add r0, sp, #8 + 800c024: f7ff fc94 bl 800b950 + 800c028: 9b02 ldr r3, [sp, #8] + 800c02a: f8c8 3000 str.w r3, [r8] + 800c02e: 4620 mov r0, r4 + 800c030: b04c add sp, #304 ; 0x130 + 800c032: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800c036: 2402 movs r4, #2 + 800c038: e7f9 b.n 800c02e ... -0800c028 : - 800c028: b530 push {r4, r5, lr} - 800c02a: b095 sub sp, #84 ; 0x54 - 800c02c: a913 add r1, sp, #76 ; 0x4c - 800c02e: 4604 mov r4, r0 - 800c030: f7ff ffae bl 800bf90 - 800c034: 2800 cmp r0, #0 - 800c036: d130 bne.n 800c09a - 800c038: 491b ldr r1, [pc, #108] ; (800c0a8 ) - 800c03a: 230c movs r3, #12 - 800c03c: fb03 f200 mul.w r2, r3, r0 - 800c040: 5c55 ldrb r5, [r2, r1] - 800c042: 42a5 cmp r5, r4 - 800c044: d12b bne.n 800c09e - 800c046: 9b13 ldr r3, [sp, #76] ; 0x4c - 800c048: 7c18 ldrb r0, [r3, #16] - 800c04a: 9010 str r0, [sp, #64] ; 0x40 - 800c04c: 7bd8 ldrb r0, [r3, #15] - 800c04e: 900f str r0, [sp, #60] ; 0x3c - 800c050: 7b98 ldrb r0, [r3, #14] - 800c052: 900e str r0, [sp, #56] ; 0x38 - 800c054: 7b58 ldrb r0, [r3, #13] - 800c056: 900d str r0, [sp, #52] ; 0x34 - 800c058: 7b18 ldrb r0, [r3, #12] - 800c05a: 900c str r0, [sp, #48] ; 0x30 - 800c05c: 7ad8 ldrb r0, [r3, #11] - 800c05e: 900b str r0, [sp, #44] ; 0x2c - 800c060: 7a98 ldrb r0, [r3, #10] - 800c062: 900a str r0, [sp, #40] ; 0x28 - 800c064: 7a58 ldrb r0, [r3, #9] - 800c066: 9009 str r0, [sp, #36] ; 0x24 - 800c068: 7a18 ldrb r0, [r3, #8] - 800c06a: 9008 str r0, [sp, #32] - 800c06c: 79d8 ldrb r0, [r3, #7] - 800c06e: 9007 str r0, [sp, #28] - 800c070: 7998 ldrb r0, [r3, #6] - 800c072: 9006 str r0, [sp, #24] - 800c074: 7958 ldrb r0, [r3, #5] - 800c076: 9005 str r0, [sp, #20] - 800c078: 7918 ldrb r0, [r3, #4] - 800c07a: 9004 str r0, [sp, #16] - 800c07c: 78d8 ldrb r0, [r3, #3] - 800c07e: 9003 str r0, [sp, #12] - 800c080: 7898 ldrb r0, [r3, #2] - 800c082: 9002 str r0, [sp, #8] - 800c084: 440a add r2, r1 - 800c086: 785b ldrb r3, [r3, #1] - 800c088: 9301 str r3, [sp, #4] - 800c08a: 6893 ldr r3, [r2, #8] - 800c08c: 9300 str r3, [sp, #0] - 800c08e: 2200 movs r2, #0 - 800c090: 4b06 ldr r3, [pc, #24] ; (800c0ac ) - 800c092: 4611 mov r1, r2 - 800c094: 2002 movs r0, #2 - 800c096: f002 fa19 bl 800e4cc - 800c09a: b015 add sp, #84 ; 0x54 - 800c09c: bd30 pop {r4, r5, pc} - 800c09e: 3001 adds r0, #1 - 800c0a0: 280b cmp r0, #11 - 800c0a2: d1cb bne.n 800c03c - 800c0a4: e7f9 b.n 800c09a - 800c0a6: bf00 nop - 800c0a8: 0800f8cc .word 0x0800f8cc - 800c0ac: 0800f754 .word 0x0800f754 +0800c03c : + 800c03c: b530 push {r4, r5, lr} + 800c03e: b095 sub sp, #84 ; 0x54 + 800c040: a913 add r1, sp, #76 ; 0x4c + 800c042: 4604 mov r4, r0 + 800c044: f7ff ffae bl 800bfa4 + 800c048: 2800 cmp r0, #0 + 800c04a: d130 bne.n 800c0ae + 800c04c: 491b ldr r1, [pc, #108] ; (800c0bc ) + 800c04e: 230c movs r3, #12 + 800c050: fb03 f200 mul.w r2, r3, r0 + 800c054: 5c55 ldrb r5, [r2, r1] + 800c056: 42a5 cmp r5, r4 + 800c058: d12b bne.n 800c0b2 + 800c05a: 9b13 ldr r3, [sp, #76] ; 0x4c + 800c05c: 7c18 ldrb r0, [r3, #16] + 800c05e: 9010 str r0, [sp, #64] ; 0x40 + 800c060: 7bd8 ldrb r0, [r3, #15] + 800c062: 900f str r0, [sp, #60] ; 0x3c + 800c064: 7b98 ldrb r0, [r3, #14] + 800c066: 900e str r0, [sp, #56] ; 0x38 + 800c068: 7b58 ldrb r0, [r3, #13] + 800c06a: 900d str r0, [sp, #52] ; 0x34 + 800c06c: 7b18 ldrb r0, [r3, #12] + 800c06e: 900c str r0, [sp, #48] ; 0x30 + 800c070: 7ad8 ldrb r0, [r3, #11] + 800c072: 900b str r0, [sp, #44] ; 0x2c + 800c074: 7a98 ldrb r0, [r3, #10] + 800c076: 900a str r0, [sp, #40] ; 0x28 + 800c078: 7a58 ldrb r0, [r3, #9] + 800c07a: 9009 str r0, [sp, #36] ; 0x24 + 800c07c: 7a18 ldrb r0, [r3, #8] + 800c07e: 9008 str r0, [sp, #32] + 800c080: 79d8 ldrb r0, [r3, #7] + 800c082: 9007 str r0, [sp, #28] + 800c084: 7998 ldrb r0, [r3, #6] + 800c086: 9006 str r0, [sp, #24] + 800c088: 7958 ldrb r0, [r3, #5] + 800c08a: 9005 str r0, [sp, #20] + 800c08c: 7918 ldrb r0, [r3, #4] + 800c08e: 9004 str r0, [sp, #16] + 800c090: 78d8 ldrb r0, [r3, #3] + 800c092: 9003 str r0, [sp, #12] + 800c094: 7898 ldrb r0, [r3, #2] + 800c096: 9002 str r0, [sp, #8] + 800c098: 440a add r2, r1 + 800c09a: 785b ldrb r3, [r3, #1] + 800c09c: 9301 str r3, [sp, #4] + 800c09e: 6893 ldr r3, [r2, #8] + 800c0a0: 9300 str r3, [sp, #0] + 800c0a2: 2200 movs r2, #0 + 800c0a4: 4b06 ldr r3, [pc, #24] ; (800c0c0 ) + 800c0a6: 4611 mov r1, r2 + 800c0a8: 2002 movs r0, #2 + 800c0aa: f002 fa19 bl 800e4e0 + 800c0ae: b015 add sp, #84 ; 0x54 + 800c0b0: bd30 pop {r4, r5, pc} + 800c0b2: 3001 adds r0, #1 + 800c0b4: 280b cmp r0, #11 + 800c0b6: d1cb bne.n 800c050 + 800c0b8: e7f9 b.n 800c0ae + 800c0ba: bf00 nop + 800c0bc: 0800f8dc .word 0x0800f8dc + 800c0c0: 0800f764 .word 0x0800f764 -0800c0b0 : - 800c0b0: 2b0b cmp r3, #11 - 800c0b2: b410 push {r4} - 800c0b4: d802 bhi.n 800c0bc - 800c0b6: bc10 pop {r4} - 800c0b8: f7ff bf82 b.w 800bfc0 - 800c0bc: 2003 movs r0, #3 - 800c0be: bc10 pop {r4} - 800c0c0: 4770 bx lr +0800c0c4 : + 800c0c4: 2b0b cmp r3, #11 + 800c0c6: b410 push {r4} + 800c0c8: d802 bhi.n 800c0d0 + 800c0ca: bc10 pop {r4} + 800c0cc: f7ff bf82 b.w 800bfd4 + 800c0d0: 2003 movs r0, #3 + 800c0d2: bc10 pop {r4} + 800c0d4: 4770 bx lr -0800c0c2 : - 800c0c2: b530 push {r4, r5, lr} - 800c0c4: 460d mov r5, r1 - 800c0c6: b085 sub sp, #20 - 800c0c8: 4614 mov r4, r2 - 800c0ca: 4601 mov r1, r0 - 800c0cc: b168 cbz r0, 800c0ea - 800c0ce: aa03 add r2, sp, #12 - 800c0d0: 2000 movs r0, #0 - 800c0d2: 9200 str r2, [sp, #0] - 800c0d4: 462a mov r2, r5 - 800c0d6: 9003 str r0, [sp, #12] - 800c0d8: f7ff ff72 bl 800bfc0 - 800c0dc: b918 cbnz r0, 800c0e6 - 800c0de: 9803 ldr r0, [sp, #12] - 800c0e0: 1b00 subs r0, r0, r4 - 800c0e2: bf18 it ne - 800c0e4: 2001 movne r0, #1 - 800c0e6: b005 add sp, #20 - 800c0e8: bd30 pop {r4, r5, pc} - 800c0ea: 2002 movs r0, #2 - 800c0ec: e7fb b.n 800c0e6 +0800c0d6 : + 800c0d6: b530 push {r4, r5, lr} + 800c0d8: 460d mov r5, r1 + 800c0da: b085 sub sp, #20 + 800c0dc: 4614 mov r4, r2 + 800c0de: 4601 mov r1, r0 + 800c0e0: b168 cbz r0, 800c0fe + 800c0e2: aa03 add r2, sp, #12 + 800c0e4: 2000 movs r0, #0 + 800c0e6: 9200 str r2, [sp, #0] + 800c0e8: 462a mov r2, r5 + 800c0ea: 9003 str r0, [sp, #12] + 800c0ec: f7ff ff72 bl 800bfd4 + 800c0f0: b918 cbnz r0, 800c0fa + 800c0f2: 9803 ldr r0, [sp, #12] + 800c0f4: 1b00 subs r0, r0, r4 + 800c0f6: bf18 it ne + 800c0f8: 2001 movne r0, #1 + 800c0fa: b005 add sp, #20 + 800c0fc: bd30 pop {r4, r5, pc} + 800c0fe: 2002 movs r0, #2 + 800c100: e7fb b.n 800c0fa -0800c0ee : - 800c0ee: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} - 800c0f2: 460d mov r5, r1 - 800c0f4: b0bf sub sp, #252 ; 0xfc - 800c0f6: 4614 mov r4, r2 - 800c0f8: 4699 mov r9, r3 - 800c0fa: 4680 mov r8, r0 - 800c0fc: b320 cbz r0, 800c148 - 800c0fe: b31b cbz r3, 800c148 - 800c100: f011 010f ands.w r1, r1, #15 - 800c104: d122 bne.n 800c14c - 800c106: 22f0 movs r2, #240 ; 0xf0 - 800c108: a801 add r0, sp, #4 - 800c10a: f000 f9fd bl 800c508 - 800c10e: 4620 mov r0, r4 - 800c110: 4669 mov r1, sp - 800c112: f7ff ff3d bl 800bf90 - 800c116: 4604 mov r4, r0 - 800c118: b948 cbnz r0, 800c12e - 800c11a: 9800 ldr r0, [sp, #0] - 800c11c: aa01 add r2, sp, #4 - 800c11e: 2110 movs r1, #16 - 800c120: 3001 adds r0, #1 - 800c122: f7ff fd45 bl 800bbb0 - 800c126: 462e mov r6, r5 - 800c128: 1baf subs r7, r5, r6 - 800c12a: b2ff uxtb r7, r7 - 800c12c: b91e cbnz r6, 800c136 - 800c12e: 4620 mov r0, r4 - 800c130: b03f add sp, #252 ; 0xfc - 800c132: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} - 800c136: aa01 add r2, sp, #4 - 800c138: eb09 0107 add.w r1, r9, r7 - 800c13c: eb08 0007 add.w r0, r8, r7 - 800c140: f7ff fdb0 bl 800bca4 - 800c144: 3e10 subs r6, #16 - 800c146: e7ef b.n 800c128 - 800c148: 2402 movs r4, #2 - 800c14a: e7f0 b.n 800c12e - 800c14c: 2405 movs r4, #5 - 800c14e: e7ee b.n 800c12e +0800c102 : + 800c102: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} + 800c106: 460d mov r5, r1 + 800c108: b0bf sub sp, #252 ; 0xfc + 800c10a: 4614 mov r4, r2 + 800c10c: 4699 mov r9, r3 + 800c10e: 4680 mov r8, r0 + 800c110: b320 cbz r0, 800c15c + 800c112: b31b cbz r3, 800c15c + 800c114: f011 010f ands.w r1, r1, #15 + 800c118: d122 bne.n 800c160 + 800c11a: 22f0 movs r2, #240 ; 0xf0 + 800c11c: a801 add r0, sp, #4 + 800c11e: f000 f9fd bl 800c51c + 800c122: 4620 mov r0, r4 + 800c124: 4669 mov r1, sp + 800c126: f7ff ff3d bl 800bfa4 + 800c12a: 4604 mov r4, r0 + 800c12c: b948 cbnz r0, 800c142 + 800c12e: 9800 ldr r0, [sp, #0] + 800c130: aa01 add r2, sp, #4 + 800c132: 2110 movs r1, #16 + 800c134: 3001 adds r0, #1 + 800c136: f7ff fd45 bl 800bbc4 + 800c13a: 462e mov r6, r5 + 800c13c: 1baf subs r7, r5, r6 + 800c13e: b2ff uxtb r7, r7 + 800c140: b91e cbnz r6, 800c14a + 800c142: 4620 mov r0, r4 + 800c144: b03f add sp, #252 ; 0xfc + 800c146: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 800c14a: aa01 add r2, sp, #4 + 800c14c: eb09 0107 add.w r1, r9, r7 + 800c150: eb08 0007 add.w r0, r8, r7 + 800c154: f7ff fdb0 bl 800bcb8 + 800c158: 3e10 subs r6, #16 + 800c15a: e7ef b.n 800c13c + 800c15c: 2402 movs r4, #2 + 800c15e: e7f0 b.n 800c142 + 800c160: 2405 movs r4, #5 + 800c162: e7ee b.n 800c142 -0800c150 : - 800c150: b5f0 push {r4, r5, r6, r7, lr} - 800c152: 4e18 ldr r6, [pc, #96] ; (800c1b4 ) - 800c154: 6834 ldr r4, [r6, #0] - 800c156: 4602 mov r2, r0 - 800c158: b085 sub sp, #20 - 800c15a: 4608 mov r0, r1 - 800c15c: 2300 movs r3, #0 - 800c15e: f104 0118 add.w r1, r4, #24 - 800c162: eb03 1503 add.w r5, r3, r3, lsl #4 - 800c166: 5d4f ldrb r7, [r1, r5] - 800c168: 4297 cmp r7, r2 - 800c16a: d11e bne.n 800c1aa - 800c16c: 2a0d cmp r2, #13 - 800c16e: f105 0519 add.w r5, r5, #25 - 800c172: d113 bne.n 800c19c - 800c174: 2300 movs r3, #0 - 800c176: e9cd 3300 strd r3, r3, [sp] - 800c17a: e9cd 3302 strd r3, r3, [sp, #8] - 800c17e: 220c movs r2, #12 - 800c180: 2110 movs r1, #16 - 800c182: 466b mov r3, sp - 800c184: f7ff ffb3 bl 800c0ee - 800c188: 4604 mov r4, r0 - 800c18a: 6830 ldr r0, [r6, #0] - 800c18c: 2210 movs r2, #16 - 800c18e: 4669 mov r1, sp - 800c190: 4428 add r0, r5 - 800c192: f000 f9a5 bl 800c4e0 - 800c196: 4620 mov r0, r4 - 800c198: b005 add sp, #20 - 800c19a: bdf0 pop {r4, r5, r6, r7, pc} - 800c19c: 4601 mov r1, r0 - 800c19e: 2210 movs r2, #16 - 800c1a0: 1960 adds r0, r4, r5 - 800c1a2: f000 f99d bl 800c4e0 - 800c1a6: 2400 movs r4, #0 - 800c1a8: e7f5 b.n 800c196 - 800c1aa: 3301 adds r3, #1 - 800c1ac: 2b0b cmp r3, #11 - 800c1ae: d1d8 bne.n 800c162 - 800c1b0: 2403 movs r4, #3 - 800c1b2: e7f0 b.n 800c196 - 800c1b4: 200019c8 .word 0x200019c8 +0800c164 : + 800c164: b5f0 push {r4, r5, r6, r7, lr} + 800c166: 4e18 ldr r6, [pc, #96] ; (800c1c8 ) + 800c168: 6834 ldr r4, [r6, #0] + 800c16a: 4602 mov r2, r0 + 800c16c: b085 sub sp, #20 + 800c16e: 4608 mov r0, r1 + 800c170: 2300 movs r3, #0 + 800c172: f104 0118 add.w r1, r4, #24 + 800c176: eb03 1503 add.w r5, r3, r3, lsl #4 + 800c17a: 5d4f ldrb r7, [r1, r5] + 800c17c: 4297 cmp r7, r2 + 800c17e: d11e bne.n 800c1be + 800c180: 2a0d cmp r2, #13 + 800c182: f105 0519 add.w r5, r5, #25 + 800c186: d113 bne.n 800c1b0 + 800c188: 2300 movs r3, #0 + 800c18a: e9cd 3300 strd r3, r3, [sp] + 800c18e: e9cd 3302 strd r3, r3, [sp, #8] + 800c192: 220c movs r2, #12 + 800c194: 2110 movs r1, #16 + 800c196: 466b mov r3, sp + 800c198: f7ff ffb3 bl 800c102 + 800c19c: 4604 mov r4, r0 + 800c19e: 6830 ldr r0, [r6, #0] + 800c1a0: 2210 movs r2, #16 + 800c1a2: 4669 mov r1, sp + 800c1a4: 4428 add r0, r5 + 800c1a6: f000 f9a5 bl 800c4f4 + 800c1aa: 4620 mov r0, r4 + 800c1ac: b005 add sp, #20 + 800c1ae: bdf0 pop {r4, r5, r6, r7, pc} + 800c1b0: 4601 mov r1, r0 + 800c1b2: 2210 movs r2, #16 + 800c1b4: 1960 adds r0, r4, r5 + 800c1b6: f000 f99d bl 800c4f4 + 800c1ba: 2400 movs r4, #0 + 800c1bc: e7f5 b.n 800c1aa + 800c1be: 3301 adds r3, #1 + 800c1c0: 2b0b cmp r3, #11 + 800c1c2: d1d8 bne.n 800c176 + 800c1c4: 2403 movs r4, #3 + 800c1c6: e7f0 b.n 800c1aa + 800c1c8: 200019c8 .word 0x200019c8 -0800c1b8 : - 800c1b8: b109 cbz r1, 800c1be - 800c1ba: f7ff bfc9 b.w 800c150 - 800c1be: 2002 movs r0, #2 - 800c1c0: 4770 bx lr +0800c1cc : + 800c1cc: b109 cbz r1, 800c1d2 + 800c1ce: f7ff bfc9 b.w 800c164 + 800c1d2: 2002 movs r0, #2 + 800c1d4: 4770 bx lr -0800c1c2 : - 800c1c2: b51f push {r0, r1, r2, r3, r4, lr} - 800c1c4: 4614 mov r4, r2 - 800c1c6: b1a0 cbz r0, 800c1f2 - 800c1c8: 2a0c cmp r2, #12 - 800c1ca: d101 bne.n 800c1d0 - 800c1cc: 290b cmp r1, #11 - 800c1ce: d112 bne.n 800c1f6 - 800c1d0: 2300 movs r3, #0 - 800c1d2: e9cd 3300 strd r3, r3, [sp] - 800c1d6: e9cd 3302 strd r3, r3, [sp, #8] - 800c1da: 460a mov r2, r1 - 800c1dc: 466b mov r3, sp - 800c1de: 2110 movs r1, #16 - 800c1e0: f7ff ff85 bl 800c0ee - 800c1e4: b918 cbnz r0, 800c1ee - 800c1e6: 4669 mov r1, sp - 800c1e8: 4620 mov r0, r4 - 800c1ea: f7ff ffb1 bl 800c150 - 800c1ee: b004 add sp, #16 - 800c1f0: bd10 pop {r4, pc} - 800c1f2: 2002 movs r0, #2 - 800c1f4: e7fb b.n 800c1ee - 800c1f6: 2003 movs r0, #3 - 800c1f8: e7f9 b.n 800c1ee +0800c1d6 : + 800c1d6: b51f push {r0, r1, r2, r3, r4, lr} + 800c1d8: 4614 mov r4, r2 + 800c1da: b1a0 cbz r0, 800c206 + 800c1dc: 2a0c cmp r2, #12 + 800c1de: d101 bne.n 800c1e4 + 800c1e0: 290b cmp r1, #11 + 800c1e2: d112 bne.n 800c20a + 800c1e4: 2300 movs r3, #0 + 800c1e6: e9cd 3300 strd r3, r3, [sp] + 800c1ea: e9cd 3302 strd r3, r3, [sp, #8] + 800c1ee: 460a mov r2, r1 + 800c1f0: 466b mov r3, sp + 800c1f2: 2110 movs r1, #16 + 800c1f4: f7ff ff85 bl 800c102 + 800c1f8: b918 cbnz r0, 800c202 + 800c1fa: 4669 mov r1, sp + 800c1fc: 4620 mov r0, r4 + 800c1fe: f7ff ffb1 bl 800c164 + 800c202: b004 add sp, #16 + 800c204: bd10 pop {r4, pc} + 800c206: 2002 movs r0, #2 + 800c208: e7fb b.n 800c202 + 800c20a: 2003 movs r0, #3 + 800c20c: e7f9 b.n 800c202 -0800c1fa : - 800c1fa: b5f8 push {r3, r4, r5, r6, r7, lr} - 800c1fc: 461e mov r6, r3 - 800c1fe: e9dd 4707 ldrd r4, r7, [sp, #28] - 800c202: f89d 5018 ldrb.w r5, [sp, #24] - 800c206: b35b cbz r3, 800c260 - 800c208: b354 cbz r4, 800c260 - 800c20a: b34f cbz r7, 800c260 - 800c20c: 2d21 cmp r5, #33 ; 0x21 - 800c20e: d829 bhi.n 800c264 - 800c210: 4619 mov r1, r3 - 800c212: 462a mov r2, r5 - 800c214: 4620 mov r0, r4 - 800c216: f000 f963 bl 800c4e0 - 800c21a: 2201 movs r2, #1 - 800c21c: 1c63 adds r3, r4, #1 - 800c21e: 1e69 subs r1, r5, #1 - 800c220: 18b0 adds r0, r6, r2 - 800c222: f7ff ff64 bl 800c0ee - 800c226: b9f8 cbnz r0, 800c268 - 800c228: 7ae3 ldrb r3, [r4, #11] - 800c22a: 09db lsrs r3, r3, #7 - 800c22c: 703b strb r3, [r7, #0] - 800c22e: b9eb cbnz r3, 800c26c - 800c230: 1963 adds r3, r4, r5 - 800c232: 4620 mov r0, r4 - 800c234: f813 2c01 ldrb.w r2, [r3, #-1] - 800c238: f813 1c02 ldrb.w r1, [r3, #-2] - 800c23c: 0612 lsls r2, r2, #24 - 800c23e: ea42 4201 orr.w r2, r2, r1, lsl #16 - 800c242: f813 1c04 ldrb.w r1, [r3, #-4] - 800c246: 430a orrs r2, r1 - 800c248: f813 1c03 ldrb.w r1, [r3, #-3] - 800c24c: 2301 movs r3, #1 - 800c24e: ea42 2201 orr.w r2, r2, r1, lsl #8 - 800c252: 1f29 subs r1, r5, #4 - 800c254: f7ff ff35 bl 800c0c2 - 800c258: 3800 subs r0, #0 - 800c25a: bf18 it ne - 800c25c: 2001 movne r0, #1 - 800c25e: bdf8 pop {r3, r4, r5, r6, r7, pc} - 800c260: 2002 movs r0, #2 - 800c262: e7fc b.n 800c25e - 800c264: 2005 movs r0, #5 - 800c266: e7fa b.n 800c25e - 800c268: 2007 movs r0, #7 - 800c26a: e7f8 b.n 800c25e - 800c26c: 2004 movs r0, #4 - 800c26e: e7f6 b.n 800c25e +0800c20e : + 800c20e: b5f8 push {r3, r4, r5, r6, r7, lr} + 800c210: 461e mov r6, r3 + 800c212: e9dd 4707 ldrd r4, r7, [sp, #28] + 800c216: f89d 5018 ldrb.w r5, [sp, #24] + 800c21a: b35b cbz r3, 800c274 + 800c21c: b354 cbz r4, 800c274 + 800c21e: b34f cbz r7, 800c274 + 800c220: 2d21 cmp r5, #33 ; 0x21 + 800c222: d829 bhi.n 800c278 + 800c224: 4619 mov r1, r3 + 800c226: 462a mov r2, r5 + 800c228: 4620 mov r0, r4 + 800c22a: f000 f963 bl 800c4f4 + 800c22e: 2201 movs r2, #1 + 800c230: 1c63 adds r3, r4, #1 + 800c232: 1e69 subs r1, r5, #1 + 800c234: 18b0 adds r0, r6, r2 + 800c236: f7ff ff64 bl 800c102 + 800c23a: b9f8 cbnz r0, 800c27c + 800c23c: 7ae3 ldrb r3, [r4, #11] + 800c23e: 09db lsrs r3, r3, #7 + 800c240: 703b strb r3, [r7, #0] + 800c242: b9eb cbnz r3, 800c280 + 800c244: 1963 adds r3, r4, r5 + 800c246: 4620 mov r0, r4 + 800c248: f813 2c01 ldrb.w r2, [r3, #-1] + 800c24c: f813 1c02 ldrb.w r1, [r3, #-2] + 800c250: 0612 lsls r2, r2, #24 + 800c252: ea42 4201 orr.w r2, r2, r1, lsl #16 + 800c256: f813 1c04 ldrb.w r1, [r3, #-4] + 800c25a: 430a orrs r2, r1 + 800c25c: f813 1c03 ldrb.w r1, [r3, #-3] + 800c260: 2301 movs r3, #1 + 800c262: ea42 2201 orr.w r2, r2, r1, lsl #8 + 800c266: 1f29 subs r1, r5, #4 + 800c268: f7ff ff35 bl 800c0d6 + 800c26c: 3800 subs r0, #0 + 800c26e: bf18 it ne + 800c270: 2001 movne r0, #1 + 800c272: bdf8 pop {r3, r4, r5, r6, r7, pc} + 800c274: 2002 movs r0, #2 + 800c276: e7fc b.n 800c272 + 800c278: 2005 movs r0, #5 + 800c27a: e7fa b.n 800c272 + 800c27c: 2007 movs r0, #7 + 800c27e: e7f8 b.n 800c272 + 800c280: 2004 movs r0, #4 + 800c282: e7f6 b.n 800c272 -0800c270 : - 800c270: b510 push {r4, lr} - 800c272: 4604 mov r4, r0 - 800c274: b128 cbz r0, 800c282 - 800c276: 4b04 ldr r3, [pc, #16] ; (800c288 ) - 800c278: 695b ldr r3, [r3, #20] - 800c27a: 4798 blx r3 - 800c27c: 6020 str r0, [r4, #0] - 800c27e: 2000 movs r0, #0 - 800c280: bd10 pop {r4, pc} - 800c282: 2002 movs r0, #2 - 800c284: e7fc b.n 800c280 - 800c286: bf00 nop - 800c288: 0800f9e4 .word 0x0800f9e4 +0800c284 : + 800c284: b510 push {r4, lr} + 800c286: 4604 mov r4, r0 + 800c288: b128 cbz r0, 800c296 + 800c28a: 4b04 ldr r3, [pc, #16] ; (800c29c ) + 800c28c: 695b ldr r3, [r3, #20] + 800c28e: 4798 blx r3 + 800c290: 6020 str r0, [r4, #0] + 800c292: 2000 movs r0, #0 + 800c294: bd10 pop {r4, pc} + 800c296: 2002 movs r0, #2 + 800c298: e7fc b.n 800c294 + 800c29a: bf00 nop + 800c29c: 0800f9f4 .word 0x0800f9f4 -0800c28c : - 800c28c: b508 push {r3, lr} - 800c28e: 4601 mov r1, r0 - 800c290: b130 cbz r0, 800c2a0 - 800c292: 4b04 ldr r3, [pc, #16] ; (800c2a4 ) - 800c294: 2208 movs r2, #8 - 800c296: 6818 ldr r0, [r3, #0] - 800c298: f000 f922 bl 800c4e0 - 800c29c: 2000 movs r0, #0 - 800c29e: bd08 pop {r3, pc} - 800c2a0: 2002 movs r0, #2 - 800c2a2: e7fc b.n 800c29e - 800c2a4: 200019c8 .word 0x200019c8 +0800c2a0 : + 800c2a0: b508 push {r3, lr} + 800c2a2: 4601 mov r1, r0 + 800c2a4: b130 cbz r0, 800c2b4 + 800c2a6: 4b04 ldr r3, [pc, #16] ; (800c2b8 ) + 800c2a8: 2208 movs r2, #8 + 800c2aa: 6818 ldr r0, [r3, #0] + 800c2ac: f000 f922 bl 800c4f4 + 800c2b0: 2000 movs r0, #0 + 800c2b2: bd08 pop {r3, pc} + 800c2b4: 2002 movs r0, #2 + 800c2b6: e7fc b.n 800c2b2 + 800c2b8: 200019c8 .word 0x200019c8 -0800c2a8 : - 800c2a8: b508 push {r3, lr} - 800c2aa: b130 cbz r0, 800c2ba - 800c2ac: 4b04 ldr r3, [pc, #16] ; (800c2c0 ) - 800c2ae: 2208 movs r2, #8 - 800c2b0: 6819 ldr r1, [r3, #0] - 800c2b2: f000 f915 bl 800c4e0 - 800c2b6: 2000 movs r0, #0 - 800c2b8: bd08 pop {r3, pc} - 800c2ba: 2002 movs r0, #2 - 800c2bc: e7fc b.n 800c2b8 - 800c2be: bf00 nop - 800c2c0: 200019c8 .word 0x200019c8 +0800c2bc : + 800c2bc: b508 push {r3, lr} + 800c2be: b130 cbz r0, 800c2ce + 800c2c0: 4b04 ldr r3, [pc, #16] ; (800c2d4 ) + 800c2c2: 2208 movs r2, #8 + 800c2c4: 6819 ldr r1, [r3, #0] + 800c2c6: f000 f915 bl 800c4f4 + 800c2ca: 2000 movs r0, #0 + 800c2cc: bd08 pop {r3, pc} + 800c2ce: 2002 movs r0, #2 + 800c2d0: e7fc b.n 800c2cc + 800c2d2: bf00 nop + 800c2d4: 200019c8 .word 0x200019c8 -0800c2c4 : - 800c2c4: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} - 800c2c6: 4e12 ldr r6, [pc, #72] ; (800c310 ) - 800c2c8: 2300 movs r3, #0 - 800c2ca: 4604 mov r4, r0 - 800c2cc: a802 add r0, sp, #8 - 800c2ce: 9301 str r3, [sp, #4] - 800c2d0: 460d mov r5, r1 - 800c2d2: f7ff ffe9 bl 800c2a8 - 800c2d6: 6833 ldr r3, [r6, #0] - 800c2d8: 695b ldr r3, [r3, #20] - 800c2da: 9301 str r3, [sp, #4] - 800c2dc: b16c cbz r4, 800c2fa - 800c2de: aa02 add r2, sp, #8 - 800c2e0: 2308 movs r3, #8 - 800c2e2: f812 1b01 ldrb.w r1, [r2], #1 - 800c2e6: b941 cbnz r1, 800c2fa - 800c2e8: 3b01 subs r3, #1 - 800c2ea: f013 03ff ands.w r3, r3, #255 ; 0xff - 800c2ee: d1f8 bne.n 800c2e2 - 800c2f0: a802 add r0, sp, #8 - 800c2f2: 47a0 blx r4 - 800c2f4: a802 add r0, sp, #8 - 800c2f6: f7ff ffc9 bl 800c28c - 800c2fa: b135 cbz r5, 800c30a - 800c2fc: 9b01 ldr r3, [sp, #4] - 800c2fe: b923 cbnz r3, 800c30a - 800c300: a801 add r0, sp, #4 - 800c302: 47a8 blx r5 - 800c304: 6833 ldr r3, [r6, #0] - 800c306: 9a01 ldr r2, [sp, #4] - 800c308: 615a str r2, [r3, #20] - 800c30a: 2000 movs r0, #0 - 800c30c: b004 add sp, #16 - 800c30e: bd70 pop {r4, r5, r6, pc} - 800c310: 200019c8 .word 0x200019c8 +0800c2d8 : + 800c2d8: b57f push {r0, r1, r2, r3, r4, r5, r6, lr} + 800c2da: 4e12 ldr r6, [pc, #72] ; (800c324 ) + 800c2dc: 2300 movs r3, #0 + 800c2de: 4604 mov r4, r0 + 800c2e0: a802 add r0, sp, #8 + 800c2e2: 9301 str r3, [sp, #4] + 800c2e4: 460d mov r5, r1 + 800c2e6: f7ff ffe9 bl 800c2bc + 800c2ea: 6833 ldr r3, [r6, #0] + 800c2ec: 695b ldr r3, [r3, #20] + 800c2ee: 9301 str r3, [sp, #4] + 800c2f0: b16c cbz r4, 800c30e + 800c2f2: aa02 add r2, sp, #8 + 800c2f4: 2308 movs r3, #8 + 800c2f6: f812 1b01 ldrb.w r1, [r2], #1 + 800c2fa: b941 cbnz r1, 800c30e + 800c2fc: 3b01 subs r3, #1 + 800c2fe: f013 03ff ands.w r3, r3, #255 ; 0xff + 800c302: d1f8 bne.n 800c2f6 + 800c304: a802 add r0, sp, #8 + 800c306: 47a0 blx r4 + 800c308: a802 add r0, sp, #8 + 800c30a: f7ff ffc9 bl 800c2a0 + 800c30e: b135 cbz r5, 800c31e + 800c310: 9b01 ldr r3, [sp, #4] + 800c312: b923 cbnz r3, 800c31e + 800c314: a801 add r0, sp, #4 + 800c316: 47a8 blx r5 + 800c318: 6833 ldr r3, [r6, #0] + 800c31a: 9a01 ldr r2, [sp, #4] + 800c31c: 615a str r2, [r3, #20] + 800c31e: 2000 movs r0, #0 + 800c320: b004 add sp, #16 + 800c322: bd70 pop {r4, r5, r6, pc} + 800c324: 200019c8 .word 0x200019c8 -0800c314 : - 800c314: b508 push {r3, lr} - 800c316: 4601 mov r1, r0 - 800c318: b138 cbz r0, 800c32a - 800c31a: 4b05 ldr r3, [pc, #20] ; (800c330 ) - 800c31c: 6818 ldr r0, [r3, #0] - 800c31e: 2208 movs r2, #8 - 800c320: 4410 add r0, r2 - 800c322: f000 f8dd bl 800c4e0 - 800c326: 2000 movs r0, #0 - 800c328: bd08 pop {r3, pc} - 800c32a: 2002 movs r0, #2 - 800c32c: e7fc b.n 800c328 - 800c32e: bf00 nop - 800c330: 200019c8 .word 0x200019c8 +0800c328 : + 800c328: b508 push {r3, lr} + 800c32a: 4601 mov r1, r0 + 800c32c: b138 cbz r0, 800c33e + 800c32e: 4b05 ldr r3, [pc, #20] ; (800c344 ) + 800c330: 6818 ldr r0, [r3, #0] + 800c332: 2208 movs r2, #8 + 800c334: 4410 add r0, r2 + 800c336: f000 f8dd bl 800c4f4 + 800c33a: 2000 movs r0, #0 + 800c33c: bd08 pop {r3, pc} + 800c33e: 2002 movs r0, #2 + 800c340: e7fc b.n 800c33c + 800c342: bf00 nop + 800c344: 200019c8 .word 0x200019c8 -0800c334 : - 800c334: b508 push {r3, lr} - 800c336: b138 cbz r0, 800c348 - 800c338: 4b04 ldr r3, [pc, #16] ; (800c34c ) - 800c33a: 6819 ldr r1, [r3, #0] - 800c33c: 2208 movs r2, #8 - 800c33e: 4411 add r1, r2 - 800c340: f000 f8ce bl 800c4e0 - 800c344: 2000 movs r0, #0 - 800c346: bd08 pop {r3, pc} - 800c348: 2002 movs r0, #2 - 800c34a: e7fc b.n 800c346 - 800c34c: 200019c8 .word 0x200019c8 - -0800c350 : - 800c350: 4b03 ldr r3, [pc, #12] ; (800c360 ) - 800c352: 681b ldr r3, [r3, #0] - 800c354: 2802 cmp r0, #2 - 800c356: bf0c ite eq - 800c358: 6119 streq r1, [r3, #16] - 800c35a: 6159 strne r1, [r3, #20] - 800c35c: 2000 movs r0, #0 - 800c35e: 4770 bx lr +0800c348 : + 800c348: b508 push {r3, lr} + 800c34a: b138 cbz r0, 800c35c + 800c34c: 4b04 ldr r3, [pc, #16] ; (800c360 ) + 800c34e: 6819 ldr r1, [r3, #0] + 800c350: 2208 movs r2, #8 + 800c352: 4411 add r1, r2 + 800c354: f000 f8ce bl 800c4f4 + 800c358: 2000 movs r0, #0 + 800c35a: bd08 pop {r3, pc} + 800c35c: 2002 movs r0, #2 + 800c35e: e7fc b.n 800c35a 800c360: 200019c8 .word 0x200019c8 -0800c364 : - 800c364: b141 cbz r1, 800c378 - 800c366: 4b05 ldr r3, [pc, #20] ; (800c37c ) - 800c368: 681b ldr r3, [r3, #0] - 800c36a: 2802 cmp r0, #2 - 800c36c: bf0c ite eq - 800c36e: 691b ldreq r3, [r3, #16] - 800c370: 695b ldrne r3, [r3, #20] - 800c372: 600b str r3, [r1, #0] - 800c374: 2000 movs r0, #0 - 800c376: 4770 bx lr - 800c378: 2002 movs r0, #2 - 800c37a: 4770 bx lr - 800c37c: 200019c8 .word 0x200019c8 +0800c364 : + 800c364: 4b03 ldr r3, [pc, #12] ; (800c374 ) + 800c366: 681b ldr r3, [r3, #0] + 800c368: 2802 cmp r0, #2 + 800c36a: bf0c ite eq + 800c36c: 6119 streq r1, [r3, #16] + 800c36e: 6159 strne r1, [r3, #20] + 800c370: 2000 movs r0, #0 + 800c372: 4770 bx lr + 800c374: 200019c8 .word 0x200019c8 -0800c380 : - 800c380: b530 push {r4, r5, lr} - 800c382: b08f sub sp, #60 ; 0x3c - 800c384: 2400 movs r4, #0 - 800c386: 4605 mov r5, r0 - 800c388: a80c add r0, sp, #48 ; 0x30 - 800c38a: 9409 str r4, [sp, #36] ; 0x24 - 800c38c: f7ff ff8c bl 800c2a8 - 800c390: f89d 3037 ldrb.w r3, [sp, #55] ; 0x37 - 800c394: 9307 str r3, [sp, #28] - 800c396: f89d 3036 ldrb.w r3, [sp, #54] ; 0x36 - 800c39a: 9306 str r3, [sp, #24] - 800c39c: f89d 3035 ldrb.w r3, [sp, #53] ; 0x35 - 800c3a0: 9305 str r3, [sp, #20] - 800c3a2: f89d 3034 ldrb.w r3, [sp, #52] ; 0x34 - 800c3a6: 9304 str r3, [sp, #16] - 800c3a8: f89d 3033 ldrb.w r3, [sp, #51] ; 0x33 - 800c3ac: 9303 str r3, [sp, #12] - 800c3ae: f89d 3032 ldrb.w r3, [sp, #50] ; 0x32 - 800c3b2: 9302 str r3, [sp, #8] - 800c3b4: f89d 3031 ldrb.w r3, [sp, #49] ; 0x31 - 800c3b8: 9301 str r3, [sp, #4] - 800c3ba: f89d 3030 ldrb.w r3, [sp, #48] ; 0x30 - 800c3be: 9300 str r3, [sp, #0] - 800c3c0: 4622 mov r2, r4 - 800c3c2: 4621 mov r1, r4 - 800c3c4: 4b1e ldr r3, [pc, #120] ; (800c440 ) - 800c3c6: 2002 movs r0, #2 - 800c3c8: f002 f880 bl 800e4cc - 800c3cc: a80a add r0, sp, #40 ; 0x28 - 800c3ce: f7ff ffb1 bl 800c334 - 800c3d2: f89d 302f ldrb.w r3, [sp, #47] ; 0x2f - 800c3d6: 9307 str r3, [sp, #28] - 800c3d8: f89d 302e ldrb.w r3, [sp, #46] ; 0x2e - 800c3dc: 9306 str r3, [sp, #24] - 800c3de: f89d 302d ldrb.w r3, [sp, #45] ; 0x2d - 800c3e2: 9305 str r3, [sp, #20] - 800c3e4: f89d 302c ldrb.w r3, [sp, #44] ; 0x2c - 800c3e8: 9304 str r3, [sp, #16] - 800c3ea: f89d 302b ldrb.w r3, [sp, #43] ; 0x2b - 800c3ee: 9303 str r3, [sp, #12] - 800c3f0: f89d 302a ldrb.w r3, [sp, #42] ; 0x2a - 800c3f4: 9302 str r3, [sp, #8] - 800c3f6: f89d 3029 ldrb.w r3, [sp, #41] ; 0x29 - 800c3fa: 9301 str r3, [sp, #4] - 800c3fc: f89d 3028 ldrb.w r3, [sp, #40] ; 0x28 - 800c400: 9300 str r3, [sp, #0] - 800c402: 4622 mov r2, r4 - 800c404: 4b0f ldr r3, [pc, #60] ; (800c444 ) - 800c406: 4621 mov r1, r4 - 800c408: 2002 movs r0, #2 - 800c40a: f002 f85f bl 800e4cc - 800c40e: a909 add r1, sp, #36 ; 0x24 - 800c410: 4628 mov r0, r5 - 800c412: f7ff ffa7 bl 800c364 - 800c416: f89d 3024 ldrb.w r3, [sp, #36] ; 0x24 - 800c41a: 9303 str r3, [sp, #12] - 800c41c: f89d 3025 ldrb.w r3, [sp, #37] ; 0x25 - 800c420: 9302 str r3, [sp, #8] - 800c422: f89d 3026 ldrb.w r3, [sp, #38] ; 0x26 - 800c426: 9301 str r3, [sp, #4] - 800c428: f89d 3027 ldrb.w r3, [sp, #39] ; 0x27 - 800c42c: 9300 str r3, [sp, #0] - 800c42e: 4622 mov r2, r4 - 800c430: 4b05 ldr r3, [pc, #20] ; (800c448 ) - 800c432: 4621 mov r1, r4 - 800c434: 2002 movs r0, #2 - 800c436: f002 f849 bl 800e4cc - 800c43a: b00f add sp, #60 ; 0x3c - 800c43c: bd30 pop {r4, r5, pc} - 800c43e: bf00 nop - 800c440: 0800f7b0 .word 0x0800f7b0 - 800c444: 0800f7ee .word 0x0800f7ee - 800c448: 0800f82c .word 0x0800f82c +0800c378 : + 800c378: b141 cbz r1, 800c38c + 800c37a: 4b05 ldr r3, [pc, #20] ; (800c390 ) + 800c37c: 681b ldr r3, [r3, #0] + 800c37e: 2802 cmp r0, #2 + 800c380: bf0c ite eq + 800c382: 691b ldreq r3, [r3, #16] + 800c384: 695b ldrne r3, [r3, #20] + 800c386: 600b str r3, [r1, #0] + 800c388: 2000 movs r0, #0 + 800c38a: 4770 bx lr + 800c38c: 2002 movs r0, #2 + 800c38e: 4770 bx lr + 800c390: 200019c8 .word 0x200019c8 -0800c44c : - 800c44c: b508 push {r3, lr} - 800c44e: 2000 movs r0, #0 - 800c450: f7ff fdea bl 800c028 - 800c454: 2001 movs r0, #1 - 800c456: f7ff fde7 bl 800c028 - 800c45a: 2009 movs r0, #9 - 800c45c: f7ff fde4 bl 800c028 - 800c460: 2008 movs r0, #8 - 800c462: f7ff fde1 bl 800c028 - 800c466: 2000 movs r0, #0 - 800c468: f7ff ff8a bl 800c380 - 800c46c: 2000 movs r0, #0 - 800c46e: bd08 pop {r3, pc} +0800c394 : + 800c394: b530 push {r4, r5, lr} + 800c396: b08f sub sp, #60 ; 0x3c + 800c398: 2400 movs r4, #0 + 800c39a: 4605 mov r5, r0 + 800c39c: a80c add r0, sp, #48 ; 0x30 + 800c39e: 9409 str r4, [sp, #36] ; 0x24 + 800c3a0: f7ff ff8c bl 800c2bc + 800c3a4: f89d 3037 ldrb.w r3, [sp, #55] ; 0x37 + 800c3a8: 9307 str r3, [sp, #28] + 800c3aa: f89d 3036 ldrb.w r3, [sp, #54] ; 0x36 + 800c3ae: 9306 str r3, [sp, #24] + 800c3b0: f89d 3035 ldrb.w r3, [sp, #53] ; 0x35 + 800c3b4: 9305 str r3, [sp, #20] + 800c3b6: f89d 3034 ldrb.w r3, [sp, #52] ; 0x34 + 800c3ba: 9304 str r3, [sp, #16] + 800c3bc: f89d 3033 ldrb.w r3, [sp, #51] ; 0x33 + 800c3c0: 9303 str r3, [sp, #12] + 800c3c2: f89d 3032 ldrb.w r3, [sp, #50] ; 0x32 + 800c3c6: 9302 str r3, [sp, #8] + 800c3c8: f89d 3031 ldrb.w r3, [sp, #49] ; 0x31 + 800c3cc: 9301 str r3, [sp, #4] + 800c3ce: f89d 3030 ldrb.w r3, [sp, #48] ; 0x30 + 800c3d2: 9300 str r3, [sp, #0] + 800c3d4: 4622 mov r2, r4 + 800c3d6: 4621 mov r1, r4 + 800c3d8: 4b1e ldr r3, [pc, #120] ; (800c454 ) + 800c3da: 2002 movs r0, #2 + 800c3dc: f002 f880 bl 800e4e0 + 800c3e0: a80a add r0, sp, #40 ; 0x28 + 800c3e2: f7ff ffb1 bl 800c348 + 800c3e6: f89d 302f ldrb.w r3, [sp, #47] ; 0x2f + 800c3ea: 9307 str r3, [sp, #28] + 800c3ec: f89d 302e ldrb.w r3, [sp, #46] ; 0x2e + 800c3f0: 9306 str r3, [sp, #24] + 800c3f2: f89d 302d ldrb.w r3, [sp, #45] ; 0x2d + 800c3f6: 9305 str r3, [sp, #20] + 800c3f8: f89d 302c ldrb.w r3, [sp, #44] ; 0x2c + 800c3fc: 9304 str r3, [sp, #16] + 800c3fe: f89d 302b ldrb.w r3, [sp, #43] ; 0x2b + 800c402: 9303 str r3, [sp, #12] + 800c404: f89d 302a ldrb.w r3, [sp, #42] ; 0x2a + 800c408: 9302 str r3, [sp, #8] + 800c40a: f89d 3029 ldrb.w r3, [sp, #41] ; 0x29 + 800c40e: 9301 str r3, [sp, #4] + 800c410: f89d 3028 ldrb.w r3, [sp, #40] ; 0x28 + 800c414: 9300 str r3, [sp, #0] + 800c416: 4622 mov r2, r4 + 800c418: 4b0f ldr r3, [pc, #60] ; (800c458 ) + 800c41a: 4621 mov r1, r4 + 800c41c: 2002 movs r0, #2 + 800c41e: f002 f85f bl 800e4e0 + 800c422: a909 add r1, sp, #36 ; 0x24 + 800c424: 4628 mov r0, r5 + 800c426: f7ff ffa7 bl 800c378 + 800c42a: f89d 3024 ldrb.w r3, [sp, #36] ; 0x24 + 800c42e: 9303 str r3, [sp, #12] + 800c430: f89d 3025 ldrb.w r3, [sp, #37] ; 0x25 + 800c434: 9302 str r3, [sp, #8] + 800c436: f89d 3026 ldrb.w r3, [sp, #38] ; 0x26 + 800c43a: 9301 str r3, [sp, #4] + 800c43c: f89d 3027 ldrb.w r3, [sp, #39] ; 0x27 + 800c440: 9300 str r3, [sp, #0] + 800c442: 4622 mov r2, r4 + 800c444: 4b05 ldr r3, [pc, #20] ; (800c45c ) + 800c446: 4621 mov r1, r4 + 800c448: 2002 movs r0, #2 + 800c44a: f002 f849 bl 800e4e0 + 800c44e: b00f add sp, #60 ; 0x3c + 800c450: bd30 pop {r4, r5, pc} + 800c452: bf00 nop + 800c454: 0800f7c0 .word 0x0800f7c0 + 800c458: 0800f7fe .word 0x0800f7fe + 800c45c: 0800f83c .word 0x0800f83c -0800c470 : - 800c470: b510 push {r4, lr} - 800c472: 4604 mov r4, r0 - 800c474: 200b movs r0, #11 - 800c476: f7ff fdd7 bl 800c028 - 800c47a: 200c movs r0, #12 - 800c47c: f7ff fdd4 bl 800c028 - 800c480: 2009 movs r0, #9 - 800c482: f7ff fdd1 bl 800c028 - 800c486: 2008 movs r0, #8 - 800c488: f7ff fdce bl 800c028 - 800c48c: 200a movs r0, #10 - 800c48e: f7ff fdcb bl 800c028 - 800c492: 4620 mov r0, r4 - 800c494: f7ff ff74 bl 800c380 - 800c498: 2000 movs r0, #0 - 800c49a: bd10 pop {r4, pc} +0800c460 : + 800c460: b508 push {r3, lr} + 800c462: 2000 movs r0, #0 + 800c464: f7ff fdea bl 800c03c + 800c468: 2001 movs r0, #1 + 800c46a: f7ff fde7 bl 800c03c + 800c46e: 2009 movs r0, #9 + 800c470: f7ff fde4 bl 800c03c + 800c474: 2008 movs r0, #8 + 800c476: f7ff fde1 bl 800c03c + 800c47a: 2000 movs r0, #0 + 800c47c: f7ff ff8a bl 800c394 + 800c480: 2000 movs r0, #0 + 800c482: bd08 pop {r3, pc} -0800c49c : - 800c49c: 4b01 ldr r3, [pc, #4] ; (800c4a4 ) - 800c49e: 6018 str r0, [r3, #0] - 800c4a0: 4770 bx lr - 800c4a2: bf00 nop - 800c4a4: 200000f8 .word 0x200000f8 +0800c484 : + 800c484: b510 push {r4, lr} + 800c486: 4604 mov r4, r0 + 800c488: 200b movs r0, #11 + 800c48a: f7ff fdd7 bl 800c03c + 800c48e: 200c movs r0, #12 + 800c490: f7ff fdd4 bl 800c03c + 800c494: 2009 movs r0, #9 + 800c496: f7ff fdd1 bl 800c03c + 800c49a: 2008 movs r0, #8 + 800c49c: f7ff fdce bl 800c03c + 800c4a0: 200a movs r0, #10 + 800c4a2: f7ff fdcb bl 800c03c + 800c4a6: 4620 mov r0, r4 + 800c4a8: f7ff ff74 bl 800c394 + 800c4ac: 2000 movs r0, #0 + 800c4ae: bd10 pop {r4, pc} -0800c4a8 : - 800c4a8: 4a0b ldr r2, [pc, #44] ; (800c4d8 ) - 800c4aa: b530 push {r4, r5, lr} - 800c4ac: 6814 ldr r4, [r2, #0] - 800c4ae: 4d0b ldr r5, [pc, #44] ; (800c4dc ) - 800c4b0: f243 0339 movw r3, #12345 ; 0x3039 - 800c4b4: fb05 3304 mla r3, r5, r4, r3 - 800c4b8: 6013 str r3, [r2, #0] - 800c4ba: 1a09 subs r1, r1, r0 - 800c4bc: f06f 4200 mvn.w r2, #2147483648 ; 0x80000000 - 800c4c0: fbb3 f2f2 udiv r2, r3, r2 - 800c4c4: ebc2 72c2 rsb r2, r2, r2, lsl #31 - 800c4c8: 3101 adds r1, #1 - 800c4ca: 1a9b subs r3, r3, r2 - 800c4cc: fb93 f2f1 sdiv r2, r3, r1 - 800c4d0: fb01 3312 mls r3, r1, r2, r3 - 800c4d4: 4418 add r0, r3 - 800c4d6: bd30 pop {r4, r5, pc} - 800c4d8: 200000f8 .word 0x200000f8 - 800c4dc: 41c64e6d .word 0x41c64e6d +0800c4b0 : + 800c4b0: 4b01 ldr r3, [pc, #4] ; (800c4b8 ) + 800c4b2: 6018 str r0, [r3, #0] + 800c4b4: 4770 bx lr + 800c4b6: bf00 nop + 800c4b8: 200000f8 .word 0x200000f8 -0800c4e0 : - 800c4e0: 3801 subs r0, #1 - 800c4e2: 440a add r2, r1 - 800c4e4: 4291 cmp r1, r2 - 800c4e6: d100 bne.n 800c4ea - 800c4e8: 4770 bx lr - 800c4ea: f811 3b01 ldrb.w r3, [r1], #1 - 800c4ee: f800 3f01 strb.w r3, [r0, #1]! - 800c4f2: e7f7 b.n 800c4e4 +0800c4bc : + 800c4bc: 4a0b ldr r2, [pc, #44] ; (800c4ec ) + 800c4be: b530 push {r4, r5, lr} + 800c4c0: 6814 ldr r4, [r2, #0] + 800c4c2: 4d0b ldr r5, [pc, #44] ; (800c4f0 ) + 800c4c4: f243 0339 movw r3, #12345 ; 0x3039 + 800c4c8: fb05 3304 mla r3, r5, r4, r3 + 800c4cc: 6013 str r3, [r2, #0] + 800c4ce: 1a09 subs r1, r1, r0 + 800c4d0: f06f 4200 mvn.w r2, #2147483648 ; 0x80000000 + 800c4d4: fbb3 f2f2 udiv r2, r3, r2 + 800c4d8: ebc2 72c2 rsb r2, r2, r2, lsl #31 + 800c4dc: 3101 adds r1, #1 + 800c4de: 1a9b subs r3, r3, r2 + 800c4e0: fb93 f2f1 sdiv r2, r3, r1 + 800c4e4: fb01 3312 mls r3, r1, r2, r3 + 800c4e8: 4418 add r0, r3 + 800c4ea: bd30 pop {r4, r5, pc} + 800c4ec: 200000f8 .word 0x200000f8 + 800c4f0: 41c64e6d .word 0x41c64e6d -0800c4f4 : - 800c4f4: 4410 add r0, r2 +0800c4f4 : + 800c4f4: 3801 subs r0, #1 800c4f6: 440a add r2, r1 800c4f8: 4291 cmp r1, r2 - 800c4fa: d100 bne.n 800c4fe + 800c4fa: d100 bne.n 800c4fe 800c4fc: 4770 bx lr 800c4fe: f811 3b01 ldrb.w r3, [r1], #1 - 800c502: f800 3d01 strb.w r3, [r0, #-1]! - 800c506: e7f7 b.n 800c4f8 + 800c502: f800 3f01 strb.w r3, [r0, #1]! + 800c506: e7f7 b.n 800c4f8 -0800c508 : - 800c508: f002 bd10 b.w 800ef2c +0800c508 : + 800c508: 4410 add r0, r2 + 800c50a: 440a add r2, r1 + 800c50c: 4291 cmp r1, r2 + 800c50e: d100 bne.n 800c512 + 800c510: 4770 bx lr + 800c512: f811 3b01 ldrb.w r3, [r1], #1 + 800c516: f800 3d01 strb.w r3, [r0, #-1]! + 800c51a: e7f7 b.n 800c50c -0800c50c : - 800c50c: b530 push {r4, r5, lr} - 800c50e: b130 cbz r0, 800c51e - 800c510: 4d0a ldr r5, [pc, #40] ; (800c53c ) - 800c512: 4401 add r1, r0 - 800c514: f04f 33ff mov.w r3, #4294967295 - 800c518: 4281 cmp r1, r0 - 800c51a: d101 bne.n 800c520 - 800c51c: 43d8 mvns r0, r3 - 800c51e: bd30 pop {r4, r5, pc} - 800c520: f810 2b01 ldrb.w r2, [r0], #1 - 800c524: 4053 eors r3, r2 - 800c526: 2208 movs r2, #8 - 800c528: f343 0400 sbfx r4, r3, #0, #1 - 800c52c: 3a01 subs r2, #1 - 800c52e: 402c ands r4, r5 - 800c530: b292 uxth r2, r2 - 800c532: ea84 0353 eor.w r3, r4, r3, lsr #1 - 800c536: 2a00 cmp r2, #0 - 800c538: d1f6 bne.n 800c528 - 800c53a: e7ed b.n 800c518 - 800c53c: edb88320 .word 0xedb88320 +0800c51c : + 800c51c: f002 bd10 b.w 800ef40 -0800c540 : - 800c540: 2001 movs r0, #1 - 800c542: 4770 bx lr +0800c520 : + 800c520: b530 push {r4, r5, lr} + 800c522: b130 cbz r0, 800c532 + 800c524: 4d0a ldr r5, [pc, #40] ; (800c550 ) + 800c526: 4401 add r1, r0 + 800c528: f04f 33ff mov.w r3, #4294967295 + 800c52c: 4281 cmp r1, r0 + 800c52e: d101 bne.n 800c534 + 800c530: 43d8 mvns r0, r3 + 800c532: bd30 pop {r4, r5, pc} + 800c534: f810 2b01 ldrb.w r2, [r0], #1 + 800c538: 4053 eors r3, r2 + 800c53a: 2208 movs r2, #8 + 800c53c: f343 0400 sbfx r4, r3, #0, #1 + 800c540: 3a01 subs r2, #1 + 800c542: 402c ands r4, r5 + 800c544: b292 uxth r2, r2 + 800c546: ea84 0353 eor.w r3, r4, r3, lsr #1 + 800c54a: 2a00 cmp r2, #0 + 800c54c: d1f6 bne.n 800c53c + 800c54e: e7ed b.n 800c52c + 800c550: edb88320 .word 0xedb88320 -0800c544 : - 800c544: 4b05 ldr r3, [pc, #20] ; (800c55c ) - 800c546: f44f 5200 mov.w r2, #8192 ; 0x2000 - 800c54a: 629a str r2, [r3, #40] ; 0x28 - 800c54c: 4b04 ldr r3, [pc, #16] ; (800c560 ) - 800c54e: 681b ldr r3, [r3, #0] - 800c550: b113 cbz r3, 800c558 - 800c552: 685b ldr r3, [r3, #4] - 800c554: b103 cbz r3, 800c558 - 800c556: 4718 bx r3 - 800c558: 4770 bx lr - 800c55a: bf00 nop - 800c55c: 48000400 .word 0x48000400 - 800c560: 20001acc .word 0x20001acc +0800c554 : + 800c554: 2001 movs r0, #1 + 800c556: 4770 bx lr -0800c564 : - 800c564: 4b05 ldr r3, [pc, #20] ; (800c57c ) - 800c566: f44f 5280 mov.w r2, #4096 ; 0x1000 - 800c56a: 629a str r2, [r3, #40] ; 0x28 - 800c56c: 4b04 ldr r3, [pc, #16] ; (800c580 ) - 800c56e: 681b ldr r3, [r3, #0] - 800c570: b113 cbz r3, 800c578 - 800c572: 68db ldr r3, [r3, #12] - 800c574: b103 cbz r3, 800c578 - 800c576: 4718 bx r3 - 800c578: 4770 bx lr - 800c57a: bf00 nop - 800c57c: 48000400 .word 0x48000400 - 800c580: 20001acc .word 0x20001acc +0800c558 : + 800c558: 4b05 ldr r3, [pc, #20] ; (800c570 ) + 800c55a: f44f 5200 mov.w r2, #8192 ; 0x2000 + 800c55e: 629a str r2, [r3, #40] ; 0x28 + 800c560: 4b04 ldr r3, [pc, #16] ; (800c574 ) + 800c562: 681b ldr r3, [r3, #0] + 800c564: b113 cbz r3, 800c56c + 800c566: 685b ldr r3, [r3, #4] + 800c568: b103 cbz r3, 800c56c + 800c56a: 4718 bx r3 + 800c56c: 4770 bx lr + 800c56e: bf00 nop + 800c570: 48000400 .word 0x48000400 + 800c574: 20001acc .word 0x20001acc -0800c584 : - 800c584: 2001 movs r0, #1 - 800c586: 4770 bx lr +0800c578 : + 800c578: 4b05 ldr r3, [pc, #20] ; (800c590 ) + 800c57a: f44f 5280 mov.w r2, #4096 ; 0x1000 + 800c57e: 629a str r2, [r3, #40] ; 0x28 + 800c580: 4b04 ldr r3, [pc, #16] ; (800c594 ) + 800c582: 681b ldr r3, [r3, #0] + 800c584: b113 cbz r3, 800c58c + 800c586: 68db ldr r3, [r3, #12] + 800c588: b103 cbz r3, 800c58c + 800c58a: 4718 bx r3 + 800c58c: 4770 bx lr + 800c58e: bf00 nop + 800c590: 48000400 .word 0x48000400 + 800c594: 20001acc .word 0x20001acc -0800c588 : - 800c588: 2001 movs r0, #1 - 800c58a: 4770 bx lr +0800c598 : + 800c598: 2001 movs r0, #1 + 800c59a: 4770 bx lr -0800c58c : - 800c58c: f001 b948 b.w 800d820 +0800c59c : + 800c59c: 2001 movs r0, #1 + 800c59e: 4770 bx lr -0800c590 : - 800c590: f001 b936 b.w 800d800 +0800c5a0 : + 800c5a0: f001 b948 b.w 800d834 -0800c594 : - 800c594: b510 push {r4, lr} - 800c596: f001 fe19 bl 800e1cc - 800c59a: 210e movs r1, #14 - 800c59c: 4604 mov r4, r0 - 800c59e: f640 101f movw r0, #2335 ; 0x91f - 800c5a2: f001 f92d bl 800d800 - 800c5a6: 4620 mov r0, r4 - 800c5a8: 2101 movs r1, #1 - 800c5aa: f001 fdf9 bl 800e1a0 - 800c5ae: e8bd 4010 ldmia.w sp!, {r4, lr} - 800c5b2: f001 bad7 b.w 800db64 +0800c5a4 : + 800c5a4: f001 b936 b.w 800d814 + +0800c5a8 : + 800c5a8: b510 push {r4, lr} + 800c5aa: f001 fe19 bl 800e1e0 + 800c5ae: 210e movs r1, #14 + 800c5b0: 4604 mov r4, r0 + 800c5b2: f640 101f movw r0, #2335 ; 0x91f + 800c5b6: f001 f92d bl 800d814 + 800c5ba: 4620 mov r0, r4 + 800c5bc: 2101 movs r1, #1 + 800c5be: f001 fdf9 bl 800e1b4 + 800c5c2: e8bd 4010 ldmia.w sp!, {r4, lr} + 800c5c6: f001 bad7 b.w 800db78 ... -0800c5b8 : - 800c5b8: b570 push {r4, r5, r6, lr} - 800c5ba: 4e0c ldr r6, [pc, #48] ; (800c5ec ) - 800c5bc: eb01 0340 add.w r3, r1, r0, lsl #1 - 800c5c0: 460d mov r5, r1 - 800c5c2: 65b3 str r3, [r6, #88] ; 0x58 - 800c5c4: f64f 71ff movw r1, #65535 ; 0xffff - 800c5c8: 2300 movs r3, #0 - 800c5ca: 4604 mov r4, r0 - 800c5cc: 461a mov r2, r3 - 800c5ce: 4608 mov r0, r1 - 800c5d0: f001 fb5e bl 800dc90 - 800c5d4: f896 0056 ldrb.w r0, [r6, #86] ; 0x56 - 800c5d8: 2100 movs r1, #0 - 800c5da: f001 fde1 bl 800e1a0 - 800c5de: 4629 mov r1, r5 - 800c5e0: 4620 mov r0, r4 - 800c5e2: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 800c5e6: f001 ba95 b.w 800db14 - 800c5ea: bf00 nop - 800c5ec: 20001ae8 .word 0x20001ae8 +0800c5cc : + 800c5cc: b570 push {r4, r5, r6, lr} + 800c5ce: 4e0c ldr r6, [pc, #48] ; (800c600 ) + 800c5d0: eb01 0340 add.w r3, r1, r0, lsl #1 + 800c5d4: 460d mov r5, r1 + 800c5d6: 65b3 str r3, [r6, #88] ; 0x58 + 800c5d8: f64f 71ff movw r1, #65535 ; 0xffff + 800c5dc: 2300 movs r3, #0 + 800c5de: 4604 mov r4, r0 + 800c5e0: 461a mov r2, r3 + 800c5e2: 4608 mov r0, r1 + 800c5e4: f001 fb5e bl 800dca4 + 800c5e8: f896 0056 ldrb.w r0, [r6, #86] ; 0x56 + 800c5ec: 2100 movs r1, #0 + 800c5ee: f001 fde1 bl 800e1b4 + 800c5f2: 4629 mov r1, r5 + 800c5f4: 4620 mov r0, r4 + 800c5f6: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 800c5fa: f001 ba95 b.w 800db28 + 800c5fe: bf00 nop + 800c600: 20001ae8 .word 0x20001ae8 -0800c5f0 : - 800c5f0: b510 push {r4, lr} - 800c5f2: 4604 mov r4, r0 - 800c5f4: f001 feaa bl 800e34c - 800c5f8: 2801 cmp r0, #1 - 800c5fa: d11c bne.n 800c636 - 800c5fc: f001 feae bl 800e35c - 800c600: b134 cbz r4, 800c610 - 800c602: 4812 ldr r0, [pc, #72] ; (800c64c ) - 800c604: 4621 mov r1, r4 - 800c606: f002 fb17 bl 800ec38 - 800c60a: 4810 ldr r0, [pc, #64] ; (800c64c ) - 800c60c: f002 fada bl 800ebc4 - 800c610: 4c0f ldr r4, [pc, #60] ; (800c650 ) - 800c612: 4b10 ldr r3, [pc, #64] ; (800c654 ) - 800c614: 2100 movs r1, #0 - 800c616: f44f 5280 mov.w r2, #4096 ; 0x1000 - 800c61a: 65a1 str r1, [r4, #88] ; 0x58 - 800c61c: 619a str r2, [r3, #24] - 800c61e: f894 0056 ldrb.w r0, [r4, #86] ; 0x56 - 800c622: f001 fdbd bl 800e1a0 - 800c626: 7863 ldrb r3, [r4, #1] - 800c628: b16b cbz r3, 800c646 - 800c62a: f06f 407f mvn.w r0, #4278190080 ; 0xff000000 - 800c62e: e8bd 4010 ldmia.w sp!, {r4, lr} - 800c632: f001 ba53 b.w 800dadc - 800c636: 2300 movs r3, #0 - 800c638: f240 2162 movw r1, #610 ; 0x262 - 800c63c: 461a mov r2, r3 - 800c63e: 4608 mov r0, r1 - 800c640: f001 fb26 bl 800dc90 - 800c644: e7dc b.n 800c600 - 800c646: 68a0 ldr r0, [r4, #8] - 800c648: 0180 lsls r0, r0, #6 - 800c64a: e7f0 b.n 800c62e - 800c64c: 20001ad0 .word 0x20001ad0 - 800c650: 20001ae8 .word 0x20001ae8 - 800c654: 48000400 .word 0x48000400 +0800c604 : + 800c604: b510 push {r4, lr} + 800c606: 4604 mov r4, r0 + 800c608: f001 feaa bl 800e360 + 800c60c: 2801 cmp r0, #1 + 800c60e: d11c bne.n 800c64a + 800c610: f001 feae bl 800e370 + 800c614: b134 cbz r4, 800c624 + 800c616: 4812 ldr r0, [pc, #72] ; (800c660 ) + 800c618: 4621 mov r1, r4 + 800c61a: f002 fb17 bl 800ec4c + 800c61e: 4810 ldr r0, [pc, #64] ; (800c660 ) + 800c620: f002 fada bl 800ebd8 + 800c624: 4c0f ldr r4, [pc, #60] ; (800c664 ) + 800c626: 4b10 ldr r3, [pc, #64] ; (800c668 ) + 800c628: 2100 movs r1, #0 + 800c62a: f44f 5280 mov.w r2, #4096 ; 0x1000 + 800c62e: 65a1 str r1, [r4, #88] ; 0x58 + 800c630: 619a str r2, [r3, #24] + 800c632: f894 0056 ldrb.w r0, [r4, #86] ; 0x56 + 800c636: f001 fdbd bl 800e1b4 + 800c63a: 7863 ldrb r3, [r4, #1] + 800c63c: b16b cbz r3, 800c65a + 800c63e: f06f 407f mvn.w r0, #4278190080 ; 0xff000000 + 800c642: e8bd 4010 ldmia.w sp!, {r4, lr} + 800c646: f001 ba53 b.w 800daf0 + 800c64a: 2300 movs r3, #0 + 800c64c: f240 2162 movw r1, #610 ; 0x262 + 800c650: 461a mov r2, r3 + 800c652: 4608 mov r0, r1 + 800c654: f001 fb26 bl 800dca4 + 800c658: e7dc b.n 800c614 + 800c65a: 68a0 ldr r0, [r4, #8] + 800c65c: 0180 lsls r0, r0, #6 + 800c65e: e7f0 b.n 800c642 + 800c660: 20001ad0 .word 0x20001ad0 + 800c664: 20001ae8 .word 0x20001ae8 + 800c668: 48000400 .word 0x48000400 -0800c658 : - 800c658: 2000 movs r0, #0 - 800c65a: f001 b9bf b.w 800d9dc +0800c66c : + 800c66c: 2000 movs r0, #0 + 800c66e: f001 b9bf b.w 800d9f0 ... -0800c660 : - 800c660: b508 push {r3, lr} - 800c662: f001 f8c7 bl 800d7f4 - 800c666: 3804 subs r0, #4 - 800c668: b2c0 uxtb r0, r0 - 800c66a: 2803 cmp r0, #3 - 800c66c: bf96 itet ls - 800c66e: 4b02 ldrls r3, [pc, #8] ; (800c678 ) - 800c670: 2000 movhi r0, #0 - 800c672: 5c18 ldrbls r0, [r3, r0] - 800c674: bd08 pop {r3, pc} - 800c676: bf00 nop - 800c678: 0800f9e0 .word 0x0800f9e0 +0800c674 : + 800c674: b508 push {r3, lr} + 800c676: f001 f8c7 bl 800d808 + 800c67a: 3804 subs r0, #4 + 800c67c: b2c0 uxtb r0, r0 + 800c67e: 2803 cmp r0, #3 + 800c680: bf96 itet ls + 800c682: 4b02 ldrls r3, [pc, #8] ; (800c68c ) + 800c684: 2000 movhi r0, #0 + 800c686: 5c18 ldrbls r0, [r3, r0] + 800c688: bd08 pop {r3, pc} + 800c68a: bf00 nop + 800c68c: 0800f9f0 .word 0x0800f9f0 -0800c67c : - 800c67c: b508 push {r3, lr} - 800c67e: f001 fdba bl 800e1f6 - 800c682: 3003 adds r0, #3 - 800c684: bd08 pop {r3, pc} +0800c690 : + 800c690: b508 push {r3, lr} + 800c692: f001 fdba bl 800e20a + 800c696: 3003 adds r0, #3 + 800c698: bd08 pop {r3, pc} -0800c686 : - 800c686: f001 b949 b.w 800d91c +0800c69a : + 800c69a: f001 b949 b.w 800d930 -0800c68a : - 800c68a: f001 b909 b.w 800d8a0 +0800c69e : + 800c69e: f001 b909 b.w 800d8b4 -0800c68e : - 800c68e: b508 push {r3, lr} - 800c690: f001 fd00 bl 800e094 - 800c694: b200 sxth r0, r0 - 800c696: bd08 pop {r3, pc} +0800c6a2 : + 800c6a2: b508 push {r3, lr} + 800c6a4: f001 fd00 bl 800e0a8 + 800c6a8: b200 sxth r0, r0 + 800c6aa: bd08 pop {r3, pc} -0800c698 : - 800c698: b538 push {r3, r4, r5, lr} - 800c69a: 460d mov r5, r1 - 800c69c: 4614 mov r4, r2 - 800c69e: f001 fb5d bl 800dd5c - 800c6a2: 4628 mov r0, r5 - 800c6a4: f001 fd92 bl 800e1cc - 800c6a8: 210e movs r1, #14 - 800c6aa: 4605 mov r5, r0 - 800c6ac: f640 101f movw r0, #2335 ; 0x91f - 800c6b0: f001 f8a6 bl 800d800 - 800c6b4: 4628 mov r0, r5 - 800c6b6: 2101 movs r1, #1 - 800c6b8: 4d07 ldr r5, [pc, #28] ; (800c6d8 ) - 800c6ba: f001 fd71 bl 800e1a0 - 800c6be: f001 fa51 bl 800db64 - 800c6c2: f44f 717a mov.w r1, #1000 ; 0x3e8 - 800c6c6: 4361 muls r1, r4 +0800c6ac : + 800c6ac: b538 push {r3, r4, r5, lr} + 800c6ae: 460d mov r5, r1 + 800c6b0: 4614 mov r4, r2 + 800c6b2: f001 fb5d bl 800dd70 + 800c6b6: 4628 mov r0, r5 + 800c6b8: f001 fd92 bl 800e1e0 + 800c6bc: 210e movs r1, #14 + 800c6be: 4605 mov r5, r0 + 800c6c0: f640 101f movw r0, #2335 ; 0x91f + 800c6c4: f001 f8a6 bl 800d814 800c6c8: 4628 mov r0, r5 - 800c6ca: f002 fab5 bl 800ec38 - 800c6ce: 4628 mov r0, r5 - 800c6d0: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} - 800c6d4: f002 ba76 b.w 800ebc4 - 800c6d8: 20001b44 .word 0x20001b44 + 800c6ca: 2101 movs r1, #1 + 800c6cc: 4d07 ldr r5, [pc, #28] ; (800c6ec ) + 800c6ce: f001 fd71 bl 800e1b4 + 800c6d2: f001 fa51 bl 800db78 + 800c6d6: f44f 717a mov.w r1, #1000 ; 0x3e8 + 800c6da: 4361 muls r1, r4 + 800c6dc: 4628 mov r0, r5 + 800c6de: f002 fab5 bl 800ec4c + 800c6e2: 4628 mov r0, r5 + 800c6e4: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} + 800c6e8: f002 ba76 b.w 800ebd8 + 800c6ec: 20001b44 .word 0x20001b44 -0800c6dc : - 800c6dc: f001 bb3e b.w 800dd5c +0800c6f0 : + 800c6f0: f001 bb3e b.w 800dd70 -0800c6e0 : - 800c6e0: b508 push {r3, lr} - 800c6e2: 4b08 ldr r3, [pc, #32] ; (800c704 ) - 800c6e4: 2100 movs r1, #0 - 800c6e6: f893 0056 ldrb.w r0, [r3, #86] ; 0x56 - 800c6ea: f001 fd59 bl 800e1a0 - 800c6ee: 2300 movs r3, #0 - 800c6f0: f44f 71c0 mov.w r1, #384 ; 0x180 - 800c6f4: 461a mov r2, r3 - 800c6f6: 4608 mov r0, r1 - 800c6f8: f001 faca bl 800dc90 - 800c6fc: e8bd 4008 ldmia.w sp!, {r3, lr} - 800c700: f001 ba24 b.w 800db4c - 800c704: 20001ae8 .word 0x20001ae8 +0800c6f4 : + 800c6f4: b508 push {r3, lr} + 800c6f6: 4b08 ldr r3, [pc, #32] ; (800c718 ) + 800c6f8: 2100 movs r1, #0 + 800c6fa: f893 0056 ldrb.w r0, [r3, #86] ; 0x56 + 800c6fe: f001 fd59 bl 800e1b4 + 800c702: 2300 movs r3, #0 + 800c704: f44f 71c0 mov.w r1, #384 ; 0x180 + 800c708: 461a mov r2, r3 + 800c70a: 4608 mov r0, r1 + 800c70c: f001 faca bl 800dca4 + 800c710: e8bd 4008 ldmia.w sp!, {r3, lr} + 800c714: f001 ba24 b.w 800db60 + 800c718: 20001ae8 .word 0x20001ae8 -0800c708 : - 800c708: b510 push {r4, lr} - 800c70a: 4604 mov r4, r0 - 800c70c: f001 fe1e bl 800e34c - 800c710: 2801 cmp r0, #1 - 800c712: d11c bne.n 800c74e - 800c714: f001 fe22 bl 800e35c - 800c718: b134 cbz r4, 800c728 - 800c71a: 4812 ldr r0, [pc, #72] ; (800c764 ) - 800c71c: 4621 mov r1, r4 - 800c71e: f002 fa8b bl 800ec38 - 800c722: 4810 ldr r0, [pc, #64] ; (800c764 ) - 800c724: f002 fa4e bl 800ebc4 - 800c728: 4c0f ldr r4, [pc, #60] ; (800c768 ) - 800c72a: 4b10 ldr r3, [pc, #64] ; (800c76c ) - 800c72c: 2100 movs r1, #0 - 800c72e: f44f 5280 mov.w r2, #4096 ; 0x1000 - 800c732: 65a1 str r1, [r4, #88] ; 0x58 - 800c734: 619a str r2, [r3, #24] - 800c736: f894 0056 ldrb.w r0, [r4, #86] ; 0x56 - 800c73a: f001 fd31 bl 800e1a0 - 800c73e: 7863 ldrb r3, [r4, #1] - 800c740: b16b cbz r3, 800c75e - 800c742: f06f 407f mvn.w r0, #4278190080 ; 0xff000000 - 800c746: e8bd 4010 ldmia.w sp!, {r4, lr} - 800c74a: f001 b97d b.w 800da48 - 800c74e: 2300 movs r3, #0 - 800c750: f240 2162 movw r1, #610 ; 0x262 - 800c754: 461a mov r2, r3 - 800c756: 4608 mov r0, r1 - 800c758: f001 fa9a bl 800dc90 - 800c75c: e7dc b.n 800c718 - 800c75e: 68a0 ldr r0, [r4, #8] - 800c760: 0180 lsls r0, r0, #6 - 800c762: e7f0 b.n 800c746 - 800c764: 20001ad0 .word 0x20001ad0 - 800c768: 20001ae8 .word 0x20001ae8 - 800c76c: 48000400 .word 0x48000400 +0800c71c : + 800c71c: b510 push {r4, lr} + 800c71e: 4604 mov r4, r0 + 800c720: f001 fe1e bl 800e360 + 800c724: 2801 cmp r0, #1 + 800c726: d11c bne.n 800c762 + 800c728: f001 fe22 bl 800e370 + 800c72c: b134 cbz r4, 800c73c + 800c72e: 4812 ldr r0, [pc, #72] ; (800c778 ) + 800c730: 4621 mov r1, r4 + 800c732: f002 fa8b bl 800ec4c + 800c736: 4810 ldr r0, [pc, #64] ; (800c778 ) + 800c738: f002 fa4e bl 800ebd8 + 800c73c: 4c0f ldr r4, [pc, #60] ; (800c77c ) + 800c73e: 4b10 ldr r3, [pc, #64] ; (800c780 ) + 800c740: 2100 movs r1, #0 + 800c742: f44f 5280 mov.w r2, #4096 ; 0x1000 + 800c746: 65a1 str r1, [r4, #88] ; 0x58 + 800c748: 619a str r2, [r3, #24] + 800c74a: f894 0056 ldrb.w r0, [r4, #86] ; 0x56 + 800c74e: f001 fd31 bl 800e1b4 + 800c752: 7863 ldrb r3, [r4, #1] + 800c754: b16b cbz r3, 800c772 + 800c756: f06f 407f mvn.w r0, #4278190080 ; 0xff000000 + 800c75a: e8bd 4010 ldmia.w sp!, {r4, lr} + 800c75e: f001 b97d b.w 800da5c + 800c762: 2300 movs r3, #0 + 800c764: f240 2162 movw r1, #610 ; 0x262 + 800c768: 461a mov r2, r3 + 800c76a: 4608 mov r0, r1 + 800c76c: f001 fa9a bl 800dca4 + 800c770: e7dc b.n 800c72c + 800c772: 68a0 ldr r0, [r4, #8] + 800c774: 0180 lsls r0, r0, #6 + 800c776: e7f0 b.n 800c75a + 800c778: 20001ad0 .word 0x20001ad0 + 800c77c: 20001ae8 .word 0x20001ae8 + 800c780: 48000400 .word 0x48000400 -0800c770 : - 800c770: b508 push {r3, lr} - 800c772: f04f 0004 mov.w r0, #4 - 800c776: f001 f917 bl 800d9a8 - 800c77a: e8bd 4008 ldmia.w sp!, {r3, lr} - 800c77e: 2002 movs r0, #2 - 800c780: f7f5 b8ac b.w 80018dc - -0800c784 : +0800c784 : 800c784: b508 push {r3, lr} - 800c786: 2300 movs r3, #0 - 800c788: 461a mov r2, r3 - 800c78a: 4619 mov r1, r3 - 800c78c: 4618 mov r0, r3 - 800c78e: f001 fa7f bl 800dc90 - 800c792: e8bd 4008 ldmia.w sp!, {r3, lr} - 800c796: f001 b96d b.w 800da74 + 800c786: f04f 0004 mov.w r0, #4 + 800c78a: f001 f917 bl 800d9bc + 800c78e: e8bd 4008 ldmia.w sp!, {r3, lr} + 800c792: 2002 movs r0, #2 + 800c794: f7f5 b8a2 b.w 80018dc + +0800c798 : + 800c798: b508 push {r3, lr} + 800c79a: 2300 movs r3, #0 + 800c79c: 461a mov r2, r3 + 800c79e: 4619 mov r1, r3 + 800c7a0: 4618 mov r0, r3 + 800c7a2: f001 fa7f bl 800dca4 + 800c7a6: e8bd 4008 ldmia.w sp!, {r3, lr} + 800c7aa: f001 b96d b.w 800da88 ... -0800c79c : - 800c79c: 4b1d ldr r3, [pc, #116] ; (800c814 ) - 800c79e: b573 push {r0, r1, r4, r5, r6, lr} - 800c7a0: 4d1d ldr r5, [pc, #116] ; (800c818 ) - 800c7a2: 6018 str r0, [r3, #0] - 800c7a4: 2400 movs r4, #0 - 800c7a6: 481d ldr r0, [pc, #116] ; (800c81c ) - 800c7a8: 706c strb r4, [r5, #1] - 800c7aa: e9c5 4401 strd r4, r4, [r5, #4] - 800c7ae: 65ac str r4, [r5, #88] ; 0x58 - 800c7b0: f001 fa98 bl 800dce4 - 800c7b4: 81ac strh r4, [r5, #12] - 800c7b6: f001 fa03 bl 800dbc0 - 800c7ba: 4621 mov r1, r4 - 800c7bc: 4620 mov r0, r4 - 800c7be: f001 fc4b bl 800e058 - 800c7c2: 4621 mov r1, r4 - 800c7c4: 2204 movs r2, #4 - 800c7c6: 2001 movs r0, #1 - 800c7c8: f001 fafc bl 800ddc4 - 800c7cc: 4e14 ldr r6, [pc, #80] ; (800c820 ) - 800c7ce: 4d15 ldr r5, [pc, #84] ; (800c824 ) - 800c7d0: f64f 71ff movw r1, #65535 ; 0xffff - 800c7d4: 4623 mov r3, r4 - 800c7d6: 4622 mov r2, r4 - 800c7d8: 4608 mov r0, r1 - 800c7da: f001 fa59 bl 800dc90 - 800c7de: f7ff ffc7 bl 800c770 - 800c7e2: 4622 mov r2, r4 - 800c7e4: 4b10 ldr r3, [pc, #64] ; (800c828 ) - 800c7e6: 9400 str r4, [sp, #0] - 800c7e8: f04f 31ff mov.w r1, #4294967295 - 800c7ec: 4630 mov r0, r6 - 800c7ee: f002 f93d bl 800ea6c - 800c7f2: 4b0e ldr r3, [pc, #56] ; (800c82c ) - 800c7f4: 9400 str r4, [sp, #0] +0800c7b0 : + 800c7b0: 4b1d ldr r3, [pc, #116] ; (800c828 ) + 800c7b2: b573 push {r0, r1, r4, r5, r6, lr} + 800c7b4: 4d1d ldr r5, [pc, #116] ; (800c82c ) + 800c7b6: 6018 str r0, [r3, #0] + 800c7b8: 2400 movs r4, #0 + 800c7ba: 481d ldr r0, [pc, #116] ; (800c830 ) + 800c7bc: 706c strb r4, [r5, #1] + 800c7be: e9c5 4401 strd r4, r4, [r5, #4] + 800c7c2: 65ac str r4, [r5, #88] ; 0x58 + 800c7c4: f001 fa98 bl 800dcf8 + 800c7c8: 81ac strh r4, [r5, #12] + 800c7ca: f001 fa03 bl 800dbd4 + 800c7ce: 4621 mov r1, r4 + 800c7d0: 4620 mov r0, r4 + 800c7d2: f001 fc4b bl 800e06c + 800c7d6: 4621 mov r1, r4 + 800c7d8: 2204 movs r2, #4 + 800c7da: 2001 movs r0, #1 + 800c7dc: f001 fafc bl 800ddd8 + 800c7e0: 4e14 ldr r6, [pc, #80] ; (800c834 ) + 800c7e2: 4d15 ldr r5, [pc, #84] ; (800c838 ) + 800c7e4: f64f 71ff movw r1, #65535 ; 0xffff + 800c7e8: 4623 mov r3, r4 + 800c7ea: 4622 mov r2, r4 + 800c7ec: 4608 mov r0, r1 + 800c7ee: f001 fa59 bl 800dca4 + 800c7f2: f7ff ffc7 bl 800c784 800c7f6: 4622 mov r2, r4 - 800c7f8: f04f 31ff mov.w r1, #4294967295 - 800c7fc: 4628 mov r0, r5 - 800c7fe: f002 f935 bl 800ea6c - 800c802: 4630 mov r0, r6 - 800c804: f002 f990 bl 800eb28 - 800c808: 4628 mov r0, r5 - 800c80a: b002 add sp, #8 - 800c80c: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 800c810: f002 b98a b.w 800eb28 - 800c814: 20001acc .word 0x20001acc - 800c818: 20001ae8 .word 0x20001ae8 - 800c81c: 0800d7e5 .word 0x0800d7e5 - 800c820: 20001b44 .word 0x20001b44 - 800c824: 20001ad0 .word 0x20001ad0 - 800c828: 0800c545 .word 0x0800c545 - 800c82c: 0800c565 .word 0x0800c565 + 800c7f8: 4b10 ldr r3, [pc, #64] ; (800c83c ) + 800c7fa: 9400 str r4, [sp, #0] + 800c7fc: f04f 31ff mov.w r1, #4294967295 + 800c800: 4630 mov r0, r6 + 800c802: f002 f93d bl 800ea80 + 800c806: 4b0e ldr r3, [pc, #56] ; (800c840 ) + 800c808: 9400 str r4, [sp, #0] + 800c80a: 4622 mov r2, r4 + 800c80c: f04f 31ff mov.w r1, #4294967295 + 800c810: 4628 mov r0, r5 + 800c812: f002 f935 bl 800ea80 + 800c816: 4630 mov r0, r6 + 800c818: f002 f990 bl 800eb3c + 800c81c: 4628 mov r0, r5 + 800c81e: b002 add sp, #8 + 800c820: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 800c824: f002 b98a b.w 800eb3c + 800c828: 20001acc .word 0x20001acc + 800c82c: 20001ae8 .word 0x20001ae8 + 800c830: 0800d7f9 .word 0x0800d7f9 + 800c834: 20001b44 .word 0x20001b44 + 800c838: 20001ad0 .word 0x20001ad0 + 800c83c: 0800c559 .word 0x0800c559 + 800c840: 0800c579 .word 0x0800c579 -0800c830 : - 800c830: 2801 cmp r0, #1 - 800c832: 4808 ldr r0, [pc, #32] ; (800c854 ) - 800c834: d105 bne.n 800c842 - 800c836: 4b08 ldr r3, [pc, #32] ; (800c858 ) - 800c838: 77c1 strb r1, [r0, #31] - 800c83a: 7019 strb r1, [r3, #0] - 800c83c: 300e adds r0, #14 - 800c83e: f001 bba7 b.w 800df90 - 800c842: 7d43 ldrb r3, [r0, #21] - 800c844: 2b01 cmp r3, #1 - 800c846: d103 bne.n 800c850 - 800c848: 4b03 ldr r3, [pc, #12] ; (800c858 ) - 800c84a: 7581 strb r1, [r0, #22] - 800c84c: 7019 strb r1, [r3, #0] - 800c84e: e7f5 b.n 800c83c - 800c850: 4770 bx lr - 800c852: bf00 nop - 800c854: 20001ae8 .word 0x20001ae8 - 800c858: 200000fc .word 0x200000fc +0800c844 : + 800c844: 2801 cmp r0, #1 + 800c846: 4808 ldr r0, [pc, #32] ; (800c868 ) + 800c848: d105 bne.n 800c856 + 800c84a: 4b08 ldr r3, [pc, #32] ; (800c86c ) + 800c84c: 77c1 strb r1, [r0, #31] + 800c84e: 7019 strb r1, [r3, #0] + 800c850: 300e adds r0, #14 + 800c852: f001 bba7 b.w 800dfa4 + 800c856: 7d43 ldrb r3, [r0, #21] + 800c858: 2b01 cmp r3, #1 + 800c85a: d103 bne.n 800c864 + 800c85c: 4b03 ldr r3, [pc, #12] ; (800c86c ) + 800c85e: 7581 strb r1, [r0, #22] + 800c860: 7019 strb r1, [r3, #0] + 800c862: e7f5 b.n 800c850 + 800c864: 4770 bx lr + 800c866: bf00 nop + 800c868: 20001ae8 .word 0x20001ae8 + 800c86c: 200000fc .word 0x200000fc -0800c85c : - 800c85c: 4b0d ldr r3, [pc, #52] ; (800c894 ) - 800c85e: b510 push {r4, lr} - 800c860: 4604 mov r4, r0 - 800c862: 7318 strb r0, [r3, #12] - 800c864: 7358 strb r0, [r3, #13] - 800c866: 2001 movs r0, #1 - 800c868: f000 f816 bl 800c898 - 800c86c: b15c cbz r4, 800c886 - 800c86e: 2134 movs r1, #52 ; 0x34 - 800c870: f44f 60e8 mov.w r0, #1856 ; 0x740 - 800c874: f000 ffc4 bl 800d800 - 800c878: 2144 movs r1, #68 ; 0x44 - 800c87a: e8bd 4010 ldmia.w sp!, {r4, lr} - 800c87e: f240 7041 movw r0, #1857 ; 0x741 - 800c882: f000 bfbd b.w 800d800 - 800c886: 2114 movs r1, #20 - 800c888: f44f 60e8 mov.w r0, #1856 ; 0x740 - 800c88c: f000 ffb8 bl 800d800 - 800c890: 2124 movs r1, #36 ; 0x24 - 800c892: e7f2 b.n 800c87a - 800c894: 20001ae8 .word 0x20001ae8 +0800c870 : + 800c870: 4b0d ldr r3, [pc, #52] ; (800c8a8 ) + 800c872: b510 push {r4, lr} + 800c874: 4604 mov r4, r0 + 800c876: 7318 strb r0, [r3, #12] + 800c878: 7358 strb r0, [r3, #13] + 800c87a: 2001 movs r0, #1 + 800c87c: f000 f816 bl 800c8ac + 800c880: b15c cbz r4, 800c89a + 800c882: 2134 movs r1, #52 ; 0x34 + 800c884: f44f 60e8 mov.w r0, #1856 ; 0x740 + 800c888: f000 ffc4 bl 800d814 + 800c88c: 2144 movs r1, #68 ; 0x44 + 800c88e: e8bd 4010 ldmia.w sp!, {r4, lr} + 800c892: f240 7041 movw r0, #1857 ; 0x741 + 800c896: f000 bfbd b.w 800d814 + 800c89a: 2114 movs r1, #20 + 800c89c: f44f 60e8 mov.w r0, #1856 ; 0x740 + 800c8a0: f000 ffb8 bl 800d814 + 800c8a4: 2124 movs r1, #36 ; 0x24 + 800c8a6: e7f2 b.n 800c88e + 800c8a8: 20001ae8 .word 0x20001ae8 -0800c898 : - 800c898: b538 push {r3, r4, r5, lr} - 800c89a: 4c11 ldr r4, [pc, #68] ; (800c8e0 ) - 800c89c: 4605 mov r5, r0 - 800c89e: 7020 strb r0, [r4, #0] - 800c8a0: f001 fd61 bl 800e366 - 800c8a4: 2d05 cmp r5, #5 - 800c8a6: d804 bhi.n 800c8b2 - 800c8a8: e8df f005 tbb [pc, r5] - 800c8ac: 17030b09 .word 0x17030b09 - 800c8b0: 0917 .short 0x0917 - 800c8b2: 2003 movs r0, #3 - 800c8b4: f001 fa70 bl 800dd98 - 800c8b8: 2300 movs r3, #0 - 800c8ba: 7363 strb r3, [r4, #13] - 800c8bc: bd38 pop {r3, r4, r5, pc} - 800c8be: 2000 movs r0, #0 - 800c8c0: e7f8 b.n 800c8b4 - 800c8c2: 2001 movs r0, #1 - 800c8c4: f001 fa68 bl 800dd98 - 800c8c8: 7b20 ldrb r0, [r4, #12] - 800c8ca: 7b63 ldrb r3, [r4, #13] - 800c8cc: 4283 cmp r3, r0 - 800c8ce: d0f5 beq.n 800c8bc - 800c8d0: 7360 strb r0, [r4, #13] - 800c8d2: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} - 800c8d6: f7ff bfc1 b.w 800c85c - 800c8da: 2002 movs r0, #2 - 800c8dc: e7ea b.n 800c8b4 - 800c8de: bf00 nop - 800c8e0: 20001ae8 .word 0x20001ae8 +0800c8ac : + 800c8ac: b538 push {r3, r4, r5, lr} + 800c8ae: 4c11 ldr r4, [pc, #68] ; (800c8f4 ) + 800c8b0: 4605 mov r5, r0 + 800c8b2: 7020 strb r0, [r4, #0] + 800c8b4: f001 fd61 bl 800e37a + 800c8b8: 2d05 cmp r5, #5 + 800c8ba: d804 bhi.n 800c8c6 + 800c8bc: e8df f005 tbb [pc, r5] + 800c8c0: 17030b09 .word 0x17030b09 + 800c8c4: 0917 .short 0x0917 + 800c8c6: 2003 movs r0, #3 + 800c8c8: f001 fa70 bl 800ddac + 800c8cc: 2300 movs r3, #0 + 800c8ce: 7363 strb r3, [r4, #13] + 800c8d0: bd38 pop {r3, r4, r5, pc} + 800c8d2: 2000 movs r0, #0 + 800c8d4: e7f8 b.n 800c8c8 + 800c8d6: 2001 movs r0, #1 + 800c8d8: f001 fa68 bl 800ddac + 800c8dc: 7b20 ldrb r0, [r4, #12] + 800c8de: 7b63 ldrb r3, [r4, #13] + 800c8e0: 4283 cmp r3, r0 + 800c8e2: d0f5 beq.n 800c8d0 + 800c8e4: 7360 strb r0, [r4, #13] + 800c8e6: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} + 800c8ea: f7ff bfc1 b.w 800c870 + 800c8ee: 2002 movs r0, #2 + 800c8f0: e7ea b.n 800c8c8 + 800c8f2: bf00 nop + 800c8f4: 20001ae8 .word 0x20001ae8 -0800c8e4 : - 800c8e4: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} - 800c8e8: 461e mov r6, r3 - 800c8ea: b087 sub sp, #28 - 800c8ec: 2300 movs r3, #0 - 800c8ee: 4605 mov r5, r0 - 800c8f0: e9cd 3301 strd r3, r3, [sp, #4] - 800c8f4: 460c mov r4, r1 - 800c8f6: 4617 mov r7, r2 - 800c8f8: f001 fd27 bl 800e34a - 800c8fc: 2d03 cmp r5, #3 - 800c8fe: d861 bhi.n 800c9c4 - 800c900: e8df f015 tbh [pc, r5, lsl #1] - 800c904: 00c3007b .word 0x00c3007b - 800c908: 0004010e .word 0x0004010e - 800c90c: 7ca2 ldrb r2, [r4, #18] - 800c90e: 2a08 cmp r2, #8 - 800c910: d904 bls.n 800c91c - 800c912: f04f 30ff mov.w r0, #4294967295 - 800c916: b007 add sp, #28 - 800c918: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} - 800c91c: 68a1 ldr r1, [r4, #8] - 800c91e: a801 add r0, sp, #4 - 800c920: f001 fedc bl 800e6dc - 800c924: 6821 ldr r1, [r4, #0] - 800c926: 2900 cmp r1, #0 - 800c928: d0f3 beq.n 800c912 - 800c92a: f242 7210 movw r2, #10000 ; 0x2710 - 800c92e: 4291 cmp r1, r2 - 800c930: 7ce3 ldrb r3, [r4, #19] - 800c932: 4d86 ldr r5, [pc, #536] ; (800cb4c ) - 800c934: d851 bhi.n 800c9da - 800c936: 2203 movs r2, #3 - 800c938: 73aa strb r2, [r5, #14] - 800c93a: f885 2038 strb.w r2, [r5, #56] ; 0x38 - 800c93e: 63e9 str r1, [r5, #60] ; 0x3c - 800c940: f885 3044 strb.w r3, [r5, #68] ; 0x44 - 800c944: f04f 0802 mov.w r8, #2 - 800c948: 6863 ldr r3, [r4, #4] - 800c94a: 7da1 ldrb r1, [r4, #22] - 800c94c: 00db lsls r3, r3, #3 - 800c94e: 822b strh r3, [r5, #16] - 800c950: 2304 movs r3, #4 - 800c952: 74ab strb r3, [r5, #18] - 800c954: 7ca3 ldrb r3, [r4, #18] - 800c956: 00db lsls r3, r3, #3 - 800c958: 74eb strb r3, [r5, #19] - 800c95a: 2902 cmp r1, #2 - 800c95c: f04f 0300 mov.w r3, #0 - 800c960: 752b strb r3, [r5, #20] - 800c962: 7d63 ldrb r3, [r4, #21] - 800c964: d002 beq.n 800c96c - 800c966: 7d22 ldrb r2, [r4, #20] - 800c968: 2a02 cmp r2, #2 - 800c96a: d142 bne.n 800c9f2 - 800c96c: f103 020f add.w r2, r3, #15 - 800c970: b2d2 uxtb r2, r2 - 800c972: 2a01 cmp r2, #1 - 800c974: d901 bls.n 800c97a - 800c976: 2b01 cmp r3, #1 - 800c978: d1cb bne.n 800c912 - 800c97a: 4b75 ldr r3, [pc, #468] ; (800cb50 ) - 800c97c: 4a75 ldr r2, [pc, #468] ; (800cb54 ) - 800c97e: 6819 ldr r1, [r3, #0] - 800c980: 9403 str r4, [sp, #12] - 800c982: f04f 0901 mov.w r9, #1 - 800c986: a803 add r0, sp, #12 - 800c988: f88d 9014 strb.w r9, [sp, #20] - 800c98c: f001 fcda bl 800e344 - 800c990: 2800 cmp r0, #0 - 800c992: d1be bne.n 800c912 - 800c994: 7628 strb r0, [r5, #24] - 800c996: f885 9017 strb.w r9, [r5, #23] - 800c99a: 7568 strb r0, [r5, #21] - 800c99c: f7ff fe5c bl 800c658 - 800c9a0: 4640 mov r0, r8 - 800c9a2: f7ff ff79 bl 800c898 - 800c9a6: 486c ldr r0, [pc, #432] ; (800cb58 ) - 800c9a8: f001 fa86 bl 800deb8 - 800c9ac: 486b ldr r0, [pc, #428] ; (800cb5c ) - 800c9ae: f001 faef bl 800df90 - 800c9b2: a801 add r0, sp, #4 - 800c9b4: f000 ff84 bl 800d8c0 - 800c9b8: 8a20 ldrh r0, [r4, #16] - 800c9ba: f000 ff55 bl 800d868 - 800c9be: 89a0 ldrh r0, [r4, #12] - 800c9c0: f000 ff9a bl 800d8f8 - 800c9c4: 4638 mov r0, r7 - 800c9c6: f001 fc01 bl 800e1cc - 800c9ca: 4c60 ldr r4, [pc, #384] ; (800cb4c ) - 800c9cc: f884 0056 strb.w r0, [r4, #86] ; 0x56 - 800c9d0: f001 fcc0 bl 800e354 - 800c9d4: 6066 str r6, [r4, #4] - 800c9d6: 2000 movs r0, #0 - 800c9d8: e79d b.n 800c916 - 800c9da: f04f 0800 mov.w r8, #0 - 800c9de: 63e9 str r1, [r5, #60] ; 0x3c - 800c9e0: 0889 lsrs r1, r1, #2 - 800c9e2: f885 800e strb.w r8, [r5, #14] - 800c9e6: f885 8038 strb.w r8, [r5, #56] ; 0x38 - 800c9ea: f885 3044 strb.w r3, [r5, #68] ; 0x44 - 800c9ee: 6429 str r1, [r5, #64] ; 0x40 - 800c9f0: e7aa b.n 800c948 - 800c9f2: 75eb strb r3, [r5, #23] - 800c9f4: 7629 strb r1, [r5, #24] - 800c9f6: 756a strb r2, [r5, #21] - 800c9f8: e7d0 b.n 800c99c - 800c9fa: 6823 ldr r3, [r4, #0] - 800c9fc: 2b00 cmp r3, #0 - 800c9fe: d088 beq.n 800c912 - 800ca00: 7ca2 ldrb r2, [r4, #18] - 800ca02: 2a08 cmp r2, #8 - 800ca04: d885 bhi.n 800c912 - 800ca06: 4d51 ldr r5, [pc, #324] ; (800cb4c ) - 800ca08: 68a1 ldr r1, [r4, #8] - 800ca0a: a801 add r0, sp, #4 - 800ca0c: f001 fe66 bl 800e6dc - 800ca10: 2300 movs r3, #0 - 800ca12: f885 3038 strb.w r3, [r5, #56] ; 0x38 - 800ca16: 6822 ldr r2, [r4, #0] - 800ca18: 63ea str r2, [r5, #60] ; 0x3c - 800ca1a: 7ce2 ldrb r2, [r4, #19] - 800ca1c: f885 2044 strb.w r2, [r5, #68] ; 0x44 - 800ca20: 69a2 ldr r2, [r4, #24] - 800ca22: 73ab strb r3, [r5, #14] - 800ca24: 642a str r2, [r5, #64] ; 0x40 - 800ca26: 6862 ldr r2, [r4, #4] - 800ca28: 7da1 ldrb r1, [r4, #22] - 800ca2a: 00d2 lsls r2, r2, #3 - 800ca2c: 822a strh r2, [r5, #16] - 800ca2e: 2204 movs r2, #4 - 800ca30: 74aa strb r2, [r5, #18] - 800ca32: 7ca2 ldrb r2, [r4, #18] - 800ca34: 752b strb r3, [r5, #20] - 800ca36: 00d2 lsls r2, r2, #3 - 800ca38: 2902 cmp r1, #2 - 800ca3a: 7d63 ldrb r3, [r4, #21] - 800ca3c: 74ea strb r2, [r5, #19] - 800ca3e: d002 beq.n 800ca46 - 800ca40: 7d22 ldrb r2, [r4, #20] - 800ca42: 2a02 cmp r2, #2 - 800ca44: d11d bne.n 800ca82 - 800ca46: f103 020f add.w r2, r3, #15 - 800ca4a: b2d2 uxtb r2, r2 - 800ca4c: 2a01 cmp r2, #1 - 800ca4e: d902 bls.n 800ca56 - 800ca50: 2b01 cmp r3, #1 - 800ca52: f47f af5e bne.w 800c912 - 800ca56: 4b3e ldr r3, [pc, #248] ; (800cb50 ) - 800ca58: 4a3e ldr r2, [pc, #248] ; (800cb54 ) - 800ca5a: 6819 ldr r1, [r3, #0] - 800ca5c: 9403 str r4, [sp, #12] - 800ca5e: f04f 0801 mov.w r8, #1 - 800ca62: a803 add r0, sp, #12 - 800ca64: f88d 8014 strb.w r8, [sp, #20] - 800ca68: f001 fc6c bl 800e344 - 800ca6c: 2800 cmp r0, #0 - 800ca6e: f47f af50 bne.w 800c912 - 800ca72: 7628 strb r0, [r5, #24] - 800ca74: f885 8017 strb.w r8, [r5, #23] - 800ca78: 7568 strb r0, [r5, #21] - 800ca7a: f7ff fded bl 800c658 - 800ca7e: 2000 movs r0, #0 - 800ca80: e78f b.n 800c9a2 - 800ca82: 75eb strb r3, [r5, #23] - 800ca84: 7629 strb r1, [r5, #24] - 800ca86: 756a strb r2, [r5, #21] - 800ca88: e7f7 b.n 800ca7a - 800ca8a: 4d30 ldr r5, [pc, #192] ; (800cb4c ) - 800ca8c: 2101 movs r1, #1 - 800ca8e: f885 1038 strb.w r1, [r5, #56] ; 0x38 - 800ca92: 7822 ldrb r2, [r4, #0] - 800ca94: f885 2050 strb.w r2, [r5, #80] ; 0x50 - 800ca98: 7863 ldrb r3, [r4, #1] - 800ca9a: f885 3051 strb.w r3, [r5, #81] ; 0x51 - 800ca9e: 78a3 ldrb r3, [r4, #2] - 800caa0: f885 3052 strb.w r3, [r5, #82] ; 0x52 - 800caa4: 78e3 ldrb r3, [r4, #3] - 800caa6: 428b cmp r3, r1 - 800caa8: d002 beq.n 800cab0 - 800caaa: 2b02 cmp r3, #2 - 800caac: d003 beq.n 800cab6 - 800caae: b93b cbnz r3, 800cac0 - 800cab0: f885 3053 strb.w r3, [r5, #83] ; 0x53 - 800cab4: e004 b.n 800cac0 - 800cab6: 3a0b subs r2, #11 - 800cab8: 2a01 cmp r2, #1 - 800caba: d829 bhi.n 800cb10 - 800cabc: f885 1053 strb.w r1, [r5, #83] ; 0x53 - 800cac0: f04f 0801 mov.w r8, #1 - 800cac4: f885 800e strb.w r8, [r5, #14] - 800cac8: 88a3 ldrh r3, [r4, #4] - 800caca: 83ab strh r3, [r5, #28] - 800cacc: 79a3 ldrb r3, [r4, #6] - 800cace: 77ab strb r3, [r5, #30] - 800cad0: 79e3 ldrb r3, [r4, #7] - 800cad2: f885 3020 strb.w r3, [r5, #32] - 800cad6: 7a23 ldrb r3, [r4, #8] - 800cad8: f885 3021 strb.w r3, [r5, #33] ; 0x21 - 800cadc: f7ff fdbc bl 800c658 - 800cae0: 4640 mov r0, r8 - 800cae2: f7ff fed9 bl 800c898 - 800cae6: 481c ldr r0, [pc, #112] ; (800cb58 ) - 800cae8: f001 f9e6 bl 800deb8 - 800caec: 481b ldr r0, [pc, #108] ; (800cb5c ) - 800caee: f001 fa4f bl 800df90 - 800caf2: f895 3051 ldrb.w r3, [r5, #81] ; 0x51 - 800caf6: 2b06 cmp r3, #6 - 800caf8: f640 0089 movw r0, #2185 ; 0x889 - 800cafc: d10a bne.n 800cb14 - 800cafe: f000 fe8f bl 800d820 - 800cb02: f000 01fb and.w r1, r0, #251 ; 0xfb - 800cb06: f640 0089 movw r0, #2185 ; 0x889 - 800cb0a: f000 fe79 bl 800d800 - 800cb0e: e759 b.n 800c9c4 - 800cb10: 2300 movs r3, #0 - 800cb12: e7cd b.n 800cab0 - 800cb14: f000 fe84 bl 800d820 - 800cb18: f040 0104 orr.w r1, r0, #4 - 800cb1c: b2c9 uxtb r1, r1 - 800cb1e: e7f2 b.n 800cb06 - 800cb20: 6823 ldr r3, [r4, #0] - 800cb22: 3b01 subs r3, #1 - 800cb24: f5b3 7f7a cmp.w r3, #1000 ; 0x3e8 - 800cb28: f4bf aef3 bcs.w 800c912 - 800cb2c: 2003 movs r0, #3 - 800cb2e: f7ff feb3 bl 800c898 - 800cb32: 4806 ldr r0, [pc, #24] ; (800cb4c ) - 800cb34: 2302 movs r3, #2 - 800cb36: f880 3038 strb.w r3, [r0, #56] ; 0x38 - 800cb3a: 6823 ldr r3, [r4, #0] - 800cb3c: 6483 str r3, [r0, #72] ; 0x48 - 800cb3e: 2316 movs r3, #22 - 800cb40: f880 304c strb.w r3, [r0, #76] ; 0x4c - 800cb44: 3038 adds r0, #56 ; 0x38 - 800cb46: f001 f9b7 bl 800deb8 - 800cb4a: e73b b.n 800c9c4 - 800cb4c: 20001ae8 .word 0x20001ae8 - 800cb50: 20001acc .word 0x20001acc - 800cb54: 20001b44 .word 0x20001b44 - 800cb58: 20001b20 .word 0x20001b20 - 800cb5c: 20001af6 .word 0x20001af6 +0800c8f8 : + 800c8f8: e92d 43f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, lr} + 800c8fc: 461e mov r6, r3 + 800c8fe: b087 sub sp, #28 + 800c900: 2300 movs r3, #0 + 800c902: 4605 mov r5, r0 + 800c904: e9cd 3301 strd r3, r3, [sp, #4] + 800c908: 460c mov r4, r1 + 800c90a: 4617 mov r7, r2 + 800c90c: f001 fd27 bl 800e35e + 800c910: 2d03 cmp r5, #3 + 800c912: d861 bhi.n 800c9d8 + 800c914: e8df f015 tbh [pc, r5, lsl #1] + 800c918: 00c3007b .word 0x00c3007b + 800c91c: 0004010e .word 0x0004010e + 800c920: 7ca2 ldrb r2, [r4, #18] + 800c922: 2a08 cmp r2, #8 + 800c924: d904 bls.n 800c930 + 800c926: f04f 30ff mov.w r0, #4294967295 + 800c92a: b007 add sp, #28 + 800c92c: e8bd 83f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, pc} + 800c930: 68a1 ldr r1, [r4, #8] + 800c932: a801 add r0, sp, #4 + 800c934: f001 fedc bl 800e6f0 + 800c938: 6821 ldr r1, [r4, #0] + 800c93a: 2900 cmp r1, #0 + 800c93c: d0f3 beq.n 800c926 + 800c93e: f242 7210 movw r2, #10000 ; 0x2710 + 800c942: 4291 cmp r1, r2 + 800c944: 7ce3 ldrb r3, [r4, #19] + 800c946: 4d86 ldr r5, [pc, #536] ; (800cb60 ) + 800c948: d851 bhi.n 800c9ee + 800c94a: 2203 movs r2, #3 + 800c94c: 73aa strb r2, [r5, #14] + 800c94e: f885 2038 strb.w r2, [r5, #56] ; 0x38 + 800c952: 63e9 str r1, [r5, #60] ; 0x3c + 800c954: f885 3044 strb.w r3, [r5, #68] ; 0x44 + 800c958: f04f 0802 mov.w r8, #2 + 800c95c: 6863 ldr r3, [r4, #4] + 800c95e: 7da1 ldrb r1, [r4, #22] + 800c960: 00db lsls r3, r3, #3 + 800c962: 822b strh r3, [r5, #16] + 800c964: 2304 movs r3, #4 + 800c966: 74ab strb r3, [r5, #18] + 800c968: 7ca3 ldrb r3, [r4, #18] + 800c96a: 00db lsls r3, r3, #3 + 800c96c: 74eb strb r3, [r5, #19] + 800c96e: 2902 cmp r1, #2 + 800c970: f04f 0300 mov.w r3, #0 + 800c974: 752b strb r3, [r5, #20] + 800c976: 7d63 ldrb r3, [r4, #21] + 800c978: d002 beq.n 800c980 + 800c97a: 7d22 ldrb r2, [r4, #20] + 800c97c: 2a02 cmp r2, #2 + 800c97e: d142 bne.n 800ca06 + 800c980: f103 020f add.w r2, r3, #15 + 800c984: b2d2 uxtb r2, r2 + 800c986: 2a01 cmp r2, #1 + 800c988: d901 bls.n 800c98e + 800c98a: 2b01 cmp r3, #1 + 800c98c: d1cb bne.n 800c926 + 800c98e: 4b75 ldr r3, [pc, #468] ; (800cb64 ) + 800c990: 4a75 ldr r2, [pc, #468] ; (800cb68 ) + 800c992: 6819 ldr r1, [r3, #0] + 800c994: 9403 str r4, [sp, #12] + 800c996: f04f 0901 mov.w r9, #1 + 800c99a: a803 add r0, sp, #12 + 800c99c: f88d 9014 strb.w r9, [sp, #20] + 800c9a0: f001 fcda bl 800e358 + 800c9a4: 2800 cmp r0, #0 + 800c9a6: d1be bne.n 800c926 + 800c9a8: 7628 strb r0, [r5, #24] + 800c9aa: f885 9017 strb.w r9, [r5, #23] + 800c9ae: 7568 strb r0, [r5, #21] + 800c9b0: f7ff fe5c bl 800c66c + 800c9b4: 4640 mov r0, r8 + 800c9b6: f7ff ff79 bl 800c8ac + 800c9ba: 486c ldr r0, [pc, #432] ; (800cb6c ) + 800c9bc: f001 fa86 bl 800decc + 800c9c0: 486b ldr r0, [pc, #428] ; (800cb70 ) + 800c9c2: f001 faef bl 800dfa4 + 800c9c6: a801 add r0, sp, #4 + 800c9c8: f000 ff84 bl 800d8d4 + 800c9cc: 8a20 ldrh r0, [r4, #16] + 800c9ce: f000 ff55 bl 800d87c + 800c9d2: 89a0 ldrh r0, [r4, #12] + 800c9d4: f000 ff9a bl 800d90c + 800c9d8: 4638 mov r0, r7 + 800c9da: f001 fc01 bl 800e1e0 + 800c9de: 4c60 ldr r4, [pc, #384] ; (800cb60 ) + 800c9e0: f884 0056 strb.w r0, [r4, #86] ; 0x56 + 800c9e4: f001 fcc0 bl 800e368 + 800c9e8: 6066 str r6, [r4, #4] + 800c9ea: 2000 movs r0, #0 + 800c9ec: e79d b.n 800c92a + 800c9ee: f04f 0800 mov.w r8, #0 + 800c9f2: 63e9 str r1, [r5, #60] ; 0x3c + 800c9f4: 0889 lsrs r1, r1, #2 + 800c9f6: f885 800e strb.w r8, [r5, #14] + 800c9fa: f885 8038 strb.w r8, [r5, #56] ; 0x38 + 800c9fe: f885 3044 strb.w r3, [r5, #68] ; 0x44 + 800ca02: 6429 str r1, [r5, #64] ; 0x40 + 800ca04: e7aa b.n 800c95c + 800ca06: 75eb strb r3, [r5, #23] + 800ca08: 7629 strb r1, [r5, #24] + 800ca0a: 756a strb r2, [r5, #21] + 800ca0c: e7d0 b.n 800c9b0 + 800ca0e: 6823 ldr r3, [r4, #0] + 800ca10: 2b00 cmp r3, #0 + 800ca12: d088 beq.n 800c926 + 800ca14: 7ca2 ldrb r2, [r4, #18] + 800ca16: 2a08 cmp r2, #8 + 800ca18: d885 bhi.n 800c926 + 800ca1a: 4d51 ldr r5, [pc, #324] ; (800cb60 ) + 800ca1c: 68a1 ldr r1, [r4, #8] + 800ca1e: a801 add r0, sp, #4 + 800ca20: f001 fe66 bl 800e6f0 + 800ca24: 2300 movs r3, #0 + 800ca26: f885 3038 strb.w r3, [r5, #56] ; 0x38 + 800ca2a: 6822 ldr r2, [r4, #0] + 800ca2c: 63ea str r2, [r5, #60] ; 0x3c + 800ca2e: 7ce2 ldrb r2, [r4, #19] + 800ca30: f885 2044 strb.w r2, [r5, #68] ; 0x44 + 800ca34: 69a2 ldr r2, [r4, #24] + 800ca36: 73ab strb r3, [r5, #14] + 800ca38: 642a str r2, [r5, #64] ; 0x40 + 800ca3a: 6862 ldr r2, [r4, #4] + 800ca3c: 7da1 ldrb r1, [r4, #22] + 800ca3e: 00d2 lsls r2, r2, #3 + 800ca40: 822a strh r2, [r5, #16] + 800ca42: 2204 movs r2, #4 + 800ca44: 74aa strb r2, [r5, #18] + 800ca46: 7ca2 ldrb r2, [r4, #18] + 800ca48: 752b strb r3, [r5, #20] + 800ca4a: 00d2 lsls r2, r2, #3 + 800ca4c: 2902 cmp r1, #2 + 800ca4e: 7d63 ldrb r3, [r4, #21] + 800ca50: 74ea strb r2, [r5, #19] + 800ca52: d002 beq.n 800ca5a + 800ca54: 7d22 ldrb r2, [r4, #20] + 800ca56: 2a02 cmp r2, #2 + 800ca58: d11d bne.n 800ca96 + 800ca5a: f103 020f add.w r2, r3, #15 + 800ca5e: b2d2 uxtb r2, r2 + 800ca60: 2a01 cmp r2, #1 + 800ca62: d902 bls.n 800ca6a + 800ca64: 2b01 cmp r3, #1 + 800ca66: f47f af5e bne.w 800c926 + 800ca6a: 4b3e ldr r3, [pc, #248] ; (800cb64 ) + 800ca6c: 4a3e ldr r2, [pc, #248] ; (800cb68 ) + 800ca6e: 6819 ldr r1, [r3, #0] + 800ca70: 9403 str r4, [sp, #12] + 800ca72: f04f 0801 mov.w r8, #1 + 800ca76: a803 add r0, sp, #12 + 800ca78: f88d 8014 strb.w r8, [sp, #20] + 800ca7c: f001 fc6c bl 800e358 + 800ca80: 2800 cmp r0, #0 + 800ca82: f47f af50 bne.w 800c926 + 800ca86: 7628 strb r0, [r5, #24] + 800ca88: f885 8017 strb.w r8, [r5, #23] + 800ca8c: 7568 strb r0, [r5, #21] + 800ca8e: f7ff fded bl 800c66c + 800ca92: 2000 movs r0, #0 + 800ca94: e78f b.n 800c9b6 + 800ca96: 75eb strb r3, [r5, #23] + 800ca98: 7629 strb r1, [r5, #24] + 800ca9a: 756a strb r2, [r5, #21] + 800ca9c: e7f7 b.n 800ca8e + 800ca9e: 4d30 ldr r5, [pc, #192] ; (800cb60 ) + 800caa0: 2101 movs r1, #1 + 800caa2: f885 1038 strb.w r1, [r5, #56] ; 0x38 + 800caa6: 7822 ldrb r2, [r4, #0] + 800caa8: f885 2050 strb.w r2, [r5, #80] ; 0x50 + 800caac: 7863 ldrb r3, [r4, #1] + 800caae: f885 3051 strb.w r3, [r5, #81] ; 0x51 + 800cab2: 78a3 ldrb r3, [r4, #2] + 800cab4: f885 3052 strb.w r3, [r5, #82] ; 0x52 + 800cab8: 78e3 ldrb r3, [r4, #3] + 800caba: 428b cmp r3, r1 + 800cabc: d002 beq.n 800cac4 + 800cabe: 2b02 cmp r3, #2 + 800cac0: d003 beq.n 800caca + 800cac2: b93b cbnz r3, 800cad4 + 800cac4: f885 3053 strb.w r3, [r5, #83] ; 0x53 + 800cac8: e004 b.n 800cad4 + 800caca: 3a0b subs r2, #11 + 800cacc: 2a01 cmp r2, #1 + 800cace: d829 bhi.n 800cb24 + 800cad0: f885 1053 strb.w r1, [r5, #83] ; 0x53 + 800cad4: f04f 0801 mov.w r8, #1 + 800cad8: f885 800e strb.w r8, [r5, #14] + 800cadc: 88a3 ldrh r3, [r4, #4] + 800cade: 83ab strh r3, [r5, #28] + 800cae0: 79a3 ldrb r3, [r4, #6] + 800cae2: 77ab strb r3, [r5, #30] + 800cae4: 79e3 ldrb r3, [r4, #7] + 800cae6: f885 3020 strb.w r3, [r5, #32] + 800caea: 7a23 ldrb r3, [r4, #8] + 800caec: f885 3021 strb.w r3, [r5, #33] ; 0x21 + 800caf0: f7ff fdbc bl 800c66c + 800caf4: 4640 mov r0, r8 + 800caf6: f7ff fed9 bl 800c8ac + 800cafa: 481c ldr r0, [pc, #112] ; (800cb6c ) + 800cafc: f001 f9e6 bl 800decc + 800cb00: 481b ldr r0, [pc, #108] ; (800cb70 ) + 800cb02: f001 fa4f bl 800dfa4 + 800cb06: f895 3051 ldrb.w r3, [r5, #81] ; 0x51 + 800cb0a: 2b06 cmp r3, #6 + 800cb0c: f640 0089 movw r0, #2185 ; 0x889 + 800cb10: d10a bne.n 800cb28 + 800cb12: f000 fe8f bl 800d834 + 800cb16: f000 01fb and.w r1, r0, #251 ; 0xfb + 800cb1a: f640 0089 movw r0, #2185 ; 0x889 + 800cb1e: f000 fe79 bl 800d814 + 800cb22: e759 b.n 800c9d8 + 800cb24: 2300 movs r3, #0 + 800cb26: e7cd b.n 800cac4 + 800cb28: f000 fe84 bl 800d834 + 800cb2c: f040 0104 orr.w r1, r0, #4 + 800cb30: b2c9 uxtb r1, r1 + 800cb32: e7f2 b.n 800cb1a + 800cb34: 6823 ldr r3, [r4, #0] + 800cb36: 3b01 subs r3, #1 + 800cb38: f5b3 7f7a cmp.w r3, #1000 ; 0x3e8 + 800cb3c: f4bf aef3 bcs.w 800c926 + 800cb40: 2003 movs r0, #3 + 800cb42: f7ff feb3 bl 800c8ac + 800cb46: 4806 ldr r0, [pc, #24] ; (800cb60 ) + 800cb48: 2302 movs r3, #2 + 800cb4a: f880 3038 strb.w r3, [r0, #56] ; 0x38 + 800cb4e: 6823 ldr r3, [r4, #0] + 800cb50: 6483 str r3, [r0, #72] ; 0x48 + 800cb52: 2316 movs r3, #22 + 800cb54: f880 304c strb.w r3, [r0, #76] ; 0x4c + 800cb58: 3038 adds r0, #56 ; 0x38 + 800cb5a: f001 f9b7 bl 800decc + 800cb5e: e73b b.n 800c9d8 + 800cb60: 20001ae8 .word 0x20001ae8 + 800cb64: 20001acc .word 0x20001acc + 800cb68: 20001b44 .word 0x20001b44 + 800cb6c: 20001b20 .word 0x20001b20 + 800cb70: 20001af6 .word 0x20001af6 -0800cb60 : - 800cb60: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800cb64: 2600 movs r6, #0 - 800cb66: b086 sub sp, #24 - 800cb68: 461f mov r7, r3 - 800cb6a: 4614 mov r4, r2 - 800cb6c: e9cd 6601 strd r6, r6, [sp, #4] - 800cb70: 4680 mov r8, r0 - 800cb72: 460d mov r5, r1 - 800cb74: f001 fbe9 bl 800e34a - 800cb78: 42b4 cmp r4, r6 - 800cb7a: 4c76 ldr r4, [pc, #472] ; (800cd54 ) - 800cb7c: bf16 itet ne - 800cb7e: 2301 movne r3, #1 - 800cb80: 4633 moveq r3, r6 - 800cb82: 4637 movne r7, r6 - 800cb84: 7063 strb r3, [r4, #1] - 800cb86: f1b8 0f00 cmp.w r8, #0 - 800cb8a: d006 beq.n 800cb9a - 800cb8c: f1b8 0f01 cmp.w r8, #1 - 800cb90: d07c beq.n 800cc8c - 800cb92: 2000 movs r0, #0 - 800cb94: b006 add sp, #24 - 800cb96: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800cb9a: 68ab ldr r3, [r5, #8] - 800cb9c: 2b00 cmp r3, #0 - 800cb9e: f000 80d6 beq.w 800cd4e - 800cba2: 68eb ldr r3, [r5, #12] - 800cba4: 2b00 cmp r3, #0 - 800cba6: f000 80d2 beq.w 800cd4e - 800cbaa: 7faa ldrb r2, [r5, #30] - 800cbac: 2a08 cmp r2, #8 - 800cbae: f200 80ce bhi.w 800cd4e - 800cbb2: 6929 ldr r1, [r5, #16] - 800cbb4: a801 add r0, sp, #4 - 800cbb6: f001 fd91 bl 800e6dc - 800cbba: 6828 ldr r0, [r5, #0] - 800cbbc: 3800 subs r0, #0 - 800cbbe: bf18 it ne - 800cbc0: 2001 movne r0, #1 - 800cbc2: f000 ffd9 bl 800db78 - 800cbc6: f884 8038 strb.w r8, [r4, #56] ; 0x38 - 800cbca: 68ab ldr r3, [r5, #8] - 800cbcc: 63e3 str r3, [r4, #60] ; 0x3c - 800cbce: f895 3020 ldrb.w r3, [r5, #32] - 800cbd2: f884 3044 strb.w r3, [r4, #68] ; 0x44 - 800cbd6: 6868 ldr r0, [r5, #4] - 800cbd8: f001 fb5a bl 800e290 - 800cbdc: f884 800e strb.w r8, [r4, #14] - 800cbe0: f884 0045 strb.w r0, [r4, #69] ; 0x45 - 800cbe4: 68eb ldr r3, [r5, #12] - 800cbe6: 00db lsls r3, r3, #3 - 800cbe8: 8223 strh r3, [r4, #16] - 800cbea: 7feb ldrb r3, [r5, #31] - 800cbec: 74a3 strb r3, [r4, #18] - 800cbee: 7fab ldrb r3, [r5, #30] - 800cbf0: 00db lsls r3, r3, #3 - 800cbf2: 74e3 strb r3, [r4, #19] - 800cbf4: f895 3021 ldrb.w r3, [r5, #33] ; 0x21 - 800cbf8: 7523 strb r3, [r4, #20] - 800cbfa: f895 3022 ldrb.w r3, [r5, #34] ; 0x22 - 800cbfe: 2b00 cmp r3, #0 - 800cc00: d13e bne.n 800cc80 - 800cc02: 7d2a ldrb r2, [r5, #20] - 800cc04: f895 1024 ldrb.w r1, [r5, #36] ; 0x24 - 800cc08: 75a2 strb r2, [r4, #22] - 800cc0a: 2902 cmp r1, #2 - 800cc0c: f895 2023 ldrb.w r2, [r5, #35] ; 0x23 - 800cc10: d001 beq.n 800cc16 - 800cc12: 2b02 cmp r3, #2 - 800cc14: d136 bne.n 800cc84 - 800cc16: f102 030f add.w r3, r2, #15 - 800cc1a: b2db uxtb r3, r3 - 800cc1c: 2b01 cmp r3, #1 - 800cc1e: d902 bls.n 800cc26 - 800cc20: 2a01 cmp r2, #1 - 800cc22: f040 8094 bne.w 800cd4e - 800cc26: 2300 movs r3, #0 - 800cc28: f88d 3014 strb.w r3, [sp, #20] - 800cc2c: 4b4a ldr r3, [pc, #296] ; (800cd58 ) - 800cc2e: 4a4b ldr r2, [pc, #300] ; (800cd5c ) - 800cc30: 6819 ldr r1, [r3, #0] - 800cc32: 9504 str r5, [sp, #16] - 800cc34: a803 add r0, sp, #12 - 800cc36: f001 fb85 bl 800e344 - 800cc3a: 2800 cmp r0, #0 - 800cc3c: f040 8087 bne.w 800cd4e - 800cc40: 2301 movs r3, #1 - 800cc42: 7620 strb r0, [r4, #24] - 800cc44: 75e3 strb r3, [r4, #23] - 800cc46: 7560 strb r0, [r4, #21] - 800cc48: f7ff fd06 bl 800c658 - 800cc4c: 2000 movs r0, #0 - 800cc4e: f7ff fe23 bl 800c898 - 800cc52: 4843 ldr r0, [pc, #268] ; (800cd60 ) - 800cc54: f001 f930 bl 800deb8 - 800cc58: 4842 ldr r0, [pc, #264] ; (800cd64 ) - 800cc5a: f001 f999 bl 800df90 - 800cc5e: a801 add r0, sp, #4 - 800cc60: f000 fe2e bl 800d8c0 - 800cc64: 8ba8 ldrh r0, [r5, #28] - 800cc66: f000 fdff bl 800d868 - 800cc6a: 8b28 ldrh r0, [r5, #24] - 800cc6c: f000 fe44 bl 800d8f8 - 800cc70: f44f 53fa mov.w r3, #8000 ; 0x1f40 - 800cc74: 68aa ldr r2, [r5, #8] - 800cc76: 437b muls r3, r7 - 800cc78: fbb3 f3f2 udiv r3, r3, r2 - 800cc7c: 60a3 str r3, [r4, #8] - 800cc7e: e788 b.n 800cb92 - 800cc80: 22ff movs r2, #255 ; 0xff - 800cc82: e7bf b.n 800cc04 - 800cc84: 75e2 strb r2, [r4, #23] - 800cc86: 7621 strb r1, [r4, #24] - 800cc88: 7563 strb r3, [r4, #21] - 800cc8a: e7dd b.n 800cc48 - 800cc8c: 8e2b ldrh r3, [r5, #48] ; 0x30 - 800cc8e: 2b00 cmp r3, #0 - 800cc90: d05d beq.n 800cd4e - 800cc92: f895 3032 ldrb.w r3, [r5, #50] ; 0x32 - 800cc96: 6aa8 ldr r0, [r5, #40] ; 0x28 - 800cc98: 2b01 cmp r3, #1 - 800cc9a: bf0c ite eq - 800cc9c: f895 8014 ldrbeq.w r8, [r5, #20] - 800cca0: f04f 08ff movne.w r8, #255 ; 0xff - 800cca4: 3800 subs r0, #0 - 800cca6: bf18 it ne - 800cca8: 2001 movne r0, #1 - 800ccaa: f000 ff65 bl 800db78 - 800ccae: b2f8 uxtb r0, r7 - 800ccb0: f000 ff6e bl 800db90 - 800ccb4: 2101 movs r1, #1 - 800ccb6: f884 1038 strb.w r1, [r4, #56] ; 0x38 - 800ccba: f895 202c ldrb.w r2, [r5, #44] ; 0x2c - 800ccbe: f884 2050 strb.w r2, [r4, #80] ; 0x50 - 800ccc2: f895 302d ldrb.w r3, [r5, #45] ; 0x2d - 800ccc6: f884 3051 strb.w r3, [r4, #81] ; 0x51 - 800ccca: f895 302e ldrb.w r3, [r5, #46] ; 0x2e - 800ccce: f884 3052 strb.w r3, [r4, #82] ; 0x52 - 800ccd2: f895 302f ldrb.w r3, [r5, #47] ; 0x2f - 800ccd6: 428b cmp r3, r1 - 800ccd8: d002 beq.n 800cce0 - 800ccda: 2b02 cmp r3, #2 - 800ccdc: d003 beq.n 800cce6 - 800ccde: b93b cbnz r3, 800ccf0 - 800cce0: f884 3053 strb.w r3, [r4, #83] ; 0x53 - 800cce4: e004 b.n 800ccf0 - 800cce6: 3a0b subs r2, #11 - 800cce8: 2a01 cmp r2, #1 - 800ccea: d828 bhi.n 800cd3e - 800ccec: f884 1053 strb.w r1, [r4, #83] ; 0x53 - 800ccf0: 8e2b ldrh r3, [r5, #48] ; 0x30 - 800ccf2: 83a3 strh r3, [r4, #28] - 800ccf4: f895 3032 ldrb.w r3, [r5, #50] ; 0x32 - 800ccf8: 77a3 strb r3, [r4, #30] - 800ccfa: 8eab ldrh r3, [r5, #52] ; 0x34 - 800ccfc: 8423 strh r3, [r4, #32] - 800ccfe: 2601 movs r6, #1 - 800cd00: 73a6 strb r6, [r4, #14] - 800cd02: f884 801f strb.w r8, [r4, #31] - 800cd06: f7ff fca7 bl 800c658 - 800cd0a: 4630 mov r0, r6 - 800cd0c: f7ff fdc4 bl 800c898 - 800cd10: 4813 ldr r0, [pc, #76] ; (800cd60 ) - 800cd12: f001 f8d1 bl 800deb8 - 800cd16: 4813 ldr r0, [pc, #76] ; (800cd64 ) - 800cd18: f001 f93a bl 800df90 - 800cd1c: f894 3021 ldrb.w r3, [r4, #33] ; 0x21 - 800cd20: 42b3 cmp r3, r6 - 800cd22: f240 7036 movw r0, #1846 ; 0x736 - 800cd26: d10c bne.n 800cd42 - 800cd28: f000 fd7a bl 800d820 - 800cd2c: f000 01fb and.w r1, r0, #251 ; 0xfb - 800cd30: f240 7036 movw r0, #1846 ; 0x736 - 800cd34: f000 fd64 bl 800d800 - 800cd38: f64f 73ff movw r3, #65535 ; 0xffff - 800cd3c: e79e b.n 800cc7c - 800cd3e: 2300 movs r3, #0 - 800cd40: e7ce b.n 800cce0 - 800cd42: f000 fd6d bl 800d820 - 800cd46: f040 0104 orr.w r1, r0, #4 - 800cd4a: b2c9 uxtb r1, r1 - 800cd4c: e7f0 b.n 800cd30 - 800cd4e: f04f 30ff mov.w r0, #4294967295 - 800cd52: e71f b.n 800cb94 - 800cd54: 20001ae8 .word 0x20001ae8 - 800cd58: 20001acc .word 0x20001acc - 800cd5c: 20001ad0 .word 0x20001ad0 - 800cd60: 20001b20 .word 0x20001b20 - 800cd64: 20001af6 .word 0x20001af6 +0800cb74 : + 800cb74: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800cb78: 2600 movs r6, #0 + 800cb7a: b086 sub sp, #24 + 800cb7c: 461f mov r7, r3 + 800cb7e: 4614 mov r4, r2 + 800cb80: e9cd 6601 strd r6, r6, [sp, #4] + 800cb84: 4680 mov r8, r0 + 800cb86: 460d mov r5, r1 + 800cb88: f001 fbe9 bl 800e35e + 800cb8c: 42b4 cmp r4, r6 + 800cb8e: 4c76 ldr r4, [pc, #472] ; (800cd68 ) + 800cb90: bf16 itet ne + 800cb92: 2301 movne r3, #1 + 800cb94: 4633 moveq r3, r6 + 800cb96: 4637 movne r7, r6 + 800cb98: 7063 strb r3, [r4, #1] + 800cb9a: f1b8 0f00 cmp.w r8, #0 + 800cb9e: d006 beq.n 800cbae + 800cba0: f1b8 0f01 cmp.w r8, #1 + 800cba4: d07c beq.n 800cca0 + 800cba6: 2000 movs r0, #0 + 800cba8: b006 add sp, #24 + 800cbaa: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800cbae: 68ab ldr r3, [r5, #8] + 800cbb0: 2b00 cmp r3, #0 + 800cbb2: f000 80d6 beq.w 800cd62 + 800cbb6: 68eb ldr r3, [r5, #12] + 800cbb8: 2b00 cmp r3, #0 + 800cbba: f000 80d2 beq.w 800cd62 + 800cbbe: 7faa ldrb r2, [r5, #30] + 800cbc0: 2a08 cmp r2, #8 + 800cbc2: f200 80ce bhi.w 800cd62 + 800cbc6: 6929 ldr r1, [r5, #16] + 800cbc8: a801 add r0, sp, #4 + 800cbca: f001 fd91 bl 800e6f0 + 800cbce: 6828 ldr r0, [r5, #0] + 800cbd0: 3800 subs r0, #0 + 800cbd2: bf18 it ne + 800cbd4: 2001 movne r0, #1 + 800cbd6: f000 ffd9 bl 800db8c + 800cbda: f884 8038 strb.w r8, [r4, #56] ; 0x38 + 800cbde: 68ab ldr r3, [r5, #8] + 800cbe0: 63e3 str r3, [r4, #60] ; 0x3c + 800cbe2: f895 3020 ldrb.w r3, [r5, #32] + 800cbe6: f884 3044 strb.w r3, [r4, #68] ; 0x44 + 800cbea: 6868 ldr r0, [r5, #4] + 800cbec: f001 fb5a bl 800e2a4 + 800cbf0: f884 800e strb.w r8, [r4, #14] + 800cbf4: f884 0045 strb.w r0, [r4, #69] ; 0x45 + 800cbf8: 68eb ldr r3, [r5, #12] + 800cbfa: 00db lsls r3, r3, #3 + 800cbfc: 8223 strh r3, [r4, #16] + 800cbfe: 7feb ldrb r3, [r5, #31] + 800cc00: 74a3 strb r3, [r4, #18] + 800cc02: 7fab ldrb r3, [r5, #30] + 800cc04: 00db lsls r3, r3, #3 + 800cc06: 74e3 strb r3, [r4, #19] + 800cc08: f895 3021 ldrb.w r3, [r5, #33] ; 0x21 + 800cc0c: 7523 strb r3, [r4, #20] + 800cc0e: f895 3022 ldrb.w r3, [r5, #34] ; 0x22 + 800cc12: 2b00 cmp r3, #0 + 800cc14: d13e bne.n 800cc94 + 800cc16: 7d2a ldrb r2, [r5, #20] + 800cc18: f895 1024 ldrb.w r1, [r5, #36] ; 0x24 + 800cc1c: 75a2 strb r2, [r4, #22] + 800cc1e: 2902 cmp r1, #2 + 800cc20: f895 2023 ldrb.w r2, [r5, #35] ; 0x23 + 800cc24: d001 beq.n 800cc2a + 800cc26: 2b02 cmp r3, #2 + 800cc28: d136 bne.n 800cc98 + 800cc2a: f102 030f add.w r3, r2, #15 + 800cc2e: b2db uxtb r3, r3 + 800cc30: 2b01 cmp r3, #1 + 800cc32: d902 bls.n 800cc3a + 800cc34: 2a01 cmp r2, #1 + 800cc36: f040 8094 bne.w 800cd62 + 800cc3a: 2300 movs r3, #0 + 800cc3c: f88d 3014 strb.w r3, [sp, #20] + 800cc40: 4b4a ldr r3, [pc, #296] ; (800cd6c ) + 800cc42: 4a4b ldr r2, [pc, #300] ; (800cd70 ) + 800cc44: 6819 ldr r1, [r3, #0] + 800cc46: 9504 str r5, [sp, #16] + 800cc48: a803 add r0, sp, #12 + 800cc4a: f001 fb85 bl 800e358 + 800cc4e: 2800 cmp r0, #0 + 800cc50: f040 8087 bne.w 800cd62 + 800cc54: 2301 movs r3, #1 + 800cc56: 7620 strb r0, [r4, #24] + 800cc58: 75e3 strb r3, [r4, #23] + 800cc5a: 7560 strb r0, [r4, #21] + 800cc5c: f7ff fd06 bl 800c66c + 800cc60: 2000 movs r0, #0 + 800cc62: f7ff fe23 bl 800c8ac + 800cc66: 4843 ldr r0, [pc, #268] ; (800cd74 ) + 800cc68: f001 f930 bl 800decc + 800cc6c: 4842 ldr r0, [pc, #264] ; (800cd78 ) + 800cc6e: f001 f999 bl 800dfa4 + 800cc72: a801 add r0, sp, #4 + 800cc74: f000 fe2e bl 800d8d4 + 800cc78: 8ba8 ldrh r0, [r5, #28] + 800cc7a: f000 fdff bl 800d87c + 800cc7e: 8b28 ldrh r0, [r5, #24] + 800cc80: f000 fe44 bl 800d90c + 800cc84: f44f 53fa mov.w r3, #8000 ; 0x1f40 + 800cc88: 68aa ldr r2, [r5, #8] + 800cc8a: 437b muls r3, r7 + 800cc8c: fbb3 f3f2 udiv r3, r3, r2 + 800cc90: 60a3 str r3, [r4, #8] + 800cc92: e788 b.n 800cba6 + 800cc94: 22ff movs r2, #255 ; 0xff + 800cc96: e7bf b.n 800cc18 + 800cc98: 75e2 strb r2, [r4, #23] + 800cc9a: 7621 strb r1, [r4, #24] + 800cc9c: 7563 strb r3, [r4, #21] + 800cc9e: e7dd b.n 800cc5c + 800cca0: 8e2b ldrh r3, [r5, #48] ; 0x30 + 800cca2: 2b00 cmp r3, #0 + 800cca4: d05d beq.n 800cd62 + 800cca6: f895 3032 ldrb.w r3, [r5, #50] ; 0x32 + 800ccaa: 6aa8 ldr r0, [r5, #40] ; 0x28 + 800ccac: 2b01 cmp r3, #1 + 800ccae: bf0c ite eq + 800ccb0: f895 8014 ldrbeq.w r8, [r5, #20] + 800ccb4: f04f 08ff movne.w r8, #255 ; 0xff + 800ccb8: 3800 subs r0, #0 + 800ccba: bf18 it ne + 800ccbc: 2001 movne r0, #1 + 800ccbe: f000 ff65 bl 800db8c + 800ccc2: b2f8 uxtb r0, r7 + 800ccc4: f000 ff6e bl 800dba4 + 800ccc8: 2101 movs r1, #1 + 800ccca: f884 1038 strb.w r1, [r4, #56] ; 0x38 + 800ccce: f895 202c ldrb.w r2, [r5, #44] ; 0x2c + 800ccd2: f884 2050 strb.w r2, [r4, #80] ; 0x50 + 800ccd6: f895 302d ldrb.w r3, [r5, #45] ; 0x2d + 800ccda: f884 3051 strb.w r3, [r4, #81] ; 0x51 + 800ccde: f895 302e ldrb.w r3, [r5, #46] ; 0x2e + 800cce2: f884 3052 strb.w r3, [r4, #82] ; 0x52 + 800cce6: f895 302f ldrb.w r3, [r5, #47] ; 0x2f + 800ccea: 428b cmp r3, r1 + 800ccec: d002 beq.n 800ccf4 + 800ccee: 2b02 cmp r3, #2 + 800ccf0: d003 beq.n 800ccfa + 800ccf2: b93b cbnz r3, 800cd04 + 800ccf4: f884 3053 strb.w r3, [r4, #83] ; 0x53 + 800ccf8: e004 b.n 800cd04 + 800ccfa: 3a0b subs r2, #11 + 800ccfc: 2a01 cmp r2, #1 + 800ccfe: d828 bhi.n 800cd52 + 800cd00: f884 1053 strb.w r1, [r4, #83] ; 0x53 + 800cd04: 8e2b ldrh r3, [r5, #48] ; 0x30 + 800cd06: 83a3 strh r3, [r4, #28] + 800cd08: f895 3032 ldrb.w r3, [r5, #50] ; 0x32 + 800cd0c: 77a3 strb r3, [r4, #30] + 800cd0e: 8eab ldrh r3, [r5, #52] ; 0x34 + 800cd10: 8423 strh r3, [r4, #32] + 800cd12: 2601 movs r6, #1 + 800cd14: 73a6 strb r6, [r4, #14] + 800cd16: f884 801f strb.w r8, [r4, #31] + 800cd1a: f7ff fca7 bl 800c66c + 800cd1e: 4630 mov r0, r6 + 800cd20: f7ff fdc4 bl 800c8ac + 800cd24: 4813 ldr r0, [pc, #76] ; (800cd74 ) + 800cd26: f001 f8d1 bl 800decc + 800cd2a: 4813 ldr r0, [pc, #76] ; (800cd78 ) + 800cd2c: f001 f93a bl 800dfa4 + 800cd30: f894 3021 ldrb.w r3, [r4, #33] ; 0x21 + 800cd34: 42b3 cmp r3, r6 + 800cd36: f240 7036 movw r0, #1846 ; 0x736 + 800cd3a: d10c bne.n 800cd56 + 800cd3c: f000 fd7a bl 800d834 + 800cd40: f000 01fb and.w r1, r0, #251 ; 0xfb + 800cd44: f240 7036 movw r0, #1846 ; 0x736 + 800cd48: f000 fd64 bl 800d814 + 800cd4c: f64f 73ff movw r3, #65535 ; 0xffff + 800cd50: e79e b.n 800cc90 + 800cd52: 2300 movs r3, #0 + 800cd54: e7ce b.n 800ccf4 + 800cd56: f000 fd6d bl 800d834 + 800cd5a: f040 0104 orr.w r1, r0, #4 + 800cd5e: b2c9 uxtb r1, r1 + 800cd60: e7f0 b.n 800cd44 + 800cd62: f04f 30ff mov.w r0, #4294967295 + 800cd66: e71f b.n 800cba8 + 800cd68: 20001ae8 .word 0x20001ae8 + 800cd6c: 20001acc .word 0x20001acc + 800cd70: 20001ad0 .word 0x20001ad0 + 800cd74: 20001b20 .word 0x20001b20 + 800cd78: 20001af6 .word 0x20001af6 -0800cd68 : - 800cd68: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800cd6c: b085 sub sp, #20 - 800cd6e: 4682 mov sl, r0 - 800cd70: 9d0e ldr r5, [sp, #56] ; 0x38 - 800cd72: f8bd b040 ldrh.w fp, [sp, #64] ; 0x40 - 800cd76: f89d 7044 ldrb.w r7, [sp, #68] ; 0x44 - 800cd7a: f89d 9048 ldrb.w r9, [sp, #72] ; 0x48 - 800cd7e: 9201 str r2, [sp, #4] - 800cd80: 4688 mov r8, r1 - 800cd82: 461e mov r6, r3 - 800cd84: f001 fae1 bl 800e34a - 800cd88: f1ba 0f01 cmp.w sl, #1 - 800cd8c: 4c52 ldr r4, [pc, #328] ; (800ced8 ) - 800cd8e: d054 beq.n 800ce3a - 800cd90: f1ba 0f04 cmp.w sl, #4 - 800cd94: f000 8091 beq.w 800ceba - 800cd98: f1ba 0f00 cmp.w sl, #0 - 800cd9c: d13a bne.n 800ce14 - 800cd9e: 220b movs r2, #11 - 800cda0: 4630 mov r0, r6 - 800cda2: f884 2044 strb.w r2, [r4, #68] ; 0x44 - 800cda6: f884 a038 strb.w sl, [r4, #56] ; 0x38 - 800cdaa: 63e5 str r5, [r4, #60] ; 0x3c - 800cdac: f001 fa70 bl 800e290 - 800cdb0: 9b01 ldr r3, [sp, #4] - 800cdb2: 6423 str r3, [r4, #64] ; 0x40 - 800cdb4: ea4f 03cb mov.w r3, fp, lsl #3 - 800cdb8: f1b9 0f00 cmp.w r9, #0 - 800cdbc: 8223 strh r3, [r4, #16] - 800cdbe: f641 0304 movw r3, #6148 ; 0x1804 - 800cdc2: 8263 strh r3, [r4, #18] - 800cdc4: bf14 ite ne - 800cdc6: 23f2 movne r3, #242 ; 0xf2 - 800cdc8: 2301 moveq r3, #1 - 800cdca: 75e3 strb r3, [r4, #23] - 800cdcc: f087 0701 eor.w r7, r7, #1 - 800cdd0: 2301 movs r3, #1 - 800cdd2: 7623 strb r3, [r4, #24] - 800cdd4: f884 0045 strb.w r0, [r4, #69] ; 0x45 - 800cdd8: f884 a00e strb.w sl, [r4, #14] - 800cddc: f884 a014 strb.w sl, [r4, #20] - 800cde0: 7567 strb r7, [r4, #21] - 800cde2: f7ff fc39 bl 800c658 - 800cde6: 4650 mov r0, sl - 800cde8: f7ff fd56 bl 800c898 - 800cdec: f104 0038 add.w r0, r4, #56 ; 0x38 - 800cdf0: f001 f862 bl 800deb8 - 800cdf4: f104 000e add.w r0, r4, #14 - 800cdf8: f001 f8ca bl 800df90 - 800cdfc: 4a37 ldr r2, [pc, #220] ; (800cedc ) - 800cdfe: 6810 ldr r0, [r2, #0] - 800ce00: 6851 ldr r1, [r2, #4] - 800ce02: ab02 add r3, sp, #8 - 800ce04: c303 stmia r3!, {r0, r1} - 800ce06: a802 add r0, sp, #8 - 800ce08: f000 fd5a bl 800d8c0 - 800ce0c: f240 10ff movw r0, #511 ; 0x1ff - 800ce10: f000 fd2a bl 800d868 - 800ce14: 4640 mov r0, r8 - 800ce16: f001 f9d9 bl 800e1cc - 800ce1a: 210e movs r1, #14 - 800ce1c: f884 0056 strb.w r0, [r4, #86] ; 0x56 - 800ce20: f640 101f movw r0, #2335 ; 0x91f - 800ce24: f000 fcec bl 800d800 - 800ce28: f894 0056 ldrb.w r0, [r4, #86] ; 0x56 - 800ce2c: f001 fa92 bl 800e354 - 800ce30: 9b16 ldr r3, [sp, #88] ; 0x58 - 800ce32: 6063 str r3, [r4, #4] - 800ce34: b005 add sp, #20 - 800ce36: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800ce3a: 4929 ldr r1, [pc, #164] ; (800cee0 ) - 800ce3c: f884 a038 strb.w sl, [r4, #56] ; 0x38 - 800ce40: b2ea uxtb r2, r5 - 800ce42: 5d89 ldrb r1, [r1, r6] - 800ce44: f884 2050 strb.w r2, [r4, #80] ; 0x50 - 800ce48: bb76 cbnz r6, 800cea8 - 800ce4a: 3d0b subs r5, #11 - 800ce4c: 2d01 cmp r5, #1 - 800ce4e: bf8c ite hi - 800ce50: 2500 movhi r5, #0 - 800ce52: 2501 movls r5, #1 - 800ce54: 3a05 subs r2, #5 - 800ce56: 2a01 cmp r2, #1 - 800ce58: d804 bhi.n 800ce64 - 800ce5a: f1bb 0f0c cmp.w fp, #12 - 800ce5e: bf38 it cc - 800ce60: f04f 0b0c movcc.w fp, #12 - 800ce64: 4b1f ldr r3, [pc, #124] ; (800cee4 ) - 800ce66: f89d 203c ldrb.w r2, [sp, #60] ; 0x3c - 800ce6a: 781b ldrb r3, [r3, #0] - 800ce6c: f884 5053 strb.w r5, [r4, #83] ; 0x53 - 800ce70: 77e3 strb r3, [r4, #31] - 800ce72: 2501 movs r5, #1 - 800ce74: f89d 3054 ldrb.w r3, [sp, #84] ; 0x54 - 800ce78: f884 1051 strb.w r1, [r4, #81] ; 0x51 - 800ce7c: f884 2052 strb.w r2, [r4, #82] ; 0x52 - 800ce80: f884 3021 strb.w r3, [r4, #33] ; 0x21 - 800ce84: 73a5 strb r5, [r4, #14] - 800ce86: f8a4 b01c strh.w fp, [r4, #28] - 800ce8a: 77a7 strb r7, [r4, #30] - 800ce8c: f884 9020 strb.w r9, [r4, #32] - 800ce90: f7ff fbe2 bl 800c658 - 800ce94: 4628 mov r0, r5 - 800ce96: f7ff fcff bl 800c898 - 800ce9a: 4813 ldr r0, [pc, #76] ; (800cee8 ) - 800ce9c: f001 f80c bl 800deb8 - 800cea0: 4812 ldr r0, [pc, #72] ; (800ceec ) - 800cea2: f001 f875 bl 800df90 - 800cea6: e7b5 b.n 800ce14 - 800cea8: 2e01 cmp r6, #1 - 800ceaa: d104 bne.n 800ceb6 - 800ceac: f1a5 030c sub.w r3, r5, #12 - 800ceb0: 425d negs r5, r3 - 800ceb2: 415d adcs r5, r3 - 800ceb4: e7ce b.n 800ce54 - 800ceb6: 2500 movs r5, #0 - 800ceb8: e7cc b.n 800ce54 - 800ceba: 4650 mov r0, sl - 800cebc: f7ff fcec bl 800c898 - 800cec0: 2302 movs r3, #2 - 800cec2: f884 3038 strb.w r3, [r4, #56] ; 0x38 - 800cec6: f104 0038 add.w r0, r4, #56 ; 0x38 - 800ceca: 2316 movs r3, #22 - 800cecc: 64a5 str r5, [r4, #72] ; 0x48 - 800cece: f884 304c strb.w r3, [r4, #76] ; 0x4c - 800ced2: f000 fff1 bl 800deb8 - 800ced6: e79d b.n 800ce14 - 800ced8: 20001ae8 .word 0x20001ae8 - 800cedc: 0800f0f0 .word 0x0800f0f0 - 800cee0: 0800f9ae .word 0x0800f9ae - 800cee4: 200000fc .word 0x200000fc - 800cee8: 20001b20 .word 0x20001b20 - 800ceec: 20001af6 .word 0x20001af6 +0800cd7c : + 800cd7c: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800cd80: b085 sub sp, #20 + 800cd82: 4682 mov sl, r0 + 800cd84: 9d0e ldr r5, [sp, #56] ; 0x38 + 800cd86: f8bd b040 ldrh.w fp, [sp, #64] ; 0x40 + 800cd8a: f89d 7044 ldrb.w r7, [sp, #68] ; 0x44 + 800cd8e: f89d 9048 ldrb.w r9, [sp, #72] ; 0x48 + 800cd92: 9201 str r2, [sp, #4] + 800cd94: 4688 mov r8, r1 + 800cd96: 461e mov r6, r3 + 800cd98: f001 fae1 bl 800e35e + 800cd9c: f1ba 0f01 cmp.w sl, #1 + 800cda0: 4c52 ldr r4, [pc, #328] ; (800ceec ) + 800cda2: d054 beq.n 800ce4e + 800cda4: f1ba 0f04 cmp.w sl, #4 + 800cda8: f000 8091 beq.w 800cece + 800cdac: f1ba 0f00 cmp.w sl, #0 + 800cdb0: d13a bne.n 800ce28 + 800cdb2: 220b movs r2, #11 + 800cdb4: 4630 mov r0, r6 + 800cdb6: f884 2044 strb.w r2, [r4, #68] ; 0x44 + 800cdba: f884 a038 strb.w sl, [r4, #56] ; 0x38 + 800cdbe: 63e5 str r5, [r4, #60] ; 0x3c + 800cdc0: f001 fa70 bl 800e2a4 + 800cdc4: 9b01 ldr r3, [sp, #4] + 800cdc6: 6423 str r3, [r4, #64] ; 0x40 + 800cdc8: ea4f 03cb mov.w r3, fp, lsl #3 + 800cdcc: f1b9 0f00 cmp.w r9, #0 + 800cdd0: 8223 strh r3, [r4, #16] + 800cdd2: f641 0304 movw r3, #6148 ; 0x1804 + 800cdd6: 8263 strh r3, [r4, #18] + 800cdd8: bf14 ite ne + 800cdda: 23f2 movne r3, #242 ; 0xf2 + 800cddc: 2301 moveq r3, #1 + 800cdde: 75e3 strb r3, [r4, #23] + 800cde0: f087 0701 eor.w r7, r7, #1 + 800cde4: 2301 movs r3, #1 + 800cde6: 7623 strb r3, [r4, #24] + 800cde8: f884 0045 strb.w r0, [r4, #69] ; 0x45 + 800cdec: f884 a00e strb.w sl, [r4, #14] + 800cdf0: f884 a014 strb.w sl, [r4, #20] + 800cdf4: 7567 strb r7, [r4, #21] + 800cdf6: f7ff fc39 bl 800c66c + 800cdfa: 4650 mov r0, sl + 800cdfc: f7ff fd56 bl 800c8ac + 800ce00: f104 0038 add.w r0, r4, #56 ; 0x38 + 800ce04: f001 f862 bl 800decc + 800ce08: f104 000e add.w r0, r4, #14 + 800ce0c: f001 f8ca bl 800dfa4 + 800ce10: 4a37 ldr r2, [pc, #220] ; (800cef0 ) + 800ce12: 6810 ldr r0, [r2, #0] + 800ce14: 6851 ldr r1, [r2, #4] + 800ce16: ab02 add r3, sp, #8 + 800ce18: c303 stmia r3!, {r0, r1} + 800ce1a: a802 add r0, sp, #8 + 800ce1c: f000 fd5a bl 800d8d4 + 800ce20: f240 10ff movw r0, #511 ; 0x1ff + 800ce24: f000 fd2a bl 800d87c + 800ce28: 4640 mov r0, r8 + 800ce2a: f001 f9d9 bl 800e1e0 + 800ce2e: 210e movs r1, #14 + 800ce30: f884 0056 strb.w r0, [r4, #86] ; 0x56 + 800ce34: f640 101f movw r0, #2335 ; 0x91f + 800ce38: f000 fcec bl 800d814 + 800ce3c: f894 0056 ldrb.w r0, [r4, #86] ; 0x56 + 800ce40: f001 fa92 bl 800e368 + 800ce44: 9b16 ldr r3, [sp, #88] ; 0x58 + 800ce46: 6063 str r3, [r4, #4] + 800ce48: b005 add sp, #20 + 800ce4a: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800ce4e: 4929 ldr r1, [pc, #164] ; (800cef4 ) + 800ce50: f884 a038 strb.w sl, [r4, #56] ; 0x38 + 800ce54: b2ea uxtb r2, r5 + 800ce56: 5d89 ldrb r1, [r1, r6] + 800ce58: f884 2050 strb.w r2, [r4, #80] ; 0x50 + 800ce5c: bb76 cbnz r6, 800cebc + 800ce5e: 3d0b subs r5, #11 + 800ce60: 2d01 cmp r5, #1 + 800ce62: bf8c ite hi + 800ce64: 2500 movhi r5, #0 + 800ce66: 2501 movls r5, #1 + 800ce68: 3a05 subs r2, #5 + 800ce6a: 2a01 cmp r2, #1 + 800ce6c: d804 bhi.n 800ce78 + 800ce6e: f1bb 0f0c cmp.w fp, #12 + 800ce72: bf38 it cc + 800ce74: f04f 0b0c movcc.w fp, #12 + 800ce78: 4b1f ldr r3, [pc, #124] ; (800cef8 ) + 800ce7a: f89d 203c ldrb.w r2, [sp, #60] ; 0x3c + 800ce7e: 781b ldrb r3, [r3, #0] + 800ce80: f884 5053 strb.w r5, [r4, #83] ; 0x53 + 800ce84: 77e3 strb r3, [r4, #31] + 800ce86: 2501 movs r5, #1 + 800ce88: f89d 3054 ldrb.w r3, [sp, #84] ; 0x54 + 800ce8c: f884 1051 strb.w r1, [r4, #81] ; 0x51 + 800ce90: f884 2052 strb.w r2, [r4, #82] ; 0x52 + 800ce94: f884 3021 strb.w r3, [r4, #33] ; 0x21 + 800ce98: 73a5 strb r5, [r4, #14] + 800ce9a: f8a4 b01c strh.w fp, [r4, #28] + 800ce9e: 77a7 strb r7, [r4, #30] + 800cea0: f884 9020 strb.w r9, [r4, #32] + 800cea4: f7ff fbe2 bl 800c66c + 800cea8: 4628 mov r0, r5 + 800ceaa: f7ff fcff bl 800c8ac + 800ceae: 4813 ldr r0, [pc, #76] ; (800cefc ) + 800ceb0: f001 f80c bl 800decc + 800ceb4: 4812 ldr r0, [pc, #72] ; (800cf00 ) + 800ceb6: f001 f875 bl 800dfa4 + 800ceba: e7b5 b.n 800ce28 + 800cebc: 2e01 cmp r6, #1 + 800cebe: d104 bne.n 800ceca + 800cec0: f1a5 030c sub.w r3, r5, #12 + 800cec4: 425d negs r5, r3 + 800cec6: 415d adcs r5, r3 + 800cec8: e7ce b.n 800ce68 + 800ceca: 2500 movs r5, #0 + 800cecc: e7cc b.n 800ce68 + 800cece: 4650 mov r0, sl + 800ced0: f7ff fcec bl 800c8ac + 800ced4: 2302 movs r3, #2 + 800ced6: f884 3038 strb.w r3, [r4, #56] ; 0x38 + 800ceda: f104 0038 add.w r0, r4, #56 ; 0x38 + 800cede: 2316 movs r3, #22 + 800cee0: 64a5 str r5, [r4, #72] ; 0x48 + 800cee2: f884 304c strb.w r3, [r4, #76] ; 0x4c + 800cee6: f000 fff1 bl 800decc + 800ceea: e79d b.n 800ce28 + 800ceec: 20001ae8 .word 0x20001ae8 + 800cef0: 0800f100 .word 0x0800f100 + 800cef4: 0800f9be .word 0x0800f9be + 800cef8: 200000fc .word 0x200000fc + 800cefc: 20001b20 .word 0x20001b20 + 800cf00: 20001af6 .word 0x20001af6 -0800cef0 : - 800cef0: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800cef4: b087 sub sp, #28 - 800cef6: f8df b2b4 ldr.w fp, [pc, #692] ; 800d1ac - 800cefa: f89d a064 ldrb.w sl, [sp, #100] ; 0x64 - 800cefe: f89d 904c ldrb.w r9, [sp, #76] ; 0x4c - 800cf02: 9302 str r3, [sp, #8] - 800cf04: 4614 mov r4, r2 - 800cf06: f89d 3054 ldrb.w r3, [sp, #84] ; 0x54 - 800cf0a: f89d 2050 ldrb.w r2, [sp, #80] ; 0x50 - 800cf0e: f8bd 8048 ldrh.w r8, [sp, #72] ; 0x48 - 800cf12: 9203 str r2, [sp, #12] - 800cf14: 4605 mov r5, r0 - 800cf16: f88b a001 strb.w sl, [fp, #1] - 800cf1a: f8bd 6044 ldrh.w r6, [sp, #68] ; 0x44 - 800cf1e: 9301 str r3, [sp, #4] - 800cf20: 460f mov r7, r1 - 800cf22: f001 fa12 bl 800e34a - 800cf26: f1ba 0f00 cmp.w sl, #0 - 800cf2a: bf18 it ne - 800cf2c: f04f 0800 movne.w r8, #0 - 800cf30: f8df a27c ldr.w sl, [pc, #636] ; 800d1b0 - 800cf34: 9a03 ldr r2, [sp, #12] - 800cf36: f1b9 0f00 cmp.w r9, #0 - 800cf3a: bf08 it eq - 800cf3c: 22ff moveq r2, #255 ; 0xff - 800cf3e: 2d01 cmp r5, #1 - 800cf40: f88a 2000 strb.w r2, [sl] - 800cf44: f000 80c8 beq.w 800d0d8 - 800cf48: 2d05 cmp r5, #5 - 800cf4a: d048 beq.n 800cfde - 800cf4c: 2d00 cmp r5, #0 - 800cf4e: f040 80c0 bne.w 800d0d2 - 800cf52: 4628 mov r0, r5 - 800cf54: f000 fe10 bl 800db78 - 800cf58: 220b movs r2, #11 - 800cf5a: 4638 mov r0, r7 - 800cf5c: f88b 2044 strb.w r2, [fp, #68] ; 0x44 - 800cf60: f88b 5038 strb.w r5, [fp, #56] ; 0x38 - 800cf64: f8cb 403c str.w r4, [fp, #60] ; 0x3c - 800cf68: f001 f992 bl 800e290 - 800cf6c: 9b01 ldr r3, [sp, #4] - 800cf6e: f88b 0045 strb.w r0, [fp, #69] ; 0x45 - 800cf72: f641 0204 movw r2, #6148 ; 0x1804 - 800cf76: 2b00 cmp r3, #0 - 800cf78: f8ab 2012 strh.w r2, [fp, #18] - 800cf7c: f89a 2000 ldrb.w r2, [sl] - 800cf80: f88b 2016 strb.w r2, [fp, #22] - 800cf84: bf14 ite ne - 800cf86: 22f2 movne r2, #242 ; 0xf2 - 800cf88: 2201 moveq r2, #1 - 800cf8a: f88b 2017 strb.w r2, [fp, #23] - 800cf8e: 00f6 lsls r6, r6, #3 - 800cf90: 2201 movs r2, #1 - 800cf92: f089 0901 eor.w r9, r9, #1 - 800cf96: f88b 2018 strb.w r2, [fp, #24] - 800cf9a: f88b 500e strb.w r5, [fp, #14] - 800cf9e: f8ab 6010 strh.w r6, [fp, #16] - 800cfa2: f88b 5014 strb.w r5, [fp, #20] - 800cfa6: f88b 9015 strb.w r9, [fp, #21] - 800cfaa: f7ff fb55 bl 800c658 - 800cfae: 4628 mov r0, r5 - 800cfb0: f7ff fc72 bl 800c898 - 800cfb4: f10b 0038 add.w r0, fp, #56 ; 0x38 - 800cfb8: f000 ff7e bl 800deb8 - 800cfbc: f10b 000e add.w r0, fp, #14 - 800cfc0: f000 ffe6 bl 800df90 - 800cfc4: 497b ldr r1, [pc, #492] ; (800d1b4 ) - 800cfc6: 6808 ldr r0, [r1, #0] - 800cfc8: 6849 ldr r1, [r1, #4] - 800cfca: aa04 add r2, sp, #16 - 800cfcc: c203 stmia r2!, {r0, r1} - 800cfce: a804 add r0, sp, #16 - 800cfd0: f000 fc76 bl 800d8c0 - 800cfd4: f240 10ff movw r0, #511 ; 0x1ff - 800cfd8: f000 fc46 bl 800d868 - 800cfdc: e071 b.n 800d0c2 - 800cfde: 2001 movs r0, #1 - 800cfe0: f000 fdca bl 800db78 - 800cfe4: 2209 movs r2, #9 - 800cfe6: f04f 0900 mov.w r9, #0 - 800cfea: f88b 2044 strb.w r2, [fp, #68] ; 0x44 - 800cfee: 4638 mov r0, r7 - 800cff0: f44f 7248 mov.w r2, #800 ; 0x320 - 800cff4: f8cb 2040 str.w r2, [fp, #64] ; 0x40 - 800cff8: f88b 9038 strb.w r9, [fp, #56] ; 0x38 - 800cffc: f8cb 403c str.w r4, [fp, #60] ; 0x3c - 800d000: f001 f946 bl 800e290 - 800d004: f44f 5280 mov.w r2, #4096 ; 0x1000 - 800d008: f8ab 2012 strh.w r2, [fp, #18] - 800d00c: f89a 2000 ldrb.w r2, [sl] - 800d010: f88b 0045 strb.w r0, [fp, #69] ; 0x45 - 800d014: f88b 2016 strb.w r2, [fp, #22] - 800d018: 4628 mov r0, r5 - 800d01a: 2201 movs r2, #1 - 800d01c: 00f6 lsls r6, r6, #3 - 800d01e: f88b 2017 strb.w r2, [fp, #23] - 800d022: f88b 900e strb.w r9, [fp, #14] - 800d026: f8ab 6010 strh.w r6, [fp, #16] - 800d02a: f8ab 9014 strh.w r9, [fp, #20] - 800d02e: f88b 9018 strb.w r9, [fp, #24] - 800d032: f7ff fc31 bl 800c898 - 800d036: f10b 0038 add.w r0, fp, #56 ; 0x38 - 800d03a: f000 ff3d bl 800deb8 - 800d03e: f10b 000e add.w r0, fp, #14 - 800d042: f000 ffa5 bl 800df90 - 800d046: 495b ldr r1, [pc, #364] ; (800d1b4 ) - 800d048: 6888 ldr r0, [r1, #8] - 800d04a: 68c9 ldr r1, [r1, #12] - 800d04c: aa04 add r2, sp, #16 - 800d04e: c203 stmia r2!, {r0, r1} - 800d050: a804 add r0, sp, #16 - 800d052: f000 fc35 bl 800d8c0 - 800d056: f240 10ff movw r0, #511 ; 0x1ff - 800d05a: f000 fc05 bl 800d868 - 800d05e: f640 00b8 movw r0, #2232 ; 0x8b8 - 800d062: f000 fbdd bl 800d820 - 800d066: f000 01ef and.w r1, r0, #239 ; 0xef - 800d06a: f640 00b8 movw r0, #2232 ; 0x8b8 - 800d06e: f000 fbc7 bl 800d800 - 800d072: 2104 movs r1, #4 - 800d074: f640 00b9 movw r0, #2233 ; 0x8b9 - 800d078: f000 fbc2 bl 800d800 - 800d07c: f640 009b movw r0, #2203 ; 0x89b - 800d080: f000 fbce bl 800d820 - 800d084: f000 01e3 and.w r1, r0, #227 ; 0xe3 - 800d088: f041 0108 orr.w r1, r1, #8 - 800d08c: f640 009b movw r0, #2203 ; 0x89b - 800d090: f000 fbb6 bl 800d800 - 800d094: f240 60d1 movw r0, #1745 ; 0x6d1 - 800d098: f000 fbc2 bl 800d820 - 800d09c: f040 0118 orr.w r1, r0, #24 - 800d0a0: b2c9 uxtb r1, r1 - 800d0a2: f240 60d1 movw r0, #1745 ; 0x6d1 - 800d0a6: f000 fbab bl 800d800 - 800d0aa: f240 60ac movw r0, #1708 ; 0x6ac - 800d0ae: f000 fbb7 bl 800d820 - 800d0b2: f000 018f and.w r1, r0, #143 ; 0x8f - 800d0b6: f041 0150 orr.w r1, r1, #80 ; 0x50 - 800d0ba: f240 60ac movw r0, #1708 ; 0x6ac - 800d0be: f000 fb9f bl 800d800 - 800d0c2: f44f 52fa mov.w r2, #8000 ; 0x1f40 - 800d0c6: fb02 f208 mul.w r2, r2, r8 - 800d0ca: fbb2 f2f4 udiv r2, r2, r4 - 800d0ce: f8cb 2008 str.w r2, [fp, #8] - 800d0d2: b007 add sp, #28 - 800d0d4: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800d0d8: 2000 movs r0, #0 - 800d0da: f000 fd4d bl 800db78 - 800d0de: 4936 ldr r1, [pc, #216] ; (800d1b8 ) - 800d0e0: f88b 5038 strb.w r5, [fp, #56] ; 0x38 - 800d0e4: b2e2 uxtb r2, r4 - 800d0e6: 5dc9 ldrb r1, [r1, r7] - 800d0e8: f88b 2050 strb.w r2, [fp, #80] ; 0x50 - 800d0ec: 2f00 cmp r7, #0 - 800d0ee: d14d bne.n 800d18c - 800d0f0: 3c0b subs r4, #11 - 800d0f2: 2c01 cmp r4, #1 - 800d0f4: bf8c ite hi - 800d0f6: 2400 movhi r4, #0 - 800d0f8: 2401 movls r4, #1 - 800d0fa: 3a05 subs r2, #5 - 800d0fc: 2a01 cmp r2, #1 - 800d0fe: d802 bhi.n 800d106 - 800d100: 2e0c cmp r6, #12 - 800d102: bf38 it cc - 800d104: 260c movcc r6, #12 - 800d106: 9b02 ldr r3, [sp, #8] - 800d108: f89a 2000 ldrb.w r2, [sl] - 800d10c: f88b 3052 strb.w r3, [fp, #82] ; 0x52 - 800d110: f88b 4053 strb.w r4, [fp, #83] ; 0x53 - 800d114: 9b01 ldr r3, [sp, #4] - 800d116: f88b 201f strb.w r2, [fp, #31] - 800d11a: 2401 movs r4, #1 - 800d11c: f89d 2060 ldrb.w r2, [sp, #96] ; 0x60 - 800d120: f88b 2021 strb.w r2, [fp, #33] ; 0x21 - 800d124: f88b 1051 strb.w r1, [fp, #81] ; 0x51 - 800d128: f88b 3020 strb.w r3, [fp, #32] - 800d12c: f88b 400e strb.w r4, [fp, #14] - 800d130: f8ab 601c strh.w r6, [fp, #28] - 800d134: f88b 901e strb.w r9, [fp, #30] - 800d138: f7ff fa8e bl 800c658 - 800d13c: 4620 mov r0, r4 - 800d13e: f7ff fbab bl 800c898 - 800d142: 481e ldr r0, [pc, #120] ; (800d1bc ) - 800d144: f000 feb8 bl 800deb8 - 800d148: 481d ldr r0, [pc, #116] ; (800d1c0 ) - 800d14a: f000 ff21 bl 800df90 - 800d14e: fa5f f088 uxtb.w r0, r8 - 800d152: f000 fd1d bl 800db90 - 800d156: f640 00a3 movw r0, #2211 ; 0x8a3 - 800d15a: f000 fb61 bl 800d820 - 800d15e: ea00 0104 and.w r1, r0, r4 - 800d162: f640 00a3 movw r0, #2211 ; 0x8a3 - 800d166: f000 fb4b bl 800d800 - 800d16a: f89b 2021 ldrb.w r2, [fp, #33] ; 0x21 - 800d16e: 42a2 cmp r2, r4 - 800d170: f240 7036 movw r0, #1846 ; 0x736 - 800d174: d113 bne.n 800d19e - 800d176: f000 fb53 bl 800d820 - 800d17a: f000 01fb and.w r1, r0, #251 ; 0xfb - 800d17e: f240 7036 movw r0, #1846 ; 0x736 - 800d182: f000 fb3d bl 800d800 - 800d186: f64f 72ff movw r2, #65535 ; 0xffff - 800d18a: e7a0 b.n 800d0ce - 800d18c: 2f01 cmp r7, #1 - 800d18e: d104 bne.n 800d19a - 800d190: f1a4 030c sub.w r3, r4, #12 - 800d194: 425c negs r4, r3 - 800d196: 415c adcs r4, r3 - 800d198: e7af b.n 800d0fa - 800d19a: 2400 movs r4, #0 - 800d19c: e7ad b.n 800d0fa - 800d19e: f000 fb3f bl 800d820 - 800d1a2: f040 0104 orr.w r1, r0, #4 - 800d1a6: b2c9 uxtb r1, r1 - 800d1a8: e7e9 b.n 800d17e - 800d1aa: bf00 nop - 800d1ac: 20001ae8 .word 0x20001ae8 - 800d1b0: 200000fc .word 0x200000fc - 800d1b4: 0800f0f0 .word 0x0800f0f0 - 800d1b8: 0800f9ae .word 0x0800f9ae - 800d1bc: 20001b20 .word 0x20001b20 - 800d1c0: 20001af6 .word 0x20001af6 +0800cf04 : + 800cf04: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800cf08: b087 sub sp, #28 + 800cf0a: f8df b2b4 ldr.w fp, [pc, #692] ; 800d1c0 + 800cf0e: f89d a064 ldrb.w sl, [sp, #100] ; 0x64 + 800cf12: f89d 904c ldrb.w r9, [sp, #76] ; 0x4c + 800cf16: 9302 str r3, [sp, #8] + 800cf18: 4614 mov r4, r2 + 800cf1a: f89d 3054 ldrb.w r3, [sp, #84] ; 0x54 + 800cf1e: f89d 2050 ldrb.w r2, [sp, #80] ; 0x50 + 800cf22: f8bd 8048 ldrh.w r8, [sp, #72] ; 0x48 + 800cf26: 9203 str r2, [sp, #12] + 800cf28: 4605 mov r5, r0 + 800cf2a: f88b a001 strb.w sl, [fp, #1] + 800cf2e: f8bd 6044 ldrh.w r6, [sp, #68] ; 0x44 + 800cf32: 9301 str r3, [sp, #4] + 800cf34: 460f mov r7, r1 + 800cf36: f001 fa12 bl 800e35e + 800cf3a: f1ba 0f00 cmp.w sl, #0 + 800cf3e: bf18 it ne + 800cf40: f04f 0800 movne.w r8, #0 + 800cf44: f8df a27c ldr.w sl, [pc, #636] ; 800d1c4 + 800cf48: 9a03 ldr r2, [sp, #12] + 800cf4a: f1b9 0f00 cmp.w r9, #0 + 800cf4e: bf08 it eq + 800cf50: 22ff moveq r2, #255 ; 0xff + 800cf52: 2d01 cmp r5, #1 + 800cf54: f88a 2000 strb.w r2, [sl] + 800cf58: f000 80c8 beq.w 800d0ec + 800cf5c: 2d05 cmp r5, #5 + 800cf5e: d048 beq.n 800cff2 + 800cf60: 2d00 cmp r5, #0 + 800cf62: f040 80c0 bne.w 800d0e6 + 800cf66: 4628 mov r0, r5 + 800cf68: f000 fe10 bl 800db8c + 800cf6c: 220b movs r2, #11 + 800cf6e: 4638 mov r0, r7 + 800cf70: f88b 2044 strb.w r2, [fp, #68] ; 0x44 + 800cf74: f88b 5038 strb.w r5, [fp, #56] ; 0x38 + 800cf78: f8cb 403c str.w r4, [fp, #60] ; 0x3c + 800cf7c: f001 f992 bl 800e2a4 + 800cf80: 9b01 ldr r3, [sp, #4] + 800cf82: f88b 0045 strb.w r0, [fp, #69] ; 0x45 + 800cf86: f641 0204 movw r2, #6148 ; 0x1804 + 800cf8a: 2b00 cmp r3, #0 + 800cf8c: f8ab 2012 strh.w r2, [fp, #18] + 800cf90: f89a 2000 ldrb.w r2, [sl] + 800cf94: f88b 2016 strb.w r2, [fp, #22] + 800cf98: bf14 ite ne + 800cf9a: 22f2 movne r2, #242 ; 0xf2 + 800cf9c: 2201 moveq r2, #1 + 800cf9e: f88b 2017 strb.w r2, [fp, #23] + 800cfa2: 00f6 lsls r6, r6, #3 + 800cfa4: 2201 movs r2, #1 + 800cfa6: f089 0901 eor.w r9, r9, #1 + 800cfaa: f88b 2018 strb.w r2, [fp, #24] + 800cfae: f88b 500e strb.w r5, [fp, #14] + 800cfb2: f8ab 6010 strh.w r6, [fp, #16] + 800cfb6: f88b 5014 strb.w r5, [fp, #20] + 800cfba: f88b 9015 strb.w r9, [fp, #21] + 800cfbe: f7ff fb55 bl 800c66c + 800cfc2: 4628 mov r0, r5 + 800cfc4: f7ff fc72 bl 800c8ac + 800cfc8: f10b 0038 add.w r0, fp, #56 ; 0x38 + 800cfcc: f000 ff7e bl 800decc + 800cfd0: f10b 000e add.w r0, fp, #14 + 800cfd4: f000 ffe6 bl 800dfa4 + 800cfd8: 497b ldr r1, [pc, #492] ; (800d1c8 ) + 800cfda: 6808 ldr r0, [r1, #0] + 800cfdc: 6849 ldr r1, [r1, #4] + 800cfde: aa04 add r2, sp, #16 + 800cfe0: c203 stmia r2!, {r0, r1} + 800cfe2: a804 add r0, sp, #16 + 800cfe4: f000 fc76 bl 800d8d4 + 800cfe8: f240 10ff movw r0, #511 ; 0x1ff + 800cfec: f000 fc46 bl 800d87c + 800cff0: e071 b.n 800d0d6 + 800cff2: 2001 movs r0, #1 + 800cff4: f000 fdca bl 800db8c + 800cff8: 2209 movs r2, #9 + 800cffa: f04f 0900 mov.w r9, #0 + 800cffe: f88b 2044 strb.w r2, [fp, #68] ; 0x44 + 800d002: 4638 mov r0, r7 + 800d004: f44f 7248 mov.w r2, #800 ; 0x320 + 800d008: f8cb 2040 str.w r2, [fp, #64] ; 0x40 + 800d00c: f88b 9038 strb.w r9, [fp, #56] ; 0x38 + 800d010: f8cb 403c str.w r4, [fp, #60] ; 0x3c + 800d014: f001 f946 bl 800e2a4 + 800d018: f44f 5280 mov.w r2, #4096 ; 0x1000 + 800d01c: f8ab 2012 strh.w r2, [fp, #18] + 800d020: f89a 2000 ldrb.w r2, [sl] + 800d024: f88b 0045 strb.w r0, [fp, #69] ; 0x45 + 800d028: f88b 2016 strb.w r2, [fp, #22] + 800d02c: 4628 mov r0, r5 + 800d02e: 2201 movs r2, #1 + 800d030: 00f6 lsls r6, r6, #3 + 800d032: f88b 2017 strb.w r2, [fp, #23] + 800d036: f88b 900e strb.w r9, [fp, #14] + 800d03a: f8ab 6010 strh.w r6, [fp, #16] + 800d03e: f8ab 9014 strh.w r9, [fp, #20] + 800d042: f88b 9018 strb.w r9, [fp, #24] + 800d046: f7ff fc31 bl 800c8ac + 800d04a: f10b 0038 add.w r0, fp, #56 ; 0x38 + 800d04e: f000 ff3d bl 800decc + 800d052: f10b 000e add.w r0, fp, #14 + 800d056: f000 ffa5 bl 800dfa4 + 800d05a: 495b ldr r1, [pc, #364] ; (800d1c8 ) + 800d05c: 6888 ldr r0, [r1, #8] + 800d05e: 68c9 ldr r1, [r1, #12] + 800d060: aa04 add r2, sp, #16 + 800d062: c203 stmia r2!, {r0, r1} + 800d064: a804 add r0, sp, #16 + 800d066: f000 fc35 bl 800d8d4 + 800d06a: f240 10ff movw r0, #511 ; 0x1ff + 800d06e: f000 fc05 bl 800d87c + 800d072: f640 00b8 movw r0, #2232 ; 0x8b8 + 800d076: f000 fbdd bl 800d834 + 800d07a: f000 01ef and.w r1, r0, #239 ; 0xef + 800d07e: f640 00b8 movw r0, #2232 ; 0x8b8 + 800d082: f000 fbc7 bl 800d814 + 800d086: 2104 movs r1, #4 + 800d088: f640 00b9 movw r0, #2233 ; 0x8b9 + 800d08c: f000 fbc2 bl 800d814 + 800d090: f640 009b movw r0, #2203 ; 0x89b + 800d094: f000 fbce bl 800d834 + 800d098: f000 01e3 and.w r1, r0, #227 ; 0xe3 + 800d09c: f041 0108 orr.w r1, r1, #8 + 800d0a0: f640 009b movw r0, #2203 ; 0x89b + 800d0a4: f000 fbb6 bl 800d814 + 800d0a8: f240 60d1 movw r0, #1745 ; 0x6d1 + 800d0ac: f000 fbc2 bl 800d834 + 800d0b0: f040 0118 orr.w r1, r0, #24 + 800d0b4: b2c9 uxtb r1, r1 + 800d0b6: f240 60d1 movw r0, #1745 ; 0x6d1 + 800d0ba: f000 fbab bl 800d814 + 800d0be: f240 60ac movw r0, #1708 ; 0x6ac + 800d0c2: f000 fbb7 bl 800d834 + 800d0c6: f000 018f and.w r1, r0, #143 ; 0x8f + 800d0ca: f041 0150 orr.w r1, r1, #80 ; 0x50 + 800d0ce: f240 60ac movw r0, #1708 ; 0x6ac + 800d0d2: f000 fb9f bl 800d814 + 800d0d6: f44f 52fa mov.w r2, #8000 ; 0x1f40 + 800d0da: fb02 f208 mul.w r2, r2, r8 + 800d0de: fbb2 f2f4 udiv r2, r2, r4 + 800d0e2: f8cb 2008 str.w r2, [fp, #8] + 800d0e6: b007 add sp, #28 + 800d0e8: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800d0ec: 2000 movs r0, #0 + 800d0ee: f000 fd4d bl 800db8c + 800d0f2: 4936 ldr r1, [pc, #216] ; (800d1cc ) + 800d0f4: f88b 5038 strb.w r5, [fp, #56] ; 0x38 + 800d0f8: b2e2 uxtb r2, r4 + 800d0fa: 5dc9 ldrb r1, [r1, r7] + 800d0fc: f88b 2050 strb.w r2, [fp, #80] ; 0x50 + 800d100: 2f00 cmp r7, #0 + 800d102: d14d bne.n 800d1a0 + 800d104: 3c0b subs r4, #11 + 800d106: 2c01 cmp r4, #1 + 800d108: bf8c ite hi + 800d10a: 2400 movhi r4, #0 + 800d10c: 2401 movls r4, #1 + 800d10e: 3a05 subs r2, #5 + 800d110: 2a01 cmp r2, #1 + 800d112: d802 bhi.n 800d11a + 800d114: 2e0c cmp r6, #12 + 800d116: bf38 it cc + 800d118: 260c movcc r6, #12 + 800d11a: 9b02 ldr r3, [sp, #8] + 800d11c: f89a 2000 ldrb.w r2, [sl] + 800d120: f88b 3052 strb.w r3, [fp, #82] ; 0x52 + 800d124: f88b 4053 strb.w r4, [fp, #83] ; 0x53 + 800d128: 9b01 ldr r3, [sp, #4] + 800d12a: f88b 201f strb.w r2, [fp, #31] + 800d12e: 2401 movs r4, #1 + 800d130: f89d 2060 ldrb.w r2, [sp, #96] ; 0x60 + 800d134: f88b 2021 strb.w r2, [fp, #33] ; 0x21 + 800d138: f88b 1051 strb.w r1, [fp, #81] ; 0x51 + 800d13c: f88b 3020 strb.w r3, [fp, #32] + 800d140: f88b 400e strb.w r4, [fp, #14] + 800d144: f8ab 601c strh.w r6, [fp, #28] + 800d148: f88b 901e strb.w r9, [fp, #30] + 800d14c: f7ff fa8e bl 800c66c + 800d150: 4620 mov r0, r4 + 800d152: f7ff fbab bl 800c8ac + 800d156: 481e ldr r0, [pc, #120] ; (800d1d0 ) + 800d158: f000 feb8 bl 800decc + 800d15c: 481d ldr r0, [pc, #116] ; (800d1d4 ) + 800d15e: f000 ff21 bl 800dfa4 + 800d162: fa5f f088 uxtb.w r0, r8 + 800d166: f000 fd1d bl 800dba4 + 800d16a: f640 00a3 movw r0, #2211 ; 0x8a3 + 800d16e: f000 fb61 bl 800d834 + 800d172: ea00 0104 and.w r1, r0, r4 + 800d176: f640 00a3 movw r0, #2211 ; 0x8a3 + 800d17a: f000 fb4b bl 800d814 + 800d17e: f89b 2021 ldrb.w r2, [fp, #33] ; 0x21 + 800d182: 42a2 cmp r2, r4 + 800d184: f240 7036 movw r0, #1846 ; 0x736 + 800d188: d113 bne.n 800d1b2 + 800d18a: f000 fb53 bl 800d834 + 800d18e: f000 01fb and.w r1, r0, #251 ; 0xfb + 800d192: f240 7036 movw r0, #1846 ; 0x736 + 800d196: f000 fb3d bl 800d814 + 800d19a: f64f 72ff movw r2, #65535 ; 0xffff + 800d19e: e7a0 b.n 800d0e2 + 800d1a0: 2f01 cmp r7, #1 + 800d1a2: d104 bne.n 800d1ae + 800d1a4: f1a4 030c sub.w r3, r4, #12 + 800d1a8: 425c negs r4, r3 + 800d1aa: 415c adcs r4, r3 + 800d1ac: e7af b.n 800d10e + 800d1ae: 2400 movs r4, #0 + 800d1b0: e7ad b.n 800d10e + 800d1b2: f000 fb3f bl 800d834 + 800d1b6: f040 0104 orr.w r1, r0, #4 + 800d1ba: b2c9 uxtb r1, r1 + 800d1bc: e7e9 b.n 800d192 + 800d1be: bf00 nop + 800d1c0: 20001ae8 .word 0x20001ae8 + 800d1c4: 200000fc .word 0x200000fc + 800d1c8: 0800f100 .word 0x0800f100 + 800d1cc: 0800f9be .word 0x0800f9be + 800d1d0: 20001b20 .word 0x20001b20 + 800d1d4: 20001af6 .word 0x20001af6 -0800d1c4 : - 800d1c4: b5f0 push {r4, r5, r6, r7, lr} - 800d1c6: b08b sub sp, #44 ; 0x2c - 800d1c8: 460d mov r5, r1 - 800d1ca: 4604 mov r4, r0 - 800d1cc: 4617 mov r7, r2 - 800d1ce: 461e mov r6, r3 - 800d1d0: f7ff fa42 bl 800c658 - 800d1d4: 2000 movs r0, #0 - 800d1d6: f7ff fb5f bl 800c898 - 800d1da: 4620 mov r0, r4 - 800d1dc: f000 fdbe bl 800dd5c - 800d1e0: 2400 movs r4, #0 - 800d1e2: 2301 movs r3, #1 - 800d1e4: e9cd 4308 strd r4, r3, [sp, #32] - 800d1e8: 2303 movs r3, #3 - 800d1ea: f44f 7216 mov.w r2, #600 ; 0x258 - 800d1ee: 4629 mov r1, r5 - 800d1f0: 4620 mov r0, r4 - 800d1f2: e9cd 4406 strd r4, r4, [sp, #24] - 800d1f6: e9cd 4404 strd r4, r4, [sp, #16] - 800d1fa: e9cd 4402 strd r4, r4, [sp, #8] - 800d1fe: e9cd 5300 strd r5, r3, [sp] - 800d202: 4623 mov r3, r4 - 800d204: f7ff fe74 bl 800cef0 - 800d208: 4620 mov r0, r4 - 800d20a: f7ff fa7d bl 800c708 - 800d20e: f7ff fa35 bl 800c67c - 800d212: f7f4 fb63 bl 80018dc - 800d216: f001 fc43 bl 800eaa0 - 800d21a: 4604 mov r4, r0 +0800d1d8 : + 800d1d8: b5f0 push {r4, r5, r6, r7, lr} + 800d1da: b08b sub sp, #44 ; 0x2c + 800d1dc: 460d mov r5, r1 + 800d1de: 4604 mov r4, r0 + 800d1e0: 4617 mov r7, r2 + 800d1e2: 461e mov r6, r3 + 800d1e4: f7ff fa42 bl 800c66c + 800d1e8: 2000 movs r0, #0 + 800d1ea: f7ff fb5f bl 800c8ac + 800d1ee: 4620 mov r0, r4 + 800d1f0: f000 fdbe bl 800dd70 + 800d1f4: 2400 movs r4, #0 + 800d1f6: 2301 movs r3, #1 + 800d1f8: e9cd 4308 strd r4, r3, [sp, #32] + 800d1fc: 2303 movs r3, #3 + 800d1fe: f44f 7216 mov.w r2, #600 ; 0x258 + 800d202: 4629 mov r1, r5 + 800d204: 4620 mov r0, r4 + 800d206: e9cd 4406 strd r4, r4, [sp, #24] + 800d20a: e9cd 4404 strd r4, r4, [sp, #16] + 800d20e: e9cd 4402 strd r4, r4, [sp, #8] + 800d212: e9cd 5300 strd r5, r3, [sp] + 800d216: 4623 mov r3, r4 + 800d218: f7ff fe74 bl 800cf04 800d21c: 4620 mov r0, r4 - 800d21e: f001 fc49 bl 800eab4 - 800d222: 42b0 cmp r0, r6 - 800d224: d305 bcc.n 800d232 - 800d226: 2401 movs r4, #1 - 800d228: f7ff fa16 bl 800c658 - 800d22c: 4620 mov r0, r4 - 800d22e: b00b add sp, #44 ; 0x2c - 800d230: bdf0 pop {r4, r5, r6, r7, pc} - 800d232: f000 ff2f bl 800e094 - 800d236: b200 sxth r0, r0 - 800d238: 4287 cmp r7, r0 - 800d23a: daef bge.n 800d21c - 800d23c: 2400 movs r4, #0 - 800d23e: e7f3 b.n 800d228 + 800d21e: f7ff fa7d bl 800c71c + 800d222: f7ff fa35 bl 800c690 + 800d226: f7f4 fb59 bl 80018dc + 800d22a: f001 fc43 bl 800eab4 + 800d22e: 4604 mov r4, r0 + 800d230: 4620 mov r0, r4 + 800d232: f001 fc49 bl 800eac8 + 800d236: 42b0 cmp r0, r6 + 800d238: d305 bcc.n 800d246 + 800d23a: 2401 movs r4, #1 + 800d23c: f7ff fa16 bl 800c66c + 800d240: 4620 mov r0, r4 + 800d242: b00b add sp, #44 ; 0x2c + 800d244: bdf0 pop {r4, r5, r6, r7, pc} + 800d246: f000 ff2f bl 800e0a8 + 800d24a: b200 sxth r0, r0 + 800d24c: 4287 cmp r7, r0 + 800d24e: daef bge.n 800d230 + 800d250: 2400 movs r4, #0 + 800d252: e7f3 b.n 800d23c -0800d240 : - 800d240: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} - 800d242: 2300 movs r3, #0 - 800d244: 460c mov r4, r1 - 800d246: f240 2101 movw r1, #513 ; 0x201 - 800d24a: 461a mov r2, r3 - 800d24c: 4606 mov r6, r0 - 800d24e: 4608 mov r0, r1 - 800d250: f000 fd1e bl 800dc90 - 800d254: 4b64 ldr r3, [pc, #400] ; (800d3e8 ) - 800d256: 4d65 ldr r5, [pc, #404] ; (800d3ec ) - 800d258: f44f 5200 mov.w r2, #8192 ; 0x2000 - 800d25c: 619a str r2, [r3, #24] - 800d25e: f895 0056 ldrb.w r0, [r5, #86] ; 0x56 - 800d262: 2101 movs r1, #1 - 800d264: f000 ff9c bl 800e1a0 - 800d268: 782b ldrb r3, [r5, #0] - 800d26a: 2b01 cmp r3, #1 - 800d26c: f640 0089 movw r0, #2185 ; 0x889 - 800d270: d113 bne.n 800d29a - 800d272: f895 3051 ldrb.w r3, [r5, #81] ; 0x51 - 800d276: 2b06 cmp r3, #6 - 800d278: d10f bne.n 800d29a - 800d27a: f000 fad1 bl 800d820 - 800d27e: f000 01fb and.w r1, r0, #251 ; 0xfb - 800d282: f640 0089 movw r0, #2185 ; 0x889 - 800d286: f000 fabb bl 800d800 - 800d28a: 782b ldrb r3, [r5, #0] - 800d28c: 2b04 cmp r3, #4 - 800d28e: d86c bhi.n 800d36a - 800d290: e8df f003 tbb [pc, r3] - 800d294: 7f524b52 .word 0x7f524b52 - 800d298: 09 .byte 0x09 - 800d299: 00 .byte 0x00 - 800d29a: f000 fac1 bl 800d820 - 800d29e: f040 0104 orr.w r1, r0, #4 - 800d2a2: b2c9 uxtb r1, r1 - 800d2a4: e7ed b.n 800d282 - 800d2a6: 4a52 ldr r2, [pc, #328] ; (800d3f0 ) - 800d2a8: 1e73 subs r3, r6, #1 - 800d2aa: 4610 mov r0, r2 - 800d2ac: f1c6 0701 rsb r7, r6, #1 - 800d2b0: f04f 0c00 mov.w ip, #0 - 800d2b4: 18f9 adds r1, r7, r3 - 800d2b6: 428c cmp r4, r1 - 800d2b8: dc6f bgt.n 800d39a - 800d2ba: 2200 movs r2, #0 - 800d2bc: 00e7 lsls r7, r4, #3 - 800d2be: 4613 mov r3, r2 - 800d2c0: 42ba cmp r2, r7 - 800d2c2: d171 bne.n 800d3a8 - 800d2c4: 019a lsls r2, r3, #6 - 800d2c6: ea42 12c3 orr.w r2, r2, r3, lsl #7 - 800d2ca: 015b lsls r3, r3, #5 - 800d2cc: f083 0320 eor.w r3, r3, #32 - 800d2d0: 4313 orrs r3, r2 - 800d2d2: 1c66 adds r6, r4, #1 - 800d2d4: 5503 strb r3, [r0, r4] - 800d2d6: b2f6 uxtb r6, r6 - 800d2d8: 2302 movs r3, #2 - 800d2da: 4846 ldr r0, [pc, #280] ; (800d3f4 ) - 800d2dc: 73ab strb r3, [r5, #14] - 800d2de: 76ae strb r6, [r5, #26] - 800d2e0: f000 fe56 bl 800df90 - 800d2e4: 2100 movs r1, #0 - 800d2e6: 20f1 movs r0, #241 ; 0xf1 - 800d2e8: f000 fa8a bl 800d800 - 800d2ec: 2100 movs r1, #0 - 800d2ee: 20f0 movs r0, #240 ; 0xf0 - 800d2f0: f000 fa86 bl 800d800 - 800d2f4: 6cab ldr r3, [r5, #72] ; 0x48 - 800d2f6: 2b64 cmp r3, #100 ; 0x64 - 800d2f8: d170 bne.n 800d3dc - 800d2fa: 2170 movs r1, #112 ; 0x70 - 800d2fc: 20f3 movs r0, #243 ; 0xf3 - 800d2fe: f000 fa7f bl 800d800 - 800d302: 211d movs r1, #29 - 800d304: 20f2 movs r0, #242 ; 0xf2 - 800d306: f000 fa7b bl 800d800 - 800d30a: 00e1 lsls r1, r4, #3 - 800d30c: 1c8c adds r4, r1, #2 - 800d30e: 20f4 movs r0, #244 ; 0xf4 - 800d310: 0a09 lsrs r1, r1, #8 - 800d312: f000 fa75 bl 800d800 - 800d316: f004 01fe and.w r1, r4, #254 ; 0xfe - 800d31a: 20f5 movs r0, #245 ; 0xf5 - 800d31c: f000 fa70 bl 800d800 - 800d320: 4833 ldr r0, [pc, #204] ; (800d3f0 ) - 800d322: f06f 427f mvn.w r2, #4278190080 ; 0xff000000 - 800d326: 4631 mov r1, r6 - 800d328: e01d b.n 800d366 - 800d32a: 77ec strb r4, [r5, #31] - 800d32c: 4831 ldr r0, [pc, #196] ; (800d3f4 ) - 800d32e: f000 fe2f bl 800df90 - 800d332: 2200 movs r2, #0 - 800d334: 4621 mov r1, r4 - 800d336: e015 b.n 800d364 - 800d338: f001 f808 bl 800e34c - 800d33c: 2801 cmp r0, #1 - 800d33e: 4607 mov r7, r0 - 800d340: d125 bne.n 800d38e - 800d342: 4621 mov r1, r4 - 800d344: f10d 0207 add.w r2, sp, #7 - 800d348: 4630 mov r0, r6 - 800d34a: f001 f804 bl 800e356 - 800d34e: 4604 mov r4, r0 - 800d350: b9a0 cbnz r0, 800d37c - 800d352: f89d 3007 ldrb.w r3, [sp, #7] - 800d356: 4827 ldr r0, [pc, #156] ; (800d3f4 ) - 800d358: 75ab strb r3, [r5, #22] - 800d35a: f000 fe19 bl 800df90 - 800d35e: f89d 1007 ldrb.w r1, [sp, #7] - 800d362: 4622 mov r2, r4 - 800d364: 4630 mov r0, r6 - 800d366: f000 fb65 bl 800da34 - 800d36a: 6869 ldr r1, [r5, #4] - 800d36c: 4822 ldr r0, [pc, #136] ; (800d3f8 ) - 800d36e: f001 fc63 bl 800ec38 - 800d372: 4821 ldr r0, [pc, #132] ; (800d3f8 ) - 800d374: f001 fc26 bl 800ebc4 - 800d378: 2000 movs r0, #0 - 800d37a: e006 b.n 800d38a - 800d37c: 4b1f ldr r3, [pc, #124] ; (800d3fc ) - 800d37e: 463a mov r2, r7 - 800d380: 2100 movs r1, #0 - 800d382: 2002 movs r0, #2 - 800d384: f001 f8a2 bl 800e4cc - 800d388: 2003 movs r0, #3 - 800d38a: b003 add sp, #12 - 800d38c: bdf0 pop {r4, r5, r6, r7, pc} - 800d38e: 75ac strb r4, [r5, #22] - 800d390: e7cc b.n 800d32c - 800d392: 2302 movs r3, #2 - 800d394: 73ab strb r3, [r5, #14] - 800d396: 76ac strb r4, [r5, #26] - 800d398: e7c8 b.n 800d32c - 800d39a: f813 1f01 ldrb.w r1, [r3, #1]! - 800d39e: 43c9 mvns r1, r1 - 800d3a0: 7019 strb r1, [r3, #0] - 800d3a2: f802 cb01 strb.w ip, [r2], #1 - 800d3a6: e785 b.n 800d2b4 - 800d3a8: 10d1 asrs r1, r2, #3 - 800d3aa: ea6f 0c02 mvn.w ip, r2 - 800d3ae: 5c71 ldrb r1, [r6, r1] - 800d3b0: f00c 0c07 and.w ip, ip, #7 - 800d3b4: 3201 adds r2, #1 - 800d3b6: fa41 f10c asr.w r1, r1, ip - 800d3ba: f001 0101 and.w r1, r1, #1 - 800d3be: ea4f 0ce2 mov.w ip, r2, asr #3 - 800d3c2: 404b eors r3, r1 - 800d3c4: 43d1 mvns r1, r2 - 800d3c6: f810 e00c ldrb.w lr, [r0, ip] - 800d3ca: f001 0107 and.w r1, r1, #7 - 800d3ce: fa03 f101 lsl.w r1, r3, r1 - 800d3d2: ea41 010e orr.w r1, r1, lr - 800d3d6: f800 100c strb.w r1, [r0, ip] - 800d3da: e771 b.n 800d2c0 - 800d3dc: 21e1 movs r1, #225 ; 0xe1 - 800d3de: 20f3 movs r0, #243 ; 0xf3 - 800d3e0: f000 fa0e bl 800d800 - 800d3e4: 2104 movs r1, #4 - 800d3e6: e78d b.n 800d304 - 800d3e8: 48000400 .word 0x48000400 - 800d3ec: 20001ae8 .word 0x20001ae8 - 800d3f0: 200019cc .word 0x200019cc - 800d3f4: 20001af6 .word 0x20001af6 - 800d3f8: 20001b44 .word 0x20001b44 - 800d3fc: 0800f950 .word 0x0800f950 +0800d254 : + 800d254: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} + 800d256: 2300 movs r3, #0 + 800d258: 460c mov r4, r1 + 800d25a: f240 2101 movw r1, #513 ; 0x201 + 800d25e: 461a mov r2, r3 + 800d260: 4606 mov r6, r0 + 800d262: 4608 mov r0, r1 + 800d264: f000 fd1e bl 800dca4 + 800d268: 4b64 ldr r3, [pc, #400] ; (800d3fc ) + 800d26a: 4d65 ldr r5, [pc, #404] ; (800d400 ) + 800d26c: f44f 5200 mov.w r2, #8192 ; 0x2000 + 800d270: 619a str r2, [r3, #24] + 800d272: f895 0056 ldrb.w r0, [r5, #86] ; 0x56 + 800d276: 2101 movs r1, #1 + 800d278: f000 ff9c bl 800e1b4 + 800d27c: 782b ldrb r3, [r5, #0] + 800d27e: 2b01 cmp r3, #1 + 800d280: f640 0089 movw r0, #2185 ; 0x889 + 800d284: d113 bne.n 800d2ae + 800d286: f895 3051 ldrb.w r3, [r5, #81] ; 0x51 + 800d28a: 2b06 cmp r3, #6 + 800d28c: d10f bne.n 800d2ae + 800d28e: f000 fad1 bl 800d834 + 800d292: f000 01fb and.w r1, r0, #251 ; 0xfb + 800d296: f640 0089 movw r0, #2185 ; 0x889 + 800d29a: f000 fabb bl 800d814 + 800d29e: 782b ldrb r3, [r5, #0] + 800d2a0: 2b04 cmp r3, #4 + 800d2a2: d86c bhi.n 800d37e + 800d2a4: e8df f003 tbb [pc, r3] + 800d2a8: 7f524b52 .word 0x7f524b52 + 800d2ac: 09 .byte 0x09 + 800d2ad: 00 .byte 0x00 + 800d2ae: f000 fac1 bl 800d834 + 800d2b2: f040 0104 orr.w r1, r0, #4 + 800d2b6: b2c9 uxtb r1, r1 + 800d2b8: e7ed b.n 800d296 + 800d2ba: 4a52 ldr r2, [pc, #328] ; (800d404 ) + 800d2bc: 1e73 subs r3, r6, #1 + 800d2be: 4610 mov r0, r2 + 800d2c0: f1c6 0701 rsb r7, r6, #1 + 800d2c4: f04f 0c00 mov.w ip, #0 + 800d2c8: 18f9 adds r1, r7, r3 + 800d2ca: 428c cmp r4, r1 + 800d2cc: dc6f bgt.n 800d3ae + 800d2ce: 2200 movs r2, #0 + 800d2d0: 00e7 lsls r7, r4, #3 + 800d2d2: 4613 mov r3, r2 + 800d2d4: 42ba cmp r2, r7 + 800d2d6: d171 bne.n 800d3bc + 800d2d8: 019a lsls r2, r3, #6 + 800d2da: ea42 12c3 orr.w r2, r2, r3, lsl #7 + 800d2de: 015b lsls r3, r3, #5 + 800d2e0: f083 0320 eor.w r3, r3, #32 + 800d2e4: 4313 orrs r3, r2 + 800d2e6: 1c66 adds r6, r4, #1 + 800d2e8: 5503 strb r3, [r0, r4] + 800d2ea: b2f6 uxtb r6, r6 + 800d2ec: 2302 movs r3, #2 + 800d2ee: 4846 ldr r0, [pc, #280] ; (800d408 ) + 800d2f0: 73ab strb r3, [r5, #14] + 800d2f2: 76ae strb r6, [r5, #26] + 800d2f4: f000 fe56 bl 800dfa4 + 800d2f8: 2100 movs r1, #0 + 800d2fa: 20f1 movs r0, #241 ; 0xf1 + 800d2fc: f000 fa8a bl 800d814 + 800d300: 2100 movs r1, #0 + 800d302: 20f0 movs r0, #240 ; 0xf0 + 800d304: f000 fa86 bl 800d814 + 800d308: 6cab ldr r3, [r5, #72] ; 0x48 + 800d30a: 2b64 cmp r3, #100 ; 0x64 + 800d30c: d170 bne.n 800d3f0 + 800d30e: 2170 movs r1, #112 ; 0x70 + 800d310: 20f3 movs r0, #243 ; 0xf3 + 800d312: f000 fa7f bl 800d814 + 800d316: 211d movs r1, #29 + 800d318: 20f2 movs r0, #242 ; 0xf2 + 800d31a: f000 fa7b bl 800d814 + 800d31e: 00e1 lsls r1, r4, #3 + 800d320: 1c8c adds r4, r1, #2 + 800d322: 20f4 movs r0, #244 ; 0xf4 + 800d324: 0a09 lsrs r1, r1, #8 + 800d326: f000 fa75 bl 800d814 + 800d32a: f004 01fe and.w r1, r4, #254 ; 0xfe + 800d32e: 20f5 movs r0, #245 ; 0xf5 + 800d330: f000 fa70 bl 800d814 + 800d334: 4833 ldr r0, [pc, #204] ; (800d404 ) + 800d336: f06f 427f mvn.w r2, #4278190080 ; 0xff000000 + 800d33a: 4631 mov r1, r6 + 800d33c: e01d b.n 800d37a + 800d33e: 77ec strb r4, [r5, #31] + 800d340: 4831 ldr r0, [pc, #196] ; (800d408 ) + 800d342: f000 fe2f bl 800dfa4 + 800d346: 2200 movs r2, #0 + 800d348: 4621 mov r1, r4 + 800d34a: e015 b.n 800d378 + 800d34c: f001 f808 bl 800e360 + 800d350: 2801 cmp r0, #1 + 800d352: 4607 mov r7, r0 + 800d354: d125 bne.n 800d3a2 + 800d356: 4621 mov r1, r4 + 800d358: f10d 0207 add.w r2, sp, #7 + 800d35c: 4630 mov r0, r6 + 800d35e: f001 f804 bl 800e36a + 800d362: 4604 mov r4, r0 + 800d364: b9a0 cbnz r0, 800d390 + 800d366: f89d 3007 ldrb.w r3, [sp, #7] + 800d36a: 4827 ldr r0, [pc, #156] ; (800d408 ) + 800d36c: 75ab strb r3, [r5, #22] + 800d36e: f000 fe19 bl 800dfa4 + 800d372: f89d 1007 ldrb.w r1, [sp, #7] + 800d376: 4622 mov r2, r4 + 800d378: 4630 mov r0, r6 + 800d37a: f000 fb65 bl 800da48 + 800d37e: 6869 ldr r1, [r5, #4] + 800d380: 4822 ldr r0, [pc, #136] ; (800d40c ) + 800d382: f001 fc63 bl 800ec4c + 800d386: 4821 ldr r0, [pc, #132] ; (800d40c ) + 800d388: f001 fc26 bl 800ebd8 + 800d38c: 2000 movs r0, #0 + 800d38e: e006 b.n 800d39e + 800d390: 4b1f ldr r3, [pc, #124] ; (800d410 ) + 800d392: 463a mov r2, r7 + 800d394: 2100 movs r1, #0 + 800d396: 2002 movs r0, #2 + 800d398: f001 f8a2 bl 800e4e0 + 800d39c: 2003 movs r0, #3 + 800d39e: b003 add sp, #12 + 800d3a0: bdf0 pop {r4, r5, r6, r7, pc} + 800d3a2: 75ac strb r4, [r5, #22] + 800d3a4: e7cc b.n 800d340 + 800d3a6: 2302 movs r3, #2 + 800d3a8: 73ab strb r3, [r5, #14] + 800d3aa: 76ac strb r4, [r5, #26] + 800d3ac: e7c8 b.n 800d340 + 800d3ae: f813 1f01 ldrb.w r1, [r3, #1]! + 800d3b2: 43c9 mvns r1, r1 + 800d3b4: 7019 strb r1, [r3, #0] + 800d3b6: f802 cb01 strb.w ip, [r2], #1 + 800d3ba: e785 b.n 800d2c8 + 800d3bc: 10d1 asrs r1, r2, #3 + 800d3be: ea6f 0c02 mvn.w ip, r2 + 800d3c2: 5c71 ldrb r1, [r6, r1] + 800d3c4: f00c 0c07 and.w ip, ip, #7 + 800d3c8: 3201 adds r2, #1 + 800d3ca: fa41 f10c asr.w r1, r1, ip + 800d3ce: f001 0101 and.w r1, r1, #1 + 800d3d2: ea4f 0ce2 mov.w ip, r2, asr #3 + 800d3d6: 404b eors r3, r1 + 800d3d8: 43d1 mvns r1, r2 + 800d3da: f810 e00c ldrb.w lr, [r0, ip] + 800d3de: f001 0107 and.w r1, r1, #7 + 800d3e2: fa03 f101 lsl.w r1, r3, r1 + 800d3e6: ea41 010e orr.w r1, r1, lr + 800d3ea: f800 100c strb.w r1, [r0, ip] + 800d3ee: e771 b.n 800d2d4 + 800d3f0: 21e1 movs r1, #225 ; 0xe1 + 800d3f2: 20f3 movs r0, #243 ; 0xf3 + 800d3f4: f000 fa0e bl 800d814 + 800d3f8: 2104 movs r1, #4 + 800d3fa: e78d b.n 800d318 + 800d3fc: 48000400 .word 0x48000400 + 800d400: 20001ae8 .word 0x20001ae8 + 800d404: 200019cc .word 0x200019cc + 800d408: 20001af6 .word 0x20001af6 + 800d40c: 20001b44 .word 0x20001b44 + 800d410: 0800f960 .word 0x0800f960 -0800d400 : - 800d400: b5f0 push {r4, r5, r6, r7, lr} - 800d402: f8bd 4014 ldrh.w r4, [sp, #20] - 800d406: f89d 7018 ldrb.w r7, [sp, #24] - 800d40a: f89d e01c ldrb.w lr, [sp, #28] - 800d40e: f89d 5020 ldrb.w r5, [sp, #32] - 800d412: b140 cbz r0, 800d426 - 800d414: 2801 cmp r0, #1 - 800d416: d014 beq.n 800d442 - 800d418: 2201 movs r2, #1 - 800d41a: 2300 movs r3, #0 - 800d41c: 1898 adds r0, r3, r2 - 800d41e: 3801 subs r0, #1 - 800d420: fbb0 f0f2 udiv r0, r0, r2 - 800d424: bdf0 pop {r4, r5, r6, r7, pc} - 800d426: f087 0701 eor.w r7, r7, #1 - 800d42a: 00e3 lsls r3, r4, #3 - 800d42c: eb03 03c7 add.w r3, r3, r7, lsl #3 - 800d430: 3318 adds r3, #24 - 800d432: eb0e 0545 add.w r5, lr, r5, lsl #1 - 800d436: eb03 03c5 add.w r3, r3, r5, lsl #3 - 800d43a: f44f 717a mov.w r1, #1000 ; 0x3e8 - 800d43e: 434b muls r3, r1 - 800d440: e7ec b.n 800d41c - 800d442: 1f50 subs r0, r2, #5 - 800d444: 2801 cmp r0, #1 - 800d446: f103 0304 add.w r3, r3, #4 - 800d44a: d802 bhi.n 800d452 - 800d44c: 2c0c cmp r4, #12 - 800d44e: bf38 it cc - 800d450: 240c movcc r4, #12 - 800d452: b9d1 cbnz r1, 800d48a - 800d454: f1a2 0c0b sub.w ip, r2, #11 - 800d458: f1bc 0f01 cmp.w ip, #1 - 800d45c: bf8c ite hi - 800d45e: f04f 0c00 movhi.w ip, #0 - 800d462: f04f 0c01 movls.w ip, #1 - 800d466: 0128 lsls r0, r5, #4 - 800d468: 2f00 cmp r7, #0 - 800d46a: eb00 00ce add.w r0, r0, lr, lsl #3 - 800d46e: bf14 ite ne - 800d470: 2500 movne r5, #0 - 800d472: 2514 moveq r5, #20 - 800d474: eba0 0082 sub.w r0, r0, r2, lsl #2 - 800d478: 2a06 cmp r2, #6 - 800d47a: ea4f 0682 mov.w r6, r2, lsl #2 - 800d47e: 4428 add r0, r5 - 800d480: f1a2 0702 sub.w r7, r2, #2 - 800d484: d80d bhi.n 800d4a2 - 800d486: 4635 mov r5, r6 - 800d488: e010 b.n 800d4ac - 800d48a: 2901 cmp r1, #1 - 800d48c: d106 bne.n 800d49c - 800d48e: f1a2 000c sub.w r0, r2, #12 - 800d492: f1d0 0c00 rsbs ip, r0, #0 - 800d496: eb4c 0c00 adc.w ip, ip, r0 - 800d49a: e7e4 b.n 800d466 - 800d49c: f04f 0c00 mov.w ip, #0 - 800d4a0: e7e1 b.n 800d466 - 800d4a2: 3008 adds r0, #8 - 800d4a4: f1bc 0f00 cmp.w ip, #0 - 800d4a8: d0ed beq.n 800d486 - 800d4aa: 00bd lsls r5, r7, #2 - 800d4ac: 2800 cmp r0, #0 - 800d4ae: bfac ite ge - 800d4b0: 182e addge r6, r5, r0 - 800d4b2: 1c2e addlt r6, r5, #0 - 800d4b4: 1e70 subs r0, r6, #1 - 800d4b6: fb90 f0f5 sdiv r0, r0, r5 - 800d4ba: fb03 4400 mla r4, r3, r0, r4 - 800d4be: 4b09 ldr r3, [pc, #36] ; (800d4e4 ) - 800d4c0: 2a06 cmp r2, #6 - 800d4c2: 5c5a ldrb r2, [r3, r1] - 800d4c4: bf8c ite hi - 800d4c6: 340c addhi r4, #12 - 800d4c8: 340e addls r4, #14 - 800d4ca: 2a0a cmp r2, #10 - 800d4cc: d809 bhi.n 800d4e2 - 800d4ce: 00a3 lsls r3, r4, #2 - 800d4d0: 3301 adds r3, #1 - 800d4d2: f44f 717a mov.w r1, #1000 ; 0x3e8 - 800d4d6: 40bb lsls r3, r7 - 800d4d8: 434b muls r3, r1 - 800d4da: 4903 ldr r1, [pc, #12] ; (800d4e8 ) - 800d4dc: f851 2022 ldr.w r2, [r1, r2, lsl #2] - 800d4e0: e79c b.n 800d41c - 800d4e2: deff udf #255 ; 0xff - 800d4e4: 0800f9ae .word 0x0800f9ae - 800d4e8: 0800f9b4 .word 0x0800f9b4 +0800d414 : + 800d414: b5f0 push {r4, r5, r6, r7, lr} + 800d416: f8bd 4014 ldrh.w r4, [sp, #20] + 800d41a: f89d 7018 ldrb.w r7, [sp, #24] + 800d41e: f89d e01c ldrb.w lr, [sp, #28] + 800d422: f89d 5020 ldrb.w r5, [sp, #32] + 800d426: b140 cbz r0, 800d43a + 800d428: 2801 cmp r0, #1 + 800d42a: d014 beq.n 800d456 + 800d42c: 2201 movs r2, #1 + 800d42e: 2300 movs r3, #0 + 800d430: 1898 adds r0, r3, r2 + 800d432: 3801 subs r0, #1 + 800d434: fbb0 f0f2 udiv r0, r0, r2 + 800d438: bdf0 pop {r4, r5, r6, r7, pc} + 800d43a: f087 0701 eor.w r7, r7, #1 + 800d43e: 00e3 lsls r3, r4, #3 + 800d440: eb03 03c7 add.w r3, r3, r7, lsl #3 + 800d444: 3318 adds r3, #24 + 800d446: eb0e 0545 add.w r5, lr, r5, lsl #1 + 800d44a: eb03 03c5 add.w r3, r3, r5, lsl #3 + 800d44e: f44f 717a mov.w r1, #1000 ; 0x3e8 + 800d452: 434b muls r3, r1 + 800d454: e7ec b.n 800d430 + 800d456: 1f50 subs r0, r2, #5 + 800d458: 2801 cmp r0, #1 + 800d45a: f103 0304 add.w r3, r3, #4 + 800d45e: d802 bhi.n 800d466 + 800d460: 2c0c cmp r4, #12 + 800d462: bf38 it cc + 800d464: 240c movcc r4, #12 + 800d466: b9d1 cbnz r1, 800d49e + 800d468: f1a2 0c0b sub.w ip, r2, #11 + 800d46c: f1bc 0f01 cmp.w ip, #1 + 800d470: bf8c ite hi + 800d472: f04f 0c00 movhi.w ip, #0 + 800d476: f04f 0c01 movls.w ip, #1 + 800d47a: 0128 lsls r0, r5, #4 + 800d47c: 2f00 cmp r7, #0 + 800d47e: eb00 00ce add.w r0, r0, lr, lsl #3 + 800d482: bf14 ite ne + 800d484: 2500 movne r5, #0 + 800d486: 2514 moveq r5, #20 + 800d488: eba0 0082 sub.w r0, r0, r2, lsl #2 + 800d48c: 2a06 cmp r2, #6 + 800d48e: ea4f 0682 mov.w r6, r2, lsl #2 + 800d492: 4428 add r0, r5 + 800d494: f1a2 0702 sub.w r7, r2, #2 + 800d498: d80d bhi.n 800d4b6 + 800d49a: 4635 mov r5, r6 + 800d49c: e010 b.n 800d4c0 + 800d49e: 2901 cmp r1, #1 + 800d4a0: d106 bne.n 800d4b0 + 800d4a2: f1a2 000c sub.w r0, r2, #12 + 800d4a6: f1d0 0c00 rsbs ip, r0, #0 + 800d4aa: eb4c 0c00 adc.w ip, ip, r0 + 800d4ae: e7e4 b.n 800d47a + 800d4b0: f04f 0c00 mov.w ip, #0 + 800d4b4: e7e1 b.n 800d47a + 800d4b6: 3008 adds r0, #8 + 800d4b8: f1bc 0f00 cmp.w ip, #0 + 800d4bc: d0ed beq.n 800d49a + 800d4be: 00bd lsls r5, r7, #2 + 800d4c0: 2800 cmp r0, #0 + 800d4c2: bfac ite ge + 800d4c4: 182e addge r6, r5, r0 + 800d4c6: 1c2e addlt r6, r5, #0 + 800d4c8: 1e70 subs r0, r6, #1 + 800d4ca: fb90 f0f5 sdiv r0, r0, r5 + 800d4ce: fb03 4400 mla r4, r3, r0, r4 + 800d4d2: 4b09 ldr r3, [pc, #36] ; (800d4f8 ) + 800d4d4: 2a06 cmp r2, #6 + 800d4d6: 5c5a ldrb r2, [r3, r1] + 800d4d8: bf8c ite hi + 800d4da: 340c addhi r4, #12 + 800d4dc: 340e addls r4, #14 + 800d4de: 2a0a cmp r2, #10 + 800d4e0: d809 bhi.n 800d4f6 + 800d4e2: 00a3 lsls r3, r4, #2 + 800d4e4: 3301 adds r3, #1 + 800d4e6: f44f 717a mov.w r1, #1000 ; 0x3e8 + 800d4ea: 40bb lsls r3, r7 + 800d4ec: 434b muls r3, r1 + 800d4ee: 4903 ldr r1, [pc, #12] ; (800d4fc ) + 800d4f0: f851 2022 ldr.w r2, [r1, r2, lsl #2] + 800d4f4: e79c b.n 800d430 + 800d4f6: deff udf #255 ; 0xff + 800d4f8: 0800f9be .word 0x0800f9be + 800d4fc: 0800f9c4 .word 0x0800f9c4 -0800d4ec : - 800d4ec: b508 push {r3, lr} - 800d4ee: 4b09 ldr r3, [pc, #36] ; (800d514 ) - 800d4f0: 2101 movs r1, #1 - 800d4f2: f893 0056 ldrb.w r0, [r3, #86] ; 0x56 - 800d4f6: f000 fe53 bl 800e1a0 - 800d4fa: f44f 60d7 mov.w r0, #1720 ; 0x6b8 - 800d4fe: 212d movs r1, #45 ; 0x2d - 800d500: f000 f97e bl 800d800 - 800d504: f000 fb33 bl 800db6e - 800d508: e8bd 4008 ldmia.w sp!, {r3, lr} - 800d50c: 4802 ldr r0, [pc, #8] ; (800d518 ) - 800d50e: f000 ba7b b.w 800da08 - 800d512: bf00 nop - 800d514: 20001ae8 .word 0x20001ae8 - 800d518: 000fffff .word 0x000fffff +0800d500 : + 800d500: b508 push {r3, lr} + 800d502: 4b09 ldr r3, [pc, #36] ; (800d528 ) + 800d504: 2101 movs r1, #1 + 800d506: f893 0056 ldrb.w r0, [r3, #86] ; 0x56 + 800d50a: f000 fe53 bl 800e1b4 + 800d50e: f44f 60d7 mov.w r0, #1720 ; 0x6b8 + 800d512: 212d movs r1, #45 ; 0x2d + 800d514: f000 f97e bl 800d814 + 800d518: f000 fb33 bl 800db82 + 800d51c: e8bd 4008 ldmia.w sp!, {r3, lr} + 800d520: 4802 ldr r0, [pc, #8] ; (800d52c ) + 800d522: f000 ba7b b.w 800da1c + 800d526: bf00 nop + 800d528: 20001ae8 .word 0x20001ae8 + 800d52c: 000fffff .word 0x000fffff -0800d51c : - 800d51c: b573 push {r0, r1, r4, r5, r6, lr} - 800d51e: 4ca4 ldr r4, [pc, #656] ; (800d7b0 ) - 800d520: f8b4 3054 ldrh.w r3, [r4, #84] ; 0x54 - 800d524: 2500 movs r5, #0 - 800d526: 2b20 cmp r3, #32 - 800d528: f88d 5003 strb.w r5, [sp, #3] - 800d52c: 9501 str r5, [sp, #4] - 800d52e: f000 811b beq.w 800d768 - 800d532: d814 bhi.n 800d55e - 800d534: 2b08 cmp r3, #8 - 800d536: d80d bhi.n 800d554 - 800d538: b17b cbz r3, 800d55a - 800d53a: 3b01 subs r3, #1 - 800d53c: 2b07 cmp r3, #7 - 800d53e: d80c bhi.n 800d55a - 800d540: e8df f013 tbh [pc, r3, lsl #1] - 800d544: 005b0042 .word 0x005b0042 - 800d548: 00cd000b .word 0x00cd000b - 800d54c: 000b000b .word 0x000b000b - 800d550: 00fd000b .word 0x00fd000b - 800d554: 2b10 cmp r3, #16 - 800d556: f000 8100 beq.w 800d75a - 800d55a: b002 add sp, #8 - 800d55c: bd70 pop {r4, r5, r6, pc} - 800d55e: f5b3 7f80 cmp.w r3, #256 ; 0x100 - 800d562: f000 8098 beq.w 800d696 - 800d566: d811 bhi.n 800d58c - 800d568: 2b40 cmp r3, #64 ; 0x40 - 800d56a: f000 8110 beq.w 800d78e - 800d56e: 2b80 cmp r3, #128 ; 0x80 - 800d570: d1f3 bne.n 800d55a - 800d572: 4628 mov r0, r5 - 800d574: f000 fa32 bl 800d9dc - 800d578: 4b8e ldr r3, [pc, #568] ; (800d7b4 ) - 800d57a: 681b ldr r3, [r3, #0] - 800d57c: 2b00 cmp r3, #0 - 800d57e: d0ec beq.n 800d55a - 800d580: 699b ldr r3, [r3, #24] - 800d582: 2b00 cmp r3, #0 - 800d584: d0e9 beq.n 800d55a +0800d530 : + 800d530: b573 push {r0, r1, r4, r5, r6, lr} + 800d532: 4ca4 ldr r4, [pc, #656] ; (800d7c4 ) + 800d534: f8b4 3054 ldrh.w r3, [r4, #84] ; 0x54 + 800d538: 2500 movs r5, #0 + 800d53a: 2b20 cmp r3, #32 + 800d53c: f88d 5003 strb.w r5, [sp, #3] + 800d540: 9501 str r5, [sp, #4] + 800d542: f000 811b beq.w 800d77c + 800d546: d814 bhi.n 800d572 + 800d548: 2b08 cmp r3, #8 + 800d54a: d80d bhi.n 800d568 + 800d54c: b17b cbz r3, 800d56e + 800d54e: 3b01 subs r3, #1 + 800d550: 2b07 cmp r3, #7 + 800d552: d80c bhi.n 800d56e + 800d554: e8df f013 tbh [pc, r3, lsl #1] + 800d558: 005b0042 .word 0x005b0042 + 800d55c: 00cd000b .word 0x00cd000b + 800d560: 000b000b .word 0x000b000b + 800d564: 00fd000b .word 0x00fd000b + 800d568: 2b10 cmp r3, #16 + 800d56a: f000 8100 beq.w 800d76e + 800d56e: b002 add sp, #8 + 800d570: bd70 pop {r4, r5, r6, pc} + 800d572: f5b3 7f80 cmp.w r3, #256 ; 0x100 + 800d576: f000 8098 beq.w 800d6aa + 800d57a: d811 bhi.n 800d5a0 + 800d57c: 2b40 cmp r3, #64 ; 0x40 + 800d57e: f000 8110 beq.w 800d7a2 + 800d582: 2b80 cmp r3, #128 ; 0x80 + 800d584: d1f3 bne.n 800d56e 800d586: 4628 mov r0, r5 - 800d588: 4798 blx r3 - 800d58a: e7e6 b.n 800d55a - 800d58c: f5b3 7f00 cmp.w r3, #512 ; 0x200 - 800d590: d1e3 bne.n 800d55a - 800d592: 4b89 ldr r3, [pc, #548] ; (800d7b8 ) - 800d594: 2201 movs r2, #1 - 800d596: 4629 mov r1, r5 - 800d598: 2002 movs r0, #2 - 800d59a: f000 ff97 bl 800e4cc - 800d59e: f000 f929 bl 800d7f4 - 800d5a2: 2804 cmp r0, #4 - 800d5a4: f040 8085 bne.w 800d6b2 - 800d5a8: 4b84 ldr r3, [pc, #528] ; (800d7bc ) - 800d5aa: 4885 ldr r0, [pc, #532] ; (800d7c0 ) - 800d5ac: f44f 5200 mov.w r2, #8192 ; 0x2000 - 800d5b0: 629a str r2, [r3, #40] ; 0x28 - 800d5b2: f001 fab9 bl 800eb28 - 800d5b6: 4628 mov r0, r5 - 800d5b8: f000 fa10 bl 800d9dc - 800d5bc: 4b7d ldr r3, [pc, #500] ; (800d7b4 ) - 800d5be: 681b ldr r3, [r3, #0] - 800d5c0: 2b00 cmp r3, #0 - 800d5c2: d0ca beq.n 800d55a - 800d5c4: 685b ldr r3, [r3, #4] - 800d5c6: e014 b.n 800d5f2 - 800d5c8: 4b7c ldr r3, [pc, #496] ; (800d7bc ) - 800d5ca: 487d ldr r0, [pc, #500] ; (800d7c0 ) - 800d5cc: f44f 5200 mov.w r2, #8192 ; 0x2000 - 800d5d0: 629a str r2, [r3, #40] ; 0x28 - 800d5d2: f001 faa9 bl 800eb28 - 800d5d6: 2000 movs r0, #0 - 800d5d8: f000 fa00 bl 800d9dc - 800d5dc: f000 feb8 bl 800e350 - 800d5e0: 2801 cmp r0, #1 - 800d5e2: d101 bne.n 800d5e8 - 800d5e4: f000 febd bl 800e362 - 800d5e8: 4b72 ldr r3, [pc, #456] ; (800d7b4 ) - 800d5ea: 681b ldr r3, [r3, #0] - 800d5ec: 2b00 cmp r3, #0 - 800d5ee: d0b4 beq.n 800d55a - 800d5f0: 681b ldr r3, [r3, #0] - 800d5f2: 2b00 cmp r3, #0 - 800d5f4: d0b1 beq.n 800d55a - 800d5f6: 4798 blx r3 - 800d5f8: e7af b.n 800d55a - 800d5fa: 4b70 ldr r3, [pc, #448] ; (800d7bc ) - 800d5fc: 4871 ldr r0, [pc, #452] ; (800d7c4 ) - 800d5fe: f44f 5280 mov.w r2, #4096 ; 0x1000 - 800d602: 629a str r2, [r3, #40] ; 0x28 - 800d604: f001 fa90 bl 800eb28 - 800d608: 7865 ldrb r5, [r4, #1] - 800d60a: b995 cbnz r5, 800d632 - 800d60c: 4628 mov r0, r5 - 800d60e: f000 f9e5 bl 800d9dc - 800d612: 4629 mov r1, r5 - 800d614: f640 1002 movw r0, #2306 ; 0x902 - 800d618: f000 f8f2 bl 800d800 - 800d61c: f640 1044 movw r0, #2372 ; 0x944 - 800d620: f000 f8fe bl 800d820 - 800d624: f040 0102 orr.w r1, r0, #2 - 800d628: b2c9 uxtb r1, r1 - 800d62a: f640 1044 movw r0, #2372 ; 0x944 - 800d62e: f000 f8e7 bl 800d800 - 800d632: 22ff movs r2, #255 ; 0xff - 800d634: f10d 0103 add.w r1, sp, #3 - 800d638: 4863 ldr r0, [pc, #396] ; (800d7c8 ) - 800d63a: 4d5e ldr r5, [pc, #376] ; (800d7b4 ) - 800d63c: f000 fd5a bl 800e0f4 - 800d640: 4862 ldr r0, [pc, #392] ; (800d7cc ) - 800d642: f000 fd71 bl 800e128 - 800d646: 682b ldr r3, [r5, #0] - 800d648: 2b00 cmp r3, #0 - 800d64a: d086 beq.n 800d55a - 800d64c: 689e ldr r6, [r3, #8] - 800d64e: 2e00 cmp r6, #0 - 800d650: d083 beq.n 800d55a - 800d652: f894 3024 ldrb.w r3, [r4, #36] ; 0x24 - 800d656: 2b01 cmp r3, #1 - 800d658: d108 bne.n 800d66c - 800d65a: f994 3031 ldrsb.w r3, [r4, #49] ; 0x31 - 800d65e: f994 2030 ldrsb.w r2, [r4, #48] ; 0x30 - 800d662: f89d 1003 ldrb.w r1, [sp, #3] - 800d666: 4858 ldr r0, [pc, #352] ; (800d7c8 ) - 800d668: 47b0 blx r6 - 800d66a: e776 b.n 800d55a - 800d66c: 6be0 ldr r0, [r4, #60] ; 0x3c - 800d66e: a901 add r1, sp, #4 - 800d670: f000 fe22 bl 800e2b8 - 800d674: 9b01 ldr r3, [sp, #4] + 800d588: f000 fa32 bl 800d9f0 + 800d58c: 4b8e ldr r3, [pc, #568] ; (800d7c8 ) + 800d58e: 681b ldr r3, [r3, #0] + 800d590: 2b00 cmp r3, #0 + 800d592: d0ec beq.n 800d56e + 800d594: 699b ldr r3, [r3, #24] + 800d596: 2b00 cmp r3, #0 + 800d598: d0e9 beq.n 800d56e + 800d59a: 4628 mov r0, r5 + 800d59c: 4798 blx r3 + 800d59e: e7e6 b.n 800d56e + 800d5a0: f5b3 7f00 cmp.w r3, #512 ; 0x200 + 800d5a4: d1e3 bne.n 800d56e + 800d5a6: 4b89 ldr r3, [pc, #548] ; (800d7cc ) + 800d5a8: 2201 movs r2, #1 + 800d5aa: 4629 mov r1, r5 + 800d5ac: 2002 movs r0, #2 + 800d5ae: f000 ff97 bl 800e4e0 + 800d5b2: f000 f929 bl 800d808 + 800d5b6: 2804 cmp r0, #4 + 800d5b8: f040 8085 bne.w 800d6c6 + 800d5bc: 4b84 ldr r3, [pc, #528] ; (800d7d0 ) + 800d5be: 4885 ldr r0, [pc, #532] ; (800d7d4 ) + 800d5c0: f44f 5200 mov.w r2, #8192 ; 0x2000 + 800d5c4: 629a str r2, [r3, #40] ; 0x28 + 800d5c6: f001 fab9 bl 800eb3c + 800d5ca: 4628 mov r0, r5 + 800d5cc: f000 fa10 bl 800d9f0 + 800d5d0: 4b7d ldr r3, [pc, #500] ; (800d7c8 ) + 800d5d2: 681b ldr r3, [r3, #0] + 800d5d4: 2b00 cmp r3, #0 + 800d5d6: d0ca beq.n 800d56e + 800d5d8: 685b ldr r3, [r3, #4] + 800d5da: e014 b.n 800d606 + 800d5dc: 4b7c ldr r3, [pc, #496] ; (800d7d0 ) + 800d5de: 487d ldr r0, [pc, #500] ; (800d7d4 ) + 800d5e0: f44f 5200 mov.w r2, #8192 ; 0x2000 + 800d5e4: 629a str r2, [r3, #40] ; 0x28 + 800d5e6: f001 faa9 bl 800eb3c + 800d5ea: 2000 movs r0, #0 + 800d5ec: f000 fa00 bl 800d9f0 + 800d5f0: f000 feb8 bl 800e364 + 800d5f4: 2801 cmp r0, #1 + 800d5f6: d101 bne.n 800d5fc + 800d5f8: f000 febd bl 800e376 + 800d5fc: 4b72 ldr r3, [pc, #456] ; (800d7c8 ) + 800d5fe: 681b ldr r3, [r3, #0] + 800d600: 2b00 cmp r3, #0 + 800d602: d0b4 beq.n 800d56e + 800d604: 681b ldr r3, [r3, #0] + 800d606: 2b00 cmp r3, #0 + 800d608: d0b1 beq.n 800d56e + 800d60a: 4798 blx r3 + 800d60c: e7af b.n 800d56e + 800d60e: 4b70 ldr r3, [pc, #448] ; (800d7d0 ) + 800d610: 4871 ldr r0, [pc, #452] ; (800d7d8 ) + 800d612: f44f 5280 mov.w r2, #4096 ; 0x1000 + 800d616: 629a str r2, [r3, #40] ; 0x28 + 800d618: f001 fa90 bl 800eb3c + 800d61c: 7865 ldrb r5, [r4, #1] + 800d61e: b995 cbnz r5, 800d646 + 800d620: 4628 mov r0, r5 + 800d622: f000 f9e5 bl 800d9f0 + 800d626: 4629 mov r1, r5 + 800d628: f640 1002 movw r0, #2306 ; 0x902 + 800d62c: f000 f8f2 bl 800d814 + 800d630: f640 1044 movw r0, #2372 ; 0x944 + 800d634: f000 f8fe bl 800d834 + 800d638: f040 0102 orr.w r1, r0, #2 + 800d63c: b2c9 uxtb r1, r1 + 800d63e: f640 1044 movw r0, #2372 ; 0x944 + 800d642: f000 f8e7 bl 800d814 + 800d646: 22ff movs r2, #255 ; 0xff + 800d648: f10d 0103 add.w r1, sp, #3 + 800d64c: 4863 ldr r0, [pc, #396] ; (800d7dc ) + 800d64e: 4d5e ldr r5, [pc, #376] ; (800d7c8 ) + 800d650: f000 fd5a bl 800e108 + 800d654: 4862 ldr r0, [pc, #392] ; (800d7e0 ) + 800d656: f000 fd71 bl 800e13c + 800d65a: 682b ldr r3, [r5, #0] + 800d65c: 2b00 cmp r3, #0 + 800d65e: d086 beq.n 800d56e + 800d660: 689e ldr r6, [r3, #8] + 800d662: 2e00 cmp r6, #0 + 800d664: d083 beq.n 800d56e + 800d666: f894 3024 ldrb.w r3, [r4, #36] ; 0x24 + 800d66a: 2b01 cmp r3, #1 + 800d66c: d108 bne.n 800d680 + 800d66e: f994 3031 ldrsb.w r3, [r4, #49] ; 0x31 + 800d672: f994 2030 ldrsb.w r2, [r4, #48] ; 0x30 800d676: f89d 1003 ldrb.w r1, [sp, #3] - 800d67a: 4853 ldr r0, [pc, #332] ; (800d7c8 ) - 800d67c: f44f 727a mov.w r2, #1000 ; 0x3e8 - 800d680: f503 73fa add.w r3, r3, #500 ; 0x1f4 - 800d684: fb93 f3f2 sdiv r3, r3, r2 - 800d688: 682a ldr r2, [r5, #0] - 800d68a: b25b sxtb r3, r3 - 800d68c: 6895 ldr r5, [r2, #8] - 800d68e: f994 2029 ldrsb.w r2, [r4, #41] ; 0x29 - 800d692: 47a8 blx r5 - 800d694: e761 b.n 800d55a - 800d696: 4628 mov r0, r5 - 800d698: f000 f9a0 bl 800d9dc - 800d69c: 4b45 ldr r3, [pc, #276] ; (800d7b4 ) - 800d69e: 681b ldr r3, [r3, #0] - 800d6a0: 2b00 cmp r3, #0 - 800d6a2: f43f af5a beq.w 800d55a - 800d6a6: 699b ldr r3, [r3, #24] - 800d6a8: 2b00 cmp r3, #0 - 800d6aa: f43f af56 beq.w 800d55a - 800d6ae: 2001 movs r0, #1 - 800d6b0: e76a b.n 800d588 - 800d6b2: f000 f89f bl 800d7f4 - 800d6b6: 2805 cmp r0, #5 - 800d6b8: f47f af4f bne.w 800d55a - 800d6bc: 4b3f ldr r3, [pc, #252] ; (800d7bc ) - 800d6be: 4841 ldr r0, [pc, #260] ; (800d7c4 ) - 800d6c0: f44f 5280 mov.w r2, #4096 ; 0x1000 - 800d6c4: 629a str r2, [r3, #40] ; 0x28 - 800d6c6: f001 fa2f bl 800eb28 - 800d6ca: 4628 mov r0, r5 - 800d6cc: f000 f986 bl 800d9dc - 800d6d0: 4b38 ldr r3, [pc, #224] ; (800d7b4 ) - 800d6d2: 681b ldr r3, [r3, #0] - 800d6d4: 2b00 cmp r3, #0 - 800d6d6: f43f af40 beq.w 800d55a - 800d6da: 68db ldr r3, [r3, #12] - 800d6dc: e789 b.n 800d5f2 - 800d6de: 2100 movs r1, #0 - 800d6e0: 4b3b ldr r3, [pc, #236] ; (800d7d0 ) - 800d6e2: 2201 movs r2, #1 - 800d6e4: 2002 movs r0, #2 - 800d6e6: f000 fef1 bl 800e4cc - 800d6ea: 6da1 ldr r1, [r4, #88] ; 0x58 - 800d6ec: 2900 cmp r1, #0 - 800d6ee: f43f af34 beq.w 800d55a - 800d6f2: f3c1 4107 ubfx r1, r1, #16, #8 - 800d6f6: f640 1003 movw r0, #2307 ; 0x903 - 800d6fa: f000 f881 bl 800d800 - 800d6fe: f894 1059 ldrb.w r1, [r4, #89] ; 0x59 - 800d702: f640 1004 movw r0, #2308 ; 0x904 - 800d706: f000 f87b bl 800d800 - 800d70a: f894 1058 ldrb.w r1, [r4, #88] ; 0x58 - 800d70e: f640 1005 movw r0, #2309 ; 0x905 - 800d712: f000 f875 bl 800d800 - 800d716: f640 1002 movw r0, #2306 ; 0x902 - 800d71a: f000 f881 bl 800d820 - 800d71e: f040 0101 orr.w r1, r0, #1 - 800d722: b2c9 uxtb r1, r1 - 800d724: f640 1002 movw r0, #2306 ; 0x902 - 800d728: f000 f86a bl 800d800 - 800d72c: 2300 movs r3, #0 - 800d72e: f240 2162 movw r1, #610 ; 0x262 - 800d732: 461a mov r2, r3 - 800d734: 4608 mov r0, r1 - 800d736: 65a3 str r3, [r4, #88] ; 0x58 - 800d738: f000 faaa bl 800dc90 - 800d73c: e70d b.n 800d55a - 800d73e: 4b25 ldr r3, [pc, #148] ; (800d7d4 ) - 800d740: 2201 movs r2, #1 - 800d742: 2100 movs r1, #0 - 800d744: 2002 movs r0, #2 - 800d746: f000 fec1 bl 800e4cc - 800d74a: f000 fdff bl 800e34c - 800d74e: 2801 cmp r0, #1 - 800d750: f47f af03 bne.w 800d55a - 800d754: f000 fe06 bl 800e364 - 800d758: e6ff b.n 800d55a - 800d75a: 4b1f ldr r3, [pc, #124] ; (800d7d8 ) - 800d75c: 2201 movs r2, #1 - 800d75e: 2100 movs r1, #0 - 800d760: 2002 movs r0, #2 - 800d762: f000 feb3 bl 800e4cc - 800d766: e6f8 b.n 800d55a - 800d768: 4816 ldr r0, [pc, #88] ; (800d7c4 ) - 800d76a: f001 f9dd bl 800eb28 - 800d76e: 7860 ldrb r0, [r4, #1] - 800d770: b908 cbnz r0, 800d776 - 800d772: f000 f933 bl 800d9dc - 800d776: 4b0f ldr r3, [pc, #60] ; (800d7b4 ) - 800d778: 681b ldr r3, [r3, #0] - 800d77a: 2b00 cmp r3, #0 - 800d77c: f43f aeed beq.w 800d55a - 800d780: 68db ldr r3, [r3, #12] - 800d782: 2b00 cmp r3, #0 - 800d784: f43f aee9 beq.w 800d55a - 800d788: 4798 blx r3 - 800d78a: 4b14 ldr r3, [pc, #80] ; (800d7dc ) - 800d78c: e7e6 b.n 800d75c - 800d78e: 4b14 ldr r3, [pc, #80] ; (800d7e0 ) - 800d790: 2201 movs r2, #1 - 800d792: 4629 mov r1, r5 - 800d794: 2002 movs r0, #2 - 800d796: f000 fe99 bl 800e4cc - 800d79a: 7860 ldrb r0, [r4, #1] - 800d79c: b908 cbnz r0, 800d7a2 - 800d79e: f000 f91d bl 800d9dc - 800d7a2: 4b04 ldr r3, [pc, #16] ; (800d7b4 ) - 800d7a4: 681b ldr r3, [r3, #0] - 800d7a6: 2b00 cmp r3, #0 - 800d7a8: f43f aed7 beq.w 800d55a - 800d7ac: 691b ldr r3, [r3, #16] - 800d7ae: e720 b.n 800d5f2 - 800d7b0: 20001ae8 .word 0x20001ae8 - 800d7b4: 20001acc .word 0x20001acc - 800d7b8: 0800f965 .word 0x0800f965 - 800d7bc: 48000400 .word 0x48000400 - 800d7c0: 20001b44 .word 0x20001b44 - 800d7c4: 20001ad0 .word 0x20001ad0 - 800d7c8: 200019cc .word 0x200019cc - 800d7cc: 20001b0c .word 0x20001b0c - 800d7d0: 0800f979 .word 0x0800f979 - 800d7d4: 0800f982 .word 0x0800f982 - 800d7d8: 0800f98c .word 0x0800f98c - 800d7dc: 0800f995 .word 0x0800f995 - 800d7e0: 0800f99e .word 0x0800f99e + 800d67a: 4858 ldr r0, [pc, #352] ; (800d7dc ) + 800d67c: 47b0 blx r6 + 800d67e: e776 b.n 800d56e + 800d680: 6be0 ldr r0, [r4, #60] ; 0x3c + 800d682: a901 add r1, sp, #4 + 800d684: f000 fe22 bl 800e2cc + 800d688: 9b01 ldr r3, [sp, #4] + 800d68a: f89d 1003 ldrb.w r1, [sp, #3] + 800d68e: 4853 ldr r0, [pc, #332] ; (800d7dc ) + 800d690: f44f 727a mov.w r2, #1000 ; 0x3e8 + 800d694: f503 73fa add.w r3, r3, #500 ; 0x1f4 + 800d698: fb93 f3f2 sdiv r3, r3, r2 + 800d69c: 682a ldr r2, [r5, #0] + 800d69e: b25b sxtb r3, r3 + 800d6a0: 6895 ldr r5, [r2, #8] + 800d6a2: f994 2029 ldrsb.w r2, [r4, #41] ; 0x29 + 800d6a6: 47a8 blx r5 + 800d6a8: e761 b.n 800d56e + 800d6aa: 4628 mov r0, r5 + 800d6ac: f000 f9a0 bl 800d9f0 + 800d6b0: 4b45 ldr r3, [pc, #276] ; (800d7c8 ) + 800d6b2: 681b ldr r3, [r3, #0] + 800d6b4: 2b00 cmp r3, #0 + 800d6b6: f43f af5a beq.w 800d56e + 800d6ba: 699b ldr r3, [r3, #24] + 800d6bc: 2b00 cmp r3, #0 + 800d6be: f43f af56 beq.w 800d56e + 800d6c2: 2001 movs r0, #1 + 800d6c4: e76a b.n 800d59c + 800d6c6: f000 f89f bl 800d808 + 800d6ca: 2805 cmp r0, #5 + 800d6cc: f47f af4f bne.w 800d56e + 800d6d0: 4b3f ldr r3, [pc, #252] ; (800d7d0 ) + 800d6d2: 4841 ldr r0, [pc, #260] ; (800d7d8 ) + 800d6d4: f44f 5280 mov.w r2, #4096 ; 0x1000 + 800d6d8: 629a str r2, [r3, #40] ; 0x28 + 800d6da: f001 fa2f bl 800eb3c + 800d6de: 4628 mov r0, r5 + 800d6e0: f000 f986 bl 800d9f0 + 800d6e4: 4b38 ldr r3, [pc, #224] ; (800d7c8 ) + 800d6e6: 681b ldr r3, [r3, #0] + 800d6e8: 2b00 cmp r3, #0 + 800d6ea: f43f af40 beq.w 800d56e + 800d6ee: 68db ldr r3, [r3, #12] + 800d6f0: e789 b.n 800d606 + 800d6f2: 2100 movs r1, #0 + 800d6f4: 4b3b ldr r3, [pc, #236] ; (800d7e4 ) + 800d6f6: 2201 movs r2, #1 + 800d6f8: 2002 movs r0, #2 + 800d6fa: f000 fef1 bl 800e4e0 + 800d6fe: 6da1 ldr r1, [r4, #88] ; 0x58 + 800d700: 2900 cmp r1, #0 + 800d702: f43f af34 beq.w 800d56e + 800d706: f3c1 4107 ubfx r1, r1, #16, #8 + 800d70a: f640 1003 movw r0, #2307 ; 0x903 + 800d70e: f000 f881 bl 800d814 + 800d712: f894 1059 ldrb.w r1, [r4, #89] ; 0x59 + 800d716: f640 1004 movw r0, #2308 ; 0x904 + 800d71a: f000 f87b bl 800d814 + 800d71e: f894 1058 ldrb.w r1, [r4, #88] ; 0x58 + 800d722: f640 1005 movw r0, #2309 ; 0x905 + 800d726: f000 f875 bl 800d814 + 800d72a: f640 1002 movw r0, #2306 ; 0x902 + 800d72e: f000 f881 bl 800d834 + 800d732: f040 0101 orr.w r1, r0, #1 + 800d736: b2c9 uxtb r1, r1 + 800d738: f640 1002 movw r0, #2306 ; 0x902 + 800d73c: f000 f86a bl 800d814 + 800d740: 2300 movs r3, #0 + 800d742: f240 2162 movw r1, #610 ; 0x262 + 800d746: 461a mov r2, r3 + 800d748: 4608 mov r0, r1 + 800d74a: 65a3 str r3, [r4, #88] ; 0x58 + 800d74c: f000 faaa bl 800dca4 + 800d750: e70d b.n 800d56e + 800d752: 4b25 ldr r3, [pc, #148] ; (800d7e8 ) + 800d754: 2201 movs r2, #1 + 800d756: 2100 movs r1, #0 + 800d758: 2002 movs r0, #2 + 800d75a: f000 fec1 bl 800e4e0 + 800d75e: f000 fdff bl 800e360 + 800d762: 2801 cmp r0, #1 + 800d764: f47f af03 bne.w 800d56e + 800d768: f000 fe06 bl 800e378 + 800d76c: e6ff b.n 800d56e + 800d76e: 4b1f ldr r3, [pc, #124] ; (800d7ec ) + 800d770: 2201 movs r2, #1 + 800d772: 2100 movs r1, #0 + 800d774: 2002 movs r0, #2 + 800d776: f000 feb3 bl 800e4e0 + 800d77a: e6f8 b.n 800d56e + 800d77c: 4816 ldr r0, [pc, #88] ; (800d7d8 ) + 800d77e: f001 f9dd bl 800eb3c + 800d782: 7860 ldrb r0, [r4, #1] + 800d784: b908 cbnz r0, 800d78a + 800d786: f000 f933 bl 800d9f0 + 800d78a: 4b0f ldr r3, [pc, #60] ; (800d7c8 ) + 800d78c: 681b ldr r3, [r3, #0] + 800d78e: 2b00 cmp r3, #0 + 800d790: f43f aeed beq.w 800d56e + 800d794: 68db ldr r3, [r3, #12] + 800d796: 2b00 cmp r3, #0 + 800d798: f43f aee9 beq.w 800d56e + 800d79c: 4798 blx r3 + 800d79e: 4b14 ldr r3, [pc, #80] ; (800d7f0 ) + 800d7a0: e7e6 b.n 800d770 + 800d7a2: 4b14 ldr r3, [pc, #80] ; (800d7f4 ) + 800d7a4: 2201 movs r2, #1 + 800d7a6: 4629 mov r1, r5 + 800d7a8: 2002 movs r0, #2 + 800d7aa: f000 fe99 bl 800e4e0 + 800d7ae: 7860 ldrb r0, [r4, #1] + 800d7b0: b908 cbnz r0, 800d7b6 + 800d7b2: f000 f91d bl 800d9f0 + 800d7b6: 4b04 ldr r3, [pc, #16] ; (800d7c8 ) + 800d7b8: 681b ldr r3, [r3, #0] + 800d7ba: 2b00 cmp r3, #0 + 800d7bc: f43f aed7 beq.w 800d56e + 800d7c0: 691b ldr r3, [r3, #16] + 800d7c2: e720 b.n 800d606 + 800d7c4: 20001ae8 .word 0x20001ae8 + 800d7c8: 20001acc .word 0x20001acc + 800d7cc: 0800f975 .word 0x0800f975 + 800d7d0: 48000400 .word 0x48000400 + 800d7d4: 20001b44 .word 0x20001b44 + 800d7d8: 20001ad0 .word 0x20001ad0 + 800d7dc: 200019cc .word 0x200019cc + 800d7e0: 20001b0c .word 0x20001b0c + 800d7e4: 0800f989 .word 0x0800f989 + 800d7e8: 0800f992 .word 0x0800f992 + 800d7ec: 0800f99c .word 0x0800f99c + 800d7f0: 0800f9a5 .word 0x0800f9a5 + 800d7f4: 0800f9ae .word 0x0800f9ae -0800d7e4 : - 800d7e4: 4b02 ldr r3, [pc, #8] ; (800d7f0 ) - 800d7e6: f8a3 0054 strh.w r0, [r3, #84] ; 0x54 - 800d7ea: f7ff be97 b.w 800d51c - 800d7ee: bf00 nop - 800d7f0: 20001ae8 .word 0x20001ae8 +0800d7f8 : + 800d7f8: 4b02 ldr r3, [pc, #8] ; (800d804 ) + 800d7fa: f8a3 0054 strh.w r0, [r3, #84] ; 0x54 + 800d7fe: f7ff be97 b.w 800d530 + 800d802: bf00 nop + 800d804: 20001ae8 .word 0x20001ae8 -0800d7f4 : - 800d7f4: 4b01 ldr r3, [pc, #4] ; (800d7fc ) - 800d7f6: 7818 ldrb r0, [r3, #0] - 800d7f8: 4770 bx lr - 800d7fa: bf00 nop - 800d7fc: 20001b62 .word 0x20001b62 +0800d808 : + 800d808: 4b01 ldr r3, [pc, #4] ; (800d810 ) + 800d80a: 7818 ldrb r0, [r3, #0] + 800d80c: 4770 bx lr + 800d80e: bf00 nop + 800d810: 20001b62 .word 0x20001b62 -0800d800 : - 800d800: b507 push {r0, r1, r2, lr} - 800d802: 2301 movs r3, #1 - 800d804: f88d 1007 strb.w r1, [sp, #7] - 800d808: f10d 0207 add.w r2, sp, #7 - 800d80c: 4601 mov r1, r0 - 800d80e: 4803 ldr r0, [pc, #12] ; (800d81c ) - 800d810: f7f7 f874 bl 80048fc - 800d814: b003 add sp, #12 - 800d816: f85d fb04 ldr.w pc, [sp], #4 - 800d81a: bf00 nop - 800d81c: 200001c4 .word 0x200001c4 +0800d814 : + 800d814: b507 push {r0, r1, r2, lr} + 800d816: 2301 movs r3, #1 + 800d818: f88d 1007 strb.w r1, [sp, #7] + 800d81c: f10d 0207 add.w r2, sp, #7 + 800d820: 4601 mov r1, r0 + 800d822: 4803 ldr r0, [pc, #12] ; (800d830 ) + 800d824: f7f7 f874 bl 8004910 + 800d828: b003 add sp, #12 + 800d82a: f85d fb04 ldr.w pc, [sp], #4 + 800d82e: bf00 nop + 800d830: 200001c4 .word 0x200001c4 -0800d820 : - 800d820: b507 push {r0, r1, r2, lr} - 800d822: 2301 movs r3, #1 - 800d824: 4601 mov r1, r0 - 800d826: f10d 0207 add.w r2, sp, #7 - 800d82a: 4804 ldr r0, [pc, #16] ; (800d83c ) - 800d82c: f7f7 f89f bl 800496e - 800d830: f89d 0007 ldrb.w r0, [sp, #7] - 800d834: b003 add sp, #12 - 800d836: f85d fb04 ldr.w pc, [sp], #4 - 800d83a: bf00 nop - 800d83c: 200001c4 .word 0x200001c4 +0800d834 : + 800d834: b507 push {r0, r1, r2, lr} + 800d836: 2301 movs r3, #1 + 800d838: 4601 mov r1, r0 + 800d83a: f10d 0207 add.w r2, sp, #7 + 800d83e: 4804 ldr r0, [pc, #16] ; (800d850 ) + 800d840: f7f7 f89f bl 8004982 + 800d844: f89d 0007 ldrb.w r0, [sp, #7] + 800d848: b003 add sp, #12 + 800d84a: f85d fb04 ldr.w pc, [sp], #4 + 800d84e: bf00 nop + 800d850: 200001c4 .word 0x200001c4 -0800d840 : - 800d840: b510 push {r4, lr} - 800d842: 4604 mov r4, r0 - 800d844: f7f4 fdb8 bl 80023b8 - 800d848: 2801 cmp r0, #1 - 800d84a: d10c bne.n 800d866 - 800d84c: f640 1023 movw r0, #2339 ; 0x923 - 800d850: f7ff ffe6 bl 800d820 - 800d854: f000 01f9 and.w r1, r0, #249 ; 0xf9 - 800d858: 4321 orrs r1, r4 - 800d85a: f640 1023 movw r0, #2339 ; 0x923 - 800d85e: e8bd 4010 ldmia.w sp!, {r4, lr} - 800d862: f7ff bfcd b.w 800d800 - 800d866: bd10 pop {r4, pc} +0800d854 : + 800d854: b510 push {r4, lr} + 800d856: 4604 mov r4, r0 + 800d858: f7f4 fdb8 bl 80023cc + 800d85c: 2801 cmp r0, #1 + 800d85e: d10c bne.n 800d87a + 800d860: f640 1023 movw r0, #2339 ; 0x923 + 800d864: f7ff ffe6 bl 800d834 + 800d868: f000 01f9 and.w r1, r0, #249 ; 0xf9 + 800d86c: 4321 orrs r1, r4 + 800d86e: f640 1023 movw r0, #2339 ; 0x923 + 800d872: e8bd 4010 ldmia.w sp!, {r4, lr} + 800d876: f7ff bfcd b.w 800d814 + 800d87a: bd10 pop {r4, pc} -0800d868 : - 800d868: b510 push {r4, lr} - 800d86a: 4b0c ldr r3, [pc, #48] ; (800d89c ) - 800d86c: 781b ldrb r3, [r3, #0] - 800d86e: 4604 mov r4, r0 - 800d870: b99b cbnz r3, 800d89a - 800d872: f44f 60d7 mov.w r0, #1720 ; 0x6b8 - 800d876: f7ff ffd3 bl 800d820 - 800d87a: f3c4 2100 ubfx r1, r4, #8, #1 - 800d87e: f000 00fe and.w r0, r0, #254 ; 0xfe - 800d882: 4301 orrs r1, r0 - 800d884: f44f 60d7 mov.w r0, #1720 ; 0x6b8 - 800d888: f7ff ffba bl 800d800 - 800d88c: b2e1 uxtb r1, r4 - 800d88e: f240 60b9 movw r0, #1721 ; 0x6b9 - 800d892: e8bd 4010 ldmia.w sp!, {r4, lr} - 800d896: f7ff bfb3 b.w 800d800 - 800d89a: bd10 pop {r4, pc} - 800d89c: 20001b63 .word 0x20001b63 +0800d87c : + 800d87c: b510 push {r4, lr} + 800d87e: 4b0c ldr r3, [pc, #48] ; (800d8b0 ) + 800d880: 781b ldrb r3, [r3, #0] + 800d882: 4604 mov r4, r0 + 800d884: b99b cbnz r3, 800d8ae + 800d886: f44f 60d7 mov.w r0, #1720 ; 0x6b8 + 800d88a: f7ff ffd3 bl 800d834 + 800d88e: f3c4 2100 ubfx r1, r4, #8, #1 + 800d892: f000 00fe and.w r0, r0, #254 ; 0xfe + 800d896: 4301 orrs r1, r0 + 800d898: f44f 60d7 mov.w r0, #1720 ; 0x6b8 + 800d89c: f7ff ffba bl 800d814 + 800d8a0: b2e1 uxtb r1, r4 + 800d8a2: f240 60b9 movw r0, #1721 ; 0x6b9 + 800d8a6: e8bd 4010 ldmia.w sp!, {r4, lr} + 800d8aa: f7ff bfb3 b.w 800d814 + 800d8ae: bd10 pop {r4, pc} + 800d8b0: 20001b63 .word 0x20001b63 -0800d8a0 : - 800d8a0: b510 push {r4, lr} - 800d8a2: 4613 mov r3, r2 - 800d8a4: f3ef 8410 mrs r4, PRIMASK - 800d8a8: b672 cpsid i - 800d8aa: 460a mov r2, r1 - 800d8ac: 4601 mov r1, r0 - 800d8ae: 4803 ldr r0, [pc, #12] ; (800d8bc ) - 800d8b0: f7f7 f824 bl 80048fc - 800d8b4: f384 8810 msr PRIMASK, r4 - 800d8b8: bd10 pop {r4, pc} - 800d8ba: bf00 nop - 800d8bc: 200001c4 .word 0x200001c4 +0800d8b4 : + 800d8b4: b510 push {r4, lr} + 800d8b6: 4613 mov r3, r2 + 800d8b8: f3ef 8410 mrs r4, PRIMASK + 800d8bc: b672 cpsid i + 800d8be: 460a mov r2, r1 + 800d8c0: 4601 mov r1, r0 + 800d8c2: 4803 ldr r0, [pc, #12] ; (800d8d0 ) + 800d8c4: f7f7 f824 bl 8004910 + 800d8c8: f384 8810 msr PRIMASK, r4 + 800d8cc: bd10 pop {r4, pc} + 800d8ce: bf00 nop + 800d8d0: 200001c4 .word 0x200001c4 -0800d8c0 : - 800d8c0: b508 push {r3, lr} - 800d8c2: 4601 mov r1, r0 - 800d8c4: 2208 movs r2, #8 - 800d8c6: f44f 60d8 mov.w r0, #1728 ; 0x6c0 - 800d8ca: f7ff ffe9 bl 800d8a0 - 800d8ce: 2000 movs r0, #0 - 800d8d0: bd08 pop {r3, pc} +0800d8d4 : + 800d8d4: b508 push {r3, lr} + 800d8d6: 4601 mov r1, r0 + 800d8d8: 2208 movs r2, #8 + 800d8da: f44f 60d8 mov.w r0, #1728 ; 0x6c0 + 800d8de: f7ff ffe9 bl 800d8b4 + 800d8e2: 2000 movs r0, #0 + 800d8e4: bd08 pop {r3, pc} ... -0800d8d4 : - 800d8d4: b507 push {r0, r1, r2, lr} - 800d8d6: 4b07 ldr r3, [pc, #28] ; (800d8f4 ) - 800d8d8: 781b ldrb r3, [r3, #0] - 800d8da: ba40 rev16 r0, r0 - 800d8dc: f8ad 0004 strh.w r0, [sp, #4] - 800d8e0: b92b cbnz r3, 800d8ee - 800d8e2: 2202 movs r2, #2 - 800d8e4: a901 add r1, sp, #4 - 800d8e6: f240 60bc movw r0, #1724 ; 0x6bc - 800d8ea: f7ff ffd9 bl 800d8a0 - 800d8ee: b003 add sp, #12 - 800d8f0: f85d fb04 ldr.w pc, [sp], #4 - 800d8f4: 20001b63 .word 0x20001b63 +0800d8e8 : + 800d8e8: b507 push {r0, r1, r2, lr} + 800d8ea: 4b07 ldr r3, [pc, #28] ; (800d908 ) + 800d8ec: 781b ldrb r3, [r3, #0] + 800d8ee: ba40 rev16 r0, r0 + 800d8f0: f8ad 0004 strh.w r0, [sp, #4] + 800d8f4: b92b cbnz r3, 800d902 + 800d8f6: 2202 movs r2, #2 + 800d8f8: a901 add r1, sp, #4 + 800d8fa: f240 60bc movw r0, #1724 ; 0x6bc + 800d8fe: f7ff ffd9 bl 800d8b4 + 800d902: b003 add sp, #12 + 800d904: f85d fb04 ldr.w pc, [sp], #4 + 800d908: 20001b63 .word 0x20001b63 -0800d8f8 : - 800d8f8: b507 push {r0, r1, r2, lr} - 800d8fa: 4b07 ldr r3, [pc, #28] ; (800d918 ) - 800d8fc: 781b ldrb r3, [r3, #0] - 800d8fe: ba40 rev16 r0, r0 - 800d900: f8ad 0004 strh.w r0, [sp, #4] - 800d904: b92b cbnz r3, 800d912 - 800d906: 2202 movs r2, #2 - 800d908: a901 add r1, sp, #4 - 800d90a: f240 60be movw r0, #1726 ; 0x6be - 800d90e: f7ff ffc7 bl 800d8a0 - 800d912: b003 add sp, #12 - 800d914: f85d fb04 ldr.w pc, [sp], #4 - 800d918: 20001b63 .word 0x20001b63 +0800d90c : + 800d90c: b507 push {r0, r1, r2, lr} + 800d90e: 4b07 ldr r3, [pc, #28] ; (800d92c ) + 800d910: 781b ldrb r3, [r3, #0] + 800d912: ba40 rev16 r0, r0 + 800d914: f8ad 0004 strh.w r0, [sp, #4] + 800d918: b92b cbnz r3, 800d926 + 800d91a: 2202 movs r2, #2 + 800d91c: a901 add r1, sp, #4 + 800d91e: f240 60be movw r0, #1726 ; 0x6be + 800d922: f7ff ffc7 bl 800d8b4 + 800d926: b003 add sp, #12 + 800d928: f85d fb04 ldr.w pc, [sp], #4 + 800d92c: 20001b63 .word 0x20001b63 -0800d91c : - 800d91c: b510 push {r4, lr} - 800d91e: 4613 mov r3, r2 - 800d920: f3ef 8410 mrs r4, PRIMASK - 800d924: b672 cpsid i - 800d926: 460a mov r2, r1 - 800d928: 4601 mov r1, r0 - 800d92a: 4803 ldr r0, [pc, #12] ; (800d938 ) - 800d92c: f7f7 f81f bl 800496e - 800d930: f384 8810 msr PRIMASK, r4 - 800d934: bd10 pop {r4, pc} - 800d936: bf00 nop - 800d938: 200001c4 .word 0x200001c4 +0800d930 : + 800d930: b510 push {r4, lr} + 800d932: 4613 mov r3, r2 + 800d934: f3ef 8410 mrs r4, PRIMASK + 800d938: b672 cpsid i + 800d93a: 460a mov r2, r1 + 800d93c: 4601 mov r1, r0 + 800d93e: 4803 ldr r0, [pc, #12] ; (800d94c ) + 800d940: f7f7 f81f bl 8004982 + 800d944: f384 8810 msr PRIMASK, r4 + 800d948: bd10 pop {r4, pc} + 800d94a: bf00 nop + 800d94c: 200001c4 .word 0x200001c4 -0800d93c : - 800d93c: b510 push {r4, lr} - 800d93e: 4613 mov r3, r2 - 800d940: f3ef 8410 mrs r4, PRIMASK - 800d944: b672 cpsid i - 800d946: 460a mov r2, r1 - 800d948: 4601 mov r1, r0 - 800d94a: 4803 ldr r0, [pc, #12] ; (800d958 ) - 800d94c: f7f7 f901 bl 8004b52 - 800d950: f384 8810 msr PRIMASK, r4 - 800d954: bd10 pop {r4, pc} - 800d956: bf00 nop - 800d958: 200001c4 .word 0x200001c4 +0800d950 : + 800d950: b510 push {r4, lr} + 800d952: 4613 mov r3, r2 + 800d954: f3ef 8410 mrs r4, PRIMASK + 800d958: b672 cpsid i + 800d95a: 460a mov r2, r1 + 800d95c: 4601 mov r1, r0 + 800d95e: 4803 ldr r0, [pc, #12] ; (800d96c ) + 800d960: f7f7 f901 bl 8004b66 + 800d964: f384 8810 msr PRIMASK, r4 + 800d968: bd10 pop {r4, pc} + 800d96a: bf00 nop + 800d96c: 200001c4 .word 0x200001c4 -0800d95c : - 800d95c: 460a mov r2, r1 - 800d95e: 4601 mov r1, r0 - 800d960: 2000 movs r0, #0 - 800d962: f7ff bfeb b.w 800d93c +0800d970 : + 800d970: 460a mov r2, r1 + 800d972: 4601 mov r1, r0 + 800d974: 2000 movs r0, #0 + 800d976: f7ff bfeb b.w 800d950 ... -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 f91e bl 8004bb8 - 800d97c: f384 8810 msr PRIMASK, r4 - 800d980: bd10 pop {r4, pc} - 800d982: bf00 nop - 800d984: 200001c4 .word 0x200001c4 +0800d97c : + 800d97c: b510 push {r4, lr} + 800d97e: 4613 mov r3, r2 + 800d980: f3ef 8410 mrs r4, PRIMASK + 800d984: b672 cpsid i + 800d986: 460a mov r2, r1 + 800d988: 4601 mov r1, r0 + 800d98a: 4803 ldr r0, [pc, #12] ; (800d998 ) + 800d98c: f7f7 f91e bl 8004bcc + 800d990: f384 8810 msr PRIMASK, r4 + 800d994: bd10 pop {r4, pc} + 800d996: bf00 nop + 800d998: 200001c4 .word 0x200001c4 -0800d988 : - 800d988: b510 push {r4, lr} - 800d98a: 4613 mov r3, r2 - 800d98c: f3ef 8410 mrs r4, PRIMASK - 800d990: b672 cpsid i - 800d992: 460a mov r2, r1 - 800d994: 4601 mov r1, r0 - 800d996: 4803 ldr r0, [pc, #12] ; (800d9a4 ) - 800d998: f7f7 f824 bl 80049e4 - 800d99c: f384 8810 msr PRIMASK, r4 - 800d9a0: bd10 pop {r4, pc} - 800d9a2: bf00 nop - 800d9a4: 200001c4 .word 0x200001c4 +0800d99c : + 800d99c: b510 push {r4, lr} + 800d99e: 4613 mov r3, r2 + 800d9a0: f3ef 8410 mrs r4, PRIMASK + 800d9a4: b672 cpsid i + 800d9a6: 460a mov r2, r1 + 800d9a8: 4601 mov r1, r0 + 800d9aa: 4803 ldr r0, [pc, #12] ; (800d9b8 ) + 800d9ac: f7f7 f824 bl 80049f8 + 800d9b0: f384 8810 msr PRIMASK, r4 + 800d9b4: bd10 pop {r4, pc} + 800d9b6: bf00 nop + 800d9b8: 200001c4 .word 0x200001c4 -0800d9a8 : - 800d9a8: b513 push {r0, r1, r4, lr} - 800d9aa: 4604 mov r4, r0 - 800d9ac: 2000 movs r0, #0 - 800d9ae: f7f4 fcdd bl 800236c - 800d9b2: 2002 movs r0, #2 - 800d9b4: f7ff ff44 bl 800d840 - 800d9b8: f004 0407 and.w r4, r4, #7 - 800d9bc: 2201 movs r2, #1 - 800d9be: f10d 0107 add.w r1, sp, #7 - 800d9c2: 2084 movs r0, #132 ; 0x84 - 800d9c4: f88d 4007 strb.w r4, [sp, #7] - 800d9c8: f7ff ffde bl 800d988 - 800d9cc: 4b02 ldr r3, [pc, #8] ; (800d9d8 ) - 800d9ce: 2200 movs r2, #0 - 800d9d0: 701a strb r2, [r3, #0] - 800d9d2: b002 add sp, #8 - 800d9d4: bd10 pop {r4, pc} - 800d9d6: bf00 nop - 800d9d8: 20001b62 .word 0x20001b62 +0800d9bc : + 800d9bc: b513 push {r0, r1, r4, lr} + 800d9be: 4604 mov r4, r0 + 800d9c0: 2000 movs r0, #0 + 800d9c2: f7f4 fcdd bl 8002380 + 800d9c6: 2002 movs r0, #2 + 800d9c8: f7ff ff44 bl 800d854 + 800d9cc: f004 0407 and.w r4, r4, #7 + 800d9d0: 2201 movs r2, #1 + 800d9d2: f10d 0107 add.w r1, sp, #7 + 800d9d6: 2084 movs r0, #132 ; 0x84 + 800d9d8: f88d 4007 strb.w r4, [sp, #7] + 800d9dc: f7ff ffde bl 800d99c + 800d9e0: 4b02 ldr r3, [pc, #8] ; (800d9ec ) + 800d9e2: 2200 movs r2, #0 + 800d9e4: 701a strb r2, [r3, #0] + 800d9e6: b002 add sp, #8 + 800d9e8: bd10 pop {r4, pc} + 800d9ea: bf00 nop + 800d9ec: 20001b62 .word 0x20001b62 -0800d9dc : - 800d9dc: b507 push {r0, r1, r2, lr} - 800d9de: 2201 movs r2, #1 - 800d9e0: f88d 0007 strb.w r0, [sp, #7] - 800d9e4: f10d 0107 add.w r1, sp, #7 - 800d9e8: 2080 movs r0, #128 ; 0x80 - 800d9ea: f7ff ffcd bl 800d988 - 800d9ee: f89d 3007 ldrb.w r3, [sp, #7] - 800d9f2: 2b00 cmp r3, #0 - 800d9f4: 4b03 ldr r3, [pc, #12] ; (800da04 ) - 800d9f6: bf0c ite eq - 800d9f8: 2201 moveq r2, #1 - 800d9fa: 2202 movne r2, #2 - 800d9fc: 701a strb r2, [r3, #0] - 800d9fe: b003 add sp, #12 - 800da00: f85d fb04 ldr.w pc, [sp], #4 - 800da04: 20001b62 .word 0x20001b62 +0800d9f0 : + 800d9f0: b507 push {r0, r1, r2, lr} + 800d9f2: 2201 movs r2, #1 + 800d9f4: f88d 0007 strb.w r0, [sp, #7] + 800d9f8: f10d 0107 add.w r1, sp, #7 + 800d9fc: 2080 movs r0, #128 ; 0x80 + 800d9fe: f7ff ffcd bl 800d99c + 800da02: f89d 3007 ldrb.w r3, [sp, #7] + 800da06: 2b00 cmp r3, #0 + 800da08: 4b03 ldr r3, [pc, #12] ; (800da18 ) + 800da0a: bf0c ite eq + 800da0c: 2201 moveq r2, #1 + 800da0e: 2202 movne r2, #2 + 800da10: 701a strb r2, [r3, #0] + 800da12: b003 add sp, #12 + 800da14: f85d fb04 ldr.w pc, [sp], #4 + 800da18: 20001b62 .word 0x20001b62 -0800da08 : - 800da08: b507 push {r0, r1, r2, lr} - 800da0a: 4b09 ldr r3, [pc, #36] ; (800da30 ) - 800da0c: f88d 0006 strb.w r0, [sp, #6] - 800da10: 2204 movs r2, #4 - 800da12: 701a strb r2, [r3, #0] - 800da14: 0c03 lsrs r3, r0, #16 - 800da16: f88d 3004 strb.w r3, [sp, #4] - 800da1a: 2203 movs r2, #3 - 800da1c: 0a03 lsrs r3, r0, #8 - 800da1e: a901 add r1, sp, #4 - 800da20: 2083 movs r0, #131 ; 0x83 - 800da22: f88d 3005 strb.w r3, [sp, #5] - 800da26: f7ff ffaf bl 800d988 - 800da2a: b003 add sp, #12 - 800da2c: f85d fb04 ldr.w pc, [sp], #4 - 800da30: 20001b62 .word 0x20001b62 +0800da1c : + 800da1c: b507 push {r0, r1, r2, lr} + 800da1e: 4b09 ldr r3, [pc, #36] ; (800da44 ) + 800da20: f88d 0006 strb.w r0, [sp, #6] + 800da24: 2204 movs r2, #4 + 800da26: 701a strb r2, [r3, #0] + 800da28: 0c03 lsrs r3, r0, #16 + 800da2a: f88d 3004 strb.w r3, [sp, #4] + 800da2e: 2203 movs r2, #3 + 800da30: 0a03 lsrs r3, r0, #8 + 800da32: a901 add r1, sp, #4 + 800da34: 2083 movs r0, #131 ; 0x83 + 800da36: f88d 3005 strb.w r3, [sp, #5] + 800da3a: f7ff ffaf bl 800d99c + 800da3e: b003 add sp, #12 + 800da40: f85d fb04 ldr.w pc, [sp], #4 + 800da44: 20001b62 .word 0x20001b62 -0800da34 : - 800da34: b510 push {r4, lr} - 800da36: 4614 mov r4, r2 - 800da38: f7ff ff90 bl 800d95c - 800da3c: 4620 mov r0, r4 - 800da3e: e8bd 4010 ldmia.w sp!, {r4, lr} - 800da42: f7ff bfe1 b.w 800da08 +0800da48 : + 800da48: b510 push {r4, lr} + 800da4a: 4614 mov r4, r2 + 800da4c: f7ff ff90 bl 800d970 + 800da50: 4620 mov r0, r4 + 800da52: e8bd 4010 ldmia.w sp!, {r4, lr} + 800da56: f7ff bfe1 b.w 800da1c ... -0800da48 : - 800da48: b507 push {r0, r1, r2, lr} - 800da4a: 4b09 ldr r3, [pc, #36] ; (800da70 ) - 800da4c: f88d 0006 strb.w r0, [sp, #6] - 800da50: 2205 movs r2, #5 - 800da52: 701a strb r2, [r3, #0] - 800da54: 0c03 lsrs r3, r0, #16 - 800da56: f88d 3004 strb.w r3, [sp, #4] - 800da5a: 2203 movs r2, #3 - 800da5c: 0a03 lsrs r3, r0, #8 - 800da5e: a901 add r1, sp, #4 - 800da60: 2082 movs r0, #130 ; 0x82 - 800da62: f88d 3005 strb.w r3, [sp, #5] - 800da66: f7ff ff8f bl 800d988 - 800da6a: b003 add sp, #12 - 800da6c: f85d fb04 ldr.w pc, [sp], #4 - 800da70: 20001b62 .word 0x20001b62 +0800da5c : + 800da5c: b507 push {r0, r1, r2, lr} + 800da5e: 4b09 ldr r3, [pc, #36] ; (800da84 ) + 800da60: f88d 0006 strb.w r0, [sp, #6] + 800da64: 2205 movs r2, #5 + 800da66: 701a strb r2, [r3, #0] + 800da68: 0c03 lsrs r3, r0, #16 + 800da6a: f88d 3004 strb.w r3, [sp, #4] + 800da6e: 2203 movs r2, #3 + 800da70: 0a03 lsrs r3, r0, #8 + 800da72: a901 add r1, sp, #4 + 800da74: 2082 movs r0, #130 ; 0x82 + 800da76: f88d 3005 strb.w r3, [sp, #5] + 800da7a: f7ff ff8f bl 800d99c + 800da7e: b003 add sp, #12 + 800da80: f85d fb04 ldr.w pc, [sp], #4 + 800da84: 20001b62 .word 0x20001b62 -0800da74 : - 800da74: b573 push {r0, r1, r4, r5, r6, lr} - 800da76: 2600 movs r6, #0 - 800da78: f640 00e2 movw r0, #2274 ; 0x8e2 - 800da7c: 9601 str r6, [sp, #4] - 800da7e: f7ff fecf bl 800d820 - 800da82: f000 01fe and.w r1, r0, #254 ; 0xfe - 800da86: 4605 mov r5, r0 - 800da88: f640 00e2 movw r0, #2274 ; 0x8e2 - 800da8c: f7ff feb8 bl 800d800 - 800da90: f640 00e5 movw r0, #2277 ; 0x8e5 - 800da94: f7ff fec4 bl 800d820 - 800da98: f000 017f and.w r1, r0, #127 ; 0x7f - 800da9c: 4604 mov r4, r0 - 800da9e: f640 00e5 movw r0, #2277 ; 0x8e5 - 800daa2: f7ff fead bl 800d800 - 800daa6: f06f 407f mvn.w r0, #4278190080 ; 0xff000000 - 800daaa: f7ff ffcd bl 800da48 - 800daae: 2204 movs r2, #4 - 800dab0: eb0d 0102 add.w r1, sp, r2 - 800dab4: f640 0019 movw r0, #2073 ; 0x819 - 800dab8: f7ff ff30 bl 800d91c - 800dabc: 4630 mov r0, r6 - 800dabe: f7ff ff8d bl 800d9dc - 800dac2: 4629 mov r1, r5 - 800dac4: f640 00e2 movw r0, #2274 ; 0x8e2 - 800dac8: f7ff fe9a bl 800d800 - 800dacc: 4621 mov r1, r4 - 800dace: f640 00e5 movw r0, #2277 ; 0x8e5 - 800dad2: f7ff fe95 bl 800d800 - 800dad6: 9801 ldr r0, [sp, #4] - 800dad8: b002 add sp, #8 - 800dada: bd70 pop {r4, r5, r6, pc} +0800da88 : + 800da88: b573 push {r0, r1, r4, r5, r6, lr} + 800da8a: 2600 movs r6, #0 + 800da8c: f640 00e2 movw r0, #2274 ; 0x8e2 + 800da90: 9601 str r6, [sp, #4] + 800da92: f7ff fecf bl 800d834 + 800da96: f000 01fe and.w r1, r0, #254 ; 0xfe + 800da9a: 4605 mov r5, r0 + 800da9c: f640 00e2 movw r0, #2274 ; 0x8e2 + 800daa0: f7ff feb8 bl 800d814 + 800daa4: f640 00e5 movw r0, #2277 ; 0x8e5 + 800daa8: f7ff fec4 bl 800d834 + 800daac: f000 017f and.w r1, r0, #127 ; 0x7f + 800dab0: 4604 mov r4, r0 + 800dab2: f640 00e5 movw r0, #2277 ; 0x8e5 + 800dab6: f7ff fead bl 800d814 + 800daba: f06f 407f mvn.w r0, #4278190080 ; 0xff000000 + 800dabe: f7ff ffcd bl 800da5c + 800dac2: 2204 movs r2, #4 + 800dac4: eb0d 0102 add.w r1, sp, r2 + 800dac8: f640 0019 movw r0, #2073 ; 0x819 + 800dacc: f7ff ff30 bl 800d930 + 800dad0: 4630 mov r0, r6 + 800dad2: f7ff ff8d bl 800d9f0 + 800dad6: 4629 mov r1, r5 + 800dad8: f640 00e2 movw r0, #2274 ; 0x8e2 + 800dadc: f7ff fe9a bl 800d814 + 800dae0: 4621 mov r1, r4 + 800dae2: f640 00e5 movw r0, #2277 ; 0x8e5 + 800dae6: f7ff fe95 bl 800d814 + 800daea: 9801 ldr r0, [sp, #4] + 800daec: b002 add sp, #8 + 800daee: bd70 pop {r4, r5, r6, pc} -0800dadc : - 800dadc: b513 push {r0, r1, r4, lr} - 800dade: 4b0c ldr r3, [pc, #48] ; (800db10 ) - 800dae0: 4604 mov r4, r0 - 800dae2: 2205 movs r2, #5 - 800dae4: 2197 movs r1, #151 ; 0x97 - 800dae6: f640 00ac movw r0, #2220 ; 0x8ac - 800daea: 701a strb r2, [r3, #0] - 800daec: f7ff fe88 bl 800d800 - 800daf0: 0c23 lsrs r3, r4, #16 - 800daf2: f88d 3004 strb.w r3, [sp, #4] - 800daf6: 2203 movs r2, #3 - 800daf8: 0a23 lsrs r3, r4, #8 - 800dafa: a901 add r1, sp, #4 - 800dafc: 2082 movs r0, #130 ; 0x82 - 800dafe: f88d 3005 strb.w r3, [sp, #5] - 800db02: f88d 4006 strb.w r4, [sp, #6] - 800db06: f7ff ff3f bl 800d988 - 800db0a: b002 add sp, #8 - 800db0c: bd10 pop {r4, pc} - 800db0e: bf00 nop - 800db10: 20001b62 .word 0x20001b62 +0800daf0 : + 800daf0: b513 push {r0, r1, r4, lr} + 800daf2: 4b0c ldr r3, [pc, #48] ; (800db24 ) + 800daf4: 4604 mov r4, r0 + 800daf6: 2205 movs r2, #5 + 800daf8: 2197 movs r1, #151 ; 0x97 + 800dafa: f640 00ac movw r0, #2220 ; 0x8ac + 800dafe: 701a strb r2, [r3, #0] + 800db00: f7ff fe88 bl 800d814 + 800db04: 0c23 lsrs r3, r4, #16 + 800db06: f88d 3004 strb.w r3, [sp, #4] + 800db0a: 2203 movs r2, #3 + 800db0c: 0a23 lsrs r3, r4, #8 + 800db0e: a901 add r1, sp, #4 + 800db10: 2082 movs r0, #130 ; 0x82 + 800db12: f88d 3005 strb.w r3, [sp, #5] + 800db16: f88d 4006 strb.w r4, [sp, #6] + 800db1a: f7ff ff3f bl 800d99c + 800db1e: b002 add sp, #8 + 800db20: bd10 pop {r4, pc} + 800db22: bf00 nop + 800db24: 20001b62 .word 0x20001b62 -0800db14 : - 800db14: b507 push {r0, r1, r2, lr} - 800db16: 0c03 lsrs r3, r0, #16 - 800db18: f88d 3000 strb.w r3, [sp] - 800db1c: 0a03 lsrs r3, r0, #8 - 800db1e: f88d 3001 strb.w r3, [sp, #1] - 800db22: 0c0b lsrs r3, r1, #16 - 800db24: ba49 rev16 r1, r1 - 800db26: f88d 0002 strb.w r0, [sp, #2] - 800db2a: f8ad 1004 strh.w r1, [sp, #4] - 800db2e: 2206 movs r2, #6 - 800db30: 4669 mov r1, sp - 800db32: 2094 movs r0, #148 ; 0x94 - 800db34: f88d 3003 strb.w r3, [sp, #3] - 800db38: f7ff ff26 bl 800d988 - 800db3c: 4b02 ldr r3, [pc, #8] ; (800db48 ) - 800db3e: 2206 movs r2, #6 - 800db40: 701a strb r2, [r3, #0] - 800db42: b003 add sp, #12 - 800db44: f85d fb04 ldr.w pc, [sp], #4 - 800db48: 20001b62 .word 0x20001b62 +0800db28 : + 800db28: b507 push {r0, r1, r2, lr} + 800db2a: 0c03 lsrs r3, r0, #16 + 800db2c: f88d 3000 strb.w r3, [sp] + 800db30: 0a03 lsrs r3, r0, #8 + 800db32: f88d 3001 strb.w r3, [sp, #1] + 800db36: 0c0b lsrs r3, r1, #16 + 800db38: ba49 rev16 r1, r1 + 800db3a: f88d 0002 strb.w r0, [sp, #2] + 800db3e: f8ad 1004 strh.w r1, [sp, #4] + 800db42: 2206 movs r2, #6 + 800db44: 4669 mov r1, sp + 800db46: 2094 movs r0, #148 ; 0x94 + 800db48: f88d 3003 strb.w r3, [sp, #3] + 800db4c: f7ff ff26 bl 800d99c + 800db50: 4b02 ldr r3, [pc, #8] ; (800db5c ) + 800db52: 2206 movs r2, #6 + 800db54: 701a strb r2, [r3, #0] + 800db56: b003 add sp, #12 + 800db58: f85d fb04 ldr.w pc, [sp], #4 + 800db5c: 20001b62 .word 0x20001b62 -0800db4c : - 800db4c: 2200 movs r2, #0 - 800db4e: b508 push {r3, lr} - 800db50: 4611 mov r1, r2 - 800db52: 20c5 movs r0, #197 ; 0xc5 - 800db54: f7ff ff18 bl 800d988 - 800db58: 4b01 ldr r3, [pc, #4] ; (800db60 ) - 800db5a: 2207 movs r2, #7 - 800db5c: 701a strb r2, [r3, #0] - 800db5e: bd08 pop {r3, pc} - 800db60: 20001b62 .word 0x20001b62 +0800db60 : + 800db60: 2200 movs r2, #0 + 800db62: b508 push {r3, lr} + 800db64: 4611 mov r1, r2 + 800db66: 20c5 movs r0, #197 ; 0xc5 + 800db68: f7ff ff18 bl 800d99c + 800db6c: 4b01 ldr r3, [pc, #4] ; (800db74 ) + 800db6e: 2207 movs r2, #7 + 800db70: 701a strb r2, [r3, #0] + 800db72: bd08 pop {r3, pc} + 800db74: 20001b62 .word 0x20001b62 -0800db64 : - 800db64: 2200 movs r2, #0 - 800db66: 4611 mov r1, r2 - 800db68: 20d1 movs r0, #209 ; 0xd1 - 800db6a: f7ff bf0d b.w 800d988 +0800db78 : + 800db78: 2200 movs r2, #0 + 800db7a: 4611 mov r1, r2 + 800db7c: 20d1 movs r0, #209 ; 0xd1 + 800db7e: f7ff bf0d b.w 800d99c -0800db6e : - 800db6e: 2200 movs r2, #0 - 800db70: 4611 mov r1, r2 - 800db72: 20d2 movs r0, #210 ; 0xd2 - 800db74: f7ff bf08 b.w 800d988 +0800db82 : + 800db82: 2200 movs r2, #0 + 800db84: 4611 mov r1, r2 + 800db86: 20d2 movs r0, #210 ; 0xd2 + 800db88: f7ff bf08 b.w 800d99c -0800db78 : - 800db78: b507 push {r0, r1, r2, lr} - 800db7a: 2201 movs r2, #1 - 800db7c: f88d 0007 strb.w r0, [sp, #7] - 800db80: f10d 0107 add.w r1, sp, #7 - 800db84: 209f movs r0, #159 ; 0x9f - 800db86: f7ff feff bl 800d988 - 800db8a: b003 add sp, #12 - 800db8c: f85d fb04 ldr.w pc, [sp], #4 +0800db8c : + 800db8c: b507 push {r0, r1, r2, lr} + 800db8e: 2201 movs r2, #1 + 800db90: f88d 0007 strb.w r0, [sp, #7] + 800db94: f10d 0107 add.w r1, sp, #7 + 800db98: 209f movs r0, #159 ; 0x9f + 800db9a: f7ff feff bl 800d99c + 800db9e: b003 add sp, #12 + 800dba0: f85d fb04 ldr.w pc, [sp], #4 -0800db90 : - 800db90: b507 push {r0, r1, r2, lr} - 800db92: 2201 movs r2, #1 - 800db94: f88d 0007 strb.w r0, [sp, #7] - 800db98: f10d 0107 add.w r1, sp, #7 - 800db9c: 20a0 movs r0, #160 ; 0xa0 - 800db9e: f7ff fef3 bl 800d988 - 800dba2: f89d 1007 ldrb.w r1, [sp, #7] - 800dba6: 293f cmp r1, #63 ; 0x3f - 800dba8: d907 bls.n 800dbba - 800dbaa: f001 01f8 and.w r1, r1, #248 ; 0xf8 - 800dbae: 3101 adds r1, #1 - 800dbb0: b2c9 uxtb r1, r1 - 800dbb2: f240 7006 movw r0, #1798 ; 0x706 - 800dbb6: f7ff fe23 bl 800d800 - 800dbba: b003 add sp, #12 - 800dbbc: f85d fb04 ldr.w pc, [sp], #4 +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: 20a0 movs r0, #160 ; 0xa0 + 800dbb2: f7ff fef3 bl 800d99c + 800dbb6: f89d 1007 ldrb.w r1, [sp, #7] + 800dbba: 293f cmp r1, #63 ; 0x3f + 800dbbc: d907 bls.n 800dbce + 800dbbe: f001 01f8 and.w r1, r1, #248 ; 0xf8 + 800dbc2: 3101 adds r1, #1 + 800dbc4: b2c9 uxtb r1, r1 + 800dbc6: f240 7006 movw r0, #1798 ; 0x706 + 800dbca: f7ff fe23 bl 800d814 + 800dbce: b003 add sp, #12 + 800dbd0: f85d fb04 ldr.w pc, [sp], #4 -0800dbc0 : - 800dbc0: b507 push {r0, r1, r2, lr} - 800dbc2: f7f4 fbf9 bl 80023b8 - 800dbc6: 1e43 subs r3, r0, #1 - 800dbc8: 4258 negs r0, r3 - 800dbca: 4158 adcs r0, r3 - 800dbcc: f88d 0007 strb.w r0, [sp, #7] - 800dbd0: 2201 movs r2, #1 - 800dbd2: f10d 0107 add.w r1, sp, #7 - 800dbd6: 2096 movs r0, #150 ; 0x96 - 800dbd8: f7ff fed6 bl 800d988 - 800dbdc: b003 add sp, #12 - 800dbde: f85d fb04 ldr.w pc, [sp], #4 +0800dbd4 : + 800dbd4: b507 push {r0, r1, r2, lr} + 800dbd6: f7f4 fbf9 bl 80023cc + 800dbda: 1e43 subs r3, r0, #1 + 800dbdc: 4258 negs r0, r3 + 800dbde: 4158 adcs r0, r3 + 800dbe0: f88d 0007 strb.w r0, [sp, #7] + 800dbe4: 2201 movs r2, #1 + 800dbe6: f10d 0107 add.w r1, sp, #7 + 800dbea: 2096 movs r0, #150 ; 0x96 + 800dbec: f7ff fed6 bl 800d99c + 800dbf0: b003 add sp, #12 + 800dbf2: f85d fb04 ldr.w pc, [sp], #4 -0800dbe2 : - 800dbe2: b507 push {r0, r1, r2, lr} - 800dbe4: f000 007f and.w r0, r0, #127 ; 0x7f - 800dbe8: f88d 0007 strb.w r0, [sp, #7] - 800dbec: 2201 movs r2, #1 - 800dbee: f10d 0107 add.w r1, sp, #7 - 800dbf2: 2089 movs r0, #137 ; 0x89 - 800dbf4: f7ff fec8 bl 800d988 - 800dbf8: b003 add sp, #12 - 800dbfa: f85d fb04 ldr.w pc, [sp], #4 +0800dbf6 : + 800dbf6: b507 push {r0, r1, r2, lr} + 800dbf8: f000 007f and.w r0, r0, #127 ; 0x7f + 800dbfc: f88d 0007 strb.w r0, [sp, #7] + 800dc00: 2201 movs r2, #1 + 800dc02: f10d 0107 add.w r1, sp, #7 + 800dc06: 2089 movs r0, #137 ; 0x89 + 800dc08: f7ff fec8 bl 800d99c + 800dc0c: b003 add sp, #12 + 800dc0e: f85d fb04 ldr.w pc, [sp], #4 ... -0800dc00 : - 800dc00: 4b15 ldr r3, [pc, #84] ; (800dc58 ) - 800dc02: 4298 cmp r0, r3 - 800dc04: b507 push {r0, r1, r2, lr} - 800dc06: d81b bhi.n 800dc40 - 800dc08: 4b14 ldr r3, [pc, #80] ; (800dc5c ) - 800dc0a: 4298 cmp r0, r3 - 800dc0c: d81b bhi.n 800dc46 - 800dc0e: 4b14 ldr r3, [pc, #80] ; (800dc60 ) - 800dc10: 4298 cmp r0, r3 - 800dc12: d81b bhi.n 800dc4c - 800dc14: 4b13 ldr r3, [pc, #76] ; (800dc64 ) +0800dc14 : + 800dc14: 4b15 ldr r3, [pc, #84] ; (800dc6c ) 800dc16: 4298 cmp r0, r3 - 800dc18: d81b bhi.n 800dc52 - 800dc1a: 4b13 ldr r3, [pc, #76] ; (800dc68 ) - 800dc1c: 4298 cmp r0, r3 - 800dc1e: bf95 itete ls - 800dc20: 2229 movls r2, #41 ; 0x29 - 800dc22: 226b movhi r2, #107 ; 0x6b - 800dc24: 232b movls r3, #43 ; 0x2b - 800dc26: 236f movhi r3, #111 ; 0x6f - 800dc28: f88d 2004 strb.w r2, [sp, #4] - 800dc2c: a901 add r1, sp, #4 - 800dc2e: 2202 movs r2, #2 - 800dc30: 2098 movs r0, #152 ; 0x98 - 800dc32: f88d 3005 strb.w r3, [sp, #5] - 800dc36: f7ff fea7 bl 800d988 - 800dc3a: b003 add sp, #12 - 800dc3c: f85d fb04 ldr.w pc, [sp], #4 - 800dc40: 22e1 movs r2, #225 ; 0xe1 - 800dc42: 23e9 movs r3, #233 ; 0xe9 - 800dc44: e7f0 b.n 800dc28 - 800dc46: 22d7 movs r2, #215 ; 0xd7 - 800dc48: 23db movs r3, #219 ; 0xdb - 800dc4a: e7ed b.n 800dc28 - 800dc4c: 22c1 movs r2, #193 ; 0xc1 - 800dc4e: 23c5 movs r3, #197 ; 0xc5 - 800dc50: e7ea b.n 800dc28 - 800dc52: 2275 movs r2, #117 ; 0x75 - 800dc54: 2381 movs r3, #129 ; 0x81 - 800dc56: e7e7 b.n 800dc28 - 800dc58: 35a4e900 .word 0x35a4e900 - 800dc5c: 32a9f880 .word 0x32a9f880 - 800dc60: 2de54480 .word 0x2de54480 - 800dc64: 1b6b0b00 .word 0x1b6b0b00 - 800dc68: 1954fc40 .word 0x1954fc40 + 800dc18: b507 push {r0, r1, r2, lr} + 800dc1a: d81b bhi.n 800dc54 + 800dc1c: 4b14 ldr r3, [pc, #80] ; (800dc70 ) + 800dc1e: 4298 cmp r0, r3 + 800dc20: d81b bhi.n 800dc5a + 800dc22: 4b14 ldr r3, [pc, #80] ; (800dc74 ) + 800dc24: 4298 cmp r0, r3 + 800dc26: d81b bhi.n 800dc60 + 800dc28: 4b13 ldr r3, [pc, #76] ; (800dc78 ) + 800dc2a: 4298 cmp r0, r3 + 800dc2c: d81b bhi.n 800dc66 + 800dc2e: 4b13 ldr r3, [pc, #76] ; (800dc7c ) + 800dc30: 4298 cmp r0, r3 + 800dc32: bf95 itete ls + 800dc34: 2229 movls r2, #41 ; 0x29 + 800dc36: 226b movhi r2, #107 ; 0x6b + 800dc38: 232b movls r3, #43 ; 0x2b + 800dc3a: 236f movhi r3, #111 ; 0x6f + 800dc3c: f88d 2004 strb.w r2, [sp, #4] + 800dc40: a901 add r1, sp, #4 + 800dc42: 2202 movs r2, #2 + 800dc44: 2098 movs r0, #152 ; 0x98 + 800dc46: f88d 3005 strb.w r3, [sp, #5] + 800dc4a: f7ff fea7 bl 800d99c + 800dc4e: b003 add sp, #12 + 800dc50: f85d fb04 ldr.w pc, [sp], #4 + 800dc54: 22e1 movs r2, #225 ; 0xe1 + 800dc56: 23e9 movs r3, #233 ; 0xe9 + 800dc58: e7f0 b.n 800dc3c + 800dc5a: 22d7 movs r2, #215 ; 0xd7 + 800dc5c: 23db movs r3, #219 ; 0xdb + 800dc5e: e7ed b.n 800dc3c + 800dc60: 22c1 movs r2, #193 ; 0xc1 + 800dc62: 23c5 movs r3, #197 ; 0xc5 + 800dc64: e7ea b.n 800dc3c + 800dc66: 2275 movs r2, #117 ; 0x75 + 800dc68: 2381 movs r3, #129 ; 0x81 + 800dc6a: e7e7 b.n 800dc3c + 800dc6c: 35a4e900 .word 0x35a4e900 + 800dc70: 32a9f880 .word 0x32a9f880 + 800dc74: 2de54480 .word 0x2de54480 + 800dc78: 1b6b0b00 .word 0x1b6b0b00 + 800dc7c: 1954fc40 .word 0x1954fc40 -0800dc6c : - 800dc6c: b507 push {r0, r1, r2, lr} - 800dc6e: f88d 2006 strb.w r2, [sp, #6] - 800dc72: 2204 movs r2, #4 - 800dc74: f88d 0004 strb.w r0, [sp, #4] - 800dc78: f88d 1005 strb.w r1, [sp, #5] - 800dc7c: 2095 movs r0, #149 ; 0x95 - 800dc7e: eb0d 0102 add.w r1, sp, r2 - 800dc82: f88d 3007 strb.w r3, [sp, #7] - 800dc86: f7ff fe7f bl 800d988 - 800dc8a: b003 add sp, #12 - 800dc8c: f85d fb04 ldr.w pc, [sp], #4 +0800dc80 : + 800dc80: b507 push {r0, r1, r2, lr} + 800dc82: f88d 2006 strb.w r2, [sp, #6] + 800dc86: 2204 movs r2, #4 + 800dc88: f88d 0004 strb.w r0, [sp, #4] + 800dc8c: f88d 1005 strb.w r1, [sp, #5] + 800dc90: 2095 movs r0, #149 ; 0x95 + 800dc92: eb0d 0102 add.w r1, sp, r2 + 800dc96: f88d 3007 strb.w r3, [sp, #7] + 800dc9a: f7ff fe7f bl 800d99c + 800dc9e: b003 add sp, #12 + 800dca0: f85d fb04 ldr.w pc, [sp], #4 -0800dc90 : - 800dc90: b507 push {r0, r1, r2, lr} - 800dc92: ba52 rev16 r2, r2 - 800dc94: f8ad 2004 strh.w r2, [sp, #4] - 800dc98: ba40 rev16 r0, r0 - 800dc9a: 2208 movs r2, #8 - 800dc9c: ba49 rev16 r1, r1 - 800dc9e: f8ad 0000 strh.w r0, [sp] - 800dca2: f8ad 1002 strh.w r1, [sp, #2] - 800dca6: ba5b rev16 r3, r3 - 800dca8: 4669 mov r1, sp - 800dcaa: 4610 mov r0, r2 - 800dcac: f8ad 3006 strh.w r3, [sp, #6] - 800dcb0: f7ff fe6a bl 800d988 - 800dcb4: b003 add sp, #12 - 800dcb6: f85d fb04 ldr.w pc, [sp], #4 +0800dca4 : + 800dca4: b507 push {r0, r1, r2, lr} + 800dca6: ba52 rev16 r2, r2 + 800dca8: f8ad 2004 strh.w r2, [sp, #4] + 800dcac: ba40 rev16 r0, r0 + 800dcae: 2208 movs r2, #8 + 800dcb0: ba49 rev16 r1, r1 + 800dcb2: f8ad 0000 strh.w r0, [sp] + 800dcb6: f8ad 1002 strh.w r1, [sp, #2] + 800dcba: ba5b rev16 r3, r3 + 800dcbc: 4669 mov r1, sp + 800dcbe: 4610 mov r0, r2 + 800dcc0: f8ad 3006 strh.w r3, [sp, #6] + 800dcc4: f7ff fe6a bl 800d99c + 800dcc8: b003 add sp, #12 + 800dcca: f85d fb04 ldr.w pc, [sp], #4 -0800dcba : - 800dcba: b507 push {r0, r1, r2, lr} - 800dcbc: 0c0b lsrs r3, r1, #16 - 800dcbe: 2204 movs r2, #4 - 800dcc0: f000 0007 and.w r0, r0, #7 - 800dcc4: ba49 rev16 r1, r1 - 800dcc6: f88d 0004 strb.w r0, [sp, #4] - 800dcca: f8ad 1006 strh.w r1, [sp, #6] - 800dcce: 2097 movs r0, #151 ; 0x97 - 800dcd0: eb0d 0102 add.w r1, sp, r2 - 800dcd4: f88d 3005 strb.w r3, [sp, #5] - 800dcd8: f7ff fe56 bl 800d988 - 800dcdc: b003 add sp, #12 - 800dcde: f85d fb04 ldr.w pc, [sp], #4 +0800dcce : + 800dcce: b507 push {r0, r1, r2, lr} + 800dcd0: 0c0b lsrs r3, r1, #16 + 800dcd2: 2204 movs r2, #4 + 800dcd4: f000 0007 and.w r0, r0, #7 + 800dcd8: ba49 rev16 r1, r1 + 800dcda: f88d 0004 strb.w r0, [sp, #4] + 800dcde: f8ad 1006 strh.w r1, [sp, #6] + 800dce2: 2097 movs r0, #151 ; 0x97 + 800dce4: eb0d 0102 add.w r1, sp, r2 + 800dce8: f88d 3005 strb.w r3, [sp, #5] + 800dcec: f7ff fe56 bl 800d99c + 800dcf0: b003 add sp, #12 + 800dcf2: f85d fb04 ldr.w pc, [sp], #4 ... -0800dce4 : - 800dce4: b510 push {r4, lr} - 800dce6: b108 cbz r0, 800dcec - 800dce8: 4b19 ldr r3, [pc, #100] ; (800dd50 ) - 800dcea: 6018 str r0, [r3, #0] - 800dcec: f7f3 fcfa bl 80016e4 - 800dcf0: 2002 movs r0, #2 - 800dcf2: f7ff fda5 bl 800d840 - 800dcf6: 2400 movs r4, #0 - 800dcf8: 4b16 ldr r3, [pc, #88] ; (800dd54 ) - 800dcfa: 4620 mov r0, r4 - 800dcfc: 701c strb r4, [r3, #0] - 800dcfe: f7ff fe6d bl 800d9dc - 800dd02: f7f4 fb57 bl 80023b4 - 800dd06: 2801 cmp r0, #1 - 800dd08: d117 bne.n 800dd3a - 800dd0a: f44f 7120 mov.w r1, #640 ; 0x280 - 800dd0e: f7ff ffd4 bl 800dcba - 800dd12: f640 1011 movw r0, #2321 ; 0x911 - 800dd16: 4621 mov r1, r4 - 800dd18: f7ff fd72 bl 800d800 - 800dd1c: f04f 007f mov.w r0, #127 ; 0x7f - 800dd20: f7ff ff5f bl 800dbe2 - 800dd24: 210e movs r1, #14 - 800dd26: f640 101f movw r0, #2335 ; 0x91f - 800dd2a: f7ff fd69 bl 800d800 - 800dd2e: f7f4 fae9 bl 8002304 - 800dd32: 4b09 ldr r3, [pc, #36] ; (800dd58 ) - 800dd34: 2201 movs r2, #1 - 800dd36: 701a strb r2, [r3, #0] - 800dd38: bd10 pop {r4, pc} - 800dd3a: 2110 movs r1, #16 - 800dd3c: f640 1011 movw r0, #2321 ; 0x911 - 800dd40: f7ff fd5e bl 800d800 - 800dd44: 2110 movs r1, #16 - 800dd46: f640 1012 movw r0, #2322 ; 0x912 - 800dd4a: f7ff fd59 bl 800d800 - 800dd4e: e7e9 b.n 800dd24 - 800dd50: 20001b64 .word 0x20001b64 - 800dd54: 20001b60 .word 0x20001b60 - 800dd58: 20001b62 .word 0x20001b62 +0800dcf8 : + 800dcf8: b510 push {r4, lr} + 800dcfa: b108 cbz r0, 800dd00 + 800dcfc: 4b19 ldr r3, [pc, #100] ; (800dd64 ) + 800dcfe: 6018 str r0, [r3, #0] + 800dd00: f7f3 fcf0 bl 80016e4 + 800dd04: 2002 movs r0, #2 + 800dd06: f7ff fda5 bl 800d854 + 800dd0a: 2400 movs r4, #0 + 800dd0c: 4b16 ldr r3, [pc, #88] ; (800dd68 ) + 800dd0e: 4620 mov r0, r4 + 800dd10: 701c strb r4, [r3, #0] + 800dd12: f7ff fe6d bl 800d9f0 + 800dd16: f7f4 fb57 bl 80023c8 + 800dd1a: 2801 cmp r0, #1 + 800dd1c: d117 bne.n 800dd4e + 800dd1e: f44f 7120 mov.w r1, #640 ; 0x280 + 800dd22: f7ff ffd4 bl 800dcce + 800dd26: f640 1011 movw r0, #2321 ; 0x911 + 800dd2a: 4621 mov r1, r4 + 800dd2c: f7ff fd72 bl 800d814 + 800dd30: f04f 007f mov.w r0, #127 ; 0x7f + 800dd34: f7ff ff5f bl 800dbf6 + 800dd38: 210e movs r1, #14 + 800dd3a: f640 101f movw r0, #2335 ; 0x91f + 800dd3e: f7ff fd69 bl 800d814 + 800dd42: f7f4 fae9 bl 8002318 + 800dd46: 4b09 ldr r3, [pc, #36] ; (800dd6c ) + 800dd48: 2201 movs r2, #1 + 800dd4a: 701a strb r2, [r3, #0] + 800dd4c: bd10 pop {r4, pc} + 800dd4e: 2110 movs r1, #16 + 800dd50: f640 1011 movw r0, #2321 ; 0x911 + 800dd54: f7ff fd5e bl 800d814 + 800dd58: 2110 movs r1, #16 + 800dd5a: f640 1012 movw r0, #2322 ; 0x912 + 800dd5e: f7ff fd59 bl 800d814 + 800dd62: e7e9 b.n 800dd38 + 800dd64: 20001b64 .word 0x20001b64 + 800dd68: 20001b60 .word 0x20001b60 + 800dd6c: 20001b62 .word 0x20001b62 -0800dd5c : - 800dd5c: b537 push {r0, r1, r2, r4, r5, lr} - 800dd5e: 4d0c ldr r5, [pc, #48] ; (800dd90 ) - 800dd60: 782b ldrb r3, [r5, #0] - 800dd62: 4604 mov r4, r0 - 800dd64: b91b cbnz r3, 800dd6e - 800dd66: f7ff ff4b bl 800dc00 - 800dd6a: 2301 movs r3, #1 - 800dd6c: 702b strb r3, [r5, #0] - 800dd6e: 2300 movs r3, #0 - 800dd70: 4a08 ldr r2, [pc, #32] ; (800dd94 ) - 800dd72: 0660 lsls r0, r4, #25 - 800dd74: 09e1 lsrs r1, r4, #7 - 800dd76: f7f2 ff17 bl 8000ba8 <__aeabi_uldivmod> - 800dd7a: 2204 movs r2, #4 - 800dd7c: ba00 rev r0, r0 - 800dd7e: 9001 str r0, [sp, #4] - 800dd80: eb0d 0102 add.w r1, sp, r2 - 800dd84: 2086 movs r0, #134 ; 0x86 - 800dd86: f7ff fdff bl 800d988 - 800dd8a: b003 add sp, #12 - 800dd8c: bd30 pop {r4, r5, pc} - 800dd8e: bf00 nop - 800dd90: 20001b60 .word 0x20001b60 - 800dd94: 01e84800 .word 0x01e84800 +0800dd70 : + 800dd70: b537 push {r0, r1, r2, r4, r5, lr} + 800dd72: 4d0c ldr r5, [pc, #48] ; (800dda4 ) + 800dd74: 782b ldrb r3, [r5, #0] + 800dd76: 4604 mov r4, r0 + 800dd78: b91b cbnz r3, 800dd82 + 800dd7a: f7ff ff4b bl 800dc14 + 800dd7e: 2301 movs r3, #1 + 800dd80: 702b strb r3, [r5, #0] + 800dd82: 2300 movs r3, #0 + 800dd84: 4a08 ldr r2, [pc, #32] ; (800dda8 ) + 800dd86: 0660 lsls r0, r4, #25 + 800dd88: 09e1 lsrs r1, r4, #7 + 800dd8a: f7f2 ff0d bl 8000ba8 <__aeabi_uldivmod> + 800dd8e: 2204 movs r2, #4 + 800dd90: ba00 rev r0, r0 + 800dd92: 9001 str r0, [sp, #4] + 800dd94: eb0d 0102 add.w r1, sp, r2 + 800dd98: 2086 movs r0, #134 ; 0x86 + 800dd9a: f7ff fdff bl 800d99c + 800dd9e: b003 add sp, #12 + 800dda0: bd30 pop {r4, r5, pc} + 800dda2: bf00 nop + 800dda4: 20001b60 .word 0x20001b60 + 800dda8: 01e84800 .word 0x01e84800 -0800dd98 : - 800dd98: b507 push {r0, r1, r2, lr} - 800dd9a: 4b09 ldr r3, [pc, #36] ; (800ddc0 ) - 800dd9c: f88d 0007 strb.w r0, [sp, #7] - 800dda0: 4601 mov r1, r0 - 800dda2: 7018 strb r0, [r3, #0] - 800dda4: b918 cbnz r0, 800ddae - 800dda6: f240 60ac movw r0, #1708 ; 0x6ac - 800ddaa: f7ff fd29 bl 800d800 - 800ddae: 2201 movs r2, #1 - 800ddb0: f10d 0107 add.w r1, sp, #7 - 800ddb4: 208a movs r0, #138 ; 0x8a - 800ddb6: f7ff fde7 bl 800d988 - 800ddba: b003 add sp, #12 - 800ddbc: f85d fb04 ldr.w pc, [sp], #4 - 800ddc0: 20001b63 .word 0x20001b63 +0800ddac : + 800ddac: b507 push {r0, r1, r2, lr} + 800ddae: 4b09 ldr r3, [pc, #36] ; (800ddd4 ) + 800ddb0: f88d 0007 strb.w r0, [sp, #7] + 800ddb4: 4601 mov r1, r0 + 800ddb6: 7018 strb r0, [r3, #0] + 800ddb8: b918 cbnz r0, 800ddc2 + 800ddba: f240 60ac movw r0, #1708 ; 0x6ac + 800ddbe: f7ff fd29 bl 800d814 + 800ddc2: 2201 movs r2, #1 + 800ddc4: f10d 0107 add.w r1, sp, #7 + 800ddc8: 208a movs r0, #138 ; 0x8a + 800ddca: f7ff fde7 bl 800d99c + 800ddce: b003 add sp, #12 + 800ddd0: f85d fb04 ldr.w pc, [sp], #4 + 800ddd4: 20001b63 .word 0x20001b63 -0800ddc4 : - 800ddc4: 2801 cmp r0, #1 - 800ddc6: b573 push {r0, r1, r4, r5, r6, lr} - 800ddc8: 460c mov r4, r1 - 800ddca: 4616 mov r6, r2 - 800ddcc: d137 bne.n 800de3e - 800ddce: 2000 movs r0, #0 - 800ddd0: f7f4 faf4 bl 80023bc - 800ddd4: 42a0 cmp r0, r4 - 800ddd6: bfb8 it lt - 800ddd8: b244 sxtblt r4, r0 - 800ddda: 280e cmp r0, #14 - 800dddc: 4605 mov r5, r0 - 800ddde: d11a bne.n 800de16 - 800dde0: 2301 movs r3, #1 - 800dde2: 461a mov r2, r3 - 800dde4: 2100 movs r1, #0 - 800dde6: 2004 movs r0, #4 - 800dde8: f7ff ff40 bl 800dc6c - 800ddec: f06f 0310 mvn.w r3, #16 - 800ddf0: 429c cmp r4, r3 - 800ddf2: bfb8 it lt - 800ddf4: 461c movlt r4, r3 - 800ddf6: 2118 movs r1, #24 - 800ddf8: f640 00e7 movw r0, #2279 ; 0x8e7 - 800ddfc: f7ff fd00 bl 800d800 - 800de00: 2202 movs r2, #2 - 800de02: a901 add r1, sp, #4 - 800de04: 208e movs r0, #142 ; 0x8e - 800de06: f88d 4004 strb.w r4, [sp, #4] - 800de0a: f88d 6005 strb.w r6, [sp, #5] - 800de0e: f7ff fdbb bl 800d988 - 800de12: b002 add sp, #8 - 800de14: bd70 pop {r4, r5, r6, pc} - 800de16: 2301 movs r3, #1 - 800de18: 280a cmp r0, #10 - 800de1a: b2e4 uxtb r4, r4 - 800de1c: 461a mov r2, r3 - 800de1e: f04f 0100 mov.w r1, #0 - 800de22: d105 bne.n 800de30 - 800de24: 4618 mov r0, r3 - 800de26: f7ff ff21 bl 800dc6c - 800de2a: 3403 adds r4, #3 - 800de2c: b264 sxtb r4, r4 - 800de2e: e7dd b.n 800ddec - 800de30: 2007 movs r0, #7 - 800de32: f1c5 050e rsb r5, r5, #14 - 800de36: f7ff ff19 bl 800dc6c - 800de3a: 442c add r4, r5 - 800de3c: e7f6 b.n 800de2c - 800de3e: f640 00d8 movw r0, #2264 ; 0x8d8 - 800de42: f7ff fced bl 800d820 - 800de46: f040 011e orr.w r1, r0, #30 - 800de4a: b2c9 uxtb r1, r1 - 800de4c: f640 00d8 movw r0, #2264 ; 0x8d8 - 800de50: f7ff fcd6 bl 800d800 - 800de54: 2001 movs r0, #1 - 800de56: f7f4 fab1 bl 80023bc - 800de5a: 42a0 cmp r0, r4 - 800de5c: bfb8 it lt - 800de5e: b244 sxtblt r4, r0 - 800de60: 2814 cmp r0, #20 - 800de62: 4605 mov r5, r0 - 800de64: f04f 0301 mov.w r3, #1 - 800de68: f04f 0200 mov.w r2, #0 - 800de6c: d10c bne.n 800de88 - 800de6e: 2105 movs r1, #5 - 800de70: 2003 movs r0, #3 - 800de72: f7ff fefb bl 800dc6c - 800de76: 3402 adds r4, #2 - 800de78: b264 sxtb r4, r4 - 800de7a: f06f 0308 mvn.w r3, #8 - 800de7e: 429c cmp r4, r3 - 800de80: bfb8 it lt - 800de82: 461c movlt r4, r3 - 800de84: 2138 movs r1, #56 ; 0x38 - 800de86: e7b7 b.n 800ddf8 - 800de88: 2811 cmp r0, #17 - 800de8a: d105 bne.n 800de98 - 800de8c: 2103 movs r1, #3 - 800de8e: 2002 movs r0, #2 - 800de90: f7ff feec bl 800dc6c - 800de94: 3405 adds r4, #5 - 800de96: e7ef b.n 800de78 - 800de98: 280e cmp r0, #14 - 800de9a: d104 bne.n 800dea6 - 800de9c: 2102 movs r1, #2 - 800de9e: 4608 mov r0, r1 - 800dea0: f7ff fee4 bl 800dc6c - 800dea4: e7e9 b.n 800de7a - 800dea6: f1c5 0516 rsb r5, r5, #22 - 800deaa: 2107 movs r1, #7 - 800deac: 2004 movs r0, #4 - 800deae: 4425 add r5, r4 - 800deb0: f7ff fedc bl 800dc6c - 800deb4: b26c sxtb r4, r5 - 800deb6: e7e0 b.n 800de7a +0800ddd8 : + 800ddd8: 2801 cmp r0, #1 + 800ddda: b573 push {r0, r1, r4, r5, r6, lr} + 800dddc: 460c mov r4, r1 + 800ddde: 4616 mov r6, r2 + 800dde0: d137 bne.n 800de52 + 800dde2: 2000 movs r0, #0 + 800dde4: f7f4 faf4 bl 80023d0 + 800dde8: 42a0 cmp r0, r4 + 800ddea: bfb8 it lt + 800ddec: b244 sxtblt r4, r0 + 800ddee: 280e cmp r0, #14 + 800ddf0: 4605 mov r5, r0 + 800ddf2: d11a bne.n 800de2a + 800ddf4: 2301 movs r3, #1 + 800ddf6: 461a mov r2, r3 + 800ddf8: 2100 movs r1, #0 + 800ddfa: 2004 movs r0, #4 + 800ddfc: f7ff ff40 bl 800dc80 + 800de00: f06f 0310 mvn.w r3, #16 + 800de04: 429c cmp r4, r3 + 800de06: bfb8 it lt + 800de08: 461c movlt r4, r3 + 800de0a: 2118 movs r1, #24 + 800de0c: f640 00e7 movw r0, #2279 ; 0x8e7 + 800de10: f7ff fd00 bl 800d814 + 800de14: 2202 movs r2, #2 + 800de16: a901 add r1, sp, #4 + 800de18: 208e movs r0, #142 ; 0x8e + 800de1a: f88d 4004 strb.w r4, [sp, #4] + 800de1e: f88d 6005 strb.w r6, [sp, #5] + 800de22: f7ff fdbb bl 800d99c + 800de26: b002 add sp, #8 + 800de28: bd70 pop {r4, r5, r6, pc} + 800de2a: 2301 movs r3, #1 + 800de2c: 280a cmp r0, #10 + 800de2e: b2e4 uxtb r4, r4 + 800de30: 461a mov r2, r3 + 800de32: f04f 0100 mov.w r1, #0 + 800de36: d105 bne.n 800de44 + 800de38: 4618 mov r0, r3 + 800de3a: f7ff ff21 bl 800dc80 + 800de3e: 3403 adds r4, #3 + 800de40: b264 sxtb r4, r4 + 800de42: e7dd b.n 800de00 + 800de44: 2007 movs r0, #7 + 800de46: f1c5 050e rsb r5, r5, #14 + 800de4a: f7ff ff19 bl 800dc80 + 800de4e: 442c add r4, r5 + 800de50: e7f6 b.n 800de40 + 800de52: f640 00d8 movw r0, #2264 ; 0x8d8 + 800de56: f7ff fced bl 800d834 + 800de5a: f040 011e orr.w r1, r0, #30 + 800de5e: b2c9 uxtb r1, r1 + 800de60: f640 00d8 movw r0, #2264 ; 0x8d8 + 800de64: f7ff fcd6 bl 800d814 + 800de68: 2001 movs r0, #1 + 800de6a: f7f4 fab1 bl 80023d0 + 800de6e: 42a0 cmp r0, r4 + 800de70: bfb8 it lt + 800de72: b244 sxtblt r4, r0 + 800de74: 2814 cmp r0, #20 + 800de76: 4605 mov r5, r0 + 800de78: f04f 0301 mov.w r3, #1 + 800de7c: f04f 0200 mov.w r2, #0 + 800de80: d10c bne.n 800de9c + 800de82: 2105 movs r1, #5 + 800de84: 2003 movs r0, #3 + 800de86: f7ff fefb bl 800dc80 + 800de8a: 3402 adds r4, #2 + 800de8c: b264 sxtb r4, r4 + 800de8e: f06f 0308 mvn.w r3, #8 + 800de92: 429c cmp r4, r3 + 800de94: bfb8 it lt + 800de96: 461c movlt r4, r3 + 800de98: 2138 movs r1, #56 ; 0x38 + 800de9a: e7b7 b.n 800de0c + 800de9c: 2811 cmp r0, #17 + 800de9e: d105 bne.n 800deac + 800dea0: 2103 movs r1, #3 + 800dea2: 2002 movs r0, #2 + 800dea4: f7ff feec bl 800dc80 + 800dea8: 3405 adds r4, #5 + 800deaa: e7ef b.n 800de8c + 800deac: 280e cmp r0, #14 + 800deae: d104 bne.n 800deba + 800deb0: 2102 movs r1, #2 + 800deb2: 4608 mov r0, r1 + 800deb4: f7ff fee4 bl 800dc80 + 800deb8: e7e9 b.n 800de8e + 800deba: f1c5 0516 rsb r5, r5, #22 + 800debe: 2107 movs r1, #7 + 800dec0: 2004 movs r0, #4 + 800dec2: 4425 add r5, r4 + 800dec4: f7ff fedc bl 800dc80 + 800dec8: b26c sxtb r4, r5 + 800deca: e7e0 b.n 800de8e -0800deb8 : - 800deb8: b513 push {r0, r1, r4, lr} - 800deba: 4a31 ldr r2, [pc, #196] ; (800df80 ) - 800debc: 4604 mov r4, r0 - 800debe: 6851 ldr r1, [r2, #4] - 800dec0: 6810 ldr r0, [r2, #0] - 800dec2: 466b mov r3, sp - 800dec4: c303 stmia r3!, {r0, r1} - 800dec6: 4b2f ldr r3, [pc, #188] ; (800df84 ) - 800dec8: 7820 ldrb r0, [r4, #0] - 800deca: 781b ldrb r3, [r3, #0] - 800decc: 4283 cmp r3, r0 - 800dece: d001 beq.n 800ded4 - 800ded0: f7ff ff62 bl 800dd98 - 800ded4: 7823 ldrb r3, [r4, #0] - 800ded6: 2b03 cmp r3, #3 - 800ded8: d827 bhi.n 800df2a - 800deda: e8df f003 tbb [pc, r3] - 800dede: 3902 .short 0x3902 - 800dee0: 3c28 .short 0x3c28 - 800dee2: 6862 ldr r2, [r4, #4] - 800dee4: 4b28 ldr r3, [pc, #160] ; (800df88 ) - 800dee6: fbb3 f3f2 udiv r3, r3, r2 - 800deea: 0c1a lsrs r2, r3, #16 - 800deec: 68a1 ldr r1, [r4, #8] - 800deee: f88d 2000 strb.w r2, [sp] - 800def2: f88d 3002 strb.w r3, [sp, #2] - 800def6: 0a1a lsrs r2, r3, #8 - 800def8: 7b23 ldrb r3, [r4, #12] - 800defa: f88d 3003 strb.w r3, [sp, #3] - 800defe: 7b63 ldrb r3, [r4, #13] - 800df00: f88d 2001 strb.w r2, [sp, #1] - 800df04: f88d 3004 strb.w r3, [sp, #4] - 800df08: 4a20 ldr r2, [pc, #128] ; (800df8c ) - 800df0a: 2300 movs r3, #0 - 800df0c: 0648 lsls r0, r1, #25 - 800df0e: 09c9 lsrs r1, r1, #7 - 800df10: f7f2 fe4a bl 8000ba8 <__aeabi_uldivmod> - 800df14: 0c03 lsrs r3, r0, #16 - 800df16: ba40 rev16 r0, r0 - 800df18: f88d 3005 strb.w r3, [sp, #5] - 800df1c: f8ad 0006 strh.w r0, [sp, #6] - 800df20: 2208 movs r2, #8 - 800df22: 4669 mov r1, sp - 800df24: 208b movs r0, #139 ; 0x8b - 800df26: f7ff fd2f bl 800d988 - 800df2a: b002 add sp, #8 - 800df2c: bd10 pop {r4, pc} - 800df2e: 6922 ldr r2, [r4, #16] - 800df30: 4b15 ldr r3, [pc, #84] ; (800df88 ) - 800df32: fbb3 f3f2 udiv r3, r3, r2 - 800df36: 0c1a lsrs r2, r3, #16 - 800df38: f88d 2000 strb.w r2, [sp] - 800df3c: f88d 3002 strb.w r3, [sp, #2] - 800df40: 0a1a lsrs r2, r3, #8 - 800df42: 7d23 ldrb r3, [r4, #20] - 800df44: f88d 2001 strb.w r2, [sp, #1] - 800df48: f88d 3003 strb.w r3, [sp, #3] - 800df4c: 2204 movs r2, #4 - 800df4e: e7e8 b.n 800df22 - 800df50: 69a3 ldr r3, [r4, #24] - 800df52: 9300 str r3, [sp, #0] - 800df54: e7fa b.n 800df4c - 800df56: 6862 ldr r2, [r4, #4] - 800df58: 4b0b ldr r3, [pc, #44] ; (800df88 ) - 800df5a: fbb3 f3f2 udiv r3, r3, r2 - 800df5e: 0c1a lsrs r2, r3, #16 - 800df60: f88d 2000 strb.w r2, [sp] - 800df64: f88d 3002 strb.w r3, [sp, #2] - 800df68: 0a1a lsrs r2, r3, #8 - 800df6a: 7b23 ldrb r3, [r4, #12] - 800df6c: f88d 3003 strb.w r3, [sp, #3] - 800df70: 7b63 ldrb r3, [r4, #13] - 800df72: f88d 2001 strb.w r2, [sp, #1] - 800df76: f88d 3004 strb.w r3, [sp, #4] - 800df7a: 2205 movs r2, #5 - 800df7c: e7d1 b.n 800df22 - 800df7e: bf00 nop - 800df80: 0800f100 .word 0x0800f100 - 800df84: 20001b63 .word 0x20001b63 - 800df88: 3d090000 .word 0x3d090000 - 800df8c: 01e84800 .word 0x01e84800 +0800decc : + 800decc: b513 push {r0, r1, r4, lr} + 800dece: 4a31 ldr r2, [pc, #196] ; (800df94 ) + 800ded0: 4604 mov r4, r0 + 800ded2: 6851 ldr r1, [r2, #4] + 800ded4: 6810 ldr r0, [r2, #0] + 800ded6: 466b mov r3, sp + 800ded8: c303 stmia r3!, {r0, r1} + 800deda: 4b2f ldr r3, [pc, #188] ; (800df98 ) + 800dedc: 7820 ldrb r0, [r4, #0] + 800dede: 781b ldrb r3, [r3, #0] + 800dee0: 4283 cmp r3, r0 + 800dee2: d001 beq.n 800dee8 + 800dee4: f7ff ff62 bl 800ddac + 800dee8: 7823 ldrb r3, [r4, #0] + 800deea: 2b03 cmp r3, #3 + 800deec: d827 bhi.n 800df3e + 800deee: e8df f003 tbb [pc, r3] + 800def2: 3902 .short 0x3902 + 800def4: 3c28 .short 0x3c28 + 800def6: 6862 ldr r2, [r4, #4] + 800def8: 4b28 ldr r3, [pc, #160] ; (800df9c ) + 800defa: fbb3 f3f2 udiv r3, r3, r2 + 800defe: 0c1a lsrs r2, r3, #16 + 800df00: 68a1 ldr r1, [r4, #8] + 800df02: f88d 2000 strb.w r2, [sp] + 800df06: f88d 3002 strb.w r3, [sp, #2] + 800df0a: 0a1a lsrs r2, r3, #8 + 800df0c: 7b23 ldrb r3, [r4, #12] + 800df0e: f88d 3003 strb.w r3, [sp, #3] + 800df12: 7b63 ldrb r3, [r4, #13] + 800df14: f88d 2001 strb.w r2, [sp, #1] + 800df18: f88d 3004 strb.w r3, [sp, #4] + 800df1c: 4a20 ldr r2, [pc, #128] ; (800dfa0 ) + 800df1e: 2300 movs r3, #0 + 800df20: 0648 lsls r0, r1, #25 + 800df22: 09c9 lsrs r1, r1, #7 + 800df24: f7f2 fe40 bl 8000ba8 <__aeabi_uldivmod> + 800df28: 0c03 lsrs r3, r0, #16 + 800df2a: ba40 rev16 r0, r0 + 800df2c: f88d 3005 strb.w r3, [sp, #5] + 800df30: f8ad 0006 strh.w r0, [sp, #6] + 800df34: 2208 movs r2, #8 + 800df36: 4669 mov r1, sp + 800df38: 208b movs r0, #139 ; 0x8b + 800df3a: f7ff fd2f bl 800d99c + 800df3e: b002 add sp, #8 + 800df40: bd10 pop {r4, pc} + 800df42: 6922 ldr r2, [r4, #16] + 800df44: 4b15 ldr r3, [pc, #84] ; (800df9c ) + 800df46: fbb3 f3f2 udiv r3, r3, r2 + 800df4a: 0c1a lsrs r2, r3, #16 + 800df4c: f88d 2000 strb.w r2, [sp] + 800df50: f88d 3002 strb.w r3, [sp, #2] + 800df54: 0a1a lsrs r2, r3, #8 + 800df56: 7d23 ldrb r3, [r4, #20] + 800df58: f88d 2001 strb.w r2, [sp, #1] + 800df5c: f88d 3003 strb.w r3, [sp, #3] + 800df60: 2204 movs r2, #4 + 800df62: e7e8 b.n 800df36 + 800df64: 69a3 ldr r3, [r4, #24] + 800df66: 9300 str r3, [sp, #0] + 800df68: e7fa b.n 800df60 + 800df6a: 6862 ldr r2, [r4, #4] + 800df6c: 4b0b ldr r3, [pc, #44] ; (800df9c ) + 800df6e: fbb3 f3f2 udiv r3, r3, r2 + 800df72: 0c1a lsrs r2, r3, #16 + 800df74: f88d 2000 strb.w r2, [sp] + 800df78: f88d 3002 strb.w r3, [sp, #2] + 800df7c: 0a1a lsrs r2, r3, #8 + 800df7e: 7b23 ldrb r3, [r4, #12] + 800df80: f88d 3003 strb.w r3, [sp, #3] + 800df84: 7b63 ldrb r3, [r4, #13] + 800df86: f88d 2001 strb.w r2, [sp, #1] + 800df8a: f88d 3004 strb.w r3, [sp, #4] + 800df8e: 2205 movs r2, #5 + 800df90: e7d1 b.n 800df36 + 800df92: bf00 nop + 800df94: 0800f110 .word 0x0800f110 + 800df98: 20001b63 .word 0x20001b63 + 800df9c: 3d090000 .word 0x3d090000 + 800dfa0: 01e84800 .word 0x01e84800 -0800df90 : - 800df90: b51f push {r0, r1, r2, r3, r4, lr} - 800df92: 4a2e ldr r2, [pc, #184] ; (800e04c ) - 800df94: 4604 mov r4, r0 - 800df96: 68d1 ldr r1, [r2, #12] - 800df98: 6890 ldr r0, [r2, #8] - 800df9a: 7c12 ldrb r2, [r2, #16] - 800df9c: ab01 add r3, sp, #4 - 800df9e: c303 stmia r3!, {r0, r1} - 800dfa0: 701a strb r2, [r3, #0] - 800dfa2: 4b2b ldr r3, [pc, #172] ; (800e050 ) - 800dfa4: 7820 ldrb r0, [r4, #0] - 800dfa6: 781b ldrb r3, [r3, #0] - 800dfa8: 4283 cmp r3, r0 - 800dfaa: d001 beq.n 800dfb0 - 800dfac: f7ff fef4 bl 800dd98 - 800dfb0: 7823 ldrb r3, [r4, #0] - 800dfb2: 2b03 cmp r3, #3 - 800dfb4: d826 bhi.n 800e004 - 800dfb6: e8df f003 tbb [pc, r3] - 800dfba: 3802 .short 0x3802 - 800dfbc: 0233 .short 0x0233 - 800dfbe: 7a63 ldrb r3, [r4, #9] - 800dfc0: 2bf1 cmp r3, #241 ; 0xf1 - 800dfc2: d121 bne.n 800e008 - 800dfc4: f64f 70ff movw r0, #65535 ; 0xffff - 800dfc8: f7ff fc84 bl 800d8d4 - 800dfcc: f248 0005 movw r0, #32773 ; 0x8005 - 800dfd0: f7ff fc92 bl 800d8f8 - 800dfd4: 2302 movs r3, #2 - 800dfd6: 8862 ldrh r2, [r4, #2] - 800dfd8: 88a1 ldrh r1, [r4, #4] - 800dfda: f8ad 1006 strh.w r1, [sp, #6] - 800dfde: ba52 rev16 r2, r2 - 800dfe0: 88e1 ldrh r1, [r4, #6] - 800dfe2: f8ad 2004 strh.w r2, [sp, #4] - 800dfe6: f88d 300b strb.w r3, [sp, #11] - 800dfea: 7a22 ldrb r2, [r4, #8] - 800dfec: 7aa3 ldrb r3, [r4, #10] - 800dfee: f88d 200a strb.w r2, [sp, #10] - 800dff2: f8ad 1008 strh.w r1, [sp, #8] - 800dff6: f88d 300c strb.w r3, [sp, #12] - 800dffa: 2209 movs r2, #9 - 800dffc: a901 add r1, sp, #4 - 800dffe: 208c movs r0, #140 ; 0x8c - 800e000: f7ff fcc2 bl 800d988 - 800e004: b004 add sp, #16 - 800e006: bd10 pop {r4, pc} - 800e008: 2bf2 cmp r3, #242 ; 0xf2 - 800e00a: d1e4 bne.n 800dfd6 - 800e00c: f641 500f movw r0, #7439 ; 0x1d0f - 800e010: f7ff fc60 bl 800d8d4 - 800e014: f241 0021 movw r0, #4129 ; 0x1021 - 800e018: f7ff fc6e bl 800d8f8 - 800e01c: 2306 movs r3, #6 - 800e01e: e7da b.n 800dfd6 - 800e020: 7b23 ldrb r3, [r4, #12] - 800e022: f88d 3004 strb.w r3, [sp, #4] - 800e026: 2201 movs r2, #1 - 800e028: e7e8 b.n 800dffc - 800e02a: 89e3 ldrh r3, [r4, #14] - 800e02c: 4a09 ldr r2, [pc, #36] ; (800e054 ) - 800e02e: ba5b rev16 r3, r3 - 800e030: f8ad 3004 strh.w r3, [sp, #4] - 800e034: 7c23 ldrb r3, [r4, #16] - 800e036: 7013 strb r3, [r2, #0] - 800e038: f88d 3006 strb.w r3, [sp, #6] - 800e03c: 7c63 ldrb r3, [r4, #17] - 800e03e: f88d 3007 strb.w r3, [sp, #7] - 800e042: 8a63 ldrh r3, [r4, #18] - 800e044: f8ad 3008 strh.w r3, [sp, #8] - 800e048: 2206 movs r2, #6 - 800e04a: e7d7 b.n 800dffc - 800e04c: 0800f100 .word 0x0800f100 - 800e050: 20001b63 .word 0x20001b63 - 800e054: 20001b61 .word 0x20001b61 +0800dfa4 : + 800dfa4: b51f push {r0, r1, r2, r3, r4, lr} + 800dfa6: 4a2e ldr r2, [pc, #184] ; (800e060 ) + 800dfa8: 4604 mov r4, r0 + 800dfaa: 68d1 ldr r1, [r2, #12] + 800dfac: 6890 ldr r0, [r2, #8] + 800dfae: 7c12 ldrb r2, [r2, #16] + 800dfb0: ab01 add r3, sp, #4 + 800dfb2: c303 stmia r3!, {r0, r1} + 800dfb4: 701a strb r2, [r3, #0] + 800dfb6: 4b2b ldr r3, [pc, #172] ; (800e064 ) + 800dfb8: 7820 ldrb r0, [r4, #0] + 800dfba: 781b ldrb r3, [r3, #0] + 800dfbc: 4283 cmp r3, r0 + 800dfbe: d001 beq.n 800dfc4 + 800dfc0: f7ff fef4 bl 800ddac + 800dfc4: 7823 ldrb r3, [r4, #0] + 800dfc6: 2b03 cmp r3, #3 + 800dfc8: d826 bhi.n 800e018 + 800dfca: e8df f003 tbb [pc, r3] + 800dfce: 3802 .short 0x3802 + 800dfd0: 0233 .short 0x0233 + 800dfd2: 7a63 ldrb r3, [r4, #9] + 800dfd4: 2bf1 cmp r3, #241 ; 0xf1 + 800dfd6: d121 bne.n 800e01c + 800dfd8: f64f 70ff movw r0, #65535 ; 0xffff + 800dfdc: f7ff fc84 bl 800d8e8 + 800dfe0: f248 0005 movw r0, #32773 ; 0x8005 + 800dfe4: f7ff fc92 bl 800d90c + 800dfe8: 2302 movs r3, #2 + 800dfea: 8862 ldrh r2, [r4, #2] + 800dfec: 88a1 ldrh r1, [r4, #4] + 800dfee: f8ad 1006 strh.w r1, [sp, #6] + 800dff2: ba52 rev16 r2, r2 + 800dff4: 88e1 ldrh r1, [r4, #6] + 800dff6: f8ad 2004 strh.w r2, [sp, #4] + 800dffa: f88d 300b strb.w r3, [sp, #11] + 800dffe: 7a22 ldrb r2, [r4, #8] + 800e000: 7aa3 ldrb r3, [r4, #10] + 800e002: f88d 200a strb.w r2, [sp, #10] + 800e006: f8ad 1008 strh.w r1, [sp, #8] + 800e00a: f88d 300c strb.w r3, [sp, #12] + 800e00e: 2209 movs r2, #9 + 800e010: a901 add r1, sp, #4 + 800e012: 208c movs r0, #140 ; 0x8c + 800e014: f7ff fcc2 bl 800d99c + 800e018: b004 add sp, #16 + 800e01a: bd10 pop {r4, pc} + 800e01c: 2bf2 cmp r3, #242 ; 0xf2 + 800e01e: d1e4 bne.n 800dfea + 800e020: f641 500f movw r0, #7439 ; 0x1d0f + 800e024: f7ff fc60 bl 800d8e8 + 800e028: f241 0021 movw r0, #4129 ; 0x1021 + 800e02c: f7ff fc6e bl 800d90c + 800e030: 2306 movs r3, #6 + 800e032: e7da b.n 800dfea + 800e034: 7b23 ldrb r3, [r4, #12] + 800e036: f88d 3004 strb.w r3, [sp, #4] + 800e03a: 2201 movs r2, #1 + 800e03c: e7e8 b.n 800e010 + 800e03e: 89e3 ldrh r3, [r4, #14] + 800e040: 4a09 ldr r2, [pc, #36] ; (800e068 ) + 800e042: ba5b rev16 r3, r3 + 800e044: f8ad 3004 strh.w r3, [sp, #4] + 800e048: 7c23 ldrb r3, [r4, #16] + 800e04a: 7013 strb r3, [r2, #0] + 800e04c: f88d 3006 strb.w r3, [sp, #6] + 800e050: 7c63 ldrb r3, [r4, #17] + 800e052: f88d 3007 strb.w r3, [sp, #7] + 800e056: 8a63 ldrh r3, [r4, #18] + 800e058: f8ad 3008 strh.w r3, [sp, #8] + 800e05c: 2206 movs r2, #6 + 800e05e: e7d7 b.n 800e010 + 800e060: 0800f110 .word 0x0800f110 + 800e064: 20001b63 .word 0x20001b63 + 800e068: 20001b61 .word 0x20001b61 -0800e058 : - 800e058: b507 push {r0, r1, r2, lr} - 800e05a: 2202 movs r2, #2 - 800e05c: f88d 0004 strb.w r0, [sp, #4] - 800e060: f88d 1005 strb.w r1, [sp, #5] - 800e064: 208f movs r0, #143 ; 0x8f - 800e066: a901 add r1, sp, #4 - 800e068: f7ff fc8e bl 800d988 - 800e06c: b003 add sp, #12 - 800e06e: f85d fb04 ldr.w pc, [sp], #4 +0800e06c : + 800e06c: b507 push {r0, r1, r2, lr} + 800e06e: 2202 movs r2, #2 + 800e070: f88d 0004 strb.w r0, [sp, #4] + 800e074: f88d 1005 strb.w r1, [sp, #5] + 800e078: 208f movs r0, #143 ; 0x8f + 800e07a: a901 add r1, sp, #4 + 800e07c: f7ff fc8e bl 800d99c + 800e080: b003 add sp, #12 + 800e082: f85d fb04 ldr.w pc, [sp], #4 ... -0800e074 : - 800e074: b510 push {r4, lr} - 800e076: 4613 mov r3, r2 - 800e078: f3ef 8410 mrs r4, PRIMASK - 800e07c: b672 cpsid i - 800e07e: 460a mov r2, r1 - 800e080: 4601 mov r1, r0 - 800e082: 4803 ldr r0, [pc, #12] ; (800e090 ) - 800e084: f7f6 fce6 bl 8004a54 - 800e088: f384 8810 msr PRIMASK, r4 - 800e08c: bd10 pop {r4, pc} - 800e08e: bf00 nop - 800e090: 200001c4 .word 0x200001c4 +0800e088 : + 800e088: b510 push {r4, lr} + 800e08a: 4613 mov r3, r2 + 800e08c: f3ef 8410 mrs r4, PRIMASK + 800e090: b672 cpsid i + 800e092: 460a mov r2, r1 + 800e094: 4601 mov r1, r0 + 800e096: 4803 ldr r0, [pc, #12] ; (800e0a4 ) + 800e098: f7f6 fce6 bl 8004a68 + 800e09c: f384 8810 msr PRIMASK, r4 + 800e0a0: bd10 pop {r4, pc} + 800e0a2: bf00 nop + 800e0a4: 200001c4 .word 0x200001c4 -0800e094 : - 800e094: b507 push {r0, r1, r2, lr} - 800e096: 2201 movs r2, #1 - 800e098: a901 add r1, sp, #4 - 800e09a: 2015 movs r0, #21 - 800e09c: f7ff ffea bl 800e074 - 800e0a0: f89d 0004 ldrb.w r0, [sp, #4] - 800e0a4: 4240 negs r0, r0 - 800e0a6: 1040 asrs r0, r0, #1 - 800e0a8: b003 add sp, #12 - 800e0aa: f85d fb04 ldr.w pc, [sp], #4 +0800e0a8 : + 800e0a8: b507 push {r0, r1, r2, lr} + 800e0aa: 2201 movs r2, #1 + 800e0ac: a901 add r1, sp, #4 + 800e0ae: 2015 movs r0, #21 + 800e0b0: f7ff ffea bl 800e088 + 800e0b4: f89d 0004 ldrb.w r0, [sp, #4] + 800e0b8: 4240 negs r0, r0 + 800e0ba: 1040 asrs r0, r0, #1 + 800e0bc: b003 add sp, #12 + 800e0be: f85d fb04 ldr.w pc, [sp], #4 ... -0800e0b0 : - 800e0b0: b537 push {r0, r1, r2, r4, r5, lr} - 800e0b2: 4605 mov r5, r0 - 800e0b4: 460c mov r4, r1 - 800e0b6: 2202 movs r2, #2 - 800e0b8: a901 add r1, sp, #4 - 800e0ba: 2013 movs r0, #19 - 800e0bc: f7ff ffda bl 800e074 - 800e0c0: 4b0a ldr r3, [pc, #40] ; (800e0ec ) - 800e0c2: 781b ldrb r3, [r3, #0] - 800e0c4: 2b01 cmp r3, #1 - 800e0c6: d10d bne.n 800e0e4 - 800e0c8: 4b09 ldr r3, [pc, #36] ; (800e0f0 ) - 800e0ca: 781b ldrb r3, [r3, #0] - 800e0cc: 2b01 cmp r3, #1 - 800e0ce: d109 bne.n 800e0e4 - 800e0d0: f240 7002 movw r0, #1794 ; 0x702 - 800e0d4: f7ff fba4 bl 800d820 - 800e0d8: f89d 3005 ldrb.w r3, [sp, #5] - 800e0dc: 7028 strb r0, [r5, #0] - 800e0de: 7023 strb r3, [r4, #0] - 800e0e0: b003 add sp, #12 - 800e0e2: bd30 pop {r4, r5, pc} - 800e0e4: f89d 0004 ldrb.w r0, [sp, #4] - 800e0e8: e7f6 b.n 800e0d8 - 800e0ea: bf00 nop - 800e0ec: 20001b63 .word 0x20001b63 - 800e0f0: 20001b61 .word 0x20001b61 +0800e0c4 : + 800e0c4: b537 push {r0, r1, r2, r4, r5, lr} + 800e0c6: 4605 mov r5, r0 + 800e0c8: 460c mov r4, r1 + 800e0ca: 2202 movs r2, #2 + 800e0cc: a901 add r1, sp, #4 + 800e0ce: 2013 movs r0, #19 + 800e0d0: f7ff ffda bl 800e088 + 800e0d4: 4b0a ldr r3, [pc, #40] ; (800e100 ) + 800e0d6: 781b ldrb r3, [r3, #0] + 800e0d8: 2b01 cmp r3, #1 + 800e0da: d10d bne.n 800e0f8 + 800e0dc: 4b09 ldr r3, [pc, #36] ; (800e104 ) + 800e0de: 781b ldrb r3, [r3, #0] + 800e0e0: 2b01 cmp r3, #1 + 800e0e2: d109 bne.n 800e0f8 + 800e0e4: f240 7002 movw r0, #1794 ; 0x702 + 800e0e8: f7ff fba4 bl 800d834 + 800e0ec: f89d 3005 ldrb.w r3, [sp, #5] + 800e0f0: 7028 strb r0, [r5, #0] + 800e0f2: 7023 strb r3, [r4, #0] + 800e0f4: b003 add sp, #12 + 800e0f6: bd30 pop {r4, r5, pc} + 800e0f8: f89d 0004 ldrb.w r0, [sp, #4] + 800e0fc: e7f6 b.n 800e0ec + 800e0fe: bf00 nop + 800e100: 20001b63 .word 0x20001b63 + 800e104: 20001b61 .word 0x20001b61 -0800e0f4 : - 800e0f4: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} - 800e0f6: 460d mov r5, r1 - 800e0f8: 4606 mov r6, r0 - 800e0fa: 2400 movs r4, #0 - 800e0fc: f10d 0107 add.w r1, sp, #7 - 800e100: 4628 mov r0, r5 - 800e102: 4617 mov r7, r2 - 800e104: f88d 4007 strb.w r4, [sp, #7] - 800e108: f7ff ffd2 bl 800e0b0 - 800e10c: 782a ldrb r2, [r5, #0] - 800e10e: 42ba cmp r2, r7 - 800e110: d807 bhi.n 800e122 - 800e112: f89d 0007 ldrb.w r0, [sp, #7] - 800e116: 4631 mov r1, r6 - 800e118: f7ff fc26 bl 800d968 - 800e11c: 4620 mov r0, r4 - 800e11e: b003 add sp, #12 - 800e120: bdf0 pop {r4, r5, r6, r7, pc} - 800e122: 2001 movs r0, #1 - 800e124: e7fb b.n 800e11e +0800e108 : + 800e108: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} + 800e10a: 460d mov r5, r1 + 800e10c: 4606 mov r6, r0 + 800e10e: 2400 movs r4, #0 + 800e110: f10d 0107 add.w r1, sp, #7 + 800e114: 4628 mov r0, r5 + 800e116: 4617 mov r7, r2 + 800e118: f88d 4007 strb.w r4, [sp, #7] + 800e11c: f7ff ffd2 bl 800e0c4 + 800e120: 782a ldrb r2, [r5, #0] + 800e122: 42ba cmp r2, r7 + 800e124: d807 bhi.n 800e136 + 800e126: f89d 0007 ldrb.w r0, [sp, #7] + 800e12a: 4631 mov r1, r6 + 800e12c: f7ff fc26 bl 800d97c + 800e130: 4620 mov r0, r4 + 800e132: b003 add sp, #12 + 800e134: bdf0 pop {r4, r5, r6, r7, pc} + 800e136: 2001 movs r0, #1 + 800e138: e7fb b.n 800e132 ... -0800e128 : - 800e128: b513 push {r0, r1, r4, lr} - 800e12a: 2203 movs r2, #3 - 800e12c: 4604 mov r4, r0 - 800e12e: a901 add r1, sp, #4 - 800e130: 2014 movs r0, #20 - 800e132: f7ff ff9f bl 800e074 - 800e136: 4b18 ldr r3, [pc, #96] ; (800e198 ) - 800e138: 781a ldrb r2, [r3, #0] - 800e13a: 7022 strb r2, [r4, #0] - 800e13c: b14a cbz r2, 800e152 - 800e13e: 2a01 cmp r2, #1 - 800e140: d017 beq.n 800e172 - 800e142: 2214 movs r2, #20 - 800e144: 2100 movs r1, #0 - 800e146: 4620 mov r0, r4 - 800e148: f000 fad2 bl 800e6f0 - 800e14c: 230f movs r3, #15 - 800e14e: 7023 strb r3, [r4, #0] - 800e150: e00d b.n 800e16e - 800e152: f89d 3004 ldrb.w r3, [sp, #4] - 800e156: 7123 strb r3, [r4, #4] - 800e158: f89d 3005 ldrb.w r3, [sp, #5] - 800e15c: 60a2 str r2, [r4, #8] - 800e15e: 425b negs r3, r3 - 800e160: 105b asrs r3, r3, #1 - 800e162: 71a3 strb r3, [r4, #6] - 800e164: f89d 3006 ldrb.w r3, [sp, #6] - 800e168: 425b negs r3, r3 - 800e16a: 105b asrs r3, r3, #1 - 800e16c: 7163 strb r3, [r4, #5] - 800e16e: b002 add sp, #8 - 800e170: bd10 pop {r4, pc} - 800e172: f89d 3004 ldrb.w r3, [sp, #4] - 800e176: 425b negs r3, r3 - 800e178: 105b asrs r3, r3, #1 - 800e17a: 7323 strb r3, [r4, #12] - 800e17c: f99d 3005 ldrsb.w r3, [sp, #5] - 800e180: 3302 adds r3, #2 - 800e182: 109b asrs r3, r3, #2 - 800e184: 7363 strb r3, [r4, #13] - 800e186: f89d 3006 ldrb.w r3, [sp, #6] +0800e13c : + 800e13c: b513 push {r0, r1, r4, lr} + 800e13e: 2203 movs r2, #3 + 800e140: 4604 mov r4, r0 + 800e142: a901 add r1, sp, #4 + 800e144: 2014 movs r0, #20 + 800e146: f7ff ff9f bl 800e088 + 800e14a: 4b18 ldr r3, [pc, #96] ; (800e1ac ) + 800e14c: 781a ldrb r2, [r3, #0] + 800e14e: 7022 strb r2, [r4, #0] + 800e150: b14a cbz r2, 800e166 + 800e152: 2a01 cmp r2, #1 + 800e154: d017 beq.n 800e186 + 800e156: 2214 movs r2, #20 + 800e158: 2100 movs r1, #0 + 800e15a: 4620 mov r0, r4 + 800e15c: f000 fad2 bl 800e704 + 800e160: 230f movs r3, #15 + 800e162: 7023 strb r3, [r4, #0] + 800e164: e00d b.n 800e182 + 800e166: f89d 3004 ldrb.w r3, [sp, #4] + 800e16a: 7123 strb r3, [r4, #4] + 800e16c: f89d 3005 ldrb.w r3, [sp, #5] + 800e170: 60a2 str r2, [r4, #8] + 800e172: 425b negs r3, r3 + 800e174: 105b asrs r3, r3, #1 + 800e176: 71a3 strb r3, [r4, #6] + 800e178: f89d 3006 ldrb.w r3, [sp, #6] + 800e17c: 425b negs r3, r3 + 800e17e: 105b asrs r3, r3, #1 + 800e180: 7163 strb r3, [r4, #5] + 800e182: b002 add sp, #8 + 800e184: bd10 pop {r4, pc} + 800e186: f89d 3004 ldrb.w r3, [sp, #4] 800e18a: 425b negs r3, r3 800e18c: 105b asrs r3, r3, #1 - 800e18e: 73a3 strb r3, [r4, #14] - 800e190: 4b02 ldr r3, [pc, #8] ; (800e19c ) - 800e192: 681b ldr r3, [r3, #0] - 800e194: 6123 str r3, [r4, #16] - 800e196: e7ea b.n 800e16e - 800e198: 20001b63 .word 0x20001b63 - 800e19c: 20001b5c .word 0x20001b5c + 800e18e: 7323 strb r3, [r4, #12] + 800e190: f99d 3005 ldrsb.w r3, [sp, #5] + 800e194: 3302 adds r3, #2 + 800e196: 109b asrs r3, r3, #2 + 800e198: 7363 strb r3, [r4, #13] + 800e19a: f89d 3006 ldrb.w r3, [sp, #6] + 800e19e: 425b negs r3, r3 + 800e1a0: 105b asrs r3, r3, #1 + 800e1a2: 73a3 strb r3, [r4, #14] + 800e1a4: 4b02 ldr r3, [pc, #8] ; (800e1b0 ) + 800e1a6: 681b ldr r3, [r3, #0] + 800e1a8: 6123 str r3, [r4, #16] + 800e1aa: e7ea b.n 800e182 + 800e1ac: 20001b63 .word 0x20001b63 + 800e1b0: 20001b5c .word 0x20001b5c -0800e1a0 : - 800e1a0: 2901 cmp r1, #1 - 800e1a2: b508 push {r3, lr} - 800e1a4: 4603 mov r3, r0 - 800e1a6: 4608 mov r0, r1 - 800e1a8: d10e bne.n 800e1c8 - 800e1aa: 2b01 cmp r3, #1 - 800e1ac: d107 bne.n 800e1be - 800e1ae: 2004 movs r0, #4 - 800e1b0: f7ff fb46 bl 800d840 - 800e1b4: 2002 movs r0, #2 - 800e1b6: e8bd 4008 ldmia.w sp!, {r3, lr} - 800e1ba: f7f4 b8d7 b.w 800236c - 800e1be: 2b02 cmp r3, #2 - 800e1c0: bf14 ite ne - 800e1c2: 4608 movne r0, r1 - 800e1c4: 2003 moveq r0, #3 - 800e1c6: e7f6 b.n 800e1b6 - 800e1c8: 2001 movs r0, #1 - 800e1ca: e7f4 b.n 800e1b6 +0800e1b4 : + 800e1b4: 2901 cmp r1, #1 + 800e1b6: b508 push {r3, lr} + 800e1b8: 4603 mov r3, r0 + 800e1ba: 4608 mov r0, r1 + 800e1bc: d10e bne.n 800e1dc + 800e1be: 2b01 cmp r3, #1 + 800e1c0: d107 bne.n 800e1d2 + 800e1c2: 2004 movs r0, #4 + 800e1c4: f7ff fb46 bl 800d854 + 800e1c8: 2002 movs r0, #2 + 800e1ca: e8bd 4008 ldmia.w sp!, {r3, lr} + 800e1ce: f7f4 b8d7 b.w 8002380 + 800e1d2: 2b02 cmp r3, #2 + 800e1d4: bf14 ite ne + 800e1d6: 4608 movne r0, r1 + 800e1d8: 2003 moveq r0, #3 + 800e1da: e7f6 b.n 800e1ca + 800e1dc: 2001 movs r0, #1 + 800e1de: e7f4 b.n 800e1ca -0800e1cc : - 800e1cc: b538 push {r3, r4, r5, lr} - 800e1ce: 4604 mov r4, r0 - 800e1d0: f7f4 f8ee bl 80023b0 - 800e1d4: b150 cbz r0, 800e1ec - 800e1d6: 2802 cmp r0, #2 - 800e1d8: bf14 ite ne - 800e1da: 2501 movne r5, #1 - 800e1dc: 2502 moveq r5, #2 - 800e1de: 4628 mov r0, r5 - 800e1e0: 2202 movs r2, #2 - 800e1e2: 4621 mov r1, r4 - 800e1e4: f7ff fdee bl 800ddc4 - 800e1e8: 4628 mov r0, r5 - 800e1ea: bd38 pop {r3, r4, r5, pc} - 800e1ec: 2c0f cmp r4, #15 - 800e1ee: bfcc ite gt - 800e1f0: 2502 movgt r5, #2 - 800e1f2: 2501 movle r5, #1 - 800e1f4: e7f3 b.n 800e1de +0800e1e0 : + 800e1e0: b538 push {r3, r4, r5, lr} + 800e1e2: 4604 mov r4, r0 + 800e1e4: f7f4 f8ee bl 80023c4 + 800e1e8: b150 cbz r0, 800e200 + 800e1ea: 2802 cmp r0, #2 + 800e1ec: bf14 ite ne + 800e1ee: 2501 movne r5, #1 + 800e1f0: 2502 moveq r5, #2 + 800e1f2: 4628 mov r0, r5 + 800e1f4: 2202 movs r2, #2 + 800e1f6: 4621 mov r1, r4 + 800e1f8: f7ff fdee bl 800ddd8 + 800e1fc: 4628 mov r0, r5 + 800e1fe: bd38 pop {r3, r4, r5, pc} + 800e200: 2c0f cmp r4, #15 + 800e202: bfcc ite gt + 800e204: 2502 movgt r5, #2 + 800e206: 2501 movle r5, #1 + 800e208: e7f3 b.n 800e1f2 -0800e1f6 : - 800e1f6: 200a movs r0, #10 - 800e1f8: 4770 bx lr +0800e20a : + 800e20a: 200a movs r0, #10 + 800e20c: 4770 bx lr ... -0800e1fc : - 800e1fc: 4b01 ldr r3, [pc, #4] ; (800e204 ) - 800e1fe: 2001 movs r0, #1 - 800e200: 681b ldr r3, [r3, #0] - 800e202: 4718 bx r3 - 800e204: 20001b64 .word 0x20001b64 +0800e210 : + 800e210: 4b01 ldr r3, [pc, #4] ; (800e218 ) + 800e212: 2001 movs r0, #1 + 800e214: 681b ldr r3, [r3, #0] + 800e216: 4718 bx r3 + 800e218: 20001b64 .word 0x20001b64 -0800e208 : - 800e208: 4b01 ldr r3, [pc, #4] ; (800e210 ) - 800e20a: 2002 movs r0, #2 - 800e20c: 681b ldr r3, [r3, #0] - 800e20e: 4718 bx r3 - 800e210: 20001b64 .word 0x20001b64 +0800e21c : + 800e21c: 4b01 ldr r3, [pc, #4] ; (800e224 ) + 800e21e: 2002 movs r0, #2 + 800e220: 681b ldr r3, [r3, #0] + 800e222: 4718 bx r3 + 800e224: 20001b64 .word 0x20001b64 -0800e214 : - 800e214: 4b01 ldr r3, [pc, #4] ; (800e21c ) - 800e216: 2040 movs r0, #64 ; 0x40 - 800e218: 681b ldr r3, [r3, #0] - 800e21a: 4718 bx r3 - 800e21c: 20001b64 .word 0x20001b64 - -0800e220 : - 800e220: b111 cbz r1, 800e228 - 800e222: 2901 cmp r1, #1 - 800e224: d004 beq.n 800e230 - 800e226: 4770 bx lr - 800e228: 4b04 ldr r3, [pc, #16] ; (800e23c ) - 800e22a: 681b ldr r3, [r3, #0] - 800e22c: 2080 movs r0, #128 ; 0x80 +0800e228 : + 800e228: 4b01 ldr r3, [pc, #4] ; (800e230 ) + 800e22a: 2040 movs r0, #64 ; 0x40 + 800e22c: 681b ldr r3, [r3, #0] 800e22e: 4718 bx r3 - 800e230: 4b02 ldr r3, [pc, #8] ; (800e23c ) - 800e232: f44f 7080 mov.w r0, #256 ; 0x100 - 800e236: 681b ldr r3, [r3, #0] - 800e238: e7f9 b.n 800e22e - 800e23a: bf00 nop - 800e23c: 20001b64 .word 0x20001b64 + 800e230: 20001b64 .word 0x20001b64 -0800e240 : - 800e240: 4b02 ldr r3, [pc, #8] ; (800e24c ) - 800e242: f44f 7000 mov.w r0, #512 ; 0x200 - 800e246: 681b ldr r3, [r3, #0] - 800e248: 4718 bx r3 - 800e24a: bf00 nop - 800e24c: 20001b64 .word 0x20001b64 +0800e234 : + 800e234: b111 cbz r1, 800e23c + 800e236: 2901 cmp r1, #1 + 800e238: d004 beq.n 800e244 + 800e23a: 4770 bx lr + 800e23c: 4b04 ldr r3, [pc, #16] ; (800e250 ) + 800e23e: 681b ldr r3, [r3, #0] + 800e240: 2080 movs r0, #128 ; 0x80 + 800e242: 4718 bx r3 + 800e244: 4b02 ldr r3, [pc, #8] ; (800e250 ) + 800e246: f44f 7080 mov.w r0, #256 ; 0x100 + 800e24a: 681b ldr r3, [r3, #0] + 800e24c: e7f9 b.n 800e242 + 800e24e: bf00 nop + 800e250: 20001b64 .word 0x20001b64 -0800e250 : - 800e250: 4b01 ldr r3, [pc, #4] ; (800e258 ) - 800e252: 2020 movs r0, #32 - 800e254: 681b ldr r3, [r3, #0] - 800e256: 4718 bx r3 - 800e258: 20001b64 .word 0x20001b64 +0800e254 : + 800e254: 4b02 ldr r3, [pc, #8] ; (800e260 ) + 800e256: f44f 7000 mov.w r0, #512 ; 0x200 + 800e25a: 681b ldr r3, [r3, #0] + 800e25c: 4718 bx r3 + 800e25e: bf00 nop + 800e260: 20001b64 .word 0x20001b64 -0800e25c : - 800e25c: 4b01 ldr r3, [pc, #4] ; (800e264 ) - 800e25e: 2004 movs r0, #4 - 800e260: 681b ldr r3, [r3, #0] - 800e262: 4718 bx r3 - 800e264: 20001b64 .word 0x20001b64 +0800e264 : + 800e264: 4b01 ldr r3, [pc, #4] ; (800e26c ) + 800e266: 2020 movs r0, #32 + 800e268: 681b ldr r3, [r3, #0] + 800e26a: 4718 bx r3 + 800e26c: 20001b64 .word 0x20001b64 -0800e268 : - 800e268: 4b01 ldr r3, [pc, #4] ; (800e270 ) - 800e26a: 2008 movs r0, #8 - 800e26c: 681b ldr r3, [r3, #0] - 800e26e: 4718 bx r3 - 800e270: 20001b64 .word 0x20001b64 +0800e270 : + 800e270: 4b01 ldr r3, [pc, #4] ; (800e278 ) + 800e272: 2004 movs r0, #4 + 800e274: 681b ldr r3, [r3, #0] + 800e276: 4718 bx r3 + 800e278: 20001b64 .word 0x20001b64 -0800e274 : - 800e274: 4b01 ldr r3, [pc, #4] ; (800e27c ) - 800e276: 2010 movs r0, #16 - 800e278: 681b ldr r3, [r3, #0] - 800e27a: 4718 bx r3 - 800e27c: 20001b64 .word 0x20001b64 +0800e27c : + 800e27c: 4b01 ldr r3, [pc, #4] ; (800e284 ) + 800e27e: 2008 movs r0, #8 + 800e280: 681b ldr r3, [r3, #0] + 800e282: 4718 bx r3 + 800e284: 20001b64 .word 0x20001b64 -0800e280 : - 800e280: 4b02 ldr r3, [pc, #8] ; (800e28c ) - 800e282: f44f 4080 mov.w r0, #16384 ; 0x4000 - 800e286: 681b ldr r3, [r3, #0] - 800e288: 4718 bx r3 - 800e28a: bf00 nop - 800e28c: 20001b64 .word 0x20001b64 +0800e288 : + 800e288: 4b01 ldr r3, [pc, #4] ; (800e290 ) + 800e28a: 2010 movs r0, #16 + 800e28c: 681b ldr r3, [r3, #0] + 800e28e: 4718 bx r3 + 800e290: 20001b64 .word 0x20001b64 -0800e290 : - 800e290: b168 cbz r0, 800e2ae - 800e292: 4a08 ldr r2, [pc, #32] ; (800e2b4 ) - 800e294: 2300 movs r3, #0 - 800e296: f852 1033 ldr.w r1, [r2, r3, lsl #3] - 800e29a: 4281 cmp r1, r0 - 800e29c: d903 bls.n 800e2a6 - 800e29e: eb02 02c3 add.w r2, r2, r3, lsl #3 - 800e2a2: 7910 ldrb r0, [r2, #4] - 800e2a4: 4770 bx lr - 800e2a6: 3301 adds r3, #1 - 800e2a8: 2b16 cmp r3, #22 - 800e2aa: d1f4 bne.n 800e296 - 800e2ac: e7fe b.n 800e2ac - 800e2ae: 201f movs r0, #31 - 800e2b0: 4770 bx lr - 800e2b2: bf00 nop - 800e2b4: 0800fa70 .word 0x0800fa70 +0800e294 : + 800e294: 4b02 ldr r3, [pc, #8] ; (800e2a0 ) + 800e296: f44f 4080 mov.w r0, #16384 ; 0x4000 + 800e29a: 681b ldr r3, [r3, #0] + 800e29c: 4718 bx r3 + 800e29e: bf00 nop + 800e2a0: 20001b64 .word 0x20001b64 -0800e2b8 : - 800e2b8: b573 push {r0, r1, r4, r5, r6, lr} - 800e2ba: 4b1d ldr r3, [pc, #116] ; (800e330 ) - 800e2bc: 9301 str r3, [sp, #4] - 800e2be: 4604 mov r4, r0 - 800e2c0: f640 0007 movw r0, #2055 ; 0x807 - 800e2c4: 460d mov r5, r1 - 800e2c6: f7ff faab bl 800d820 - 800e2ca: f3c0 03c1 ubfx r3, r0, #3, #2 - 800e2ce: 3308 adds r3, #8 - 800e2d0: 446b add r3, sp - 800e2d2: f813 2c04 ldrb.w r2, [r3, #-4] - 800e2d6: f000 0307 and.w r3, r0, #7 - 800e2da: 3301 adds r3, #1 - 800e2dc: fa02 f303 lsl.w r3, r2, r3 - 800e2e0: 4a14 ldr r2, [pc, #80] ; (800e334 ) - 800e2e2: fbb2 f2f3 udiv r2, r2, r3 - 800e2e6: fbb2 f0f4 udiv r0, r2, r4 - 800e2ea: 2807 cmp r0, #7 - 800e2ec: d81e bhi.n 800e32c - 800e2ee: 0040 lsls r0, r0, #1 - 800e2f0: 2803 cmp r0, #3 - 800e2f2: bf8c ite hi - 800e2f4: 2302 movhi r3, #2 - 800e2f6: 2304 movls r3, #4 - 800e2f8: f44f 60d6 mov.w r0, #1712 ; 0x6b0 - 800e2fc: fb02 f403 mul.w r4, r2, r3 - 800e300: f7ff fa8e bl 800d820 - 800e304: 0206 lsls r6, r0, #8 - 800e306: f240 60b1 movw r0, #1713 ; 0x6b1 - 800e30a: f7ff fa89 bl 800d820 - 800e30e: f406 6670 and.w r6, r6, #3840 ; 0xf00 - 800e312: 4330 orrs r0, r6 - 800e314: 0503 lsls r3, r0, #20 - 800e316: bf44 itt mi - 800e318: ea6f 5000 mvnmi.w r0, r0, lsl #20 - 800e31c: ea6f 5010 mvnmi.w r0, r0, lsr #20 - 800e320: 0963 lsrs r3, r4, #5 - 800e322: 4343 muls r3, r0 - 800e324: 11db asrs r3, r3, #7 - 800e326: 602b str r3, [r5, #0] - 800e328: b002 add sp, #8 - 800e32a: bd70 pop {r4, r5, r6, pc} - 800e32c: 2301 movs r3, #1 - 800e32e: e7e3 b.n 800e2f8 - 800e330: 0c0a0804 .word 0x0c0a0804 - 800e334: 01e84800 .word 0x01e84800 +0800e2a4 : + 800e2a4: b168 cbz r0, 800e2c2 + 800e2a6: 4a08 ldr r2, [pc, #32] ; (800e2c8 ) + 800e2a8: 2300 movs r3, #0 + 800e2aa: f852 1033 ldr.w r1, [r2, r3, lsl #3] + 800e2ae: 4281 cmp r1, r0 + 800e2b0: d903 bls.n 800e2ba + 800e2b2: eb02 02c3 add.w r2, r2, r3, lsl #3 + 800e2b6: 7910 ldrb r0, [r2, #4] + 800e2b8: 4770 bx lr + 800e2ba: 3301 adds r3, #1 + 800e2bc: 2b16 cmp r3, #22 + 800e2be: d1f4 bne.n 800e2aa + 800e2c0: e7fe b.n 800e2c0 + 800e2c2: 201f movs r0, #31 + 800e2c4: 4770 bx lr + 800e2c6: bf00 nop + 800e2c8: 0800fa80 .word 0x0800fa80 -0800e338 : - 800e338: f04f 30ff mov.w r0, #4294967295 - 800e33c: 4770 bx lr +0800e2cc : + 800e2cc: b573 push {r0, r1, r4, r5, r6, lr} + 800e2ce: 4b1d ldr r3, [pc, #116] ; (800e344 ) + 800e2d0: 9301 str r3, [sp, #4] + 800e2d2: 4604 mov r4, r0 + 800e2d4: f640 0007 movw r0, #2055 ; 0x807 + 800e2d8: 460d mov r5, r1 + 800e2da: f7ff faab bl 800d834 + 800e2de: f3c0 03c1 ubfx r3, r0, #3, #2 + 800e2e2: 3308 adds r3, #8 + 800e2e4: 446b add r3, sp + 800e2e6: f813 2c04 ldrb.w r2, [r3, #-4] + 800e2ea: f000 0307 and.w r3, r0, #7 + 800e2ee: 3301 adds r3, #1 + 800e2f0: fa02 f303 lsl.w r3, r2, r3 + 800e2f4: 4a14 ldr r2, [pc, #80] ; (800e348 ) + 800e2f6: fbb2 f2f3 udiv r2, r2, r3 + 800e2fa: fbb2 f0f4 udiv r0, r2, r4 + 800e2fe: 2807 cmp r0, #7 + 800e300: d81e bhi.n 800e340 + 800e302: 0040 lsls r0, r0, #1 + 800e304: 2803 cmp r0, #3 + 800e306: bf8c ite hi + 800e308: 2302 movhi r3, #2 + 800e30a: 2304 movls r3, #4 + 800e30c: f44f 60d6 mov.w r0, #1712 ; 0x6b0 + 800e310: fb02 f403 mul.w r4, r2, r3 + 800e314: f7ff fa8e bl 800d834 + 800e318: 0206 lsls r6, r0, #8 + 800e31a: f240 60b1 movw r0, #1713 ; 0x6b1 + 800e31e: f7ff fa89 bl 800d834 + 800e322: f406 6670 and.w r6, r6, #3840 ; 0xf00 + 800e326: 4330 orrs r0, r6 + 800e328: 0503 lsls r3, r0, #20 + 800e32a: bf44 itt mi + 800e32c: ea6f 5000 mvnmi.w r0, r0, lsl #20 + 800e330: ea6f 5010 mvnmi.w r0, r0, lsr #20 + 800e334: 0963 lsrs r3, r4, #5 + 800e336: 4343 muls r3, r0 + 800e338: 11db asrs r3, r3, #7 + 800e33a: 602b str r3, [r5, #0] + 800e33c: b002 add sp, #8 + 800e33e: bd70 pop {r4, r5, r6, pc} + 800e340: 2301 movs r3, #1 + 800e342: e7e3 b.n 800e30c + 800e344: 0c0a0804 .word 0x0c0a0804 + 800e348: 01e84800 .word 0x01e84800 -0800e33e : - 800e33e: f04f 30ff mov.w r0, #4294967295 - 800e342: 4770 bx lr +0800e34c : + 800e34c: f04f 30ff mov.w r0, #4294967295 + 800e350: 4770 bx lr -0800e344 : - 800e344: f04f 30ff mov.w r0, #4294967295 - 800e348: 4770 bx lr +0800e352 : + 800e352: f04f 30ff mov.w r0, #4294967295 + 800e356: 4770 bx lr -0800e34a : - 800e34a: 4770 bx lr +0800e358 : + 800e358: f04f 30ff mov.w r0, #4294967295 + 800e35c: 4770 bx lr -0800e34c : - 800e34c: 2000 movs r0, #0 - 800e34e: 4770 bx lr +0800e35e : + 800e35e: 4770 bx lr -0800e350 : - 800e350: 2000 movs r0, #0 - 800e352: 4770 bx lr - -0800e354 : - 800e354: 4770 bx lr - -0800e356 : - 800e356: f04f 30ff mov.w r0, #4294967295 - 800e35a: 4770 bx lr - -0800e35c : - 800e35c: f04f 30ff mov.w r0, #4294967295 - 800e360: 4770 bx lr - -0800e362 : +0800e360 : + 800e360: 2000 movs r0, #0 800e362: 4770 bx lr -0800e364 : - 800e364: 4770 bx lr - -0800e366 : +0800e364 : + 800e364: 2000 movs r0, #0 800e366: 4770 bx lr -0800e368 : - 800e368: b570 push {r4, r5, r6, lr} - 800e36a: f3ef 8610 mrs r6, PRIMASK - 800e36e: b672 cpsid i - 800e370: 4b14 ldr r3, [pc, #80] ; (800e3c4 ) - 800e372: 8a5c ldrh r4, [r3, #18] - 800e374: 8a1a ldrh r2, [r3, #16] - 800e376: 4294 cmp r4, r2 - 800e378: d113 bne.n 800e3a2 - 800e37a: f5c4 6280 rsb r2, r4, #1024 ; 0x400 - 800e37e: b292 uxth r2, r2 - 800e380: 4290 cmp r0, r2 - 800e382: d306 bcc.n 800e392 - 800e384: 4284 cmp r4, r0 - 800e386: d918 bls.n 800e3ba - 800e388: 2201 movs r2, #1 - 800e38a: 709a strb r2, [r3, #2] - 800e38c: 2200 movs r2, #0 - 800e38e: 801c strh r4, [r3, #0] - 800e390: 825a strh r2, [r3, #18] - 800e392: 8a5a ldrh r2, [r3, #18] - 800e394: 800a strh r2, [r1, #0] - 800e396: 4402 add r2, r0 - 800e398: f3c2 0209 ubfx r2, r2, #0, #10 - 800e39c: 825a strh r2, [r3, #18] - 800e39e: 2000 movs r0, #0 - 800e3a0: e00d b.n 800e3be - 800e3a2: d906 bls.n 800e3b2 - 800e3a4: f5c4 6580 rsb r5, r4, #1024 ; 0x400 - 800e3a8: b2ad uxth r5, r5 - 800e3aa: 4285 cmp r5, r0 - 800e3ac: d8f1 bhi.n 800e392 - 800e3ae: 4282 cmp r2, r0 - 800e3b0: e7e9 b.n 800e386 - 800e3b2: 1b12 subs r2, r2, r4 - 800e3b4: b292 uxth r2, r2 - 800e3b6: 4282 cmp r2, r0 - 800e3b8: d8eb bhi.n 800e392 - 800e3ba: f04f 30ff mov.w r0, #4294967295 - 800e3be: f386 8810 msr PRIMASK, r6 - 800e3c2: bd70 pop {r4, r5, r6, pc} - 800e3c4: 20001f68 .word 0x20001f68 +0800e368 : + 800e368: 4770 bx lr -0800e3c8 : - 800e3c8: f3ef 8110 mrs r1, PRIMASK - 800e3cc: b672 cpsid i - 800e3ce: 4a03 ldr r2, [pc, #12] ; (800e3dc ) - 800e3d0: 8ad3 ldrh r3, [r2, #22] - 800e3d2: 3301 adds r3, #1 - 800e3d4: 82d3 strh r3, [r2, #22] - 800e3d6: f381 8810 msr PRIMASK, r1 - 800e3da: 4770 bx lr - 800e3dc: 20001f68 .word 0x20001f68 +0800e36a : + 800e36a: f04f 30ff mov.w r0, #4294967295 + 800e36e: 4770 bx lr -0800e3e0 : - 800e3e0: f3ef 8110 mrs r1, PRIMASK - 800e3e4: b672 cpsid i - 800e3e6: 4a03 ldr r2, [pc, #12] ; (800e3f4 ) - 800e3e8: 8ad3 ldrh r3, [r2, #22] - 800e3ea: 3b01 subs r3, #1 - 800e3ec: 82d3 strh r3, [r2, #22] - 800e3ee: f381 8810 msr PRIMASK, r1 - 800e3f2: 4770 bx lr - 800e3f4: 20001f68 .word 0x20001f68 +0800e370 : + 800e370: f04f 30ff mov.w r0, #4294967295 + 800e374: 4770 bx lr -0800e3f8 : - 800e3f8: b510 push {r4, lr} - 800e3fa: 4808 ldr r0, [pc, #32] ; (800e41c ) - 800e3fc: 2218 movs r2, #24 - 800e3fe: 2100 movs r1, #0 - 800e400: f000 f976 bl 800e6f0 - 800e404: 4806 ldr r0, [pc, #24] ; (800e420 ) - 800e406: f44f 6280 mov.w r2, #1024 ; 0x400 - 800e40a: 2100 movs r1, #0 - 800e40c: f000 f970 bl 800e6f0 - 800e410: 4b04 ldr r3, [pc, #16] ; (800e424 ) - 800e412: 4805 ldr r0, [pc, #20] ; (800e428 ) - 800e414: 681b ldr r3, [r3, #0] - 800e416: e8bd 4010 ldmia.w sp!, {r4, lr} - 800e41a: 4718 bx r3 - 800e41c: 20001f68 .word 0x20001f68 - 800e420: 20001b68 .word 0x20001b68 - 800e424: 0800f178 .word 0x0800f178 - 800e428: 0800e599 .word 0x0800e599 +0800e376 : + 800e376: 4770 bx lr -0800e42c : - 800e42c: 4b01 ldr r3, [pc, #4] ; (800e434 ) - 800e42e: 6058 str r0, [r3, #4] - 800e430: 4770 bx lr - 800e432: bf00 nop - 800e434: 20001f68 .word 0x20001f68 +0800e378 : + 800e378: 4770 bx lr -0800e438 : - 800e438: 4b01 ldr r3, [pc, #4] ; (800e440 ) - 800e43a: 7218 strb r0, [r3, #8] - 800e43c: 4770 bx lr - 800e43e: bf00 nop - 800e440: 20001f68 .word 0x20001f68 +0800e37a : + 800e37a: 4770 bx lr -0800e444 : - 800e444: b573 push {r0, r1, r4, r5, r6, lr} - 800e446: f3ef 8510 mrs r5, PRIMASK - 800e44a: b672 cpsid i - 800e44c: 4c1c ldr r4, [pc, #112] ; (800e4c0 ) - 800e44e: 8ae0 ldrh r0, [r4, #22] - 800e450: 2800 cmp r0, #0 - 800e452: d12f bne.n 800e4b4 - 800e454: f7ff ffb8 bl 800e3c8 - 800e458: 8a21 ldrh r1, [r4, #16] - 800e45a: 8a62 ldrh r2, [r4, #18] - 800e45c: 4291 cmp r1, r2 - 800e45e: d027 beq.n 800e4b0 - 800e460: 78a3 ldrb r3, [r4, #2] - 800e462: 2b01 cmp r3, #1 - 800e464: d112 bne.n 800e48c - 800e466: 8823 ldrh r3, [r4, #0] - 800e468: 8020 strh r0, [r4, #0] - 800e46a: 1a5b subs r3, r3, r1 - 800e46c: b29b uxth r3, r3 - 800e46e: 2102 movs r1, #2 - 800e470: 82a3 strh r3, [r4, #20] - 800e472: 70a1 strb r1, [r4, #2] - 800e474: b963 cbnz r3, 800e490 - 800e476: 70a3 strb r3, [r4, #2] - 800e478: 8223 strh r3, [r4, #16] - 800e47a: 8a23 ldrh r3, [r4, #16] - 800e47c: 429a cmp r2, r3 - 800e47e: bf8b itete hi - 800e480: 1ad2 subhi r2, r2, r3 - 800e482: f5c3 6380 rsbls r3, r3, #1024 ; 0x400 - 800e486: 82a2 strhhi r2, [r4, #20] - 800e488: 82a3 strhls r3, [r4, #20] - 800e48a: e001 b.n 800e490 - 800e48c: 2b00 cmp r3, #0 - 800e48e: d0f4 beq.n 800e47a - 800e490: 8a23 ldrh r3, [r4, #16] - 800e492: 4e0c ldr r6, [pc, #48] ; (800e4c4 ) - 800e494: 441e add r6, r3 - 800e496: f385 8810 msr PRIMASK, r5 - 800e49a: f7f3 fa0d bl 80018b8 - 800e49e: 4b0a ldr r3, [pc, #40] ; (800e4c8 ) - 800e4a0: 8aa1 ldrh r1, [r4, #20] - 800e4a2: 68db ldr r3, [r3, #12] - 800e4a4: 9301 str r3, [sp, #4] - 800e4a6: 4630 mov r0, r6 - 800e4a8: b002 add sp, #8 - 800e4aa: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 800e4ae: 4718 bx r3 - 800e4b0: f7ff ff96 bl 800e3e0 - 800e4b4: f385 8810 msr PRIMASK, r5 - 800e4b8: 2000 movs r0, #0 - 800e4ba: b002 add sp, #8 - 800e4bc: bd70 pop {r4, r5, r6, pc} - 800e4be: bf00 nop - 800e4c0: 20001f68 .word 0x20001f68 - 800e4c4: 20001b68 .word 0x20001b68 - 800e4c8: 0800f178 .word 0x0800f178 +0800e37c : + 800e37c: b570 push {r4, r5, r6, lr} + 800e37e: f3ef 8610 mrs r6, PRIMASK + 800e382: b672 cpsid i + 800e384: 4b14 ldr r3, [pc, #80] ; (800e3d8 ) + 800e386: 8a5c ldrh r4, [r3, #18] + 800e388: 8a1a ldrh r2, [r3, #16] + 800e38a: 4294 cmp r4, r2 + 800e38c: d113 bne.n 800e3b6 + 800e38e: f5c4 6280 rsb r2, r4, #1024 ; 0x400 + 800e392: b292 uxth r2, r2 + 800e394: 4290 cmp r0, r2 + 800e396: d306 bcc.n 800e3a6 + 800e398: 4284 cmp r4, r0 + 800e39a: d918 bls.n 800e3ce + 800e39c: 2201 movs r2, #1 + 800e39e: 709a strb r2, [r3, #2] + 800e3a0: 2200 movs r2, #0 + 800e3a2: 801c strh r4, [r3, #0] + 800e3a4: 825a strh r2, [r3, #18] + 800e3a6: 8a5a ldrh r2, [r3, #18] + 800e3a8: 800a strh r2, [r1, #0] + 800e3aa: 4402 add r2, r0 + 800e3ac: f3c2 0209 ubfx r2, r2, #0, #10 + 800e3b0: 825a strh r2, [r3, #18] + 800e3b2: 2000 movs r0, #0 + 800e3b4: e00d b.n 800e3d2 + 800e3b6: d906 bls.n 800e3c6 + 800e3b8: f5c4 6580 rsb r5, r4, #1024 ; 0x400 + 800e3bc: b2ad uxth r5, r5 + 800e3be: 4285 cmp r5, r0 + 800e3c0: d8f1 bhi.n 800e3a6 + 800e3c2: 4282 cmp r2, r0 + 800e3c4: e7e9 b.n 800e39a + 800e3c6: 1b12 subs r2, r2, r4 + 800e3c8: b292 uxth r2, r2 + 800e3ca: 4282 cmp r2, r0 + 800e3cc: d8eb bhi.n 800e3a6 + 800e3ce: f04f 30ff mov.w r0, #4294967295 + 800e3d2: f386 8810 msr PRIMASK, r6 + 800e3d6: bd70 pop {r4, r5, r6, pc} + 800e3d8: 20001f68 .word 0x20001f68 -0800e4cc : - 800e4cc: b408 push {r3} - 800e4ce: b5f0 push {r4, r5, r6, r7, lr} - 800e4d0: b086 sub sp, #24 - 800e4d2: 2300 movs r3, #0 - 800e4d4: f8ad 3000 strh.w r3, [sp] - 800e4d8: 4b2c ldr r3, [pc, #176] ; (800e58c ) - 800e4da: 9c0b ldr r4, [sp, #44] ; 0x2c - 800e4dc: 7a1d ldrb r5, [r3, #8] - 800e4de: 4285 cmp r5, r0 - 800e4e0: d34d bcc.n 800e57e - 800e4e2: 68d8 ldr r0, [r3, #12] - 800e4e4: 4381 bics r1, r0 - 800e4e6: d14d bne.n 800e584 - 800e4e8: 685b ldr r3, [r3, #4] - 800e4ea: b11b cbz r3, 800e4f4 - 800e4ec: b112 cbz r2, 800e4f4 - 800e4ee: 4669 mov r1, sp - 800e4f0: a802 add r0, sp, #8 - 800e4f2: 4798 blx r3 - 800e4f4: ab0c add r3, sp, #48 ; 0x30 - 800e4f6: 4622 mov r2, r4 - 800e4f8: f44f 7100 mov.w r1, #512 ; 0x200 - 800e4fc: 4824 ldr r0, [pc, #144] ; (800e590 ) - 800e4fe: 9301 str r3, [sp, #4] - 800e500: f000 fbf6 bl 800ecf0 - 800e504: f7ff ff60 bl 800e3c8 - 800e508: f8bd 3000 ldrh.w r3, [sp] - 800e50c: 4418 add r0, r3 - 800e50e: f10d 0102 add.w r1, sp, #2 - 800e512: b280 uxth r0, r0 - 800e514: f7ff ff28 bl 800e368 - 800e518: 3001 adds r0, #1 - 800e51a: d02b beq.n 800e574 - 800e51c: 2200 movs r2, #0 - 800e51e: f8bd 3000 ldrh.w r3, [sp] - 800e522: f8bd 7002 ldrh.w r7, [sp, #2] - 800e526: 481b ldr r0, [pc, #108] ; (800e594 ) - 800e528: f10d 0c08 add.w ip, sp, #8 - 800e52c: 4616 mov r6, r2 - 800e52e: b291 uxth r1, r2 - 800e530: fa17 f582 uxtah r5, r7, r2 - 800e534: 428b cmp r3, r1 - 800e536: b2ad uxth r5, r5 - 800e538: d816 bhi.n 800e568 - 800e53a: 443b add r3, r7 - 800e53c: b29b uxth r3, r3 - 800e53e: b10e cbz r6, 800e544 - 800e540: f8ad 3002 strh.w r3, [sp, #2] - 800e544: f8bd 5002 ldrh.w r5, [sp, #2] - 800e548: 9b01 ldr r3, [sp, #4] - 800e54a: 4622 mov r2, r4 - 800e54c: f44f 7100 mov.w r1, #512 ; 0x200 - 800e550: 4428 add r0, r5 - 800e552: f000 fbcd bl 800ecf0 - 800e556: f7ff ff43 bl 800e3e0 - 800e55a: f7ff ff73 bl 800e444 - 800e55e: b006 add sp, #24 - 800e560: e8bd 40f0 ldmia.w sp!, {r4, r5, r6, r7, lr} - 800e564: b001 add sp, #4 - 800e566: 4770 bx lr - 800e568: f81c 1b01 ldrb.w r1, [ip], #1 - 800e56c: 5541 strb r1, [r0, r5] - 800e56e: 3201 adds r2, #1 - 800e570: 2601 movs r6, #1 - 800e572: e7dc b.n 800e52e - 800e574: f7ff ff34 bl 800e3e0 - 800e578: f06f 0002 mvn.w r0, #2 - 800e57c: e7ef b.n 800e55e - 800e57e: f06f 0004 mvn.w r0, #4 - 800e582: e7ec b.n 800e55e - 800e584: f06f 0005 mvn.w r0, #5 - 800e588: e7e9 b.n 800e55e - 800e58a: bf00 nop - 800e58c: 20001f68 .word 0x20001f68 - 800e590: 20001f80 .word 0x20001f80 - 800e594: 20001b68 .word 0x20001b68 +0800e3dc : + 800e3dc: f3ef 8110 mrs r1, PRIMASK + 800e3e0: b672 cpsid i + 800e3e2: 4a03 ldr r2, [pc, #12] ; (800e3f0 ) + 800e3e4: 8ad3 ldrh r3, [r2, #22] + 800e3e6: 3301 adds r3, #1 + 800e3e8: 82d3 strh r3, [r2, #22] + 800e3ea: f381 8810 msr PRIMASK, r1 + 800e3ee: 4770 bx lr + 800e3f0: 20001f68 .word 0x20001f68 -0800e598 : - 800e598: b513 push {r0, r1, r4, lr} - 800e59a: f3ef 8410 mrs r4, PRIMASK - 800e59e: b672 cpsid i - 800e5a0: 4b20 ldr r3, [pc, #128] ; (800e624 ) - 800e5a2: 789a ldrb r2, [r3, #2] - 800e5a4: 8a58 ldrh r0, [r3, #18] - 800e5a6: 2a02 cmp r2, #2 - 800e5a8: bf1d ittte ne - 800e5aa: 8a1a ldrhne r2, [r3, #16] - 800e5ac: 8a99 ldrhne r1, [r3, #20] - 800e5ae: 1852 addne r2, r2, r1 - 800e5b0: 2200 moveq r2, #0 - 800e5b2: bf14 ite ne - 800e5b4: f3c2 0209 ubfxne r2, r2, #0, #10 - 800e5b8: 709a strbeq r2, [r3, #2] - 800e5ba: 4290 cmp r0, r2 - 800e5bc: 821a strh r2, [r3, #16] - 800e5be: d028 beq.n 800e612 - 800e5c0: 8ad9 ldrh r1, [r3, #22] - 800e5c2: 2901 cmp r1, #1 - 800e5c4: d125 bne.n 800e612 - 800e5c6: 7899 ldrb r1, [r3, #2] - 800e5c8: 2901 cmp r1, #1 - 800e5ca: d113 bne.n 800e5f4 - 800e5cc: 8819 ldrh r1, [r3, #0] - 800e5ce: 1a8a subs r2, r1, r2 - 800e5d0: 2102 movs r1, #2 - 800e5d2: b292 uxth r2, r2 - 800e5d4: 7099 strb r1, [r3, #2] - 800e5d6: 2100 movs r1, #0 - 800e5d8: 829a strh r2, [r3, #20] - 800e5da: 8019 strh r1, [r3, #0] - 800e5dc: b962 cbnz r2, 800e5f8 - 800e5de: 709a strb r2, [r3, #2] - 800e5e0: 821a strh r2, [r3, #16] - 800e5e2: 8a1a ldrh r2, [r3, #16] - 800e5e4: 4290 cmp r0, r2 - 800e5e6: bf8b itete hi - 800e5e8: 1a80 subhi r0, r0, r2 - 800e5ea: f5c2 6280 rsbls r2, r2, #1024 ; 0x400 - 800e5ee: 8298 strhhi r0, [r3, #20] - 800e5f0: 829a strhls r2, [r3, #20] - 800e5f2: e001 b.n 800e5f8 - 800e5f4: 2900 cmp r1, #0 - 800e5f6: d0f4 beq.n 800e5e2 - 800e5f8: 8a1a ldrh r2, [r3, #16] - 800e5fa: 480b ldr r0, [pc, #44] ; (800e628 ) - 800e5fc: 4410 add r0, r2 - 800e5fe: f384 8810 msr PRIMASK, r4 - 800e602: 4a0a ldr r2, [pc, #40] ; (800e62c ) - 800e604: 8a99 ldrh r1, [r3, #20] - 800e606: 68d3 ldr r3, [r2, #12] - 800e608: 9301 str r3, [sp, #4] - 800e60a: b002 add sp, #8 - 800e60c: e8bd 4010 ldmia.w sp!, {r4, lr} - 800e610: 4718 bx r3 +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: 3b01 subs r3, #1 + 800e400: 82d3 strh r3, [r2, #22] + 800e402: f381 8810 msr PRIMASK, r1 + 800e406: 4770 bx lr + 800e408: 20001f68 .word 0x20001f68 + +0800e40c : + 800e40c: b510 push {r4, lr} + 800e40e: 4808 ldr r0, [pc, #32] ; (800e430 ) + 800e410: 2218 movs r2, #24 + 800e412: 2100 movs r1, #0 + 800e414: f000 f976 bl 800e704 + 800e418: 4806 ldr r0, [pc, #24] ; (800e434 ) + 800e41a: f44f 6280 mov.w r2, #1024 ; 0x400 + 800e41e: 2100 movs r1, #0 + 800e420: f000 f970 bl 800e704 + 800e424: 4b04 ldr r3, [pc, #16] ; (800e438 ) + 800e426: 4805 ldr r0, [pc, #20] ; (800e43c ) + 800e428: 681b ldr r3, [r3, #0] + 800e42a: e8bd 4010 ldmia.w sp!, {r4, lr} + 800e42e: 4718 bx r3 + 800e430: 20001f68 .word 0x20001f68 + 800e434: 20001b68 .word 0x20001b68 + 800e438: 0800f188 .word 0x0800f188 + 800e43c: 0800e5ad .word 0x0800e5ad + +0800e440 : + 800e440: 4b01 ldr r3, [pc, #4] ; (800e448 ) + 800e442: 6058 str r0, [r3, #4] + 800e444: 4770 bx lr + 800e446: bf00 nop + 800e448: 20001f68 .word 0x20001f68 + +0800e44c : + 800e44c: 4b01 ldr r3, [pc, #4] ; (800e454 ) + 800e44e: 7218 strb r0, [r3, #8] + 800e450: 4770 bx lr + 800e452: bf00 nop + 800e454: 20001f68 .word 0x20001f68 + +0800e458 : + 800e458: b573 push {r0, r1, r4, r5, r6, lr} + 800e45a: f3ef 8510 mrs r5, PRIMASK + 800e45e: b672 cpsid i + 800e460: 4c1c ldr r4, [pc, #112] ; (800e4d4 ) + 800e462: 8ae0 ldrh r0, [r4, #22] + 800e464: 2800 cmp r0, #0 + 800e466: d12f bne.n 800e4c8 + 800e468: f7ff ffb8 bl 800e3dc + 800e46c: 8a21 ldrh r1, [r4, #16] + 800e46e: 8a62 ldrh r2, [r4, #18] + 800e470: 4291 cmp r1, r2 + 800e472: d027 beq.n 800e4c4 + 800e474: 78a3 ldrb r3, [r4, #2] + 800e476: 2b01 cmp r3, #1 + 800e478: d112 bne.n 800e4a0 + 800e47a: 8823 ldrh r3, [r4, #0] + 800e47c: 8020 strh r0, [r4, #0] + 800e47e: 1a5b subs r3, r3, r1 + 800e480: b29b uxth r3, r3 + 800e482: 2102 movs r1, #2 + 800e484: 82a3 strh r3, [r4, #20] + 800e486: 70a1 strb r1, [r4, #2] + 800e488: b963 cbnz r3, 800e4a4 + 800e48a: 70a3 strb r3, [r4, #2] + 800e48c: 8223 strh r3, [r4, #16] + 800e48e: 8a23 ldrh r3, [r4, #16] + 800e490: 429a cmp r2, r3 + 800e492: bf8b itete hi + 800e494: 1ad2 subhi r2, r2, r3 + 800e496: f5c3 6380 rsbls r3, r3, #1024 ; 0x400 + 800e49a: 82a2 strhhi r2, [r4, #20] + 800e49c: 82a3 strhls r3, [r4, #20] + 800e49e: e001 b.n 800e4a4 + 800e4a0: 2b00 cmp r3, #0 + 800e4a2: d0f4 beq.n 800e48e + 800e4a4: 8a23 ldrh r3, [r4, #16] + 800e4a6: 4e0c ldr r6, [pc, #48] ; (800e4d8 ) + 800e4a8: 441e add r6, r3 + 800e4aa: f385 8810 msr PRIMASK, r5 + 800e4ae: f7f3 fa03 bl 80018b8 + 800e4b2: 4b0a ldr r3, [pc, #40] ; (800e4dc ) + 800e4b4: 8aa1 ldrh r1, [r4, #20] + 800e4b6: 68db ldr r3, [r3, #12] + 800e4b8: 9301 str r3, [sp, #4] + 800e4ba: 4630 mov r0, r6 + 800e4bc: b002 add sp, #8 + 800e4be: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 800e4c2: 4718 bx r3 + 800e4c4: f7ff ff96 bl 800e3f4 + 800e4c8: f385 8810 msr PRIMASK, r5 + 800e4cc: 2000 movs r0, #0 + 800e4ce: b002 add sp, #8 + 800e4d0: bd70 pop {r4, r5, r6, pc} + 800e4d2: bf00 nop + 800e4d4: 20001f68 .word 0x20001f68 + 800e4d8: 20001b68 .word 0x20001b68 + 800e4dc: 0800f188 .word 0x0800f188 + +0800e4e0 : + 800e4e0: b408 push {r3} + 800e4e2: b5f0 push {r4, r5, r6, r7, lr} + 800e4e4: b086 sub sp, #24 + 800e4e6: 2300 movs r3, #0 + 800e4e8: f8ad 3000 strh.w r3, [sp] + 800e4ec: 4b2c ldr r3, [pc, #176] ; (800e5a0 ) + 800e4ee: 9c0b ldr r4, [sp, #44] ; 0x2c + 800e4f0: 7a1d ldrb r5, [r3, #8] + 800e4f2: 4285 cmp r5, r0 + 800e4f4: d34d bcc.n 800e592 + 800e4f6: 68d8 ldr r0, [r3, #12] + 800e4f8: 4381 bics r1, r0 + 800e4fa: d14d bne.n 800e598 + 800e4fc: 685b ldr r3, [r3, #4] + 800e4fe: b11b cbz r3, 800e508 + 800e500: b112 cbz r2, 800e508 + 800e502: 4669 mov r1, sp + 800e504: a802 add r0, sp, #8 + 800e506: 4798 blx r3 + 800e508: ab0c add r3, sp, #48 ; 0x30 + 800e50a: 4622 mov r2, r4 + 800e50c: f44f 7100 mov.w r1, #512 ; 0x200 + 800e510: 4824 ldr r0, [pc, #144] ; (800e5a4 ) + 800e512: 9301 str r3, [sp, #4] + 800e514: f000 fbf6 bl 800ed04 + 800e518: f7ff ff60 bl 800e3dc + 800e51c: f8bd 3000 ldrh.w r3, [sp] + 800e520: 4418 add r0, r3 + 800e522: f10d 0102 add.w r1, sp, #2 + 800e526: b280 uxth r0, r0 + 800e528: f7ff ff28 bl 800e37c + 800e52c: 3001 adds r0, #1 + 800e52e: d02b beq.n 800e588 + 800e530: 2200 movs r2, #0 + 800e532: f8bd 3000 ldrh.w r3, [sp] + 800e536: f8bd 7002 ldrh.w r7, [sp, #2] + 800e53a: 481b ldr r0, [pc, #108] ; (800e5a8 ) + 800e53c: f10d 0c08 add.w ip, sp, #8 + 800e540: 4616 mov r6, r2 + 800e542: b291 uxth r1, r2 + 800e544: fa17 f582 uxtah r5, r7, r2 + 800e548: 428b cmp r3, r1 + 800e54a: b2ad uxth r5, r5 + 800e54c: d816 bhi.n 800e57c + 800e54e: 443b add r3, r7 + 800e550: b29b uxth r3, r3 + 800e552: b10e cbz r6, 800e558 + 800e554: f8ad 3002 strh.w r3, [sp, #2] + 800e558: f8bd 5002 ldrh.w r5, [sp, #2] + 800e55c: 9b01 ldr r3, [sp, #4] + 800e55e: 4622 mov r2, r4 + 800e560: f44f 7100 mov.w r1, #512 ; 0x200 + 800e564: 4428 add r0, r5 + 800e566: f000 fbcd bl 800ed04 + 800e56a: f7ff ff43 bl 800e3f4 + 800e56e: f7ff ff73 bl 800e458 + 800e572: b006 add sp, #24 + 800e574: e8bd 40f0 ldmia.w sp!, {r4, r5, r6, r7, lr} + 800e578: b001 add sp, #4 + 800e57a: 4770 bx lr + 800e57c: f81c 1b01 ldrb.w r1, [ip], #1 + 800e580: 5541 strb r1, [r0, r5] + 800e582: 3201 adds r2, #1 + 800e584: 2601 movs r6, #1 + 800e586: e7dc b.n 800e542 + 800e588: f7ff ff34 bl 800e3f4 + 800e58c: f06f 0002 mvn.w r0, #2 + 800e590: e7ef b.n 800e572 + 800e592: f06f 0004 mvn.w r0, #4 + 800e596: e7ec b.n 800e572 + 800e598: f06f 0005 mvn.w r0, #5 + 800e59c: e7e9 b.n 800e572 + 800e59e: bf00 nop + 800e5a0: 20001f68 .word 0x20001f68 + 800e5a4: 20001f80 .word 0x20001f80 + 800e5a8: 20001b68 .word 0x20001b68 + +0800e5ac : + 800e5ac: b513 push {r0, r1, r4, lr} + 800e5ae: f3ef 8410 mrs r4, PRIMASK + 800e5b2: b672 cpsid i + 800e5b4: 4b20 ldr r3, [pc, #128] ; (800e638 ) + 800e5b6: 789a ldrb r2, [r3, #2] + 800e5b8: 8a58 ldrh r0, [r3, #18] + 800e5ba: 2a02 cmp r2, #2 + 800e5bc: bf1d ittte ne + 800e5be: 8a1a ldrhne r2, [r3, #16] + 800e5c0: 8a99 ldrhne r1, [r3, #20] + 800e5c2: 1852 addne r2, r2, r1 + 800e5c4: 2200 moveq r2, #0 + 800e5c6: bf14 ite ne + 800e5c8: f3c2 0209 ubfxne r2, r2, #0, #10 + 800e5cc: 709a strbeq r2, [r3, #2] + 800e5ce: 4290 cmp r0, r2 + 800e5d0: 821a strh r2, [r3, #16] + 800e5d2: d028 beq.n 800e626 + 800e5d4: 8ad9 ldrh r1, [r3, #22] + 800e5d6: 2901 cmp r1, #1 + 800e5d8: d125 bne.n 800e626 + 800e5da: 7899 ldrb r1, [r3, #2] + 800e5dc: 2901 cmp r1, #1 + 800e5de: d113 bne.n 800e608 + 800e5e0: 8819 ldrh r1, [r3, #0] + 800e5e2: 1a8a subs r2, r1, r2 + 800e5e4: 2102 movs r1, #2 + 800e5e6: b292 uxth r2, r2 + 800e5e8: 7099 strb r1, [r3, #2] + 800e5ea: 2100 movs r1, #0 + 800e5ec: 829a strh r2, [r3, #20] + 800e5ee: 8019 strh r1, [r3, #0] + 800e5f0: b962 cbnz r2, 800e60c + 800e5f2: 709a strb r2, [r3, #2] + 800e5f4: 821a strh r2, [r3, #16] + 800e5f6: 8a1a ldrh r2, [r3, #16] + 800e5f8: 4290 cmp r0, r2 + 800e5fa: bf8b itete hi + 800e5fc: 1a80 subhi r0, r0, r2 + 800e5fe: f5c2 6280 rsbls r2, r2, #1024 ; 0x400 + 800e602: 8298 strhhi r0, [r3, #20] + 800e604: 829a strhls r2, [r3, #20] + 800e606: e001 b.n 800e60c + 800e608: 2900 cmp r1, #0 + 800e60a: d0f4 beq.n 800e5f6 + 800e60c: 8a1a ldrh r2, [r3, #16] + 800e60e: 480b ldr r0, [pc, #44] ; (800e63c ) + 800e610: 4410 add r0, r2 800e612: f384 8810 msr PRIMASK, r4 - 800e616: f7f3 f953 bl 80018c0 - 800e61a: b002 add sp, #8 - 800e61c: e8bd 4010 ldmia.w sp!, {r4, lr} - 800e620: f7ff bede b.w 800e3e0 - 800e624: 20001f68 .word 0x20001f68 - 800e628: 20001b68 .word 0x20001b68 - 800e62c: 0800f178 .word 0x0800f178 + 800e616: 4a0a ldr r2, [pc, #40] ; (800e640 ) + 800e618: 8a99 ldrh r1, [r3, #20] + 800e61a: 68d3 ldr r3, [r2, #12] + 800e61c: 9301 str r3, [sp, #4] + 800e61e: b002 add sp, #8 + 800e620: e8bd 4010 ldmia.w sp!, {r4, lr} + 800e624: 4718 bx r3 + 800e626: f384 8810 msr PRIMASK, r4 + 800e62a: f7f3 f949 bl 80018c0 + 800e62e: b002 add sp, #8 + 800e630: e8bd 4010 ldmia.w sp!, {r4, lr} + 800e634: f7ff bede b.w 800e3f4 + 800e638: 20001f68 .word 0x20001f68 + 800e63c: 20001b68 .word 0x20001b68 + 800e640: 0800f188 .word 0x0800f188 -0800e630 : - 800e630: 4a02 ldr r2, [pc, #8] ; (800e63c ) - 800e632: 2300 movs r3, #0 - 800e634: 6013 str r3, [r2, #0] - 800e636: 4a02 ldr r2, [pc, #8] ; (800e640 ) - 800e638: 6013 str r3, [r2, #0] - 800e63a: 4770 bx lr - 800e63c: 20002184 .word 0x20002184 - 800e640: 20002180 .word 0x20002180 +0800e644 : + 800e644: 4a02 ldr r2, [pc, #8] ; (800e650 ) + 800e646: 2300 movs r3, #0 + 800e648: 6013 str r3, [r2, #0] + 800e64a: 4a02 ldr r2, [pc, #8] ; (800e654 ) + 800e64c: 6013 str r3, [r2, #0] + 800e64e: 4770 bx lr + 800e650: 20002184 .word 0x20002184 + 800e654: 20002180 .word 0x20002180 -0800e644 : - 800e644: b510 push {r4, lr} - 800e646: f3ef 8410 mrs r4, PRIMASK - 800e64a: b672 cpsid i - 800e64c: b141 cbz r1, 800e660 - 800e64e: 2901 cmp r1, #1 - 800e650: d103 bne.n 800e65a - 800e652: 4a06 ldr r2, [pc, #24] ; (800e66c ) - 800e654: 6813 ldr r3, [r2, #0] - 800e656: 4303 orrs r3, r0 - 800e658: 6013 str r3, [r2, #0] - 800e65a: f384 8810 msr PRIMASK, r4 - 800e65e: bd10 pop {r4, pc} - 800e660: 4a02 ldr r2, [pc, #8] ; (800e66c ) - 800e662: 6813 ldr r3, [r2, #0] - 800e664: ea23 0300 bic.w r3, r3, r0 - 800e668: e7f6 b.n 800e658 - 800e66a: bf00 nop - 800e66c: 20002184 .word 0x20002184 +0800e658 : + 800e658: b510 push {r4, lr} + 800e65a: f3ef 8410 mrs r4, PRIMASK + 800e65e: b672 cpsid i + 800e660: b141 cbz r1, 800e674 + 800e662: 2901 cmp r1, #1 + 800e664: d103 bne.n 800e66e + 800e666: 4a06 ldr r2, [pc, #24] ; (800e680 ) + 800e668: 6813 ldr r3, [r2, #0] + 800e66a: 4303 orrs r3, r0 + 800e66c: 6013 str r3, [r2, #0] + 800e66e: f384 8810 msr PRIMASK, r4 + 800e672: bd10 pop {r4, pc} + 800e674: 4a02 ldr r2, [pc, #8] ; (800e680 ) + 800e676: 6813 ldr r3, [r2, #0] + 800e678: ea23 0300 bic.w r3, r3, r0 + 800e67c: e7f6 b.n 800e66c + 800e67e: bf00 nop + 800e680: 20002184 .word 0x20002184 -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: 20002180 .word 0x20002180 +0800e684 : + 800e684: b510 push {r4, lr} + 800e686: f3ef 8410 mrs r4, PRIMASK + 800e68a: b672 cpsid i + 800e68c: b141 cbz r1, 800e6a0 + 800e68e: 2901 cmp r1, #1 + 800e690: d103 bne.n 800e69a + 800e692: 4a06 ldr r2, [pc, #24] ; (800e6ac ) + 800e694: 6813 ldr r3, [r2, #0] + 800e696: 4303 orrs r3, r0 + 800e698: 6013 str r3, [r2, #0] + 800e69a: f384 8810 msr PRIMASK, r4 + 800e69e: bd10 pop {r4, pc} + 800e6a0: 4a02 ldr r2, [pc, #8] ; (800e6ac ) + 800e6a2: 6813 ldr r3, [r2, #0] + 800e6a4: ea23 0300 bic.w r3, r3, r0 + 800e6a8: e7f6 b.n 800e698 + 800e6aa: bf00 nop + 800e6ac: 20002180 .word 0x20002180 -0800e69c : - 800e69c: b538 push {r3, r4, r5, lr} - 800e69e: f3ef 8510 mrs r5, PRIMASK - 800e6a2: b672 cpsid i - 800e6a4: 4b0a ldr r3, [pc, #40] ; (800e6d0 ) - 800e6a6: 4c0b ldr r4, [pc, #44] ; (800e6d4 ) - 800e6a8: 681b ldr r3, [r3, #0] - 800e6aa: b133 cbz r3, 800e6ba - 800e6ac: 6823 ldr r3, [r4, #0] - 800e6ae: 4798 blx r3 - 800e6b0: 6863 ldr r3, [r4, #4] - 800e6b2: 4798 blx r3 - 800e6b4: f385 8810 msr PRIMASK, r5 - 800e6b8: bd38 pop {r3, r4, r5, pc} - 800e6ba: 4b07 ldr r3, [pc, #28] ; (800e6d8 ) +0800e6b0 : + 800e6b0: b538 push {r3, r4, r5, lr} + 800e6b2: f3ef 8510 mrs r5, PRIMASK + 800e6b6: b672 cpsid i + 800e6b8: 4b0a ldr r3, [pc, #40] ; (800e6e4 ) + 800e6ba: 4c0b ldr r4, [pc, #44] ; (800e6e8 ) 800e6bc: 681b ldr r3, [r3, #0] - 800e6be: b11b cbz r3, 800e6c8 - 800e6c0: 68a3 ldr r3, [r4, #8] + 800e6be: b133 cbz r3, 800e6ce + 800e6c0: 6823 ldr r3, [r4, #0] 800e6c2: 4798 blx r3 - 800e6c4: 68e3 ldr r3, [r4, #12] - 800e6c6: e7f4 b.n 800e6b2 - 800e6c8: 6923 ldr r3, [r4, #16] - 800e6ca: 4798 blx r3 - 800e6cc: 6963 ldr r3, [r4, #20] - 800e6ce: e7f0 b.n 800e6b2 - 800e6d0: 20002184 .word 0x20002184 - 800e6d4: 0800f114 .word 0x0800f114 - 800e6d8: 20002180 .word 0x20002180 + 800e6c4: 6863 ldr r3, [r4, #4] + 800e6c6: 4798 blx r3 + 800e6c8: f385 8810 msr PRIMASK, r5 + 800e6cc: bd38 pop {r3, r4, r5, pc} + 800e6ce: 4b07 ldr r3, [pc, #28] ; (800e6ec ) + 800e6d0: 681b ldr r3, [r3, #0] + 800e6d2: b11b cbz r3, 800e6dc + 800e6d4: 68a3 ldr r3, [r4, #8] + 800e6d6: 4798 blx r3 + 800e6d8: 68e3 ldr r3, [r4, #12] + 800e6da: e7f4 b.n 800e6c6 + 800e6dc: 6923 ldr r3, [r4, #16] + 800e6de: 4798 blx r3 + 800e6e0: 6963 ldr r3, [r4, #20] + 800e6e2: e7f0 b.n 800e6c6 + 800e6e4: 20002184 .word 0x20002184 + 800e6e8: 0800f124 .word 0x0800f124 + 800e6ec: 20002180 .word 0x20002180 -0800e6dc : - 800e6dc: 3801 subs r0, #1 - 800e6de: 440a add r2, r1 - 800e6e0: 4291 cmp r1, r2 - 800e6e2: d100 bne.n 800e6e6 - 800e6e4: 4770 bx lr - 800e6e6: f811 3b01 ldrb.w r3, [r1], #1 - 800e6ea: f800 3f01 strb.w r3, [r0, #1]! - 800e6ee: e7f7 b.n 800e6e0 +0800e6f0 : + 800e6f0: 3801 subs r0, #1 + 800e6f2: 440a add r2, r1 + 800e6f4: 4291 cmp r1, r2 + 800e6f6: d100 bne.n 800e6fa + 800e6f8: 4770 bx lr + 800e6fa: f811 3b01 ldrb.w r3, [r1], #1 + 800e6fe: f800 3f01 strb.w r3, [r0, #1]! + 800e702: e7f7 b.n 800e6f4 -0800e6f0 : - 800e6f0: f000 bc1c b.w 800ef2c +0800e704 : + 800e704: f000 bc1c b.w 800ef40 -0800e6f4 : - 800e6f4: b510 push {r4, lr} - 800e6f6: f3ef 8410 mrs r4, PRIMASK - 800e6fa: b672 cpsid i - 800e6fc: 4a06 ldr r2, [pc, #24] ; (800e718 ) - 800e6fe: 6813 ldr r3, [r2, #0] - 800e700: 4303 orrs r3, r0 - 800e702: 6013 str r3, [r2, #0] - 800e704: 4a05 ldr r2, [pc, #20] ; (800e71c ) - 800e706: f852 3031 ldr.w r3, [r2, r1, lsl #3] - 800e70a: 4303 orrs r3, r0 - 800e70c: f842 3031 str.w r3, [r2, r1, lsl #3] - 800e710: f384 8810 msr PRIMASK, r4 - 800e714: bd10 pop {r4, pc} - 800e716: bf00 nop - 800e718: 200021ac .word 0x200021ac - 800e71c: 200021a4 .word 0x200021a4 +0800e708 : + 800e708: b510 push {r4, lr} + 800e70a: f3ef 8410 mrs r4, PRIMASK + 800e70e: b672 cpsid i + 800e710: 4a06 ldr r2, [pc, #24] ; (800e72c ) + 800e712: 6813 ldr r3, [r2, #0] + 800e714: 4303 orrs r3, r0 + 800e716: 6013 str r3, [r2, #0] + 800e718: 4a05 ldr r2, [pc, #20] ; (800e730 ) + 800e71a: f852 3031 ldr.w r3, [r2, r1, lsl #3] + 800e71e: 4303 orrs r3, r0 + 800e720: f842 3031 str.w r3, [r2, r1, lsl #3] + 800e724: f384 8810 msr PRIMASK, r4 + 800e728: bd10 pop {r4, pc} + 800e72a: bf00 nop + 800e72c: 200021ac .word 0x200021ac + 800e730: 200021a4 .word 0x200021a4 -0800e720 : - 800e720: 4770 bx lr +0800e734 : + 800e734: 4770 bx lr -0800e722 : - 800e722: 4770 bx lr +0800e736 : + 800e736: 4770 bx lr -0800e724 : - 800e724: 0c03 lsrs r3, r0, #16 - 800e726: 041b lsls r3, r3, #16 - 800e728: b9c3 cbnz r3, 800e75c - 800e72a: 0400 lsls r0, r0, #16 - 800e72c: 2310 movs r3, #16 - 800e72e: f010 4f7f tst.w r0, #4278190080 ; 0xff000000 - 800e732: bf02 ittt eq - 800e734: 3308 addeq r3, #8 - 800e736: 0200 lsleq r0, r0, #8 - 800e738: b2db uxtbeq r3, r3 - 800e73a: f010 4f70 tst.w r0, #4026531840 ; 0xf0000000 - 800e73e: bf08 it eq - 800e740: 0100 lsleq r0, r0, #4 - 800e742: ea4f 7010 mov.w r0, r0, lsr #28 - 800e746: 4a06 ldr r2, [pc, #24] ; (800e760 ) - 800e748: bf08 it eq - 800e74a: 3304 addeq r3, #4 - 800e74c: 5c12 ldrb r2, [r2, r0] - 800e74e: bf08 it eq - 800e750: b2db uxtbeq r3, r3 - 800e752: f1c3 031f rsb r3, r3, #31 - 800e756: 1a98 subs r0, r3, r2 - 800e758: b2c0 uxtb r0, r0 - 800e75a: 4770 bx lr - 800e75c: 2300 movs r3, #0 - 800e75e: e7e6 b.n 800e72e - 800e760: 0800fb20 .word 0x0800fb20 +0800e738 : + 800e738: 0c03 lsrs r3, r0, #16 + 800e73a: 041b lsls r3, r3, #16 + 800e73c: b9c3 cbnz r3, 800e770 + 800e73e: 0400 lsls r0, r0, #16 + 800e740: 2310 movs r3, #16 + 800e742: f010 4f7f tst.w r0, #4278190080 ; 0xff000000 + 800e746: bf02 ittt eq + 800e748: 3308 addeq r3, #8 + 800e74a: 0200 lsleq r0, r0, #8 + 800e74c: b2db uxtbeq r3, r3 + 800e74e: f010 4f70 tst.w r0, #4026531840 ; 0xf0000000 + 800e752: bf08 it eq + 800e754: 0100 lsleq r0, r0, #4 + 800e756: ea4f 7010 mov.w r0, r0, lsr #28 + 800e75a: 4a06 ldr r2, [pc, #24] ; (800e774 ) + 800e75c: bf08 it eq + 800e75e: 3304 addeq r3, #4 + 800e760: 5c12 ldrb r2, [r2, r0] + 800e762: bf08 it eq + 800e764: b2db uxtbeq r3, r3 + 800e766: f1c3 031f rsb r3, r3, #31 + 800e76a: 1a98 subs r0, r3, r2 + 800e76c: b2c0 uxtb r0, r0 + 800e76e: 4770 bx lr + 800e770: 2300 movs r3, #0 + 800e772: e7e6 b.n 800e742 + 800e774: 0800fb30 .word 0x0800fb30 -0800e764 : - 800e764: e92d 4ff8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800e768: 4d38 ldr r5, [pc, #224] ; (800e84c ) - 800e76a: 4e39 ldr r6, [pc, #228] ; (800e850 ) - 800e76c: f8d5 8000 ldr.w r8, [r5] - 800e770: f8df b0e0 ldr.w fp, [pc, #224] ; 800e854 - 800e774: f8df a0e0 ldr.w sl, [pc, #224] ; 800e858 - 800e778: f8df 90e0 ldr.w r9, [pc, #224] ; 800e85c - 800e77c: f8d6 c000 ldr.w ip, [r6] - 800e780: 4f37 ldr r7, [pc, #220] ; (800e860 ) - 800e782: f8db 1000 ldr.w r1, [fp] - 800e786: 4c37 ldr r4, [pc, #220] ; (800e864 ) - 800e788: f8da 2000 ldr.w r2, [sl] - 800e78c: f8d9 3000 ldr.w r3, [r9] - 800e790: ea08 0000 and.w r0, r8, r0 - 800e794: 6028 str r0, [r5, #0] - 800e796: 6828 ldr r0, [r5, #0] - 800e798: ea00 0e02 and.w lr, r0, r2 - 800e79c: ea1e 0f0c tst.w lr, ip - 800e7a0: d001 beq.n 800e7a6 - 800e7a2: 4219 tst r1, r3 - 800e7a4: d01e beq.n 800e7e4 - 800e7a6: f04f 33ff mov.w r3, #4294967295 - 800e7aa: 603b str r3, [r7, #0] - 800e7ac: f7ff ffb8 bl 800e720 - 800e7b0: f3ef 8410 mrs r4, PRIMASK - 800e7b4: b672 cpsid i - 800e7b6: 6833 ldr r3, [r6, #0] - 800e7b8: f8db 2000 ldr.w r2, [fp] - 800e7bc: f8da 1000 ldr.w r1, [sl] - 800e7c0: 400b ands r3, r1 - 800e7c2: 6829 ldr r1, [r5, #0] - 800e7c4: 420b tst r3, r1 - 800e7c6: d105 bne.n 800e7d4 - 800e7c8: f8d9 3000 ldr.w r3, [r9] - 800e7cc: 4213 tst r3, r2 - 800e7ce: d101 bne.n 800e7d4 - 800e7d0: f7f3 f800 bl 80017d4 - 800e7d4: f384 8810 msr PRIMASK, r4 - 800e7d8: f7ff ffa3 bl 800e722 - 800e7dc: f8c5 8000 str.w r8, [r5] - 800e7e0: e8bd 8ff8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800e7e4: 6823 ldr r3, [r4, #0] - 800e7e6: 6823 ldr r3, [r4, #0] - 800e7e8: 4003 ands r3, r0 - 800e7ea: 4013 ands r3, r2 - 800e7ec: 6862 ldr r2, [r4, #4] - 800e7ee: 421a tst r2, r3 - 800e7f0: bf04 itt eq - 800e7f2: f04f 32ff moveq.w r2, #4294967295 - 800e7f6: 6062 streq r2, [r4, #4] - 800e7f8: 6860 ldr r0, [r4, #4] - 800e7fa: 4018 ands r0, r3 - 800e7fc: f7ff ff92 bl 800e724 +0800e778 : + 800e778: e92d 4ff8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800e77c: 4d38 ldr r5, [pc, #224] ; (800e860 ) + 800e77e: 4e39 ldr r6, [pc, #228] ; (800e864 ) + 800e780: f8d5 8000 ldr.w r8, [r5] + 800e784: f8df b0e0 ldr.w fp, [pc, #224] ; 800e868 + 800e788: f8df a0e0 ldr.w sl, [pc, #224] ; 800e86c + 800e78c: f8df 90e0 ldr.w r9, [pc, #224] ; 800e870 + 800e790: f8d6 c000 ldr.w ip, [r6] + 800e794: 4f37 ldr r7, [pc, #220] ; (800e874 ) + 800e796: f8db 1000 ldr.w r1, [fp] + 800e79a: 4c37 ldr r4, [pc, #220] ; (800e878 ) + 800e79c: f8da 2000 ldr.w r2, [sl] + 800e7a0: f8d9 3000 ldr.w r3, [r9] + 800e7a4: ea08 0000 and.w r0, r8, r0 + 800e7a8: 6028 str r0, [r5, #0] + 800e7aa: 6828 ldr r0, [r5, #0] + 800e7ac: ea00 0e02 and.w lr, r0, r2 + 800e7b0: ea1e 0f0c tst.w lr, ip + 800e7b4: d001 beq.n 800e7ba + 800e7b6: 4219 tst r1, r3 + 800e7b8: d01e beq.n 800e7f8 + 800e7ba: f04f 33ff mov.w r3, #4294967295 + 800e7be: 603b str r3, [r7, #0] + 800e7c0: f7ff ffb8 bl 800e734 + 800e7c4: f3ef 8410 mrs r4, PRIMASK + 800e7c8: b672 cpsid i + 800e7ca: 6833 ldr r3, [r6, #0] + 800e7cc: f8db 2000 ldr.w r2, [fp] + 800e7d0: f8da 1000 ldr.w r1, [sl] + 800e7d4: 400b ands r3, r1 + 800e7d6: 6829 ldr r1, [r5, #0] + 800e7d8: 420b tst r3, r1 + 800e7da: d105 bne.n 800e7e8 + 800e7dc: f8d9 3000 ldr.w r3, [r9] + 800e7e0: 4213 tst r3, r2 + 800e7e2: d101 bne.n 800e7e8 + 800e7e4: f7f2 fff6 bl 80017d4 + 800e7e8: f384 8810 msr PRIMASK, r4 + 800e7ec: f7ff ffa3 bl 800e736 + 800e7f0: f8c5 8000 str.w r8, [r5] + 800e7f4: e8bd 8ff8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800e7f8: 6823 ldr r3, [r4, #0] + 800e7fa: 6823 ldr r3, [r4, #0] + 800e7fc: 4003 ands r3, r0 + 800e7fe: 4013 ands r3, r2 800e800: 6862 ldr r2, [r4, #4] - 800e802: 6038 str r0, [r7, #0] - 800e804: 2301 movs r3, #1 - 800e806: fa03 f000 lsl.w r0, r3, r0 - 800e80a: ea22 0200 bic.w r2, r2, r0 - 800e80e: 6062 str r2, [r4, #4] - 800e810: f3ef 8110 mrs r1, PRIMASK - 800e814: b672 cpsid i - 800e816: 683a ldr r2, [r7, #0] - 800e818: 4093 lsls r3, r2 - 800e81a: 6832 ldr r2, [r6, #0] - 800e81c: ea22 0203 bic.w r2, r2, r3 - 800e820: 6032 str r2, [r6, #0] - 800e822: 6822 ldr r2, [r4, #0] - 800e824: ea22 0303 bic.w r3, r2, r3 - 800e828: 6023 str r3, [r4, #0] - 800e82a: f381 8810 msr PRIMASK, r1 - 800e82e: 4a0e ldr r2, [pc, #56] ; (800e868 ) - 800e830: 683b ldr r3, [r7, #0] - 800e832: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 800e836: 4798 blx r3 - 800e838: f8d6 c000 ldr.w ip, [r6] - 800e83c: f8db 1000 ldr.w r1, [fp] - 800e840: f8da 2000 ldr.w r2, [sl] - 800e844: f8d9 3000 ldr.w r3, [r9] - 800e848: e7a5 b.n 800e796 - 800e84a: bf00 nop - 800e84c: 20000100 .word 0x20000100 - 800e850: 200021ac .word 0x200021ac - 800e854: 2000218c .word 0x2000218c - 800e858: 20000104 .word 0x20000104 - 800e85c: 20002190 .word 0x20002190 - 800e860: 20002188 .word 0x20002188 - 800e864: 200021a4 .word 0x200021a4 - 800e868: 20002194 .word 0x20002194 + 800e802: 421a tst r2, r3 + 800e804: bf04 itt eq + 800e806: f04f 32ff moveq.w r2, #4294967295 + 800e80a: 6062 streq r2, [r4, #4] + 800e80c: 6860 ldr r0, [r4, #4] + 800e80e: 4018 ands r0, r3 + 800e810: f7ff ff92 bl 800e738 + 800e814: 6862 ldr r2, [r4, #4] + 800e816: 6038 str r0, [r7, #0] + 800e818: 2301 movs r3, #1 + 800e81a: fa03 f000 lsl.w r0, r3, r0 + 800e81e: ea22 0200 bic.w r2, r2, r0 + 800e822: 6062 str r2, [r4, #4] + 800e824: f3ef 8110 mrs r1, PRIMASK + 800e828: b672 cpsid i + 800e82a: 683a ldr r2, [r7, #0] + 800e82c: 4093 lsls r3, r2 + 800e82e: 6832 ldr r2, [r6, #0] + 800e830: ea22 0203 bic.w r2, r2, r3 + 800e834: 6032 str r2, [r6, #0] + 800e836: 6822 ldr r2, [r4, #0] + 800e838: ea22 0303 bic.w r3, r2, r3 + 800e83c: 6023 str r3, [r4, #0] + 800e83e: f381 8810 msr PRIMASK, r1 + 800e842: 4a0e ldr r2, [pc, #56] ; (800e87c ) + 800e844: 683b ldr r3, [r7, #0] + 800e846: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 800e84a: 4798 blx r3 + 800e84c: f8d6 c000 ldr.w ip, [r6] + 800e850: f8db 1000 ldr.w r1, [fp] + 800e854: f8da 2000 ldr.w r2, [sl] + 800e858: f8d9 3000 ldr.w r3, [r9] + 800e85c: e7a5 b.n 800e7aa + 800e85e: bf00 nop + 800e860: 20000100 .word 0x20000100 + 800e864: 200021ac .word 0x200021ac + 800e868: 2000218c .word 0x2000218c + 800e86c: 20000104 .word 0x20000104 + 800e870: 20002190 .word 0x20002190 + 800e874: 20002188 .word 0x20002188 + 800e878: 200021a4 .word 0x200021a4 + 800e87c: 20002194 .word 0x20002194 -0800e86c : - 800e86c: b510 push {r4, lr} - 800e86e: 4611 mov r1, r2 - 800e870: f3ef 8410 mrs r4, PRIMASK - 800e874: b672 cpsid i - 800e876: f7ff ff55 bl 800e724 - 800e87a: 4b03 ldr r3, [pc, #12] ; (800e888 ) - 800e87c: f843 1020 str.w r1, [r3, r0, lsl #2] - 800e880: f384 8810 msr PRIMASK, r4 - 800e884: bd10 pop {r4, pc} - 800e886: bf00 nop - 800e888: 20002194 .word 0x20002194 +0800e880 : + 800e880: b510 push {r4, lr} + 800e882: 4611 mov r1, r2 + 800e884: f3ef 8410 mrs r4, PRIMASK + 800e888: b672 cpsid i + 800e88a: f7ff ff55 bl 800e738 + 800e88e: 4b03 ldr r3, [pc, #12] ; (800e89c ) + 800e890: f843 1020 str.w r1, [r3, r0, lsl #2] + 800e894: f384 8810 msr PRIMASK, r4 + 800e898: bd10 pop {r4, pc} + 800e89a: bf00 nop + 800e89c: 20002194 .word 0x20002194 -0800e88c : - 800e88c: b082 sub sp, #8 - 800e88e: b082 sub sp, #8 - 800e890: f10d 0c08 add.w ip, sp, #8 - 800e894: e90c 0006 stmdb ip, {r1, r2} - 800e898: f8bd 2004 ldrh.w r2, [sp, #4] - 800e89c: 9303 str r3, [sp, #12] - 800e89e: 440b add r3, r1 - 800e8a0: f8bd 1010 ldrh.w r1, [sp, #16] - 800e8a4: 440a add r2, r1 - 800e8a6: b291 uxth r1, r2 - 800e8a8: b212 sxth r2, r2 - 800e8aa: f5b2 7f7a cmp.w r2, #1000 ; 0x3e8 - 800e8ae: bfa2 ittt ge - 800e8b0: f5a1 727a subge.w r2, r1, #1000 ; 0x3e8 - 800e8b4: 3301 addge r3, #1 - 800e8b6: b212 sxthge r2, r2 - 800e8b8: 6003 str r3, [r0, #0] - 800e8ba: 8082 strh r2, [r0, #4] - 800e8bc: b002 add sp, #8 - 800e8be: b002 add sp, #8 - 800e8c0: 4770 bx lr +0800e8a0 : + 800e8a0: b082 sub sp, #8 + 800e8a2: b082 sub sp, #8 + 800e8a4: f10d 0c08 add.w ip, sp, #8 + 800e8a8: e90c 0006 stmdb ip, {r1, r2} + 800e8ac: f8bd 2004 ldrh.w r2, [sp, #4] + 800e8b0: 9303 str r3, [sp, #12] + 800e8b2: 440b add r3, r1 + 800e8b4: f8bd 1010 ldrh.w r1, [sp, #16] + 800e8b8: 440a add r2, r1 + 800e8ba: b291 uxth r1, r2 + 800e8bc: b212 sxth r2, r2 + 800e8be: f5b2 7f7a cmp.w r2, #1000 ; 0x3e8 + 800e8c2: bfa2 ittt ge + 800e8c4: f5a1 727a subge.w r2, r1, #1000 ; 0x3e8 + 800e8c8: 3301 addge r3, #1 + 800e8ca: b212 sxthge r2, r2 + 800e8cc: 6003 str r3, [r0, #0] + 800e8ce: 8082 strh r2, [r0, #4] + 800e8d0: b002 add sp, #8 + 800e8d2: b002 add sp, #8 + 800e8d4: 4770 bx lr -0800e8c2 : - 800e8c2: b082 sub sp, #8 - 800e8c4: b082 sub sp, #8 - 800e8c6: f10d 0c08 add.w ip, sp, #8 - 800e8ca: e90c 0006 stmdb ip, {r1, r2} - 800e8ce: f8bd 2004 ldrh.w r2, [sp, #4] - 800e8d2: 9303 str r3, [sp, #12] - 800e8d4: 1acb subs r3, r1, r3 - 800e8d6: f8bd 1010 ldrh.w r1, [sp, #16] - 800e8da: 1a52 subs r2, r2, r1 - 800e8dc: b291 uxth r1, r2 - 800e8de: b212 sxth r2, r2 - 800e8e0: 2a00 cmp r2, #0 - 800e8e2: bfbe ittt lt - 800e8e4: f501 727a addlt.w r2, r1, #1000 ; 0x3e8 - 800e8e8: f103 33ff addlt.w r3, r3, #4294967295 - 800e8ec: b212 sxthlt r2, r2 - 800e8ee: 6003 str r3, [r0, #0] - 800e8f0: 8082 strh r2, [r0, #4] - 800e8f2: b002 add sp, #8 - 800e8f4: b002 add sp, #8 - 800e8f6: 4770 bx lr +0800e8d6 : + 800e8d6: b082 sub sp, #8 + 800e8d8: b082 sub sp, #8 + 800e8da: f10d 0c08 add.w ip, sp, #8 + 800e8de: e90c 0006 stmdb ip, {r1, r2} + 800e8e2: f8bd 2004 ldrh.w r2, [sp, #4] + 800e8e6: 9303 str r3, [sp, #12] + 800e8e8: 1acb subs r3, r1, r3 + 800e8ea: f8bd 1010 ldrh.w r1, [sp, #16] + 800e8ee: 1a52 subs r2, r2, r1 + 800e8f0: b291 uxth r1, r2 + 800e8f2: b212 sxth r2, r2 + 800e8f4: 2a00 cmp r2, #0 + 800e8f6: bfbe ittt lt + 800e8f8: f501 727a addlt.w r2, r1, #1000 ; 0x3e8 + 800e8fc: f103 33ff addlt.w r3, r3, #4294967295 + 800e900: b212 sxthlt r2, r2 + 800e902: 6003 str r3, [r0, #0] + 800e904: 8082 strh r2, [r0, #4] + 800e906: b002 add sp, #8 + 800e908: b002 add sp, #8 + 800e90a: 4770 bx lr -0800e8f8 : - 800e8f8: b530 push {r4, r5, lr} - 800e8fa: b085 sub sp, #20 - 800e8fc: 4d11 ldr r5, [pc, #68] ; (800e944 ) - 800e8fe: 466b mov r3, sp - 800e900: e883 0003 stmia.w r3, {r0, r1} - 800e904: 2300 movs r3, #0 - 800e906: 9302 str r3, [sp, #8] - 800e908: f8ad 300c strh.w r3, [sp, #12] - 800e90c: a803 add r0, sp, #12 - 800e90e: 692b ldr r3, [r5, #16] - 800e910: 4798 blx r3 - 800e912: 9b00 ldr r3, [sp, #0] - 800e914: f8bd 4004 ldrh.w r4, [sp, #4] - 800e918: 9002 str r0, [sp, #8] - 800e91a: 1a18 subs r0, r3, r0 - 800e91c: f8bd 300c ldrh.w r3, [sp, #12] - 800e920: 1ae4 subs r4, r4, r3 - 800e922: b2a3 uxth r3, r4 - 800e924: b224 sxth r4, r4 - 800e926: 2c00 cmp r4, #0 - 800e928: bfbe ittt lt - 800e92a: f503 737a addlt.w r3, r3, #1000 ; 0x3e8 - 800e92e: b21c sxthlt r4, r3 - 800e930: f100 30ff addlt.w r0, r0, #4294967295 - 800e934: 682b ldr r3, [r5, #0] - 800e936: 4798 blx r3 - 800e938: 68ab ldr r3, [r5, #8] - 800e93a: 4620 mov r0, r4 - 800e93c: 4798 blx r3 - 800e93e: b005 add sp, #20 - 800e940: bd30 pop {r4, r5, pc} - 800e942: bf00 nop - 800e944: 0800f138 .word 0x0800f138 +0800e90c : + 800e90c: b530 push {r4, r5, lr} + 800e90e: b085 sub sp, #20 + 800e910: 4d11 ldr r5, [pc, #68] ; (800e958 ) + 800e912: 466b mov r3, sp + 800e914: e883 0003 stmia.w r3, {r0, r1} + 800e918: 2300 movs r3, #0 + 800e91a: 9302 str r3, [sp, #8] + 800e91c: f8ad 300c strh.w r3, [sp, #12] + 800e920: a803 add r0, sp, #12 + 800e922: 692b ldr r3, [r5, #16] + 800e924: 4798 blx r3 + 800e926: 9b00 ldr r3, [sp, #0] + 800e928: f8bd 4004 ldrh.w r4, [sp, #4] + 800e92c: 9002 str r0, [sp, #8] + 800e92e: 1a18 subs r0, r3, r0 + 800e930: f8bd 300c ldrh.w r3, [sp, #12] + 800e934: 1ae4 subs r4, r4, r3 + 800e936: b2a3 uxth r3, r4 + 800e938: b224 sxth r4, r4 + 800e93a: 2c00 cmp r4, #0 + 800e93c: bfbe ittt lt + 800e93e: f503 737a addlt.w r3, r3, #1000 ; 0x3e8 + 800e942: b21c sxthlt r4, r3 + 800e944: f100 30ff addlt.w r0, r0, #4294967295 + 800e948: 682b ldr r3, [r5, #0] + 800e94a: 4798 blx r3 + 800e94c: 68ab ldr r3, [r5, #8] + 800e94e: 4620 mov r0, r4 + 800e950: 4798 blx r3 + 800e952: b005 add sp, #20 + 800e954: bd30 pop {r4, r5, pc} + 800e956: bf00 nop + 800e958: 0800f148 .word 0x0800f148 -0800e948 : - 800e948: b573 push {r0, r1, r4, r5, r6, lr} - 800e94a: 4e11 ldr r6, [pc, #68] ; (800e990 ) - 800e94c: 2300 movs r3, #0 - 800e94e: 4605 mov r5, r0 - 800e950: 9300 str r3, [sp, #0] - 800e952: f8ad 3004 strh.w r3, [sp, #4] - 800e956: a801 add r0, sp, #4 - 800e958: 6933 ldr r3, [r6, #16] - 800e95a: 4798 blx r3 - 800e95c: 68f3 ldr r3, [r6, #12] - 800e95e: 9000 str r0, [sp, #0] - 800e960: 4798 blx r3 - 800e962: 6873 ldr r3, [r6, #4] - 800e964: 4604 mov r4, r0 - 800e966: 4798 blx r3 - 800e968: 9b00 ldr r3, [sp, #0] - 800e96a: 4418 add r0, r3 - 800e96c: f8bd 3004 ldrh.w r3, [sp, #4] - 800e970: 4423 add r3, r4 - 800e972: b29a uxth r2, r3 - 800e974: b21b sxth r3, r3 - 800e976: f5b3 7f7a cmp.w r3, #1000 ; 0x3e8 - 800e97a: bfa2 ittt ge - 800e97c: 3001 addge r0, #1 - 800e97e: f5a2 737a subge.w r3, r2, #1000 ; 0x3e8 - 800e982: b21b sxthge r3, r3 - 800e984: 6028 str r0, [r5, #0] - 800e986: 4628 mov r0, r5 - 800e988: 80ab strh r3, [r5, #4] - 800e98a: b002 add sp, #8 - 800e98c: bd70 pop {r4, r5, r6, pc} - 800e98e: bf00 nop - 800e990: 0800f138 .word 0x0800f138 +0800e95c : + 800e95c: b573 push {r0, r1, r4, r5, r6, lr} + 800e95e: 4e11 ldr r6, [pc, #68] ; (800e9a4 ) + 800e960: 2300 movs r3, #0 + 800e962: 4605 mov r5, r0 + 800e964: 9300 str r3, [sp, #0] + 800e966: f8ad 3004 strh.w r3, [sp, #4] + 800e96a: a801 add r0, sp, #4 + 800e96c: 6933 ldr r3, [r6, #16] + 800e96e: 4798 blx r3 + 800e970: 68f3 ldr r3, [r6, #12] + 800e972: 9000 str r0, [sp, #0] + 800e974: 4798 blx r3 + 800e976: 6873 ldr r3, [r6, #4] + 800e978: 4604 mov r4, r0 + 800e97a: 4798 blx r3 + 800e97c: 9b00 ldr r3, [sp, #0] + 800e97e: 4418 add r0, r3 + 800e980: f8bd 3004 ldrh.w r3, [sp, #4] + 800e984: 4423 add r3, r4 + 800e986: b29a uxth r2, r3 + 800e988: b21b sxth r3, r3 + 800e98a: f5b3 7f7a cmp.w r3, #1000 ; 0x3e8 + 800e98e: bfa2 ittt ge + 800e990: 3001 addge r0, #1 + 800e992: f5a2 737a subge.w r3, r2, #1000 ; 0x3e8 + 800e996: b21b sxthge r3, r3 + 800e998: 6028 str r0, [r5, #0] + 800e99a: 4628 mov r0, r5 + 800e99c: 80ab strh r3, [r5, #4] + 800e99e: b002 add sp, #8 + 800e9a0: bd70 pop {r4, r5, r6, pc} + 800e9a2: bf00 nop + 800e9a4: 0800f148 .word 0x0800f148 -0800e994 : - 800e994: b537 push {r0, r1, r2, r4, r5, lr} - 800e996: 2300 movs r3, #0 - 800e998: 9300 str r3, [sp, #0] - 800e99a: f8ad 3004 strh.w r3, [sp, #4] - 800e99e: 4b07 ldr r3, [pc, #28] ; (800e9bc ) - 800e9a0: 4604 mov r4, r0 - 800e9a2: 691b ldr r3, [r3, #16] - 800e9a4: a801 add r0, sp, #4 - 800e9a6: 4798 blx r3 - 800e9a8: 466d mov r5, sp - 800e9aa: 9000 str r0, [sp, #0] - 800e9ac: e895 0003 ldmia.w r5, {r0, r1} - 800e9b0: e884 0003 stmia.w r4, {r0, r1} - 800e9b4: 4620 mov r0, r4 - 800e9b6: b003 add sp, #12 - 800e9b8: bd30 pop {r4, r5, pc} - 800e9ba: bf00 nop - 800e9bc: 0800f138 .word 0x0800f138 +0800e9a8 : + 800e9a8: b537 push {r0, r1, r2, r4, r5, lr} + 800e9aa: 2300 movs r3, #0 + 800e9ac: 9300 str r3, [sp, #0] + 800e9ae: f8ad 3004 strh.w r3, [sp, #4] + 800e9b2: 4b07 ldr r3, [pc, #28] ; (800e9d0 ) + 800e9b4: 4604 mov r4, r0 + 800e9b6: 691b ldr r3, [r3, #16] + 800e9b8: a801 add r0, sp, #4 + 800e9ba: 4798 blx r3 + 800e9bc: 466d mov r5, sp + 800e9be: 9000 str r0, [sp, #0] + 800e9c0: e895 0003 ldmia.w r5, {r0, r1} + 800e9c4: e884 0003 stmia.w r4, {r0, r1} + 800e9c8: 4620 mov r0, r4 + 800e9ca: b003 add sp, #12 + 800e9cc: bd30 pop {r4, r5, pc} + 800e9ce: bf00 nop + 800e9d0: 0800f148 .word 0x0800f148 -0800e9c0 : - 800e9c0: b537 push {r0, r1, r2, r4, r5, lr} - 800e9c2: 4d0f ldr r5, [pc, #60] ; (800ea00 ) - 800e9c4: ab02 add r3, sp, #8 - 800e9c6: e903 0003 stmdb r3, {r0, r1} - 800e9ca: 68eb ldr r3, [r5, #12] - 800e9cc: 4798 blx r3 - 800e9ce: 686b ldr r3, [r5, #4] - 800e9d0: 4604 mov r4, r0 - 800e9d2: 4798 blx r3 - 800e9d4: f8bd 3004 ldrh.w r3, [sp, #4] - 800e9d8: 9a00 ldr r2, [sp, #0] - 800e9da: 1b1b subs r3, r3, r4 - 800e9dc: b299 uxth r1, r3 - 800e9de: b21b sxth r3, r3 - 800e9e0: 2b00 cmp r3, #0 - 800e9e2: eba2 0200 sub.w r2, r2, r0 - 800e9e6: bfbe ittt lt - 800e9e8: f501 717a addlt.w r1, r1, #1000 ; 0x3e8 - 800e9ec: f102 32ff addlt.w r2, r2, #4294967295 - 800e9f0: b20b sxthlt r3, r1 - 800e9f2: f44f 707a mov.w r0, #1000 ; 0x3e8 - 800e9f6: fb00 3002 mla r0, r0, r2, r3 - 800e9fa: b003 add sp, #12 - 800e9fc: bd30 pop {r4, r5, pc} - 800e9fe: bf00 nop - 800ea00: 0800f138 .word 0x0800f138 +0800e9d4 : + 800e9d4: b537 push {r0, r1, r2, r4, r5, lr} + 800e9d6: 4d0f ldr r5, [pc, #60] ; (800ea14 ) + 800e9d8: ab02 add r3, sp, #8 + 800e9da: e903 0003 stmdb r3, {r0, r1} + 800e9de: 68eb ldr r3, [r5, #12] + 800e9e0: 4798 blx r3 + 800e9e2: 686b ldr r3, [r5, #4] + 800e9e4: 4604 mov r4, r0 + 800e9e6: 4798 blx r3 + 800e9e8: f8bd 3004 ldrh.w r3, [sp, #4] + 800e9ec: 9a00 ldr r2, [sp, #0] + 800e9ee: 1b1b subs r3, r3, r4 + 800e9f0: b299 uxth r1, r3 + 800e9f2: b21b sxth r3, r3 + 800e9f4: 2b00 cmp r3, #0 + 800e9f6: eba2 0200 sub.w r2, r2, r0 + 800e9fa: bfbe ittt lt + 800e9fc: f501 717a addlt.w r1, r1, #1000 ; 0x3e8 + 800ea00: f102 32ff addlt.w r2, r2, #4294967295 + 800ea04: b20b sxthlt r3, r1 + 800ea06: f44f 707a mov.w r0, #1000 ; 0x3e8 + 800ea0a: fb00 3002 mla r0, r0, r2, r3 + 800ea0e: b003 add sp, #12 + 800ea10: bd30 pop {r4, r5, pc} + 800ea12: bf00 nop + 800ea14: 0800f148 .word 0x0800f148 -0800ea04 : - 800ea04: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800ea08: f44f 757a mov.w r5, #1000 ; 0x3e8 - 800ea0c: fbb1 f5f5 udiv r5, r1, r5 - 800ea10: ebc5 1345 rsb r3, r5, r5, lsl #5 - 800ea14: f8df 803c ldr.w r8, [pc, #60] ; 800ea54 - 800ea18: eb05 0383 add.w r3, r5, r3, lsl #2 - 800ea1c: eba1 03c3 sub.w r3, r1, r3, lsl #3 - 800ea20: b29c uxth r4, r3 - 800ea22: f8d8 300c ldr.w r3, [r8, #12] - 800ea26: 4606 mov r6, r0 - 800ea28: 4798 blx r3 - 800ea2a: f8d8 3004 ldr.w r3, [r8, #4] - 800ea2e: 4607 mov r7, r0 - 800ea30: 4798 blx r3 - 800ea32: 19e3 adds r3, r4, r7 - 800ea34: b299 uxth r1, r3 - 800ea36: b21b sxth r3, r3 - 800ea38: f5b3 7f7a cmp.w r3, #1000 ; 0x3e8 - 800ea3c: 4428 add r0, r5 - 800ea3e: bfa2 ittt ge - 800ea40: f5a1 737a subge.w r3, r1, #1000 ; 0x3e8 - 800ea44: 3001 addge r0, #1 - 800ea46: b21b sxthge r3, r3 - 800ea48: 6030 str r0, [r6, #0] - 800ea4a: 80b3 strh r3, [r6, #4] - 800ea4c: 4630 mov r0, r6 - 800ea4e: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800ea52: bf00 nop - 800ea54: 0800f138 .word 0x0800f138 +0800ea18 : + 800ea18: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800ea1c: f44f 757a mov.w r5, #1000 ; 0x3e8 + 800ea20: fbb1 f5f5 udiv r5, r1, r5 + 800ea24: ebc5 1345 rsb r3, r5, r5, lsl #5 + 800ea28: f8df 803c ldr.w r8, [pc, #60] ; 800ea68 + 800ea2c: eb05 0383 add.w r3, r5, r3, lsl #2 + 800ea30: eba1 03c3 sub.w r3, r1, r3, lsl #3 + 800ea34: b29c uxth r4, r3 + 800ea36: f8d8 300c ldr.w r3, [r8, #12] + 800ea3a: 4606 mov r6, r0 + 800ea3c: 4798 blx r3 + 800ea3e: f8d8 3004 ldr.w r3, [r8, #4] + 800ea42: 4607 mov r7, r0 + 800ea44: 4798 blx r3 + 800ea46: 19e3 adds r3, r4, r7 + 800ea48: b299 uxth r1, r3 + 800ea4a: b21b sxth r3, r3 + 800ea4c: f5b3 7f7a cmp.w r3, #1000 ; 0x3e8 + 800ea50: 4428 add r0, r5 + 800ea52: bfa2 ittt ge + 800ea54: f5a1 737a subge.w r3, r1, #1000 ; 0x3e8 + 800ea58: 3001 addge r0, #1 + 800ea5a: b21b sxthge r3, r3 + 800ea5c: 6030 str r0, [r6, #0] + 800ea5e: 80b3 strh r3, [r6, #4] + 800ea60: 4630 mov r0, r6 + 800ea62: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800ea66: bf00 nop + 800ea68: 0800f148 .word 0x0800f148 -0800ea58 : - 800ea58: 4b02 ldr r3, [pc, #8] ; (800ea64 ) - 800ea5a: 2200 movs r2, #0 - 800ea5c: 601a str r2, [r3, #0] - 800ea5e: 4b02 ldr r3, [pc, #8] ; (800ea68 ) - 800ea60: 681b ldr r3, [r3, #0] - 800ea62: 4718 bx r3 - 800ea64: 200021b0 .word 0x200021b0 - 800ea68: 0800f14c .word 0x0800f14c +0800ea6c : + 800ea6c: 4b02 ldr r3, [pc, #8] ; (800ea78 ) + 800ea6e: 2200 movs r2, #0 + 800ea70: 601a str r2, [r3, #0] + 800ea72: 4b02 ldr r3, [pc, #8] ; (800ea7c ) + 800ea74: 681b ldr r3, [r3, #0] + 800ea76: 4718 bx r3 + 800ea78: 200021b0 .word 0x200021b0 + 800ea7c: 0800f15c .word 0x0800f15c -0800ea6c : - 800ea6c: b5f8 push {r3, r4, r5, r6, r7, lr} - 800ea6e: 4604 mov r4, r0 - 800ea70: 4617 mov r7, r2 - 800ea72: 4608 mov r0, r1 - 800ea74: 461e mov r6, r3 - 800ea76: b17c cbz r4, 800ea98 - 800ea78: b173 cbz r3, 800ea98 - 800ea7a: 4b08 ldr r3, [pc, #32] ; (800ea9c ) - 800ea7c: 2500 movs r5, #0 - 800ea7e: 6a5b ldr r3, [r3, #36] ; 0x24 - 800ea80: 6025 str r5, [r4, #0] - 800ea82: 4798 blx r3 - 800ea84: 9b06 ldr r3, [sp, #24] - 800ea86: 6060 str r0, [r4, #4] - 800ea88: 8125 strh r5, [r4, #8] - 800ea8a: 72a5 strb r5, [r4, #10] - 800ea8c: 60e6 str r6, [r4, #12] - 800ea8e: 6123 str r3, [r4, #16] - 800ea90: 72e7 strb r7, [r4, #11] - 800ea92: 6165 str r5, [r4, #20] - 800ea94: 4628 mov r0, r5 - 800ea96: bdf8 pop {r3, r4, r5, r6, r7, pc} - 800ea98: 2001 movs r0, #1 - 800ea9a: e7fc b.n 800ea96 - 800ea9c: 0800f14c .word 0x0800f14c +0800ea80 : + 800ea80: b5f8 push {r3, r4, r5, r6, r7, lr} + 800ea82: 4604 mov r4, r0 + 800ea84: 4617 mov r7, r2 + 800ea86: 4608 mov r0, r1 + 800ea88: 461e mov r6, r3 + 800ea8a: b17c cbz r4, 800eaac + 800ea8c: b173 cbz r3, 800eaac + 800ea8e: 4b08 ldr r3, [pc, #32] ; (800eab0 ) + 800ea90: 2500 movs r5, #0 + 800ea92: 6a5b ldr r3, [r3, #36] ; 0x24 + 800ea94: 6025 str r5, [r4, #0] + 800ea96: 4798 blx r3 + 800ea98: 9b06 ldr r3, [sp, #24] + 800ea9a: 6060 str r0, [r4, #4] + 800ea9c: 8125 strh r5, [r4, #8] + 800ea9e: 72a5 strb r5, [r4, #10] + 800eaa0: 60e6 str r6, [r4, #12] + 800eaa2: 6123 str r3, [r4, #16] + 800eaa4: 72e7 strb r7, [r4, #11] + 800eaa6: 6165 str r5, [r4, #20] + 800eaa8: 4628 mov r0, r5 + 800eaaa: bdf8 pop {r3, r4, r5, r6, r7, pc} + 800eaac: 2001 movs r0, #1 + 800eaae: e7fc b.n 800eaaa + 800eab0: 0800f15c .word 0x0800f15c -0800eaa0 : - 800eaa0: b510 push {r4, lr} - 800eaa2: 4c03 ldr r4, [pc, #12] ; (800eab0 ) - 800eaa4: 69e3 ldr r3, [r4, #28] - 800eaa6: 4798 blx r3 - 800eaa8: 6aa3 ldr r3, [r4, #40] ; 0x28 - 800eaaa: e8bd 4010 ldmia.w sp!, {r4, lr} - 800eaae: 4718 bx r3 - 800eab0: 0800f14c .word 0x0800f14c +0800eab4 : + 800eab4: b510 push {r4, lr} + 800eab6: 4c03 ldr r4, [pc, #12] ; (800eac4 ) + 800eab8: 69e3 ldr r3, [r4, #28] + 800eaba: 4798 blx r3 + 800eabc: 6aa3 ldr r3, [r4, #40] ; 0x28 + 800eabe: e8bd 4010 ldmia.w sp!, {r4, lr} + 800eac2: 4718 bx r3 + 800eac4: 0800f15c .word 0x0800f15c -0800eab4 : - 800eab4: b570 push {r4, r5, r6, lr} - 800eab6: 4d06 ldr r5, [pc, #24] ; (800ead0 ) - 800eab8: 69eb ldr r3, [r5, #28] - 800eaba: 4606 mov r6, r0 - 800eabc: 4798 blx r3 - 800eabe: 6a6b ldr r3, [r5, #36] ; 0x24 - 800eac0: 4604 mov r4, r0 - 800eac2: 4630 mov r0, r6 - 800eac4: 4798 blx r3 - 800eac6: 6aab ldr r3, [r5, #40] ; 0x28 - 800eac8: 1a20 subs r0, r4, r0 - 800eaca: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} - 800eace: 4718 bx r3 - 800ead0: 0800f14c .word 0x0800f14c +0800eac8 : + 800eac8: b570 push {r4, r5, r6, lr} + 800eaca: 4d06 ldr r5, [pc, #24] ; (800eae4 ) + 800eacc: 69eb ldr r3, [r5, #28] + 800eace: 4606 mov r6, r0 + 800ead0: 4798 blx r3 + 800ead2: 6a6b ldr r3, [r5, #36] ; 0x24 + 800ead4: 4604 mov r4, r0 + 800ead6: 4630 mov r0, r6 + 800ead8: 4798 blx r3 + 800eada: 6aab ldr r3, [r5, #40] ; 0x28 + 800eadc: 1a20 subs r0, r4, r0 + 800eade: e8bd 4070 ldmia.w sp!, {r4, r5, r6, lr} + 800eae2: 4718 bx r3 + 800eae4: 0800f15c .word 0x0800f15c -0800ead4 : - 800ead4: 4b05 ldr r3, [pc, #20] ; (800eaec ) - 800ead6: 681b ldr r3, [r3, #0] - 800ead8: b90b cbnz r3, 800eade - 800eada: 4618 mov r0, r3 - 800eadc: 4770 bx lr - 800eade: 4283 cmp r3, r0 - 800eae0: d001 beq.n 800eae6 - 800eae2: 695b ldr r3, [r3, #20] - 800eae4: e7f8 b.n 800ead8 - 800eae6: 2001 movs r0, #1 - 800eae8: 4770 bx lr - 800eaea: bf00 nop - 800eaec: 200021b0 .word 0x200021b0 +0800eae8 : + 800eae8: 4b05 ldr r3, [pc, #20] ; (800eb00 ) + 800eaea: 681b ldr r3, [r3, #0] + 800eaec: b90b cbnz r3, 800eaf2 + 800eaee: 4618 mov r0, r3 + 800eaf0: 4770 bx lr + 800eaf2: 4283 cmp r3, r0 + 800eaf4: d001 beq.n 800eafa + 800eaf6: 695b ldr r3, [r3, #20] + 800eaf8: e7f8 b.n 800eaec + 800eafa: 2001 movs r0, #1 + 800eafc: 4770 bx lr + 800eafe: bf00 nop + 800eb00: 200021b0 .word 0x200021b0 -0800eaf0 : - 800eaf0: e92d 41f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, lr} - 800eaf4: 4e0b ldr r6, [pc, #44] ; (800eb24 ) - 800eaf6: 6a33 ldr r3, [r6, #32] - 800eaf8: 4604 mov r4, r0 - 800eafa: 4798 blx r3 - 800eafc: 2301 movs r3, #1 - 800eafe: 69b7 ldr r7, [r6, #24] - 800eb00: 7223 strb r3, [r4, #8] - 800eb02: f8d4 8000 ldr.w r8, [r4] - 800eb06: 4605 mov r5, r0 - 800eb08: 47b8 blx r7 - 800eb0a: 4428 add r0, r5 - 800eb0c: 4580 cmp r8, r0 - 800eb0e: d202 bcs.n 800eb16 - 800eb10: 47b8 blx r7 - 800eb12: 4428 add r0, r5 - 800eb14: 6020 str r0, [r4, #0] - 800eb16: 68b3 ldr r3, [r6, #8] - 800eb18: 6820 ldr r0, [r4, #0] - 800eb1a: 9301 str r3, [sp, #4] - 800eb1c: b002 add sp, #8 - 800eb1e: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 800eb22: 4718 bx r3 - 800eb24: 0800f14c .word 0x0800f14c +0800eb04 : + 800eb04: e92d 41f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, lr} + 800eb08: 4e0b ldr r6, [pc, #44] ; (800eb38 ) + 800eb0a: 6a33 ldr r3, [r6, #32] + 800eb0c: 4604 mov r4, r0 + 800eb0e: 4798 blx r3 + 800eb10: 2301 movs r3, #1 + 800eb12: 69b7 ldr r7, [r6, #24] + 800eb14: 7223 strb r3, [r4, #8] + 800eb16: f8d4 8000 ldr.w r8, [r4] + 800eb1a: 4605 mov r5, r0 + 800eb1c: 47b8 blx r7 + 800eb1e: 4428 add r0, r5 + 800eb20: 4580 cmp r8, r0 + 800eb22: d202 bcs.n 800eb2a + 800eb24: 47b8 blx r7 + 800eb26: 4428 add r0, r5 + 800eb28: 6020 str r0, [r4, #0] + 800eb2a: 68b3 ldr r3, [r6, #8] + 800eb2c: 6820 ldr r0, [r4, #0] + 800eb2e: 9301 str r3, [sp, #4] + 800eb30: b002 add sp, #8 + 800eb32: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 800eb36: 4718 bx r3 + 800eb38: 0800f15c .word 0x0800f15c -0800eb28 : - 800eb28: b570 push {r4, r5, r6, lr} - 800eb2a: b320 cbz r0, 800eb76 - 800eb2c: f3ef 8610 mrs r6, PRIMASK - 800eb30: b672 cpsid i - 800eb32: 4d12 ldr r5, [pc, #72] ; (800eb7c ) - 800eb34: 682b ldr r3, [r5, #0] - 800eb36: 2201 movs r2, #1 - 800eb38: 7282 strb r2, [r0, #10] - 800eb3a: b153 cbz r3, 800eb52 - 800eb3c: 2200 movs r2, #0 - 800eb3e: 7242 strb r2, [r0, #9] - 800eb40: 4298 cmp r0, r3 - 800eb42: 695c ldr r4, [r3, #20] - 800eb44: d10e bne.n 800eb64 - 800eb46: 7202 strb r2, [r0, #8] - 800eb48: b13c cbz r4, 800eb5a - 800eb4a: 4620 mov r0, r4 - 800eb4c: 602c str r4, [r5, #0] - 800eb4e: f7ff ffcf bl 800eaf0 - 800eb52: f386 8810 msr PRIMASK, r6 - 800eb56: 2000 movs r0, #0 - 800eb58: bd70 pop {r4, r5, r6, pc} - 800eb5a: 4b09 ldr r3, [pc, #36] ; (800eb80 ) - 800eb5c: 68db ldr r3, [r3, #12] - 800eb5e: 4798 blx r3 +0800eb3c : + 800eb3c: b570 push {r4, r5, r6, lr} + 800eb3e: b320 cbz r0, 800eb8a + 800eb40: f3ef 8610 mrs r6, PRIMASK + 800eb44: b672 cpsid i + 800eb46: 4d12 ldr r5, [pc, #72] ; (800eb90 ) + 800eb48: 682b ldr r3, [r5, #0] + 800eb4a: 2201 movs r2, #1 + 800eb4c: 7282 strb r2, [r0, #10] + 800eb4e: b153 cbz r3, 800eb66 + 800eb50: 2200 movs r2, #0 + 800eb52: 7242 strb r2, [r0, #9] + 800eb54: 4298 cmp r0, r3 + 800eb56: 695c ldr r4, [r3, #20] + 800eb58: d10e bne.n 800eb78 + 800eb5a: 7202 strb r2, [r0, #8] + 800eb5c: b13c cbz r4, 800eb6e + 800eb5e: 4620 mov r0, r4 800eb60: 602c str r4, [r5, #0] - 800eb62: e7f6 b.n 800eb52 - 800eb64: 461a mov r2, r3 - 800eb66: 695b ldr r3, [r3, #20] - 800eb68: 2b00 cmp r3, #0 - 800eb6a: d0f2 beq.n 800eb52 - 800eb6c: 4298 cmp r0, r3 - 800eb6e: d1f9 bne.n 800eb64 - 800eb70: 6943 ldr r3, [r0, #20] - 800eb72: 6153 str r3, [r2, #20] - 800eb74: e7ed b.n 800eb52 - 800eb76: 2001 movs r0, #1 - 800eb78: e7ee b.n 800eb58 - 800eb7a: bf00 nop - 800eb7c: 200021b0 .word 0x200021b0 - 800eb80: 0800f14c .word 0x0800f14c + 800eb62: f7ff ffcf bl 800eb04 + 800eb66: f386 8810 msr PRIMASK, r6 + 800eb6a: 2000 movs r0, #0 + 800eb6c: bd70 pop {r4, r5, r6, pc} + 800eb6e: 4b09 ldr r3, [pc, #36] ; (800eb94 ) + 800eb70: 68db ldr r3, [r3, #12] + 800eb72: 4798 blx r3 + 800eb74: 602c str r4, [r5, #0] + 800eb76: e7f6 b.n 800eb66 + 800eb78: 461a mov r2, r3 + 800eb7a: 695b ldr r3, [r3, #20] + 800eb7c: 2b00 cmp r3, #0 + 800eb7e: d0f2 beq.n 800eb66 + 800eb80: 4298 cmp r0, r3 + 800eb82: d1f9 bne.n 800eb78 + 800eb84: 6943 ldr r3, [r0, #20] + 800eb86: 6153 str r3, [r2, #20] + 800eb88: e7ed b.n 800eb66 + 800eb8a: 2001 movs r0, #1 + 800eb8c: e7ee b.n 800eb6c + 800eb8e: bf00 nop + 800eb90: 200021b0 .word 0x200021b0 + 800eb94: 0800f15c .word 0x0800f15c -0800eb84 : - 800eb84: 4b08 ldr r3, [pc, #32] ; (800eba8 ) - 800eb86: b510 push {r4, lr} - 800eb88: 681a ldr r2, [r3, #0] - 800eb8a: 6953 ldr r3, [r2, #20] - 800eb8c: 6951 ldr r1, [r2, #20] - 800eb8e: b911 cbnz r1, 800eb96 - 800eb90: 6150 str r0, [r2, #20] - 800eb92: 6141 str r1, [r0, #20] - 800eb94: bd10 pop {r4, pc} - 800eb96: 6804 ldr r4, [r0, #0] - 800eb98: 6819 ldr r1, [r3, #0] - 800eb9a: 428c cmp r4, r1 - 800eb9c: d902 bls.n 800eba4 - 800eb9e: 461a mov r2, r3 - 800eba0: 695b ldr r3, [r3, #20] - 800eba2: e7f3 b.n 800eb8c - 800eba4: 4619 mov r1, r3 - 800eba6: e7f3 b.n 800eb90 - 800eba8: 200021b0 .word 0x200021b0 +0800eb98 : + 800eb98: 4b08 ldr r3, [pc, #32] ; (800ebbc ) + 800eb9a: b510 push {r4, lr} + 800eb9c: 681a ldr r2, [r3, #0] + 800eb9e: 6953 ldr r3, [r2, #20] + 800eba0: 6951 ldr r1, [r2, #20] + 800eba2: b911 cbnz r1, 800ebaa + 800eba4: 6150 str r0, [r2, #20] + 800eba6: 6141 str r1, [r0, #20] + 800eba8: bd10 pop {r4, pc} + 800ebaa: 6804 ldr r4, [r0, #0] + 800ebac: 6819 ldr r1, [r3, #0] + 800ebae: 428c cmp r4, r1 + 800ebb0: d902 bls.n 800ebb8 + 800ebb2: 461a mov r2, r3 + 800ebb4: 695b ldr r3, [r3, #20] + 800ebb6: e7f3 b.n 800eba0 + 800ebb8: 4619 mov r1, r3 + 800ebba: e7f3 b.n 800eba4 + 800ebbc: 200021b0 .word 0x200021b0 -0800ebac : - 800ebac: 4a04 ldr r2, [pc, #16] ; (800ebc0 ) - 800ebae: 6813 ldr r3, [r2, #0] - 800ebb0: b10b cbz r3, 800ebb6 - 800ebb2: 2100 movs r1, #0 - 800ebb4: 7219 strb r1, [r3, #8] - 800ebb6: 6143 str r3, [r0, #20] - 800ebb8: 6010 str r0, [r2, #0] - 800ebba: f7ff bf99 b.w 800eaf0 - 800ebbe: bf00 nop - 800ebc0: 200021b0 .word 0x200021b0 +0800ebc0 : + 800ebc0: 4a04 ldr r2, [pc, #16] ; (800ebd4 ) + 800ebc2: 6813 ldr r3, [r2, #0] + 800ebc4: b10b cbz r3, 800ebca + 800ebc6: 2100 movs r1, #0 + 800ebc8: 7219 strb r1, [r3, #8] + 800ebca: 6143 str r3, [r0, #20] + 800ebcc: 6010 str r0, [r2, #0] + 800ebce: f7ff bf99 b.w 800eb04 + 800ebd2: bf00 nop + 800ebd4: 200021b0 .word 0x200021b0 -0800ebc4 : - 800ebc4: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800ebc8: 4604 mov r4, r0 - 800ebca: 2800 cmp r0, #0 - 800ebcc: d02d beq.n 800ec2a - 800ebce: f7ff ff81 bl 800ead4 - 800ebd2: bb50 cbnz r0, 800ec2a - 800ebd4: 7a65 ldrb r5, [r4, #9] - 800ebd6: bb45 cbnz r5, 800ec2a - 800ebd8: f3ef 8810 mrs r8, PRIMASK - 800ebdc: b672 cpsid i - 800ebde: 4e14 ldr r6, [pc, #80] ; (800ec30 ) - 800ebe0: 6867 ldr r7, [r4, #4] - 800ebe2: 6a33 ldr r3, [r6, #32] - 800ebe4: 4798 blx r3 - 800ebe6: 4287 cmp r7, r0 - 800ebe8: bf2c ite cs - 800ebea: 6027 strcs r7, [r4, #0] - 800ebec: 6020 strcc r0, [r4, #0] - 800ebee: 4f11 ldr r7, [pc, #68] ; (800ec34 ) - 800ebf0: 72a5 strb r5, [r4, #10] - 800ebf2: f44f 7380 mov.w r3, #256 ; 0x100 - 800ebf6: 8123 strh r3, [r4, #8] - 800ebf8: 683b ldr r3, [r7, #0] - 800ebfa: b94b cbnz r3, 800ec10 - 800ebfc: 6933 ldr r3, [r6, #16] - 800ebfe: 4798 blx r3 - 800ec00: 4620 mov r0, r4 - 800ec02: f7ff ffd3 bl 800ebac - 800ec06: f388 8810 msr PRIMASK, r8 - 800ec0a: 4628 mov r0, r5 - 800ec0c: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800ec10: 69b3 ldr r3, [r6, #24] +0800ebd8 : + 800ebd8: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800ebdc: 4604 mov r4, r0 + 800ebde: 2800 cmp r0, #0 + 800ebe0: d02d beq.n 800ec3e + 800ebe2: f7ff ff81 bl 800eae8 + 800ebe6: bb50 cbnz r0, 800ec3e + 800ebe8: 7a65 ldrb r5, [r4, #9] + 800ebea: bb45 cbnz r5, 800ec3e + 800ebec: f3ef 8810 mrs r8, PRIMASK + 800ebf0: b672 cpsid i + 800ebf2: 4e14 ldr r6, [pc, #80] ; (800ec44 ) + 800ebf4: 6867 ldr r7, [r4, #4] + 800ebf6: 6a33 ldr r3, [r6, #32] + 800ebf8: 4798 blx r3 + 800ebfa: 4287 cmp r7, r0 + 800ebfc: bf2c ite cs + 800ebfe: 6027 strcs r7, [r4, #0] + 800ec00: 6020 strcc r0, [r4, #0] + 800ec02: 4f11 ldr r7, [pc, #68] ; (800ec48 ) + 800ec04: 72a5 strb r5, [r4, #10] + 800ec06: f44f 7380 mov.w r3, #256 ; 0x100 + 800ec0a: 8123 strh r3, [r4, #8] + 800ec0c: 683b ldr r3, [r7, #0] + 800ec0e: b94b cbnz r3, 800ec24 + 800ec10: 6933 ldr r3, [r6, #16] 800ec12: 4798 blx r3 - 800ec14: 6823 ldr r3, [r4, #0] - 800ec16: 4418 add r0, r3 - 800ec18: 683b ldr r3, [r7, #0] - 800ec1a: 6020 str r0, [r4, #0] - 800ec1c: 681b ldr r3, [r3, #0] - 800ec1e: 4298 cmp r0, r3 - 800ec20: 4620 mov r0, r4 - 800ec22: d3ee bcc.n 800ec02 - 800ec24: f7ff ffae bl 800eb84 - 800ec28: e7ed b.n 800ec06 - 800ec2a: 2501 movs r5, #1 - 800ec2c: e7ed b.n 800ec0a - 800ec2e: bf00 nop - 800ec30: 0800f14c .word 0x0800f14c - 800ec34: 200021b0 .word 0x200021b0 + 800ec14: 4620 mov r0, r4 + 800ec16: f7ff ffd3 bl 800ebc0 + 800ec1a: f388 8810 msr PRIMASK, r8 + 800ec1e: 4628 mov r0, r5 + 800ec20: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800ec24: 69b3 ldr r3, [r6, #24] + 800ec26: 4798 blx r3 + 800ec28: 6823 ldr r3, [r4, #0] + 800ec2a: 4418 add r0, r3 + 800ec2c: 683b ldr r3, [r7, #0] + 800ec2e: 6020 str r0, [r4, #0] + 800ec30: 681b ldr r3, [r3, #0] + 800ec32: 4298 cmp r0, r3 + 800ec34: 4620 mov r0, r4 + 800ec36: d3ee bcc.n 800ec16 + 800ec38: f7ff ffae bl 800eb98 + 800ec3c: e7ed b.n 800ec1a + 800ec3e: 2501 movs r5, #1 + 800ec40: e7ed b.n 800ec1e + 800ec42: bf00 nop + 800ec44: 0800f15c .word 0x0800f15c + 800ec48: 200021b0 .word 0x200021b0 -0800ec38 : - 800ec38: b510 push {r4, lr} - 800ec3a: 4604 mov r4, r0 - 800ec3c: 4608 mov r0, r1 - 800ec3e: b17c cbz r4, 800ec60 - 800ec40: 4b08 ldr r3, [pc, #32] ; (800ec64 ) - 800ec42: 6a5b ldr r3, [r3, #36] ; 0x24 - 800ec44: 4798 blx r3 - 800ec46: 6060 str r0, [r4, #4] - 800ec48: 4620 mov r0, r4 - 800ec4a: f7ff ff43 bl 800ead4 - 800ec4e: b140 cbz r0, 800ec62 - 800ec50: 4620 mov r0, r4 - 800ec52: f7ff ff69 bl 800eb28 - 800ec56: 4620 mov r0, r4 - 800ec58: e8bd 4010 ldmia.w sp!, {r4, lr} - 800ec5c: f7ff bfb2 b.w 800ebc4 - 800ec60: 2001 movs r0, #1 - 800ec62: bd10 pop {r4, pc} - 800ec64: 0800f14c .word 0x0800f14c +0800ec4c : + 800ec4c: b510 push {r4, lr} + 800ec4e: 4604 mov r4, r0 + 800ec50: 4608 mov r0, r1 + 800ec52: b17c cbz r4, 800ec74 + 800ec54: 4b08 ldr r3, [pc, #32] ; (800ec78 ) + 800ec56: 6a5b ldr r3, [r3, #36] ; 0x24 + 800ec58: 4798 blx r3 + 800ec5a: 6060 str r0, [r4, #4] + 800ec5c: 4620 mov r0, r4 + 800ec5e: f7ff ff43 bl 800eae8 + 800ec62: b140 cbz r0, 800ec76 + 800ec64: 4620 mov r0, r4 + 800ec66: f7ff ff69 bl 800eb3c + 800ec6a: 4620 mov r0, r4 + 800ec6c: e8bd 4010 ldmia.w sp!, {r4, lr} + 800ec70: f7ff bfb2 b.w 800ebd8 + 800ec74: 2001 movs r0, #1 + 800ec76: bd10 pop {r4, pc} + 800ec78: 0800f15c .word 0x0800f15c -0800ec68 : - 800ec68: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800ec6c: f3ef 8710 mrs r7, PRIMASK - 800ec70: b672 cpsid i - 800ec72: 4e1d ldr r6, [pc, #116] ; (800ece8 ) - 800ec74: 4d1d ldr r5, [pc, #116] ; (800ecec ) - 800ec76: 6973 ldr r3, [r6, #20] - 800ec78: 4798 blx r3 - 800ec7a: 6933 ldr r3, [r6, #16] - 800ec7c: 4604 mov r4, r0 - 800ec7e: 4798 blx r3 - 800ec80: 682b ldr r3, [r5, #0] - 800ec82: b94b cbnz r3, 800ec98 - 800ec84: f04f 0800 mov.w r8, #0 - 800ec88: 682b ldr r3, [r5, #0] - 800ec8a: b98b cbnz r3, 800ecb0 - 800ec8c: 6828 ldr r0, [r5, #0] - 800ec8e: bb28 cbnz r0, 800ecdc - 800ec90: f387 8810 msr PRIMASK, r7 - 800ec94: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 800ec98: 1b01 subs r1, r0, r4 - 800ec9a: 1a24 subs r4, r4, r0 - 800ec9c: 681a ldr r2, [r3, #0] - 800ec9e: 428a cmp r2, r1 - 800eca0: bf8c ite hi - 800eca2: 1912 addhi r2, r2, r4 - 800eca4: 2200 movls r2, #0 - 800eca6: 601a str r2, [r3, #0] - 800eca8: 695b ldr r3, [r3, #20] - 800ecaa: 2b00 cmp r3, #0 - 800ecac: d1f6 bne.n 800ec9c - 800ecae: e7e9 b.n 800ec84 - 800ecb0: 681c ldr r4, [r3, #0] - 800ecb2: b11c cbz r4, 800ecbc - 800ecb4: 69b3 ldr r3, [r6, #24] - 800ecb6: 4798 blx r3 - 800ecb8: 4284 cmp r4, r0 - 800ecba: d2e7 bcs.n 800ec8c - 800ecbc: 682c ldr r4, [r5, #0] - 800ecbe: 6963 ldr r3, [r4, #20] - 800ecc0: 602b str r3, [r5, #0] - 800ecc2: f8a4 8008 strh.w r8, [r4, #8] - 800ecc6: e9d4 3003 ldrd r3, r0, [r4, #12] +0800ec7c : + 800ec7c: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800ec80: f3ef 8710 mrs r7, PRIMASK + 800ec84: b672 cpsid i + 800ec86: 4e1d ldr r6, [pc, #116] ; (800ecfc ) + 800ec88: 4d1d ldr r5, [pc, #116] ; (800ed00 ) + 800ec8a: 6973 ldr r3, [r6, #20] + 800ec8c: 4798 blx r3 + 800ec8e: 6933 ldr r3, [r6, #16] + 800ec90: 4604 mov r4, r0 + 800ec92: 4798 blx r3 + 800ec94: 682b ldr r3, [r5, #0] + 800ec96: b94b cbnz r3, 800ecac + 800ec98: f04f 0800 mov.w r8, #0 + 800ec9c: 682b ldr r3, [r5, #0] + 800ec9e: b98b cbnz r3, 800ecc4 + 800eca0: 6828 ldr r0, [r5, #0] + 800eca2: bb28 cbnz r0, 800ecf0 + 800eca4: f387 8810 msr PRIMASK, r7 + 800eca8: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800ecac: 1b01 subs r1, r0, r4 + 800ecae: 1a24 subs r4, r4, r0 + 800ecb0: 681a ldr r2, [r3, #0] + 800ecb2: 428a cmp r2, r1 + 800ecb4: bf8c ite hi + 800ecb6: 1912 addhi r2, r2, r4 + 800ecb8: 2200 movls r2, #0 + 800ecba: 601a str r2, [r3, #0] + 800ecbc: 695b ldr r3, [r3, #20] + 800ecbe: 2b00 cmp r3, #0 + 800ecc0: d1f6 bne.n 800ecb0 + 800ecc2: e7e9 b.n 800ec98 + 800ecc4: 681c ldr r4, [r3, #0] + 800ecc6: b11c cbz r4, 800ecd0 + 800ecc8: 69b3 ldr r3, [r6, #24] 800ecca: 4798 blx r3 - 800eccc: 8963 ldrh r3, [r4, #10] - 800ecce: f5b3 7f80 cmp.w r3, #256 ; 0x100 - 800ecd2: d1d9 bne.n 800ec88 - 800ecd4: 4620 mov r0, r4 - 800ecd6: f7ff ff75 bl 800ebc4 - 800ecda: e7d5 b.n 800ec88 - 800ecdc: 7a03 ldrb r3, [r0, #8] - 800ecde: 2b00 cmp r3, #0 - 800ece0: d1d6 bne.n 800ec90 - 800ece2: f7ff ff05 bl 800eaf0 - 800ece6: e7d3 b.n 800ec90 - 800ece8: 0800f14c .word 0x0800f14c - 800ecec: 200021b0 .word 0x200021b0 + 800eccc: 4284 cmp r4, r0 + 800ecce: d2e7 bcs.n 800eca0 + 800ecd0: 682c ldr r4, [r5, #0] + 800ecd2: 6963 ldr r3, [r4, #20] + 800ecd4: 602b str r3, [r5, #0] + 800ecd6: f8a4 8008 strh.w r8, [r4, #8] + 800ecda: e9d4 3003 ldrd r3, r0, [r4, #12] + 800ecde: 4798 blx r3 + 800ece0: 8963 ldrh r3, [r4, #10] + 800ece2: f5b3 7f80 cmp.w r3, #256 ; 0x100 + 800ece6: d1d9 bne.n 800ec9c + 800ece8: 4620 mov r0, r4 + 800ecea: f7ff ff75 bl 800ebd8 + 800ecee: e7d5 b.n 800ec9c + 800ecf0: 7a03 ldrb r3, [r0, #8] + 800ecf2: 2b00 cmp r3, #0 + 800ecf4: d1d6 bne.n 800eca4 + 800ecf6: f7ff ff05 bl 800eb04 + 800ecfa: e7d3 b.n 800eca4 + 800ecfc: 0800f15c .word 0x0800f15c + 800ed00: 200021b0 .word 0x200021b0 -0800ecf0 : - 800ecf0: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800ecf4: b097 sub sp, #92 ; 0x5c - 800ecf6: 2900 cmp r1, #0 - 800ecf8: 4680 mov r8, r0 - 800ecfa: 9103 str r1, [sp, #12] - 800ecfc: f340 810e ble.w 800ef1c - 800ed00: 469a mov sl, r3 - 800ed02: 4604 mov r4, r0 - 800ed04: 9903 ldr r1, [sp, #12] - 800ed06: 7813 ldrb r3, [r2, #0] - 800ed08: eba4 0008 sub.w r0, r4, r8 - 800ed0c: 3901 subs r1, #1 - 800ed0e: b923 cbnz r3, 800ed1a - 800ed10: 2300 movs r3, #0 - 800ed12: 7023 strb r3, [r4, #0] - 800ed14: b017 add sp, #92 ; 0x5c - 800ed16: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800ed1a: 4288 cmp r0, r1 - 800ed1c: daf8 bge.n 800ed10 - 800ed1e: 2b25 cmp r3, #37 ; 0x25 - 800ed20: d004 beq.n 800ed2c - 800ed22: f804 3b01 strb.w r3, [r4], #1 - 800ed26: 4616 mov r6, r2 - 800ed28: 1c72 adds r2, r6, #1 - 800ed2a: e7eb b.n 800ed04 - 800ed2c: f892 c001 ldrb.w ip, [r2, #1] - 800ed30: f1ac 0330 sub.w r3, ip, #48 ; 0x30 - 800ed34: f1d3 0e00 rsbs lr, r3, #0 - 800ed38: eb4e 0e03 adc.w lr, lr, r3 - 800ed3c: f1ac 0330 sub.w r3, ip, #48 ; 0x30 - 800ed40: 2b09 cmp r3, #9 - 800ed42: f102 0601 add.w r6, r2, #1 - 800ed46: d829 bhi.n 800ed9c - 800ed48: 4632 mov r2, r6 - 800ed4a: 2500 movs r5, #0 - 800ed4c: f04f 090a mov.w r9, #10 - 800ed50: 4616 mov r6, r2 - 800ed52: f812 3b01 ldrb.w r3, [r2], #1 - 800ed56: f1a3 0030 sub.w r0, r3, #48 ; 0x30 - 800ed5a: 2809 cmp r0, #9 - 800ed5c: d919 bls.n 800ed92 - 800ed5e: 7833 ldrb r3, [r6, #0] - 800ed60: 2b69 cmp r3, #105 ; 0x69 - 800ed62: f000 809c beq.w 800ee9e - 800ed66: d81c bhi.n 800eda2 - 800ed68: 2b63 cmp r3, #99 ; 0x63 - 800ed6a: d028 beq.n 800edbe - 800ed6c: 2b64 cmp r3, #100 ; 0x64 - 800ed6e: f000 8096 beq.w 800ee9e - 800ed72: 2b58 cmp r3, #88 ; 0x58 - 800ed74: d05b beq.n 800ee2e - 800ed76: 2b25 cmp r3, #37 ; 0x25 - 800ed78: d119 bne.n 800edae - 800ed7a: 7833 ldrb r3, [r6, #0] - 800ed7c: 2b00 cmp r3, #0 - 800ed7e: f000 8092 beq.w 800eea6 - 800ed82: f804 3b01 strb.w r3, [r4], #1 - 800ed86: eba4 0308 sub.w r3, r4, r8 - 800ed8a: 428b cmp r3, r1 - 800ed8c: f280 8089 bge.w 800eea2 - 800ed90: e7ca b.n 800ed28 - 800ed92: fb09 3305 mla r3, r9, r5, r3 - 800ed96: f1a3 0530 sub.w r5, r3, #48 ; 0x30 - 800ed9a: e7d9 b.n 800ed50 - 800ed9c: f04f 35ff mov.w r5, #4294967295 - 800eda0: e7dd b.n 800ed5e - 800eda2: 2b75 cmp r3, #117 ; 0x75 - 800eda4: d07d beq.n 800eea2 - 800eda6: 2b78 cmp r3, #120 ; 0x78 - 800eda8: d043 beq.n 800ee32 - 800edaa: 2b73 cmp r3, #115 ; 0x73 - 800edac: d01e beq.n 800edec - 800edae: 2325 movs r3, #37 ; 0x25 - 800edb0: f804 3b01 strb.w r3, [r4], #1 - 800edb4: eba4 0308 sub.w r3, r4, r8 - 800edb8: 428b cmp r3, r1 - 800edba: da72 bge.n 800eea2 - 800edbc: e7dd b.n 800ed7a - 800edbe: 2d00 cmp r5, #0 - 800edc0: f105 39ff add.w r9, r5, #4294967295 - 800edc4: bfd8 it le - 800edc6: f04f 0900 movle.w r9, #0 - 800edca: 464a mov r2, r9 - 800edcc: 4620 mov r0, r4 - 800edce: 2120 movs r1, #32 - 800edd0: f000 f8ac bl 800ef2c - 800edd4: 4653 mov r3, sl - 800edd6: 44a1 add r9, r4 - 800edd8: 2d00 cmp r5, #0 - 800edda: f853 2b04 ldr.w r2, [r3], #4 - 800edde: f889 2000 strb.w r2, [r9] - 800ede2: bfd8 it le - 800ede4: 2501 movle r5, #1 - 800ede6: 442c add r4, r5 - 800ede8: 469a mov sl, r3 - 800edea: e79d b.n 800ed28 - 800edec: 4b4c ldr r3, [pc, #304] ; (800ef20 ) - 800edee: f85a 7b04 ldr.w r7, [sl], #4 - 800edf2: 2f00 cmp r7, #0 - 800edf4: bf08 it eq - 800edf6: 461f moveq r7, r3 - 800edf8: 4638 mov r0, r7 - 800edfa: f7f1 f9bd bl 8000178 - 800edfe: eba5 0b00 sub.w fp, r5, r0 - 800ee02: 4285 cmp r5, r0 - 800ee04: bfb8 it lt - 800ee06: f04f 0b00 movlt.w fp, #0 - 800ee0a: 465a mov r2, fp - 800ee0c: 4681 mov r9, r0 - 800ee0e: 2120 movs r1, #32 - 800ee10: 4620 mov r0, r4 - 800ee12: f000 f88b bl 800ef2c - 800ee16: 44a3 add fp, r4 - 800ee18: 2300 movs r3, #0 - 800ee1a: 454b cmp r3, r9 - 800ee1c: db02 blt.n 800ee24 - 800ee1e: eb0b 0409 add.w r4, fp, r9 - 800ee22: e781 b.n 800ed28 - 800ee24: 5cfa ldrb r2, [r7, r3] - 800ee26: f80b 2003 strb.w r2, [fp, r3] - 800ee2a: 3301 adds r3, #1 - 800ee2c: e7f5 b.n 800ee1a - 800ee2e: f04e 0e40 orr.w lr, lr, #64 ; 0x40 - 800ee32: 2010 movs r0, #16 - 800ee34: f8df 90ec ldr.w r9, [pc, #236] ; 800ef24 - 800ee38: 4f3b ldr r7, [pc, #236] ; (800ef28 ) - 800ee3a: f01e 0f40 tst.w lr, #64 ; 0x40 - 800ee3e: bf08 it eq - 800ee40: 464f moveq r7, r9 - 800ee42: 4653 mov r3, sl - 800ee44: f1bc 0f30 cmp.w ip, #48 ; 0x30 - 800ee48: 9701 str r7, [sp, #4] - 800ee4a: eba4 0208 sub.w r2, r4, r8 - 800ee4e: bf0c ite eq - 800ee50: 2730 moveq r7, #48 ; 0x30 - 800ee52: 2720 movne r7, #32 - 800ee54: f01e 0f02 tst.w lr, #2 - 800ee58: eba1 0202 sub.w r2, r1, r2 - 800ee5c: 9702 str r7, [sp, #8] - 800ee5e: f853 1b04 ldr.w r1, [r3], #4 - 800ee62: d022 beq.n 800eeaa - 800ee64: 2900 cmp r1, #0 - 800ee66: da20 bge.n 800eeaa - 800ee68: 4249 negs r1, r1 - 800ee6a: 3d01 subs r5, #1 - 800ee6c: f04f 0e2d mov.w lr, #45 ; 0x2d - 800ee70: af05 add r7, sp, #20 - 800ee72: 9700 str r7, [sp, #0] - 800ee74: 2700 movs r7, #0 - 800ee76: 4689 mov r9, r1 - 800ee78: f8dd a004 ldr.w sl, [sp, #4] - 800ee7c: fbb1 f1f0 udiv r1, r1, r0 - 800ee80: fb00 9b11 mls fp, r0, r1, r9 - 800ee84: 4548 cmp r0, r9 - 800ee86: f81a b00b ldrb.w fp, [sl, fp] - 800ee8a: f8dd a000 ldr.w sl, [sp] - 800ee8e: f80a bb01 strb.w fp, [sl], #1 - 800ee92: f107 0701 add.w r7, r7, #1 - 800ee96: f8cd a000 str.w sl, [sp] - 800ee9a: d9ec bls.n 800ee76 - 800ee9c: e00e b.n 800eebc - 800ee9e: f04e 0e02 orr.w lr, lr, #2 - 800eea2: 200a movs r0, #10 - 800eea4: e7c6 b.n 800ee34 - 800eea6: 3e01 subs r6, #1 - 800eea8: e76d b.n 800ed86 - 800eeaa: b111 cbz r1, 800eeb2 - 800eeac: f04f 0e00 mov.w lr, #0 - 800eeb0: e7de b.n 800ee70 - 800eeb2: 2030 movs r0, #48 ; 0x30 - 800eeb4: f88d 0014 strb.w r0, [sp, #20] - 800eeb8: 468e mov lr, r1 - 800eeba: 2701 movs r7, #1 - 800eebc: f1bc 0f30 cmp.w ip, #48 ; 0x30 - 800eec0: eba5 0507 sub.w r5, r5, r7 - 800eec4: d004 beq.n 800eed0 - 800eec6: 2020 movs r0, #32 - 800eec8: 2d00 cmp r5, #0 - 800eeca: f105 35ff add.w r5, r5, #4294967295 - 800eece: dc09 bgt.n 800eee4 - 800eed0: f1be 0f00 cmp.w lr, #0 - 800eed4: d004 beq.n 800eee0 - 800eed6: 212d movs r1, #45 ; 0x2d - 800eed8: 3a01 subs r2, #1 - 800eeda: f804 1b01 strb.w r1, [r4], #1 - 800eede: d083 beq.n 800ede8 - 800eee0: 4425 add r5, r4 - 800eee2: e00a b.n 800eefa - 800eee4: 3a01 subs r2, #1 - 800eee6: f804 0b01 strb.w r0, [r4], #1 - 800eeea: d1ed bne.n 800eec8 - 800eeec: e77c b.n 800ede8 - 800eeee: 9902 ldr r1, [sp, #8] - 800eef0: f804 1b01 strb.w r1, [r4], #1 - 800eef4: 3a01 subs r2, #1 - 800eef6: f43f af77 beq.w 800ede8 - 800eefa: 1b29 subs r1, r5, r4 - 800eefc: 2900 cmp r1, #0 - 800eefe: dcf6 bgt.n 800eeee - 800ef00: a905 add r1, sp, #20 - 800ef02: 4439 add r1, r7 - 800ef04: 4422 add r2, r4 - 800ef06: 4427 add r7, r4 - 800ef08: 42a7 cmp r7, r4 - 800ef0a: f43f af6d beq.w 800ede8 - 800ef0e: f811 0d01 ldrb.w r0, [r1, #-1]! - 800ef12: f804 0b01 strb.w r0, [r4], #1 - 800ef16: 4294 cmp r4, r2 - 800ef18: d1f6 bne.n 800ef08 - 800ef1a: e765 b.n 800ede8 - 800ef1c: 2000 movs r0, #0 - 800ef1e: e6f9 b.n 800ed14 - 800ef20: 0800fb30 .word 0x0800fb30 - 800ef24: 0800fb37 .word 0x0800fb37 - 800ef28: 0800fb5c .word 0x0800fb5c +0800ed04 : + 800ed04: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800ed08: b097 sub sp, #92 ; 0x5c + 800ed0a: 2900 cmp r1, #0 + 800ed0c: 4680 mov r8, r0 + 800ed0e: 9103 str r1, [sp, #12] + 800ed10: f340 810e ble.w 800ef30 + 800ed14: 469a mov sl, r3 + 800ed16: 4604 mov r4, r0 + 800ed18: 9903 ldr r1, [sp, #12] + 800ed1a: 7813 ldrb r3, [r2, #0] + 800ed1c: eba4 0008 sub.w r0, r4, r8 + 800ed20: 3901 subs r1, #1 + 800ed22: b923 cbnz r3, 800ed2e + 800ed24: 2300 movs r3, #0 + 800ed26: 7023 strb r3, [r4, #0] + 800ed28: b017 add sp, #92 ; 0x5c + 800ed2a: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 800ed2e: 4288 cmp r0, r1 + 800ed30: daf8 bge.n 800ed24 + 800ed32: 2b25 cmp r3, #37 ; 0x25 + 800ed34: d004 beq.n 800ed40 + 800ed36: f804 3b01 strb.w r3, [r4], #1 + 800ed3a: 4616 mov r6, r2 + 800ed3c: 1c72 adds r2, r6, #1 + 800ed3e: e7eb b.n 800ed18 + 800ed40: f892 c001 ldrb.w ip, [r2, #1] + 800ed44: f1ac 0330 sub.w r3, ip, #48 ; 0x30 + 800ed48: f1d3 0e00 rsbs lr, r3, #0 + 800ed4c: eb4e 0e03 adc.w lr, lr, r3 + 800ed50: f1ac 0330 sub.w r3, ip, #48 ; 0x30 + 800ed54: 2b09 cmp r3, #9 + 800ed56: f102 0601 add.w r6, r2, #1 + 800ed5a: d829 bhi.n 800edb0 + 800ed5c: 4632 mov r2, r6 + 800ed5e: 2500 movs r5, #0 + 800ed60: f04f 090a mov.w r9, #10 + 800ed64: 4616 mov r6, r2 + 800ed66: f812 3b01 ldrb.w r3, [r2], #1 + 800ed6a: f1a3 0030 sub.w r0, r3, #48 ; 0x30 + 800ed6e: 2809 cmp r0, #9 + 800ed70: d919 bls.n 800eda6 + 800ed72: 7833 ldrb r3, [r6, #0] + 800ed74: 2b69 cmp r3, #105 ; 0x69 + 800ed76: f000 809c beq.w 800eeb2 + 800ed7a: d81c bhi.n 800edb6 + 800ed7c: 2b63 cmp r3, #99 ; 0x63 + 800ed7e: d028 beq.n 800edd2 + 800ed80: 2b64 cmp r3, #100 ; 0x64 + 800ed82: f000 8096 beq.w 800eeb2 + 800ed86: 2b58 cmp r3, #88 ; 0x58 + 800ed88: d05b beq.n 800ee42 + 800ed8a: 2b25 cmp r3, #37 ; 0x25 + 800ed8c: d119 bne.n 800edc2 + 800ed8e: 7833 ldrb r3, [r6, #0] + 800ed90: 2b00 cmp r3, #0 + 800ed92: f000 8092 beq.w 800eeba + 800ed96: f804 3b01 strb.w r3, [r4], #1 + 800ed9a: eba4 0308 sub.w r3, r4, r8 + 800ed9e: 428b cmp r3, r1 + 800eda0: f280 8089 bge.w 800eeb6 + 800eda4: e7ca b.n 800ed3c + 800eda6: fb09 3305 mla r3, r9, r5, r3 + 800edaa: f1a3 0530 sub.w r5, r3, #48 ; 0x30 + 800edae: e7d9 b.n 800ed64 + 800edb0: f04f 35ff mov.w r5, #4294967295 + 800edb4: e7dd b.n 800ed72 + 800edb6: 2b75 cmp r3, #117 ; 0x75 + 800edb8: d07d beq.n 800eeb6 + 800edba: 2b78 cmp r3, #120 ; 0x78 + 800edbc: d043 beq.n 800ee46 + 800edbe: 2b73 cmp r3, #115 ; 0x73 + 800edc0: d01e beq.n 800ee00 + 800edc2: 2325 movs r3, #37 ; 0x25 + 800edc4: f804 3b01 strb.w r3, [r4], #1 + 800edc8: eba4 0308 sub.w r3, r4, r8 + 800edcc: 428b cmp r3, r1 + 800edce: da72 bge.n 800eeb6 + 800edd0: e7dd b.n 800ed8e + 800edd2: 2d00 cmp r5, #0 + 800edd4: f105 39ff add.w r9, r5, #4294967295 + 800edd8: bfd8 it le + 800edda: f04f 0900 movle.w r9, #0 + 800edde: 464a mov r2, r9 + 800ede0: 4620 mov r0, r4 + 800ede2: 2120 movs r1, #32 + 800ede4: f000 f8ac bl 800ef40 + 800ede8: 4653 mov r3, sl + 800edea: 44a1 add r9, r4 + 800edec: 2d00 cmp r5, #0 + 800edee: f853 2b04 ldr.w r2, [r3], #4 + 800edf2: f889 2000 strb.w r2, [r9] + 800edf6: bfd8 it le + 800edf8: 2501 movle r5, #1 + 800edfa: 442c add r4, r5 + 800edfc: 469a mov sl, r3 + 800edfe: e79d b.n 800ed3c + 800ee00: 4b4c ldr r3, [pc, #304] ; (800ef34 ) + 800ee02: f85a 7b04 ldr.w r7, [sl], #4 + 800ee06: 2f00 cmp r7, #0 + 800ee08: bf08 it eq + 800ee0a: 461f moveq r7, r3 + 800ee0c: 4638 mov r0, r7 + 800ee0e: f7f1 f9b3 bl 8000178 + 800ee12: eba5 0b00 sub.w fp, r5, r0 + 800ee16: 4285 cmp r5, r0 + 800ee18: bfb8 it lt + 800ee1a: f04f 0b00 movlt.w fp, #0 + 800ee1e: 465a mov r2, fp + 800ee20: 4681 mov r9, r0 + 800ee22: 2120 movs r1, #32 + 800ee24: 4620 mov r0, r4 + 800ee26: f000 f88b bl 800ef40 + 800ee2a: 44a3 add fp, r4 + 800ee2c: 2300 movs r3, #0 + 800ee2e: 454b cmp r3, r9 + 800ee30: db02 blt.n 800ee38 + 800ee32: eb0b 0409 add.w r4, fp, r9 + 800ee36: e781 b.n 800ed3c + 800ee38: 5cfa ldrb r2, [r7, r3] + 800ee3a: f80b 2003 strb.w r2, [fp, r3] + 800ee3e: 3301 adds r3, #1 + 800ee40: e7f5 b.n 800ee2e + 800ee42: f04e 0e40 orr.w lr, lr, #64 ; 0x40 + 800ee46: 2010 movs r0, #16 + 800ee48: f8df 90ec ldr.w r9, [pc, #236] ; 800ef38 + 800ee4c: 4f3b ldr r7, [pc, #236] ; (800ef3c ) + 800ee4e: f01e 0f40 tst.w lr, #64 ; 0x40 + 800ee52: bf08 it eq + 800ee54: 464f moveq r7, r9 + 800ee56: 4653 mov r3, sl + 800ee58: f1bc 0f30 cmp.w ip, #48 ; 0x30 + 800ee5c: 9701 str r7, [sp, #4] + 800ee5e: eba4 0208 sub.w r2, r4, r8 + 800ee62: bf0c ite eq + 800ee64: 2730 moveq r7, #48 ; 0x30 + 800ee66: 2720 movne r7, #32 + 800ee68: f01e 0f02 tst.w lr, #2 + 800ee6c: eba1 0202 sub.w r2, r1, r2 + 800ee70: 9702 str r7, [sp, #8] + 800ee72: f853 1b04 ldr.w r1, [r3], #4 + 800ee76: d022 beq.n 800eebe + 800ee78: 2900 cmp r1, #0 + 800ee7a: da20 bge.n 800eebe + 800ee7c: 4249 negs r1, r1 + 800ee7e: 3d01 subs r5, #1 + 800ee80: f04f 0e2d mov.w lr, #45 ; 0x2d + 800ee84: af05 add r7, sp, #20 + 800ee86: 9700 str r7, [sp, #0] + 800ee88: 2700 movs r7, #0 + 800ee8a: 4689 mov r9, r1 + 800ee8c: f8dd a004 ldr.w sl, [sp, #4] + 800ee90: fbb1 f1f0 udiv r1, r1, r0 + 800ee94: fb00 9b11 mls fp, r0, r1, r9 + 800ee98: 4548 cmp r0, r9 + 800ee9a: f81a b00b ldrb.w fp, [sl, fp] + 800ee9e: f8dd a000 ldr.w sl, [sp] + 800eea2: f80a bb01 strb.w fp, [sl], #1 + 800eea6: f107 0701 add.w r7, r7, #1 + 800eeaa: f8cd a000 str.w sl, [sp] + 800eeae: d9ec bls.n 800ee8a + 800eeb0: e00e b.n 800eed0 + 800eeb2: f04e 0e02 orr.w lr, lr, #2 + 800eeb6: 200a movs r0, #10 + 800eeb8: e7c6 b.n 800ee48 + 800eeba: 3e01 subs r6, #1 + 800eebc: e76d b.n 800ed9a + 800eebe: b111 cbz r1, 800eec6 + 800eec0: f04f 0e00 mov.w lr, #0 + 800eec4: e7de b.n 800ee84 + 800eec6: 2030 movs r0, #48 ; 0x30 + 800eec8: f88d 0014 strb.w r0, [sp, #20] + 800eecc: 468e mov lr, r1 + 800eece: 2701 movs r7, #1 + 800eed0: f1bc 0f30 cmp.w ip, #48 ; 0x30 + 800eed4: eba5 0507 sub.w r5, r5, r7 + 800eed8: d004 beq.n 800eee4 + 800eeda: 2020 movs r0, #32 + 800eedc: 2d00 cmp r5, #0 + 800eede: f105 35ff add.w r5, r5, #4294967295 + 800eee2: dc09 bgt.n 800eef8 + 800eee4: f1be 0f00 cmp.w lr, #0 + 800eee8: d004 beq.n 800eef4 + 800eeea: 212d movs r1, #45 ; 0x2d + 800eeec: 3a01 subs r2, #1 + 800eeee: f804 1b01 strb.w r1, [r4], #1 + 800eef2: d083 beq.n 800edfc + 800eef4: 4425 add r5, r4 + 800eef6: e00a b.n 800ef0e + 800eef8: 3a01 subs r2, #1 + 800eefa: f804 0b01 strb.w r0, [r4], #1 + 800eefe: d1ed bne.n 800eedc + 800ef00: e77c b.n 800edfc + 800ef02: 9902 ldr r1, [sp, #8] + 800ef04: f804 1b01 strb.w r1, [r4], #1 + 800ef08: 3a01 subs r2, #1 + 800ef0a: f43f af77 beq.w 800edfc + 800ef0e: 1b29 subs r1, r5, r4 + 800ef10: 2900 cmp r1, #0 + 800ef12: dcf6 bgt.n 800ef02 + 800ef14: a905 add r1, sp, #20 + 800ef16: 4439 add r1, r7 + 800ef18: 4422 add r2, r4 + 800ef1a: 4427 add r7, r4 + 800ef1c: 42a7 cmp r7, r4 + 800ef1e: f43f af6d beq.w 800edfc + 800ef22: f811 0d01 ldrb.w r0, [r1, #-1]! + 800ef26: f804 0b01 strb.w r0, [r4], #1 + 800ef2a: 4294 cmp r4, r2 + 800ef2c: d1f6 bne.n 800ef1c + 800ef2e: e765 b.n 800edfc + 800ef30: 2000 movs r0, #0 + 800ef32: e6f9 b.n 800ed28 + 800ef34: 0800fb40 .word 0x0800fb40 + 800ef38: 0800fb47 .word 0x0800fb47 + 800ef3c: 0800fb6c .word 0x0800fb6c -0800ef2c : - 800ef2c: 4402 add r2, r0 - 800ef2e: 4603 mov r3, r0 - 800ef30: 4293 cmp r3, r2 - 800ef32: d100 bne.n 800ef36 - 800ef34: 4770 bx lr - 800ef36: f803 1b01 strb.w r1, [r3], #1 - 800ef3a: e7f9 b.n 800ef30 +0800ef40 : + 800ef40: 4402 add r2, r0 + 800ef42: 4603 mov r3, r0 + 800ef44: 4293 cmp r3, r2 + 800ef46: d100 bne.n 800ef4a + 800ef48: 4770 bx lr + 800ef4a: f803 1b01 strb.w r1, [r3], #1 + 800ef4e: e7f9 b.n 800ef44 -0800ef3c <__libc_init_array>: - 800ef3c: b570 push {r4, r5, r6, lr} - 800ef3e: 4d0d ldr r5, [pc, #52] ; (800ef74 <__libc_init_array+0x38>) - 800ef40: 4c0d ldr r4, [pc, #52] ; (800ef78 <__libc_init_array+0x3c>) - 800ef42: 1b64 subs r4, r4, r5 - 800ef44: 10a4 asrs r4, r4, #2 - 800ef46: 2600 movs r6, #0 - 800ef48: 42a6 cmp r6, r4 - 800ef4a: d109 bne.n 800ef60 <__libc_init_array+0x24> - 800ef4c: 4d0b ldr r5, [pc, #44] ; (800ef7c <__libc_init_array+0x40>) - 800ef4e: 4c0c ldr r4, [pc, #48] ; (800ef80 <__libc_init_array+0x44>) - 800ef50: f000 f89a bl 800f088 <_init> - 800ef54: 1b64 subs r4, r4, r5 - 800ef56: 10a4 asrs r4, r4, #2 - 800ef58: 2600 movs r6, #0 - 800ef5a: 42a6 cmp r6, r4 - 800ef5c: d105 bne.n 800ef6a <__libc_init_array+0x2e> - 800ef5e: bd70 pop {r4, r5, r6, pc} - 800ef60: f855 3b04 ldr.w r3, [r5], #4 - 800ef64: 4798 blx r3 - 800ef66: 3601 adds r6, #1 - 800ef68: e7ee b.n 800ef48 <__libc_init_array+0xc> - 800ef6a: f855 3b04 ldr.w r3, [r5], #4 - 800ef6e: 4798 blx r3 - 800ef70: 3601 adds r6, #1 - 800ef72: e7f2 b.n 800ef5a <__libc_init_array+0x1e> - 800ef74: 0800fc64 .word 0x0800fc64 - 800ef78: 0800fc64 .word 0x0800fc64 - 800ef7c: 0800fc64 .word 0x0800fc64 - 800ef80: 0800fc68 .word 0x0800fc68 - 800ef84: 00000000 .word 0x00000000 +0800ef50 <__libc_init_array>: + 800ef50: b570 push {r4, r5, r6, lr} + 800ef52: 4d0d ldr r5, [pc, #52] ; (800ef88 <__libc_init_array+0x38>) + 800ef54: 4c0d ldr r4, [pc, #52] ; (800ef8c <__libc_init_array+0x3c>) + 800ef56: 1b64 subs r4, r4, r5 + 800ef58: 10a4 asrs r4, r4, #2 + 800ef5a: 2600 movs r6, #0 + 800ef5c: 42a6 cmp r6, r4 + 800ef5e: d109 bne.n 800ef74 <__libc_init_array+0x24> + 800ef60: 4d0b ldr r5, [pc, #44] ; (800ef90 <__libc_init_array+0x40>) + 800ef62: 4c0c ldr r4, [pc, #48] ; (800ef94 <__libc_init_array+0x44>) + 800ef64: f000 f898 bl 800f098 <_init> + 800ef68: 1b64 subs r4, r4, r5 + 800ef6a: 10a4 asrs r4, r4, #2 + 800ef6c: 2600 movs r6, #0 + 800ef6e: 42a6 cmp r6, r4 + 800ef70: d105 bne.n 800ef7e <__libc_init_array+0x2e> + 800ef72: bd70 pop {r4, r5, r6, pc} + 800ef74: f855 3b04 ldr.w r3, [r5], #4 + 800ef78: 4798 blx r3 + 800ef7a: 3601 adds r6, #1 + 800ef7c: e7ee b.n 800ef5c <__libc_init_array+0xc> + 800ef7e: f855 3b04 ldr.w r3, [r5], #4 + 800ef82: 4798 blx r3 + 800ef84: 3601 adds r6, #1 + 800ef86: e7f2 b.n 800ef6e <__libc_init_array+0x1e> + 800ef88: 0800fc74 .word 0x0800fc74 + 800ef8c: 0800fc74 .word 0x0800fc74 + 800ef90: 0800fc74 .word 0x0800fc74 + 800ef94: 0800fc78 .word 0x0800fc78 -0800ef88 : - 800ef88: f3c1 520a ubfx r2, r1, #20, #11 - 800ef8c: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} - 800ef90: f2a2 36ff subw r6, r2, #1023 ; 0x3ff - 800ef94: 2e13 cmp r6, #19 - 800ef96: 460b mov r3, r1 - 800ef98: 4607 mov r7, r0 - 800ef9a: 460c mov r4, r1 - 800ef9c: 4605 mov r5, r0 - 800ef9e: dc32 bgt.n 800f006 - 800efa0: 2e00 cmp r6, #0 - 800efa2: da14 bge.n 800efce - 800efa4: a334 add r3, pc, #208 ; (adr r3, 800f078 ) - 800efa6: e9d3 2300 ldrd r2, r3, [r3] - 800efaa: f7f1 f8f3 bl 8000194 <__adddf3> - 800efae: 2200 movs r2, #0 - 800efb0: 2300 movs r3, #0 - 800efb2: f7f1 fb23 bl 80005fc <__aeabi_dcmpgt> - 800efb6: b138 cbz r0, 800efc8 - 800efb8: 2c00 cmp r4, #0 - 800efba: da56 bge.n 800f06a - 800efbc: f024 4400 bic.w r4, r4, #2147483648 ; 0x80000000 - 800efc0: 4325 orrs r5, r4 - 800efc2: d055 beq.n 800f070 - 800efc4: 4c2e ldr r4, [pc, #184] ; (800f080 ) - 800efc6: 2500 movs r5, #0 - 800efc8: 4623 mov r3, r4 - 800efca: 462f mov r7, r5 - 800efcc: e025 b.n 800f01a - 800efce: 4a2d ldr r2, [pc, #180] ; (800f084 ) - 800efd0: fa42 f806 asr.w r8, r2, r6 - 800efd4: ea01 0208 and.w r2, r1, r8 - 800efd8: 4302 orrs r2, r0 - 800efda: d01e beq.n 800f01a - 800efdc: a326 add r3, pc, #152 ; (adr r3, 800f078 ) - 800efde: e9d3 2300 ldrd r2, r3, [r3] - 800efe2: f7f1 f8d7 bl 8000194 <__adddf3> - 800efe6: 2200 movs r2, #0 - 800efe8: 2300 movs r3, #0 - 800efea: f7f1 fb07 bl 80005fc <__aeabi_dcmpgt> - 800efee: 2800 cmp r0, #0 - 800eff0: d0ea beq.n 800efc8 - 800eff2: 2c00 cmp r4, #0 - 800eff4: bfbe ittt lt - 800eff6: f44f 1380 movlt.w r3, #1048576 ; 0x100000 - 800effa: 4133 asrlt r3, r6 - 800effc: 18e4 addlt r4, r4, r3 - 800effe: ea24 0408 bic.w r4, r4, r8 - 800f002: 2500 movs r5, #0 - 800f004: e7e0 b.n 800efc8 - 800f006: 2e33 cmp r6, #51 ; 0x33 - 800f008: dd0b ble.n 800f022 - 800f00a: f5b6 6f80 cmp.w r6, #1024 ; 0x400 - 800f00e: d104 bne.n 800f01a - 800f010: 4602 mov r2, r0 - 800f012: f7f1 f8bf bl 8000194 <__adddf3> - 800f016: 4607 mov r7, r0 - 800f018: 460b mov r3, r1 - 800f01a: 4638 mov r0, r7 - 800f01c: 4619 mov r1, r3 - 800f01e: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} - 800f022: f2a2 4213 subw r2, r2, #1043 ; 0x413 - 800f026: f04f 38ff mov.w r8, #4294967295 - 800f02a: fa28 f802 lsr.w r8, r8, r2 - 800f02e: ea10 0f08 tst.w r0, r8 - 800f032: d0f2 beq.n 800f01a - 800f034: a310 add r3, pc, #64 ; (adr r3, 800f078 ) - 800f036: e9d3 2300 ldrd r2, r3, [r3] - 800f03a: f7f1 f8ab bl 8000194 <__adddf3> - 800f03e: 2200 movs r2, #0 - 800f040: 2300 movs r3, #0 - 800f042: f7f1 fadb bl 80005fc <__aeabi_dcmpgt> - 800f046: 2800 cmp r0, #0 - 800f048: d0be beq.n 800efc8 - 800f04a: 2c00 cmp r4, #0 - 800f04c: da0a bge.n 800f064 - 800f04e: 2e14 cmp r6, #20 - 800f050: d101 bne.n 800f056 - 800f052: 3401 adds r4, #1 - 800f054: e006 b.n 800f064 - 800f056: f1c6 0634 rsb r6, r6, #52 ; 0x34 - 800f05a: 2301 movs r3, #1 - 800f05c: 40b3 lsls r3, r6 - 800f05e: 441d add r5, r3 - 800f060: 42af cmp r7, r5 - 800f062: d8f6 bhi.n 800f052 - 800f064: ea25 0508 bic.w r5, r5, r8 - 800f068: e7ae b.n 800efc8 - 800f06a: 2500 movs r5, #0 - 800f06c: 462c mov r4, r5 - 800f06e: e7ab b.n 800efc8 - 800f070: f04f 4400 mov.w r4, #2147483648 ; 0x80000000 - 800f074: e7a8 b.n 800efc8 - 800f076: bf00 nop - 800f078: 8800759c .word 0x8800759c - 800f07c: 7e37e43c .word 0x7e37e43c - 800f080: bff00000 .word 0xbff00000 - 800f084: 000fffff .word 0x000fffff +0800ef98 : + 800ef98: f3c1 520a ubfx r2, r1, #20, #11 + 800ef9c: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} + 800efa0: f2a2 36ff subw r6, r2, #1023 ; 0x3ff + 800efa4: 2e13 cmp r6, #19 + 800efa6: 460b mov r3, r1 + 800efa8: 4607 mov r7, r0 + 800efaa: 460c mov r4, r1 + 800efac: 4605 mov r5, r0 + 800efae: dc32 bgt.n 800f016 + 800efb0: 2e00 cmp r6, #0 + 800efb2: da14 bge.n 800efde + 800efb4: a334 add r3, pc, #208 ; (adr r3, 800f088 ) + 800efb6: e9d3 2300 ldrd r2, r3, [r3] + 800efba: f7f1 f8eb bl 8000194 <__adddf3> + 800efbe: 2200 movs r2, #0 + 800efc0: 2300 movs r3, #0 + 800efc2: f7f1 fb1b bl 80005fc <__aeabi_dcmpgt> + 800efc6: b138 cbz r0, 800efd8 + 800efc8: 2c00 cmp r4, #0 + 800efca: da56 bge.n 800f07a + 800efcc: f024 4400 bic.w r4, r4, #2147483648 ; 0x80000000 + 800efd0: 4325 orrs r5, r4 + 800efd2: d055 beq.n 800f080 + 800efd4: 4c2e ldr r4, [pc, #184] ; (800f090 ) + 800efd6: 2500 movs r5, #0 + 800efd8: 4623 mov r3, r4 + 800efda: 462f mov r7, r5 + 800efdc: e025 b.n 800f02a + 800efde: 4a2d ldr r2, [pc, #180] ; (800f094 ) + 800efe0: fa42 f806 asr.w r8, r2, r6 + 800efe4: ea01 0208 and.w r2, r1, r8 + 800efe8: 4302 orrs r2, r0 + 800efea: d01e beq.n 800f02a + 800efec: a326 add r3, pc, #152 ; (adr r3, 800f088 ) + 800efee: e9d3 2300 ldrd r2, r3, [r3] + 800eff2: f7f1 f8cf bl 8000194 <__adddf3> + 800eff6: 2200 movs r2, #0 + 800eff8: 2300 movs r3, #0 + 800effa: f7f1 faff bl 80005fc <__aeabi_dcmpgt> + 800effe: 2800 cmp r0, #0 + 800f000: d0ea beq.n 800efd8 + 800f002: 2c00 cmp r4, #0 + 800f004: bfbe ittt lt + 800f006: f44f 1380 movlt.w r3, #1048576 ; 0x100000 + 800f00a: 4133 asrlt r3, r6 + 800f00c: 18e4 addlt r4, r4, r3 + 800f00e: ea24 0408 bic.w r4, r4, r8 + 800f012: 2500 movs r5, #0 + 800f014: e7e0 b.n 800efd8 + 800f016: 2e33 cmp r6, #51 ; 0x33 + 800f018: dd0b ble.n 800f032 + 800f01a: f5b6 6f80 cmp.w r6, #1024 ; 0x400 + 800f01e: d104 bne.n 800f02a + 800f020: 4602 mov r2, r0 + 800f022: f7f1 f8b7 bl 8000194 <__adddf3> + 800f026: 4607 mov r7, r0 + 800f028: 460b mov r3, r1 + 800f02a: 4638 mov r0, r7 + 800f02c: 4619 mov r1, r3 + 800f02e: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} + 800f032: f2a2 4213 subw r2, r2, #1043 ; 0x413 + 800f036: f04f 38ff mov.w r8, #4294967295 + 800f03a: fa28 f802 lsr.w r8, r8, r2 + 800f03e: ea10 0f08 tst.w r0, r8 + 800f042: d0f2 beq.n 800f02a + 800f044: a310 add r3, pc, #64 ; (adr r3, 800f088 ) + 800f046: e9d3 2300 ldrd r2, r3, [r3] + 800f04a: f7f1 f8a3 bl 8000194 <__adddf3> + 800f04e: 2200 movs r2, #0 + 800f050: 2300 movs r3, #0 + 800f052: f7f1 fad3 bl 80005fc <__aeabi_dcmpgt> + 800f056: 2800 cmp r0, #0 + 800f058: d0be beq.n 800efd8 + 800f05a: 2c00 cmp r4, #0 + 800f05c: da0a bge.n 800f074 + 800f05e: 2e14 cmp r6, #20 + 800f060: d101 bne.n 800f066 + 800f062: 3401 adds r4, #1 + 800f064: e006 b.n 800f074 + 800f066: f1c6 0634 rsb r6, r6, #52 ; 0x34 + 800f06a: 2301 movs r3, #1 + 800f06c: 40b3 lsls r3, r6 + 800f06e: 441d add r5, r3 + 800f070: 42af cmp r7, r5 + 800f072: d8f6 bhi.n 800f062 + 800f074: ea25 0508 bic.w r5, r5, r8 + 800f078: e7ae b.n 800efd8 + 800f07a: 2500 movs r5, #0 + 800f07c: 462c mov r4, r5 + 800f07e: e7ab b.n 800efd8 + 800f080: f04f 4400 mov.w r4, #2147483648 ; 0x80000000 + 800f084: e7a8 b.n 800efd8 + 800f086: bf00 nop + 800f088: 8800759c .word 0x8800759c + 800f08c: 7e37e43c .word 0x7e37e43c + 800f090: bff00000 .word 0xbff00000 + 800f094: 000fffff .word 0x000fffff -0800f088 <_init>: - 800f088: b5f8 push {r3, r4, r5, r6, r7, lr} - 800f08a: bf00 nop - 800f08c: bcf8 pop {r3, r4, r5, r6, r7} - 800f08e: bc08 pop {r3} - 800f090: 469e mov lr, r3 - 800f092: 4770 bx lr +0800f098 <_init>: + 800f098: b5f8 push {r3, r4, r5, r6, r7, lr} + 800f09a: bf00 nop + 800f09c: bcf8 pop {r3, r4, r5, r6, r7} + 800f09e: bc08 pop {r3} + 800f0a0: 469e mov lr, r3 + 800f0a2: 4770 bx lr -0800f094 <_fini>: - 800f094: b5f8 push {r3, r4, r5, r6, r7, lr} - 800f096: bf00 nop - 800f098: bcf8 pop {r3, r4, r5, r6, r7} - 800f09a: bc08 pop {r3} - 800f09c: 469e mov lr, r3 - 800f09e: 4770 bx lr +0800f0a4 <_fini>: + 800f0a4: b5f8 push {r3, r4, r5, r6, r7, lr} + 800f0a6: bf00 nop + 800f0a8: bcf8 pop {r3, r4, r5, r6, r7} + 800f0aa: bc08 pop {r3} + 800f0ac: 469e mov lr, r3 + 800f0ae: 4770 bx lr