// // png_sig_cmp from 0x85d2b4 to 0x85d2f6 (66 bytes) // // 5 xrefs: // > cocos2d::CCImage::_initWithPngData @ 0x7eb8fe // > png_push_read_sig @ 0x8623ae // > png_push_read_sig @ 0x8623be // > png_read_sig @ 0x86c6be // > png_read_sig @ 0x86c6d0 // // 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 12:02:41 +0000 // 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