// // SimplePlayer::setFrames from 0x50b81c to 0x50b9a0 (388 bytes) // // 1 xrefs: // > SimplePlayer::updatePlayerFrame @ 0x50c930 // // 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:51:28 +0000 // int __fastcall SimplePlayer::setFrames( SimplePlayer *this, const char *a2, const char *a3, const char *a4, const char *a5, const char *a6) { int v7; // r5 int (__fastcall *v10)(int, int); // r9 cocos2d::CCSpriteFrameCache *v11; // r0 int v12; // r0 cocos2d::CCSpriteFrameCache *v13; // r0 int v14; // r5 int (__fastcall *v15)(int, int); // r9 cocos2d::CCSpriteFrameCache *v16; // r0 int v17; // r0 cocos2d::CCSpriteFrameCache *v18; // r0 int v19; // r5 void (__fastcall *v20)(int, int); // r9 cocos2d::CCSpriteFrameCache *v21; // r0 int v22; // r0 const cocos2d::CCSize *v23; // r0 int v24; // r9 void (__fastcall *v25)(int, _BYTE *); // r10 int v26; // r5 int (__fastcall *v27)(int, int); // r9 int v28; // r0 cocos2d::CCSpriteFrameCache *v29; // r0 int *v30; // r5 int v31; // r3 void (__fastcall *v32)(int *, int); // r9 cocos2d::CCSpriteFrameCache *v33; // r0 int v34; // r0 int v35; // r5 void (__fastcall *v36)(int, int); // r7 int v37; // r0 cocos2d::CCSpriteFrameCache *v38; // r0 cocos2d::CCSpriteFrameCache *v39; // r0 int v40; // r1 int v41; // r5 void (__fastcall *v42)(int, int); // r7 int v43; // r0 int (*v44)(void); // r3 float v47[2]; // [sp+Ch] [bp-18h] BYREF _BYTE v48[8]; // [sp+14h] [bp-10h] BYREF v7 = *((_DWORD *)this + 127); v10 = *(int (__fastcall **)(int, int))(*(_DWORD *)v7 + 580); v11 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(this); v12 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v11, a2); v13 = (cocos2d::CCSpriteFrameCache *)v10(v7, v12); v14 = *((_DWORD *)this + 128); v15 = *(int (__fastcall **)(int, int))(*(_DWORD *)v14 + 580); v16 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v13); v17 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v16, a3); v18 = (cocos2d::CCSpriteFrameCache *)v15(v14, v17); v19 = *((_DWORD *)this + 130); v20 = *(void (__fastcall **)(int, int))(*(_DWORD *)v19 + 580); v21 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v18); v22 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v21, a5); v20(v19, v22); v23 = (const cocos2d::CCSize *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 127) + 164))(*((_DWORD *)this + 127)); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v47, v23); v24 = *((_DWORD *)this + 128); v25 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v24 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v48, v47[0] * 0.5, v47[1] * 0.5); v25(v24, v48); v26 = *((_DWORD *)this + 130); v27 = *(int (__fastcall **)(int, int))(*(_DWORD *)v26 + 92); v28 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 128) + 96))(*((_DWORD *)this + 128)); v29 = (cocos2d::CCSpriteFrameCache *)v27(v26, v28); v30 = *((int **)this + 129); v31 = *v30; if ( a4 ) { v32 = *(void (__fastcall **)(int *, int))(v31 + 580); v33 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v29); v34 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v33, a4); v32(v30, v34); v35 = *((_DWORD *)this + 129); v36 = *(void (__fastcall **)(int, int))(*(_DWORD *)v35 + 92); v37 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 128) + 96))(*((_DWORD *)this + 128)); v36(v35, v37); v38 = (cocos2d::CCSpriteFrameCache *)(*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 129) + 172))( *((_DWORD *)this + 129), 1); } else { v38 = (cocos2d::CCSpriteFrameCache *)(*(int (__fastcall **)(_DWORD, _DWORD))(v31 + 172))(*((_DWORD *)this + 129), 0); } if ( a6 && (v39 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v38), (v40 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v39, a6)) != 0) ) { (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 131) + 580))(*((_DWORD *)this + 131), v40); v41 = *((_DWORD *)this + 131); v42 = *(void (__fastcall **)(int, int))(*(_DWORD *)v41 + 92); v43 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 128) + 96))(*((_DWORD *)this + 128)); v42(v41, v43); v44 = *(int (**)(void))(**((_DWORD **)this + 131) + 172); } else { v44 = *(int (**)(void))(**((_DWORD **)this + 131) + 172); } return v44(); }
GD Web Decomp Icon

GD Web Decomp

Raw Source