{"type": "func", "start": 10027008, "end": 10027252, "name": "AccountLoginLayer::createTextBackground", "pseudocode": "// \n// AccountLoginLayer::createTextBackground from 0x990000 to 0x9900f4 (244 bytes)\n// \n// 3 xrefs:\n// > AccountLoginLayer::init @ 0x991a68\n// > AccountLoginLayer::init @ 0x991bd0\n// > <???> @ 0x101e18\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 AccountLoginLayer::createTextBackground(__int64 a1, __int64 a2, __int64 a3, __int64 a4)\n{\n  __int64 v6; // x19\n  _BYTE v9[16]; // [xsp+58h] [xbp+58h] BYREF\n  _BYTE v10[16]; // [xsp+68h] [xbp+68h] 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  v6 = cocos2d::extension::CCScale9Sprite::create(\"square02_small.png\", v10);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 320LL))(v6, a4);\n  (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 464LL))(*(_QWORD *)(a1 + 584), v6, 1);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 912LL))(v6, 100);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 184LL))(v6, a2);\n  return v6;\n}", "assembly": "; \n; AccountLoginLayer::createTextBackground from 0x990000 to 0x9900f4 (244 bytes)\n; \n; 3 xrefs:\n; > AccountLoginLayer::init @ 0x991a68\n; > AccountLoginLayer::init @ 0x991bd0\n; > <???> @ 0x101e18\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, 0x990000\nFMOV            S0, WZR; float                                         ; +0x4, 0x990004\nMOV             X29, SP                                                ; +0x8, 0x990008\nSTP             X19, X20, [SP,#0x80+var_70]                            ; +0xc, 0x99000c\nADRP            X20, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0x990010\nSTR             X23, [SP,#0x80+var_50]                                 ; +0x14, 0x990014\nLDR             S2, flt_9900F4; float                                  ; +0x18, 0x990018\nMOV             X23, X0                                                ; +0x1c, 0x99001c\nSTP             X21, X22, [SP,#0x80+var_60]                            ; +0x20, 0x990020\nLDR             X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x24, 0x990024\nADD             X21, X29, #0x80+var_28                                 ; +0x28, 0x990028\nFMOV            S1, S0; float                                          ; +0x2c, 0x99002c\nMOV             X22, X1                                                ; +0x30, 0x990030\nFMOV            S3, S2; float                                          ; +0x34, 0x990034\nMOV             X0, X21; this                                          ; +0x38, 0x990038\nLDR             X1, [X20]                                              ; +0x3c, 0x99003c\nADD             X19, X29, #0x80+var_18                                 ; +0x40, 0x990040\nSTR             X3, [X29,#0x80+var_38]                                 ; +0x44, 0x990044\nSTR             X1, [X29,#0x80+var_8]                                  ; +0x48, 0x990048\nBL              _ZN7cocos2d6CCRectC2Effff; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x4c, 0x99004c\nMOV             X0, X19; this                                          ; +0x50, 0x990050\nMOV             X1, X21; cocos2d::CCRect *                             ; +0x54, 0x990054\nBL              _ZN7cocos2d6CCRectC1ERKS0_; cocos2d::CCRect::CCRect(cocos2d::CCRect const&) ; +0x58, 0x990058\nADRP            X0, #aSquare02SmallP@PAGE; \"square02_small.png\"        ; +0x5c, 0x99005c\nMOV             X1, X19                                                ; +0x60, 0x990060\nADD             X0, X0, #aSquare02SmallP@PAGEOFF; \"square02_small.png\" ; +0x64, 0x990064\nBL              _ZN7cocos2d9extension14CCScale9Sprite6createEPKcNS_6CCRectE; cocos2d::extension::CCScale9Sprite::create(char const*,cocos2d::CCRect) ; +0x68, 0x990068\nLDR             X2, [X0]                                               ; +0x6c, 0x99006c\nLDR             X3, [X29,#0x80+var_38]                                 ; +0x70, 0x990070\nMOV             X19, X0                                                ; +0x74, 0x990074\nLDR             X2, [X2,#0x140]                                        ; +0x78, 0x990078\nMOV             X1, X3                                                 ; +0x7c, 0x99007c\nBLR             X2                                                     ; +0x80, 0x990080\nLDR             X3, [X23,#0x248]                                       ; +0x84, 0x990084\nMOV             W2, #1                                                 ; +0x88, 0x990088\nMOV             X1, X19                                                ; +0x8c, 0x99008c\nMOV             X0, X3                                                 ; +0x90, 0x990090\nLDR             X3, [X3]                                               ; +0x94, 0x990094\nLDR             X3, [X3,#0x1D0]                                        ; +0x98, 0x990098\nBLR             X3                                                     ; +0x9c, 0x99009c\nLDR             X2, [X19]                                              ; +0xa0, 0x9900a0\nMOV             X0, X19                                                ; +0xa4, 0x9900a4\nMOV             W1, #0x64 ; 'd'                                        ; +0xa8, 0x9900a8\nLDR             X2, [X2,#0x390]                                        ; +0xac, 0x9900ac\nBLR             X2                                                     ; +0xb0, 0x9900b0\nLDR             X2, [X19]                                              ; +0xb4, 0x9900b4\nMOV             X0, X19                                                ; +0xb8, 0x9900b8\nMOV             X1, X22                                                ; +0xbc, 0x9900bc\nLDR             X2, [X2,#0xB8]                                         ; +0xc0, 0x9900c0\nBLR             X2                                                     ; +0xc4, 0x9900c4\nLDR             X2, [X29,#0x80+var_8]                                  ; +0xc8, 0x9900c8\nMOV             X0, X19                                                ; +0xcc, 0x9900cc\nLDR             X1, [X20]                                              ; +0xd0, 0x9900d0\nCMP             X2, X1                                                 ; +0xd4, 0x9900d4\nB.NE            loc_9900F0                                             ; +0xd8, 0x9900d8\nLDP             X19, X20, [SP,#0x80+var_70]                            ; +0xdc, 0x9900dc\nLDP             X21, X22, [SP,#0x80+var_60]                            ; +0xe0, 0x9900e0\nLDR             X23, [SP,#0x80+var_50]                                 ; +0xe4, 0x9900e4\nLDP             X29, X30, [SP+0x80+var_80],#0x80                       ; +0xe8, 0x9900e8\nRET                                                                    ; +0xec, 0x9900ec\nBL              .__stack_chk_fail                                      ; +0xf0, 0x9900f0", "xrefs": ["AccountLoginLayer::init @ 0x991a68", "AccountLoginLayer::init @ 0x991bd0", "<???> @ 0x101e18"], "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"}