// // sub_10037490C from 0x10037490c to 0x100374af4 (488 bytes) // // 12 xrefs: // > GJAccountSettingsLayer::init @ 0x100373768 // > GJAccountSettingsLayer::init @ 0x100373818 // > GJAccountSettingsLayer::init @ 0x1003738c0 // > GJAccountSettingsLayer::init @ 0x100373b8c // > GJAccountSettingsLayer::init @ 0x100373c20 // > GJAccountSettingsLayer::init @ 0x100373cb8 // > GJAccountSettingsLayer::init @ 0x100373f94 // > GJAccountSettingsLayer::init @ 0x100374034 // > GJAccountSettingsLayer::init @ 0x1003740c8 // > GJAccountSettingsLayer::init @ 0x1003742bc // > GJAccountSettingsLayer::init @ 0x100374350 // > GJAccountSettingsLayer::init @ 0x1003743e8 // // 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:03:24 +0000 // char *__fastcall sub_10037490C( __int64 a1, const char *a2, __int64 a3, __int64 a4, __int64 a5, __int64 a6, float32x2_t *a7, float a8, float a9) { void *v18; // x21 void *v19; // x27 char *v20; // x20 __int64 v21; // x23 float *v22; // x0 double v23; // d0 float32x2_t v25; // [xsp+0h] [xbp-80h] BYREF float32x2_t v26; // [xsp+8h] [xbp-78h] BYREF v18 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"GJ_checkOn_001.png"); v19 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"GJ_checkOff_001.png"); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v18 + 160LL))(v18, 0.5); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v19 + 160LL))(v19, 0.5); v20 = CCMenuItemToggler::create((__int64)v18, (__int64)v19, a1, a3, a4); CCMenuItemToggler::toggle((__int64)v20, a5); (*(void (__fastcall **)(__int64, char *))(*(_QWORD *)a6 + 456LL))(a6, v20); cocos2d::CCNode::convertToNodeSpace(a6, (__int64)a7, &v26); (*(void (__fastcall **)(char *, float32x2_t *))(*(_QWORD *)v20 + 184LL))(v20, &v26); CCMenuItemToggler::setSizeMult((__int64)v20, 1.5); if ( a2[23] < 0 ) a2 = *(const char **)a2; v21 = cocos2d::CCLabelBMFont::create_1(a2, "bigFont.fnt"); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v21); sub_1000262BC((float *)&v26, 0.0, 0.5); (*(void (__fastcall **)(__int64, float32x2_t *))(*(_QWORD *)v21 + 296LL))(v21, &v26); v22 = (float *)(*(__int64 (__fastcall **)(void *))(*(_QWORD *)v18 + 328LL))(v18); sub_1000262BC((float *)&v25, (float)((float)(*v22 * 0.5) * 0.5) + 4.0, 0.0); *(float32x2_t *)&v23 = sub_100026318(a7, &v25, &v26); (*(void (__fastcall **)(__int64, float32x2_t *, double))(*(_QWORD *)v21 + 184LL))(v21, &v26, v23); cocos2d::CCLabelBMFont::limitLabelWidth(v21, a8, a9, 0.0); return v20; }
GD Web Decomp Icon

GD Web Decomp

Raw Source