// // GameObject::playPickupAnimation from 0xaf3008 to 0xaf3274 (620 bytes) // // 3 xrefs: // > GameObject::playPickupAnimation @ 0xaf32e4 // > GameObject::playDestroyObjectAnim @ 0xaf41bc // > @ 0x86c08 // // 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 13:01:14 +0000 // __int64 __fastcall GameObject::playPickupAnimation( GameObject *this, cocos2d::CCSprite *a2, float a3, float a4, float a5, float a6, float a7, float a8, float a9, float a10, unsigned __int8 a11, float a12, float a13) { float v14; // s8 int v16; // w25 float v23; // s9 const cocos2d::CCPoint *v24; // x0 float *v25; // x0 float v26; // s8 cocos2d::CCSequence *v27; // x19 cocos2d::CCFiniteTimeAction *v28; // x0 cocos2d::CCAction *v29; // x0 cocos2d::CCDelayTime *v30; // x0 cocos2d::CCSequence *v31; // x19 unsigned __int8 v32; // w1 cocos2d::CCFiniteTimeAction *v33; // x0 cocos2d::CCAction *v34; // x0 cocos2d::CCRotateBy *v35; // x0 cocos2d::CCAction *v36; // x0 float v38; // s2 float v39; // [xsp+90h] [xbp+90h] float v40; // [xsp+90h] [xbp+90h] float v41; // [xsp+A0h] [xbp+A0h] float v42; // [xsp+A0h] [xbp+A0h] float v43; // [xsp+B8h] [xbp+B8h] BYREF float v44; // [xsp+BCh] [xbp+BCh] float v45[2]; // [xsp+C0h] [xbp+C0h] BYREF _BYTE v46[8]; // [xsp+C8h] [xbp+C8h] BYREF _BYTE v47[8]; // [xsp+D0h] [xbp+D0h] BYREF _BYTE v48[8]; // [xsp+D8h] [xbp+D8h] BYREF _BYTE v49[8]; // [xsp+E0h] [xbp+E0h] BYREF v14 = a12; v16 = a11; v23 = a13; if ( a12 == 0.0 && a13 == 0.0 ) { v40 = a4; v42 = a3; v14 = (float)((float)((float)rand() * 4.6566e-10) * 2.0) + -1.0; v38 = (float)rand(); a4 = v40; a3 = v42; v23 = v38 * 4.6566e-10; } v39 = a4; v41 = a3; v24 = (const cocos2d::CCPoint *)(*(__int64 (__fastcall **)(GameObject *))(*(_QWORD *)this + 192LL))(this); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v43, v24); v25 = (float *)(*(__int64 (__fastcall **)(GameObject *))(*(_QWORD *)this + 192LL))(this); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v45, *v25 + (float)(v14 * v41), v44 - v39); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v47); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v48); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v49); v26 = (float)(v23 * 0.1) + 1.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v46, v43, v44 + (float)(a5 * v26)); cocos2d::CCPoint::operator=(v48, v46); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v46, v45[0], v44 + (float)(a6 * v26)); cocos2d::CCPoint::operator=(v49, v46); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v46, v45[0], v45[1] - a7); cocos2d::CCPoint::operator=(v47, v46); v27 = (cocos2d::CCSequence *)cocos2d::CCBezierTo::create(v47, a8); v28 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(a2, 536, 1); v29 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v27, v28, 0); v30 = (cocos2d::CCDelayTime *)cocos2d::CCNode::runAction(a2, v29); v31 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(v30, a9); v33 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCFadeTo::create(nullptr, a10, v32); v34 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v31, v33, 0); v35 = (cocos2d::CCRotateBy *)cocos2d::CCNode::runAction(a2, v34); if ( v16 ) { v36 = (cocos2d::CCAction *)cocos2d::CCRotateBy::create(v35, 0.6, (float)-v23 * 40.0); cocos2d::CCNode::runAction(a2, v36); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source