// // SetGroupIDLayer::createTextInput from 0x100040978 to 0x100040d98 (1056 bytes) // // 5 xrefs: // > SetGroupIDLayer::init @ 0x10003f184 // > SetGroupIDLayer::init @ 0x10003f200 // > SetGroupIDLayer::init @ 0x10003f4ac // > SetGroupIDLayer::init @ 0x10003fb60 // > SetGroupIDLayer::init @ 0x10003fbbc // // 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 10:57:36 +0000 // __int64 __fastcall SetGroupIDLayer::createTextInput( __int64 a1, float32x2_t *a2, __int64 a3, int a4, __int64 *a5, int a6, float a7) { __int64 v14; // x25 __int64 v15; // x22 void **v16; // x8 __int64 v17; // x0 char *CString; // x0 void **v19; // x0 __int64 v20; // x23 __int64 v21; // x23 __int64 v22; // x24 __n128 v23; // q0 void **v24; // x0 __int64 v25; // x23 __int64 v26; // x23 __int64 v27; // x21 __n128 v28; // q0 float32x2_t v30; // [xsp+8h] [xbp-C8h] BYREF float32x2_t v31; // [xsp+10h] [xbp-C0h] BYREF __int64 v32; // [xsp+18h] [xbp-B8h] BYREF void *__p[2]; // [xsp+20h] [xbp-B0h] BYREF char v34; // [xsp+37h] [xbp-99h] _QWORD v35[2]; // [xsp+38h] [xbp-98h] BYREF char v36; // [xsp+4Fh] [xbp-81h] _QWORD v37[2]; // [xsp+50h] [xbp-80h] BYREF char v38; // [xsp+67h] [xbp-69h] float v39; // [xsp+68h] [xbp-68h] BYREF float v40[4]; // [xsp+70h] [xbp-60h] BYREF sub_1000262CC(v40, 0.0, 0.0, 40.0, 40.0); sub_1000264D4(__p, (__int64)v40); v14 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", __p); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v14 + 912LL))(v14, 100); sub_1000262C4(&v39, a7, 30.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v14 + 320LL))(v14, &v39); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 464LL))( *(_QWORD *)(a1 + 584), v14, 0xFFFFFFFFLL); (*(void (__fastcall **)(__int64, float32x2_t *))(*(_QWORD *)v14 + 184LL))(v14, a2); if ( *((char *)a5 + 23) < 0 ) a5 = (__int64 *)*a5; v15 = CCTextInputNode::create(a5, "Thonburi", 24, "bigFont.fnt", a7, 40.0); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 464LL))(*(_QWORD *)(a1 + 584), v15, 20); (*(void (__fastcall **)(__int64, float32x2_t *))(*(_QWORD *)v15 + 184LL))(v15, a2); CCTextInputNode::setMaxLabelScale(v15, 0.6); CCTextInputNode::setMaxLabelWidth(v15, 40.0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v15 + 576) + 344LL))(*(_QWORD *)(v15 + 576), 0); *(_DWORD *)(v15 + 592) = a4; if ( (_DWORD)a3 == 7 ) { sub_100009900(v37, "0123456789-"); CCTextInputNode::setAllowedChars(v15, v37); if ( (v38 & 0x80000000) == 0 ) goto LABEL_9; v16 = (void **)v37; } else { sub_100009900(v35, "0123456789"); CCTextInputNode::setAllowedChars(v15, v35); if ( (v36 & 0x80000000) == 0 ) goto LABEL_9; v16 = (void **)v35; } operator delete(*v16); LABEL_9: CCTextInputNode::setLabelPlaceholderColor(v15, 15772280); CCTextInputNode::setLabelPlaceholderScale(v15, 0.5); *(_QWORD *)(v15 + 584) = a1 + 544; *(_BYTE *)(v15 + 424) = 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v15 + 72LL))(v15, a3); v17 = sub_1003065B0("GJ_arrow_0%i_001.png", a6); CString = (char *)cocos2d::CCString::getCString(v17); sub_100009900(__p, CString); if ( v34 >= 0 ) v19 = __p; else v19 = (void **)__p[0]; v20 = cocos2d::CCSprite::createWithSpriteFrameName(v19); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v20 + 160LL))(v20, 0.7); v21 = CCMenuItemSpriteExtra::create(v20, 0, a1, SetGroupIDLayer::onArrowLeft, 0); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v21); v22 = *(_QWORD *)(a1 + 552); sub_1000262BC((float *)&v30, -45.0, 0.0); v23.n128_u64[0] = (unsigned __int64)sub_100026318(a2, &v30, &v31); cocos2d::CCNode::convertToNodeSpace(&v32, v22, &v31, v23); (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v21 + 184LL))(v21, &v32); CCMenuItemSpriteExtra::setSizeMult(1.6); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v21 + 72LL))(v21, a3); if ( v34 >= 0 ) v24 = __p; else v24 = (void **)__p[0]; v25 = cocos2d::CCSprite::createWithSpriteFrameName(v24); cocos2d::CCSprite::setFlipX(v25, 1); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v25 + 160LL))(v25, 0.7); v26 = CCMenuItemSpriteExtra::create(v25, 0, a1, SetGroupIDLayer::onArrowRight, 0); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v26); v27 = *(_QWORD *)(a1 + 552); sub_1000262BC((float *)&v30, 45.0, 0.0); v28.n128_u64[0] = (unsigned __int64)sub_100026318(a2, &v30, &v31); cocos2d::CCNode::convertToNodeSpace(&v32, v27, &v31, v28); (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v26 + 184LL))(v26, &v32); CCMenuItemSpriteExtra::setSizeMult(1.6); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v26 + 72LL))(v26, a3); if ( v34 < 0 ) operator delete(__p[0]); return v15; }
GD Web Decomp Icon

GD Web Decomp

Raw Source