{"type": "func", "start": 5369207248, "end": 5369207440, "name": "AccountRegisterLayer::createTextBackground", "pseudocode": "// \n// AccountRegisterLayer::createTextBackground from 0x1400799d0 to 0x140079a90 (192 bytes)\n// \n// 6 xrefs:\n// > AccountRegisterLayer::init @ 0x140078e1a\n// > AccountRegisterLayer::init @ 0x140079069\n// > AccountRegisterLayer::init @ 0x1400792a8\n// > AccountRegisterLayer::init @ 0x140079515\n// > AccountRegisterLayer::init @ 0x140079734\n// > <???> @ 0x1406c66d8\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 *AccountRegisterLayer::createTextBackground(\n        AccountRegisterLayer *a1,\n        cocos2d::CCPoint a2,\n        cocos2d::CCSize a3)\n{\n  struct cocos2d::CCRect *v6; // rax\n  struct cocos2d::extension::CCScale9Sprite *v7; // rbx\n  __int64 v8; // rdx\n  cocos2d::CCRect v10; // [rsp+30h] [rbp-28h] BYREF\n  cocos2d::CCRect v11; // [rsp+40h] [rbp-18h] BYREF\n\n  cocos2d::CCRect::CCRect(&v10, 0.0, 0.0, 40.0, 40.0);\n  v6 = (struct cocos2d::CCRect *)cocos2d::CCRect::CCRect(&v11, &v10);\n  v7 = cocos2d::extension::CCScale9Sprite::create(\"square02_small.png\", v6);\n  ((void (__fastcall *)(struct cocos2d::extension::CCScale9Sprite *, cocos2d::CCSize))v7->setContentSize)(v7, a3);\n  a1->m_mainLayer->addChild_0(a1->m_mainLayer, v7, 1);\n  LOBYTE(v8) = 100;\n  v7->setOpacity(&v7->cocos2d::CCRGBAProtocol, v8);\n  ((void (__fastcall *)(struct cocos2d::extension::CCScale9Sprite *, cocos2d::CCPoint))v7->setPosition_0)(v7, a2);\n  return v7;\n}", "assembly": "; \n; AccountRegisterLayer::createTextBackground from 0x1400799d0 to 0x140079a90 (192 bytes)\n; \n; 6 xrefs:\n; > AccountRegisterLayer::init @ 0x140078e1a\n; > AccountRegisterLayer::init @ 0x140079069\n; > AccountRegisterLayer::init @ 0x1400792a8\n; > AccountRegisterLayer::init @ 0x140079515\n; > AccountRegisterLayer::init @ 0x140079734\n; > <???> @ 0x1406c66d8\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1400799d0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1400799d5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1400799da\npush    rdi                                                            ; +0xf, 0x1400799df\nsub     rsp, 50h                                                       ; +0x10, 0x1400799e0\nmovss   xmm3, cs:dword_1406231B0                                       ; +0x14, 0x1400799e4\nmov     rsi, rcx                                                       ; +0x1c, 0x1400799ec\nlea     rcx, [rsp+58h+var_28]                                          ; +0x1f, 0x1400799ef\nmovss   [rsp+58h+var_38], xmm3                                         ; +0x24, 0x1400799f4\nxorps   xmm2, xmm2                                                     ; +0x2a, 0x1400799fa\nxorps   xmm1, xmm1                                                     ; +0x2d, 0x1400799fd\nmov     rdi, r8                                                        ; +0x30, 0x140079a00\nmov     rbp, rdx                                                       ; +0x33, 0x140079a03\ncall    cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x36, 0x140079a06\nlea     rdx, [rsp+58h+var_28]                                          ; +0x3c, 0x140079a0c\nlea     rcx, [rsp+58h+var_18]                                          ; +0x41, 0x140079a11\ncall    cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x46, 0x140079a16\nmov     rdx, rax                                                       ; +0x4c, 0x140079a1c\nlea     rcx, aSquare02SmallP; \"square02_small.png\"                     ; +0x4f, 0x140079a1f\ncall    cs:?create@CCScale9Sprite@extension@cocos2d@@SAPEAV123@PEBDVCCRect@3@@Z; cocos2d::extension::CCScale9Sprite::create(char const *,cocos2d::CCRect) ; +0x56, 0x140079a26\nmov     rdx, rdi                                                       ; +0x5c, 0x140079a2c\nmov     rcx, rax                                                       ; +0x5f, 0x140079a2f\nmov     rbx, rax                                                       ; +0x62, 0x140079a32\nmov     r8, [rax]                                                      ; +0x65, 0x140079a35\ncall    qword ptr [r8+128h]                                            ; +0x68, 0x140079a38\nmov     rcx, [rsi+240h]                                                ; +0x6f, 0x140079a3f\nmov     r8d, 1                                                         ; +0x76, 0x140079a46\nmov     rdx, rbx                                                       ; +0x7c, 0x140079a4c\nmov     r9, [rcx]                                                      ; +0x7f, 0x140079a4f\ncall    qword ptr [r9+1B8h]                                            ; +0x82, 0x140079a52\nlea     rcx, [rbx+140h]                                                ; +0x89, 0x140079a59\nmov     dl, 64h ; 'd'                                                  ; +0x90, 0x140079a60\nmov     r8, [rcx]                                                      ; +0x92, 0x140079a62\ncall    qword ptr [r8+28h]                                             ; +0x95, 0x140079a65\nmov     rax, [rbx]                                                     ; +0x99, 0x140079a69\nmov     rdx, rbp                                                       ; +0x9c, 0x140079a6c\nmov     rcx, rbx                                                       ; +0x9f, 0x140079a6f\ncall    qword ptr [rax+0B8h]                                           ; +0xa2, 0x140079a72\nmov     rbp, [rsp+58h+arg_8]                                           ; +0xa8, 0x140079a78\nmov     rax, rbx                                                       ; +0xad, 0x140079a7d\nmov     rbx, [rsp+58h+arg_0]                                           ; +0xb0, 0x140079a80\nmov     rsi, [rsp+58h+arg_10]                                          ; +0xb5, 0x140079a85\nadd     rsp, 50h                                                       ; +0xba, 0x140079a8a\npop     rdi                                                            ; +0xbe, 0x140079a8e\nretn                                                                   ; +0xbf, 0x140079a8f", "xrefs": ["AccountRegisterLayer::init @ 0x140078e1a", "AccountRegisterLayer::init @ 0x140079069", "AccountRegisterLayer::init @ 0x1400792a8", "AccountRegisterLayer::init @ 0x140079515", "AccountRegisterLayer::init @ 0x140079734", "<???> @ 0x1406c66d8"], "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"}