// // 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 // int __fastcall BrowseSmartTemplateLayer::addObjectToPage( cocos2d::CCArray **this, cocos2d::CCObject *a2, unsigned int a3) { unsigned int v3; // r7 cocos2d::CCArray *v7; // r0 cocos2d::CCArray *v8; // r8 cocos2d::CCObject *v9; // r0 cocos2d::CCArray *v10; // r0 v3 = a3 + 1; while ( 1 ) { v7 = (cocos2d::CCArray *)cocos2d::CCArray::count(*(this + 131)); if ( (unsigned int)v7 >= v3 ) break; v8 = *(this + 131); v9 = (cocos2d::CCObject *)cocos2d::CCArray::create(v7); cocos2d::CCArray::addObject(v8, v9); } v10 = (cocos2d::CCArray *)cocos2d::CCArray::objectAtIndex(*(this + 131), a3); return cocos2d::CCArray::addObject(v10, a2); }