// // PlayerObject::updateShipSpriteExtra from 0x4387d8 to 0x438878 (160 bytes) // // 4 xrefs: // > PlayerObject::updatePlayerShipFrame @ 0x43b2e0 // > PlayerObject::updatePlayerJetpackFrame @ 0x43b444 // > PlayerObject::updatePlayerBirdFrame @ 0x43b5f0 // > PlayerObject::init @ 0x447580 // // 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::updateShipSpriteExtra(cocos2d::CCSpriteFrameCache *a1, int a2) { cocos2d::CCSpriteFrameCache *v4; // r0 const char *v5; // r1 int v6; // r0 int v7; // r3 const cocos2d::CCSize *v8; // r0 _DWORD *v9; // r5 int (__fastcall *v10)(_DWORD *, _BYTE *); // r7 float v12[2]; // [sp+4h] [bp-18h] BYREF _BYTE v13[8]; // [sp+Ch] [bp-10h] BYREF v4 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(a1); if ( (*(_BYTE *)a2 & 1) != 0 ) v5 = *(const char **)(a2 + 8); else v5 = (const char *)(a2 + 1); v6 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, v5); v7 = **((_DWORD **)a1 + 380); if ( !v6 ) return (*(int (**)(void))(v7 + 172))(); (*(void (**)(void))(v7 + 580))(); (*(void (__fastcall **)(_DWORD *, int))(**((_DWORD **)a1 + 380) + 172))(*((_DWORD **)a1 + 380), 1); v8 = (const cocos2d::CCSize *)(*(int (__fastcall **)(_DWORD *))(**((_DWORD **)a1 + 377) + 164))(*((_DWORD **)a1 + 377)); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v12, v8); v9 = *((_DWORD **)a1 + 380); v10 = *(int (__fastcall **)(_DWORD *, _BYTE *))(*v9 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13, v12[0] * 0.5, v12[1] * 0.5); return v10(v9, v13); }
GD Web Decomp Icon

GD Web Decomp

Raw Source