// // sub_1004C371C from 0x1004c371c to 0x1004c37b4 (152 bytes) // // 2 xrefs: // > sub_1004C35BC @ 0x1004c36fc // > sub_1004CEE58 @ 0x1004cf10c // // 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_1004C371C(int *a1) { int *v2; // x1 _QWORD *v3; // x9 v2 = *((int **)a1 + 12); if ( v2 ) sub_1004B1970(*((_QWORD *)off_1008524C8 + 54), v2); sub_1004B5C70(*((pthread_mutex_t **)off_1008524C8 + 38)); v3 = *((_QWORD **)a1 + 1); *v3 = *(_QWORD *)a1; *(_QWORD *)(*(_QWORD *)a1 + 8LL) = v3; *(_QWORD *)a1 = a1; *((_QWORD *)a1 + 1) = a1; sub_1004B5CA0(*((pthread_mutex_t **)off_1008524C8 + 38)); sub_1004B1970(*((_QWORD *)off_1008524C8 + 54), a1); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source