// // sub_18002B810 from 0x18002b810 to 0x18002b929 (281 bytes) // // 2 xrefs: // > sub_180029320 @ 0x180029874 // > @ 0x1801f77d0 // // 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_18002B810(__int64 a1, __int64 a2, _BYTE *a3, int *a4) { int v7; // r8d __int64 v8; // rax _BYTE *v9; // rdi char v11; // r8 char *v12; // rcx char *v13; // rax __int64 v14; // rdx char v15; // cl v7 = *(unsigned __int8 *)(a2 + 3) >> 6; if ( (*(_BYTE *)(a2 + 1) & 8) != 0 ) { v8 = 36; if ( v7 == 3 ) v8 = 21; } else { v8 = 13; if ( v7 != 3 ) v8 = 21; } v9 = (_BYTE *)(v8 + a2); if ( (unsigned int)sub_1800B7FB0(v8 + a2, "Xing", 4) ) return 19; v11 = v9[7]; v12 = v9 + 8; if ( (v11 & 1) != 0 ) { v12 = v9 + 12; if ( a4 ) { *a4 = (unsigned __int8)v9[11] | (((unsigned __int8)v9[10] | (((unsigned __int8)v9[9] | ((unsigned __int8)v9[8] << 8)) << 8)) << 8); *(_BYTE *)(a1 + 572) = 1; } } if ( (v11 & 4) != 0 && a3 ) { v13 = v12 + 4; v14 = 50; if ( (v11 & 2) == 0 ) v13 = v12; do { v15 = *v13; v13 += 2; *a3 = v15; a3 += 2; *(a3 - 1) = *(v13 - 1); --v14; } while ( v14 ); *(_BYTE *)(a1 + 573) = 1; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source