// // PlayLayer::toggleDebugDraw from 0x6f3520 to 0x6f35ac (140 bytes) // // 6 xrefs: // > PlayLayer::updateDebugDrawSettings @ 0x6f3644 // > PlayLayer::destroyPlayer @ 0x6ff7ac // > PlayLayer::togglePracticeMode @ 0x70349c // > PlayLayer::togglePracticeMode @ 0x703504 // > PlayLayer::resetLevel @ 0x711138 // > @ 0xd23b8 // // 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:51:49 +0000 // __int64 __fastcall PlayLayer::toggleDebugDraw(cocos2d::CCDrawNode **this) { unsigned int shouldDebugDraw; // w20 __int64 result; // x0 shouldDebugDraw = (unsigned __int8)PlayLayer::shouldDebugDraw((PlayLayer *)this); result = (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)*(this + 1727) + 352LL))(*(this + 1727)); if ( shouldDebugDraw != (unsigned __int8)result ) { cocos2d::CCDrawNode::clear(*(this + 1727)); result = (*(__int64 (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*(this + 1727) + 344LL))( *(this + 1727), shouldDebugDraw); if ( shouldDebugDraw ) return (*((__int64 (__fastcall **)(cocos2d::CCDrawNode **))*this + 163))(this); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source