// // PlayLayer::updateDebugDrawSettings from 0x1403a7800 to 0x1403a78fd (253 bytes) // // 4 xrefs: // > GameOptionsLayer::didToggle @ 0x1402a0922 // > PlayLayer::init @ 0x1403a6300 // > UILayer::handleKeypress @ 0x1404cdb37 // > @ 0x1406d6b60 // // 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 // // Hidden C++ exception states: #wind=3 void PlayLayer::updateDebugDrawSettings(PlayLayer *a1) { GameManager *v2; // rcx GameManager *v3; // rcx GameManager *v4; // rcx void *v5; // [rsp+30h] [rbp+8h] void *v6; // [rsp+30h] [rbp+8h] void *v7; // [rsp+30h] [rbp+8h] v2 = (GameManager *)qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v5 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v5); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v2 = (GameManager *)qword_1406C2ED8; } a1->m_isDebugDrawEnabled = GameManager::getGameVariable(v2, "0166"); v3 = (GameManager *)qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v6 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v6); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v3 = (GameManager *)qword_1406C2ED8; } a1->m_disablePlayerHitbox = GameManager::getGameVariable(v3, "0171"); v4 = (GameManager *)qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v7 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v7); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v4 = (GameManager *)qword_1406C2ED8; } a1->m_hitboxesOnDeath = GameManager::getGameVariable(v4, "0179"); PlayLayer::toggleDebugDraw(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source