{"type": "func", "start": 3940238, "end": 3940302, "name": "BoomScrollLayer::addPage", "pseudocode": "// \n// BoomScrollLayer::addPage from 0x3c1f8e to 0x3c1fce (64 bytes)\n// \n// 1 xrefs:\n// > BoomScrollLayer::addPage @ 0x3c1fe6\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:46:31 +0000\n// \n\ncocos2d::CCArray **__fastcall BoomScrollLayer::addPage(cocos2d::CCArray **this, cocos2d::CCLayer *a2, unsigned int a3)\n{\n  int v4; // r5\n\n  v4 = a3;\n  if ( a3 > cocos2d::CCArray::count(*(this + 91)) )\n    v4 = cocos2d::CCArray::count(*(this + 91));\n  cocos2d::CCArray::insertObject(*(this + 91), a2, v4 & ~(v4 >> 31));\n  BoomScrollLayer::updatePages(this);\n  return BoomScrollLayer::moveToPage(this, *(this + 115));\n}", "assembly": "; \n; BoomScrollLayer::addPage from 0x3c1f8e to 0x3c1fce (64 bytes)\n; \n; 1 xrefs:\n; > BoomScrollLayer::addPage @ 0x3c1fe6\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:46:31 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x3c1f8e\nMOV             R4, R0                                                 ; +0x2, 0x3c1f90\nLDR.W           R0, [R0,#0x16C]; this                                  ; +0x4, 0x3c1f92\nMOV             R5, R2                                                 ; +0x8, 0x3c1f96\nMOV             R6, R1                                                 ; +0xa, 0x3c1f98\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xc, 0x3c1f9a\nCMP             R5, R0                                                 ; +0x10, 0x3c1f9e\nBLS             loc_3C1FAC                                             ; +0x12, 0x3c1fa0\nLDR.W           R0, [R4,#0x16C]; this                                  ; +0x14, 0x3c1fa2\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x18, 0x3c1fa6\nMOV             R5, R0                                                 ; +0x1c, 0x3c1faa\nMOV             R1, R6; cocos2d::CCObject *                            ; +0x1e, 0x3c1fac\nLDR.W           R0, [R4,#0x16C]; this                                  ; +0x20, 0x3c1fae\nBIC.W           R2, R5, R5,ASR#31; unsigned int                        ; +0x24, 0x3c1fb2\nBL              _ZN7cocos2d7CCArray12insertObjectEPNS_8CCObjectEj; cocos2d::CCArray::insertObject(cocos2d::CCObject *,uint) ; +0x28, 0x3c1fb6\nMOV             R0, R4; this                                           ; +0x2c, 0x3c1fba\nBL              _ZN15BoomScrollLayer11updatePagesEv; BoomScrollLayer::updatePages(void) ; +0x2e, 0x3c1fbc\nMOV             R0, R4; this                                           ; +0x32, 0x3c1fc0\nLDR.W           R1, [R4,#0x1CC]; int                                   ; +0x34, 0x3c1fc2\nPOP.W           {R4-R6,LR}                                             ; +0x38, 0x3c1fc6\nB.W             _ZN15BoomScrollLayer10moveToPageEi; BoomScrollLayer::moveToPage(int) ; +0x3c, 0x3c1fca", "xrefs": ["BoomScrollLayer::addPage @ 0x3c1fe6"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}