// // cocos2d::CCMenu::alignItemsInRows from 0xd64df4 to 0xd64ed4 (224 bytes) // // 2 xrefs: // > cocos2d::CCMenu::alignItemsInRows @ 0xd64f64 // > @ 0x80fb0 // // 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 13:07:53 +0000 // __int64 __fastcall cocos2d::CCMenu::alignItemsInRows(cocos2d::CCMenu *this, int a2, _DWORD *a3) { int *v6; // x20 int v7; // w22 cocos2d::CCArray *i; // x23 int *v9; // x0 cocos2d::CCObject *v10; // x19 v6 = *(int **)a3; v7 = a3[6]; for ( i = cocos2d::CCArray::create(this); a2; v6 = (int *)(((unsigned __int64)v6 + 11) & 0xFFFFFFFFFFFFFFF8LL) ) { while ( 1 ) { v10 = (cocos2d::CCObject *)operator new(0x40u); cocos2d::CCObject::CCObject((__int64)v10); *((_DWORD *)v10 + 14) = a2; *(_QWORD *)v10 = &off_1428350; cocos2d::CCObject::autorelease(v10); cocos2d::CCArray::addObject(i, v10); if ( v7 < 0 ) break; v9 = v6; v6 = (int *)(((unsigned __int64)v6 + 11) & 0xFFFFFFFFFFFFFFF8LL); LABEL_4: a2 = *v9; if ( !*v9 ) return cocos2d::CCMenu::alignItemsInRowsWithArray(this, i); } if ( v7 + 8 <= 0 ) { v9 = (int *)(*((_QWORD *)a3 + 1) + v7); v7 += 8; goto LABEL_4; } a2 = *v6; v7 += 8; } return cocos2d::CCMenu::alignItemsInRowsWithArray(this, i); }
GD Web Decomp Icon

GD Web Decomp

Raw Source