{"type": "func", "start": 3025234, "end": 3025278, "name": "BoomScrollLayer::removePageWithNumber", "pseudocode": "// \n// BoomScrollLayer::removePageWithNumber from 0x2e2952 to 0x2e297e (44 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid BoomScrollLayer::removePageWithNumber(BoomScrollLayer *a1, int a2)\n{\n  cocos2d::CCLayer *v4; // r1\n\n  if ( a2 >= 0 && (unsigned int)a2 < cocos2d::CCArray::count(a1->m_pages) )\n  {\n    v4 = (cocos2d::CCLayer *)cocos2d::CCArray::objectAtIndex(a1->m_pages, a2);\n    BoomScrollLayer::removePage(a1, v4);\n  }\n}", "assembly": "; \n; BoomScrollLayer::removePageWithNumber from 0x2e2952 to 0x2e297e (44 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R3-R5,LR}                                             ; +0x0, 0x2e2952\nSUBS            R5, R1, #0                                             ; +0x2, 0x2e2954\nMOV             R4, R0                                                 ; +0x4, 0x2e2956\nBLT             locret_2E297C                                          ; +0x6, 0x2e2958\nLDR.W           R0, [R0,#0x168]; this                                  ; +0x8, 0x2e295a\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xc, 0x2e295e\nCMP             R5, R0                                                 ; +0x10, 0x2e2962\nBCS             locret_2E297C                                          ; +0x12, 0x2e2964\nMOV             R1, R5; unsigned int                                   ; +0x14, 0x2e2966\nLDR.W           R0, [R4,#0x168]; this                                  ; +0x16, 0x2e2968\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x1a, 0x2e296c\nMOV             R1, R0; cocos2d::CCLayer *                             ; +0x1e, 0x2e2970\nMOV             R0, R4; this                                           ; +0x20, 0x2e2972\nPOP.W           {R3-R5,LR}                                             ; +0x22, 0x2e2974\nB.W             _ZN15BoomScrollLayer10removePageEPN7cocos2d7CCLayerE; BoomScrollLayer::removePage(cocos2d::CCLayer *) ; +0x26, 0x2e2978\nPOP             {R3-R5,PC}                                             ; +0x2a, 0x2e297c", "xrefs": [], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}