// // EditorUI::disableButton from 0x7c0b7c to 0x7c0c9c (288 bytes) // // 2 xrefs: // > EditorUI::updateCreateMenu @ 0x7c2de0 // > @ 0xaba30 // // 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 12:54:06 +0000 // __int64 __fastcall EditorUI::disableButton(__int64 a1, _DWORD *a2) { _QWORD *v3; // x21 __int64 v4; // x0 void (__fastcall *v5)(__int64, __int16 *); // x3 __int64 v6; // x20 int v7; // w1 __int16 v9; // [xsp+38h] [xbp+38h] BYREF char v10; // [xsp+3Ah] [xbp+3Ah] __int16 v11; // [xsp+40h] [xbp+40h] BYREF char v12; // [xsp+42h] [xbp+42h] v3 = (_QWORD *)(*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)a2 + 1072LL))(a2); v4 = v3[80]; if ( v4 || (v4 = v3[81]) != 0 ) { v5 = *(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v4 + 960LL); v11 = 32639; v12 = 127; v5(v4, &v11); } if ( (a2[132] & 0x80000000) == 0 ) { v6 = v3[79]; v12 = 127; v11 = 25700; v9 = 32639; v7 = *(_DWORD *)(v6 + 1248); v10 = 127; if ( v7 == 1 && (unsigned __int8)GameObject::isColorObject((GameObject *)v6) && *(_BYTE *)(v6 + 1768) ) { v9 = v11; v10 = v12; } (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v6 + 1496LL))(v6, &v9); (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v6 + 1096LL))(v6, &v11); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source