// // sub_100225BC4 from 0x100225bc4 to 0x100225e48 (644 bytes) // // 1 xrefs: // > SupportLayer::customSetup @ 0x100224b14 // // 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:01:10 +0000 // char *__fastcall sub_100225BC4( __int64 a1, __int64 *a2, __int64 a3, __int64 a4, __int64 a5, __int64 a6, float32x2_t *a7, __int64 a8) { __int64 v16; // x23 __int64 v17; // x28 char *v18; // x20 __n128 v19; // q0 __int64 v20; // x22 float *v21; // x0 double v22; // d0 __n128 v23; // q0 float *v24; // x0 float32x2_t v26; // [xsp+0h] [xbp-70h] BYREF float32x2_t v27; // [xsp+8h] [xbp-68h] BYREF v16 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_checkOn_001.png"); v17 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_checkOff_001.png"); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v16 + 160LL))(v16, 0.8); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v17 + 160LL))(v17, 0.8); v18 = CCMenuItemToggler::create(v16, v17, a1, a3, a4); CCMenuItemToggler::toggle((__int64)v18, a5); v19.n128_f64[0] = (*(double (__fastcall **)(__int64, char *))(*(_QWORD *)a6 + 456LL))(a6, v18); cocos2d::CCNode::convertToNodeSpace(&v27, a6, a7, v19); (*(void (__fastcall **)(char *, float32x2_t *))(*(_QWORD *)v18 + 184LL))(v18, &v27); CCMenuItemToggler::setSizeMult((__int64)v18, 1.5); if ( *((char *)a2 + 23) < 0 ) a2 = (__int64 *)*a2; v20 = cocos2d::CCLabelBMFont::create_1(a2, "bigFont.fnt"); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 576) + 456LL))(*(_QWORD *)(a1 + 576), v20); sub_1000262BC((float *)&v27, 0.0, 0.5); (*(void (__fastcall **)(__int64, float32x2_t *))(*(_QWORD *)v20 + 296LL))(v20, &v27); v21 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v16 + 328LL))(v16); sub_1000262BC((float *)&v26, (float)((float)(*v21 * 0.5) * 0.8) + 8.0, 0.0); *(float32x2_t *)&v22 = sub_100026318(a7, &v26, &v27); (*(void (__fastcall **)(__int64, float32x2_t *, double))(*(_QWORD *)v20 + 184LL))(v20, &v27, v22); v23.n128_u32[0] = *(_DWORD *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v20 + 328LL))(v20); if ( v23.n128_f32[0] > 120.0 ) { v24 = (float *)(*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v20 + 328LL))(v20, v23.n128_f32[0]); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v20 + 160LL))(v20, 120.0 / *v24); } if ( (*(float (__fastcall **)(__int64, __n128))(*(_QWORD *)v20 + 168LL))(v20, v23) <= 0.35 ) (*(void (__fastcall **)(__int64))(*(_QWORD *)v20 + 168LL))(v20); (*(void (__fastcall **)(__int64))(*(_QWORD *)v20 + 160LL))(v20); if ( a8 ) { sub_1002E74E0(a8, v18); sub_1002E74E0(a8, v20); } return v18; }
GD Web Decomp Icon

GD Web Decomp

Raw Source