// // GameObject::playPickupAnimation from 0x65e348 to 0x65e4fe (438 bytes) // // 2 xrefs: // > GameObject::playPickupAnimation @ 0x65e590 // > GameObject::playDestroyObjectAnim @ 0x65f46c // // 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:55:35 +0000 // int __fastcall GameObject::playPickupAnimation( GameObject *this, cocos2d::CCSprite *a2, float a3, float a4, float a5, float a6, float a7, cocos2d::CCBezierTo *a8, cocos2d::CCDelayTime *a9, cocos2d::CCFadeTo *a10, bool a11, float a12, float a13) { float v17; // s16 float v18; // s17 float v19; // s16 const cocos2d::CCPoint *v20; // r0 float *v21; // r0 float v22; // s18 const cocos2d::_ccBezierConfig *v23; // r2 cocos2d::CCSequence *v24; // r7 cocos2d::CCFiniteTimeAction *v25; // r0 cocos2d::CCAction *v26; // r0 float v27; // r1 cocos2d::CCSequence *v28; // r4 unsigned __int8 v29; // r2 cocos2d::CCFiniteTimeAction *v30; // r0 cocos2d::CCAction *v31; // r0 int result; // r0 float v33; // r2 cocos2d::CCAction *v34; // r0 float v35; // [sp+4h] [bp-38h] BYREF float v36; // [sp+8h] [bp-34h] float v37[2]; // [sp+Ch] [bp-30h] BYREF _DWORD v38[2]; // [sp+14h] [bp-28h] BYREF _BYTE v39[8]; // [sp+1Ch] [bp-20h] BYREF _BYTE v40[8]; // [sp+24h] [bp-18h] BYREF _BYTE v41[8]; // [sp+2Ch] [bp-10h] BYREF v17 = a12; v18 = a13; if ( a12 == 0.0 && a13 == 0.0 ) { v19 = (float)rand(); v17 = (float)((float)(v19 * 4.6566e-10) + (float)(v19 * 4.6566e-10)) - 1.0; v18 = (float)rand() * 4.6566e-10; } v20 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(GameObject *))(*(_DWORD *)this + 96))(this); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v35, v20); v21 = (float *)(*(int (__fastcall **)(GameObject *))(*(_DWORD *)this + 96))(this); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v37, *v21 + (float)(v17 * a3), v36 - a4); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v39); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v40); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v41); v22 = (float)(v18 * 0.1) + 1.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v38, v35, v36 + (float)(a5 * v22)); cocos2d::CCPoint::operator=(v40, v38); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v38, v37[0], v36 + (float)(a6 * v22)); cocos2d::CCPoint::operator=(v41, v38); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v38, v37[0], v37[1] - a7); cocos2d::CCPoint::operator=(v39, v38); v24 = (cocos2d::CCSequence *)cocos2d::CCBezierTo::create(a8, COERCE_FLOAT(v39), v23); v38[0] = 268; v38[1] = 1; v25 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(a2, 268, 1); v26 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v24, v25, 0); cocos2d::CCNode::runAction(a2, v26); v28 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(a9, v27); v30 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCFadeTo::create(a10, 0.0, v29); v31 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v28, v30, 0); result = cocos2d::CCNode::runAction(a2, v31); if ( a11 ) { v34 = (cocos2d::CCAction *)cocos2d::CCRotateBy::create((cocos2d::CCRotateBy *)0x3F19999A, -(float)(v18 * 40.0), v33); return cocos2d::CCNode::runAction(a2, v34); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source