{"type": "func", "start": 4298703040, "end": 4298703159, "name": "BoomScrollLayer::addPage_1", "pseudocode": "// \n// BoomScrollLayer::addPage_1 from 0x1003900c0 to 0x100390137 (119 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_1(__int64 a1, __int64 a2)\n{\n  int v2; // r15d\n  __int64 v3; // rdx\n\n  v2 = sub_1007FEF90(*(_QWORD *)(a1 + 480));\n  if ( (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 480)) < v2 )\n    v2 = sub_1007FEF90(*(_QWORD *)(a1 + 480));\n  v3 = 0;\n  if ( v2 > 0 )\n    v3 = (unsigned int)v2;\n  sub_1007FF110(*(_QWORD *)(a1 + 480), a2, v3);\n  BoomScrollLayer::updatePages(a1);\n  BoomScrollLayer::moveToPage(a1, *(_DWORD *)(a1 + 588));\n}", "assembly": "; \n; BoomScrollLayer::addPage_1 from 0x1003900c0 to 0x100390137 (119 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, 0x1003900c0\nmov     rbp, rsp                                                       ; +0x1, 0x1003900c1\npush    r15                                                            ; +0x4, 0x1003900c4\npush    r14                                                            ; +0x6, 0x1003900c6\npush    rbx                                                            ; +0x8, 0x1003900c8\npush    rax                                                            ; +0x9, 0x1003900c9\nmov     r14, rsi                                                       ; +0xa, 0x1003900ca\nmov     rbx, rdi                                                       ; +0xd, 0x1003900cd\nmov     rdi, [rdi+1E0h]                                                ; +0x10, 0x1003900d0\ncall    sub_1007FEF90                                                  ; +0x17, 0x1003900d7\nmov     r15d, eax                                                      ; +0x1c, 0x1003900dc\nmov     rdi, [rbx+1E0h]                                                ; +0x1f, 0x1003900df\ncall    sub_1007FEF90                                                  ; +0x26, 0x1003900e6\ncmp     eax, r15d                                                      ; +0x2b, 0x1003900eb\njnb     short loc_1003900FF                                            ; +0x2e, 0x1003900ee\nmov     rdi, [rbx+1E0h]                                                ; +0x30, 0x1003900f0\ncall    sub_1007FEF90                                                  ; +0x37, 0x1003900f7\nmov     r15d, eax                                                      ; +0x3c, 0x1003900fc\nxor     edx, edx                                                       ; +0x3f, 0x1003900ff\ntest    r15d, r15d                                                     ; +0x41, 0x100390101\ncmovg   edx, r15d                                                      ; +0x44, 0x100390104\nmov     rdi, [rbx+1E0h]                                                ; +0x48, 0x100390108\nmov     rsi, r14                                                       ; +0x4f, 0x10039010f\ncall    sub_1007FF110                                                  ; +0x52, 0x100390112\nmov     rdi, rbx                                                       ; +0x57, 0x100390117\ncall    BoomScrollLayer__updatePages                                   ; +0x5a, 0x10039011a\nmov     esi, [rbx+24Ch]                                                ; +0x5f, 0x10039011f\nmov     rdi, rbx                                                       ; +0x65, 0x100390125\nadd     rsp, 8                                                         ; +0x68, 0x100390128\npop     rbx                                                            ; +0x6c, 0x10039012c\npop     r14                                                            ; +0x6d, 0x10039012d\npop     r15                                                            ; +0x6f, 0x10039012f\npop     rbp                                                            ; +0x71, 0x100390131\njmp     BoomScrollLayer__moveToPage                                    ; +0x72, 0x100390132", "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"}