// // sub_51BE4 from 0x51be4 to 0x51c60 (124 bytes) // // 3 xrefs: // > @ 0x51be2 // > sub_62360 @ 0x623e0 // > sub_62360 @ 0x6257c // // 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 // int __fastcall sub_51BE4(int a1, _DWORD *a2, _DWORD *a3) { int result; // r0 int v7; // r1 _DWORD *v8; // r0 _DWORD *v9; // r4 result = 31; if ( a2 && a3 ) { v7 = a2[14]; if ( v7 <= 224 ) v7 = 224; v8 = (_DWORD *)sub_BD580( *(int *)((char *)&dword_14C + (_DWORD)off_E8000), v7, "../../src/fmod_pluginfactory.cpp", 1514, 0); if ( v8 ) { v8[54] = 0; v9 = v8; v8[47] = 0; v8[5] = 0; v8[42] = 0; v8[43] = 0; v8[44] = 0; v8[45] = 0; qmemcpy(v8 + 7, a2, 0x7Cu); *a3 = v9; if ( !v9[19] ) v9[19] = sub_51C70; v9[2] = *(_DWORD *)(a1 + 624) + 69140; return 0; } else { return 38; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source