// // GameToolbox::alignItemsVertically from 0x69b628 to 0x69b808 (480 bytes) // // 2 xrefs: // > AccountLoginLayer::init @ 0x991de0 // > @ 0x6e3e0 // // 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 12:50:40 +0000 // __int64 __fastcall GameToolbox::alignItemsVertically(__int64 a1, __int64 a2, float a3) { int *v6; // x1 unsigned int v7; // w0 __int64 *v8; // x20 float v9; // s8 __int64 *v10; // x24 __int64 v11; // x19 float v12; // s9 char *v13; // x25 __int64 v14; // x0 char *v15; // x21 __int64 v16; // x19 float v17; // s8 const cocos2d::CCSize *v18; // x0 float v19; // s9 void (__fastcall *v20)(__int64, __int64 *); // x26 float v21; // s0 void (__fastcall *v22)(__int64, __int64 *); // x26 __int64 v23; // x0 float v24; // s9 char v26[4]; // [xsp+78h] [xbp+78h] BYREF float v27; // [xsp+7Ch] [xbp+7Ch] __int64 v28; // [xsp+80h] [xbp+80h] BYREF if ( a1 ) { v6 = *(int **)(a1 + 56); v7 = *v6; if ( *v6 ) { v8 = *((__int64 **)v6 + 2); v9 = -a3; v10 = &v8[v7 - 1]; if ( v8 > v10 ) goto LABEL_8; v11 = *v8; if ( !*v8 ) goto LABEL_8; do { ++v8; v12 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v11 + 328LL))(v11) + 4); v9 = v9 + (float)(a3 + (float)(v12 * (*(float (__fastcall **)(__int64))(*(_QWORD *)v11 + 152LL))(v11))); if ( v10 < v8 ) break; v11 = *v8; } while ( *v8 ); v6 = *(int **)(a1 + 56); v7 = *v6; if ( *v6 ) { LABEL_8: v13 = *((char **)v6 + 2); v14 = 8LL * v7 - 8; v15 = &v13[v14]; if ( v13 <= &v13[v14] ) { v16 = *(_QWORD *)v13; if ( *(_QWORD *)v13 ) { v17 = (float)-v9 * 0.5; do { v13 += 8; v18 = (const cocos2d::CCSize *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v16 + 328LL))(v16); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v26, v18); v19 = v27; v20 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v16 + 184LL); v21 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v16 + 152LL))(v16); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v28, 0.0, v17 + (float)((float)(v19 * v21) * 0.5)); v20(v16, &v28); v22 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v16 + 184LL); v23 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v16 + 192LL))(v16); cocos2d::CCPoint::operator+(&v28, a2, v23); v22(v16, &v28); v24 = v27; v17 = v17 + (float)(a3 + (float)(v24 * (*(float (__fastcall **)(__int64))(*(_QWORD *)v16 + 152LL))(v16))); if ( v15 < v13 ) break; v16 = *(_QWORD *)v13; } while ( *(_QWORD *)v13 ); } } } } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source