// // cocos2d::extension::CCScale9Sprite::updatePositions from 0xd1402c to 0xd14548 (1308 bytes) // // 2 xrefs: // > cocos2d::extension::CCScale9Sprite::visit @ 0xd14f0c // > @ 0x55288 // // 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 13:07:05 +0000 // __int64 __fastcall cocos2d::extension::CCScale9Sprite::updatePositions(cocos2d::extension::CCScale9Sprite *this) { float v2; // s8 float v3; // s8 float v4; // s8 float v5; // s9 float v6; // s9 float v7; // s9 float v8; // s8 float v9; // s9 float v10; // s11 float v11; // s10 float v12; // s13 __int64 v13; // x0 __int64 v14; // x22 float v15; // s12 void (__fastcall *v16)(__int64, _BYTE *); // x23 __int64 v17; // x22 void (__fastcall *v18)(__int64, _BYTE *); // x23 __int64 v19; // x22 void (__fastcall *v20)(__int64, _BYTE *); // x23 __int64 v21; // x22 void (__fastcall *v22)(__int64, _BYTE *); // x23 __int64 v23; // x22 void (__fastcall *v24)(__int64, _BYTE *); // x23 __int64 v25; // x22 void (__fastcall *v26)(__int64, _BYTE *); // x23 __int64 v27; // x22 void (__fastcall *v28)(__int64, _BYTE *); // x23 __int64 v29; // x22 void (__fastcall *v30)(__int64, _BYTE *); // x23 __int64 v31; // x22 void (__fastcall *v32)(__int64, _BYTE *); // x23 __int64 v33; // x22 void (__fastcall *v34)(__int64, _BYTE *); // x23 __int64 v35; // x22 float v36; // s11 void (__fastcall *v37)(__int64, _BYTE *); // x23 __int64 v38; // x22 float v39; // s10 void (__fastcall *v40)(__int64, _BYTE *); // x23 __int64 v41; // x22 void (__fastcall *v42)(__int64, _BYTE *); // x23 __int64 v43; // x22 void (__fastcall *v44)(__int64, _BYTE *); // x23 __int64 v45; // x22 void (__fastcall *v46)(__int64, _BYTE *); // x23 __int64 v47; // x22 void (__fastcall *v48)(__int64, _BYTE *); // x23 __int64 v49; // x22 void (__fastcall *v50)(__int64, _BYTE *); // x23 __int64 v51; // x19 void (__fastcall *v52)(__int64, _BYTE *); // x22 _DWORD v54[2]; // [xsp+78h] [xbp+78h] BYREF _BYTE v55[8]; // [xsp+80h] [xbp+80h] BYREF if ( *((_QWORD *)this + 55) && *((_QWORD *)this + 57) && *((_QWORD *)this + 63) && *((_QWORD *)this + 61) && *((_QWORD *)this + 59) ) { cocos2d::CCSize::CCSize((cocos2d::CCSize *)v54, (cocos2d::extension::CCScale9Sprite *)((char *)this + 108)); v2 = *(float *)v54; v3 = v2 - *(float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 55) + 328LL))(*((_QWORD *)this + 55)); v4 = v3 - *(float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 57) + 328LL))(*((_QWORD *)this + 57)); v5 = *(float *)&v54[1]; v6 = v5 - *(float *)((*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 55) + 328LL))(*((_QWORD *)this + 55)) + 4); v7 = v6 - *(float *)((*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 63) + 328LL))(*((_QWORD *)this + 63)) + 4); v8 = v4 / *(float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 59) + 328LL))(*((_QWORD *)this + 59)); v9 = v7 / *(float *)((*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 59) + 328LL))(*((_QWORD *)this + 59)) + 4); (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 59) + 128LL))(*((_QWORD *)this + 59), v8); (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 59) + 144LL))(*((_QWORD *)this + 59), v9); v10 = *(float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 59) + 328LL))(*((_QWORD *)this + 59)); v11 = *(float *)((*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 59) + 328LL))(*((_QWORD *)this + 59)) + 4); v12 = *(float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 61) + 328LL))(*((_QWORD *)this + 61)); v13 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 61) + 328LL))(*((_QWORD *)this + 61)); v14 = *((_QWORD *)this + 61); v15 = *(float *)(v13 + 4); v16 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v14 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, 0.0, 0.0); v16(v14, v55); v17 = *((_QWORD *)this + 63); v18 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v17 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, 0.0, 0.0); v18(v17, v55); v19 = *((_QWORD *)this + 55); v20 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v19 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, 0.0, 0.0); v20(v19, v55); v21 = *((_QWORD *)this + 57); v22 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v21 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, 0.0, 0.0); v22(v21, v55); v23 = *((_QWORD *)this + 58); v24 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v23 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, 0.0, 0.0); v24(v23, v55); v25 = *((_QWORD *)this + 60); v26 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v25 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, 0.0, 0.0); v26(v25, v55); v27 = *((_QWORD *)this + 56); v28 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v27 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, 0.0, 0.0); v28(v27, v55); v29 = *((_QWORD *)this + 62); v30 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v29 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, 0.0, 0.0); v30(v29, v55); v31 = *((_QWORD *)this + 59); v32 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v31 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, 0.0, 0.0); v32(v31, v55); v33 = *((_QWORD *)this + 61); v34 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v33 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, 0.0, 0.0); v34(v33, v55); v35 = *((_QWORD *)this + 63); v36 = v12 + (float)(v8 * v10); v37 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v35 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, v36, 0.0); v37(v35, v55); v38 = *((_QWORD *)this + 55); v39 = v15 + (float)(v9 * v11); v40 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v38 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, 0.0, v39); v40(v38, v55); v41 = *((_QWORD *)this + 57); v42 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v41 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, v36, v39); v42(v41, v55); v43 = *((_QWORD *)this + 58); v44 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v43 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, 0.0, v15); v44(v43, v55); (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 58) + 144LL))(*((_QWORD *)this + 58), v9); v45 = *((_QWORD *)this + 60); v46 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v45 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, v36, v15); v46(v45, v55); (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 60) + 144LL))(*((_QWORD *)this + 60), v9); v47 = *((_QWORD *)this + 62); v48 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v47 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, v12, 0.0); v48(v47, v55); (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 62) + 128LL))(*((_QWORD *)this + 62), v8); v49 = *((_QWORD *)this + 56); v50 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v49 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, v12, v39); v50(v49, v55); (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 56) + 128LL))(*((_QWORD *)this + 56), v8); v51 = *((_QWORD *)this + 59); v52 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v51 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, v12, v15); v52(v51, v55); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source