// // PauseLayer::onEdit from 0x1003c2fe0 to 0x1003c30b8 (216 bytes) // // 3 xrefs: // > PauseLayer::onTryEdit @ 0x1003c1051 // > PauseLayer::FLAlert_Clicked @ 0x1003c323c // > sub_1003C3250 @ 0x1003c32a2 // // 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:29:33 +0000 // __int64 __fastcall PauseLayer::onEdit(__int64 a1, __int64 a2, double a3) { __int64 result; // rax __int64 v4; // rax __int64 v5; // rax __int64 v6; // rax __int64 v7; // rax _OWORD *v8; // r14 __int64 v9; // rax __int64 v10; // rax if ( *(_DWORD *)(*(_QWORD *)(*(_QWORD *)(GameManager::sharedState() + 544) + 1936LL) + 1140LL) == 2 || (result = GameManager::sharedState(), *(_DWORD *)(result + 1032) > *(_DWORD *)(result + 1036)) ) { v4 = cocos2d::CCDirector::sharedDirector(a1, a2); *(_DWORD *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 128LL))(v4) + 56) = 1065353216; v5 = GameManager::sharedState(); PlayLayer::stopRecording(*(_QWORD *)(v5 + 544)); v6 = GameManager::sharedState(); cocos2d::CCNode::stopAllActions(*(_QWORD *)(v6 + 544)); v7 = GameManager::sharedState(); cocos2d::CCNode::unscheduleAllSelectors(*(_QWORD *)(v7 + 544)); GameManager::sharedState(); GJBaseGameLayer::resetAudio(a3); v8 = cocos2d::CCDelayTime::create((__m128)0LL); v9 = cocos2d::CCCallFunc::create(a1, PauseLayer::goEdit, 0); v10 = sub_10039EB60((__int64)v8, v9, 0); return cocos2d::CCNode::runAction(a1, v10); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source