// // PlayerObject::resetPlayerIcon from 0x754160 to 0x754324 (452 bytes) // // 6 xrefs: // > PlayerObject::toggleSpiderMode @ 0x7596f4 // > PlayerObject::toggleFlyMode @ 0x759b2c // > PlayerObject::toggleBirdMode @ 0x759e50 // > PlayerObject::toggleSwingMode @ 0x75a060 // > PlayerObject::toggleDartMode @ 0x75a1a4 // > @ 0x7a980 // // 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 12:52:56 +0000 // __int64 __fastcall PlayerObject::resetPlayerIcon(cocos2d::CCParticleSystem **this) { __int64 v2; // x0 void (__fastcall *v3)(__int64, float *); // x2 __int64 v4; // x0 void (__fastcall *v5)(__int64, float *); // x2 __int64 v6; // x2 __int64 v7; // x0 float v9; // [xsp+48h] [xbp+48h] BYREF int v10; // [xsp+4Ch] [xbp+4Ch] int v11; // [xsp+50h] [xbp+50h] float v12; // [xsp+54h] [xbp+54h] PlayerObject::stopPlatformerJumpAnimation((PlayerObject *)this); *((float *)this + 191) = 30.0; *((float *)this + 192) = 30.0; *((float *)this + 660) = 30.0; PlayerObject::runRotateAction((PlayerObject *)this); (*(void (__fastcall **)(_QWORD, float))(*(_QWORD *)*(this + 225) + 160LL))(*(this + 225), 1.0); (*(void (__fastcall **)(_QWORD, void *))(*(_QWORD *)*(this + 225) + 184LL))(*(this + 225), &unk_155C638); (*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*(this + 229) + 344LL))(*(this + 229), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*(this + 231) + 344LL))(*(this + 231), 0); PlayerObject::updatePlayerGlow((PlayerObject *)this); cocos2d::CCParticleSystem::stopSystem(*(this + 271)); cocos2d::CCParticleSystem::stopSystem(*(this + 272)); cocos2d::CCParticleSystem::stopSystem(*(this + 273)); v2 = (__int64)*(this + 271); v3 = *(void (__fastcall **)(__int64, float *))(*(_QWORD *)v2 + 1360LL); v9 = 1.0; v10 = 1053345993; v11 = 0; v12 = 1.0; v3(v2, &v9); v4 = (__int64)*(this + 271); v5 = *(void (__fastcall **)(__int64, float *))(*(_QWORD *)v4 + 1392LL); v9 = 1.0; v10 = 0; v11 = 0; v12 = 1.0; v5(v4, &v9); v6 = (__int64)*(this + 238); if ( *((_BYTE *)this + 2272) ) (*(void (__fastcall **)(_QWORD, __int64 *))(*(_QWORD *)v6 + 960LL))(*(this + 238), &qword_113CF98); else (*(void (__fastcall **)(_QWORD, char *))(*(_QWORD *)v6 + 960LL))(*(this + 238), (char *)this + 2605); PlayerObject::deactivateStreak(this, 0); v7 = (__int64)*(this + 239); if ( v7 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v7 + 344LL))(v7, 0); PlayerObject::updatePlayerScale(this); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source