{"type": "func", "start": 10024712, "end": 10025020, "name": "AccountRegisterLayer::createTextLabel", "pseudocode": "// \n// AccountRegisterLayer::createTextLabel from 0x98f708 to 0x98f83c (308 bytes)\n// \n// 6 xrefs:\n// > AccountRegisterLayer::init @ 0x990c50\n// > AccountRegisterLayer::init @ 0x990d98\n// > AccountRegisterLayer::init @ 0x990fe4\n// > AccountRegisterLayer::init @ 0x991144\n// > AccountRegisterLayer::init @ 0x991290\n// > <???> @ 0xb09b0\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:57:58 +0000\n// \n\n__int64 __fastcall AccountRegisterLayer::createTextLabel(__int64 a1, __int64 a2, __int64 a3, float *a4)\n{\n  cocos2d::CCLabelBMFont *v6; // x4\n  __int64 v7; // x19\n  void (__fastcall *v8)(__int64, __int64 *); // x25\n  void (__fastcall *v9)(__int64, __int64 *); // x22\n  _BYTE v12[8]; // [xsp+68h] [xbp+68h] BYREF\n  __int64 v13; // [xsp+70h] [xbp+70h] BYREF\n\n  v6 = (cocos2d::CCLabelBMFont *)(a3 + 1);\n  if ( (*(_BYTE *)a3 & 1) != 0 )\n    v6 = *(cocos2d::CCLabelBMFont **)(a3 + 16);\n  v7 = cocos2d::CCLabelBMFont::create(v6, \"bigFont.fnt\", (const char *)a3);\n  v8 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v7 + 296LL);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v13, 0.0, 0.0);\n  v8(v7, &v13);\n  v9 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v7 + 184LL);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, (float)-*a4 * 0.5, (float)(a4[1] * 0.5) + 1.0);\n  cocos2d::CCPoint::operator+(&v13, a2);\n  v9(v7, &v13);\n  (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v7 + 160LL))(v7, 0.4);\n  (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v7);\n  return v7;\n}", "assembly": "; \n; AccountRegisterLayer::createTextLabel from 0x98f708 to 0x98f83c (308 bytes)\n; \n; 6 xrefs:\n; > AccountRegisterLayer::init @ 0x990c50\n; > AccountRegisterLayer::init @ 0x990d98\n; > AccountRegisterLayer::init @ 0x990fe4\n; > AccountRegisterLayer::init @ 0x991144\n; > AccountRegisterLayer::init @ 0x991290\n; > <???> @ 0xb09b0\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:57:58 +0000\n; \nSTP             X29, X30, [SP,#var_80]!                                ; +0x0, 0x98f708\nMOV             X4, X2                                                 ; +0x4, 0x98f70c\nMOV             X29, SP                                                ; +0x8, 0x98f710\nSTP             X21, X22, [SP,#0x80+var_60]                            ; +0xc, 0x98f714\nADRP            X21, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0x98f718\nSTR             X25, [SP,#0x80+var_40]                                 ; +0x14, 0x98f71c\nSTP             X23, X24, [SP,#0x80+var_50]                            ; +0x18, 0x98f720\nMOV             X24, X1                                                ; +0x1c, 0x98f724\nMOV             X23, X0                                                ; +0x20, 0x98f728\nLDR             X1, [X21,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x24, 0x98f72c\nSTP             X19, X20, [SP,#0x80+var_70]                            ; +0x28, 0x98f730\nLDR             X1, [X1]                                               ; +0x2c, 0x98f734\nLDRB            W0, [X4],#1                                            ; +0x30, 0x98f738\nSTR             X1, [X29,#0x80+var_8]                                  ; +0x34, 0x98f73c\nTBZ             W0, #0, loc_98F748                                     ; +0x38, 0x98f740\nLDR             X4, [X2,#0x10]                                         ; +0x3c, 0x98f744\nADRP            X1, #aBigfontFnt@PAGE; \"bigFont.fnt\"                   ; +0x40, 0x98f748\nMOV             X0, X4; this                                           ; +0x44, 0x98f74c\nADD             X1, X1, #aBigfontFnt@PAGEOFF; \"bigFont.fnt\"            ; +0x48, 0x98f750\nSTR             X3, [X29,#0x80+var_28]                                 ; +0x4c, 0x98f754\nADD             X20, X29, #0x80+var_10                                 ; +0x50, 0x98f758\nADD             X22, X29, #0x80+var_18                                 ; +0x54, 0x98f75c\nBL              _ZN7cocos2d13CCLabelBMFont6createEPKcS2_; cocos2d::CCLabelBMFont::create(char const*,char const*) ; +0x58, 0x98f760\nMOV             X19, X0                                                ; +0x5c, 0x98f764\nFMOV            S0, WZR; float                                         ; +0x60, 0x98f768\nMOV             X0, X20; this                                          ; +0x64, 0x98f76c\nLDR             X1, [X19]                                              ; +0x68, 0x98f770\nFMOV            S1, S0; float                                          ; +0x6c, 0x98f774\nLDR             X25, [X1,#0x128]                                       ; +0x70, 0x98f778\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x74, 0x98f77c\nMOV             X1, X20                                                ; +0x78, 0x98f780\nMOV             X0, X19                                                ; +0x7c, 0x98f784\nBLR             X25                                                    ; +0x80, 0x98f788\nLDR             X3, [X29,#0x80+var_28]                                 ; +0x84, 0x98f78c\nMOV             X0, X22; this                                          ; +0x88, 0x98f790\nFMOV            S2, #0.5                                               ; +0x8c, 0x98f794\nLDR             X2, [X19]                                              ; +0x90, 0x98f798\nFMOV            S1, #1.0                                               ; +0x94, 0x98f79c\nSTR             X22, [X29,#0x80+var_28]                                ; +0x98, 0x98f7a0\nLDR             S0, [X3]                                               ; +0x9c, 0x98f7a4\nLDR             S3, [X3,#4]                                            ; +0xa0, 0x98f7a8\nLDR             X22, [X2,#0xB8]                                        ; +0xa4, 0x98f7ac\nFNEG            S0, S0                                                 ; +0xa8, 0x98f7b0\nFMADD           S1, S3, S2, S1; float                                  ; +0xac, 0x98f7b4\nFMUL            S0, S0, S2; float                                      ; +0xb0, 0x98f7b8\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xb4, 0x98f7bc\nLDR             X1, [X29,#0x80+var_28]                                 ; +0xb8, 0x98f7c0\nMOV             X8, X20                                                ; +0xbc, 0x98f7c4\nMOV             X0, X24                                                ; +0xc0, 0x98f7c8\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0xc4, 0x98f7cc\nMOV             X0, X19                                                ; +0xc8, 0x98f7d0\nMOV             X1, X20                                                ; +0xcc, 0x98f7d4\nBLR             X22                                                    ; +0xd0, 0x98f7d8\nLDR             X1, [X19]                                              ; +0xd4, 0x98f7dc\nMOV             X0, X19                                                ; +0xd8, 0x98f7e0\nLDR             S0, =0x3ECCCCCD                                        ; +0xdc, 0x98f7e4\nLDR             X1, [X1,#0xA0]                                         ; +0xe0, 0x98f7e8\nBLR             X1                                                     ; +0xe4, 0x98f7ec\nLDR             X2, [X23,#0x248]                                       ; +0xe8, 0x98f7f0\nMOV             X1, X19                                                ; +0xec, 0x98f7f4\nMOV             X0, X2                                                 ; +0xf0, 0x98f7f8\nLDR             X2, [X2]                                               ; +0xf4, 0x98f7fc\nLDR             X2, [X2,#0x1C8]                                        ; +0xf8, 0x98f800\nBLR             X2                                                     ; +0xfc, 0x98f804\nLDR             X21, [X21,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x100, 0x98f808\nLDR             X2, [X29,#0x80+var_8]                                  ; +0x104, 0x98f80c\nMOV             X0, X19                                                ; +0x108, 0x98f810\nLDR             X1, [X21]                                              ; +0x10c, 0x98f814\nCMP             X2, X1                                                 ; +0x110, 0x98f818\nB.NE            loc_98F838                                             ; +0x114, 0x98f81c\nLDP             X19, X20, [SP,#0x80+var_70]                            ; +0x118, 0x98f820\nLDP             X21, X22, [SP,#0x80+var_60]                            ; +0x11c, 0x98f824\nLDP             X23, X24, [SP,#0x80+var_50]                            ; +0x120, 0x98f828\nLDR             X25, [SP,#0x80+var_40]                                 ; +0x124, 0x98f82c\nLDP             X29, X30, [SP+0x80+var_80],#0x80                       ; +0x128, 0x98f830\nRET                                                                    ; +0x12c, 0x98f834\nBL              .__stack_chk_fail                                      ; +0x130, 0x98f838", "xrefs": ["AccountRegisterLayer::init @ 0x990c50", "AccountRegisterLayer::init @ 0x990d98", "AccountRegisterLayer::init @ 0x990fe4", "AccountRegisterLayer::init @ 0x991144", "AccountRegisterLayer::init @ 0x991290", "<???> @ 0xb09b0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}