// // PlayerObject::updateDashAnimation from 0x74f520 to 0x74f6fc (476 bytes) // // 2 xrefs: // > PlayerObject::update @ 0x769298 // > @ 0xc8218 // // This function is hookable on this platform (idp: arm, 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:52:54 +0000 // __int64 __fastcall PlayerObject::updateDashAnimation(PlayerObject *this) { float v2; // s1 unsigned int v3; // w19 __int64 v4; // x1 cocos2d::CCArray *v5; // x0 cocos2d::CCSpriteFrameCache **v6; // x22 cocos2d::CCString *v7; // x0 const char *CString; // x23 cocos2d::CCString *v9; // x0 const char *v10; // x25 cocos2d::CCSpriteFrameCache **v11; // x24 void (__fastcall *v12)(cocos2d::CCSpriteFrameCache **, __int64); // x26 cocos2d::CCSpriteFrameCache *v13; // x0 __int64 v14; // x0 void (__fastcall *v15)(cocos2d::CCSpriteFrameCache **, __int64); // x23 cocos2d::CCSpriteFrameCache *v16; // x0 __int64 v17; // x0 const cocos2d::CCSize *v18; // x0 void (__fastcall *v19)(cocos2d::CCSpriteFrameCache **, _BYTE *); // x19 float v21[2]; // [xsp+78h] [xbp+78h] BYREF _BYTE v22[8]; // [xsp+80h] [xbp+80h] BYREF v2 = *((double *)this + 328) / (float)((float)(0.04 / *((float *)this + 619)) * (float)(1.0 - (float)((float)(fabsf((*(float (__fastcall **)(_QWORD))(**((_QWORD **)this + 204) + 368LL))(*((_QWORD *)this + 204))) / 70.0) * 0.4))); v3 = (int)vcvtms_s32_f32(v2) % 12 + 1; if ( *((_DWORD *)this + 616) != v3 ) { v4 = *((_QWORD *)this + 204); *((_DWORD *)this + 616) = v3; v5 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 488LL))(v4); v6 = (cocos2d::CCSpriteFrameCache **)cocos2d::CCArray::objectAtIndex(v5, 0); v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"playerDash2_%03d.png", (const char *)v3); CString = (const char *)cocos2d::CCString::getCString(v7); v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"playerDash2_outline_%03d.png", (const char *)v3); v10 = (const char *)cocos2d::CCString::getCString(v9); if ( CString ) { v11 = *((cocos2d::CCSpriteFrameCache ***)this + 204); v12 = *((void (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v11 + 145); v13 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*v11); v14 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v13, CString); v12(v11, v14); v15 = *((void (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v6 + 145); v16 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*v6); v17 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v16, v10); v15(v6, v17); v18 = (const cocos2d::CCSize *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 204) + 328LL))(*((_QWORD *)this + 204)); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v21, v18); v19 = *((void (__fastcall **)(cocos2d::CCSpriteFrameCache **, _BYTE *))*v6 + 23); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v22, v21[0] * 0.5, v21[1] * 0.5); v19(v6, v22); } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source