// // cocos2d::CCMenu::alignItemsInRows from 0x18005a6c0 to 0x18005a769 (169 bytes) // // 3 xrefs: // > cocos2d::CCMenu::alignItemsInRows @ 0x18005a787 // > @ 0x18014cf68 // > @ 0x1801bcce8 // // 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:21:48 +0000 // void __fastcall cocos2d::CCMenu::alignItemsInRows(cocos2d::CCMenu *this, int a2, char *a3) { cocos2d::CCArray *v6; // rbp char *v7; // rsi cocos2d::CCObject *v8; // rax cocos2d::CCObject *v9; // rbx v6 = cocos2d::CCArray::create(); if ( a2 ) { v7 = a3 - 8; do { v8 = (cocos2d::CCObject *)sub_1800E4AC0(0x40u); v9 = v8; if ( v8 ) { cocos2d::CCObject::CCObject(v8); *(_QWORD *)v9 = &cocos2d::CCInteger::`vftable'; *((_DWORD *)v9 + 14) = a2; } else { v9 = nullptr; } cocos2d::CCObject::autorelease(v9); cocos2d::CCArray::addObject(v6, v9); v7 += 8; a2 = *(_DWORD *)v7; } while ( *(_DWORD *)v7 ); } cocos2d::CCMenu::alignItemsInRowsWithArray(this, v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source