// // sub_100642070 from 0x100642070 to 0x1006422e5 (629 bytes) // // 3 xrefs: // > GJScaleControl::init @ 0x100641e11 // > GJScaleControl::init @ 0x100641ef0 // > GJScaleControl::init @ 0x100641fcf // // 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:34:43 +0000 // char *__fastcall sub_100642070(_QWORD **a1, unsigned __int64 *a2, unsigned int a3, _QWORD *a4) { char *v4; // r15 void *v5; // rbx double v6; // xmm0_8 char *v7; // rbx void *v8; // rbx unsigned __int64 v10; // [rsp+0h] [rbp-70h] BYREF unsigned __int64 v11[2]; // [rsp+8h] [rbp-68h] BYREF _QWORD *v12; // [rsp+18h] [rbp-58h] unsigned __int64 *v13; // [rsp+20h] [rbp-50h] std::string v14; // [rsp+28h] [rbp-48h] BYREF unsigned int v15; // [rsp+44h] [rbp-2Ch] v12 = a4; v15 = a3; v4 = (char *)CCTextInputNode::create( (__int64)" ", (__int64)"Thonburi", 0x18u, (__int64)"bigFont.fnt", 48.0, 19.200001); sub_100278250((float *)&v10, 0.0, 0.0); v13 = a2; sub_100278350((double *)v11, a2, &v10); (*(void (__fastcall **)(char *, unsigned __int64 *))(*(_QWORD *)v4 + 184LL))(v4, v11); CCTextInputNode::setMaxLabelScale((__int64)v4, 0.48000002); CCTextInputNode::setMaxLabelWidth((__int64)v4, 48.0); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)v4 + 72) + 344LL))(*((_QWORD *)v4 + 72), 0); *((_DWORD *)v4 + 148) = 6; *(_QWORD *)(v4 + 700) = 0x200000001LL; v14.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)22; strcpy(v14.__r_.__value_.__s.__data_, "0123456789."); CCTextInputNode::setAllowedChars((__int64)v4, &v14); if ( (*(_BYTE *)&v14.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v14.__r_.__value_.__l.__data_); sub_100278270((__int64)v11, 0.0, 0.0, (__m128)0x42200000u, (__m128)0x42200000u); v5 = cocos2d::extension::CCScale9Sprite::create_2((__int64)"square02_small.png", v11); sub_100278260((float *)v11, 80.0, 32.0); (*(void (__fastcall **)(void *, unsigned __int64 *))(*(_QWORD *)v5 + 320LL))(v5, v11); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v5 + 160LL))(v5, 0.625); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v5 + 912LL))(v5, 90); (*(void (__fastcall **)(void *, double, float))(*(_QWORD *)v5 + 248LL))(v5, 0.0, -0.5); (*(void (__fastcall **)(char *, void *, __int64))(*(_QWORD *)v4 + 464LL))(v4, v5, 0xFFFFFFFFLL); v6 = ((double (__fastcall *)(_QWORD **, char *, __int64))(*a1)[58])(a1, v4, 2); v7 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"GJ_updateBtn_001.png", v6); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v7 + 160LL))(v7, 0.40000001); v8 = CCMenuItemSpriteExtra::create((__int64)v7, 0, (__int64)a1, (__int64)sub_100643710, 0); (*(void (__fastcall **)(void *, _QWORD))(*(_QWORD *)v8 + 72LL))(v8, v15); sub_100278250((float *)&v10, 41.0, 0.0); sub_100278350((double *)v11, v13, &v10); (*(void (__fastcall **)(void *, unsigned __int64 *))(*(_QWORD *)v8 + 184LL))(v8, v11); (*(void (__fastcall **)(_QWORD *, void *))(*a1[67] + 456LL))(a1[67], v8); *v12 = v8; return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source