{"type": "func", "start": 5370969776, "end": 5370969924, "name": "GJBaseGameLayer::updateAreaObjectLastValues", "pseudocode": "// \n// GJBaseGameLayer::updateAreaObjectLastValues from 0x140227eb0 to 0x140227f44 (148 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::resetAreaObjectValues @ 0x140227c68\n// > GJBaseGameLayer::resetAreaObjectValues @ 0x140227e03\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 GJBaseGameLayer::updateAreaObjectLastValues(GJBaseGameLayer *a1, GameObject *a2)\n{\n  float m_positionY; // xmm1_4\n\n  if ( !a2->m_isDecoration2 )\n  {\n    if ( a2->m_unk4C4 != a1->m_gameState.m_commandIndex )\n    {\n      m_positionY = a2->m_positionY;\n      a2->m_lastPosition.x = a2->m_positionX;\n      a2->m_lastPosition.y = m_positionY;\n      a2->m_unk4C4 = a1->m_gameState.m_commandIndex;\n      *(_WORD *)&a2->m_isObjectRectDirty = 257;\n    }\n    if ( a2->m_unk4CC != a1->m_gameState.m_commandIndex )\n    {\n      a2->m_customScaleX = a2->m_scaleX;\n      a2->m_customScaleY = a2->m_scaleY;\n      a2->m_unk4CC = a1->m_gameState.m_commandIndex;\n      *(_WORD *)&a2->m_isObjectRectDirty = 257;\n    }\n  }\n}", "assembly": "; \n; GJBaseGameLayer::updateAreaObjectLastValues from 0x140227eb0 to 0x140227f44 (148 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::resetAreaObjectValues @ 0x140227c68\n; > GJBaseGameLayer::resetAreaObjectValues @ 0x140227e03\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\ncmp     byte ptr [rdx+512h], 0                                         ; +0x0, 0x140227eb0\njnz     locret_140227F43                                               ; +0x7, 0x140227eb7\nmov     eax, [rcx+3E0h]                                                ; +0xd, 0x140227ebd\ncmp     [rdx+4DCh], eax                                                ; +0x13, 0x140227ec3\njz      short loc_140227F08                                            ; +0x19, 0x140227ec9\nmovsd   xmm0, qword ptr [rdx+3B8h]                                     ; +0x1b, 0x140227ecb\nmovsd   xmm1, qword ptr [rdx+3C0h]                                     ; +0x23, 0x140227ed3\ncvtpd2ps xmm0, xmm0                                                    ; +0x2b, 0x140227edb\ncvtpd2ps xmm1, xmm1                                                    ; +0x2f, 0x140227edf\nmovss   dword ptr [rdx+4D0h], xmm0                                     ; +0x33, 0x140227ee3\nmovss   dword ptr [rdx+4D4h], xmm1                                     ; +0x3b, 0x140227eeb\nmov     eax, [rcx+3E0h]                                                ; +0x43, 0x140227ef3\nmov     [rdx+4DCh], eax                                                ; +0x49, 0x140227ef9\nmov     word ptr [rdx+368h], 101h                                      ; +0x4f, 0x140227eff\nmov     eax, [rcx+3E0h]                                                ; +0x58, 0x140227f08\ncmp     [rdx+4E4h], eax                                                ; +0x5e, 0x140227f0e\njz      short locret_140227F43                                         ; +0x64, 0x140227f14\nmov     eax, [rdx+488h]                                                ; +0x66, 0x140227f16\nmov     [rdx+3E4h], eax                                                ; +0x6c, 0x140227f1c\nmov     eax, [rdx+48Ch]                                                ; +0x72, 0x140227f22\nmov     [rdx+3E8h], eax                                                ; +0x78, 0x140227f28\nmov     eax, [rcx+3E0h]                                                ; +0x7e, 0x140227f2e\nmov     [rdx+4E4h], eax                                                ; +0x84, 0x140227f34\nmov     word ptr [rdx+368h], 101h                                      ; +0x8a, 0x140227f3a\nretn                                                                   ; +0x93, 0x140227f43", "xrefs": ["GJBaseGameLayer::resetAreaObjectValues @ 0x140227c68", "GJBaseGameLayer::resetAreaObjectValues @ 0x140227e03"], "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"}