// // PlayerObject::updateShipSpriteExtra from 0x1003e90c0 to 0x1003e918d (205 bytes) // // 4 xrefs: // > PlayerObject::init @ 0x1003e819d // > PlayerObject::updatePlayerShipFrame @ 0x100403760 // > PlayerObject::updatePlayerJetpackFrame @ 0x1004039ad // > PlayerObject::updatePlayerBirdFrame @ 0x1004042cb // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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 12:29:49 +0000 // __int64 __fastcall PlayerObject::updateShipSpriteExtra(__int64 a1, __int64 a2) { __int64 v3; // rax const char *v4; // r14 __int64 v5; // rax __int64 *v6; // rdi __int64 v7; // rcx _QWORD *v8; // rax __int64 v9; // rbx float v11; // [rsp+0h] [rbp-20h] BYREF __int64 v12; // [rsp+8h] [rbp-18h] BYREF v3 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); if ( (*(_BYTE *)a2 & 1) != 0 ) v4 = *(const char **)(a2 + 16); else v4 = (const char *)(a2 + 1); v5 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v3, v4); v6 = *(__int64 **)(a1 + 1856); v7 = *v6; if ( !v5 ) return (*(__int64 (__fastcall **)(__int64 *, _QWORD))(v7 + 344))(v6, 0); (*(void (__fastcall **)(__int64 *, __int64))(v7 + 1160))(v6, v5); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 1856) + 344LL))(*(_QWORD *)(a1 + 1856), 1); v8 = (_QWORD *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1832) + 328LL))(*(_QWORD *)(a1 + 1832)); sub_100278630(&v12, v8); v9 = *(_QWORD *)(a1 + 1856); sub_100278250(&v11, *(float *)&v12 * 0.5, 0.5 * *((float *)&v12 + 1)); return (*(__int64 (__fastcall **)(__int64, float *))(*(_QWORD *)v9 + 184LL))(v9, &v11); }
GD Web Decomp Icon

GD Web Decomp

Raw Source