// // sub_51B12 from 0x51b12 to 0x51b52 (64 bytes) // // 1 xrefs: // > sub_588D0 @ 0x588f6 // // 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_51B12(int a1, int a2, int a3, int *a4) { int result; // r0 int *v9; // r0 result = 31; if ( a3 >= 0 && a4 ) { v9 = (int *)sub_51802(a1, a2, a3, (int)a4); if ( v9 ) { if ( *v9 > a3 ) { a2 = *(_DWORD *)(v9[1] + 4 * a3); LABEL_8: *a4 = a2; return 0; } } else if ( !a3 ) { goto LABEL_8; } return 31; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source