// // CCPartAnimSprite::tweenSpriteTo from 0x3c7638 to 0x3c7748 (272 bytes) // // 1 xrefs: // > CCPartAnimSprite::tweenToFrame @ 0x3c7930 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:46:35 +0000 // int __fastcall CCPartAnimSprite::tweenSpriteTo(cocos2d::CCArray **this, SpriteDescription *a2, cocos2d::CCMoveTo *a3) { cocos2d::CCNode *v6; // r4 const cocos2d::CCPoint *v7; // r2 float v8; // s17 float v9; // s16 cocos2d::CCAction *v10; // r10 float v11; // r3 cocos2d::CCAction *v12; // r9 float v13; // r2 cocos2d::CCAction *v14; // r6 int v15; // r2 int v16; // r3 int v18[3]; // [sp+0h] [bp-10h] BYREF v6 = (cocos2d::CCNode *)cocos2d::CCArray::objectAtIndex(*(this + 132), *((_DWORD *)a2 + 21)); cocos2d::CCNode::stopAllActions(v6); v8 = *((float *)a2 + 15); v9 = *((float *)a2 + 16); if ( *((float *)a2 + 17) != 0.0 ) v8 = -v8; if ( *((float *)a2 + 18) != 0.0 ) v9 = -v9; v10 = (cocos2d::CCAction *)cocos2d::CCMoveTo::create(a3, COERCE_FLOAT((SpriteDescription *)((char *)a2 + 52)), v7); v12 = (cocos2d::CCAction *)cocos2d::CCScaleTo::create(a3, v8, v9, v11); v14 = (cocos2d::CCAction *)cocos2d::CCRotateTo::create(a3, *((float *)a2 + 19), v13); cocos2d::CCNode::runAction(v6, v10); cocos2d::CCNode::runAction(v6, v12); cocos2d::CCNode::runAction(v6, v14); if ( *((_BYTE *)a2 + 88) ) { (*(void (__fastcall **)(cocos2d::CCNode *, _DWORD))(*(_DWORD *)v6 + 580))(v6, *((_DWORD *)a2 + 23)); std::string::basic_string(v18, *((_DWORD *)a2 + 23) + 136); CCSpritePart::frameChanged((int)v6, (unsigned __int8 *)v18, v15, v16); std::string::~string((int)v18); } if ( (*(int (__fastcall **)(cocos2d::CCNode *))(*(_DWORD *)v6 + 52))(v6) != *((_DWORD *)a2 + 20) ) (*((void (__fastcall **)(cocos2d::CCArray **, cocos2d::CCNode *))*this + 74))(this, v6); CCSpritePart::setBeingUsed((int)v6, 1); return (*(int (__fastcall **)(cocos2d::CCNode *, int))(*(_DWORD *)v6 + 172))(v6, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source