// // SimplePlayer::setFrames from 0x8ba610 to 0x8ba890 (640 bytes) // // 2 xrefs: // > SimplePlayer::updatePlayerFrame @ 0x8bc784 // > @ 0xde760 // // 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:56:27 +0000 // __int64 __fastcall SimplePlayer::setFrames( SimplePlayer *this, const char *a2, const char *a3, const char *a4, const char *a5, const char *a6) { cocos2d::CCSpriteFrameCache **v7; // x22 void (__fastcall *v10)(cocos2d::CCSpriteFrameCache **, __int64); // x25 cocos2d::CCSpriteFrameCache *v11; // x0 __int64 v12; // x0 cocos2d::CCSpriteFrameCache **v13; // x22 void (__fastcall *v14)(cocos2d::CCSpriteFrameCache **, __int64); // x25 cocos2d::CCSpriteFrameCache *v15; // x0 __int64 v16; // x0 cocos2d::CCSpriteFrameCache **v17; // x22 void (__fastcall *v18)(cocos2d::CCSpriteFrameCache **, __int64); // x25 cocos2d::CCSpriteFrameCache *v19; // x0 __int64 v20; // x0 const cocos2d::CCSize *v21; // x0 __int64 v22; // x22 void (__fastcall *v23)(__int64, _BYTE *); // x21 __int64 v24; // x21 void (__fastcall *v25)(__int64, __int64); // x22 __int64 v26; // x0 cocos2d::CCSpriteFrameCache **v27; // x21 void (__fastcall *v28)(cocos2d::CCSpriteFrameCache **, __int64); // x22 cocos2d::CCSpriteFrameCache *v29; // x0 __int64 v30; // x0 __int64 v31; // x21 void (__fastcall *v32)(__int64, __int64); // x22 __int64 v33; // x0 cocos2d::CCSpriteFrameCache *v34; // x0 cocos2d::CCSpriteFrameCache *v35; // x0 __int64 v36; // x1 __int64 v37; // x21 void (__fastcall *v38)(__int64, __int64); // x22 __int64 v39; // x0 float v44[2]; // [xsp+78h] [xbp+78h] BYREF _BYTE v45[8]; // [xsp+80h] [xbp+80h] BYREF v7 = *((cocos2d::CCSpriteFrameCache ***)this + 75); v10 = *((void (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v7 + 145); v11 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*v7); v12 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v11, a2); v10(v7, v12); v13 = *((cocos2d::CCSpriteFrameCache ***)this + 76); v14 = *((void (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v13 + 145); v15 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*v13); v16 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v15, a3); v14(v13, v16); v17 = *((cocos2d::CCSpriteFrameCache ***)this + 78); v18 = *((void (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v17 + 145); v19 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*v17); v20 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v19, a5); v18(v17, v20); v21 = (const cocos2d::CCSize *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 75) + 328LL))(*((_QWORD *)this + 75)); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v44, v21); v22 = *((_QWORD *)this + 76); v23 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v22 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v45, v44[0] * 0.5, v44[1] * 0.5); v23(v22, v45); v24 = *((_QWORD *)this + 78); v25 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v24 + 184LL); v26 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 76) + 192LL))(*((_QWORD *)this + 76)); v25(v24, v26); if ( a4 ) { v27 = *((cocos2d::CCSpriteFrameCache ***)this + 77); v28 = *((void (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v27 + 145); v29 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*v27); v30 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v29, a4); v28(v27, v30); v31 = *((_QWORD *)this + 77); v32 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v31 + 184LL); v33 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 76) + 192LL))(*((_QWORD *)this + 76)); v32(v31, v33); v34 = (cocos2d::CCSpriteFrameCache *)(*(__int64 (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 77) + 344LL))( *((_QWORD *)this + 77), 1); } else { v34 = (cocos2d::CCSpriteFrameCache *)(*(__int64 (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 77) + 344LL))( *((_QWORD *)this + 77), 0); } if ( a6 && (v35 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v34), (v36 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v35, a6)) != 0) ) { (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 79) + 1160LL))(*((_QWORD *)this + 79), v36); v37 = *((_QWORD *)this + 79); v38 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v37 + 184LL); v39 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 76) + 192LL))(*((_QWORD *)this + 76)); v38(v37, v39); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 79) + 344LL))(*((_QWORD *)this + 79), 1); } else { (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 79) + 344LL))(*((_QWORD *)this + 79), 0); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source