// // PlayerObject::updateShipSpriteExtra from 0x100218920 to 0x1002189ec (204 bytes) // // 4 xrefs: // > PlayerObject::init @ 0x100217d40 // > PlayerObject::updatePlayerShipFrame @ 0x100229a78 // > PlayerObject::updatePlayerJetpackFrame @ 0x100229c2c // > PlayerObject::updatePlayerBirdFrame @ 0x10022a26c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall PlayerObject::updateShipSpriteExtra(__int64 a1, const char *a2) { cocos2d::CCSpriteFrameCache *v4; // x0 cocos2d::CCSpriteFrame *v5; // x0 __int64 v6; // x8 double *v7; // x0 __n128 v8; // q0 __int64 v9; // x19 __n128 v10; // q1 int v12; // [xsp+0h] [xbp-20h] BYREF __int64 v13; // [xsp+8h] [xbp-18h] BYREF v4 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); if ( a2[23] < 0 ) a2 = *(const char **)a2; v5 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, a2); v6 = **(_QWORD **)(a1 + 1856); if ( !v5 ) return (*(__int64 (**)(void))(v6 + 328))(); (*(void (**)(void))(v6 + 1144))(); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 1856) + 328LL))(*(_QWORD *)(a1 + 1856), 1); v7 = (double *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1832) + 312LL))(*(_QWORD *)(a1 + 1832)); v8.n128_f64[0] = sub_100022AFC(&v13, v7); v9 = *(_QWORD *)(a1 + 1856); v8.n128_f32[0] = *(float *)&v13 * 0.5; v10.n128_f32[0] = *((float *)&v13 + 1) * 0.5; sub_100022980(v8, v10, &v12); return (*(__int64 (__fastcall **)(__int64, int *))(*(_QWORD *)v9 + 184LL))(v9, &v12); }
GD Web Decomp Icon

GD Web Decomp

Raw Source