; ; CreateParticlePopup::onDynamicColor from 0x52f324 to 0x52f3bc (152 bytes) ; ; 0 xrefs: ; ; 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 {R3-R7,LR} ; +0x0, 0x52f324 MOV R4, R0 ; +0x2, 0x52f326 LDRB.W R3, [R0,#0x298] ; +0x4, 0x52f328 EOR.W R3, R3, #1 ; +0x8, 0x52f32c STRB.W R3, [R0,#0x298] ; +0xc, 0x52f330 CBZ R3, loc_52F340 ; +0x10, 0x52f334 LDR.W R3, [R0,#0x20C] ; +0x12, 0x52f336 LDRB.W R2, [R3,#0x284] ; +0x16, 0x52f33a CBNZ R2, loc_52F3AE ; +0x1a, 0x52f33e LDR.W R5, [R4,#0x1FC] ; +0x1c, 0x52f340 CBZ R5, loc_52F350 ; +0x20, 0x52f344 LDRB.W R3, [R4,#0x298] ; +0x22, 0x52f346 STRB.W R3, [R5,#0x29D] ; +0x26, 0x52f34a B loc_52F38E ; +0x2a, 0x52f34e LDR.W R3, [R4,#0x200] ; +0x2c, 0x52f350 CBZ R3, loc_52F38E ; +0x30, 0x52f354 MOV R6, R5 ; +0x32, 0x52f356 LDR.W R0, [R4,#0x200]; this ; +0x34, 0x52f358 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x38, 0x52f35c CMP R5, R0 ; +0x3c, 0x52f360 BCS loc_52F38E ; +0x3e, 0x52f362 MOV R1, R5; unsigned int ; +0x40, 0x52f364 LDR.W R0, [R4,#0x200]; this ; +0x42, 0x52f366 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x46, 0x52f36a MOV R1, R5; unsigned int ; +0x4a, 0x52f36e MOV R7, R0 ; +0x4c, 0x52f370 LDR.W R0, [R4,#0x204]; this ; +0x4e, 0x52f372 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x52, 0x52f376 LDRB.W R3, [R4,#0x298] ; +0x56, 0x52f37a STRB.W R3, [R7,#0x29D] ; +0x5a, 0x52f37e CBZ R3, loc_52F38A ; +0x5e, 0x52f382 LDRB.W R3, [R0,#0x284] ; +0x60, 0x52f384 CBNZ R3, loc_52F3B6 ; +0x64, 0x52f388 ADDS R5, #1 ; +0x66, 0x52f38a B loc_52F358 ; +0x68, 0x52f38c LDR.W R3, [R4,#0x20C] ; +0x6a, 0x52f38e LDR.W R0, [R4,#0x260]; this ; +0x6e, 0x52f392 LDRB.W R1, [R3,#0x284]; bool ; +0x72, 0x52f396 BL _ZN17CCMenuItemToggler6toggleEb; CCMenuItemToggler::toggle(bool) ; +0x76, 0x52f39a LDR.W R0, [R4,#0x25C]; this ; +0x7a, 0x52f39e LDRB.W R1, [R4,#0x298]; bool ; +0x7e, 0x52f3a2 POP.W {R3-R7,LR} ; +0x82, 0x52f3a6 B.W _ZN17CCMenuItemToggler6toggleEb; CCMenuItemToggler::toggle(bool) ; +0x86, 0x52f3aa MOVS R2, #0 ; +0x8a, 0x52f3ae STRB.W R2, [R3,#0x284] ; +0x8c, 0x52f3b0 B loc_52F340 ; +0x90, 0x52f3b4 STRB.W R6, [R0,#0x284] ; +0x92, 0x52f3b6 B loc_52F38A ; +0x96, 0x52f3ba