// // sub_51B12 from 0x51b12 to 0x51b52 (64 bytes) // // 1 xrefs: // > sub_588D0 @ 0x588f6 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:40:43 +0000 // 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