// // GJItemIcon::darkenStoreItem from 0x1003a4d44 to 0x1003a4e80 (316 bytes) // // 6 xrefs: // > GJGarageLayer::setupSpecialPage @ 0x1003a2338 // > GJItemIcon::darkenStoreItem_1 @ 0x1003a2af4 // > GJItemIcon::darkenStoreItem_1 @ 0x1003a2b00 // > GJItemIcon::changeToLockedState @ 0x1003a2b28 // > ShardsPage::init @ 0x100449410 // > sub_10045F6C4 @ 0x1004603b4 // // 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:03:48 +0000 // __int64 __fastcall GJItemIcon::darkenStoreItem(__int64 a1, int a2) { int v3; // w21 __int64 v4; // x19 __int64 v5; // x0 __int64 result; // x0 __int64 v7; // x19 unsigned int v8; // w20 __int64 v9; // x0 v3 = *(unsigned __int8 *)(a1 + 620); v4 = *(_QWORD *)(a1 + 600); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v4 + 960LL))(v4, algn_10076DC6E); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 912LL))(v4, 120); if ( v3 == 1 ) { *(_BYTE *)(v4 + 660) = 0; SimplePlayer::updateColors(v4); sub_1003A42BC(v4); v5 = *(_QWORD *)(v4 + 640); if ( v5 ) { GJRobotSprite::updateColor01(v5, a2 & 0xFFFFFF); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(v4 + 640) + 912LL))(*(_QWORD *)(v4 + 640), 190); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(v4 + 640) + 1256LL))(*(_QWORD *)(v4 + 640)); } result = *(_QWORD *)(v4 + 648); if ( result ) { GJRobotSprite::updateColor01(result, a2 & 0xFFFFFF); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(v4 + 648) + 912LL))(*(_QWORD *)(v4 + 648), 190); return (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v4 + 648) + 1256LL))(*(_QWORD *)(v4 + 648)); } } else { result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 488LL))(v4); if ( result ) { v7 = result; result = sub_1002E757C(result); if ( (_DWORD)result ) { v8 = 0; do { v9 = sub_1002E75A0(v7, v8); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v9 + 344LL))(v9, 0); ++v8; result = sub_1002E757C(v7); } while ( v8 < (unsigned int)result ); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source