{"type": "func", "start": 5372054272, "end": 5372054420, "name": "GJBaseGameLayer::updateAreaObjectLastValues", "pseudocode": "// \n// GJBaseGameLayer::updateAreaObjectLastValues from 0x140330b00 to 0x140330b94 (148 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::resetAreaObjectValues @ 0x1403308d8\n// > GJBaseGameLayer::resetAreaObjectValues @ 0x140330a73\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:32 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::updateAreaObjectLastValues(__int64 a1, __int64 a2)\n{\n  float v2; // xmm1_4\n  __int64 result; // rax\n\n  if ( !*(_BYTE *)(a2 + 1298) )\n  {\n    if ( *(_DWORD *)(a2 + 1244) != *(_DWORD *)(a1 + 992) )\n    {\n      v2 = *(double *)(a2 + 960);\n      *(float *)(a2 + 1232) = *(double *)(a2 + 952);\n      *(float *)(a2 + 1236) = v2;\n      *(_DWORD *)(a2 + 1244) = *(_DWORD *)(a1 + 992);\n      *(_WORD *)(a2 + 872) = 257;\n    }\n    result = *(unsigned int *)(a1 + 992);\n    if ( *(_DWORD *)(a2 + 1252) != (_DWORD)result )\n    {\n      *(_DWORD *)(a2 + 996) = *(_DWORD *)(a2 + 1160);\n      *(_DWORD *)(a2 + 1000) = *(_DWORD *)(a2 + 1164);\n      result = *(unsigned int *)(a1 + 992);\n      *(_DWORD *)(a2 + 1252) = result;\n      *(_WORD *)(a2 + 872) = 257;\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::updateAreaObjectLastValues from 0x140330b00 to 0x140330b94 (148 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::resetAreaObjectValues @ 0x1403308d8\n; > GJBaseGameLayer::resetAreaObjectValues @ 0x140330a73\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:32 +0000\n; \ncmp     byte ptr [rdx+512h], 0                                         ; +0x0, 0x140330b00\njnz     locret_140330B93                                               ; +0x7, 0x140330b07\nmov     eax, [rcx+3E0h]                                                ; +0xd, 0x140330b0d\ncmp     [rdx+4DCh], eax                                                ; +0x13, 0x140330b13\njz      short loc_140330B58                                            ; +0x19, 0x140330b19\nmovsd   xmm0, qword ptr [rdx+3B8h]                                     ; +0x1b, 0x140330b1b\nmovsd   xmm1, qword ptr [rdx+3C0h]                                     ; +0x23, 0x140330b23\ncvtpd2ps xmm0, xmm0                                                    ; +0x2b, 0x140330b2b\ncvtpd2ps xmm1, xmm1                                                    ; +0x2f, 0x140330b2f\nmovss   dword ptr [rdx+4D0h], xmm0                                     ; +0x33, 0x140330b33\nmovss   dword ptr [rdx+4D4h], xmm1                                     ; +0x3b, 0x140330b3b\nmov     eax, [rcx+3E0h]                                                ; +0x43, 0x140330b43\nmov     [rdx+4DCh], eax                                                ; +0x49, 0x140330b49\nmov     word ptr [rdx+368h], 101h                                      ; +0x4f, 0x140330b4f\nmov     eax, [rcx+3E0h]                                                ; +0x58, 0x140330b58\ncmp     [rdx+4E4h], eax                                                ; +0x5e, 0x140330b5e\njz      short locret_140330B93                                         ; +0x64, 0x140330b64\nmov     eax, [rdx+488h]                                                ; +0x66, 0x140330b66\nmov     [rdx+3E4h], eax                                                ; +0x6c, 0x140330b6c\nmov     eax, [rdx+48Ch]                                                ; +0x72, 0x140330b72\nmov     [rdx+3E8h], eax                                                ; +0x78, 0x140330b78\nmov     eax, [rcx+3E0h]                                                ; +0x7e, 0x140330b7e\nmov     [rdx+4E4h], eax                                                ; +0x84, 0x140330b84\nmov     word ptr [rdx+368h], 101h                                      ; +0x8a, 0x140330b8a\nretn                                                                   ; +0x93, 0x140330b93", "xrefs": ["GJBaseGameLayer::resetAreaObjectValues @ 0x1403308d8", "GJBaseGameLayer::resetAreaObjectValues @ 0x140330a73"], "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"}