// // png_sig_cmp from 0x64d234 to 0x64d276 (66 bytes) // // 5 xrefs: // > cocos2d::CCImage::_initWithPngData @ 0x5e1ade // > png_push_read_sig @ 0x65232e // > png_push_read_sig @ 0x65233e // > png_read_sig @ 0x65c63e // > png_read_sig @ 0x65c650 // // 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 // int __fastcall png_sig_cmp(int a1, unsigned int a2, size_t a3) { _DWORD v4[3]; // [sp+0h] [bp-Ch] BYREF v4[0] = 1196314761; v4[1] = 169478669; if ( a3 > 8 ) { a3 = 8; } else if ( !a3 ) { return -1; } if ( a2 > 7 ) return -1; if ( a3 + a2 > 8 ) a3 = 8 - a2; return memcmp((const void *)(a1 + a2), (char *)v4 + a2, a3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source