// // EditorUI::onSettings from 0x100471bbc to 0x100471c3c (128 bytes) // // 1 xrefs: // > EditorUI::init @ 0x10046f968 // // This function is hookable on this platform (idp: arm, 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 11:05:38 +0000 // __int64 __fastcall EditorUI::onSettings(__int64 result, __n128 a2) { __int64 v2; // x19 __int64 v3; // x8 __int64 v4; // x0 _QWORD *v5; // x0 __int64 v6; // x8 __int64 v7; // x8 if ( (*(_BYTE *)(result + 1588) & 1) == 0 ) { v2 = result; v3 = *(_QWORD *)(*(_QWORD *)(result + 1440) + 1936LL); if ( !v3 || *(_DWORD *)(v3 + 1140) == 2 ) { v4 = EditorSFXManager::sharedState(a2); EditorSFXManager::playAction_1(v4, 220); v5 = LevelSettingsLayer::create(*(_QWORD *)(*(_QWORD *)(v2 + 1440) + 3272LL), *(_QWORD *)(v2 + 1440)); v6 = *(_QWORD *)(v2 + 1440); if ( v6 ) v7 = v6 + 13992; else v7 = 0; v5[106] = v7; return (*(__int64 (__fastcall **)(_QWORD *))(*v5 + 1312LL))(v5); } } return result; }