// // InfoLayer::setupLevelInfo from 0x1008936f0 to 0x100893906 (534 bytes) // // 1 xrefs: // > InfoLayer::init @ 0x100892204 // // 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 12:37:05 +0000 // __int64 __fastcall InfoLayer::setupLevelInfo(_QWORD *a1) { __int64 v2; // rax __int64 v3; // rax int v4; // r12d _DWORD *v5; // rax __int64 v6; // rax _DWORD *v7; // rcx char *v8; // rax __int64 CString; // rax void *v10; // r15 __int64 v11; // rdi int v12; // edx int v13; // ecx int v14; // r8d int v15; // r9d __int64 v16; // r14 char *v17; // rax const char *v18; // rdi void *v19; // r13 void *v20; // rax double v22; // [rsp+0h] [rbp-50h] BYREF unsigned __int64 v23; // [rsp+8h] [rbp-48h] BYREF _QWORD *v24; // [rsp+10h] [rbp-40h] __int64 v25; // [rsp+18h] [rbp-38h] BYREF unsigned __int64 v26[6]; // [rsp+20h] [rbp-30h] BYREF v2 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(&v25, v2); v3 = a1[89]; if ( v3 ) { v4 = *(_DWORD *)(v3 + 344); v5 = (_DWORD *)(v3 + 348); } else { v6 = a1[90]; if ( v6 ) { v4 = *(_DWORD *)(v6 + 316); v5 = (_DWORD *)(v6 + 328); } else { v7 = (_DWORD *)a1[87]; v5 = v7 + 197; v4 = v7[82] - v7[83]; } } v8 = sub_10088E820("Version: %i", *v5); CString = cocos2d::CCString::getCString((__int64)v8); v10 = cocos2d::CCLabelBMFont::create_3(CString, (__int64)"goldFont.fnt"); v11 = a1[73]; (*(void (__fastcall **)(__int64, void *, __int64))(*(_QWORD *)v11 + 464LL))(v11, v10, 2); v16 = cocos2d::CCMenu::create(v11, (__int64)v10, v12, v13, v14, v15); (*(void (__fastcall **)(_QWORD, __int64, __int64))(*(_QWORD *)a1[73] + 464LL))(a1[73], v16, 2); v24 = a1; if ( v4 ) { v17 = sub_10088E820("ID: %i", v4); v18 = (const char *)cocos2d::CCString::getCString((__int64)v17); } else { v18 = "ID: na"; } v19 = cocos2d::CCLabelBMFont::create_3((__int64)v18, (__int64)"goldFont.fnt"); sub_100278250((float *)v26, *(float *)&v25 * 0.5, (float)((float)(0.5 * *((float *)&v25 + 1)) + -145.0) + 14.0); sub_100278250((float *)&v23, -50.0, 0.0); sub_100278350(&v22, v26, &v23); (*(void (__fastcall **)(void *, double *))(*(_QWORD *)v10 + 184LL))(v10, &v22); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v10 + 160LL))(v10, 0.60000002); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v19 + 160LL))(v19, 0.60000002); v20 = CCMenuItemSpriteExtra::create((__int64)v19, 0, (__int64)v24, (__int64)InfoLayer::onCopyLevelID, 0); (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v16 + 456LL))(v16, v20); sub_100278250((float *)&v23, 50.0, 0.0); sub_100278350(&v22, v26, &v23); return (*(__int64 (__fastcall **)(__int64, double *))(*(_QWORD *)v16 + 184LL))(v16, &v22); }
GD Web Decomp Icon

GD Web Decomp

Raw Source