// // GameToolbox::alignItemsVertically from 0x14006c940 to 0x14006caf6 (438 bytes) // // 2 xrefs: // > AccountLoginLayer::init @ 0x14009136b // > @ 0x1409115d0 // // 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 11:25:48 +0000 // void __fastcall GameToolbox::alignItemsVertically(__int64 a1, float a2, __int64 a3) { float v4; // xmm7_4 unsigned int *v6; // rdi __int64 v7; // rax __int64 *v8; // rdi __int64 *i; // rsi __int64 v10; // rbx float v11; // xmm6_4 float v12; // xmm7_4 unsigned int *v13; // rsi __int64 v14; // rax __int64 **v15; // rsi __int64 **j; // rbp __int64 *v17; // rdi const struct cocos2d::CCSize *v18; // rax __int64 v19; // rbx double v20; // xmm0_8 __int64 v21; // rax __int64 v22; // rax float v23; // xmm0_4 _BYTE v24[16]; // [rsp+20h] [rbp-58h] BYREF char v25; // [rsp+80h] [rbp+8h] BYREF float v26; // [rsp+84h] [rbp+Ch] char v27; // [rsp+98h] [rbp+20h] BYREF v4 = -a2; if ( a1 ) { v6 = *(unsigned int **)(a1 + 56); v7 = *v6; if ( (_DWORD)v7 ) { v8 = *((__int64 **)v6 + 2); for ( i = &v8[v7 - 1]; v8 <= i; v4 = v4 + (float)((float)((*(float (__fastcall **)(__int64))(*(_QWORD *)v10 + 144LL))(v10) * v11) + a2) ) { v10 = *v8; if ( !*v8 ) break; v11 = *(float *)((*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)v10 + 320LL))(*v8++) + 4); } } } v12 = (float)-v4 * 0.5; if ( a1 ) { v13 = *(unsigned int **)(a1 + 56); v14 = *v13; if ( (_DWORD)v14 ) { v15 = *((__int64 ***)v13 + 2); for ( j = &v15[v14 - 1]; v15 <= j; v12 = v12 + (float)((float)(v23 * v26) + a2) ) { v17 = *v15; if ( !*v15 ) break; v18 = (const struct cocos2d::CCSize *)(*(__int64 (__fastcall **)(__int64 *))(*v17 + 320))(*v15); cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v25, v18); v19 = *v17; v20 = (*(double (__fastcall **)(__int64 *))(*v17 + 144))(v17); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v24, 0.0, (float)((float)(*(float *)&v20 * v26) * 0.5) + v12); (*(void (__fastcall **)(__int64 *, __int64))(v19 + 184))(v17, v21); v22 = (*(__int64 (__fastcall **)(__int64 *))(*v17 + 200))(v17); cocos2d::CCPoint::operator+(a3, &v27, v22); (*(void (__fastcall **)(__int64 *, char *))(*v17 + 184))(v17, &v27); v23 = (*(float (__fastcall **)(__int64 *))(*v17 + 144))(v17); ++v15; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source