{"type": "func", "start": 4298795456, "end": 4298795589, "name": "BoomScrollLayer::removePage", "pseudocode": "// \n// BoomScrollLayer::removePage from 0x1003a69c0 to 0x1003a6a45 (133 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 __fastcall BoomScrollLayer::removePage(BoomScrollLayer *a1, cocos2d::CCLayer *a2)\n{\n  unsigned int m_page; // r14d\n  int v3; // esi\n\n  sub_100720220(a1->m_pages, a2, 1);\n  ((void (__fastcall *)(BoomScrollLayer *, cocos2d::CCLayer *, __int64))a1->removeChild_0)(a1, a2, 1);\n  BoomScrollLayer::updatePages(a1);\n  m_page = a1->m_page;\n  a1->m_slowPage = m_page;\n  if ( m_page <= (unsigned int)sub_100720070(a1->m_pages) - 1 )\n    v3 = a1->m_page;\n  else\n    v3 = sub_100720070(a1->m_pages) - 1;\n  a1->m_page = v3;\n  BoomScrollLayer::moveToPage(a1, v3);\n}", "assembly": "; \n; BoomScrollLayer::removePage from 0x1003a69c0 to 0x1003a6a45 (133 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    rbp                                                            ; +0x0, 0x1003a69c0\nmov     rbp, rsp                                                       ; +0x1, 0x1003a69c1\npush    r14                                                            ; +0x4, 0x1003a69c4\npush    rbx                                                            ; +0x6, 0x1003a69c6\nmov     r14, rsi                                                       ; +0x7, 0x1003a69c7\nmov     rbx, rdi                                                       ; +0xa, 0x1003a69ca\nmov     rdi, [rdi+1D8h]                                                ; +0xd, 0x1003a69cd\nmov     edx, 1                                                         ; +0x14, 0x1003a69d4\ncall    sub_100720220                                                  ; +0x19, 0x1003a69d9\nmov     rax, [rbx]                                                     ; +0x1e, 0x1003a69de\nmov     rdi, rbx                                                       ; +0x21, 0x1003a69e1\nmov     rsi, r14                                                       ; +0x24, 0x1003a69e4\nmov     edx, 1                                                         ; +0x27, 0x1003a69e7\ncall    qword ptr [rax+218h]                                           ; +0x2c, 0x1003a69ec\nmov     rdi, rbx                                                       ; +0x32, 0x1003a69f2\ncall    BoomScrollLayer__updatePages                                   ; +0x35, 0x1003a69f5\nmov     r14d, [rbx+244h]                                               ; +0x3a, 0x1003a69fa\nmov     [rbx+1A0h], r14d                                               ; +0x41, 0x1003a6a01\nmov     rdi, [rbx+1D8h]                                                ; +0x48, 0x1003a6a08\ncall    sub_100720070                                                  ; +0x4f, 0x1003a6a0f\ndec     eax                                                            ; +0x54, 0x1003a6a14\ncmp     r14d, eax                                                      ; +0x56, 0x1003a6a16\njbe     short loc_1003A6A2D                                            ; +0x59, 0x1003a6a19\nmov     rdi, [rbx+1D8h]                                                ; +0x5b, 0x1003a6a1b\ncall    sub_100720070                                                  ; +0x62, 0x1003a6a22\nmov     esi, eax                                                       ; +0x67, 0x1003a6a27\ndec     esi                                                            ; +0x69, 0x1003a6a29\njmp     short loc_1003A6A33                                            ; +0x6b, 0x1003a6a2b\nmov     esi, [rbx+244h]                                                ; +0x6d, 0x1003a6a2d\nmov     [rbx+244h], esi                                                ; +0x73, 0x1003a6a33\nmov     rdi, rbx                                                       ; +0x79, 0x1003a6a39\npop     rbx                                                            ; +0x7c, 0x1003a6a3c\npop     r14                                                            ; +0x7d, 0x1003a6a3d\npop     rbp                                                            ; +0x7f, 0x1003a6a3f\njmp     BoomScrollLayer__moveToPage                                    ; +0x80, 0x1003a6a40", "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"}