// // GJItemIcon::darkenStoreItem from 0x50ba24 to 0x50bafc (216 bytes) // // 3 xrefs: // > GJItemIcon::darkenStoreItem @ 0x50bb26 // > ShardsPage::init @ 0x62c18e // > GJPathPage::init @ 0x6d4008 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:51:28 +0000 // unsigned int __fastcall GJItemIcon::darkenStoreItem(int a1, int a2, int a3) { _DWORD *v3; // r4 unsigned int v4; // r5 _DWORD *v5; // r0 void (__fastcall *v6)(_DWORD *); // r3 int v7; // r0 unsigned int result; // r0 cocos2d::CCArray *v9; // r4 int v10; // r0 v4 = *(unsigned __int8 *)(a1 + 524); v5 = *(_DWORD **)(a1 + 508); v3 = v5; v6 = *(void (__fastcall **)(_DWORD *))(*v5 + 480); if ( v4 ) { v6(v5); (*(void (__fastcall **)(_DWORD *, int))(*v3 + 456))(v3, 120); *((_BYTE *)v3 + 540) = 0; SimplePlayer::updateColors((SimplePlayer *)v3); SimplePlayer::hideSecondary((SimplePlayer *)v3); v7 = v3[132]; if ( v7 ) { GJRobotSprite::updateColor01(v7, a2); (*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)v3[132] + 456))(v3[132], 190); (*(void (__fastcall **)(_DWORD))(*(_DWORD *)v3[132] + 628))(v3[132]); } result = v3[133]; if ( result ) { GJRobotSprite::updateColor01(result, a2); (*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)v3[133] + 456))(v3[133], 190); return (*(int (__fastcall **)(_DWORD))(*(_DWORD *)v3[133] + 628))(v3[133]); } } else { ((void (__fastcall *)(_DWORD *, void *, int))v6)(v5, &unk_BECB73, a3); (*(void (__fastcall **)(_DWORD *, int))(*v3 + 456))(v3, 120); result = (*(int (__fastcall **)(_DWORD *))(*v3 + 244))(v3); v9 = (cocos2d::CCArray *)result; if ( result ) { while ( 1 ) { result = cocos2d::CCArray::count(v9); if ( v4 >= result ) break; v10 = cocos2d::CCArray::objectAtIndex(v9, v4++); (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v10 + 172))(v10, 0); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source