{"type": "func", "start": 5369191104, "end": 5369191315, "name": "TableView::scrollWheel", "pseudocode": "// \n// TableView::scrollWheel from 0x140075ac0 to 0x140075b93 (211 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x140537668\n// > <???> @ 0x140667330\n// > <???> @ 0x140667344\n// > <???> @ 0x140667354\n// > <???> @ 0x1406c6450\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\nvoid TableView::scrollWheel(TableView *a1, float a2, float a3)\n{\n  int *p_m_nUpdateScriptHandler; // rdi\n  __int64 v4; // rax\n  __int64 v5; // rbx\n  __int64 v6; // rax\n  cocos2d::CCPoint v7; // [rsp+20h] [rbp-18h] BYREF\n  char v8; // [rsp+58h] [rbp+20h] BYREF\n  float v9; // [rsp+5Ch] [rbp+24h]\n\n  if ( a2 != 0.0 )\n  {\n    p_m_nUpdateScriptHandler = &a1[-1].m_nUpdateScriptHandler;\n    cocos2d::CCPoint::CCPoint(&v7, 0.0, a2);\n    v4 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)p_m_nUpdateScriptHandler + 59) + 200LL))(*((_QWORD *)p_m_nUpdateScriptHandler + 59));\n    cocos2d::CCPoint::operator+(v4, &v8);\n    v5 = (*(__int64 (__fastcall **)(int *))(*(_QWORD *)p_m_nUpdateScriptHandler + 304LL))(p_m_nUpdateScriptHandler);\n    v6 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)p_m_nUpdateScriptHandler + 59) + 304LL))(*((_QWORD *)p_m_nUpdateScriptHandler + 59));\n    if ( (float)((float)(*(float *)(v5 + 4) - *(float *)(v6 + 4)) - *((float *)p_m_nUpdateScriptHandler + 122)) <= v9 )\n    {\n      if ( v9 > *((float *)p_m_nUpdateScriptHandler + 123) )\n        v9 = *((float *)p_m_nUpdateScriptHandler + 123);\n    }\n    else\n    {\n      v9 = (float)(*(float *)(v5 + 4) - *(float *)(v6 + 4)) - *((float *)p_m_nUpdateScriptHandler + 122);\n    }\n    (*(void (__fastcall **)(_QWORD, char *))(**((_QWORD **)p_m_nUpdateScriptHandler + 59) + 184LL))(\n      *((_QWORD *)p_m_nUpdateScriptHandler + 59),\n      &v8);\n  }\n}", "assembly": "; \n; TableView::scrollWheel from 0x140075ac0 to 0x140075b93 (211 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x140537668\n; > <???> @ 0x140667330\n; > <???> @ 0x140667344\n; > <???> @ 0x140667354\n; > <???> @ 0x1406c6450\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\nsub     rsp, 38h                                                       ; +0x0, 0x140075ac0\nxorps   xmm0, xmm0                                                     ; +0x4, 0x140075ac4\nucomiss xmm1, xmm0                                                     ; +0x7, 0x140075ac7\njp      short loc_140075AD2                                            ; +0xa, 0x140075aca\njz      loc_140075B8E                                                  ; +0xc, 0x140075acc\nmovaps  xmm2, xmm1                                                     ; +0x12, 0x140075ad2\nmov     [rsp+38h+arg_0], rbx                                           ; +0x15, 0x140075ad5\nmov     [rsp+38h+var_8], rdi                                           ; +0x1a, 0x140075ada\nxorps   xmm1, xmm1                                                     ; +0x1f, 0x140075adf\nlea     rdi, [rcx-160h]                                                ; +0x22, 0x140075ae2\nlea     rcx, [rsp+38h+var_18]                                          ; +0x29, 0x140075ae9\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x2e, 0x140075aee\nmov     rcx, [rdi+1D8h]                                                ; +0x34, 0x140075af4\nmov     rbx, rax                                                       ; +0x3b, 0x140075afb\nmov     rdx, [rcx]                                                     ; +0x3e, 0x140075afe\ncall    qword ptr [rdx+0C8h]                                           ; +0x41, 0x140075b01\nmov     r8, rbx                                                        ; +0x47, 0x140075b07\nlea     rdx, [rsp+38h+arg_18]                                          ; +0x4a, 0x140075b0a\nmov     rcx, rax                                                       ; +0x4f, 0x140075b0f\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x52, 0x140075b12\nmov     rax, [rdi]                                                     ; +0x58, 0x140075b18\nmov     rcx, rdi                                                       ; +0x5b, 0x140075b1b\ncall    qword ptr [rax+130h]                                           ; +0x5e, 0x140075b1e\nmov     rcx, [rdi+1D8h]                                                ; +0x64, 0x140075b24\nmov     rbx, rax                                                       ; +0x6b, 0x140075b2b\nmov     rdx, [rcx]                                                     ; +0x6e, 0x140075b2e\ncall    qword ptr [rdx+130h]                                           ; +0x71, 0x140075b31\nmovss   xmm1, dword ptr [rbx+4]                                        ; +0x77, 0x140075b37\nmovss   xmm2, [rsp+38h+arg_1C]                                         ; +0x7c, 0x140075b3c\nmovss   xmm0, dword ptr [rdi+1ECh]                                     ; +0x82, 0x140075b42\nsubss   xmm1, dword ptr [rax+4]                                        ; +0x8a, 0x140075b4a\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x8f, 0x140075b4f\nsubss   xmm1, dword ptr [rdi+1E8h]                                     ; +0x94, 0x140075b54\ncomiss  xmm1, xmm2                                                     ; +0x9c, 0x140075b5c\njbe     short loc_140075B69                                            ; +0x9f, 0x140075b5f\nmovss   [rsp+38h+arg_1C], xmm1                                         ; +0xa1, 0x140075b61\njmp     short loc_140075B74                                            ; +0xa7, 0x140075b67\ncomiss  xmm2, xmm0                                                     ; +0xa9, 0x140075b69\njbe     short loc_140075B74                                            ; +0xac, 0x140075b6c\nmovss   [rsp+38h+arg_1C], xmm0                                         ; +0xae, 0x140075b6e\nmov     rcx, [rdi+1D8h]                                                ; +0xb4, 0x140075b74\nlea     rdx, [rsp+38h+arg_18]                                          ; +0xbb, 0x140075b7b\nmov     rax, [rcx]                                                     ; +0xc0, 0x140075b80\ncall    qword ptr [rax+0B8h]                                           ; +0xc3, 0x140075b83\nmov     rdi, [rsp+38h+var_8]                                           ; +0xc9, 0x140075b89\nadd     rsp, 38h                                                       ; +0xce, 0x140075b8e\nretn                                                                   ; +0xd2, 0x140075b92", "xrefs": ["<???> @ 0x140537668", "<???> @ 0x140667330", "<???> @ 0x140667344", "<???> @ 0x140667354", "<???> @ 0x1406c6450"], "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"}