//
// PlayLayer::updateDebugDrawSettings from 0x10013ec40 to 0x10013ecdc (156 bytes)
//
// 6 xrefs:
// > UILayer::handleAction @ 0x100051af0
// > UILayer::handleAction @ 0x100051d58
// > UILayer::handleAction @ 0x100051f5c
// > UILayer::handleAction @ 0x100052274
// > PlayLayer::init @ 0x10013e740
// > sub_100166CC4 @ 0x100166f2c
//
// 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 10:59:30 +0000
//
__int64 __fastcall PlayLayer::updateDebugDrawSettings(__int64 a1)
{
_BYTE *v2; // x20
__int64 v3; // x0
__int64 v4; // x0
__int64 v5; // x0
__int64 v6; // x0
__int64 v7; // x0
__int64 v8; // x0
__int64 v9; // x0
__int64 v10; // x0
__int64 v11; // x0
__int64 v12; // x0
__int64 v13; // x0
__n128 GameVariable; // q0
char v15; // w0
v2 = (_BYTE *)(a1 + 12288);
v3 = GameManager::sharedState(a1);
GameManager::getGameVariable(v3, "0166");
v2[1552] = v4;
v5 = GameManager::sharedState(v4);
GameManager::getGameVariable(v5, "0171");
v2[1553] = v6;
v7 = GameManager::sharedState(v6);
GameManager::getGameVariable(v7, "0179");
v2[1554] = v8;
v9 = GameManager::sharedState(v8);
GameManager::getGameVariable(v9, "0213");
v2[1555] = v10;
v11 = GameManager::sharedState(v10);
GameManager::getGameVariable(v11, "0214");
v2[1556] = v12;
v13 = GameManager::sharedState(v12);
GameVariable = GameManager::getGameVariable(v13, "0217");
v2[1557] = v15;
return sub_1001425DC(a1, GameVariable);
}