{"type": "func", "start": 4625288, "end": 4625416, "name": "AccountLoginLayer::createTextBackground", "pseudocode": "// \n// AccountLoginLayer::createTextBackground from 0x469388 to 0x469408 (128 bytes)\n// \n// 2 xrefs:\n// > AccountLoginLayer::init @ 0x4697f6\n// > AccountLoginLayer::init @ 0x4698ca\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  float x; // r7\n  cocos2d::extension::CCScale9Sprite *v7; // r4\n  float v9; // r2\n  float v10; // r3\n  cocos2d::CCRect v11; // [sp+Ch] [bp-28h] BYREF\n  cocos2d::CCRect v12; // [sp+1Ch] [bp-18h] BYREF\n  cocos2d::CCSize v13; // 0:^0.8\n  cocos2d::CCRect v14; // 0:kr00_16.16\n\n  x = a2.x;\n  cocos2d::CCRect::CCRect(&v11, 0.0, 0.0, 40.0, 40.0);\n  cocos2d::CCRect::CCRect(&v12, &v11);\n  v14.origin.x = v9;\n  v14.origin.y = v10;\n  v14.size = v13;\n  v7 = (cocos2d::extension::CCScale9Sprite *)cocos2d::extension::CCScale9Sprite::create(\n                                               (cocos2d::extension::CCScale9Sprite *)\"square02_small.png\",\n                                               (const char *)&v12,\n                                               v14);\n  v7->setContentSize(v7, (const cocos2d::CCSize *)a3);\n  a1->m_mainLayer->addChild_0(a1->m_mainLayer, v7, 1);\n  v7->setOpacity(v7, 100);\n  ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, float))v7->setPosition)(v7, COERCE_FLOAT(LODWORD(x)));\n  return v7;\n}", "assembly": "; \n; AccountLoginLayer::createTextBackground from 0x469388 to 0x469408 (128 bytes)\n; \n; 2 xrefs:\n; > AccountLoginLayer::init @ 0x4697f6\n; > AccountLoginLayer::init @ 0x4698ca\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\nPUSH.W          {R4-R9,LR}                                             ; +0x0, 0x469388\nMOV             R9, R3                                                 ; +0x4, 0x46938c\nLDR             R5, =(__stack_chk_guard_ptr - 0x46939A)                ; +0x6, 0x46938e\nSUB             SP, SP, #0x34                                          ; +0x8, 0x469390\nADD             R4, SP, #0x34+var_28                                   ; +0xa, 0x469392\nMOV             R7, R1                                                 ; +0xc, 0x469394\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0xe, 0x469396\nLDR             R5, [R5]; __stack_chk_guard                            ; +0x10, 0x469398\nMOVS            R1, #0; float                                          ; +0x12, 0x46939a\nADD             R6, SP, #0x34+var_18                                   ; +0x14, 0x46939c\nMOV             R2, R1; float                                          ; +0x16, 0x46939e\nLDR             R3, [R5]                                               ; +0x18, 0x4693a0\nMOV             R8, R0                                                 ; +0x1a, 0x4693a2\nMOV             R0, R4; this                                           ; +0x1c, 0x4693a4\nSTR             R3, [SP,#0x34+var_8]                                   ; +0x1e, 0x4693a6\nLDR             R3, flt_469408; float                                  ; +0x20, 0x4693a8\nSTR             R3, [SP,#0x34+var_34]; float                           ; +0x22, 0x4693aa\nBL              _ZN7cocos2d6CCRectC1Effff; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x24, 0x4693ac\nMOV             R1, R4; cocos2d::CCRect *                              ; +0x28, 0x4693b0\nMOV             R0, R6; this                                           ; +0x2a, 0x4693b2\nBL              _ZN7cocos2d6CCRectC1ERKS0_; cocos2d::CCRect::CCRect(cocos2d::CCRect const&) ; +0x2c, 0x4693b4\nLDR             R0, =(aSquare02SmallP - 0x4693C0); \"square02_small.png\" ; +0x30, 0x4693b8\nMOV             R1, R6                                                 ; +0x32, 0x4693ba\nADD             R0, PC; \"square02_small.png\"                           ; +0x34, 0x4693bc\nBL              _ZN7cocos2d9extension14CCScale9Sprite6createEPKcNS_6CCRectE; cocos2d::extension::CCScale9Sprite::create(char const*,cocos2d::CCRect) ; +0x36, 0x4693be\nMOV             R1, R9                                                 ; +0x3a, 0x4693c2\nLDR             R3, [R0]                                               ; +0x3c, 0x4693c4\nMOV             R4, R0                                                 ; +0x3e, 0x4693c6\nLDR.W           R3, [R3,#0x98]                                         ; +0x40, 0x4693c8\nBLX             R3                                                     ; +0x44, 0x4693cc\nLDR.W           R0, [R8,#0x1C8]                                        ; +0x46, 0x4693ce\nMOVS            R2, #1                                                 ; +0x4a, 0x4693d2\nMOV             R1, R4                                                 ; +0x4c, 0x4693d4\nLDR             R3, [R0]                                               ; +0x4e, 0x4693d6\nLDR.W           R3, [R3,#0xE0]                                         ; +0x50, 0x4693d8\nBLX             R3                                                     ; +0x54, 0x4693dc\nLDR             R3, [R4]                                               ; +0x56, 0x4693de\nMOV             R0, R4                                                 ; +0x58, 0x4693e0\nMOVS            R1, #0x64 ; 'd'                                        ; +0x5a, 0x4693e2\nLDR.W           R3, [R3,#0x1C0]                                        ; +0x5c, 0x4693e4\nBLX             R3                                                     ; +0x60, 0x4693e8\nLDR             R3, [R4]                                               ; +0x62, 0x4693ea\nMOV             R0, R4                                                 ; +0x64, 0x4693ec\nMOV             R1, R7                                                 ; +0x66, 0x4693ee\nLDR             R3, [R3,#0x5C]                                         ; +0x68, 0x4693f0\nBLX             R3                                                     ; +0x6a, 0x4693f2\nLDR             R2, [SP,#0x34+var_8]                                   ; +0x6c, 0x4693f4\nLDR             R3, [R5]                                               ; +0x6e, 0x4693f6\nMOV             R0, R4                                                 ; +0x70, 0x4693f8\nCMP             R2, R3                                                 ; +0x72, 0x4693fa\nBEQ             loc_469402                                             ; +0x74, 0x4693fc\nBLX             __stack_chk_fail                                       ; +0x76, 0x4693fe\nADD             SP, SP, #0x34 ; '4'                                    ; +0x7a, 0x469402\nPOP.W           {R4-R9,PC}                                             ; +0x7c, 0x469404", "xrefs": ["AccountLoginLayer::init @ 0x4697f6", "AccountLoginLayer::init @ 0x4698ca"], "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"}