// // EditorUI::onCreateButton from 0x100476c88 to 0x100476cd4 (76 bytes) // // 2 xrefs: // > EditorUI::getCreateBtn @ 0x10018469c // > EditorUI::menuItemFromObjectString @ 0x100185280 // // 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:41 +0000 // __int64 __fastcall EditorUI::onCreateButton(__int64 a1, __int64 a2, __n128 a3) { int v4; // w8 __int64 v5; // x0 v4 = *(_DWORD *)(a2 + 528); if ( *(_DWORD *)(a1 + 1344) == v4 ) v4 = 0; *(_DWORD *)(a1 + 1344) = v4; v5 = EditorSFXManager::sharedState(a3); EditorSFXManager::playAction_1(v5, 277); EditorUI::updateCreateMenu(a1, 0); return EditorUI::updateGridNodeSize(a1); }