// // png_set_palette_to_rgb from 0xe4e854 to 0xe4e890 (60 bytes) // // 2 xrefs: // > cocos2d::CCImage::_initWithPngData @ 0xd7d2a0 // > @ 0xdbeb0 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:10:09 +0000 // __int64 __fastcall png_set_palette_to_rgb(__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