{"type": "func", "start": 4298792416, "end": 4298792494, "name": "BoomScrollLayer::getRelativePosForPage", "pseudocode": "// \n// BoomScrollLayer::getRelativePosForPage from 0x1003a5de0 to 0x1003a5e2e (78 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// local variable allocation has failed, the output may be wrong!\ncocos2d::CCPoint __fastcall BoomScrollLayer::getRelativePosForPage(BoomScrollLayer *a1, int a2)\n{\n  int v2; // edx\n  float v4; // [rsp+Ch] [rbp-14h]\n  cocos2d::CCPoint result; // 0:xmm0_8.8\n\n  v4 = (float)v2;\n  result = (cocos2d::CCPoint)*(unsigned int *)(*(__int64 (__fastcall **)(int))(**(_QWORD **)&a2 + 312LL))(a2);\n  result.x = (float)(result.x - *(float *)(*(_QWORD *)&a2 + 584LL)) * v4;\n  sub_10028CBE0((float *)a1, result.x, 0.0);\n  return result;\n}", "assembly": "; \n; BoomScrollLayer::getRelativePosForPage from 0x1003a5de0 to 0x1003a5e2e (78 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x1003a5de0\nmov     rbp, rsp                                                       ; +0x1, 0x1003a5de1\npush    r14                                                            ; +0x4, 0x1003a5de4\npush    rbx                                                            ; +0x6, 0x1003a5de6\nsub     rsp, 10h                                                       ; +0x7, 0x1003a5de7\nmov     rbx, rsi                                                       ; +0xb, 0x1003a5deb\nmov     r14, rdi                                                       ; +0xe, 0x1003a5dee\ncvtsi2ss xmm0, edx                                                     ; +0x11, 0x1003a5df1\nmovss   [rbp+var_14], xmm0                                             ; +0x15, 0x1003a5df5\nmov     rax, [rsi]                                                     ; +0x1a, 0x1003a5dfa\nmov     rdi, rsi                                                       ; +0x1d, 0x1003a5dfd\ncall    qword ptr [rax+138h]                                           ; +0x20, 0x1003a5e00\nmovss   xmm0, dword ptr [rax]                                          ; +0x26, 0x1003a5e06\nsubss   xmm0, dword ptr [rbx+248h]                                     ; +0x2a, 0x1003a5e0a\nmulss   xmm0, [rbp+var_14]                                             ; +0x32, 0x1003a5e12\nxorps   xmm1, xmm1                                                     ; +0x37, 0x1003a5e17\nmov     rdi, r14                                                       ; +0x3a, 0x1003a5e1a\ncall    sub_10028CBE0                                                  ; +0x3d, 0x1003a5e1d\nmov     rax, r14                                                       ; +0x42, 0x1003a5e22\nadd     rsp, 10h                                                       ; +0x45, 0x1003a5e25\npop     rbx                                                            ; +0x49, 0x1003a5e29\npop     r14                                                            ; +0x4a, 0x1003a5e2a\npop     rbp                                                            ; +0x4c, 0x1003a5e2c\nretn                                                                   ; +0x4d, 0x1003a5e2d", "xrefs": [], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}