{"type": "func", "start": 4297924528, "end": 4297924670, "name": "GJEffectManager::addMoveCalculation", "pseudocode": "// \n// GJEffectManager::addMoveCalculation from 0x1002d1fb0 to 0x1002d203e (142 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:28:13 +0000\n// \n\n__int64 __fastcall GJEffectManager::addMoveCalculation(__int64 a1, __int64 a2, _QWORD *a3, __int64 a4)\n{\n  _QWORD *v5; // r14\n  __int64 result; // rax\n  _QWORD *v7; // r14\n  __int64 v8; // [rsp+0h] [rbp-30h] BYREF\n  __int64 v9; // [rsp+8h] [rbp-28h] BYREF\n  __int64 v10; // [rsp+10h] [rbp-20h]\n\n  *(_BYTE *)(a2 + 209) = 1;\n  v8 = a2;\n  sub_1002782D0(&v9, a3);\n  v10 = a4;\n  v5 = *(_QWORD **)(a1 + 1584);\n  if ( (unsigned __int64)v5 >= *(_QWORD *)(a1 + 1592) )\n  {\n    result = sub_1002DD4C0(a1 + 1576, &v8);\n    v7 = (_QWORD *)result;\n  }\n  else\n  {\n    *v5 = v8;\n    sub_1002782D0(v5 + 1, &v9);\n    result = v10;\n    v5[2] = v10;\n    v7 = v5 + 3;\n    *(_QWORD *)(a1 + 1584) = v7;\n  }\n  *(_QWORD *)(a1 + 1584) = v7;\n  return result;\n}", "assembly": "; \n; GJEffectManager::addMoveCalculation from 0x1002d1fb0 to 0x1002d203e (142 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:28:13 +0000\n; \npush    rbp                                                            ; +0x0, 0x1002d1fb0\nmov     rbp, rsp                                                       ; +0x1, 0x1002d1fb1\npush    r15                                                            ; +0x4, 0x1002d1fb4\npush    r14                                                            ; +0x6, 0x1002d1fb6\npush    rbx                                                            ; +0x8, 0x1002d1fb8\nsub     rsp, 18h                                                       ; +0x9, 0x1002d1fb9\nmov     r14, rcx                                                       ; +0xd, 0x1002d1fbd\nmov     rbx, rdi                                                       ; +0x10, 0x1002d1fc0\nmov     byte ptr [rsi+0D1h], 1                                         ; +0x13, 0x1002d1fc3\nmov     [rbp+var_30], rsi                                              ; +0x1a, 0x1002d1fca\nlea     r15, [rbp+var_28]                                              ; +0x1e, 0x1002d1fce\nmov     rdi, r15                                                       ; +0x22, 0x1002d1fd2\nmov     rsi, rdx                                                       ; +0x25, 0x1002d1fd5\ncall    sub_1002782D0                                                  ; +0x28, 0x1002d1fd8\nmov     [rbp+var_20], r14                                              ; +0x2d, 0x1002d1fdd\nmov     r14, [rbx+630h]                                                ; +0x31, 0x1002d1fe1\ncmp     r14, [rbx+638h]                                                ; +0x38, 0x1002d1fe8\njnb     short loc_1002D2019                                            ; +0x3f, 0x1002d1fef\nmov     rax, [rbp+var_30]                                              ; +0x41, 0x1002d1ff1\nmov     [r14], rax                                                     ; +0x45, 0x1002d1ff5\nlea     rdi, [r14+8]                                                   ; +0x48, 0x1002d1ff8\nmov     rsi, r15                                                       ; +0x4c, 0x1002d1ffc\ncall    sub_1002782D0                                                  ; +0x4f, 0x1002d1fff\nmov     rax, [rbp+var_20]                                              ; +0x54, 0x1002d2004\nmov     [r14+10h], rax                                                 ; +0x58, 0x1002d2008\nadd     r14, 18h                                                       ; +0x5c, 0x1002d200c\nmov     [rbx+630h], r14                                                ; +0x60, 0x1002d2010\njmp     short loc_1002D202C                                            ; +0x67, 0x1002d2017\nlea     rdi, [rbx+628h]                                                ; +0x69, 0x1002d2019\nlea     rsi, [rbp+var_30]                                              ; +0x70, 0x1002d2020\ncall    sub_1002DD4C0                                                  ; +0x74, 0x1002d2024\nmov     r14, rax                                                       ; +0x79, 0x1002d2029\nmov     [rbx+630h], r14                                                ; +0x7c, 0x1002d202c\nadd     rsp, 18h                                                       ; +0x83, 0x1002d2033\npop     rbx                                                            ; +0x87, 0x1002d2037\npop     r14                                                            ; +0x88, 0x1002d2038\npop     r15                                                            ; +0x8a, 0x1002d203a\npop     rbp                                                            ; +0x8c, 0x1002d203c\nretn                                                                   ; +0x8d, 0x1002d203d", "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"}