// // sub_1008FF5F0 from 0x1008ff5f0 to 0x1008ff94b (859 bytes) // // 1 xrefs: // > sub_1008FF3E0 @ 0x1008ff59b // // 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:38:02 +0000 // __int64 __fastcall sub_1008FF5F0(__int64 a1, __int64 a2) { __int64 result; // rax unsigned int v4; // r13d __int64 v5; // rax void *v6; // r14 void *v7; // r14 __int64 v8; // rdi int v9; // edx int v10; // ecx int v11; // r8d int v12; // r9d __int64 v13; // rax __int64 v14; // r14 char *v15; // rax void *v16; // r15 char *v17; // rax void *v18; // r14 double v19; // xmm0_8 char *v20; // rax void *v21; // r14 unsigned __int64 v22[2]; // [rsp+0h] [rbp-40h] BYREF __int64 v23; // [rsp+10h] [rbp-30h] BYREF result = FLAlertLayer::init_1((_BYTE *)a1, 150); if ( (_BYTE)result ) { *(_QWORD *)(a1 + 672) = a2; *(_BYTE *)(a1 + 596) = 1; v4 = result; v5 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(&v23, v5); sub_100278270((__int64)v22, 0.0, 0.0, (__m128)0x42A00000u, (__m128)0x42A00000u); v6 = cocos2d::extension::CCScale9Sprite::create_2((__int64)"GJ_square01.png", v22); sub_100278260((float *)v22, 280.0, 160.0); (*(void (__fastcall **)(void *, unsigned __int64 *))(*(_QWORD *)v6 + 320LL))(v6, v22); sub_100278250((float *)v22, *(float *)&v23 * 0.5, *((float *)&v23 + 1) * 0.5); (*(void (__fastcall **)(void *, unsigned __int64 *))(*(_QWORD *)v6 + 184LL))(v6, v22); (*(void (__fastcall **)(_QWORD, void *, __int64))(**(_QWORD **)(a1 + 584) + 464LL))( *(_QWORD *)(a1 + 584), v6, 4294967294LL); v7 = cocos2d::CCLabelBMFont::create_3((__int64)"Editor SFX", (__int64)"goldFont.fnt"); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v7 + 160LL))(v7, 0.69999999); sub_100278250((float *)v22, *(float *)&v23 * 0.5, (float)((float)(*((float *)&v23 + 1) * 0.5) + 80.0) + -20.0); (*(void (__fastcall **)(void *, unsigned __int64 *))(*(_QWORD *)v7 + 184LL))(v7, v22); v8 = *(_QWORD *)(a1 + 584); (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v8 + 456LL))(v8, v7); v13 = cocos2d::CCMenu::create(v8, (__int64)v7, v9, v10, v11, v12); *(_QWORD *)(a1 + 552) = v13; (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 464LL))(*(_QWORD *)(a1 + 584), v13, 10); v14 = *(_QWORD *)(a1 + 552); sub_100278250((float *)v22, *(float *)&v23 * 0.5, 0.5 * *((float *)&v23 + 1)); (*(void (__fastcall **)(__int64, unsigned __int64 *))(*(_QWORD *)v14 + 184LL))(v14, v22); v15 = ButtonSprite::create_1( (__int64)"Download used SFX", 0xAAu, 0, 1u, (__int64)"bigFont.fnt", (__int64)"GJ_button_04.png", 0.55000001, 28.0); v16 = CCMenuItemSpriteExtra::create((__int64)v15, 0, a1, (__int64)sub_1008FF950, 0); sub_100278250((float *)v22, 0.0, 12.0); (*(void (__fastcall **)(void *, unsigned __int64 *))(*(_QWORD *)v16 + 184LL))(v16, v22); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v16); v17 = ButtonSprite::create_1( (__int64)"Clear All bindings", 0xAAu, 0, 1u, (__int64)"bigFont.fnt", (__int64)"GJ_button_06.png", 0.55000001, 28.0); v18 = CCMenuItemSpriteExtra::create((__int64)v17, 0, a1, (__int64)sub_1008FFC10, 0); sub_100278250((float *)v22, 0.0, -28.0); (*(void (__fastcall **)(void *, unsigned __int64 *))(*(_QWORD *)v18 + 184LL))(v18, v22); v19 = (*(double (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v18); v20 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"GJ_closeBtn_001.png", v19); v21 = CCMenuItemSpriteExtra::create((__int64)v20, 0, a1, (__int64)sub_1008FFCE0, 0); CCMenuItemSpriteExtra::setSizeMult((__int64)v21, 1.5); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v21); sub_100278250((float *)v22, -130.0, 70.0); (*(void (__fastcall **)(void *, unsigned __int64 *))(*(_QWORD *)v21 + 184LL))(v21, v22); return v4; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source