//
// sub_1000A9090 from 0x1000a9090 to 0x1000a90c6 (54 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::spawnGroupPreview @ 0x1000c27f0
// > DrawGridLayer::draw @ 0x1000d71ea
//
// 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 12:20:16 +0000
//
__int64 __fastcall sub_1000A9090(_QWORD *a1, __int64 *a2)
{
__int64 v2; // rbx
int v3; // r14d
v2 = *a2;
v3 = (int)*(float *)(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)*a1 + 192LL))(*a1);
return (unsigned int)(v3 - (int)*(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 192LL))(v2));
}