// // GJChestSprite::setColor from 0x100202fb0 to 0x100203072 (194 bytes) // // 2 xrefs: // > sub_100203080 @ 0x10020308c // > @ 0x100ae5040 // // This function is hookable on this platform (idp: pc, 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 12:26:52 +0000 // __int64 __fastcall GJChestSprite::setColor(_BYTE *a1, __int64 a2) { __int64 v2; // rax __int64 result; // rax __int64 v4; // rbx __int64 v5; // rax _DWORD v6[3]; // [rsp+0h] [rbp-Ch] BYREF v6[0] = HIDWORD(v2); BYTE2(v6[0]) = *(_BYTE *)(a2 + 2); LOWORD(v6[0]) = *(_WORD *)a2; if ( a1[604] == 1 ) { BYTE2(v6[0]) = (int)(float)((float)BYTE2(v6[0]) * 0.40000001); LOWORD(v6[0]) = ((unsigned __int8)(int)(float)((float)BYTE1(v6[0]) * 0.40000001) << 8) | (unsigned __int8)(int)(float)((float)LOBYTE(v6[0]) * 0.40000001); } cocos2d::CCSprite::setColor(a1, v6); result = (*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)a1 + 488LL))(a1); if ( result ) { v4 = result; result = sub_1007FEF90(result); if ( (_DWORD)result ) { v5 = sub_1007FEFE0(v4, 0); return (*(__int64 (__fastcall **)(__int64, _DWORD *))(*(_QWORD *)v5 + 960LL))(v5, v6); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source