{"type": "func", "start": 4297896880, "end": 4297897208, "name": "GJEffectManager::createMoveCommand", "pseudocode": "// \n// GJEffectManager::createMoveCommand from 0x1002cb3b0 to 0x1002cb4f8 (328 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::triggerMoveCommand @ 0x100115584\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:10 +0000\n// \n\nvoid __fastcall GJEffectManager::createMoveCommand(\n        __int64 a1,\n        __int64 a2,\n        int a3,\n        int a4,\n        unsigned __int8 a5,\n        int a6,\n        float a7,\n        float a8,\n        float a9,\n        float a10,\n        unsigned __int8 a11,\n        unsigned __int8 a12,\n        int a13,\n        int a14)\n{\n  unsigned __int64 v16; // r14\n  __int64 v17; // r14\n  __int64 v18; // [rsp+8h] [rbp-48h] BYREF\n  float v19; // [rsp+10h] [rbp-40h]\n  float v20; // [rsp+14h] [rbp-3Ch]\n  float v21; // [rsp+18h] [rbp-38h]\n  float v22; // [rsp+1Ch] [rbp-34h]\n  int v23; // [rsp+20h] [rbp-30h]\n  int v24; // [rsp+24h] [rbp-2Ch]\n\n  v19 = a10;\n  v20 = a9;\n  v21 = a8;\n  v22 = a7;\n  if ( *(float *)a2 == *(float *)&dword_100BE2710\n    && !((*(float *)(a2 + 4) != *(float *)&dword_100BE2714) | (unsigned __int8)(a11 | a6 | a5)) )\n  {\n    if ( ((a3 > 0) & a12) == 0 )\n      return;\n  }\n  else if ( a3 <= 0 )\n  {\n    return;\n  }\n  v24 = a6;\n  v23 = a4;\n  v16 = *(_QWORD *)(a1 + 1240);\n  if ( v16 >= *(_QWORD *)(a1 + 1248) )\n  {\n    v17 = sub_1002DB3D0(a1 + 1232);\n  }\n  else\n  {\n    sub_1004E7A00(*(_QWORD *)(a1 + 1240));\n    v17 = v16 + 520;\n    *(_QWORD *)(a1 + 1240) = v17;\n  }\n  *(_QWORD *)(a1 + 1240) = v17;\n  *(_DWORD *)(v17 - 480) = a3;\n  *(_DWORD *)(v17 - 176) = a13;\n  *(_DWORD *)(v17 - 172) = a14;\n  sub_1002782D0(&v18, (_QWORD *)a2);\n  GroupCommandObject2::runMoveCommand(v17 - 520, (unsigned int)&v18, v23, a5, (unsigned __int8)v24, a11, a12);\n}", "assembly": "; \n; GJEffectManager::createMoveCommand from 0x1002cb3b0 to 0x1002cb4f8 (328 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::triggerMoveCommand @ 0x100115584\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:10 +0000\n; \npush    rbp                                                            ; +0x0, 0x1002cb3b0\nmov     rbp, rsp                                                       ; +0x1, 0x1002cb3b1\npush    r15                                                            ; +0x4, 0x1002cb3b4\npush    r14                                                            ; +0x6, 0x1002cb3b6\npush    r13                                                            ; +0x8, 0x1002cb3b8\npush    r12                                                            ; +0xa, 0x1002cb3ba\npush    rbx                                                            ; +0xc, 0x1002cb3bc\nsub     rsp, 28h                                                       ; +0xd, 0x1002cb3bd\nmovss   [rbp+var_40], xmm3                                             ; +0x11, 0x1002cb3c1\nmovss   [rbp+var_3C], xmm2                                             ; +0x16, 0x1002cb3c6\nmov     r15d, r8d                                                      ; +0x1b, 0x1002cb3cb\nmovss   [rbp+var_38], xmm1                                             ; +0x1e, 0x1002cb3ce\nmovss   [rbp+var_34], xmm0                                             ; +0x23, 0x1002cb3d3\nmov     r13d, edx                                                      ; +0x28, 0x1002cb3d8\nmov     r12, rsi                                                       ; +0x2b, 0x1002cb3db\nmov     rbx, rdi                                                       ; +0x2e, 0x1002cb3de\nmovss   xmm0, dword ptr [rsi]                                          ; +0x31, 0x1002cb3e1\nucomiss xmm0, cs:dword_100BE2710                                       ; +0x35, 0x1002cb3e5\njnz     short loc_1002CB413                                            ; +0x3c, 0x1002cb3ec\njp      short loc_1002CB413                                            ; +0x3e, 0x1002cb3ee\nmovss   xmm0, dword ptr [r12+4]                                        ; +0x40, 0x1002cb3f0\nucomiss xmm0, cs:dword_100BE2714                                       ; +0x47, 0x1002cb3f7\nsetp    al                                                             ; +0x4e, 0x1002cb3fe\nsetnz   dl                                                             ; +0x51, 0x1002cb401\nor      dl, al                                                         ; +0x54, 0x1002cb404\nmov     eax, r15d                                                      ; +0x56, 0x1002cb406\nor      al, r9b                                                        ; +0x59, 0x1002cb409\nor      al, [rbp+arg_0]                                                ; +0x5c, 0x1002cb40c\nor      al, dl                                                         ; +0x5f, 0x1002cb40f\njz      short loc_1002CB41D                                            ; +0x61, 0x1002cb411\ntest    r13d, r13d                                                     ; +0x63, 0x1002cb413\njg      short loc_1002CB42C                                            ; +0x66, 0x1002cb416\njmp     loc_1002CB4E9                                                  ; +0x68, 0x1002cb418\ntest    r13d, r13d                                                     ; +0x6d, 0x1002cb41d\nsetnle  al                                                             ; +0x70, 0x1002cb420\ntest    [rbp+arg_8], al                                                ; +0x73, 0x1002cb423\njz      loc_1002CB4E9                                                  ; +0x76, 0x1002cb426\nmov     [rbp+var_2C], r9d                                              ; +0x7c, 0x1002cb42c\nmov     [rbp+var_30], ecx                                              ; +0x80, 0x1002cb430\nmov     r14, [rbx+4D8h]                                                ; +0x83, 0x1002cb433\ncmp     r14, [rbx+4E0h]                                                ; +0x8a, 0x1002cb43a\njnb     short loc_1002CB45B                                            ; +0x91, 0x1002cb441\nmov     rdi, r14                                                       ; +0x93, 0x1002cb443\ncall    sub_1004E7A00                                                  ; +0x96, 0x1002cb446\nadd     r14, 208h                                                      ; +0x9b, 0x1002cb44b\nmov     [rbx+4D8h], r14                                                ; +0xa2, 0x1002cb452\njmp     short loc_1002CB46A                                            ; +0xa9, 0x1002cb459\nlea     rdi, [rbx+4D0h]                                                ; +0xab, 0x1002cb45b\ncall    sub_1002DB3D0                                                  ; +0xb2, 0x1002cb462\nmov     r14, rax                                                       ; +0xb7, 0x1002cb467\nmov     eax, [rbp+arg_18]                                              ; +0xba, 0x1002cb46a\nmov     ecx, [rbp+arg_10]                                              ; +0xbd, 0x1002cb46d\nmov     [rbx+4D8h], r14                                                ; +0xc0, 0x1002cb470\nlea     rbx, [r14-208h]                                                ; +0xc7, 0x1002cb477\nmov     [r14-1E0h], r13d                                               ; +0xce, 0x1002cb47e\nmov     [r14-0B0h], ecx                                                ; +0xd5, 0x1002cb485\nmov     [r14-0ACh], eax                                                ; +0xdc, 0x1002cb48c\nlea     r14, [rbp+var_48]                                              ; +0xe3, 0x1002cb493\nmov     rdi, r14                                                       ; +0xe7, 0x1002cb497\nmov     rsi, r12                                                       ; +0xea, 0x1002cb49a\ncall    sub_1002782D0                                                  ; +0xed, 0x1002cb49d\nmovss   xmm0, [rbp+var_34]                                             ; +0xf2, 0x1002cb4a2\ncvtss2sd xmm0, xmm0                                                    ; +0xf7, 0x1002cb4a7\nmovss   xmm1, [rbp+var_38]                                             ; +0xfb, 0x1002cb4ab\ncvtss2sd xmm1, xmm1                                                    ; +0x100, 0x1002cb4b0\nmovss   xmm2, [rbp+var_3C]                                             ; +0x104, 0x1002cb4b4\ncvtss2sd xmm2, xmm2                                                    ; +0x109, 0x1002cb4b9\nmovss   xmm3, [rbp+var_40]                                             ; +0x10d, 0x1002cb4bd\ncvtss2sd xmm3, xmm3                                                    ; +0x112, 0x1002cb4c2\nmovzx   eax, [rbp+arg_8]                                               ; +0x116, 0x1002cb4c6\nmov     [rsp+50h+var_50], eax                                          ; +0x11a, 0x1002cb4ca\nmovzx   ecx, r15b                                                      ; +0x11d, 0x1002cb4cd\nmovzx   r8d, byte ptr [rbp+var_2C]                                     ; +0x121, 0x1002cb4d1\nmovzx   r9d, [rbp+arg_0]                                               ; +0x126, 0x1002cb4d6\nmov     rdi, rbx                                                       ; +0x12b, 0x1002cb4db\nmov     rsi, r14                                                       ; +0x12e, 0x1002cb4de\nmov     edx, [rbp+var_30]                                              ; +0x131, 0x1002cb4e1\ncall    GroupCommandObject2__runMoveCommand                            ; +0x134, 0x1002cb4e4\nadd     rsp, 28h                                                       ; +0x139, 0x1002cb4e9\npop     rbx                                                            ; +0x13d, 0x1002cb4ed\npop     r12                                                            ; +0x13e, 0x1002cb4ee\npop     r13                                                            ; +0x140, 0x1002cb4f0\npop     r14                                                            ; +0x142, 0x1002cb4f2\npop     r15                                                            ; +0x144, 0x1002cb4f4\npop     rbp                                                            ; +0x146, 0x1002cb4f6\nretn                                                                   ; +0x147, 0x1002cb4f7", "xrefs": ["GJBaseGameLayer::triggerMoveCommand @ 0x100115584"], "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"}