// // PlayerObject::updatePlayerSpriteExtra from 0x340b24 to 0x340bbc (152 bytes) // // 5 xrefs: // > PlayerObject::updatePlayerFrame @ 0x340ce2 // > PlayerObject::updatePlayerRollFrame @ 0x340e2c // > PlayerObject::updatePlayerSwingFrame @ 0x340f80 // > PlayerObject::updatePlayerDartFrame @ 0x3410d4 // > PlayerObject::init @ 0x350e9e // // 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 // int __fastcall PlayerObject::updatePlayerSpriteExtra(int a1, const char **a2) { cocos2d::CCSpriteFrameCache *v4; // r0 cocos2d::CCSpriteFrame *v5; // r0 int v6; // r3 const cocos2d::CCSize *v7; // r0 int v8; // r6 int (__fastcall *v9)(int, cocos2d::CCPoint *); // r7 cocos2d::CCSize v11; // [sp+4h] [bp-18h] BYREF cocos2d::CCPoint v12; // [sp+Ch] [bp-10h] BYREF v4 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v5 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, *a2); v6 = **(_DWORD **)(a1 + 1508); if ( !v5 ) return (*(int (**)(void))(v6 + 164))(); (*(void (**)(void))(v6 + 572))(); (*(void (__fastcall **)(_DWORD, int))(**(_DWORD **)(a1 + 1508) + 164))(*(_DWORD *)(a1 + 1508), 1); v7 = (const cocos2d::CCSize *)(*(int (__fastcall **)(_DWORD))(**(_DWORD **)(a1 + 1500) + 156))(*(_DWORD *)(a1 + 1500)); cocos2d::CCSize::CCSize(&v11, v7); v8 = *(_DWORD *)(a1 + 1508); v9 = *(int (__fastcall **)(int, cocos2d::CCPoint *))(*(_DWORD *)v8 + 92); cocos2d::CCPoint::CCPoint(&v12, v11.width * 0.5, v11.height * 0.5); return v9(v8, &v12); }
GD Web Decomp Icon

GD Web Decomp

Raw Source