{"type": "func", "start": 3940330, "end": 3940418, "name": "BoomScrollLayer::removePage", "pseudocode": "// \n// BoomScrollLayer::removePage from 0x3c1fea to 0x3c2042 (88 bytes)\n// \n// 1 xrefs:\n// > BoomScrollLayer::removePageWithNumber @ 0x3c2068\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::removePage(cocos2d::CCArray **this, cocos2d::CCLayer *a2)\n{\n  unsigned int v4; // r5\n  cocos2d::CCArray *v5; // r0\n  cocos2d::CCArray *v6; // r1\n\n  cocos2d::CCArray::removeObject(*(this + 91), a2, 1);\n  (*((void (__fastcall **)(cocos2d::CCArray **, cocos2d::CCLayer *, int))*this + 69))(this, a2, 1);\n  BoomScrollLayer::updatePages(this);\n  v4 = (unsigned int)*(this + 115);\n  v5 = *(this + 91);\n  *(this + 81) = (cocos2d::CCArray *)v4;\n  if ( v4 <= cocos2d::CCArray::count(v5) - 1 )\n    v6 = *(this + 115);\n  else\n    v6 = (cocos2d::CCArray *)(cocos2d::CCArray::count(*(this + 91)) - 1);\n  *(this + 115) = v6;\n  return BoomScrollLayer::moveToPage(this, v6);\n}", "assembly": "; \n; BoomScrollLayer::removePage from 0x3c1fea to 0x3c2042 (88 bytes)\n; \n; 1 xrefs:\n; > BoomScrollLayer::removePageWithNumber @ 0x3c2068\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            {R3-R5,LR}                                             ; +0x0, 0x3c1fea\nMOVS            R2, #1; bool                                           ; +0x2, 0x3c1fec\nMOV             R4, R0                                                 ; +0x4, 0x3c1fee\nLDR.W           R0, [R0,#0x16C]; this                                  ; +0x6, 0x3c1ff0\nMOV             R5, R1                                                 ; +0xa, 0x3c1ff4\nBL              _ZN7cocos2d7CCArray12removeObjectEPNS_8CCObjectEb; cocos2d::CCArray::removeObject(cocos2d::CCObject *,bool) ; +0xc, 0x3c1ff6\nLDR             R3, [R4]                                               ; +0x10, 0x3c1ffa\nMOV             R1, R5                                                 ; +0x12, 0x3c1ffc\nMOVS            R2, #1                                                 ; +0x14, 0x3c1ffe\nMOV             R0, R4                                                 ; +0x16, 0x3c2000\nLDR.W           R3, [R3,#0x114]                                        ; +0x18, 0x3c2002\nBLX             R3                                                     ; +0x1c, 0x3c2006\nMOV             R0, R4; this                                           ; +0x1e, 0x3c2008\nBL              _ZN15BoomScrollLayer11updatePagesEv; BoomScrollLayer::updatePages(void) ; +0x20, 0x3c200a\nLDR.W           R5, [R4,#0x1CC]                                        ; +0x24, 0x3c200e\nLDR.W           R0, [R4,#0x16C]; this                                  ; +0x28, 0x3c2012\nSTR.W           R5, [R4,#0x144]                                        ; +0x2c, 0x3c2016\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x30, 0x3c201a\nSUBS            R0, #1                                                 ; +0x34, 0x3c201e\nCMP             R5, R0                                                 ; +0x36, 0x3c2020\nBLS             loc_3C2030                                             ; +0x38, 0x3c2022\nLDR.W           R0, [R4,#0x16C]; this                                  ; +0x3a, 0x3c2024\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x3e, 0x3c2028\nSUBS            R1, R0, #1                                             ; +0x42, 0x3c202c\nB               loc_3C2034                                             ; +0x44, 0x3c202e\nLDR.W           R1, [R4,#0x1CC]; int                                   ; +0x46, 0x3c2030\nSTR.W           R1, [R4,#0x1CC]                                        ; +0x4a, 0x3c2034\nMOV             R0, R4; this                                           ; +0x4e, 0x3c2038\nPOP.W           {R3-R5,LR}                                             ; +0x50, 0x3c203a\nB.W             _ZN15BoomScrollLayer10moveToPageEi; BoomScrollLayer::moveToPage(int) ; +0x54, 0x3c203e", "xrefs": ["BoomScrollLayer::removePageWithNumber @ 0x3c2068"], "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"}