// // PlayerObject::releaseAllButtons from 0x1404fd450 to 0x1404fd66d (541 bytes) // // 22 xrefs: // > GJBaseGameLayer::toggleDualMode @ 0x14031e19d // > GJBaseGameLayer::resetLevelVariables @ 0x1403454a3 // > GJBaseGameLayer::resetLevelVariables @ 0x1403454af // > LevelEditorLayer::onStopPlaytest @ 0x1404001eb // > PlayerObject::loadFromCheckpoint @ 0x140501794 // > PlayerObject::loadFromCheckpoint @ 0x1405017d6 // > PlayLayer::showEndLayer @ 0x14050b037 // > PlayLayer::showEndLayer @ 0x14050b048 // > PlayLayer::showRetryLayer @ 0x14050b242 // > PlayLayer::showRetryLayer @ 0x14050b253 // > PlayLayer::pauseGame @ 0x14051a518 // > PlayLayer::pauseGame @ 0x14051a529 // > PlayLayer::pauseGame @ 0x14051a56e // > PlayLayer::pauseGame @ 0x14051a57f // > PlayLayer::resumeAndRestart @ 0x14051a8a8 // > PlayLayer::resumeAndRestart @ 0x14051a8b9 // > PlayLayer::resume @ 0x14051ac85 // > PlayLayer::resume @ 0x14051ac96 // > @ 0x1408d58a8 // > @ 0x1408d5930 // > @ 0x1408d5940 // > @ 0x14092a4c4 // // 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 11:33:23 +0000 // bool __fastcall PlayerObject::releaseAllButtons(__int64 a1) { char *v2; // r14 _BYTE *v3; // rdi char *v4; // rbp _BYTE *v5; // r12 __int64 v6; // r13 const struct cocos2d::CCPoint *v7; // rax __int64 v8; // rax bool v9; // zf char v10; // al _BYTE *v11; // rsi _BYTE *v12; // rcx const struct cocos2d::CCPoint *v13; // rax __int64 v14; // rax bool v15; // cc const struct cocos2d::CCPoint *v16; // rax __int64 v17; // rax double v18; // xmm0_8 int v20; // [rsp+60h] [rbp+8h] BYREF if ( *(_BYTE *)(a1 + 3024) ) { v2 = (char *)(a1 + 3024); } else { v20 = 1; v2 = (char *)(a1 + 3024); *(_BYTE *)sub_14016EE40((__int64 *)(a1 + 3008), &v20) = 0; } v3 = (_BYTE *)(a1 + 2611); v4 = v2; v5 = (_BYTE *)(a1 + 2611); if ( !*(_BYTE *)(a1 + 2611) ) { v6 = a1 + 2611; if ( *(_BYTE *)(a1 + 2445) ) { v7 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 200LL))(a1); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v20, v7); PlayerObject::placeStreakPoint(a1, v8); v6 = a1 + 2611; v4 = (char *)(a1 + 3024); } v9 = *(_BYTE *)(a1 + 2540) == 0; *(_WORD *)(a1 + 2445) = 0; *(_BYTE *)(a1 + 2468) = 1; if ( !v9 ) { PlayerObject::stopDashing(a1); v5 = (_BYTE *)v6; } } v10 = *(_BYTE *)(a1 + 3024); if ( !v10 ) { v20 = 2; v3 = v5; *(_BYTE *)sub_14016EE40((__int64 *)(a1 + 3008), &v20) = 0; v10 = *v2; } v11 = v3; if ( !*v3 ) { v12 = v3; if ( *(_BYTE *)(a1 + 2445) ) { v13 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 200LL))(a1); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v20, v13); PlayerObject::placeStreakPoint(a1, v14); v10 = *v4; v12 = (_BYTE *)(a1 + 2611); } v15 = *(double *)(a1 + 2816) >= 0.0; *(_BYTE *)(a1 + 2825) = 0; if ( !v15 ) { *(_BYTE *)(a1 + 2912) = 0; v11 = v12; } } if ( !v10 ) { v20 = 3; v3 = v11; *(_BYTE *)sub_14016EE40((__int64 *)(a1 + 3008), &v20) = 0; } if ( !*v3 ) { if ( *(_BYTE *)(a1 + 2445) ) { v16 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 200LL))(a1); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v20, v16); PlayerObject::placeStreakPoint(a1, v17); } v18 = *(double *)(a1 + 2816); *(_BYTE *)(a1 + 2824) = 0; if ( v18 > 0.0 ) *(_BYTE *)(a1 + 2912) = 0; } PlayerObject::releaseButton(a1, 2); return PlayerObject::releaseButton(a1, 3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source