// // PauseLayer::onEdit from 0x1001c0fa4 to 0x1001c1080 (220 bytes) // // 2 xrefs: // > PauseLayer::onTryEdit @ 0x1001bf6e8 // > PauseLayer::FLAlert_Clicked @ 0x1001c11fc // // 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 11:00:15 +0000 // double __fastcall PauseLayer::onEdit(__int64 a1) { __int64 v2; // x0 double result; // d0 __int64 v4; // x0 __int64 v5; // x0 __int64 v6; // x0 __int64 v7; // x0 __int64 v8; // x0 __int64 v9; // x0 __int64 v10; // x0 __int64 v11; // x0 __int64 v12; // x0 __int64 v13; // x20 __int64 v14; // x1 v2 = GameManager::sharedState(a1); if ( *(_DWORD *)(*(_QWORD *)(*(_QWORD *)(v2 + 544) + 1936LL) + 1140LL) == 2 || (v2 = GameManager::sharedState(v2), *(_DWORD *)(v2 + 1032) > *(_DWORD *)(v2 + 1036)) ) { v4 = cocos2d::CCDirector::sharedDirector(v2); v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 128LL))(v4); *(_DWORD *)(v5 + 56) = 1065353216; v6 = GameManager::sharedState(v5); v7 = PlayLayer::stopRecording(*(_QWORD *)(v6 + 544)); v8 = GameManager::sharedState(v7); v9 = cocos2d::CCNode::stopAllActions(*(_QWORD *)(v8 + 544)); v10 = GameManager::sharedState(v9); v11 = cocos2d::CCNode::unscheduleAllSelectors(*(_QWORD *)(v10 + 544)); v12 = GameManager::sharedState(v11); GJBaseGameLayer::resetAudio(*(_QWORD *)(v12 + 544)); v13 = cocos2d::CCDelayTime::create(0.0); cocos2d::CCCallFunc::create(a1, PauseLayer::goEdit, 0); v14 = sub_10021D420(v13); *(_QWORD *)&result = cocos2d::CCNode::runAction(a1, v14).n128_u64[0]; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source