// // EditorUI::enableButton from 0x7c0a14 to 0x7c0b7c (360 bytes) // // 3 xrefs: // > EditorUI::updateCreateMenu @ 0x7c2d08 // > EditorUI::updateCreateMenu @ 0x7c2d3c // > @ 0x9c628 // // 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::enableButton(__int64 a1, _DWORD *a2) { _QWORD *v3; // x21 __int64 v4; // x0 __int64 *v5; // x19 int v6; // w0 int v7; // w0 __int64 v8; // x1 void (__fastcall *v9)(__int64 *, _BYTE *); // x3 char v11; // [xsp+38h] [xbp+38h] BYREF char v12; // [xsp+39h] [xbp+39h] char v13; // [xsp+3Ah] [xbp+3Ah] _BYTE v14[8]; // [xsp+40h] [xbp+40h] BYREF v3 = (_QWORD *)(*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)a2 + 1072LL))(a2); v4 = v3[80]; if ( v4 || (v4 = v3[81]) != 0 ) (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v4 + 960LL))(v4, &qword_1142200); if ( (a2[132] & 0x80000000) == 0 ) { v5 = (__int64 *)v3[79]; v11 = -1; v12 = -1; v6 = *((_DWORD *)v5 + 312); v13 = -1; if ( v6 == 1 && (unsigned __int8)GameObject::isColorObject((GameObject *)v5) && *((_BYTE *)v5 + 1768) ) { v13 = -1; v11 = -56; v12 = -56; goto LABEL_9; } v7 = *((_DWORD *)v5 + 257); if ( v7 <= 1328 ) { if ( v7 >= 1327 || (unsigned int)(v7 - 918) <= 1 ) goto LABEL_8; } else if ( v7 == 1584 || v7 == 2012 ) { LABEL_8: v11 = 0; v12 = 0; v13 = 0; LABEL_9: (*(void (__fastcall **)(__int64 *, char *))(*v5 + 1496))(v5, &v11); v8 = *v5; v14[0] = -56; v14[1] = -56; v9 = *(void (__fastcall **)(__int64 *, _BYTE *))(v8 + 1096); v14[2] = -1; v9(v5, v14); return _stack_chk_guard; } if ( (unsigned int)GameObject::getMainColorMode((GameObject *)v5) != 1010 ) goto LABEL_9; goto LABEL_8; } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source