// // cocos2d::extension::CCScale9Sprite::updatePositions from 0x1003e20c0 to 0x1003e25a2 (1250 bytes) // // 1 xrefs: // > cocos2d::extension::CCScale9Sprite::visit @ 0x1003e33f6 // // 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:29:46 +0000 // void __fastcall cocos2d::extension::CCScale9Sprite::updatePositions(__int64 a1) { float *v2; // rax float *v3; // rax __int64 v4; // rax __int64 v5; // rax float *v6; // rax __int64 v7; // rax float *v8; // rax __int64 v9; // rax __int64 v10; // rbx __int64 v11; // rbx __int64 v12; // rbx __int64 v13; // rbx __int64 v14; // rbx __int64 v15; // rbx __int64 v16; // rbx __int64 v17; // rbx __int64 v18; // rbx __int64 v19; // rbx __int64 v20; // rbx __int64 v21; // rbx __int64 v22; // rbx __int64 v23; // rbx __int64 v24; // rbx __int64 v25; // rbx __int64 v26; // rbx __int64 v27; // rbx __int64 v28; // [rsp-48h] [rbp-48h] BYREF float v29; // [rsp-40h] [rbp-40h] float v30; // [rsp-3Ch] [rbp-3Ch] float v31; // [rsp-38h] [rbp-38h] float v32; // [rsp-34h] [rbp-34h] float v33; // [rsp-30h] [rbp-30h] BYREF float v34; // [rsp-28h] [rbp-28h] float v35; // [rsp-24h] [rbp-24h] if ( *(_QWORD *)(a1 + 440) && *(_QWORD *)(a1 + 456) && *(_QWORD *)(a1 + 504) && *(_QWORD *)(a1 + 488) ) { if ( *(_QWORD *)(a1 + 472) ) { sub_100278630(&v28, (_QWORD *)(a1 + 108)); v34 = *(float *)&v28; v2 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 440) + 328LL))(*(_QWORD *)(a1 + 440)); v34 = v34 - *v2; v3 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 456) + 328LL))(*(_QWORD *)(a1 + 456)); v34 = v34 - *v3; v35 = *((float *)&v28 + 1); v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 440) + 328LL))(*(_QWORD *)(a1 + 440)); v35 = v35 - *(float *)(v4 + 4); v5 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 504) + 328LL))(*(_QWORD *)(a1 + 504)); v35 = v35 - *(float *)(v5 + 4); v6 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 472) + 328LL))(*(_QWORD *)(a1 + 472)); v34 = v34 / *v6; v7 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 472) + 328LL))(*(_QWORD *)(a1 + 472)); v35 = v35 / *(float *)(v7 + 4); (*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 472) + 128LL))(*(_QWORD *)(a1 + 472), v34); (*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 472) + 144LL))(*(_QWORD *)(a1 + 472), v35); v8 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 472) + 328LL))(*(_QWORD *)(a1 + 472)); v32 = *v8 * v34; v9 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 472) + 328LL))(*(_QWORD *)(a1 + 472)); v31 = *(float *)(v9 + 4) * v35; v29 = *(float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 488) + 328LL))(*(_QWORD *)(a1 + 488)); v30 = *(float *)((*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 488) + 328LL))(*(_QWORD *)(a1 + 488)) + 4); v10 = *(_QWORD *)(a1 + 488); sub_100278250(&v33, 0.0, 0.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v10 + 296LL))(v10, &v33); v11 = *(_QWORD *)(a1 + 504); sub_100278250(&v33, 0.0, 0.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v11 + 296LL))(v11, &v33); v12 = *(_QWORD *)(a1 + 440); sub_100278250(&v33, 0.0, 0.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v12 + 296LL))(v12, &v33); v13 = *(_QWORD *)(a1 + 456); sub_100278250(&v33, 0.0, 0.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v13 + 296LL))(v13, &v33); v14 = *(_QWORD *)(a1 + 464); sub_100278250(&v33, 0.0, 0.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v14 + 296LL))(v14, &v33); v15 = *(_QWORD *)(a1 + 480); sub_100278250(&v33, 0.0, 0.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v15 + 296LL))(v15, &v33); v16 = *(_QWORD *)(a1 + 448); sub_100278250(&v33, 0.0, 0.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v16 + 296LL))(v16, &v33); v17 = *(_QWORD *)(a1 + 496); sub_100278250(&v33, 0.0, 0.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v17 + 296LL))(v17, &v33); v18 = *(_QWORD *)(a1 + 472); sub_100278250(&v33, 0.0, 0.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v18 + 296LL))(v18, &v33); v19 = *(_QWORD *)(a1 + 488); sub_100278250(&v33, 0.0, 0.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v19 + 184LL))(v19, &v33); v20 = *(_QWORD *)(a1 + 504); v32 = v32 + v29; sub_100278250(&v33, v32, 0.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v20 + 184LL))(v20, &v33); v21 = *(_QWORD *)(a1 + 440); v31 = v31 + v30; sub_100278250(&v33, 0.0, v31); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v21 + 184LL))(v21, &v33); v22 = *(_QWORD *)(a1 + 456); sub_100278250(&v33, v32, v31); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v22 + 184LL))(v22, &v33); v23 = *(_QWORD *)(a1 + 464); sub_100278250(&v33, 0.0, v30); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v23 + 184LL))(v23, &v33); (*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 464) + 144LL))(*(_QWORD *)(a1 + 464), v35); v24 = *(_QWORD *)(a1 + 480); sub_100278250(&v33, v32, v30); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v24 + 184LL))(v24, &v33); (*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 480) + 144LL))(*(_QWORD *)(a1 + 480), v35); v25 = *(_QWORD *)(a1 + 496); sub_100278250(&v33, v29, 0.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v25 + 184LL))(v25, &v33); (*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 496) + 128LL))(*(_QWORD *)(a1 + 496), v34); v26 = *(_QWORD *)(a1 + 448); sub_100278250(&v33, v29, v31); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v26 + 184LL))(v26, &v33); (*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 448) + 128LL))(*(_QWORD *)(a1 + 448), v34); v27 = *(_QWORD *)(a1 + 472); sub_100278250(&v33, v29, v30); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v27 + 184LL))(v27, &v33); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source