{"type": "func", "start": 5792552, "end": 5792716, "name": "AccountLoginLayer::createTextLabel", "pseudocode": "// \n// AccountLoginLayer::createTextLabel from 0x586328 to 0x5863cc (164 bytes)\n// \n// 2 xrefs:\n// > AccountLoginLayer::init @ 0x5876ae\n// > AccountLoginLayer::init @ 0x5877f2\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:52:58 +0000\n// \n\nint __fastcall AccountLoginLayer::createTextLabel(int a1, int a2, cocos2d::CCLabelBMFont *a3, float *a4)\n{\n  int v7; // r4\n  void (__fastcall *v8)(int, _BYTE *); // r9\n  void (__fastcall *v9)(int, _BYTE *); // r9\n  _BYTE v11[8]; // [sp+4h] [bp-14h] BYREF\n  _BYTE v12[8]; // [sp+Ch] [bp-Ch] BYREF\n\n  v7 = cocos2d::CCLabelBMFont::create(a3, \"bigFont.fnt\", (const char *)a3);\n  v8 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v7 + 148);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, 0.0, 0.0);\n  v8(v7, v12);\n  v9 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v7 + 92);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, -(float)(*a4 * 0.5), (float)(a4[1] * 0.5) + 1.0);\n  cocos2d::CCPoint::operator+(v12, a2, v11);\n  v9(v7, v12);\n  (*(void (__fastcall **)(int, int))(*(_DWORD *)v7 + 80))(v7, 1053609165);\n  (*(void (__fastcall **)(_DWORD, int))(**(_DWORD **)(a1 + 460) + 228))(*(_DWORD *)(a1 + 460), v7);\n  return v7;\n}", "assembly": "; \n; AccountLoginLayer::createTextLabel from 0x586328 to 0x5863cc (164 bytes)\n; \n; 2 xrefs:\n; > AccountLoginLayer::init @ 0x5876ae\n; > AccountLoginLayer::init @ 0x5877f2\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:52:58 +0000\n; \nPUSH.W          {R4-R10,LR}                                            ; +0x0, 0x586328\nMOV             R7, R3                                                 ; +0x4, 0x58632c\nLDR             R5, =(__stack_chk_guard_ptr - 0x58633A)                ; +0x6, 0x58632e\nMOV             R10, R1                                                ; +0x8, 0x586330\nLDR             R1, =(aBigfontFnt - 0x586340); \"bigFont.fnt\"           ; +0xa, 0x586332\nSUB             SP, SP, #0x18                                          ; +0xc, 0x586334\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0xe, 0x586336\nLDR             R5, [R5]; __stack_chk_guard                            ; +0x10, 0x586338\nMOV             R8, R0                                                 ; +0x12, 0x58633a\nADD             R1, PC; \"bigFont.fnt\"                                  ; +0x14, 0x58633c\nMOV             R0, R2; this                                           ; +0x16, 0x58633e\nLDR             R3, [R5]                                               ; +0x18, 0x586340\nADD             R6, SP, #0x18+var_C                                    ; +0x1a, 0x586342\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x1c, 0x586344\nBL              _ZN7cocos2d13CCLabelBMFont6createEPKcS2_; cocos2d::CCLabelBMFont::create(char const*,char const*) ; +0x1e, 0x586346\nMOVS            R1, #0; float                                          ; +0x22, 0x58634a\nMOV             R2, R1; float                                          ; +0x24, 0x58634c\nLDR             R3, [R0]                                               ; +0x26, 0x58634e\nMOV             R4, R0                                                 ; +0x28, 0x586350\nMOV             R0, R6; this                                           ; +0x2a, 0x586352\nLDR.W           R9, [R3,#0x94]                                         ; +0x2c, 0x586354\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x30, 0x586358\nMOV             R0, R4                                                 ; +0x34, 0x58635c\nMOV             R1, R6                                                 ; +0x36, 0x58635e\nBLX             R9                                                     ; +0x38, 0x586360\nVMOV.F32        S15, #0.5                                              ; +0x3a, 0x586362\nVLDR            S14, [R7]                                              ; +0x3e, 0x586366\nLDR             R3, [R4]                                               ; +0x42, 0x58636a\nVLDR            S13, [R7,#4]                                           ; +0x44, 0x58636c\nADD             R7, SP, #0x18+var_14                                   ; +0x48, 0x586370\nLDR.W           R9, [R3,#0x5C]                                         ; +0x4a, 0x586372\nMOV             R0, R7; this                                           ; +0x4e, 0x586376\nVNMUL.F32       S14, S14, S15                                          ; +0x50, 0x586378\nVMOV            R1, S14; float                                         ; +0x54, 0x58637c\nVMOV.F32        S14, #1.0                                              ; +0x58, 0x586380\nVMLA.F32        S14, S13, S15                                          ; +0x5c, 0x586384\nVMOV            R2, S14; float                                         ; +0x60, 0x586388\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x64, 0x58638c\nMOV             R2, R7                                                 ; +0x68, 0x586390\nMOV             R0, R6                                                 ; +0x6a, 0x586392\nMOV             R1, R10                                                ; +0x6c, 0x586394\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x6e, 0x586396\nMOV             R0, R4                                                 ; +0x72, 0x58639a\nMOV             R1, R6                                                 ; +0x74, 0x58639c\nBLX             R9                                                     ; +0x76, 0x58639e\nLDR             R3, [R4]                                               ; +0x78, 0x5863a0\nMOV             R0, R4                                                 ; +0x7a, 0x5863a2\nLDR             R1, =0x3ECCCCCD                                        ; +0x7c, 0x5863a4\nLDR             R3, [R3,#0x50]                                         ; +0x7e, 0x5863a6\nBLX             R3                                                     ; +0x80, 0x5863a8\nLDR.W           R0, [R8,#0x1CC]                                        ; +0x82, 0x5863aa\nMOV             R1, R4                                                 ; +0x86, 0x5863ae\nLDR             R3, [R0]                                               ; +0x88, 0x5863b0\nLDR.W           R3, [R3,#0xE4]                                         ; +0x8a, 0x5863b2\nBLX             R3                                                     ; +0x8e, 0x5863b6\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x90, 0x5863b8\nLDR             R3, [R5]                                               ; +0x92, 0x5863ba\nMOV             R0, R4                                                 ; +0x94, 0x5863bc\nCMP             R2, R3                                                 ; +0x96, 0x5863be\nBEQ             loc_5863C6                                             ; +0x98, 0x5863c0\nBLX             __stack_chk_fail                                       ; +0x9a, 0x5863c2\nADD             SP, SP, #0x18                                          ; +0x9e, 0x5863c6\nPOP.W           {R4-R10,PC}                                            ; +0xa0, 0x5863c8", "xrefs": ["AccountLoginLayer::init @ 0x5876ae", "AccountLoginLayer::init @ 0x5877f2"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}