// // SimplePlayer::setFrames from 0x100359f80 to 0x10035a1a2 (546 bytes) // // 1 xrefs: // > SimplePlayer::updatePlayerFrame @ 0x1003546ad // // This function is hookable on this platform (idp: pc, 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:28:53 +0000 // __int64 __fastcall SimplePlayer::setFrames( _QWORD *a1, const char *a2, const char *a3, const char *a4, const char *a5, const char *a6) { __int64 v9; // r15 __int64 v10; // rax __int64 v11; // rax __int64 v12; // r14 __int64 v13; // rax __int64 v14; // rax __int64 v15; // r14 __int64 v16; // rax __int64 v17; // rax _QWORD *v18; // rax __int64 v19; // r14 _QWORD *v20; // r14 __int64 v21; // rax __int64 v22; // rcx _QWORD *v23; // rdi const char *v24; // r14 __int64 v25; // r12 __int64 v26; // rax __int64 v27; // rax __int64 v28; // r14 __int64 v29; // rax const char *v30; // r14 __int64 v31; // rax __int64 v32; // rax _QWORD *v33; // r14 __int64 v34; // rdi __int64 v35; // rbx __int64 v36; // rax unsigned __int8 v37; // al _QWORD *v38; // rbx float v40; // [rsp+8h] [rbp-48h] BYREF const char *v41; // [rsp+10h] [rbp-40h] const char *v42; // [rsp+18h] [rbp-38h] __int64 v43; // [rsp+20h] [rbp-30h] BYREF v41 = a6; v42 = a4; v9 = a1[75]; v10 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v11 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v10, a2); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 1160LL))(v9, v11); v12 = a1[76]; v13 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v14 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v13, a3); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v12 + 1160LL))(v12, v14); v15 = a1[78]; v16 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v17 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v16, a5); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v15 + 1160LL))(v15, v17); v18 = (_QWORD *)(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)a1[75] + 328LL))(a1[75]); sub_100278630(&v43, v18); v19 = a1[76]; sub_100278250(&v40, *(float *)&v43 * 0.5, 0.5 * *((float *)&v43 + 1)); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v19 + 184LL))(v19, &v40); v20 = (_QWORD *)a1[78]; v21 = (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)a1[76] + 192LL))(a1[76]); v22 = *v20; v23 = v20; v24 = v42; (*(void (__fastcall **)(_QWORD *, __int64))(v22 + 184))(v23, v21); v25 = a1[77]; if ( v24 ) { v26 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v27 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v26, v24); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v25 + 1160LL))(v25, v27); v28 = a1[77]; v29 = (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)a1[76] + 192LL))(a1[76]); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v28 + 184LL))(v28, v29); (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)a1[77] + 344LL))(a1[77], 1); v30 = v41; if ( !v41 ) goto LABEL_7; } else { (*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)v25 + 344LL))(a1[77], 0); v30 = v41; if ( !v41 ) { LABEL_7: v38 = a1 + 79; v37 = 0; return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*v38 + 344LL))(*v38, v37); } } v31 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v32 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v31, v30); if ( !v32 ) goto LABEL_7; v33 = a1 + 79; (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)a1[79] + 1160LL))(a1[79], v32); v34 = a1[76]; v35 = a1[79]; v36 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v34 + 192LL))(v34); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v35 + 184LL))(v35, v36); v37 = 1; v38 = v33; return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*v38 + 344LL))(*v38, v37); }
GD Web Decomp Icon

GD Web Decomp

Raw Source