// // GJChestSprite::setColor from 0x61a0e4 to 0x61a19c (184 bytes) // // 1 xrefs: // > `non-virtual thunk to'GJChestSprite::setColor @ 0x61a1a8 // // 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:54:58 +0000 // cocos2d::CCArray *__fastcall GJChestSprite::setColor(unsigned __int8 *a1, unsigned __int16 *a2) { unsigned int v3; // r2 unsigned int v4; // r3 cocos2d::CCArray *result; // r0 cocos2d::CCArray *v6; // r6 int v7; // r0 _DWORD v8[2]; // [sp+0h] [bp-8h] BYREF v8[0] = a1; v8[1] = a2; v3 = *a2; LOWORD(v8[0]) = *a2; BYTE2(v8[0]) = *((_BYTE *)a2 + 2); v4 = a1[516]; if ( a1[516] ) { v3 = (unsigned int)(float)((float)BYTE1(v8[0]) * 0.4); BYTE1(v8[0]) = v3; v4 = (unsigned int)(float)((float)BYTE2(v8[0]) * 0.4); BYTE2(v8[0]) = v4; LOBYTE(v8[0]) = (unsigned int)(float)((float)LOBYTE(v8[0]) * 0.4); } cocos2d::CCSprite::setColor(a1, v8, v3, v4); result = (cocos2d::CCArray *)(*(int (__fastcall **)(unsigned __int8 *))(*(_DWORD *)a1 + 244))(a1); v6 = result; if ( result ) { result = (cocos2d::CCArray *)cocos2d::CCArray::count(result); if ( result ) { v7 = cocos2d::CCArray::objectAtIndex(v6, 0); return (cocos2d::CCArray *)(*(int (__fastcall **)(int, _DWORD *))(*(_DWORD *)v7 + 480))(v7, v8); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source