// // PlayerObject::boostPlayer from 0x43ab00 to 0x43ac12 (274 bytes) // // 2 xrefs: // > PlayerObject::postCollision @ 0x443560 // > PlayerObject::postCollision @ 0x443a76 // // 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:21 +0000 // int __fastcall PlayerObject::boostPlayer(double this) { int v1; // r4 float v2; // s16 int v3; // r0 int v5; // r7 int v6[3]; // [sp+8h] [bp-14h] BYREF v1 = LODWORD(this); *(_BYTE *)(LODWORD(this) + 2052) = 1; *(_BYTE *)(LODWORD(this) + 1603) = 1; *(_BYTE *)(LODWORD(this) + 1850) = 1; *(_BYTE *)(LODWORD(this) + 2036) = 0; *(_BYTE *)(LODWORD(this) + 1961) = 0; PlayerObject::setYVelocity(this, *((float *)&this + 1), 45); if ( !*(_BYTE *)(v1 + 1996) ) { if ( PlayerObject::isFlying((PlayerObject *)v1) || *(_BYTE *)(v1 + 1955) || *(_BYTE *)(v1 + 1957) || *(_BYTE *)(v1 + 1958) ) { if ( *(_BYTE *)(v1 + 1958) ) { v5 = *(_DWORD *)(v1 + 1736); memset(v6, 0, sizeof(v6)); std::string::__init(v6, "fall_loop", 9u); CCAnimatedSprite::tweenToAnimation(v5, (int)v6, (cocos2d::CCDelayTime *)0x3DCCCCCD); std::string::~string((int)v6); } } else { v2 = 0.66667; PlayerObject::stopRotation((PlayerObject *)v1, 1, 20); if ( *(float *)(v1 + 2008) == 1.0 ) v2 = 0.86667; *(float *)(v1 + 1472) = (float)(-180 * PlayerObject::flipMod((PlayerObject *)v1)) / v2; *(_BYTE *)(v1 + 1480) = 1; } } v3 = (*(int (__fastcall **)(int))(*(_DWORD *)v1 + 96))(v1); return cocos2d::CCPoint::operator=(v1 + 2068, v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source