; ; BrowseSmartKeyLayer::getAllSelectedBlocks from 0x53f9e0 to 0x53fa3e (94 bytes) ; ; 2 xrefs: ; > BrowseSmartKeyLayer::createTemplateObjects @ 0x53fa52 ; > BrowseSmartKeyLayer::addChanceToSelected @ 0x53fce0 ; ; 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 {R4-R8,LR} ; +0x0, 0x53f9e0 MOV R7, R0 ; +0x4, 0x53f9e4 BL _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x6, 0x53f9e6 MOVS R4, #0 ; +0xa, 0x53f9ea MOV R6, R0 ; +0xc, 0x53f9ec LDR.W R0, [R7,#0x1F4]; this ; +0xe, 0x53f9ee BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x12, 0x53f9f2 CMP R4, R0 ; +0x16, 0x53f9f6 BCS loc_53FA38 ; +0x18, 0x53f9f8 LDR.W R0, [R7,#0x1F4]; this ; +0x1a, 0x53f9fa MOV R1, R4; unsigned int ; +0x1e, 0x53f9fe BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x20, 0x53fa00 MOVS R5, #0 ; +0x24, 0x53fa04 MOV R8, R0 ; +0x26, 0x53fa06 MOV R0, R8; this ; +0x28, 0x53fa08 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x2a, 0x53fa0a CMP R5, R0 ; +0x2e, 0x53fa0e BCS loc_53FA34 ; +0x30, 0x53fa10 MOV R1, R5; unsigned int ; +0x32, 0x53fa12 MOV R0, R8; this ; +0x34, 0x53fa14 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x36, 0x53fa16 LDR R3, [R0] ; +0x3a, 0x53fa1a LDR.W R3, [R3,#0x210] ; +0x3c, 0x53fa1c BLX R3 ; +0x40, 0x53fa20 LDRB.W R3, [R0,#0x114] ; +0x42, 0x53fa22 MOV R1, R0; cocos2d::CCObject * ; +0x46, 0x53fa26 CBZ R3, loc_53FA30 ; +0x48, 0x53fa28 MOV R0, R6; this ; +0x4a, 0x53fa2a BL _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x4c, 0x53fa2c ADDS R5, #1 ; +0x50, 0x53fa30 B loc_53FA08 ; +0x52, 0x53fa32 ADDS R4, #1 ; +0x54, 0x53fa34 B loc_53F9EE ; +0x56, 0x53fa36 MOV R0, R6 ; +0x58, 0x53fa38 POP.W {R4-R8,PC} ; +0x5a, 0x53fa3a