// // EditorSoundBrowserLayer::layoutCells from 0xcc8670 to 0xcc8898 (552 bytes) // // 5 xrefs: // > EditorSoundBrowserLayer::loadEditorSoundsFinished @ 0xcc8db4 // > EditorSoundBrowserLayer::loadEditorSoundsFailed @ 0xcc8e58 // > EditorSoundBrowserLayer::loadCurrentPage @ 0xcc9298 // > EditorSoundBrowserLayer::loadCurrentPage @ 0xcc9480 // > @ 0xabb20 // // 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:06:22 +0000 // __int64 __fastcall EditorSoundBrowserLayer::layoutCells( EditorSoundBrowserLayer *this, cocos2d::CCArray *a2, cocos2d::CCLabelBMFont *a3) { cocos2d::CCObject *v6; // x0 int v7; // w3 __int64 v8; // x0 cocos2d::CCLayerColor *v9; // x0 cocos2d::CCDirector *v10; // x0 cocos2d::CCDirector *v11; // x0 __int64 v12; // x19 void (__fastcall *v13)(__int64, _BYTE *); // x20 cocos2d::CCDirector *v15; // x0 const char *v16; // x2 __int64 v17; // x20 void (__fastcall *v18)(__int64, _BYTE *); // x3 void (__fastcall *v19)(__int64, _BYTE *); // x23 __int64 v20; // [xsp+68h] [xbp+68h] BYREF _BYTE v21[8]; // [xsp+70h] [xbp+70h] BYREF v6 = EditorSoundBrowserLayer::clearCells(this); *((_QWORD *)this + 138) = a2; if ( a2 && (cocos2d::CCObject::retain(a2), v6 = (cocos2d::CCObject *)cocos2d::CCArray::count(a2), (_DWORD)v6) ) { if ( *((_DWORD *)this + 262) == 1 ) v7 = 35; else v7 = 34; v8 = CustomListView::create(a2, (int)this + 1032, 0, v7, 180.0, 340.0, *((float *)this + 300)); v9 = GJCommentListLayer::create(v8, (__int64)&byte_11B8890, -14201459, 0, 340.0, 180.0); *((_QWORD *)this + 132) = v9; v10 = (cocos2d::CCDirector *)(*(__int64 (__fastcall **)(_QWORD, cocos2d::CCLayerColor *, __int64))(**((_QWORD **)this + 73) + 464LL))( *((_QWORD *)this + 73), v9, 5); v11 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v10); cocos2d::CCDirector::getWinSize(&v20, v11); v12 = *((_QWORD *)this + 132); v13 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v12 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v21, (float)(*(float *)&v20 - 340.0) * 0.5, (float)((float)(*((float *)&v20 + 1) - 180.0) * 0.5) + -30.0); v13(v12, v21); } else { v15 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v6); cocos2d::CCDirector::getWinSize(&v20, v15); v17 = cocos2d::CCLabelBMFont::create(a3, "bigFont.fnt", v16); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v17 + 160LL))(v17, 0.6); v18 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v17 + 1072LL); v21[0] = -56; v21[1] = -56; v21[2] = -56; v18(v17, v21); v19 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v17 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v21, *(float *)&v20 * 0.5, (float)(*((float *)&v20 + 1) * 0.5) + -10.0); v19(v17, v21); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v17 + 72LL))(v17, 9999); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))( *((_QWORD *)this + 73), v17, 5); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source