// // EditorSoundBrowserLayer::layoutCells from 0x14018f9c0 to 0x14018fbdd (541 bytes) // // 7 xrefs: // > EditorSoundBrowserLayer::loadCurrentPage @ 0x14018f434 // > EditorSoundBrowserLayer::loadCurrentPage @ 0x14018f8e7 // > EditorSoundBrowserLayer::loadEditorSoundsFinished @ 0x14019048e // > EditorSoundBrowserLayer::loadEditorSoundsFailed @ 0x14019053d // > @ 0x14089f41c // > @ 0x14089f42c // > @ 0x14091922c // // 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:27:42 +0000 // __int64 __fastcall EditorSoundBrowserLayer::layoutCells(__int64 a1, cocos2d::CCObject *a2, const char *a3) { __int64 v6; // rcx __int64 v7; // rdx unsigned int v8; // eax int v9; // edx int v10; // r9d __int64 v11; // rax __int64 v12; // rcx __int64 v13; // rcx __int64 v14; // rax __int64 *v15; // rdi __int64 v16; // rbx __int64 v17; // rax __int64 v19; // rax struct cocos2d::CCLabelBMFont *v20; // rdi void (__fastcall **v21)(__int64, __int16 *); // rdx __int64 v22; // rbx __int64 v23; // rax __int64 v24; // [rsp+20h] [rbp-48h] __int64 v25; // [rsp+28h] [rbp-40h] int v26; // [rsp+30h] [rbp-38h] __int16 v27; // [rsp+70h] [rbp+8h] BYREF char v28; // [rsp+72h] [rbp+Ah] float v29; // [rsp+78h] [rbp+10h] BYREF float v30; // [rsp+7Ch] [rbp+14h] float v31; // [rsp+88h] [rbp+20h] BYREF float v32; // [rsp+8Ch] [rbp+24h] EditorSoundBrowserLayer::clearCells(a1, (__int64)a2, (__int64)a3); *(_QWORD *)(a1 + 1088) = a2; if ( a2 && (cocos2d::CCObject::retain(a2), cocos2d::CCArray::count(a2)) ) { v7 = a1 + 1016; v26 = *(_DWORD *)(a1 + 1200); if ( !a1 ) v7 = 0; v8 = (unsigned int)CustomListView::create( a2, v7, 180.0, 340.0, v24, (unsigned int)(*(_DWORD *)(a1 + 1032) == 1) + 34); LOBYTE(v25) = 0; v11 = GJCommentListLayer::create(v8, v9, -14201459, v10, 1127481344, v25, v26); v12 = *(_QWORD *)(a1 + 584); *(_QWORD *)(a1 + 1040) = v11; (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v12 + 456LL))(v12, v11, 5); v14 = cocos2d::CCDirector::sharedDirector(v13); cocos2d::CCDirector::getWinSize(v14, &v29); v15 = *(__int64 **)(a1 + 1040); v16 = *v15; cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v27, (float)(v29 - 340.0) * 0.5, (float)((float)(v30 - 180.0) * 0.5) - 30.0); return (*(__int64 (__fastcall **)(__int64 *, __int64))(v16 + 184))(v15, v17); } else { v19 = cocos2d::CCDirector::sharedDirector(v6); cocos2d::CCDirector::getWinSize(v19, &v31); v20 = cocos2d::CCLabelBMFont::create(a3, (const char *)&qword_140704F78); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v20 + 160LL))(v20); v27 = -14136; v21 = *((void (__fastcall ***)(__int64, __int16 *))v20 + 46); v28 = -56; (*v21)((__int64)v20 + 368, &v27); v22 = *(_QWORD *)v20; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v27, v31 * 0.5, (float)(v32 * 0.5) - 10.0); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v22 + 184))(v20, v23); (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)v20 + 64LL))(v20, 9999); return (*(__int64 (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *, __int64))(**(_QWORD **)(a1 + 584) + 456LL))( *(_QWORD *)(a1 + 584), v20, 5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source