; ; BrowseSmartTemplateLayer::addObjectToPage from 0x53e98a to 0x53e9c8 (62 bytes) ; ; 2 xrefs: ; > BrowseSmartTemplateLayer::addPrefabMenuItem @ 0x53ebb6 ; > BrowseSmartKeyLayer::init @ 0x53f52a ; ; 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, 0x53e98a ADDS R7, R2, #1 ; +0x4, 0x53e98e MOV R4, R0 ; +0x6, 0x53e990 MOV R6, R1 ; +0x8, 0x53e992 MOV R5, R2 ; +0xa, 0x53e994 LDR.W R0, [R4,#0x1F4]; this ; +0xc, 0x53e996 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x10, 0x53e99a CMP R0, R7 ; +0x14, 0x53e99e BCS loc_53E9B4 ; +0x16, 0x53e9a0 LDR.W R8, [R4,#0x1F4] ; +0x18, 0x53e9a2 BL _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x1c, 0x53e9a6 MOV R1, R0; cocos2d::CCObject * ; +0x20, 0x53e9aa MOV R0, R8; this ; +0x22, 0x53e9ac BL _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x24, 0x53e9ae B loc_53E996 ; +0x28, 0x53e9b2 MOV R1, R5; unsigned int ; +0x2a, 0x53e9b4 LDR.W R0, [R4,#0x1F4]; this ; +0x2c, 0x53e9b6 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x30, 0x53e9ba MOV R1, R6; cocos2d::CCObject * ; +0x34, 0x53e9be POP.W {R4-R8,LR} ; +0x36, 0x53e9c0 B.W _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x3a, 0x53e9c4