// // sub_10047934C from 0x10047934c to 0x100479428 (220 bytes) // // 1 xrefs: // > sub_100478F0C @ 0x100479170 // // 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_10047934C(__int64 a1) { __int64 result; // x0 __int64 v3; // x20 int v4; // w8 __int64 i; // x23 unsigned __int8 *v6; // x21 int v7; // w9 __int64 v8; // x22 int v9; // w0 result = sub_1004EE03C(a1 + 376, 0xFFFFFFFFLL); if ( result ) { v3 = result; v4 = *(_DWORD *)(result + 16); if ( v4 >= 1 ) { for ( i = 0; i < v4; ++i ) { if ( *(_DWORD *)(*(_QWORD *)(v3 + 8) + 4 * i) ) { v6 = (unsigned __int8 *)(*(_QWORD *)(*(_QWORD *)v3 + 8 * i) + 1LL); v7 = **(unsigned __int8 **)(*(_QWORD *)v3 + 8 * i); if ( **(_BYTE **)(*(_QWORD *)v3 + 8 * i) ) { while ( v7 != 61 ) { v7 = *v6++; if ( !*(v6 - 1) ) goto LABEL_4; } *(v6 - 1) = 0; v8 = *(_QWORD *)(*(_QWORD *)v3 + 8 * i); v9 = sub_1004C6AA0(v6); result = sub_10045FEFC(a1, 3, v8, (__int64)v6, (unsigned int)(v9 + 1), 6, 0); if ( (_DWORD)result ) return result; v4 = *(_DWORD *)(v3 + 16); } } LABEL_4: ; } } return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source