// // sub_1003A4370 from 0x1003a4370 to 0x1003a458c (540 bytes) // // 1 xrefs: // > SimplePlayer::updatePlayerFrame @ 0x1003a04d0 // // 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 11:03:48 +0000 // __int64 __fastcall sub_1003A4370(_QWORD *a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5, __int64 a6) { __int64 v12; // x25 __int64 v13; // x0 __int64 v14; // x0 __int64 v15; // x0 __int64 v16; // x24 __int64 v17; // x0 __int64 v18; // x0 __int64 v19; // x0 __int64 v20; // x23 __int64 v21; // x0 __int64 v22; // x0 double *v23; // x0 __int64 v24; // x22 __int64 v25; // x22 __int64 v26; // x0 __int64 v27; // x0 __int64 v28; // x22 __int64 v29; // x0 __int64 v30; // x0 __int64 v31; // x21 __int64 v32; // x0 __int64 v33; // x0 __int64 v34; // x0 __int64 v35; // x0 _QWORD *v36; // x21 __int64 v37; // x20 __int64 v38; // x0 __int64 v39; // x1 float v41; // [xsp+0h] [xbp-50h] BYREF __int64 v42; // [xsp+8h] [xbp-48h] BYREF v12 = a1[75]; v13 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(a1); v14 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v13, a2); v15 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v12 + 1160LL))(v12, v14); v16 = a1[76]; v17 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v15); v18 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v17, a3); v19 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v16 + 1160LL))(v16, v18); v20 = a1[78]; v21 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v19); v22 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v21, a5); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v20 + 1160LL))(v20, v22); v23 = (double *)(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)a1[75] + 328LL))(a1[75]); sub_100026438(&v42, v23); v24 = a1[76]; sub_1000262BC(&v41, *(float *)&v42 * 0.5, *((float *)&v42 + 1) * 0.5); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v24 + 184LL))(v24, &v41); v25 = a1[78]; v26 = (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)a1[76] + 192LL))(a1[76]); v27 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v25 + 184LL))(v25, v26); v28 = a1[77]; if ( a4 ) { v29 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v27); v30 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v29, a4); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v28 + 1160LL))(v28, v30); v31 = a1[77]; v32 = (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)a1[76] + 192LL))(a1[76]); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v31 + 184LL))(v31, v32); v33 = (*(__int64 (__fastcall **)(_QWORD, __int64))(*(_QWORD *)a1[77] + 344LL))(a1[77], 1); } else { v33 = (*(__int64 (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)v28 + 344LL))(a1[77], 0); } if ( a6 && (v34 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v33), (v35 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v34, a6)) != 0) ) { v36 = a1 + 79; (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)a1[79] + 1160LL))(a1[79], v35); v37 = a1[79]; v38 = (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)a1[76] + 192LL))(a1[76]); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v37 + 184LL))(v37, v38); v39 = 1; } else { v39 = 0; v36 = a1 + 79; } return (*(__int64 (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*v36 + 344LL))(*v36, v39); }
GD Web Decomp Icon

GD Web Decomp

Raw Source