// // LevelEditorLayer::updatePreviewAnim from 0x1000c8240 to 0x1000c8319 (217 bytes) // // 2 xrefs: // > EditorPauseLayer::togglePreviewAnim @ 0x10027f06a // > EditorUI::toggleViewOption @ 0x10063e8ed // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:20:36 +0000 // __int64 __fastcall LevelEditorLayer::updatePreviewAnim(__int64 a1, __int64 a2, __int64 a3) { double v3; // xmm0_8 __int64 v4; // rax __int64 result; // rax unsigned int v6; // r14d __int64 v7; // rax __int64 v8; // r15 *(_QWORD *)&v3 = GameManager::sharedState(a1, a2, a3).u64[0]; result = GameManager::getGameVariable(v4, "0118"); if ( *(_BYTE *)(a1 + 14013) != (_BYTE)result ) { *(_BYTE *)(a1 + 14013) = result; result = sub_1007FEF90(*(_QWORD *)(a1 + 3280)); if ( (_DWORD)result ) { v6 = 0; do { v7 = sub_1007FEFE0(*(_QWORD *)(a1 + 3280), v6); v8 = v7; if ( *(_DWORD *)(v7 + 1248) == 2 ) AnimatedGameObject::updateObjectAnimation(v7, v3); if ( !*(_BYTE *)(a1 + 14013) && (*(unsigned __int8 (__fastcall **)(__int64, double))(*(_QWORD *)v8 + 1728LL))(v8, v3) ) { EnhancedGameObject::resetSyncedAnimation(v8); } if ( !*(_BYTE *)(a1 + 14013) ) { if ( (*(unsigned __int8 (__fastcall **)(__int64, double))(*(_QWORD *)v8 + 1736LL))(v8, v3) ) { v3 = 0.0; EnhancedGameObject::updateRotateAction(v8, 0.0); } } ++v6; result = sub_1007FEF90(*(_QWORD *)(a1 + 3280)); } while ( v6 < (unsigned int)result ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source