// // sub_77C1B8 from 0x77c1b8 to 0x77c204 (76 bytes) // // 4 xrefs: // > sub_77C204 @ 0x77c238 // > sub_781544 @ 0x781556 // > sub_78264E @ 0x782664 // > sub_78320C @ 0x7832d0 // // 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_77C1B8(int a1, int *a2) { int v2; // r3 int v3; // r2 _DWORD *v4; // r3 int result; // r0 v2 = *(_DWORD *)(a1 + 272); if ( !v2 ) { *(_DWORD *)(a1 + 280) = 1; return 0; } v3 = *a2; v4 = *(_DWORD **)(*(_DWORD *)(v2 + 4) + 8); if ( !v4 || *v4 != 47 ) return 0; if ( v3 > 0 ) { while ( 1 ) { v4 = (_DWORD *)v4[2]; --v3; if ( !v4 || *v4 != 47 ) break; if ( !v3 ) return v4[1]; } return 0; } result = 0; if ( !v3 ) return v4[1]; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source