{"type": "func", "start": 5792412, "end": 5792540, "name": "AccountLoginLayer::createTextBackground", "pseudocode": "// \n// AccountLoginLayer::createTextBackground from 0x58629c to 0x58631c (128 bytes)\n// \n// 2 xrefs:\n// > AccountLoginLayer::init @ 0x58768e\n// > AccountLoginLayer::init @ 0x5877d6\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::createTextBackground(int a1, int a2, int a3, int a4)\n{\n  int v7; // r4\n  _BYTE v9[16]; // [sp+Ch] [bp-28h] BYREF\n  _BYTE v10[16]; // [sp+1Ch] [bp-18h] BYREF\n\n  cocos2d::CCRect::CCRect((cocos2d::CCRect *)v9, 0.0, 0.0, 40.0, 40.0);\n  cocos2d::CCRect::CCRect((cocos2d::CCRect *)v10, (const cocos2d::CCRect *)v9);\n  v7 = cocos2d::extension::CCScale9Sprite::create(\"square02_small.png\", v10);\n  (*(void (__fastcall **)(int, int))(*(_DWORD *)v7 + 160))(v7, a4);\n  (*(void (__fastcall **)(_DWORD, int, int))(**(_DWORD **)(a1 + 460) + 232))(*(_DWORD *)(a1 + 460), v7, 1);\n  (*(void (__fastcall **)(int, int))(*(_DWORD *)v7 + 456))(v7, 100);\n  (*(void (__fastcall **)(int, int))(*(_DWORD *)v7 + 92))(v7, a2);\n  return v7;\n}", "assembly": "; \n; AccountLoginLayer::createTextBackground from 0x58629c to 0x58631c (128 bytes)\n; \n; 2 xrefs:\n; > AccountLoginLayer::init @ 0x58768e\n; > AccountLoginLayer::init @ 0x5877d6\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-R9,LR}                                             ; +0x0, 0x58629c\nMOV             R9, R3                                                 ; +0x4, 0x5862a0\nLDR             R5, =(__stack_chk_guard_ptr - 0x5862AE)                ; +0x6, 0x5862a2\nSUB             SP, SP, #0x34                                          ; +0x8, 0x5862a4\nADD             R4, SP, #0x34+var_28                                   ; +0xa, 0x5862a6\nMOV             R7, R1                                                 ; +0xc, 0x5862a8\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0xe, 0x5862aa\nLDR             R5, [R5]; __stack_chk_guard                            ; +0x10, 0x5862ac\nMOVS            R1, #0; float                                          ; +0x12, 0x5862ae\nADD             R6, SP, #0x34+var_18                                   ; +0x14, 0x5862b0\nMOV             R2, R1; float                                          ; +0x16, 0x5862b2\nLDR             R3, [R5]                                               ; +0x18, 0x5862b4\nMOV             R8, R0                                                 ; +0x1a, 0x5862b6\nMOV             R0, R4; this                                           ; +0x1c, 0x5862b8\nSTR             R3, [SP,#0x34+var_8]                                   ; +0x1e, 0x5862ba\nLDR             R3, flt_58631C; float                                  ; +0x20, 0x5862bc\nSTR             R3, [SP,#0x34+var_34]; float                           ; +0x22, 0x5862be\nBL              _ZN7cocos2d6CCRectC1Effff; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x24, 0x5862c0\nMOV             R1, R4; cocos2d::CCRect *                              ; +0x28, 0x5862c4\nMOV             R0, R6; this                                           ; +0x2a, 0x5862c6\nBL              _ZN7cocos2d6CCRectC1ERKS0_; cocos2d::CCRect::CCRect(cocos2d::CCRect const&) ; +0x2c, 0x5862c8\nLDR             R0, =(aSquare02SmallP - 0x5862D4); \"square02_small.png\" ; +0x30, 0x5862cc\nMOV             R1, R6                                                 ; +0x32, 0x5862ce\nADD             R0, PC; \"square02_small.png\"                           ; +0x34, 0x5862d0\nBL              _ZN7cocos2d9extension14CCScale9Sprite6createEPKcNS_6CCRectE; cocos2d::extension::CCScale9Sprite::create(char const*,cocos2d::CCRect) ; +0x36, 0x5862d2\nMOV             R1, R9                                                 ; +0x3a, 0x5862d6\nLDR             R3, [R0]                                               ; +0x3c, 0x5862d8\nMOV             R4, R0                                                 ; +0x3e, 0x5862da\nLDR.W           R3, [R3,#0xA0]                                         ; +0x40, 0x5862dc\nBLX             R3                                                     ; +0x44, 0x5862e0\nLDR.W           R0, [R8,#0x1CC]                                        ; +0x46, 0x5862e2\nMOVS            R2, #1                                                 ; +0x4a, 0x5862e6\nMOV             R1, R4                                                 ; +0x4c, 0x5862e8\nLDR             R3, [R0]                                               ; +0x4e, 0x5862ea\nLDR.W           R3, [R3,#0xE8]                                         ; +0x50, 0x5862ec\nBLX             R3                                                     ; +0x54, 0x5862f0\nLDR             R3, [R4]                                               ; +0x56, 0x5862f2\nMOV             R0, R4                                                 ; +0x58, 0x5862f4\nMOVS            R1, #0x64 ; 'd'                                        ; +0x5a, 0x5862f6\nLDR.W           R3, [R3,#0x1C8]                                        ; +0x5c, 0x5862f8\nBLX             R3                                                     ; +0x60, 0x5862fc\nLDR             R3, [R4]                                               ; +0x62, 0x5862fe\nMOV             R0, R4                                                 ; +0x64, 0x586300\nMOV             R1, R7                                                 ; +0x66, 0x586302\nLDR             R3, [R3,#0x5C]                                         ; +0x68, 0x586304\nBLX             R3                                                     ; +0x6a, 0x586306\nLDR             R2, [SP,#0x34+var_8]                                   ; +0x6c, 0x586308\nLDR             R3, [R5]                                               ; +0x6e, 0x58630a\nMOV             R0, R4                                                 ; +0x70, 0x58630c\nCMP             R2, R3                                                 ; +0x72, 0x58630e\nBEQ             loc_586316                                             ; +0x74, 0x586310\nBLX             __stack_chk_fail                                       ; +0x76, 0x586312\nADD             SP, SP, #0x34 ; '4'                                    ; +0x7a, 0x586316\nPOP.W           {R4-R9,PC}                                             ; +0x7c, 0x586318", "xrefs": ["AccountLoginLayer::init @ 0x58768e", "AccountLoginLayer::init @ 0x5877d6"], "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"}