{"type": "func", "start": 8708268, "end": 8708556, "name": "AccountRegisterLayer::createTextLabel", "pseudocode": "// \n// AccountRegisterLayer::createTextLabel from 0x84e0ac to 0x84e1cc (288 bytes)\n// \n// 6 xrefs:\n// > AccountRegisterLayer::init @ 0x84e680\n// > AccountRegisterLayer::init @ 0x84e7e0\n// > AccountRegisterLayer::init @ 0x84e938\n// > AccountRegisterLayer::init @ 0x84ea9c\n// > AccountRegisterLayer::init @ 0x84ebf0\n// > <???> @ 0x55038\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\ncocos2d::CCLabelBMFont *__fastcall AccountRegisterLayer::createTextLabel(\n        __int64 a1,\n        __int64 a2,\n        __int64 a3,\n        cocos2d::CCPoint *a4)\n{\n  cocos2d::CCLabelBMFont *v6; // x19\n  void (__fastcall *setAnchorPoint)(cocos2d::CCLabelBMFont *__hidden, const cocos2d::CCPoint *); // x25\n  float *v8; // x3\n  cocos2d::CCLabelBMFont_vtbl *v9; // x2\n  void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x22\n  cocos2d::CCPoint *v12; // [xsp+58h] [xbp+58h]\n  cocos2d::CCPoint v13; // [xsp+68h] [xbp+68h] BYREF\n  cocos2d::CCPoint v14; // [xsp+70h] [xbp+70h] BYREF\n\n  v12 = a4;\n  v6 = cocos2d::CCLabelBMFont::create();\n  setAnchorPoint = v6->setAnchorPoint;\n  cocos2d::CCPoint::CCPoint(&v14, 0.0, 0.0);\n  setAnchorPoint(v6, &v14);\n  v8 = (float *)v12;\n  v9 = v6->cocos2d::CCSpriteBatchNode::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  v12 = &v13;\n  setPosition = v9->setPosition;\n  cocos2d::CCPoint::CCPoint(&v13, (float)-*v8 * 0.5, (float)(v8[1] * 0.5) + 1.0);\n  cocos2d::CCPoint::operator+(&v14, a2, v12);\n  setPosition(v6, &v14);\n  v6->setScale(v6, 0.4);\n  (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *))(**(_QWORD **)(a1 + 576) + 440LL))(\n    *(_QWORD *)(a1 + 576),\n    v6);\n  return v6;\n}", "assembly": "; \n; AccountRegisterLayer::createTextLabel from 0x84e0ac to 0x84e1cc (288 bytes)\n; \n; 6 xrefs:\n; > AccountRegisterLayer::init @ 0x84e680\n; > AccountRegisterLayer::init @ 0x84e7e0\n; > AccountRegisterLayer::init @ 0x84e938\n; > AccountRegisterLayer::init @ 0x84ea9c\n; > AccountRegisterLayer::init @ 0x84ebf0\n; > <???> @ 0x55038\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\nSTP             X29, X30, [SP,#var_80]!                                ; +0x0, 0x84e0ac\nMOV             X29, SP                                                ; +0x4, 0x84e0b0\nSTP             X21, X22, [SP,#0x80+var_60]                            ; +0x8, 0x84e0b4\nADRP            X21, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x84e0b8\nSTR             X25, [SP,#0x80+var_40]                                 ; +0x10, 0x84e0bc\nSTP             X23, X24, [SP,#0x80+var_50]                            ; +0x14, 0x84e0c0\nMOV             X23, X0                                                ; +0x18, 0x84e0c4\nMOV             X24, X1                                                ; +0x1c, 0x84e0c8\nLDR             X21, [X21,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x84e0cc\nADRP            X1, #aBigfontFnt@PAGE; \"bigFont.fnt\"                   ; +0x24, 0x84e0d0\nLDR             X0, [X2]; this                                         ; +0x28, 0x84e0d4\nADD             X1, X1, #aBigfontFnt@PAGEOFF; \"bigFont.fnt\"            ; +0x2c, 0x84e0d8\nSTR             X3, [X29,#0x80+var_28]                                 ; +0x30, 0x84e0dc\nADD             X22, X29, #0x80+var_18                                 ; +0x34, 0x84e0e0\nLDR             X2, [X21]; char *                                      ; +0x38, 0x84e0e4\nSTR             X2, [X29,#0x80+var_8]                                  ; +0x3c, 0x84e0e8\nSTP             X19, X20, [SP,#0x80+var_70]                            ; +0x40, 0x84e0ec\nBL              _ZN7cocos2d13CCLabelBMFont6createEPKcS2_; cocos2d::CCLabelBMFont::create(char const*,char const*) ; +0x44, 0x84e0f0\nMOV             X19, X0                                                ; +0x48, 0x84e0f4\nFMOV            S0, WZR; float                                         ; +0x4c, 0x84e0f8\nADD             X20, X29, #0x80+var_10                                 ; +0x50, 0x84e0fc\nMOV             X0, X20; this                                          ; +0x54, 0x84e100\nLDR             X1, [X19]                                              ; +0x58, 0x84e104\nFMOV            S1, S0; float                                          ; +0x5c, 0x84e108\nLDR             X25, [X1,#0x118]                                       ; +0x60, 0x84e10c\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x64, 0x84e110\nMOV             X1, X20                                                ; +0x68, 0x84e114\nMOV             X0, X19                                                ; +0x6c, 0x84e118\nBLR             X25                                                    ; +0x70, 0x84e11c\nLDR             X3, [X29,#0x80+var_28]                                 ; +0x74, 0x84e120\nMOV             X0, X22; this                                          ; +0x78, 0x84e124\nFMOV            S2, #0.5                                               ; +0x7c, 0x84e128\nLDR             X2, [X19]                                              ; +0x80, 0x84e12c\nFMOV            S1, #1.0                                               ; +0x84, 0x84e130\nSTR             X22, [X29,#0x80+var_28]                                ; +0x88, 0x84e134\nLDR             S0, [X3]                                               ; +0x8c, 0x84e138\nLDR             S3, [X3,#4]                                            ; +0x90, 0x84e13c\nLDR             X22, [X2,#0xB8]                                        ; +0x94, 0x84e140\nFNEG            S0, S0                                                 ; +0x98, 0x84e144\nFMADD           S1, S3, S2, S1; float                                  ; +0x9c, 0x84e148\nFMUL            S0, S0, S2; float                                      ; +0xa0, 0x84e14c\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xa4, 0x84e150\nLDR             X1, [X29,#0x80+var_28]                                 ; +0xa8, 0x84e154\nMOV             X8, X20                                                ; +0xac, 0x84e158\nMOV             X0, X24                                                ; +0xb0, 0x84e15c\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0xb4, 0x84e160\nMOV             X0, X19                                                ; +0xb8, 0x84e164\nMOV             X1, X20                                                ; +0xbc, 0x84e168\nBLR             X22                                                    ; +0xc0, 0x84e16c\nLDR             X1, [X19]                                              ; +0xc4, 0x84e170\nMOV             X0, X19                                                ; +0xc8, 0x84e174\nLDR             S0, =0x3ECCCCCD                                        ; +0xcc, 0x84e178\nLDR             X1, [X1,#0xA0]                                         ; +0xd0, 0x84e17c\nBLR             X1                                                     ; +0xd4, 0x84e180\nLDR             X2, [X23,#0x240]                                       ; +0xd8, 0x84e184\nMOV             X1, X19                                                ; +0xdc, 0x84e188\nMOV             X0, X2                                                 ; +0xe0, 0x84e18c\nLDR             X2, [X2]                                               ; +0xe4, 0x84e190\nLDR             X2, [X2,#0x1B8]                                        ; +0xe8, 0x84e194\nBLR             X2                                                     ; +0xec, 0x84e198\nLDR             X2, [X29,#0x80+var_8]                                  ; +0xf0, 0x84e19c\nMOV             X0, X19                                                ; +0xf4, 0x84e1a0\nLDR             X1, [X21]                                              ; +0xf8, 0x84e1a4\nCMP             X2, X1                                                 ; +0xfc, 0x84e1a8\nB.NE            loc_84E1C8                                             ; +0x100, 0x84e1ac\nLDP             X19, X20, [SP,#0x80+var_70]                            ; +0x104, 0x84e1b0\nLDP             X21, X22, [SP,#0x80+var_60]                            ; +0x108, 0x84e1b4\nLDP             X23, X24, [SP,#0x80+var_50]                            ; +0x10c, 0x84e1b8\nLDR             X25, [SP,#0x80+var_40]                                 ; +0x110, 0x84e1bc\nLDP             X29, X30, [SP+0x80+var_80],#0x80                       ; +0x114, 0x84e1c0\nRET                                                                    ; +0x118, 0x84e1c4\nBL              .__stack_chk_fail                                      ; +0x11c, 0x84e1c8", "xrefs": ["AccountRegisterLayer::init @ 0x84e680", "AccountRegisterLayer::init @ 0x84e7e0", "AccountRegisterLayer::init @ 0x84e938", "AccountRegisterLayer::init @ 0x84ea9c", "AccountRegisterLayer::init @ 0x84ebf0", "<???> @ 0x55038"], "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"}