{"type": "func", "start": 5372065536, "end": 5372065761, "name": "GJBaseGameLayer::moveAreaObject", "pseudocode": "// \n// GJBaseGameLayer::moveAreaObject from 0x140333700 to 0x1403337e1 (225 bytes)\n// \n// 5 xrefs:\n// > GJBaseGameLayer::transformAreaObjects @ 0x1403326dd\n// > GJBaseGameLayer::rotateAreaObjects @ 0x140333027\n// > GJBaseGameLayer::processAreaMoveGroupAction @ 0x140333554\n// > GJBaseGameLayer::processAreaMoveGroupAction @ 0x1403335fb\n// > <???> @ 0x14091f7cc\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 11:30:33 +0000\n// \n\nchar __fastcall GJBaseGameLayer::moveAreaObject(__int64 a1, __int64 a2, float a3, float a4)\n{\n  char result; // al\n  bool v7; // zf\n  double v8; // xmm0_8\n\n  result = GJBaseGameLayer::resetAreaObjectValues(a1, a2, 1);\n  if ( a3 == 0.0 )\n  {\n    v7 = a4 == 0.0;\n    if ( a4 == 0.0 )\n    {\n      if ( !result )\n        return result;\n      return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1216LL))(a1, a2);\n    }\n  }\n  else\n  {\n    v7 = a4 == 0.0;\n  }\n  if ( !v7 )\n  {\n    v8 = a4 + *(double *)(a2 + 960);\n    *(float *)(a2 + 676) = a4 + *(float *)(a2 + 676);\n    *(double *)(a2 + 960) = v8;\n  }\n  *(_WORD *)(a2 + 849) = 257;\n  *(_WORD *)(a2 + 872) = 257;\n  if ( a3 != 0.0 && !*(_BYTE *)(a2 + 712) )\n  {\n    *(float *)(a2 + 672) = a3 + *(float *)(a2 + 672);\n    *(double *)(a2 + 952) = a3 + *(double *)(a2 + 952);\n  }\n  return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1216LL))(a1, a2);\n}", "assembly": "; \n; GJBaseGameLayer::moveAreaObject from 0x140333700 to 0x1403337e1 (225 bytes)\n; \n; 5 xrefs:\n; > GJBaseGameLayer::transformAreaObjects @ 0x1403326dd\n; > GJBaseGameLayer::rotateAreaObjects @ 0x140333027\n; > GJBaseGameLayer::processAreaMoveGroupAction @ 0x140333554\n; > GJBaseGameLayer::processAreaMoveGroupAction @ 0x1403335fb\n; > <???> @ 0x14091f7cc\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 11:30:33 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140333700\npush    rdi                                                            ; +0x5, 0x140333705\nsub     rsp, 40h                                                       ; +0x6, 0x140333706\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0xa, 0x14033370a\nmov     r8b, 1                                                         ; +0xf, 0x14033370f\nmovaps  [rsp+48h+var_28], xmm7                                         ; +0x12, 0x140333712\nmovaps  xmm6, xmm3                                                     ; +0x17, 0x140333717\nmovaps  xmm7, xmm2                                                     ; +0x1a, 0x14033371a\nmov     rbx, rdx                                                       ; +0x1d, 0x14033371d\nmov     rdi, rcx                                                       ; +0x20, 0x140333720\ncall    GJBaseGameLayer__resetAreaObjectValues                         ; +0x23, 0x140333723\nxorps   xmm1, xmm1                                                     ; +0x28, 0x140333728\nucomiss xmm7, xmm1                                                     ; +0x2b, 0x14033372b\njp      short loc_140333743                                            ; +0x2e, 0x14033372e\njnz     short loc_140333743                                            ; +0x30, 0x140333730\nucomiss xmm6, xmm1                                                     ; +0x32, 0x140333732\njp      short loc_14033374A                                            ; +0x35, 0x140333735\njnz     short loc_140333746                                            ; +0x37, 0x140333737\ntest    al, al                                                         ; +0x39, 0x140333739\njz      loc_1403337CC                                                  ; +0x3b, 0x14033373b\njmp     short loc_1403337BD                                            ; +0x41, 0x140333741\nucomiss xmm6, xmm1                                                     ; +0x43, 0x140333743\njp      short loc_14033374A                                            ; +0x46, 0x140333746\njz      short loc_140333771                                            ; +0x48, 0x140333748\nxorps   xmm0, xmm0                                                     ; +0x4a, 0x14033374a\ncvtss2sd xmm0, xmm6                                                    ; +0x4d, 0x14033374d\naddss   xmm6, dword ptr [rbx+2A4h]                                     ; +0x51, 0x140333751\naddsd   xmm0, qword ptr [rbx+3C0h]                                     ; +0x59, 0x140333759\nmovss   dword ptr [rbx+2A4h], xmm6                                     ; +0x61, 0x140333761\nmovsd   qword ptr [rbx+3C0h], xmm0                                     ; +0x69, 0x140333769\nucomiss xmm7, xmm1                                                     ; +0x71, 0x140333771\nmov     word ptr [rbx+351h], 101h                                      ; +0x74, 0x140333774\nmov     word ptr [rbx+368h], 101h                                      ; +0x7d, 0x14033377d\njp      short loc_14033378A                                            ; +0x86, 0x140333786\njz      short loc_1403337BD                                            ; +0x88, 0x140333788\ncmp     byte ptr [rbx+2C8h], 0                                         ; +0x8a, 0x14033378a\njnz     short loc_1403337BD                                            ; +0x91, 0x140333791\nxorps   xmm1, xmm1                                                     ; +0x93, 0x140333793\nmovaps  xmm0, xmm7                                                     ; +0x96, 0x140333796\naddss   xmm0, dword ptr [rbx+2A0h]                                     ; +0x99, 0x140333799\ncvtss2sd xmm1, xmm7                                                    ; +0xa1, 0x1403337a1\nmovss   dword ptr [rbx+2A0h], xmm0                                     ; +0xa5, 0x1403337a5\naddsd   xmm1, qword ptr [rbx+3B8h]                                     ; +0xad, 0x1403337ad\nmovsd   qword ptr [rbx+3B8h], xmm1                                     ; +0xb5, 0x1403337b5\nmov     rax, [rdi]                                                     ; +0xbd, 0x1403337bd\nmov     rdx, rbx                                                       ; +0xc0, 0x1403337c0\nmov     rcx, rdi                                                       ; +0xc3, 0x1403337c3\ncall    qword ptr [rax+4C0h]                                           ; +0xc6, 0x1403337c6\nmov     rbx, [rsp+48h+arg_0]                                           ; +0xcc, 0x1403337cc\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0xd1, 0x1403337d1\nmovaps  xmm7, [rsp+48h+var_28]                                         ; +0xd6, 0x1403337d6\nadd     rsp, 40h                                                       ; +0xdb, 0x1403337db\npop     rdi                                                            ; +0xdf, 0x1403337df\nretn                                                                   ; +0xe0, 0x1403337e0", "xrefs": ["GJBaseGameLayer::transformAreaObjects @ 0x1403326dd", "GJBaseGameLayer::rotateAreaObjects @ 0x140333027", "GJBaseGameLayer::processAreaMoveGroupAction @ 0x140333554", "GJBaseGameLayer::processAreaMoveGroupAction @ 0x1403335fb", "<???> @ 0x14091f7cc"], "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"}