// // sub_4F0A0 from 0x4f0a0 to 0x4f0be (30 bytes) // // 3 xrefs: // > sub_4EFF6 @ 0x4f060 // > sub_51B52 @ 0x51b5e // > sub_51BB0 @ 0x51bbc // // 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 // _DWORD *__fastcall sub_4F0A0(_DWORD **a1, int a2) { _DWORD *result; // r0 int v4; // r1 if ( a2 < 0 ) return nullptr; result = *a1; if ( result == a1 ) return nullptr; v4 = a2 + 1; while ( --v4 >= 1 ) { result = (_DWORD *)*result; if ( result == a1 ) return nullptr; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source