// // AnimatedGameObject::updateObjectAnimation from 0x4ec4c8 to 0x4ec59c (212 bytes) // // 3 xrefs: // > LevelEditorLayer::updatePreviewAnim @ 0x462600 // > AnimatedGameObject::activateObject @ 0x4ec5ba // > AnimatedGameObject::resetObject @ 0x4ec5f6 // // 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:51:09 +0000 // cocos2d::CCNode *__fastcall AnimatedGameObject::updateObjectAnimation(AnimatedGameObject *this) { cocos2d::CCNode *result; // r0 int v3; // r1 int v4; // r3 int v5; // r7 int v6; // r3 char *v7; // r1 int v8; // r7 SpriteAnimationManager *v9; // r4 unsigned int v10; // r0 int v11[3]; // [sp+0h] [bp-14h] BYREF result = SpriteAnimationManager::stopAnimations(*(SpriteAnimationManager **)(*((_DWORD *)this + 319) + 532)); if ( *((_BYTE *)this + 657) ) { if ( !*((_BYTE *)this + 549) || (result = (cocos2d::CCNode *)GameManager::sharedState(result), *(_BYTE *)(*((_DWORD *)result + 102) + 11705)) ) { v3 = *((_DWORD *)this + 319); if ( *((_BYTE *)this + 1289) ) { v4 = *((unsigned __int8 *)this + 1292); v5 = *(_DWORD *)(v3 + 532); if ( (v4 & 1) != 0 ) v6 = *((_DWORD *)this + 324); else v6 = v4 >> 1; if ( v6 ) v7 = (char *)this + 1292; else v7 = (char *)(v3 + 552); std::string::basic_string(v11, (int)v7); SpriteAnimationManager::runAnimation(v5, (unsigned __int8 *)v11); return (cocos2d::CCNode *)std::string::~string((int)v11); } else { v8 = *(_DWORD *)(v3 + 532); std::string::basic_string(v11, v3 + 552); SpriteAnimationManager::runAnimation(v8, (unsigned __int8 *)v11); std::string::~string((int)v11); v9 = *(SpriteAnimationManager **)(*((_DWORD *)this + 319) + 532); v10 = rand(); return (cocos2d::CCNode *)SpriteAnimationManager::offsetCurrentAnimation(v9, vcvts_n_f32_s32(v10, 0x1Fu)); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source