// // PlayerObject::updateShipSpriteExtra from 0x1404fd080 to 0x1404fd17f (255 bytes) // // 5 xrefs: // > PlayerObject::init @ 0x1404e535f // > PlayerObject::updatePlayerShipFrame @ 0x1404fc3ee // > PlayerObject::updatePlayerJetpackFrame @ 0x1404fc61e // > PlayerObject::updatePlayerBirdFrame @ 0x1404fc8c5 // > @ 0x14092a4ac // // 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 11:33:23 +0000 // void __fastcall PlayerObject::updateShipSpriteExtra(__int64 a1, const char *a2) { const char *v4; // rbx cocos2d::CCSpriteFrameCache *v5; // rax struct cocos2d::CCSpriteFrame *v6; // rax __int64 *v7; // rcx __int64 v8; // r8 __int64 v9; // rdx const struct cocos2d::CCSize *v10; // rax __int64 *v11; // rdi __int64 v12; // rbx __int64 v13; // rax float v14[2]; // [rsp+20h] [rbp-28h] BYREF _BYTE v15[8]; // [rsp+28h] [rbp-20h] BYREF const char *v16; // [rsp+30h] [rbp-18h] v16 = a2; v4 = a2; if ( *((_QWORD *)a2 + 3) > 0xFu ) v4 = *(const char **)a2; v5 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(a1, a2); v6 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, v4); v7 = *(__int64 **)(a1 + 1912); v8 = *v7; if ( v6 ) { (*(void (__fastcall **)(__int64 *, struct cocos2d::CCSpriteFrame *))(v8 + 1008))(v7, v6); LOBYTE(v9) = 1; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 1912) + 336LL))(*(_QWORD *)(a1 + 1912), v9); v10 = (const struct cocos2d::CCSize *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1888) + 320LL))(*(_QWORD *)(a1 + 1888)); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v14, v10); v11 = *(__int64 **)(a1 + 1912); v12 = *v11; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, v14[0] * 0.5, v14[1] * 0.5); (*(void (__fastcall **)(__int64 *, __int64))(v12 + 184))(v11, v13); } else { (*(void (__fastcall **)(__int64 *, _QWORD))(v8 + 336))(v7, 0); } sub_14003D310((__int64)a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source