// // cocos2d::extension::CCScale9Sprite::updatePositions from 0x7ac158 to 0x7ac4d2 (890 bytes) // // 1 xrefs: // > cocos2d::extension::CCScale9Sprite::visit @ 0x7aca6e // // 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 12:00:03 +0000 // _DWORD *__fastcall cocos2d::extension::CCScale9Sprite::updatePositions(_DWORD *this) { _DWORD *v1; // r4 float v2; // s16 float v3; // s16 float *v4; // r0 float v5; // s17 float v6; // s16 float v7; // s17 float v8; // s17 float v9; // s16 float v10; // s17 float v11; // s19 float v12; // s18 float v13; // s21 int v14; // r0 int v15; // r7 void (__fastcall *v16)(int, _BYTE *); // r8 float v17; // s20 int v18; // r7 void (__fastcall *v19)(int, _BYTE *); // r8 int v20; // r7 void (__fastcall *v21)(int, _BYTE *); // r8 int v22; // r7 void (__fastcall *v23)(int, _BYTE *); // r8 int v24; // r7 void (__fastcall *v25)(int, _BYTE *); // r8 int v26; // r7 void (__fastcall *v27)(int, _BYTE *); // r8 int v28; // r7 void (__fastcall *v29)(int, _BYTE *); // r8 int v30; // r7 void (__fastcall *v31)(int, _BYTE *); // r8 int v32; // r7 void (__fastcall *v33)(int, _BYTE *); // r8 int v34; // r7 void (__fastcall *v35)(int, _BYTE *); // r8 float v36; // s19 int v37; // r7 void (__fastcall *v38)(int, _BYTE *); // r8 float v39; // s18 int v40; // r7 void (__fastcall *v41)(int, _BYTE *); // r8 int v42; // r7 void (__fastcall *v43)(int, _BYTE *); // r8 int v44; // r7 void (__fastcall *v45)(int, _BYTE *); // r8 int v46; // r7 void (__fastcall *v47)(int, _BYTE *); // r8 int v48; // r7 void (__fastcall *v49)(int, _BYTE *); // r8 int v50; // r7 void (__fastcall *v51)(int, _BYTE *); // r8 int v52; // r4 int (__fastcall *v53)(int, _BYTE *); // r7 float v54[2]; // [sp+4h] [bp-14h] BYREF _BYTE v55[8]; // [sp+Ch] [bp-Ch] BYREF v1 = this; if ( *(this + 94) && *(this + 96) && *(this + 102) && *(this + 100) ) { if ( *(this + 98) ) { cocos2d::CCSize::CCSize((cocos2d::CCSize *)v54, (const cocos2d::CCSize *)(this + 26)); v2 = v54[0]; v3 = v2 - *(float *)(*(int (__fastcall **)(_DWORD))(*(_DWORD *)v1[94] + 164))(v1[94]); v4 = (float *)(*(int (__fastcall **)(_DWORD))(*(_DWORD *)v1[96] + 164))(v1[96]); v5 = v54[1]; v6 = v3 - *v4; v7 = v5 - *(float *)((*(int (__fastcall **)(_DWORD))(*(_DWORD *)v1[94] + 164))(v1[94]) + 4); v8 = v7 - *(float *)((*(int (__fastcall **)(_DWORD))(*(_DWORD *)v1[102] + 164))(v1[102]) + 4); v9 = v6 / *(float *)(*(int (__fastcall **)(_DWORD))(*(_DWORD *)v1[98] + 164))(v1[98]); v10 = v8 / *(float *)((*(int (__fastcall **)(_DWORD))(*(_DWORD *)v1[98] + 164))(v1[98]) + 4); (*(void (__fastcall **)(_DWORD, _DWORD))(*(_DWORD *)v1[98] + 64))(v1[98], LODWORD(v9)); (*(void (__fastcall **)(_DWORD, _DWORD))(*(_DWORD *)v1[98] + 72))(v1[98], LODWORD(v10)); v11 = *(float *)(*(int (__fastcall **)(_DWORD))(*(_DWORD *)v1[98] + 164))(v1[98]); v12 = *(float *)((*(int (__fastcall **)(_DWORD))(*(_DWORD *)v1[98] + 164))(v1[98]) + 4); v13 = *(float *)(*(int (__fastcall **)(_DWORD))(*(_DWORD *)v1[100] + 164))(v1[100]); v14 = (*(int (__fastcall **)(_DWORD))(*(_DWORD *)v1[100] + 164))(v1[100]); v15 = v1[100]; v16 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v15 + 148); v17 = *(float *)(v14 + 4); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, 0.0, 0.0); v16(v15, v55); v18 = v1[102]; v19 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v18 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, 0.0, 0.0); v19(v18, v55); v20 = v1[94]; v21 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v20 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, 0.0, 0.0); v21(v20, v55); v22 = v1[96]; v23 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v22 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, 0.0, 0.0); v23(v22, v55); v24 = v1[97]; v25 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v24 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, 0.0, 0.0); v25(v24, v55); v26 = v1[99]; v27 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v26 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, 0.0, 0.0); v27(v26, v55); v28 = v1[95]; v29 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v28 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, 0.0, 0.0); v29(v28, v55); v30 = v1[101]; v31 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v30 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, 0.0, 0.0); v31(v30, v55); v32 = v1[98]; v33 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v32 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, 0.0, 0.0); v33(v32, v55); v34 = v1[100]; v35 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v34 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, 0.0, 0.0); v35(v34, v55); v36 = v13 + (float)(v9 * v11); v37 = v1[102]; v38 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v37 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, v36, 0.0); v38(v37, v55); v39 = v17 + (float)(v10 * v12); v40 = v1[94]; v41 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v40 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, 0.0, v39); v41(v40, v55); v42 = v1[96]; v43 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v42 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, v36, v39); v43(v42, v55); v44 = v1[97]; v45 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v44 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, 0.0, v17); v45(v44, v55); (*(void (__fastcall **)(_DWORD, _DWORD))(*(_DWORD *)v1[97] + 72))(v1[97], LODWORD(v10)); v46 = v1[99]; v47 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v46 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, v36, v17); v47(v46, v55); (*(void (__fastcall **)(_DWORD, _DWORD))(*(_DWORD *)v1[99] + 72))(v1[99], LODWORD(v10)); v48 = v1[101]; v49 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v48 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, v13, 0.0); v49(v48, v55); (*(void (__fastcall **)(_DWORD, _DWORD))(*(_DWORD *)v1[101] + 64))(v1[101], LODWORD(v9)); v50 = v1[95]; v51 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v50 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, v13, v39); v51(v50, v55); (*(void (__fastcall **)(_DWORD, _DWORD))(*(_DWORD *)v1[95] + 64))(v1[95], LODWORD(v9)); v52 = v1[98]; v53 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)v52 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v55, v13, v17); return (_DWORD *)v53(v52, v55); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source