{"type": "func", "start": 4298703280, "end": 4298703413, "name": "BoomScrollLayer::removePage", "pseudocode": "// \n// BoomScrollLayer::removePage from 0x1003901b0 to 0x100390235 (133 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::removePage(__int64 a1, __int64 a2)\n{\n  unsigned int v2; // r14d\n  int v3; // esi\n\n  sub_1007FF140(*(_QWORD *)(a1 + 480), a2, 1);\n  (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 552LL))(a1, a2, 1);\n  BoomScrollLayer::updatePages(a1);\n  v2 = *(_DWORD *)(a1 + 588);\n  *(_DWORD *)(a1 + 424) = v2;\n  if ( 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}", "assembly": "; \n; BoomScrollLayer::removePage from 0x1003901b0 to 0x100390235 (133 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, 0x1003901b0\nmov     rbp, rsp                                                       ; +0x1, 0x1003901b1\npush    r14                                                            ; +0x4, 0x1003901b4\npush    rbx                                                            ; +0x6, 0x1003901b6\nmov     r14, rsi                                                       ; +0x7, 0x1003901b7\nmov     rbx, rdi                                                       ; +0xa, 0x1003901ba\nmov     rdi, [rdi+1E0h]                                                ; +0xd, 0x1003901bd\nmov     edx, 1                                                         ; +0x14, 0x1003901c4\ncall    sub_1007FF140                                                  ; +0x19, 0x1003901c9\nmov     rax, [rbx]                                                     ; +0x1e, 0x1003901ce\nmov     rdi, rbx                                                       ; +0x21, 0x1003901d1\nmov     rsi, r14                                                       ; +0x24, 0x1003901d4\nmov     edx, 1                                                         ; +0x27, 0x1003901d7\ncall    qword ptr [rax+228h]                                           ; +0x2c, 0x1003901dc\nmov     rdi, rbx                                                       ; +0x32, 0x1003901e2\ncall    BoomScrollLayer__updatePages                                   ; +0x35, 0x1003901e5\nmov     r14d, [rbx+24Ch]                                               ; +0x3a, 0x1003901ea\nmov     [rbx+1A8h], r14d                                               ; +0x41, 0x1003901f1\nmov     rdi, [rbx+1E0h]                                                ; +0x48, 0x1003901f8\ncall    sub_1007FEF90                                                  ; +0x4f, 0x1003901ff\ndec     eax                                                            ; +0x54, 0x100390204\ncmp     r14d, eax                                                      ; +0x56, 0x100390206\njbe     short loc_10039021D                                            ; +0x59, 0x100390209\nmov     rdi, [rbx+1E0h]                                                ; +0x5b, 0x10039020b\ncall    sub_1007FEF90                                                  ; +0x62, 0x100390212\nmov     esi, eax                                                       ; +0x67, 0x100390217\ndec     esi                                                            ; +0x69, 0x100390219\njmp     short loc_100390223                                            ; +0x6b, 0x10039021b\nmov     esi, [rbx+24Ch]                                                ; +0x6d, 0x10039021d\nmov     [rbx+24Ch], esi                                                ; +0x73, 0x100390223\nmov     rdi, rbx                                                       ; +0x79, 0x100390229\npop     rbx                                                            ; +0x7c, 0x10039022c\npop     r14                                                            ; +0x7d, 0x10039022d\npop     rbp                                                            ; +0x7f, 0x10039022f\njmp     BoomScrollLayer__moveToPage                                    ; +0x80, 0x100390230", "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"}