// // sub_1004F8F70 from 0x1004f8f70 to 0x1004f9060 (240 bytes) // // 4 xrefs: // > sub_1004B9FAC @ 0x1004b9fdc // > sub_1004B9FAC @ 0x1004b9fec // > sub_1004BA1C8 @ 0x1004ba1ec // > sub_1004BA1C8 @ 0x1004ba1fc // // 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_1004F8F70(int a1, int a2, int a3) { pthread_mutex_t *v6; // x19 _QWORD *v7; // x24 _QWORD *i; // x25 __int64 v9; // x22 __int64 v10; // x0 __int64 v11; // x23 v6 = (pthread_mutex_t *)qword_1008B1648; sub_1004B5C70((pthread_mutex_t *)qword_1008B1648); v7 = &off_100853860 + 3 * a1; for ( i = (_QWORD *)*v7; i != v7; i = (_QWORD *)*i ) { v9 = i[2]; if ( !*(_BYTE *)(v9 + 505) ) { if ( a2 ) { AudioQueueDispose(*(AudioQueueRef *)(v9 + 480), 1u); *(_QWORD *)(v9 + 480) = 0; } if ( a3 ) { v10 = sub_1004F9060((void *)v9); if ( (_DWORD)v10 || (v10 = sub_1004F9324(v9), (_DWORD)v10) ) { v11 = v10; goto LABEL_12; } } } } v11 = 0; LABEL_12: sub_1004B5CA0(v6); return v11; }
GD Web Decomp Icon

GD Web Decomp

Raw Source