// // sub_1004A1A90 from 0x1004a1a90 to 0x1004a1b30 (160 bytes) // // 1 xrefs: // > ColorSelectPopup::colorValueChanged @ 0x1004a1a70 // // 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:06:02 +0000 // __int64 __fastcall sub_1004A1A90(__int64 result) { __int64 v1; // x19 __int64 v2; // x8 __int16 v3; // w9 unsigned int v4; // w20 __int64 v5; // x0 __int16 v6; // w8 __int64 v7; // x8 __int16 v8; // w9 if ( (*(_BYTE *)(result + 1172) & 1) == 0 ) { v1 = result; v2 = *(_QWORD *)(result + 680); if ( v2 ) { v3 = *(_WORD *)(result + 1112); *(_BYTE *)(v2 + 1450) = *(_BYTE *)(result + 1114); *(_WORD *)(v2 + 1448) = v3; } else { result = *(_QWORD *)(result + 688); if ( result ) { result = sub_1002E757C(result); if ( (_DWORD)result ) { v4 = 0; do { v5 = sub_1002E75A0(*(_QWORD *)(v1 + 688), v4); v6 = *(_WORD *)(v1 + 1112); *(_BYTE *)(v5 + 1450) = *(_BYTE *)(v1 + 1114); *(_WORD *)(v5 + 1448) = v6; ++v4; result = sub_1002E757C(*(_QWORD *)(v1 + 688)); } while ( v4 < (unsigned int)result ); } } else { v7 = *(_QWORD *)(v1 + 1144); if ( v7 ) { v8 = *(_WORD *)(v1 + 1112); *(_BYTE *)(v7 + 74) = *(_BYTE *)(v1 + 1114); *(_WORD *)(v7 + 72) = v8; } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source