// // sub_100405110 from 0x100405110 to 0x100405240 (304 bytes) // // 2 xrefs: // > EditorUI::handleAction @ 0x10016271c // > EditorUI::onPlaytest @ 0x100471494 // // 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:04:40 +0000 // __int64 __fastcall sub_100405110(__int64 a1) { __int64 v2; // x20 __int64 v3; // x0 __int64 v4; // x0 float v5; // s0 v2 = a1 + 12288; v3 = cocos2d::CCDirector::sharedDirector(); *(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 192LL))(v3) + 132) = 1; UILayer::editorPlaytest(*(_QWORD *)(a1 + 13288), 1); if ( (*(_BYTE *)(v2 + 1736) & 1) == 0 ) { *(_BYTE *)(v2 + 1736) = 1; (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1344LL))(a1, *(_QWORD *)(a1 + 12240)); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1344LL))(a1, *(_QWORD *)(a1 + 12248)); } if ( *(_BYTE *)(v2 + 1729) == 1 ) { v4 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::resetSmoothFixCounter(v4); *(_BYTE *)(cocos2d::CCDirector::sharedDirector() + 178) = 1; } v5 = (*(float (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 3920) + 168LL))(*(_QWORD *)(a1 + 3920)); *(float *)(a1 + 14212) = v5; (*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 3920) + 160LL))(*(_QWORD *)(a1 + 3920), fminf(v5, 0.7)); *(_BYTE *)(a1 + 1982) = 0; (*(void (__fastcall **)(__int64, float))(*(_QWORD *)a1 + 1464LL))(a1, *(float *)(a1 + 14224)); *(_DWORD *)(a1 + 1972) = 1; cocos2d::CCNode::resumeSchedulerAndActions(*(_QWORD *)(a1 + 3256)); cocos2d::CCNode::pauseSchedulerAndActions(*(_QWORD *)(a1 + 3264)); *(_DWORD *)(a1 + 424) = *(_DWORD *)(a1 + 14228); sub_100403764((_QWORD *)a1); GJBaseGameLayer::optimizeMoveGroups(a1); *(_BYTE *)(a1 + 14172) = 1; *(_DWORD *)(a1 + 14168) = 16843009; return GJBaseGameLayer::resumeAudio(); }
GD Web Decomp Icon

GD Web Decomp

Raw Source