// // sub_77C5A8 from 0x77c5a8 to 0x77c626 (126 bytes) // // 4 xrefs: // > sub_77EFB0 @ 0x77f304 // > sub_77EFB0 @ 0x77f328 // > sub_77EFB0 @ 0x77f34c // > sub_77EFB0 @ 0x77f35a // // 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_77C5A8(int a1, int a2) { _BYTE *v3; // r3 _BYTE *v5; // r3 _BYTE *v6; // r2 int v7; // r1 int v8; // r3 if ( !a2 ) { v3 = *(_BYTE **)(a1 + 12); if ( !*v3 ) return 0; *(_DWORD *)(a1 + 12) = v3 + 1; a2 = (unsigned __int8)*v3; } if ( a2 != 104 ) { if ( a2 != 118 ) return 0; sub_77C164((unsigned __int8 **)(a1 + 12)); v5 = *(_BYTE **)(a1 + 12); if ( *v5 != 95 ) return 0; *(_DWORD *)(a1 + 12) = v5 + 1; sub_77C164((unsigned __int8 **)(a1 + 12)); v6 = *(_BYTE **)(a1 + 12); goto LABEL_9; } v6 = *(_BYTE **)(a1 + 12); v8 = (unsigned __int8)*v6; if ( v8 == 110 ) { *(_DWORD *)(a1 + 12) = v6 + 1; LOBYTE(v8) = *++v6; } if ( (unsigned __int8)(v8 - 48) > 9u ) { LABEL_9: v7 = (unsigned __int8)*v6; goto LABEL_10; } do { *(_DWORD *)(a1 + 12) = ++v6; v7 = (unsigned __int8)*v6; } while ( (unsigned __int8)(*v6 - 48) <= 9u ); LABEL_10: if ( v7 != 95 ) return 0; *(_DWORD *)(a1 + 12) = v6 + 1; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source