// // sub_100224060 from 0x100224060 to 0x100224263 (515 bytes) // // 2 xrefs: // > SetupTriggerPopup::createEasingControls @ 0x100223c73 // > SetupTriggerPopup::createCustomEasingControls @ 0x100225016 // // 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:27:04 +0000 // __int64 __fastcall sub_100224060(__int64 a1, __int64 a2, unsigned int a3, int a4, unsigned int a5, int a6, float a7) { __int64 i; // rdi __int64 v11; // r12 __int64 v12; // rax __int64 j; // rdi __int64 v14; // r15 __int64 v15; // rax __int64 v16; // r15 _DWORD *v17; // r15 __int64 v18; // r12 float *v19; // rax __int64 result; // rax _BYTE v21[8]; // [rsp+8h] [rbp-68h] BYREF _BYTE v22[8]; // [rsp+10h] [rbp-60h] BYREF _BYTE v23[8]; // [rsp+18h] [rbp-58h] BYREF __int64 v24; // [rsp+20h] [rbp-50h] __int64 v25; // [rsp+28h] [rbp-48h] __int64 v26; // [rsp+30h] [rbp-40h] int v27; // [rsp+3Ch] [rbp-34h] unsigned int v28; // [rsp+40h] [rbp-30h] float v29; // [rsp+44h] [rbp-2Ch] v27 = a4; v28 = a3; v29 = a7; for ( i = *(_QWORD *)(a1 + 912); (unsigned int)sub_1007FEF90(i) <= a5; i = *(_QWORD *)(a1 + 912) ) { v11 = *(_QWORD *)(a1 + 912); v12 = sub_1007FE900(i); sub_1007FEBF0(v11, v12); } v24 = sub_1007FEFE0(*(_QWORD *)(a1 + 912), a5); for ( j = *(_QWORD *)(a1 + 928); (unsigned int)sub_1007FEF90(j) <= a6; j = *(_QWORD *)(a1 + 928) ) { v14 = *(_QWORD *)(a1 + 928); v15 = sub_1007FE900(j); sub_1007FEBF0(v14, v15); } v26 = sub_1007FEFE0(*(_QWORD *)(a1 + 928), (unsigned int)a6); v16 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_optionsBtn_001.png"); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v16 + 160LL))(v16, 0.44999999 * v29); v17 = (_DWORD *)CCMenuItemSpriteExtra::create(v16, 0, a1, sub_100224590, 0); (*(void (__fastcall **)(_QWORD, _DWORD *))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v17); v25 = *(_QWORD *)(a1 + 552); v18 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 192LL))(a2); v19 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 328LL))(a2); sub_100278250(v23, (float)-(float)((float)(*v19 * 0.5) + 8.0) * v29, v29 * -2.0); sub_100278350(v22, v18, v23); cocos2d::CCNode::convertToNodeSpace(v21, v25, v22); (*(void (__fastcall **)(_DWORD *, _BYTE *))(*(_QWORD *)v17 + 184LL))(v17, v21); CCMenuItemSpriteExtra::setSizeMult(v17, 1.2); (*(void (__fastcall **)(_DWORD *, _QWORD))(*(_QWORD *)v17 + 72LL))(v17, v28); v17[124] = v27; result = sub_1007FEBF0(v24, v17); if ( a6 > 0 ) return sub_1007FEBF0(v26, v17); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source