// // AnimatedGameObject::updateObjectAnimation from 0x100197740 to 0x1001978d3 (403 bytes) // // 3 xrefs: // > LevelEditorLayer::updatePreviewAnim @ 0x1000c82c2 // > AnimatedGameObject::activateObject @ 0x100197931 // > AnimatedGameObject::resetObject @ 0x1001995f2 // // 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:25:56 +0000 // void __fastcall AnimatedGameObject::updateObjectAnimation(__int64 a1, __int64 a2) { __int64 v3; // rdi __int64 v4; // rdx __int64 v5; // rax __int64 v6; // rax __int64 v7; // r14 char v8; // cl __int128 *v9; // rbx __int128 *v10; // rax unsigned __int64 v11; // rdx const void *v12; // rsi __int64 v13; // rbx int v14; // eax __int128 *v15; // rax __int128 v16; // [rsp+0h] [rbp-50h] BYREF void *__p; // [rsp+10h] [rbp-40h] __int128 v18; // [rsp+20h] [rbp-30h] BYREF void *v19; // [rsp+30h] [rbp-20h] v3 = *(_QWORD *)(*(_QWORD *)(a1 + 1464) + 648LL); SpriteAnimationManager::stopAnimations(v3); if ( *(_BYTE *)(a1 + 773) == 1 ) { if ( *(_BYTE *)(a1 + 649) != 1 || (GameManager::sharedState(v3, a2, v4), *(_BYTE *)(*(_QWORD *)(v5 + 552) + 14013LL) == 1) ) { v6 = *(_QWORD *)(a1 + 1464); v7 = *(_QWORD *)(v6 + 648); if ( *(_BYTE *)(a1 + 1489) == 1 ) { v8 = *(_BYTE *)(a1 + 1496); if ( (v8 & 1) != 0 ) { v11 = *(_QWORD *)(a1 + 1504); if ( v11 ) { v12 = *(const void **)(a1 + 1512); goto LABEL_19; } } else if ( v8 ) { v9 = (__int128 *)(a1 + 1496); v19 = *((void **)v9 + 2); v18 = *v9; goto LABEL_20; } if ( (*(_BYTE *)(v6 + 688) & 1) == 0 ) { v15 = (__int128 *)(v6 + 688); v19 = *((void **)v15 + 2); v18 = *v15; goto LABEL_20; } v11 = *(_QWORD *)(v6 + 696); v12 = *(const void **)(v6 + 704); LABEL_19: sub_10001AD30(&v18, v12, v11); LABEL_20: SpriteAnimationManager::runAnimation(v7, &v18); if ( (v18 & 1) != 0 ) operator delete(v19); return; } if ( (*(_BYTE *)(v6 + 688) & 1) != 0 ) { sub_10001AD30(&v16, *(const void **)(v6 + 704), *(_QWORD *)(v6 + 696)); } else { v10 = (__int128 *)(v6 + 688); __p = *((void **)v10 + 2); v16 = *v10; } SpriteAnimationManager::runAnimation(v7, &v16); if ( (v16 & 1) != 0 ) operator delete(__p); v13 = *(_QWORD *)(*(_QWORD *)(a1 + 1464) + 648LL); v14 = rand(); SpriteAnimationManager::offsetCurrentAnimation(v13, (float)v14 * 4.6566129e-10); } } }