// // sub_872AE8 from 0x872ae8 to 0x872b80 (152 bytes) // // 1 xrefs: // > @ 0xa39de8 // // 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 // bool __fastcall sub_872AE8(int a1, _DWORD *a2, int a3, _DWORD *a4) { int v5; // r5 int v6; // r0 _BOOL4 result; // r0 if ( !a2 ) return 1; v5 = *a2; switch ( a1 ) { case 10: if ( CMS_stream(a4 + 2, *a2) > 0 ) goto LABEL_4; result = 0; break; case 11: case 13: result = CMS_dataFinal(*a2, a4[1]) > 0; break; case 12: LABEL_4: v6 = CMS_dataInit(v5, *a4); a4[1] = v6; result = v6 != 0; break; default: result = 1; break; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source