{"type": "func", "start": 4298702768, "end": 4298702940, "name": "BoomScrollLayer::selectPage", "pseudocode": "// \n// BoomScrollLayer::selectPage from 0x10038ffb0 to 0x10039005c (172 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::selectPage(__int64 a1, int a2)\n{\n  __int64 v2; // r15\n  float *v3; // rax\n  float v4; // [rsp-34h] [rbp-34h] BYREF\n  float v5; // [rsp-2Ch] [rbp-2Ch]\n\n  if ( a2 >= 0 && (int)sub_1007FEF90(*(_QWORD *)(a1 + 32 * (*(unsigned __int8 *)(a1 + 456) ^ 1u) + 448)) > a2 )\n  {\n    v2 = *(_QWORD *)(a1 + 504);\n    v5 = (float)-a2;\n    v3 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 328LL))(a1);\n    sub_100278250(&v4, (float)(*v3 - *(float *)(a1 + 592)) * v5, 0.0);\n    (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v2 + 184LL))(v2, &v4);\n    *(_DWORD *)(a1 + 424) = *(_DWORD *)(a1 + 588);\n    *(_DWORD *)(a1 + 588) = a2;\n  }\n}", "assembly": "; \n; BoomScrollLayer::selectPage from 0x10038ffb0 to 0x10039005c (172 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; \ntest    esi, esi                                                       ; +0x0, 0x10038ffb0\njs      locret_10039005B                                               ; +0x2, 0x10038ffb2\npush    rbp                                                            ; +0x8, 0x10038ffb8\nmov     rbp, rsp                                                       ; +0x9, 0x10038ffb9\npush    r15                                                            ; +0xc, 0x10038ffbc\npush    r14                                                            ; +0xe, 0x10038ffbe\npush    r12                                                            ; +0x10, 0x10038ffc0\npush    rbx                                                            ; +0x12, 0x10038ffc2\nsub     rsp, 10h                                                       ; +0x13, 0x10038ffc3\nmov     ebx, esi                                                       ; +0x17, 0x10038ffc7\nmov     r14, rdi                                                       ; +0x19, 0x10038ffc9\nmovzx   eax, byte ptr [rdi+1C8h]                                       ; +0x1c, 0x10038ffcc\nxor     eax, 1                                                         ; +0x23, 0x10038ffd3\nshl     eax, 5                                                         ; +0x26, 0x10038ffd6\nmov     rdi, [rdi+rax+1C0h]                                            ; +0x29, 0x10038ffd9\ncall    sub_1007FEF90                                                  ; +0x31, 0x10038ffe1\ncmp     eax, ebx                                                       ; +0x36, 0x10038ffe6\njle     short loc_10039004F                                            ; +0x38, 0x10038ffe8\nmov     r15, [r14+1F8h]                                                ; +0x3a, 0x10038ffea\nmov     eax, ebx                                                       ; +0x41, 0x10038fff1\nneg     eax                                                            ; +0x43, 0x10038fff3\ncvtsi2ss xmm0, eax                                                     ; +0x45, 0x10038fff5\nmovss   dword ptr [rbp-24h], xmm0                                      ; +0x49, 0x10038fff9\nmov     rax, [r14]                                                     ; +0x4e, 0x10038fffe\nmov     rdi, r14                                                       ; +0x51, 0x100390001\ncall    qword ptr [rax+148h]                                           ; +0x54, 0x100390004\nmovss   xmm0, dword ptr [rax]                                          ; +0x5a, 0x10039000a\nsubss   xmm0, dword ptr [r14+250h]                                     ; +0x5e, 0x10039000e\nmulss   xmm0, dword ptr [rbp-24h]                                      ; +0x67, 0x100390017\nlea     r12, [rbp-2Ch]                                                 ; +0x6c, 0x10039001c\nxorps   xmm1, xmm1                                                     ; +0x70, 0x100390020\nmov     rdi, r12                                                       ; +0x73, 0x100390023\ncall    sub_100278250                                                  ; +0x76, 0x100390026\nmov     rax, [r15]                                                     ; +0x7b, 0x10039002b\nmov     rdi, r15                                                       ; +0x7e, 0x10039002e\nmov     rsi, r12                                                       ; +0x81, 0x100390031\ncall    qword ptr [rax+0B8h]                                           ; +0x84, 0x100390034\nmov     eax, [r14+24Ch]                                                ; +0x8a, 0x10039003a\nmov     [r14+1A8h], eax                                                ; +0x91, 0x100390041\nmov     [r14+24Ch], ebx                                                ; +0x98, 0x100390048\nadd     rsp, 10h                                                       ; +0x9f, 0x10039004f\npop     rbx                                                            ; +0xa3, 0x100390053\npop     r12                                                            ; +0xa4, 0x100390054\npop     r14                                                            ; +0xa6, 0x100390056\npop     r15                                                            ; +0xa8, 0x100390058\npop     rbp                                                            ; +0xaa, 0x10039005a\nretn                                                                   ; +0xab, 0x10039005b", "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"}