{"type": "func", "start": 4299779904, "end": 4299780083, "name": "AccountRegisterLayer::createTextBackground", "pseudocode": "// \n// AccountRegisterLayer::createTextBackground from 0x100496f40 to 0x100496ff3 (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 AccountRegisterLayer::createTextBackground(\n        AccountRegisterLayer *a1,\n        cocos2d::CCPoint a2,\n        cocos2d::CCSize a3)\n{\n  __int64 v3; // rdx\n  __int64 v4; // r15\n  cocos2d::extension::CCScale9Sprite *v5; // r12\n  unsigned __int64 v7[2]; // [rsp+8h] [rbp-48h] BYREF\n  __m128 v8[3]; // [rsp+18h] [rbp-38h] BYREF\n  cocos2d::CCRect v9; // 0:xmm0_8.8,8:xmm1_8.8\n\n  v4 = v3;\n  v9.size = 0;\n  sub_10028CC00((__int64)v7, 0.0, 0.0, (__m128)0x42200000u, (__m128)0x42200000u);\n  *(double *)&v9.origin = sub_10028D180(v8, v7);\n  v5 = cocos2d::extension::CCScale9Sprite::create_2(\"square02_small.png\", v9);\n  ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, __int64))v5->setContentSize)(v5, v4);\n  ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::extension::CCScale9Sprite *, __int64))a1->m_mainLayer->addChild_0)(\n    a1->m_mainLayer,\n    v5,\n    1);\n  ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *, __int64))v5->setOpacity)(v5, 100);\n  ((void (__fastcall *)(cocos2d::extension::CCScale9Sprite *))v5->setPosition)(v5);\n  return v5;\n}", "assembly": "; \n; AccountRegisterLayer::createTextBackground from 0x100496f40 to 0x100496ff3 (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, 0x100496f40\nmov     rbp, rsp                                                       ; +0x1, 0x100496f41\npush    r15                                                            ; +0x4, 0x100496f44\npush    r14                                                            ; +0x6, 0x100496f46\npush    r13                                                            ; +0x8, 0x100496f48\npush    r12                                                            ; +0xa, 0x100496f4a\npush    rbx                                                            ; +0xc, 0x100496f4c\nsub     rsp, 28h                                                       ; +0xd, 0x100496f4d\nmov     r15, rdx                                                       ; +0x11, 0x100496f51\nmov     rbx, rsi                                                       ; +0x14, 0x100496f54\nmov     r14, rdi                                                       ; +0x17, 0x100496f57\nlea     r12, [rbp+var_48]                                              ; +0x1a, 0x100496f5a\nmovss   xmm2, cs:dword_100814FC8                                       ; +0x1e, 0x100496f5e\nxorps   xmm0, xmm0                                                     ; +0x26, 0x100496f66\nxorps   xmm1, xmm1                                                     ; +0x29, 0x100496f69\nmov     rdi, r12                                                       ; +0x2c, 0x100496f6c\nmovaps  xmm3, xmm2                                                     ; +0x2f, 0x100496f6f\ncall    sub_10028CC00                                                  ; +0x32, 0x100496f72\nlea     r13, [rbp+var_38]                                              ; +0x37, 0x100496f77\nmov     rdi, r13                                                       ; +0x3b, 0x100496f7b\nmov     rsi, r12                                                       ; +0x3e, 0x100496f7e\ncall    sub_10028D180                                                  ; +0x41, 0x100496f81\nlea     rdi, aSquare02SmallP; \"square02_small.png\"                     ; +0x46, 0x100496f86\nmov     rsi, r13                                                       ; +0x4d, 0x100496f8d\ncall    cocos2d__extension__CCScale9Sprite__create_2                   ; +0x50, 0x100496f90\nmov     r12, rax                                                       ; +0x55, 0x100496f95\nmov     rax, [rax]                                                     ; +0x58, 0x100496f98\nmov     rdi, r12                                                       ; +0x5b, 0x100496f9b\nmov     rsi, r15                                                       ; +0x5e, 0x100496f9e\ncall    qword ptr [rax+130h]                                           ; +0x61, 0x100496fa1\nmov     rdi, [r14+240h]                                                ; +0x67, 0x100496fa7\nmov     rax, [rdi]                                                     ; +0x6e, 0x100496fae\nmov     rsi, r12                                                       ; +0x71, 0x100496fb1\nmov     edx, 1                                                         ; +0x74, 0x100496fb4\ncall    qword ptr [rax+1C0h]                                           ; +0x79, 0x100496fb9\nmov     rax, [r12]                                                     ; +0x7f, 0x100496fbf\nmov     rdi, r12                                                       ; +0x83, 0x100496fc3\nmov     esi, 64h ; 'd'                                                 ; +0x86, 0x100496fc6\ncall    qword ptr [rax+380h]                                           ; +0x8b, 0x100496fcb\nmov     rax, [r12]                                                     ; +0x91, 0x100496fd1\nmov     rdi, r12                                                       ; +0x95, 0x100496fd5\nmov     rsi, rbx                                                       ; +0x98, 0x100496fd8\ncall    qword ptr [rax+0B8h]                                           ; +0x9b, 0x100496fdb\nmov     rax, r12                                                       ; +0xa1, 0x100496fe1\nadd     rsp, 28h                                                       ; +0xa4, 0x100496fe4\npop     rbx                                                            ; +0xa8, 0x100496fe8\npop     r12                                                            ; +0xa9, 0x100496fe9\npop     r13                                                            ; +0xab, 0x100496feb\npop     r14                                                            ; +0xad, 0x100496fed\npop     r15                                                            ; +0xaf, 0x100496fef\npop     rbp                                                            ; +0xb1, 0x100496ff1\nretn                                                                   ; +0xb2, 0x100496ff2", "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"}