{"type": "func", "start": 8718832, "end": 8719076, "name": "AccountLoginLayer::createTextBackground", "pseudocode": "// \n// AccountLoginLayer::createTextBackground from 0x8509f0 to 0x850ae4 (244 bytes)\n// \n// 3 xrefs:\n// > AccountLoginLayer::init @ 0x851118\n// > AccountLoginLayer::init @ 0x851230\n// > <???> @ 0xc62b8\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::extension::CCScale9Sprite *AccountLoginLayer::createTextBackground(\n        AccountLoginLayer *a1,\n        cocos2d::CCPoint a2,\n        const char *a3,\n        cocos2d::CCSize a4)\n{\n  const cocos2d::CCSize *v4; // x3\n  cocos2d::extension::CCScale9Sprite *v7; // x19\n  const cocos2d::CCSize *v9; // [xsp+48h] [xbp+48h]\n  cocos2d::CCRect v10; // [xsp+58h] [xbp+58h] BYREF\n  cocos2d::CCRect v11; // [xsp+68h] [xbp+68h] BYREF\n  cocos2d::CCRect v12; // 0:s0.4,4:s1.4,8:s2.4,12:s3.4\n\n  v9 = v4;\n  cocos2d::CCRect::CCRect(&v10, 0.0, 0.0, 40.0, 40.0);\n  cocos2d::CCRect::CCRect(&v11, &v10);\n  v7 = (cocos2d::extension::CCScale9Sprite *)cocos2d::extension::CCScale9Sprite::create(\n                                               (cocos2d::extension::CCScale9Sprite *)\"square02_small.png\",\n                                               (const char *)&v11,\n                                               v12);\n  v7->setContentSize(v7, v9);\n  a1->m_mainLayer->addChild_0(a1->m_mainLayer, v7, 1);\n  v7->setOpacity(v7, 100);\n  v7->setPosition(v7, (const cocos2d::CCPoint *)a3);\n  return v7;\n}", "assembly": "; \n; AccountLoginLayer::createTextBackground from 0x8509f0 to 0x850ae4 (244 bytes)\n; \n; 3 xrefs:\n; > AccountLoginLayer::init @ 0x851118\n; > AccountLoginLayer::init @ 0x851230\n; > <???> @ 0xc62b8\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, 0x8509f0\nFMOV            S0, WZR; float                                         ; +0x4, 0x8509f4\nMOV             X29, SP                                                ; +0x8, 0x8509f8\nSTP             X19, X20, [SP,#0x80+var_70]                            ; +0xc, 0x8509fc\nADRP            X20, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0x850a00\nSTR             X23, [SP,#0x80+var_50]                                 ; +0x14, 0x850a04\nLDR             S2, flt_850AE4; float                                  ; +0x18, 0x850a08\nMOV             X23, X0                                                ; +0x1c, 0x850a0c\nFMOV            S1, S0; float                                          ; +0x20, 0x850a10\nSTR             X3, [X29,#0x80+var_38]                                 ; +0x24, 0x850a14\nLDR             X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x28, 0x850a18\nADD             X19, X29, #0x80+var_18                                 ; +0x2c, 0x850a1c\nFMOV            S3, S2; float                                          ; +0x30, 0x850a20\nSTP             X21, X22, [SP,#0x80+var_60]                            ; +0x34, 0x850a24\nADD             X21, X29, #0x80+var_28                                 ; +0x38, 0x850a28\nMOV             X22, X1                                                ; +0x3c, 0x850a2c\nLDR             X1, [X20]                                              ; +0x40, 0x850a30\nMOV             X0, X21; this                                          ; +0x44, 0x850a34\nSTR             X1, [X29,#0x80+var_8]                                  ; +0x48, 0x850a38\nBL              _ZN7cocos2d6CCRectC2Effff; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x4c, 0x850a3c\nMOV             X0, X19; this                                          ; +0x50, 0x850a40\nMOV             X1, X21; cocos2d::CCRect *                             ; +0x54, 0x850a44\nBL              _ZN7cocos2d6CCRectC1ERKS0_; cocos2d::CCRect::CCRect(cocos2d::CCRect const&) ; +0x58, 0x850a48\nADRP            X0, #aSquare02SmallP@PAGE; \"square02_small.png\"        ; +0x5c, 0x850a4c\nMOV             X1, X19                                                ; +0x60, 0x850a50\nADD             X0, X0, #aSquare02SmallP@PAGEOFF; \"square02_small.png\" ; +0x64, 0x850a54\nBL              _ZN7cocos2d9extension14CCScale9Sprite6createEPKcNS_6CCRectE; cocos2d::extension::CCScale9Sprite::create(char const*,cocos2d::CCRect) ; +0x68, 0x850a58\nLDR             X2, [X0]                                               ; +0x6c, 0x850a5c\nLDR             X3, [X29,#0x80+var_38]                                 ; +0x70, 0x850a60\nMOV             X19, X0                                                ; +0x74, 0x850a64\nLDR             X2, [X2,#0x130]                                        ; +0x78, 0x850a68\nMOV             X1, X3                                                 ; +0x7c, 0x850a6c\nBLR             X2                                                     ; +0x80, 0x850a70\nLDR             X3, [X23,#0x240]                                       ; +0x84, 0x850a74\nMOV             W2, #1                                                 ; +0x88, 0x850a78\nMOV             X1, X19                                                ; +0x8c, 0x850a7c\nMOV             X0, X3                                                 ; +0x90, 0x850a80\nLDR             X3, [X3]                                               ; +0x94, 0x850a84\nLDR             X3, [X3,#0x1C0]                                        ; +0x98, 0x850a88\nBLR             X3                                                     ; +0x9c, 0x850a8c\nLDR             X2, [X19]                                              ; +0xa0, 0x850a90\nMOV             X0, X19                                                ; +0xa4, 0x850a94\nMOV             W1, #0x64 ; 'd'                                        ; +0xa8, 0x850a98\nLDR             X2, [X2,#0x380]                                        ; +0xac, 0x850a9c\nBLR             X2                                                     ; +0xb0, 0x850aa0\nLDR             X2, [X19]                                              ; +0xb4, 0x850aa4\nMOV             X0, X19                                                ; +0xb8, 0x850aa8\nMOV             X1, X22                                                ; +0xbc, 0x850aac\nLDR             X2, [X2,#0xB8]                                         ; +0xc0, 0x850ab0\nBLR             X2                                                     ; +0xc4, 0x850ab4\nLDR             X2, [X29,#0x80+var_8]                                  ; +0xc8, 0x850ab8\nMOV             X0, X19                                                ; +0xcc, 0x850abc\nLDR             X1, [X20]                                              ; +0xd0, 0x850ac0\nCMP             X2, X1                                                 ; +0xd4, 0x850ac4\nB.NE            loc_850AE0                                             ; +0xd8, 0x850ac8\nLDP             X19, X20, [SP,#0x80+var_70]                            ; +0xdc, 0x850acc\nLDP             X21, X22, [SP,#0x80+var_60]                            ; +0xe0, 0x850ad0\nLDR             X23, [SP,#0x80+var_50]                                 ; +0xe4, 0x850ad4\nLDP             X29, X30, [SP+0x80+var_80],#0x80                       ; +0xe8, 0x850ad8\nRET                                                                    ; +0xec, 0x850adc\nBL              .__stack_chk_fail                                      ; +0xf0, 0x850ae0", "xrefs": ["AccountLoginLayer::init @ 0x851118", "AccountLoginLayer::init @ 0x851230", "<???> @ 0xc62b8"], "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"}