// // AccountRegisterLayer::createTextLabel from 0x100081f98 to 0x100082088 (240 bytes) // // 5 xrefs: // > AccountRegisterLayer::init @ 0x10008130c // > AccountRegisterLayer::init @ 0x10008143c // > AccountRegisterLayer::init @ 0x10008157c // > AccountRegisterLayer::init @ 0x1000816c4 // > AccountRegisterLayer::init @ 0x1000817f8 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // cocos2d::CCLabelBMFont *__fastcall AccountRegisterLayer::createTextLabel( __int64 a1, float32x2_t *a2, const char *a3, float *a4) { cocos2d::CCLabelBMFont *v7; // x20 __n128 v8; // q0 __n128 v9; // q1 __n128 v10; // q0 __n128 v11; // q1 double v12; // d0 float32x2_t v14; // [xsp+0h] [xbp-30h] BYREF float32x2_t v15; // [xsp+8h] [xbp-28h] BYREF if ( a3[23] < 0 ) a3 = *(const char **)a3; v7 = cocos2d::CCLabelBMFont::create_1(a3, "bigFont.fnt"); v8.n128_u32[0] = 0; v9.n128_u32[0] = 0; sub_100022980(v8, v9, &v15); v10 = ((__n128 (__fastcall *)(cocos2d::CCLabelBMFont *, float32x2_t *))v7->setAnchorPoint)(v7, &v15); v10.n128_f32[0] = *a4 * -0.5; v11.n128_f32[0] = (float)(a4[1] * 0.5) + 1.0; sub_100022980(v10, v11, &v14); *(float32x2_t *)&v12 = sub_1000229DC(a2, &v14, &v15); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, float32x2_t *, double))v7->setPosition)(v7, &v15, v12); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, float))v7->setScale)(v7, 0.4); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *))(**(_QWORD **)(a1 + 576) + 440LL))( *(_QWORD *)(a1 + 576), v7); return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source