{"type": "func", "start": 4298703424, "end": 4298703608, "name": "BoomScrollLayer::removePageWithNumber", "pseudocode": "// \n// BoomScrollLayer::removePageWithNumber from 0x100390240 to 0x1003902f8 (184 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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 12:29:13 +0000\n// \n\nvoid __fastcall BoomScrollLayer::removePageWithNumber(__int64 a1, int a2)\n{\n  __int64 v2; // r14\n  int v3; // esi\n\n  if ( a2 >= 0 && (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 480)) > a2 )\n  {\n    v2 = sub_1007FEFE0(*(_QWORD *)(a1 + 480), (unsigned int)a2);\n    sub_1007FF140(*(_QWORD *)(a1 + 480), v2, 1);\n    (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 552LL))(a1, v2, 1);\n    BoomScrollLayer::updatePages(a1);\n    LODWORD(v2) = *(_DWORD *)(a1 + 588);\n    *(_DWORD *)(a1 + 424) = v2;\n    if ( (unsigned int)v2 <= (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 480)) - 1 )\n      v3 = *(_DWORD *)(a1 + 588);\n    else\n      v3 = sub_1007FEF90(*(_QWORD *)(a1 + 480)) - 1;\n    *(_DWORD *)(a1 + 588) = v3;\n    BoomScrollLayer::moveToPage(a1, v3);\n  }\n}", "assembly": "; \n; BoomScrollLayer::removePageWithNumber from 0x100390240 to 0x1003902f8 (184 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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 12:29:13 +0000\n; \npush    rbp                                                            ; +0x0, 0x100390240\nmov     rbp, rsp                                                       ; +0x1, 0x100390241\npush    r14                                                            ; +0x4, 0x100390244\npush    rbx                                                            ; +0x6, 0x100390246\ntest    esi, esi                                                       ; +0x7, 0x100390247\njs      loc_1003902DB                                                  ; +0x9, 0x100390249\nmov     r14d, esi                                                      ; +0xf, 0x10039024f\nmov     rbx, rdi                                                       ; +0x12, 0x100390252\nmov     rdi, [rdi+1E0h]                                                ; +0x15, 0x100390255\ncall    sub_1007FEF90                                                  ; +0x1c, 0x10039025c\ncmp     eax, r14d                                                      ; +0x21, 0x100390261\njbe     short loc_1003902DB                                            ; +0x24, 0x100390264\nmov     rdi, [rbx+1E0h]                                                ; +0x26, 0x100390266\nmov     esi, r14d                                                      ; +0x2d, 0x10039026d\ncall    sub_1007FEFE0                                                  ; +0x30, 0x100390270\nmov     r14, rax                                                       ; +0x35, 0x100390275\nmov     rdi, [rbx+1E0h]                                                ; +0x38, 0x100390278\nmov     rsi, rax                                                       ; +0x3f, 0x10039027f\nmov     edx, 1                                                         ; +0x42, 0x100390282\ncall    sub_1007FF140                                                  ; +0x47, 0x100390287\nmov     rax, [rbx]                                                     ; +0x4c, 0x10039028c\nmov     rdi, rbx                                                       ; +0x4f, 0x10039028f\nmov     rsi, r14                                                       ; +0x52, 0x100390292\nmov     edx, 1                                                         ; +0x55, 0x100390295\ncall    qword ptr [rax+228h]                                           ; +0x5a, 0x10039029a\nmov     rdi, rbx                                                       ; +0x60, 0x1003902a0\ncall    BoomScrollLayer__updatePages                                   ; +0x63, 0x1003902a3\nmov     r14d, [rbx+24Ch]                                               ; +0x68, 0x1003902a8\nmov     [rbx+1A8h], r14d                                               ; +0x6f, 0x1003902af\nmov     rdi, [rbx+1E0h]                                                ; +0x76, 0x1003902b6\ncall    sub_1007FEF90                                                  ; +0x7d, 0x1003902bd\ndec     eax                                                            ; +0x82, 0x1003902c2\ncmp     r14d, eax                                                      ; +0x84, 0x1003902c4\njbe     short loc_1003902E0                                            ; +0x87, 0x1003902c7\nmov     rdi, [rbx+1E0h]                                                ; +0x89, 0x1003902c9\ncall    sub_1007FEF90                                                  ; +0x90, 0x1003902d0\nmov     esi, eax                                                       ; +0x95, 0x1003902d5\ndec     esi                                                            ; +0x97, 0x1003902d7\njmp     short loc_1003902E6                                            ; +0x99, 0x1003902d9\npop     rbx                                                            ; +0x9b, 0x1003902db\npop     r14                                                            ; +0x9c, 0x1003902dc\npop     rbp                                                            ; +0x9e, 0x1003902de\nretn                                                                   ; +0x9f, 0x1003902df\nmov     esi, [rbx+24Ch]                                                ; +0xa0, 0x1003902e0\nmov     [rbx+24Ch], esi                                                ; +0xa6, 0x1003902e6\nmov     rdi, rbx                                                       ; +0xac, 0x1003902ec\npop     rbx                                                            ; +0xaf, 0x1003902ef\npop     r14                                                            ; +0xb0, 0x1003902f0\npop     rbp                                                            ; +0xb2, 0x1003902f2\njmp     BoomScrollLayer__moveToPage                                    ; +0xb3, 0x1003902f3", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}