{"type": "func", "start": 4295506888, "end": 4295507084, "name": "AccountLoginLayer::createTextBackground", "pseudocode": "// \n// AccountLoginLayer::createTextBackground from 0x100083bc8 to 0x100083c8c (196 bytes)\n// \n// 2 xrefs:\n// > AccountLoginLayer::init @ 0x1000834a4\n// > AccountLoginLayer::init @ 0x1000835dc\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 *__fastcall AccountLoginLayer::createTextBackground(\n        AccountLoginLayer *a1,\n        cocos2d::CCPoint a2,\n        const char *a3,\n        cocos2d::CCSize a4)\n{\n  __int64 v4; // x3\n  __int64 v5; // x19\n  double v8; // d0\n  cocos2d::extension::CCScale9Sprite *v9; // x22\n  float v11; // s1\n  float v12; // s2\n  float v13; // s3\n  __int64 v14; // [xsp+0h] [xbp-40h] BYREF\n  float v15[4]; // [xsp+10h] [xbp-30h] BYREF\n  cocos2d::CCRect v16; // 0:kr00_16.16\n\n  v5 = v4;\n  sub_100022990(v15, 0.0, 0.0, 40.0, 40.0);\n  v8 = sub_100022B98(&v14, (__int64)v15);\n  v16.origin.x = *(float *)&v8;\n  v16.origin.y = v11;\n  v16.size.width = v12;\n  v16.size.height = v13;\n  v9 = cocos2d::extension::CCScale9Sprite::create(\"square02_small.png\", v16);\n  ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, __int64))v9->setContentSize)(v9, v5);\n  ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::extension::CCScale9Sprite *, __int64))a1->m_mainLayer->addChild_0)(\n    a1->m_mainLayer,\n    v9,\n    1);\n  ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, __int64))v9->setOpacity)(v9, 100);\n  ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, const char *))v9->setPosition)(v9, a3);\n  return v9;\n}", "assembly": "; \n; AccountLoginLayer::createTextBackground from 0x100083bc8 to 0x100083c8c (196 bytes)\n; \n; 2 xrefs:\n; > AccountLoginLayer::init @ 0x1000834a4\n; > AccountLoginLayer::init @ 0x1000835dc\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\nSUB             SP, SP, #0x50                                          ; +0x0, 0x100083bc8\nSTP             X22, X21, [SP,#0x40+var_20]                            ; +0x4, 0x100083bcc\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0x8, 0x100083bd0\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0xc, 0x100083bd4\nADD             X29, SP, #0x40                                         ; +0x10, 0x100083bd8\nMOV             X19, X3                                                ; +0x14, 0x100083bdc\nMOV             X20, X1                                                ; +0x18, 0x100083be0\nMOV             X21, X0                                                ; +0x1c, 0x100083be4\nMOV             W8, #0x42200000                                        ; +0x20, 0x100083be8\nFMOV            S2, W8                                                 ; +0x24, 0x100083bec\nADD             X0, SP, #0x40+var_30                                   ; +0x28, 0x100083bf0\nFMOV            S0, WZR                                                ; +0x2c, 0x100083bf4\nFMOV            S1, WZR                                                ; +0x30, 0x100083bf8\nFMOV            S3, S2                                                 ; +0x34, 0x100083bfc\nBL              sub_100022990                                          ; +0x38, 0x100083c00\nMOV             X0, SP                                                 ; +0x3c, 0x100083c04\nADD             X1, SP, #0x40+var_30                                   ; +0x40, 0x100083c08\nBL              sub_100022B98                                          ; +0x44, 0x100083c0c\nADRL            X0, aSquare02SmallP; \"square02_small.png\"              ; +0x48, 0x100083c10\nMOV             X1, SP                                                 ; +0x50, 0x100083c18\nBL              cocos2d__extension__CCScale9Sprite__create             ; +0x54, 0x100083c1c\nMOV             X22, X0                                                ; +0x58, 0x100083c20\nLDR             X8, [X0]                                               ; +0x5c, 0x100083c24\nLDR             X8, [X8,#0x130]                                        ; +0x60, 0x100083c28\nMOV             X1, X19                                                ; +0x64, 0x100083c2c\nBLR             X8                                                     ; +0x68, 0x100083c30\nLDR             X0, [X21,#0x240]                                       ; +0x6c, 0x100083c34\nLDR             X8, [X0]                                               ; +0x70, 0x100083c38\nLDR             X8, [X8,#0x1C0]                                        ; +0x74, 0x100083c3c\nMOV             X1, X22                                                ; +0x78, 0x100083c40\nMOV             W2, #1                                                 ; +0x7c, 0x100083c44\nBLR             X8                                                     ; +0x80, 0x100083c48\nLDR             X8, [X22]                                              ; +0x84, 0x100083c4c\nLDR             X8, [X8,#0x380]                                        ; +0x88, 0x100083c50\nMOV             X0, X22                                                ; +0x8c, 0x100083c54\nMOV             W1, #0x64 ; 'd'                                        ; +0x90, 0x100083c58\nBLR             X8                                                     ; +0x94, 0x100083c5c\nLDR             X8, [X22]                                              ; +0x98, 0x100083c60\nLDR             X8, [X8,#0xB8]                                         ; +0x9c, 0x100083c64\nMOV             X0, X22                                                ; +0xa0, 0x100083c68\nMOV             X1, X20                                                ; +0xa4, 0x100083c6c\nBLR             X8                                                     ; +0xa8, 0x100083c70\nMOV             X0, X22                                                ; +0xac, 0x100083c74\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0xb0, 0x100083c78\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0xb4, 0x100083c7c\nLDP             X22, X21, [SP,#0x40+var_20]                            ; +0xb8, 0x100083c80\nADD             SP, SP, #0x50 ; 'P'                                    ; +0xbc, 0x100083c84\nRET                                                                    ; +0xc0, 0x100083c88", "xrefs": ["AccountLoginLayer::init @ 0x1000834a4", "AccountLoginLayer::init @ 0x1000835dc"], "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"}