{"type": "func", "start": 4299792096, "end": 4299792275, "name": "AccountLoginLayer::createTextBackground", "pseudocode": "// \n// AccountLoginLayer::createTextBackground from 0x100499ee0 to 0x100499f93 (179 bytes)\n// \n// 0 xrefs:\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; // rcx\n  __int64 v5; // r15\n  cocos2d::extension::CCScale9Sprite *v6; // r12\n  unsigned __int64 v8[2]; // [rsp+8h] [rbp-48h] BYREF\n  __m128 v9[3]; // [rsp+18h] [rbp-38h] BYREF\n  cocos2d::CCRect v10; // 0:xmm0_8.8,8:xmm1_8.8\n\n  v5 = v4;\n  v10.size = 0;\n  sub_10028CC00((__int64)v8, 0.0, 0.0, (__m128)0x42200000u, (__m128)0x42200000u);\n  *(double *)&v10.origin = sub_10028D180(v9, v8);\n  v6 = cocos2d::extension::CCScale9Sprite::create_2(\"square02_small.png\", v10);\n  ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, __int64))v6->setContentSize)(v6, v5);\n  ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::extension::CCScale9Sprite *, __int64))a1->m_mainLayer->addChild_0)(\n    a1->m_mainLayer,\n    v6,\n    1);\n  ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, __int64))v6->setOpacity)(v6, 100);\n  ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, const char *))v6->setPosition)(v6, a3);\n  return v6;\n}", "assembly": "; \n; AccountLoginLayer::createTextBackground from 0x100499ee0 to 0x100499f93 (179 bytes)\n; \n; 0 xrefs:\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    rbp                                                            ; +0x0, 0x100499ee0\nmov     rbp, rsp                                                       ; +0x1, 0x100499ee1\npush    r15                                                            ; +0x4, 0x100499ee4\npush    r14                                                            ; +0x6, 0x100499ee6\npush    r13                                                            ; +0x8, 0x100499ee8\npush    r12                                                            ; +0xa, 0x100499eea\npush    rbx                                                            ; +0xc, 0x100499eec\nsub     rsp, 28h                                                       ; +0xd, 0x100499eed\nmov     r15, rcx                                                       ; +0x11, 0x100499ef1\nmov     rbx, rsi                                                       ; +0x14, 0x100499ef4\nmov     r14, rdi                                                       ; +0x17, 0x100499ef7\nlea     r12, [rbp+var_48]                                              ; +0x1a, 0x100499efa\nmovss   xmm2, cs:dword_100814FC8                                       ; +0x1e, 0x100499efe\nxorps   xmm0, xmm0                                                     ; +0x26, 0x100499f06\nxorps   xmm1, xmm1                                                     ; +0x29, 0x100499f09\nmov     rdi, r12                                                       ; +0x2c, 0x100499f0c\nmovaps  xmm3, xmm2                                                     ; +0x2f, 0x100499f0f\ncall    sub_10028CC00                                                  ; +0x32, 0x100499f12\nlea     r13, [rbp+var_38]                                              ; +0x37, 0x100499f17\nmov     rdi, r13                                                       ; +0x3b, 0x100499f1b\nmov     rsi, r12                                                       ; +0x3e, 0x100499f1e\ncall    sub_10028D180                                                  ; +0x41, 0x100499f21\nlea     rdi, aSquare02SmallP; \"square02_small.png\"                     ; +0x46, 0x100499f26\nmov     rsi, r13                                                       ; +0x4d, 0x100499f2d\ncall    cocos2d__extension__CCScale9Sprite__create_2                   ; +0x50, 0x100499f30\nmov     r12, rax                                                       ; +0x55, 0x100499f35\nmov     rax, [rax]                                                     ; +0x58, 0x100499f38\nmov     rdi, r12                                                       ; +0x5b, 0x100499f3b\nmov     rsi, r15                                                       ; +0x5e, 0x100499f3e\ncall    qword ptr [rax+130h]                                           ; +0x61, 0x100499f41\nmov     rdi, [r14+240h]                                                ; +0x67, 0x100499f47\nmov     rax, [rdi]                                                     ; +0x6e, 0x100499f4e\nmov     rsi, r12                                                       ; +0x71, 0x100499f51\nmov     edx, 1                                                         ; +0x74, 0x100499f54\ncall    qword ptr [rax+1C0h]                                           ; +0x79, 0x100499f59\nmov     rax, [r12]                                                     ; +0x7f, 0x100499f5f\nmov     rdi, r12                                                       ; +0x83, 0x100499f63\nmov     esi, 64h ; 'd'                                                 ; +0x86, 0x100499f66\ncall    qword ptr [rax+380h]                                           ; +0x8b, 0x100499f6b\nmov     rax, [r12]                                                     ; +0x91, 0x100499f71\nmov     rdi, r12                                                       ; +0x95, 0x100499f75\nmov     rsi, rbx                                                       ; +0x98, 0x100499f78\ncall    qword ptr [rax+0B8h]                                           ; +0x9b, 0x100499f7b\nmov     rax, r12                                                       ; +0xa1, 0x100499f81\nadd     rsp, 28h                                                       ; +0xa4, 0x100499f84\npop     rbx                                                            ; +0xa8, 0x100499f88\npop     r12                                                            ; +0xa9, 0x100499f89\npop     r13                                                            ; +0xab, 0x100499f8b\npop     r14                                                            ; +0xad, 0x100499f8d\npop     r15                                                            ; +0xaf, 0x100499f8f\npop     rbp                                                            ; +0xb1, 0x100499f91\nretn                                                                   ; +0xb2, 0x100499f92", "xrefs": [], "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"}