; ; BrowseSmartTemplateLayer::addObjectToPage from 0x672898 to 0x6728d6 (62 bytes) ; ; 2 xrefs: ; > BrowseSmartTemplateLayer::addPrefabMenuItem @ 0x673d1a ; > BrowseSmartKeyLayer::init @ 0x674f0e ; ; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:55:53 +0000 ; PUSH.W {R4-R8,LR} ; +0x0, 0x672898 ADDS R7, R2, #1 ; +0x4, 0x67289c MOV R4, R0 ; +0x6, 0x67289e MOV R6, R1 ; +0x8, 0x6728a0 MOV R5, R2 ; +0xa, 0x6728a2 LDR.W R0, [R4,#0x20C]; this ; +0xc, 0x6728a4 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x10, 0x6728a8 CMP R0, R7 ; +0x14, 0x6728ac BCS loc_6728C2 ; +0x16, 0x6728ae LDR.W R8, [R4,#0x20C] ; +0x18, 0x6728b0 BL _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x1c, 0x6728b4 MOV R1, R0; cocos2d::CCObject * ; +0x20, 0x6728b8 MOV R0, R8; this ; +0x22, 0x6728ba BL _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x24, 0x6728bc B loc_6728A4 ; +0x28, 0x6728c0 MOV R1, R5; unsigned int ; +0x2a, 0x6728c2 LDR.W R0, [R4,#0x20C]; this ; +0x2c, 0x6728c4 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x30, 0x6728c8 MOV R1, R6; cocos2d::CCObject * ; +0x34, 0x6728cc POP.W {R4-R8,LR} ; +0x36, 0x6728ce B.W _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x3a, 0x6728d2