// // EditorUI::onSettings from 0x481078 to 0x4810c8 (80 bytes) // // 0 xrefs: // // 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:49:22 +0000 // int __fastcall EditorUI::onSettings(int this, cocos2d::CCObject *a2) { int v2; // r4 int v3; // r3 EditorSFXManager *v4; // r0 LevelEditorLayer *v5; // r2 _DWORD *v6; // r0 int v7; // r3 v2 = this; if ( !*(_BYTE *)(this + 1052) ) { v3 = *(_DWORD *)(*(_DWORD *)(this + 944) + 1408); if ( !v3 || *(_DWORD *)(v3 + 952) == 2 ) { v4 = (EditorSFXManager *)EditorSFXManager::sharedState((EditorSFXManager *)this); EditorSFXManager::playAction(v4, 220); v6 = (_DWORD *)LevelSettingsLayer::create( *(LevelSettingsLayer **)(*(_DWORD *)(v2 + 944) + 2084), *(LevelSettingsObject **)(v2 + 944), v5); v7 = *(_DWORD *)(v2 + 944); if ( v7 ) v7 += 11688; v6[153] = v7; return (*(int (__fastcall **)(_DWORD *))(*v6 + 656))(v6); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source