// // UILayer::onPause from 0x1404cdf50 to 0x1404ce05c (268 bytes) // // 4 xrefs: // > UILayer::handleKeypress @ 0x1404cdd7b // > UILayer::keyBackClicked @ 0x1404cdebb // > UILayer::init @ 0x1404ccd65 // > @ 0x1406dd4b4 // // 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=5 void UILayer::onPause(UILayer *a1, cocos2d::CCObject *a2) { __int64 v3; // rax __int64 v4; // rcx __int64 v5; // rax PlayLayer *v6; // rcx __int64 v7; // rax void *v8; // [rsp+40h] [rbp+18h] void *v9; // [rsp+40h] [rbp+18h] void *v10; // [rsp+40h] [rbp+18h] v3 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v8 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v8); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v3 = qword_1406C2ED8; } v4 = *(_QWORD *)(v3 + 520); if ( !v4 || *(int *)(v4 + 2156) <= 2 ) { *(_QWORD *)&a1->m_p1TouchId = -1; UILayer::resetUINodeState(a1); v5 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v9 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v9); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v5 = qword_1406C2ED8; } v6 = *(PlayLayer **)(v5 + 520); if ( v6 ) { PlayLayer::pauseGame(v6, 0); v7 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v10 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v10); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v7 = qword_1406C2ED8; } ++*(_DWORD *)(*(_QWORD *)(v7 + 520) + 2156LL); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source