{"type": "func", "start": 4625428, "end": 4625592, "name": "AccountLoginLayer::createTextLabel", "pseudocode": "// \n// AccountLoginLayer::createTextLabel from 0x469414 to 0x4694b8 (164 bytes)\n// \n// 2 xrefs:\n// > AccountLoginLayer::init @ 0x469816\n// > AccountLoginLayer::init @ 0x4698ea\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 *AccountLoginLayer::createTextLabel(\n        AccountLoginLayer *a1,\n        cocos2d::CCPoint a2,\n        const char *a3,\n        cocos2d::CCSize a4)\n{\n  float x; // r10\n  cocos2d::CCLabelBMFont *v7; // r4\n  void (__fastcall *setAnchorPoint)(cocos2d::CCLabelBMFont *__hidden, const cocos2d::CCPoint *); // r9\n  void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r9\n  cocos2d::CCPoint v11; // [sp+4h] [bp-14h] BYREF\n  cocos2d::CCPoint v12; // [sp+Ch] [bp-Ch] BYREF\n\n  x = a2.x;\n  v7 = cocos2d::CCLabelBMFont::create();\n  setAnchorPoint = v7->setAnchorPoint;\n  cocos2d::CCPoint::CCPoint(&v12, 0.0, 0.0);\n  setAnchorPoint(v7, &v12);\n  setPosition = v7->setPosition;\n  cocos2d::CCPoint::CCPoint(&v11, -(float)(*(float *)a3 * 0.5), (float)(*((float *)a3 + 1) * 0.5) + 1.0);\n  cocos2d::CCPoint::operator+(&v12, LODWORD(x), &v11);\n  setPosition(v7, &v12);\n  ((void (__fastcall *)(cocos2d::CCLabelBMFont *, int))v7->setScale)(v7, 1053609165);\n  a1->m_mainLayer->addChild(a1->m_mainLayer, v7);\n  return v7;\n}", "assembly": "; \n; AccountLoginLayer::createTextLabel from 0x469414 to 0x4694b8 (164 bytes)\n; \n; 2 xrefs:\n; > AccountLoginLayer::init @ 0x469816\n; > AccountLoginLayer::init @ 0x4698ea\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.W          {R4-R10,LR}                                            ; +0x0, 0x469414\nMOV             R7, R3                                                 ; +0x4, 0x469418\nLDR             R5, =(__stack_chk_guard_ptr - 0x469426)                ; +0x6, 0x46941a\nMOV             R10, R1                                                ; +0x8, 0x46941c\nLDR             R1, =(aBigfontFnt - 0x46942C); \"bigFont.fnt\"           ; +0xa, 0x46941e\nSUB             SP, SP, #0x18                                          ; +0xc, 0x469420\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0xe, 0x469422\nLDR             R5, [R5]; __stack_chk_guard                            ; +0x10, 0x469424\nMOV             R8, R0                                                 ; +0x12, 0x469426\nADD             R1, PC; \"bigFont.fnt\"                                  ; +0x14, 0x469428\nMOV             R0, R2; this                                           ; +0x16, 0x46942a\nLDR             R3, [R5]                                               ; +0x18, 0x46942c\nADD             R6, SP, #0x18+var_C                                    ; +0x1a, 0x46942e\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x1c, 0x469430\nBL              _ZN7cocos2d13CCLabelBMFont6createEPKcS2_; cocos2d::CCLabelBMFont::create(char const*,char const*) ; +0x1e, 0x469432\nMOVS            R1, #0; float                                          ; +0x22, 0x469436\nMOV             R2, R1; float                                          ; +0x24, 0x469438\nLDR             R3, [R0]                                               ; +0x26, 0x46943a\nMOV             R4, R0                                                 ; +0x28, 0x46943c\nMOV             R0, R6; this                                           ; +0x2a, 0x46943e\nLDR.W           R9, [R3,#0x8C]                                         ; +0x2c, 0x469440\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x30, 0x469444\nMOV             R0, R4                                                 ; +0x34, 0x469448\nMOV             R1, R6                                                 ; +0x36, 0x46944a\nBLX             R9                                                     ; +0x38, 0x46944c\nVMOV.F32        S15, #0.5                                              ; +0x3a, 0x46944e\nVLDR            S14, [R7]                                              ; +0x3e, 0x469452\nLDR             R3, [R4]                                               ; +0x42, 0x469456\nVLDR            S13, [R7,#4]                                           ; +0x44, 0x469458\nADD             R7, SP, #0x18+var_14                                   ; +0x48, 0x46945c\nLDR.W           R9, [R3,#0x5C]                                         ; +0x4a, 0x46945e\nMOV             R0, R7; this                                           ; +0x4e, 0x469462\nVNMUL.F32       S14, S14, S15                                          ; +0x50, 0x469464\nVMOV            R1, S14; float                                         ; +0x54, 0x469468\nVMOV.F32        S14, #1.0                                              ; +0x58, 0x46946c\nVMLA.F32        S14, S13, S15                                          ; +0x5c, 0x469470\nVMOV            R2, S14; float                                         ; +0x60, 0x469474\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x64, 0x469478\nMOV             R2, R7                                                 ; +0x68, 0x46947c\nMOV             R0, R6                                                 ; +0x6a, 0x46947e\nMOV             R1, R10                                                ; +0x6c, 0x469480\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x6e, 0x469482\nMOV             R0, R4                                                 ; +0x72, 0x469486\nMOV             R1, R6                                                 ; +0x74, 0x469488\nBLX             R9                                                     ; +0x76, 0x46948a\nLDR             R3, [R4]                                               ; +0x78, 0x46948c\nMOV             R0, R4                                                 ; +0x7a, 0x46948e\nLDR             R1, =0x3ECCCCCD                                        ; +0x7c, 0x469490\nLDR             R3, [R3,#0x50]                                         ; +0x7e, 0x469492\nBLX             R3                                                     ; +0x80, 0x469494\nLDR.W           R0, [R8,#0x1C8]                                        ; +0x82, 0x469496\nMOV             R1, R4                                                 ; +0x86, 0x46949a\nLDR             R3, [R0]                                               ; +0x88, 0x46949c\nLDR.W           R3, [R3,#0xDC]                                         ; +0x8a, 0x46949e\nBLX             R3                                                     ; +0x8e, 0x4694a2\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x90, 0x4694a4\nLDR             R3, [R5]                                               ; +0x92, 0x4694a6\nMOV             R0, R4                                                 ; +0x94, 0x4694a8\nCMP             R2, R3                                                 ; +0x96, 0x4694aa\nBEQ             loc_4694B2                                             ; +0x98, 0x4694ac\nBLX             __stack_chk_fail                                       ; +0x9a, 0x4694ae\nADD             SP, SP, #0x18                                          ; +0x9e, 0x4694b2\nPOP.W           {R4-R10,PC}                                            ; +0xa0, 0x4694b4", "xrefs": ["AccountLoginLayer::init @ 0x469816", "AccountLoginLayer::init @ 0x4698ea"], "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"}