{"type": "func", "start": 5694816, "end": 5694900, "name": "BoomScrollLayer::removePageWithNumber", "pseudocode": "// \n// BoomScrollLayer::removePageWithNumber from 0x56e560 to 0x56e5b4 (84 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0xc4620\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; // x0\n\n  if ( (a2 & 0x80000000) == 0 && a2 < (unsigned int)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 0x56e560 to 0x56e5b4 (84 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0xc4620\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\nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x56e560\nMOV             X29, SP                                                ; +0x4, 0x56e564\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x56e568\nTBNZ            W1, #0x1F, loc_56E5A8                                  ; +0xc, 0x56e56c\nMOV             X19, X0                                                ; +0x10, 0x56e570\nLDR             X0, [X0,#0x1D8]; this                                  ; +0x14, 0x56e574\nMOV             W20, W1                                                ; +0x18, 0x56e578\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x1c, 0x56e57c\nCMP             W20, W0                                                ; +0x20, 0x56e580\nB.CS            loc_56E5A8                                             ; +0x24, 0x56e584\nLDR             X0, [X19,#0x1D8]; this                                 ; +0x28, 0x56e588\nMOV             W1, W20; unsigned int                                  ; +0x2c, 0x56e58c\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x30, 0x56e590\nMOV             X1, X0; cocos2d::CCLayer *                             ; +0x34, 0x56e594\nMOV             X0, X19; this                                          ; +0x38, 0x56e598\nLDP             X19, X20, [SP,#var_s10]                                ; +0x3c, 0x56e59c\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x40, 0x56e5a0\nB               _ZN15BoomScrollLayer10removePageEPN7cocos2d7CCLayerE; BoomScrollLayer::removePage(cocos2d::CCLayer *) ; +0x44, 0x56e5a4\nLDP             X19, X20, [SP,#var_s10]                                ; +0x48, 0x56e5a8\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x4c, 0x56e5ac\nRET                                                                    ; +0x50, 0x56e5b0", "xrefs": ["<???> @ 0xc4620"], "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"}