// // AccountRegisterLayer::createTextLabel from 0x100497000 to 0x1004970e2 (226 bytes) // // 5 xrefs: // > AccountRegisterLayer::init @ 0x10049594c // > AccountRegisterLayer::init @ 0x100495b8e // > AccountRegisterLayer::init @ 0x100495de7 // > AccountRegisterLayer::init @ 0x100496055 // > AccountRegisterLayer::init @ 0x1004962b0 // // 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, unsigned __int64 *a2, __int64 a3, float *a4) { const char *v5; // rdx cocos2d::CCLabelBMFont *v6; // r14 unsigned __int64 v8; // [rsp+8h] [rbp-38h] BYREF double v9[6]; // [rsp+10h] [rbp-30h] BYREF if ( (*(_BYTE *)a3 & 1) != 0 ) v5 = *(const char **)(a3 + 16); else v5 = (const char *)(a3 + 1); v6 = cocos2d::CCLabelBMFont::create_3(v5, "bigFont.fnt"); sub_10028CBE0((float *)v9, 0.0, 0.0); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, double *))v6->setAnchorPoint)(v6, v9); sub_10028CBE0((float *)&v8, *a4 * -0.5, (float)(a4[1] * 0.5) + 1.0); sub_10028CCE0(v9, a2, &v8); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, double *))v6->setPosition)(v6, v9); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, float))v6->setScale)(v6, 0.40000001); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *))(**(_QWORD **)(a1 + 576) + 440LL))( *(_QWORD *)(a1 + 576), v6); return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source