//
// __AdjustPointer from 0x180124c54 to 0x180124c77 (35 bytes)
//
// 4 xrefs:
// > sub_180125984 @ 0x180125aa7
// > sub_180125984 @ 0x180125af2
// > BuildCatchObjectInternal<__FrameHandler3> @ 0x180125bc9
// > BuildCatchObjectInternal<__FrameHandler3> @ 0x180125c00
//
// 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
//
__int64 __fastcall _AdjustPointer(__int64 a1, int *a2)
{
__int64 result; // rax
result = a1 + *a2;
if ( a2[1] >= 0 )
result += a2[1] + (__int64)*(int *)(a2[2] + *(_QWORD *)(a2[1] + a1));
return result;
}