// // PauseLayer::keyDown from 0x14037ed10 to 0x14037edd4 (196 bytes) // // 2 xrefs: // > @ 0x1405c6aa0 // > @ 0x1406d5df8 // // 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=1 void PauseLayer::keyDown(PauseLayer *a1, cocos2d::enumKeyCodes a2, double a3) { __int32 v4; // edx __int32 v5; // edx __int32 v6; // edx __int32 v7; // edx __int64 v8; // rax PauseLayer *v9; // rcx void *v10; // [rsp+48h] [rbp+20h] v4 = a2 - 27; if ( !v4 ) goto LABEL_12; v5 = v4 - 5; if ( !v5 ) { LABEL_6: PauseLayer::onResume((PauseLayer *)((char *)a1 - 344), nullptr); return; } v6 = v5 - 971; if ( v6 ) { v7 = v6 - 4; if ( v7 ) { if ( v7 != 2 ) return; goto LABEL_6; } v8 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v10 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v10); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v8 = qword_1406C2ED8; } v9 = (PauseLayer *)((char *)a1 - 344); if ( *(_BYTE *)(*(_QWORD *)(v8 + 520) + 12784LL) ) PauseLayer::onNormalMode(v9, nullptr); else PauseLayer::onPracticeMode(v9, nullptr); } else { LABEL_12: PauseLayer::tryQuit((PauseLayer *)((char *)a1 - 344), nullptr); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source