// // sub_100448854 from 0x100448854 to 0x1004489a8 (340 bytes) // // 1 xrefs: // > @ 0x10084d398 // // 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_100448854(__int64 a1, int a2) { __int64 v4; // x19 __int64 v5; // x22 __int64 i; // x8 __int64 v7; // x11 _BYTE *v8; // x10 __int64 v9; // x21 __int64 v11; // x23 int v12; // w8 __int64 v13; // x0 int v14; // [xsp+Ch] [xbp-44h] BYREF v4 = qword_100886EA0; sub_1004B5C70(qword_100886EA0); v5 = qword_100886E60[*(int *)(a1 + 48)]; if ( v5 ) { if ( !a2 ) { v11 = 92; while ( 1 ) { if ( !*(_DWORD *)(v5 + v11) ) { v14 = 0; v13 = (*(__int64 (__fastcall **)(__int64, int *, _QWORD))(*(_QWORD *)(a1 + 40) + 56LL))(a1, &v14, 0); if ( (_DWORD)v13 ) { v9 = v13; goto LABEL_7; } v12 = 1; switch ( v14 ) { case 2: break; case 3: v12 = 2; break; case 4: case 5: case 6: v12 = v14; break; case 7: v12 = 8; break; case 8: v12 = 12; break; default: if ( v14 == 1000 ) v12 = 2; else v12 = 0; break; } *(_DWORD *)(v5 + v11) = v12; } v11 += 112; if ( v11 == 3676 ) goto LABEL_6; } } if ( a2 == 1 ) { for ( i = 0; i != 3584; i += 112 ) { v7 = *(int *)(v5 + i + 108); *(_DWORD *)(v5 + i + 108) = 1 - v7; v8 = (_BYTE *)(v5 + i - v7); v8[101] = 0; v8[103] = 0; v8[105] = 0; } } } LABEL_6: v9 = 0; LABEL_7: sub_1004B5CA0(v4); return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source