// // PlayerObject::resetStreak from 0x4377ec to 0x437888 (156 bytes) // // 9 xrefs: // > PlayerObject::toggleVisibility @ 0x4393f6 // > PlayerObject::toggleVisibility @ 0x439440 // > PlayerObject::levelFlipFinished @ 0x439470 // > PlayerObject::levelFlipFinished @ 0x439492 // > PlayerObject::resetObject @ 0x44048e // > PlayerObject::loadFromCheckpoint @ 0x44b262 // > MenuGameLayer::resetPlayer @ 0x4926fe // > GJBaseGameLayer::teleportPlayer @ 0x5b8524 // > GJBaseGameLayer::toggleDualMode @ 0x5b91c0 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:48:19 +0000 // GameManager *__fastcall PlayerObject::resetStreak(cocos2d::CCMotionStreak **this) { GameManager *result; // r0 int v3; // r7 void (__fastcall *v4)(int, _BYTE *); // r9 int v5; // r10 int v6; // r6 int (__fastcall *v7)(int, int); // r7 int v8; // r0 _BYTE v9[8]; // [sp+4h] [bp-14h] BYREF _BYTE v10[8]; // [sp+Ch] [bp-Ch] BYREF result = PlayerObject::levelFlipping((PlayerObject *)this); if ( !result ) { cocos2d::CCMotionStreak::reset(*(this + 386)); v3 = (int)*(this + 386); v4 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v3 + 92); v5 = (*((int (__fastcall **)(cocos2d::CCMotionStreak **))*this + 24))(this); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, -5.0, 0.0); cocos2d::CCPoint::operator+(v9, v5, v10); v4(v3, v9); HardStreak::reset(*(this + 388)); (*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 388) + 456))(*(this + 388), 255); cocos2d::CCNode::stopAllActions(*(this + 388)); v6 = (int)*(this + 388); v7 = *(int (__fastcall **)(int, int))(*(_DWORD *)v6 + 92); v8 = (*((int (__fastcall **)(cocos2d::CCMotionStreak **))*this + 24))(this); return (GameManager *)v7(v6, v8); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source