// // sub_676810 from 0x676810 to 0x6768b6 (166 bytes) // // 2 xrefs: // > jinit_color_deconverter @ 0x677632 // > jinit_color_deconverter @ 0x677926 // // 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 // int __fastcall sub_676810(int a1) { _DWORD *v2; // r6 char *v3; // r5 int v4; // r0 int (__fastcall **v5)(int, int, int); // r3 int v6; // r4 int v7; // r0 int v8; // r1 int v9; // r2 int v10; // r3 int v11; // lr int v12; // r7 int result; // r0 v2 = *(_DWORD **)(a1 + 480); v3 = (char *)&loc_2C8C80; v2[2] = (**(int (***)(void))(a1 + 4))(); v2[3] = (**(int (__fastcall ***)(int, int, int))(a1 + 4))(a1, 1, 1024); v2[4] = (**(int (__fastcall ***)(int, int, int))(a1 + 4))(a1, 1, 1024); v4 = a1; v5 = *(int (__fastcall ***)(int, int, int))(a1 + 4); v6 = 5990656; v7 = (*v5)(v4, 1, 1024); v8 = -14831872; v9 = -11728000; v10 = 0; v2[5] = v7; do { v11 = v9 >> 16; v12 = v8 >> 16; v9 += 91881; *(_DWORD *)(v2[2] + v10) = v11; v8 += 116130; *(_DWORD *)(v2[3] + v10) = v12; *(_DWORD *)(v2[4] + v10) = v6; result = v2[5]; v6 -= 46802; *(_DWORD *)(result + v10) = v3; v10 += 4; v3 -= 22553; } while ( v10 != 1024 ); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source