// // ButtonSprite::setColor from 0x100068804 to 0x100068884 (128 bytes) // // 14 xrefs: // > sub_100067624 @ 0x1000676fc // > sub_100088FD4 @ 0x1000890b0 // > sub_10011DE5C @ 0x10011dec4 // > EditorUI::updateEditButtonColor @ 0x10015fec0 // > EditorUI::updateDeleteButtons @ 0x100187b00 // > EditorUI::updateDeleteButtons @ 0x100187b54 // > EditorUI::updateDeleteButtons @ 0x100187bb8 // > sub_10024658C @ 0x100246668 // > EditorUI::updateButtons @ 0x100472fc8 // > EditorUI::toggleSpecialEditButtons @ 0x100473e84 // > sub_1004A8E14 @ 0x1004a8f0c // > sub_1004FB318 @ 0x1004fb370 // > sub_10050C060 @ 0x10050c0bc // > sub_10051F2B8 @ 0x10051f394 // // 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 10:57:57 +0000 // __int64 __fastcall ButtonSprite::setColor(_QWORD *a1, int a2) { __int64 v3; // x0 __int64 v4; // x0 __int64 result; // x0 __int16 v6; // [xsp+Ch] [xbp-14h] BYREF char v7; // [xsp+Eh] [xbp-12h] v6 = a2; v7 = BYTE2(a2); v3 = a1[78]; if ( v3 ) (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v3 + 1072LL))(v3, &v6); v4 = a1[79]; if ( v4 ) (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v4 + 960LL))(v4, &v6); result = a1[81]; if ( result ) return (*(__int64 (__fastcall **)(__int64, __int16 *))(*(_QWORD *)result + 960LL))(result, &v6); result = a1[80]; if ( result ) return (*(__int64 (__fastcall **)(__int64, __int16 *))(*(_QWORD *)result + 960LL))(result, &v6); return result; }