// // LevelEditorLayer::updatePreviewAnim from 0x4625bc to 0x46263e (130 bytes) // // 2 xrefs: // > EditorPauseLayer::togglePreviewAnim @ 0x508f90 // > EditorUI::toggleViewOption @ 0x70c404 // // 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:48:53 +0000 // unsigned int __fastcall LevelEditorLayer::updatePreviewAnim(cocos2d::CCArray **this) { GameManager *v2; // r0 unsigned int result; // r0 unsigned int v4; // r6 _BYTE *v5; // r7 EnhancedGameObject *v6; // r0 EnhancedGameObject *v7; // r4 v2 = (GameManager *)GameManager::sharedState((GameManager *)this); result = GameManager::getGameVariable(v2, "0118"); if ( *((unsigned __int8 *)this + 11705) != result ) { v4 = 0; v5 = (char *)this + 11705; *((_BYTE *)this + 11705) = result; while ( 1 ) { result = cocos2d::CCArray::count(*(this + 522)); if ( v4 >= result ) break; v6 = (EnhancedGameObject *)cocos2d::CCArray::objectAtIndex(*(this + 522), v4); v7 = v6; if ( *((_DWORD *)v6 + 271) == 2 ) AnimatedGameObject::updateObjectAnimation(v6); if ( !*v5 && (*(int (__fastcall **)(EnhancedGameObject *))(*(_DWORD *)v7 + 864))(v7) ) EnhancedGameObject::resetSyncedAnimation(v7); if ( !*v5 ) { if ( (*(int (__fastcall **)(EnhancedGameObject *))(*(_DWORD *)v7 + 868))(v7) ) EnhancedGameObject::updateRotateAction((int)v7, 0.0); } ++v4; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source