// // sub_1004EE2C0 from 0x1004ee2c0 to 0x1004ee658 (920 bytes) // // 1 xrefs: // > sub_1004EE1C8 @ 0x1004ee270 // // 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 11:06:44 +0000 // __int64 __fastcall sub_1004EE2C0(__int64 a1, __int64 a2, char **a3) { __int64 inited; // x19 __int64 v7; // x0 float v8; // s9 void *v9; // x21 void *v10; // x21 float v11; // s9 __int64 v12; // x0 __int64 v13; // x21 __int64 v14; // x8 __int64 v15; // x26 unsigned __int64 v16; // x21 void *v17; // x0 void *v18; // x24 void *v19; // x0 void *v20; // x21 float v22[4]; // [xsp+8h] [xbp-78h] BYREF __int64 v23; // [xsp+18h] [xbp-68h] BYREF inited = FLAlertLayer::init_1((_DWORD *)a1, 150); if ( (_DWORD)inited ) { *(_QWORD *)(a1 + 672) = a2; if ( (char **)(a1 + 680) != a3 ) sub_1000260E0((_QWORD *)(a1 + 680), *a3, a3[1], 0xAAAAAAAAAAAAAAABLL * ((a3[1] - *a3) >> 4)); *(_BYTE *)(a1 + 596) = 1; v7 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v7, &v23); v8 = (float)((float)(0xAAAAAAAAAAAAAAABLL * ((__int64)(*(_QWORD *)(a1 + 688) - *(_QWORD *)(a1 + 680)) >> 4)) * 38.0) + 66.0; sub_1000262CC(v22, 0.0, 0.0, 80.0, 80.0); v9 = cocos2d::extension::CCScale9Sprite::create((__int64)"GJ_square01.png", (__int64)v22); sub_1000262C4(v22, 260.0, v8); (*(void (__fastcall **)(void *, float *))(*(_QWORD *)v9 + 320LL))(v9, v22); sub_1000262BC(v22, *(float *)&v23 * 0.5, *((float *)&v23 + 1) * 0.5); (*(void (__fastcall **)(void *, float *))(*(_QWORD *)v9 + 184LL))(v9, v22); (*(void (__fastcall **)(_QWORD, void *, __int64))(**(_QWORD **)(a1 + 584) + 464LL))( *(_QWORD *)(a1 + 584), v9, 4294967294LL); v10 = cocos2d::CCLabelBMFont::create_1("Keybind Settings", "goldFont.fnt"); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v10 + 160LL))(v10, 0.7); v11 = v8 * 0.5; sub_1000262BC(v22, *(float *)&v23 * 0.5, (float)(v11 + (float)(*((float *)&v23 + 1) * 0.5)) + -20.0); (*(void (__fastcall **)(void *, float *))(*(_QWORD *)v10 + 184LL))(v10, v22); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v10); v12 = cocos2d::CCMenu::create(); *(_QWORD *)(a1 + 552) = v12; (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 464LL))(*(_QWORD *)(a1 + 584), v12, 10); v13 = *(_QWORD *)(a1 + 552); sub_1000262BC(v22, *(float *)&v23 * 0.5, *((float *)&v23 + 1) * 0.5); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v13 + 184LL))(v13, v22); v14 = *(_QWORD *)(a1 + 680); if ( *(_QWORD *)(a1 + 688) != v14 ) { v15 = 0; v16 = 0; do { v17 = ButtonSprite::create_1( *(_QWORD *)(v14 + v15), 130, 0, 1, (__int64)"bigFont.fnt", *(_QWORD *)(v14 + v15 + 8), 0.7, 28.0); v18 = CCMenuItemSpriteExtra::create((__int64)v17, 0, a1, (__int64)sub_1004EE658, 0); (*(void (__fastcall **)(void *, unsigned __int64))(*(_QWORD *)v18 + 72LL))(v18, v16); sub_1000262BC(v22, 0.0, (float)(v11 + -62.0) + (float)((float)v16 * -38.0)); (*(void (__fastcall **)(void *, float *))(*(_QWORD *)v18 + 184LL))(v18, v22); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v18); ++v16; v14 = *(_QWORD *)(a1 + 680); v15 += 48; } while ( v16 < 0xAAAAAAAAAAAAAAABLL * ((*(_QWORD *)(a1 + 688) - v14) >> 4) ); } v19 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"GJ_closeBtn_001.png"); v20 = CCMenuItemSpriteExtra::create((__int64)v19, 0, a1, (__int64)sub_1004EE724, 0); CCMenuItemSpriteExtra::setSizeMult((__int64)v20, 1.5); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v20); sub_1000262BC(v22, -120.0, v11 + -10.0); (*(void (__fastcall **)(void *, float *))(*(_QWORD *)v20 + 184LL))(v20, v22); } return inited; }
GD Web Decomp Icon

GD Web Decomp

Raw Source