{"type": "func", "start": 4298703168, "end": 4298703275, "name": "BoomScrollLayer::addPage", "pseudocode": "// \n// BoomScrollLayer::addPage from 0x100390140 to 0x1003901ab (107 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::addPage(__int64 a1, __int64 a2, unsigned int a3)\n{\n  int v3; // r15d\n  __int64 v4; // rdx\n\n  v3 = a3;\n  if ( (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 480)) < a3 )\n    v3 = sub_1007FEF90(*(_QWORD *)(a1 + 480));\n  v4 = 0;\n  if ( v3 > 0 )\n    v4 = (unsigned int)v3;\n  sub_1007FF110(*(_QWORD *)(a1 + 480), a2, v4);\n  BoomScrollLayer::updatePages(a1);\n  BoomScrollLayer::moveToPage(a1, *(_DWORD *)(a1 + 588));\n}", "assembly": "; \n; BoomScrollLayer::addPage from 0x100390140 to 0x1003901ab (107 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, 0x100390140\nmov     rbp, rsp                                                       ; +0x1, 0x100390141\npush    r15                                                            ; +0x4, 0x100390144\npush    r14                                                            ; +0x6, 0x100390146\npush    rbx                                                            ; +0x8, 0x100390148\npush    rax                                                            ; +0x9, 0x100390149\nmov     r15d, edx                                                      ; +0xa, 0x10039014a\nmov     r14, rsi                                                       ; +0xd, 0x10039014d\nmov     rbx, rdi                                                       ; +0x10, 0x100390150\nmov     rdi, [rdi+1E0h]                                                ; +0x13, 0x100390153\ncall    sub_1007FEF90                                                  ; +0x1a, 0x10039015a\ncmp     eax, r15d                                                      ; +0x1f, 0x10039015f\njnb     short loc_100390173                                            ; +0x22, 0x100390162\nmov     rdi, [rbx+1E0h]                                                ; +0x24, 0x100390164\ncall    sub_1007FEF90                                                  ; +0x2b, 0x10039016b\nmov     r15d, eax                                                      ; +0x30, 0x100390170\nxor     edx, edx                                                       ; +0x33, 0x100390173\ntest    r15d, r15d                                                     ; +0x35, 0x100390175\ncmovg   edx, r15d                                                      ; +0x38, 0x100390178\nmov     rdi, [rbx+1E0h]                                                ; +0x3c, 0x10039017c\nmov     rsi, r14                                                       ; +0x43, 0x100390183\ncall    sub_1007FF110                                                  ; +0x46, 0x100390186\nmov     rdi, rbx                                                       ; +0x4b, 0x10039018b\ncall    BoomScrollLayer__updatePages                                   ; +0x4e, 0x10039018e\nmov     esi, [rbx+24Ch]                                                ; +0x53, 0x100390193\nmov     rdi, rbx                                                       ; +0x59, 0x100390199\nadd     rsp, 8                                                         ; +0x5c, 0x10039019c\npop     rbx                                                            ; +0x60, 0x1003901a0\npop     r14                                                            ; +0x61, 0x1003901a1\npop     r15                                                            ; +0x63, 0x1003901a3\npop     rbp                                                            ; +0x65, 0x1003901a5\njmp     BoomScrollLayer__moveToPage                                    ; +0x66, 0x1003901a6", "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"}