// // sub_7DC4C8 from 0x7dc4c8 to 0x7dc538 (112 bytes) // // 2 xrefs: // > cocos2d::CCMenu::alignItemsInColumnsWithArray @ 0x7dc55a // > cocos2d::CCMenu::alignItemsInRowsWithArray @ 0x7dc834 // // 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:45 +0000 // _DWORD *__fastcall sub_7DC4C8(_DWORD *a1, int a2) { _DWORD *v3; // r2 int *v4; // r5 int *v5; // r6 int v6; // r3 int v7; // t1 int v8; // r2 unsigned int v9; // r1 _DWORD *v10; // r3 _DWORD v12[2]; // [sp+0h] [bp-8h] BYREF v12[0] = a1; v12[1] = a2; *a1 = 0; a1[1] = 0; a1[2] = 0; if ( a2 ) { v3 = *(_DWORD **)(a2 + 52); if ( *v3 ) { v4 = (int *)v3[3]; v5 = &v4[*v3 - 1]; while ( v4 <= v5 ) { v7 = *v4++; v6 = v7; if ( !v7 ) break; v8 = *(_DWORD *)(v6 + 52); v9 = a1[2]; v10 = (_DWORD *)a1[1]; v12[0] = v8; if ( (unsigned int)v10 >= v9 ) { std::vector::__push_back_slow_path((int)a1, v12); } else { if ( v10 ) *v10 = v8; a1[1] += 4; } } } } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source