; ; CreateParticlePopup::onPage from 0x532210 to 0x53237e (366 bytes) ; ; 1 xrefs: ; > CreateParticlePopup::init @ 0x534e76 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; PUSH.W {R3-R9,LR} ; +0x0, 0x532210 MOV R4, R0 ; +0x4, 0x532214 CBZ R1, loc_532224 ; +0x6, 0x532216 LDR R3, [R1] ; +0x8, 0x532218 MOV R0, R1 ; +0xa, 0x53221a LDR R3, [R3,#0x20] ; +0xc, 0x53221c BLX R3 ; +0xe, 0x53221e STR.W R0, [R4,#0x294] ; +0x10, 0x532220 LDR R7, =(aGjButton01Png - 0x532230); "GJ_button_01.png" ; +0x14, 0x532224 MOVS R5, #1 ; +0x16, 0x532226 LDR.W R8, =(aGjButton04Png - 0x532232); "GJ_button_04.png" ; +0x18, 0x532228 ADD R7, PC; "GJ_button_01.png" ; +0x1c, 0x53222c ADD R8, PC; "GJ_button_04.png" ; +0x1e, 0x53222e MOV R1, R5; int ; +0x20, 0x532230 MOV R0, R4; this ; +0x22, 0x532232 BL _ZN19CreateParticlePopup7getPageEi; CreateParticlePopup::getPage(int) ; +0x24, 0x532234 LDR.W R1, [R4,#0x294] ; +0x28, 0x532238 RSB.W R9, R5, R1 ; +0x2c, 0x53223c RSBS.W R1, R9, #0 ; +0x30, 0x532240 ADC.W R1, R1, R9 ; +0x34, 0x532244 LDR R3, [R0] ; +0x38, 0x532248 LDR.W R3, [R3,#0xA4] ; +0x3a, 0x53224a BLX R3 ; +0x3e, 0x53224e MOV R1, R5; int ; +0x40, 0x532250 MOV R0, R4; this ; +0x42, 0x532252 BL _ZN19CreateParticlePopup13getPageButtonEi; CreateParticlePopup::getPageButton(int) ; +0x44, 0x532254 LDR R3, [R0] ; +0x48, 0x532258 LDR.W R3, [R3,#0x210] ; +0x4a, 0x53225a BLX R3 ; +0x4e, 0x53225e LDR.W R3, [R4,#0x294] ; +0x50, 0x532260 CMP R3, R5 ; +0x54, 0x532264 ITE EQ ; +0x56, 0x532266 MOVEQ R1, R7 ; +0x58, 0x532268 MOVNE R1, R8; char * ; +0x5a, 0x53226a BL _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x5c, 0x53226c MOV R0, R4; this ; +0x60, 0x532270 MOV R1, R5; int ; +0x62, 0x532272 BL _ZN19CreateParticlePopup17getPageInputNodesEi; CreateParticlePopup::getPageInputNodes(int) ; +0x64, 0x532274 CBNZ R0, loc_532286 ; +0x68, 0x532278 MOV R0, R4; this ; +0x6a, 0x53227a MOV R1, R5; int ; +0x6c, 0x53227c BL _ZN19CreateParticlePopup14getPageSlidersEi; CreateParticlePopup::getPageSliders(int) ; +0x6e, 0x53227e CBNZ R0, loc_5322DE ; +0x72, 0x532282 B loc_5322E8 ; +0x74, 0x532284 LDR R3, [R0,#0x34] ; +0x76, 0x532286 CBZ R3, loc_532290 ; +0x78, 0x532288 LDR.W R6, [R3,#0x110] ; +0x7a, 0x53228a B loc_5322D4 ; +0x7e, 0x53228e MOV R6, R3 ; +0x80, 0x532290 B loc_5322D4 ; +0x82, 0x532292 LDR.W R9, [R3,#0x104] ; +0x84, 0x532294 LDR.W R1, [R4,#0x294] ; +0x88, 0x532298 LDR.W R3, [R9] ; +0x8c, 0x53229c RSB.W R12, R5, R1 ; +0x90, 0x5322a0 RSBS.W R1, R12, #0 ; +0x94, 0x5322a4 MOV R0, R9 ; +0x98, 0x5322a8 ADC.W R1, R1, R12 ; +0x9a, 0x5322aa LDR.W R3, [R3,#0x1EC] ; +0x9e, 0x5322ae BLX R3 ; +0xa2, 0x5322b2 LDR.W R3, [R4,#0x294] ; +0xa4, 0x5322b4 CMP R3, R5 ; +0xa8, 0x5322b8 BEQ loc_5322CA ; +0xaa, 0x5322ba LDR.W R3, [R9] ; +0xac, 0x5322bc MOV R0, R9 ; +0xb0, 0x5322c0 MOVS R1, #0 ; +0xb2, 0x5322c2 LDR.W R3, [R3,#0x23C] ; +0xb4, 0x5322c4 BLX R3 ; +0xb8, 0x5322c8 CBZ R6, loc_5322DA ; +0xba, 0x5322ca LDR.W R2, [R6,#0x110] ; +0xbc, 0x5322cc MOV R3, R6 ; +0xc0, 0x5322d0 MOV R6, R2 ; +0xc2, 0x5322d2 CMP R3, #0 ; +0xc4, 0x5322d4 BNE loc_532294 ; +0xc6, 0x5322d6 B loc_53227A ; +0xc8, 0x5322d8 MOV R2, R6 ; +0xca, 0x5322da B loc_5322D0 ; +0xcc, 0x5322dc LDR R3, [R0,#0x34] ; +0xce, 0x5322de CBZ R3, loc_5322F6 ; +0xd0, 0x5322e0 LDR.W R6, [R3,#0x110] ; +0xd2, 0x5322e2 CBNZ R3, loc_5322FA ; +0xd6, 0x5322e6 MOV R0, R4; this ; +0xd8, 0x5322e8 MOV R1, R5; int ; +0xda, 0x5322ea BL _ZN19CreateParticlePopup16getPageContainerEi; CreateParticlePopup::getPageContainer(int) ; +0xdc, 0x5322ec MOVS R6, #0 ; +0xe0, 0x5322f0 MOV R9, R0 ; +0xe2, 0x5322f2 B loc_532326 ; +0xe4, 0x5322f4 MOV R6, R3 ; +0xe6, 0x5322f6 B loc_5322E6 ; +0xe8, 0x5322f8 LDR.W R0, [R3,#0x104] ; +0xea, 0x5322fa LDR.W R1, [R4,#0x294] ; +0xee, 0x5322fe LDR R3, [R0] ; +0xf2, 0x532302 RSB.W LR, R5, R1 ; +0xf4, 0x532304 RSBS.W R1, LR, #0 ; +0xf8, 0x532308 ADC.W R1, R1, LR ; +0xfc, 0x53230c LDR.W R3, [R3,#0x1EC] ; +0x100, 0x532310 BLX R3 ; +0x104, 0x532314 CBZ R6, loc_53231E ; +0x106, 0x532316 LDR.W R2, [R6,#0x110] ; +0x108, 0x532318 B loc_532320 ; +0x10c, 0x53231c MOV R2, R6 ; +0x10e, 0x53231e MOV R3, R6 ; +0x110, 0x532320 MOV R6, R2 ; +0x112, 0x532322 B loc_5322E6 ; +0x114, 0x532324 MOV R0, R9; this ; +0x116, 0x532326 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x118, 0x532328 CMP R6, R0 ; +0x11c, 0x53232c BCS loc_53234E ; +0x11e, 0x53232e MOV R1, R6; unsigned int ; +0x120, 0x532330 MOV R0, R9; this ; +0x122, 0x532332 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x124, 0x532334 LDR.W R1, [R4,#0x294] ; +0x128, 0x532338 ADDS R6, #1 ; +0x12c, 0x53233c SUBS R2, R1, R5 ; +0x12e, 0x53233e NEGS R1, R2 ; +0x130, 0x532340 ADCS R1, R2 ; +0x132, 0x532342 LDR R3, [R0] ; +0x134, 0x532344 LDR.W R3, [R3,#0xA4] ; +0x136, 0x532346 BLX R3 ; +0x13a, 0x53234a B loc_532326 ; +0x13c, 0x53234c ADDS R5, #1 ; +0x13e, 0x53234e CMP R5, #5 ; +0x140, 0x532350 BNE.W loc_532230 ; +0x142, 0x532352 LDR.W R3, [R4,#0x294] ; +0x146, 0x532356 CMP R3, #1 ; +0x14a, 0x53235a BNE locret_53237A ; +0x14c, 0x53235c LDR.W R0, [R4,#0x20C] ; +0x14e, 0x53235e LDR R3, [R0] ; +0x152, 0x532362 LDR.W R3, [R3,#0x314] ; +0x154, 0x532364 BLX R3 ; +0x158, 0x532368 CLZ.W R1, R0 ; +0x15a, 0x53236a MOV R0, R4; this ; +0x15e, 0x53236e POP.W {R3-R9,LR} ; +0x160, 0x532370 LSRS R1, R1, #5; bool ; +0x164, 0x532374 B.W _ZN19CreateParticlePopup17toggleGravityModeEb; CreateParticlePopup::toggleGravityMode(bool) ; +0x166, 0x532376 POP.W {R3-R9,PC} ; +0x16a, 0x53237a