//
// ObjectToolbox::intKeyToFrame from 0x1404c9ad0 to 0x1404c9af8 (40 bytes)
//
// 4 xrefs:
// > GameObject::setupCustomSprites @ 0x1402ae994
// > GameObject::setupCustomSprites @ 0x1402b2748
// > GameObject::setupCustomSprites @ 0x1402b79a9
// > ??> @ 0x14092957c
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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:32:57 +0000
//
_QWORD *__fastcall ObjectToolbox::intKeyToFrame(__int64 a1, int a2)
{
_QWORD *result; // rax
int v3; // [rsp+38h] [rbp+10h] BYREF
v3 = a2;
result = (_QWORD *)sub_1402D6130((__int64 *)(a1 + 320), &v3);
if ( result[3] > 0xFu )
return (_QWORD *)*result;
return result;
}