// // PlayLayer::updateDebugDrawSettings from 0x10007a220 to 0x10007a337 (279 bytes) // // 7 xrefs: // > PlayLayer::init @ 0x100079bf6 // > GameOptionsLayer::didToggle @ 0x10029f335 // > UILayer::handleAction @ 0x1004c3bf8 // > UILayer::handleAction @ 0x1004c3f50 // > UILayer::handleAction @ 0x1004c4228 // > UILayer::handleAction @ 0x1004c4654 // > sub_100602EF0 @ 0x1006031b1 // // 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:19:59 +0000 // __int64 __fastcall PlayLayer::updateDebugDrawSettings(_BYTE *a1, __int64 a2, __int64 a3) { __int64 v4; // rax __int64 v5; // rdi __int64 v6; // rdx __int64 v7; // rax __int64 v8; // rdi __int64 v9; // rdx __int64 v10; // rax __int64 v11; // rdi __int64 v12; // rdx __int64 v13; // rax __int64 v14; // rdi __int64 v15; // rdx __int64 v16; // rax __int64 v17; // rdi __int64 v18; // rdx double v19; // xmm0_8 __int64 v20; // rax unsigned __int8 v21; // r14 __int64 result; // rax GameManager::sharedState(a1, a2, a3); v5 = v4; a1[13840] = GameManager::getGameVariable(v4, "0166"); GameManager::sharedState(v5, "0166", v6); v8 = v7; a1[13841] = GameManager::getGameVariable(v7, "0171"); GameManager::sharedState(v8, "0171", v9); v11 = v10; a1[13842] = GameManager::getGameVariable(v10, "0179"); GameManager::sharedState(v11, "0179", v12); v14 = v13; a1[13843] = GameManager::getGameVariable(v13, "0213"); GameManager::sharedState(v14, "0213", v15); v17 = v16; a1[13844] = GameManager::getGameVariable(v16, "0214"); *(_QWORD *)&v19 = GameManager::sharedState(v17, "0214", v18).u64[0]; a1[13845] = GameManager::getGameVariable(v20, "0217"); v21 = 1; if ( !(*(unsigned __int8 (__fastcall **)(_BYTE *, double))(*(_QWORD *)a1 + 1312LL))(a1, v19) ) v21 = (*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)a1 + 1320LL))(a1); result = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)a1 + 1727) + 352LL))(*((_QWORD *)a1 + 1727)); if ( v21 != (_BYTE)result ) { cocos2d::CCDrawNode::clear(*((_QWORD *)a1 + 1727)); result = (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)a1 + 1727) + 344LL))(*((_QWORD *)a1 + 1727), v21); if ( v21 ) return (*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)a1 + 1304LL))(a1); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source