// // sub_B0BAC8 from 0xb0bac8 to 0xb0bb44 (124 bytes) // // 2 xrefs: // > cocos2d::CCImage::_initWithPngData @ 0xb0bf48 // > cocos2d::CCImage::_initWithPngData @ 0xb0bf50 // // 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 sub_B0BAC8(__int64 a1, void *a2, size_t a3) { __int64 io_ptr; // x0 int v6; // w3 __int64 v7; // x19 __int64 result; // x0 io_ptr = png_get_io_ptr(); v6 = *(_DWORD *)(io_ptr + 12); v7 = io_ptr; if ( v6 + (int)a3 > *(_DWORD *)(io_ptr + 8) ) png_error(a1, "pngReaderCallback failed"); memcpy(a2, (const void *)(*(_QWORD *)io_ptr + v6), a3); result = *(unsigned int *)(v7 + 12); *(_DWORD *)(v7 + 12) = result + a3; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source