{"type": "func", "start": 5369207440, "end": 5369207709, "name": "AccountRegisterLayer::createTextLabel", "pseudocode": "// \n// AccountRegisterLayer::createTextLabel from 0x140079a90 to 0x140079b9d (269 bytes)\n// \n// 7 xrefs:\n// > AccountRegisterLayer::init @ 0x140078eb9\n// > AccountRegisterLayer::init @ 0x1400790e2\n// > AccountRegisterLayer::init @ 0x140079338\n// > AccountRegisterLayer::init @ 0x14007958b\n// > AccountRegisterLayer::init @ 0x1400797b4\n// > <???> @ 0x1406c66d8\n// > <???> @ 0x1406c66e4\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCLabelBMFont *__fastcall AccountRegisterLayer::createTextLabel(\n        __int64 a1,\n        __int64 a2,\n        const char *a3,\n        float *a4)\n{\n  const char *v8; // rcx\n  struct cocos2d::CCLabelBMFont *v9; // rdi\n  cocos2d::CCLabelBMFont_vtbl *v10; // rbx\n  const cocos2d::CCPoint *v11; // rax\n  cocos2d::CCPoint v13; // [rsp+20h] [rbp-58h] BYREF\n  cocos2d::CCPoint v14[2]; // [rsp+28h] [rbp-50h] BYREF\n\n  v14[1] = (cocos2d::CCPoint)a3;\n  v8 = a3;\n  if ( *((_QWORD *)a3 + 3) > 0xFu )\n    v8 = *(const char **)a3;\n  v9 = cocos2d::CCLabelBMFont::create(v8, (const char *)&qword_14052A4D8);\n  v10 = v9->cocos2d::CCSpriteBatchNode::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  cocos2d::CCPoint::CCPoint(&v13, 0.0, 0.0);\n  v10->setAnchorPoint(v9, v11);\n  cocos2d::CCPoint::CCPoint(v14, (float)-*a4 * 0.5, (float)(a4[1] * 0.5) + 1.0);\n  cocos2d::CCPoint::operator+(a2, &v13);\n  v9->setPosition_0(v9, &v13);\n  ((void (__fastcall *)(struct cocos2d::CCLabelBMFont *))v9->setScale_0)(v9);\n  (*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *))(**(_QWORD **)(a1 + 576) + 448LL))(\n    *(_QWORD *)(a1 + 576),\n    v9);\n  sub_14003A830((__int64)a3);\n  return v9;\n}", "assembly": "; \n; AccountRegisterLayer::createTextLabel from 0x140079a90 to 0x140079b9d (269 bytes)\n; \n; 7 xrefs:\n; > AccountRegisterLayer::init @ 0x140078eb9\n; > AccountRegisterLayer::init @ 0x1400790e2\n; > AccountRegisterLayer::init @ 0x140079338\n; > AccountRegisterLayer::init @ 0x14007958b\n; > AccountRegisterLayer::init @ 0x1400797b4\n; > <???> @ 0x1406c66d8\n; > <???> @ 0x1406c66e4\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x140079a90\npush    rbp                                                            ; +0x2, 0x140079a92\npush    rsi                                                            ; +0x3, 0x140079a93\npush    rdi                                                            ; +0x4, 0x140079a94\npush    r14                                                            ; +0x5, 0x140079a95\npush    r15                                                            ; +0x7, 0x140079a97\nsub     rsp, 48h                                                       ; +0x9, 0x140079a99\nmov     rax, cs:__security_cookie                                      ; +0xd, 0x140079a9d\nxor     rax, rsp                                                       ; +0x14, 0x140079aa4\nmov     [rsp+78h+var_40], rax                                          ; +0x17, 0x140079aa7\nmov     rbp, r9                                                        ; +0x1c, 0x140079aac\nmov     rsi, r8                                                        ; +0x1f, 0x140079aaf\nmov     r15, rdx                                                       ; +0x22, 0x140079ab2\nmov     r14, rcx                                                       ; +0x25, 0x140079ab5\nmov     [rsp+78h+var_48], r8                                           ; +0x28, 0x140079ab8\nmov     rcx, r8                                                        ; +0x2d, 0x140079abd\ncmp     qword ptr [r8+18h], 0Fh                                        ; +0x30, 0x140079ac0\njbe     short loc_140079ACA                                            ; +0x35, 0x140079ac5\nmov     rcx, [r8]                                                      ; +0x37, 0x140079ac7\nlea     rdx, qword_14052A4D8                                           ; +0x3a, 0x140079aca\ncall    cs:?create@CCLabelBMFont@cocos2d@@SAPEAV12@PEBD0@Z; cocos2d::CCLabelBMFont::create(char const *,char const *) ; +0x41, 0x140079ad1\nmov     rdi, rax                                                       ; +0x47, 0x140079ad7\nmov     rbx, [rax]                                                     ; +0x4a, 0x140079ada\nxorps   xmm2, xmm2                                                     ; +0x4d, 0x140079add\nxorps   xmm1, xmm1                                                     ; +0x50, 0x140079ae0\nlea     rcx, [rsp+78h+var_58]                                          ; +0x53, 0x140079ae3\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x58, 0x140079ae8\nmov     rdx, rax                                                       ; +0x5e, 0x140079aee\nmov     rcx, rdi                                                       ; +0x61, 0x140079af1\ncall    qword ptr [rbx+110h]                                           ; +0x64, 0x140079af4\nmovss   xmm2, dword ptr [rbp+4]                                        ; +0x6a, 0x140079afa\nmulss   xmm2, cs:dword_140622B08                                       ; +0x6f, 0x140079aff\naddss   xmm2, cs:flt_140622C24                                         ; +0x77, 0x140079b07\nmovss   xmm1, dword ptr [rbp+0]                                        ; +0x7f, 0x140079b0f\nxorps   xmm1, cs:xmmword_1406243F0                                     ; +0x84, 0x140079b14\nmulss   xmm1, cs:dword_140622B08                                       ; +0x8b, 0x140079b1b\nlea     rcx, [rsp+78h+var_50]                                          ; +0x93, 0x140079b23\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x98, 0x140079b28\nmov     r8, rax                                                        ; +0x9e, 0x140079b2e\nlea     rdx, [rsp+78h+var_58]                                          ; +0xa1, 0x140079b31\nmov     rcx, r15                                                       ; +0xa6, 0x140079b36\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0xa9, 0x140079b39\nmov     rax, [rdi]                                                     ; +0xaf, 0x140079b3f\nlea     rdx, [rsp+78h+var_58]                                          ; +0xb2, 0x140079b42\nmov     rcx, rdi                                                       ; +0xb7, 0x140079b47\ncall    qword ptr [rax+0B8h]                                           ; +0xba, 0x140079b4a\nmov     rax, [rdi]                                                     ; +0xc0, 0x140079b50\nmovss   xmm1, cs:dword_140622AD0                                       ; +0xc3, 0x140079b53\nmov     rcx, rdi                                                       ; +0xcb, 0x140079b5b\ncall    qword ptr [rax+0A0h]                                           ; +0xce, 0x140079b5e\nmov     rcx, [r14+240h]                                                ; +0xd4, 0x140079b64\nmov     rax, [rcx]                                                     ; +0xdb, 0x140079b6b\nmov     rdx, rdi                                                       ; +0xde, 0x140079b6e\ncall    qword ptr [rax+1C0h]                                           ; +0xe1, 0x140079b71\nnop                                                                    ; +0xe7, 0x140079b77\nmov     rcx, rsi                                                       ; +0xe8, 0x140079b78\ncall    sub_14003A830                                                  ; +0xeb, 0x140079b7b\nmov     rax, rdi                                                       ; +0xf0, 0x140079b80\nmov     rcx, [rsp+78h+var_40]                                          ; +0xf3, 0x140079b83\nxor     rcx, rsp; StackCookie                                          ; +0xf8, 0x140079b88\ncall    __security_check_cookie                                        ; +0xfb, 0x140079b8b\nadd     rsp, 48h                                                       ; +0x100, 0x140079b90\npop     r15                                                            ; +0x104, 0x140079b94\npop     r14                                                            ; +0x106, 0x140079b96\npop     rdi                                                            ; +0x108, 0x140079b98\npop     rsi                                                            ; +0x109, 0x140079b99\npop     rbp                                                            ; +0x10a, 0x140079b9a\npop     rbx                                                            ; +0x10b, 0x140079b9b\nretn                                                                   ; +0x10c, 0x140079b9c", "xrefs": ["AccountRegisterLayer::init @ 0x140078eb9", "AccountRegisterLayer::init @ 0x1400790e2", "AccountRegisterLayer::init @ 0x140079338", "AccountRegisterLayer::init @ 0x14007958b", "AccountRegisterLayer::init @ 0x1400797b4", "<???> @ 0x1406c66d8", "<???> @ 0x1406c66e4"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}