// // PlayerObject::updatePlayerArt from 0x437aa4 to 0x437d22 (638 bytes) // // 5 xrefs: // > PlayerObject::rotateGameplayOnly @ 0x437d4c // > PlayerObject::doReversePlayer @ 0x43950e // > PlayerObject::flipGravity @ 0x439b9c // > PlayerObject::rotateGameplay @ 0x43a738 // > PlayerObject::modeDidChange @ 0x43a91c // // 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 // int __fastcall PlayerObject::updatePlayerArt(PlayerObject *this) { int v2; // r5 void (__fastcall *v3)(int, float); // r7 int v4; // r0 int v5; // r0 float v6; // s15 int v7; // r5 void (__fastcall *v8)(int, _DWORD); // r7 float v9; // s16 float v10; // s16 int v11; // r1 int v12; // r0 int v13; // r0 int v14; // r2 int v15; // r2 int v16; // r0 float v17; // s16 int v18; // r2 int v19; // r2 int v21; // [sp+4h] [bp-20h] BYREF int v22; // [sp+8h] [bp-1Ch] int v23; // [sp+Ch] [bp-18h] BYREF int v24; // [sp+10h] [bp-14h] _BYTE v25[8]; // [sp+14h] [bp-10h] BYREF v2 = *((_DWORD *)this + 293); v3 = *(void (__fastcall **)(int, float))(*(_DWORD *)v2 + 64); v4 = PlayerObject::reverseMod(this); ((void (__fastcall *)(_DWORD, _DWORD))v3)(v2, (float)v4); if ( *((_BYTE *)this + 1964) || *((_BYTE *)this + 1955) ) v5 = 1; else v5 = PlayerObject::isInNormalMode(this); v6 = 1.0; v7 = *((_DWORD *)this + 293); v8 = *(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v7 + 72); v9 = -1.0; if ( !*((_BYTE *)this + 1963) ) v9 = 1.0; if ( !v5 ) v6 = (float)PlayerObject::flipMod(this) * v9; v8(v7, LODWORD(v6)); v10 = 0.0; if ( *((_BYTE *)this + 1963) ) v11 = -1028390912; else v11 = 0; (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 293) + 180))(*((_DWORD *)this + 293), v11); v12 = PlayerObject::flipMod(this); if ( *((_BYTE *)this + 1963) ) { if ( *((_BYTE *)this + 1959) ) v10 = 180.0; } else { v10 = (float)(90 * v12); } (*(void (__fastcall **)(_DWORD, float))(**((_DWORD **)this + 436) + 504))( *((_DWORD *)this + 436), COERCE_FLOAT(LODWORD(v10))); (*(void (__fastcall **)(_DWORD, float))(**((_DWORD **)this + 437) + 504))( *((_DWORD *)this + 437), COERCE_FLOAT(LODWORD(v10))); (*(void (__fastcall **)(_DWORD, float))(**((_DWORD **)this + 438) + 504))( *((_DWORD *)this + 438), COERCE_FLOAT(LODWORD(v10))); v13 = PlayerObject::flipMod(this); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v21, 0.0, (float)(-300 * v13)); if ( *((_BYTE *)this + 1963) ) { v14 = v22; v22 = v21; v21 = v14; } (*(void (__fastcall **)(_DWORD, int *))(**((_DWORD **)this + 436) + 524))(*((_DWORD *)this + 436), &v21); (*(void (__fastcall **)(_DWORD, int *))(**((_DWORD **)this + 437) + 524))(*((_DWORD *)this + 437), &v21); (*(void (__fastcall **)(_DWORD, int *))(**((_DWORD **)this + 438) + 524))(*((_DWORD *)this + 438), &v21); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v23, 0.0, 2.0); if ( *((_BYTE *)this + 1963) ) { v15 = v24; v24 = v23; v23 = v15; } (*(void (__fastcall **)(_DWORD, int *))(**((_DWORD **)this + 437) + 480))(*((_DWORD *)this + 437), &v23); (*(void (__fastcall **)(_DWORD, int *))(**((_DWORD **)this + 438) + 480))(*((_DWORD *)this + 438), &v23); v16 = PlayerObject::flipMod(this); if ( *((_BYTE *)this + 1963) ) { v17 = 240.0; if ( *((_BYTE *)this + 1959) ) v17 = 60.0; } else { v17 = (float)(330 * v16); } (*(void (__fastcall **)(_DWORD, float))(**((_DWORD **)this + 440) + 504))( *((_DWORD *)this + 440), COERCE_FLOAT(LODWORD(v17))); (*(void (__fastcall **)(_DWORD, float))(**((_DWORD **)this + 441) + 504))( *((_DWORD *)this + 441), COERCE_FLOAT(LODWORD(v17))); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v25, 5.0, 1.0); cocos2d::CCPoint::operator=(&v23, v25); if ( *((_BYTE *)this + 1963) ) { v18 = v24; v24 = v23; v23 = v18; } (*(void (__fastcall **)(_DWORD, int *))(**((_DWORD **)this + 440) + 480))(*((_DWORD *)this + 440), &v23); (*(void (__fastcall **)(_DWORD, int *))(**((_DWORD **)this + 441) + 480))(*((_DWORD *)this + 441), &v23); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v25, 5.0, 1.0); cocos2d::CCPoint::operator=(&v23, v25); if ( *((_BYTE *)this + 1957) || *((_BYTE *)this + 1958) ) { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v25, 15.0, 0.0); cocos2d::CCPoint::operator=(&v23, v25); } if ( *((_BYTE *)this + 1963) ) { v19 = v24; v24 = v23; v23 = v19; } return (*(int (__fastcall **)(_DWORD, int *))(**((_DWORD **)this + 436) + 480))(*((_DWORD *)this + 436), &v23); }
GD Web Decomp Icon

GD Web Decomp

Raw Source