// // PlayerObject::updateStaticForce from 0x438ae8 to 0x438bb6 (206 bytes) // // 1 xrefs: // > GJBaseGameLayer::teleportPlayer @ 0x5b866c // // 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:20 +0000 // float __fastcall PlayerObject::updateStaticForce(PlayerObject *this, float a2, float a3, int a4) { _QWORD *v7; // r3 float result; // r0 int v9; // r2 int v10; // [sp+4h] [bp-14h] BYREF int v11; // [sp+8h] [bp-10h] float v12[2]; // [sp+Ch] [bp-Ch] BYREF if ( a3 != 0.0 || a4 ) { cocos2d::ccpForAngle((cocos2d *)&v10, a2 * 0.017453); result = cocos2d::CCPoint::getLength((cocos2d::CCPoint *)&v10); if ( result > 0.0 ) { cocos2d::CCPoint::operator*(v12, &v10, a3 / result); cocos2d::CCPoint::operator=(&v10, v12); if ( *((_BYTE *)this + 1963) ) { v9 = v11; v11 = v10; v10 = v9; } cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, (const cocos2d::CCPoint *)&v10); return COERCE_FLOAT(PlayerObject::updatePlayerForce(this, v12, a4)); } } else { v7 = (_QWORD *)((char *)this + 1928); *((_BYTE *)this + 1850) = 0; result = 0.0; *v7 = 0; if ( *((_BYTE *)this + 2320) ) { *((_QWORD *)this + 275) = 0; *((_BYTE *)this + 2356) = 0; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source