// // EnhancedGameObject::setupAnimationVariables from 0x65e946 to 0x65e9d8 (146 bytes) // // 3 xrefs: // > EnhancedGameObject::saveActiveColors @ 0x44f190 // > SetupAnimSettingsPopup::updateAnimSettings @ 0x62510a // > SetupAnimSettingsPopup::updateAnimSettings @ 0x625116 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:55:35 +0000 // bool __fastcall EnhancedGameObject::setupAnimationVariables(EnhancedGameObject *this) { int *v2; // r5 cocos2d::CCDictionary **v3; // r0 GameManager *v4; // r0 cocos2d::CCDictionary **v5; // r0 float v6; // s14 float v7; // s15 int v8; // r0 _BOOL4 result; // r0 v2 = (int *)((char *)this + 1200); if ( *((_DWORD *)this + 223) != 2065 ) { v3 = (cocos2d::CCDictionary **)GameManager::sharedState(this); v4 = (GameManager *)GameManager::framesForAnimation(v3, *((_DWORD *)this + 223)); *((_WORD *)this + 602) = (_WORD)v4; v5 = (cocos2d::CCDictionary **)GameManager::sharedState(v4); *v2 = GameManager::frameTimeForAnimation(v5, *((_DWORD *)this + 223)); } v6 = *((float *)this + 298); if ( *((_BYTE *)this + 1236) ) { v7 = *((float *)this + 308); if ( v7 != 0.0 ) v6 = fabsf(v7); } *(float *)v2 = *(float *)v2 / v6; v8 = GameObject::usesFreezeAnimation(this); if ( v8 ) v8 = *((unsigned __int8 *)this + 1238) ^ 1; *((_BYTE *)this + 1196) = v8; if ( !v8 ) *((_BYTE *)this + 658) = 0; *((_BYTE *)this + 1197) = GameObject::shouldNotHideAnimFreeze(this); result = GameObject::usesSpecialAnimation(this); *((_BYTE *)this + 1198) = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source