// // cocos2d::tgaLoadHeader from 0xb21cc4 to 0xb21d24 (96 bytes) // // 2 xrefs: // > cocos2d::tgaLoad @ 0xb21f5c // > @ 0x674e8 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall cocos2d::tgaLoadHeader(__int64 a1, unsigned __int64 a2, __int64 a3) { if ( a2 <= 2 ) return 0; *(_BYTE *)(a3 + 4) = *(_BYTE *)(a1 + 2); if ( a2 <= 0x10 ) return 0; *(_WORD *)(a3 + 6) = *(_WORD *)(a1 + 12); *(_WORD *)(a3 + 8) = *(_WORD *)(a1 + 14); *(_BYTE *)(a3 + 5) = *(_BYTE *)(a1 + 16); if ( a2 == 17 ) return 0; *(_DWORD *)(a3 + 24) = (*(_BYTE *)(a1 + 17) & 0x20) != 0; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source