//
// DrawGridLayer::timeForPos from 0x7923b4 to 0x792474 (192 bytes)
//
// 8 xrefs:
// > LevelEditorLayer::timeForPos @ 0x7924d8
// > LevelEditorLayer::updateGameObjects @ 0x79e3e4
// > LevelEditorLayer::updateGameObjects @ 0x79e9c4
// > LevelEditorLayer::updateLevelSaveInfo @ 0x7a4968
// > EditorUI::onPlayback @ 0x7c28dc
// > EditorUI::onPlayback @ 0x7c2918
// > EditorPauseLayer::init @ 0x8b74bc
// > ??> @ 0x84328
//
// This function is hookable on this platform (idp: arm, 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:53:30 +0000
//
__int64 __fastcall DrawGridLayer::timeForPos(
__int64 a1,
const cocos2d::CCPoint *a2,
int a3,
int a4,
unsigned __int8 a5,
unsigned __int8 a6,
char a7,
int a8)
{
float v16; // [xsp+70h] [xbp+60h] BYREF
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v16, a2);
LevelTools::timeForPos(
&v16,
*(cocos2d::CCArray **)(a1 + 560),
*(_DWORD *)(*(_QWORD *)(*(_QWORD *)(a1 + 496) + 3272LL) + 332LL),
a3,
a4,
a5,
*(_BYTE *)(*(_QWORD *)(*(_QWORD *)(a1 + 496) + 3272LL) + 341LL),
a6,
a7,
a8);
return _stack_chk_guard;
}