// // png_set_tRNS_to_alpha from 0xbd8704 to 0xbd8740 (60 bytes) // // 3 xrefs: // > cocos2d::CCImage::_initWithPngData @ 0xb0c2ac // > sub_BD1BEC @ 0xbd28c4 // > @ 0x35f40 // // 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 png_set_tRNS_to_alpha(__int64 result) { __int64 v1; // x1 int v2; // w2 v1 = result; if ( result ) { v2 = *(_DWORD *)(result + 360); if ( (v2 & 0x40) != 0 ) { return png_app_error(result, "invalid after png_start_read_image or png_read_update_info"); } else { result = *(_DWORD *)(result + 364) | 0x2001000u; *(_DWORD *)(v1 + 360) = v2 | 0x4000; *(_DWORD *)(v1 + 364) = result; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source