{"type": "func", "start": 5372718144, "end": 5372718381, "name": "InfoLayer::refreshUserTitle", "pseudocode": "// \n// InfoLayer::refreshUserTitle from 0x1403d2c40 to 0x1403d2d2d (237 bytes)\n// \n// 3 xrefs:\n// > InfoLayer::init @ 0x1403ce112\n// > InfoLayer::toggleModRoom @ 0x1403d2d49\n// > <???> @ 0x1409247c4\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:31:35 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall InfoLayer::refreshUserTitle(__int64 a1)\n{\n  __int64 v2; // rdx\n  char v3; // bl\n  const char *v4; // rdx\n  const char *v5; // r8\n  cocos2d::CCString *v6; // rax\n  const char *CString; // rbx\n  _QWORD v8[4]; // [rsp+28h] [rbp-30h] BYREF\n\n  if ( *(_QWORD *)(a1 + 896) )\n  {\n    v2 = *(_QWORD *)(a1 + 704);\n    if ( v2 )\n    {\n      v3 = *(_BYTE *)(a1 + 888);\n      sub_14003F4F0((__int64)v8, v2 + 320);\n      v4 = (const char *)v8;\n      if ( v8[3] > 0xFu )\n        v4 = (const char *)v8[0];\n      v5 = \"comments\";\n      if ( v3 )\n        v5 = \"notes\";\n      v6 = cocos2d::CCString::createWithFormat(\"%s's %s\", v4, v5);\n      CString = cocos2d::CCString::getCString(v6);\n      sub_14003D310((__int64)v8);\n      (**(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)(a1 + 896) + 360LL))(\n        *(_QWORD *)(a1 + 896) + 360LL,\n        CString);\n      cocos2d::CCLabelBMFont::limitLabelWidth(*(cocos2d::CCLabelBMFont **)(a1 + 896), 180.0, 0.55000001, 0.0);\n    }\n  }\n}", "assembly": "; \n; InfoLayer::refreshUserTitle from 0x1403d2c40 to 0x1403d2d2d (237 bytes)\n; \n; 3 xrefs:\n; > InfoLayer::init @ 0x1403ce112\n; > InfoLayer::toggleModRoom @ 0x1403d2d49\n; > <???> @ 0x1409247c4\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:31:35 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1403d2c40\npush    rdi                                                            ; +0x5, 0x1403d2c45\nsub     rsp, 50h                                                       ; +0x6, 0x1403d2c46\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x1403d2c4a\nxor     rax, rsp                                                       ; +0x11, 0x1403d2c51\nmov     [rsp+58h+var_10], rax                                          ; +0x14, 0x1403d2c54\nmov     rdi, rcx                                                       ; +0x19, 0x1403d2c59\ncmp     qword ptr [rcx+380h], 0                                        ; +0x1c, 0x1403d2c5c\njz      loc_1403D2D15                                                  ; +0x24, 0x1403d2c64\nmov     rdx, [rcx+2C0h]                                                ; +0x2a, 0x1403d2c6a\ntest    rdx, rdx                                                       ; +0x31, 0x1403d2c71\njz      loc_1403D2D15                                                  ; +0x34, 0x1403d2c74\nmovzx   ebx, byte ptr [rcx+378h]                                       ; +0x3a, 0x1403d2c7a\nadd     rdx, 140h                                                      ; +0x41, 0x1403d2c81\nlea     rcx, [rsp+58h+var_30]                                          ; +0x48, 0x1403d2c88\ncall    sub_14003F4F0                                                  ; +0x4d, 0x1403d2c8d\nnop                                                                    ; +0x52, 0x1403d2c92\nlea     rdx, [rsp+58h+var_30]                                          ; +0x53, 0x1403d2c93\ncmp     [rsp+58h+var_18], 0Fh                                          ; +0x58, 0x1403d2c98\ncmova   rdx, [rsp+58h+var_30]                                          ; +0x5e, 0x1403d2c9e\nlea     rax, aNotes_0; \"notes\"                                         ; +0x64, 0x1403d2ca4\nlea     r8, aComments_0; \"comments\"                                    ; +0x6b, 0x1403d2cab\ntest    bl, bl                                                         ; +0x72, 0x1403d2cb2\ncmovnz  r8, rax                                                        ; +0x74, 0x1403d2cb4\nlea     rcx, aSSS; \"%s's %s\"                                           ; +0x78, 0x1403d2cb8\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x7f, 0x1403d2cbf\nmov     rcx, rax                                                       ; +0x85, 0x1403d2cc5\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x88, 0x1403d2cc8\nmov     rbx, rax                                                       ; +0x8e, 0x1403d2cce\nlea     rcx, [rsp+58h+var_30]                                          ; +0x91, 0x1403d2cd1\ncall    sub_14003D310                                                  ; +0x96, 0x1403d2cd6\nmov     rcx, [rdi+380h]                                                ; +0x9b, 0x1403d2cdb\nadd     rcx, 168h                                                      ; +0xa2, 0x1403d2ce2\nmov     rdx, [rcx]                                                     ; +0xa9, 0x1403d2ce9\nmov     r8, [rdx]                                                      ; +0xac, 0x1403d2cec\nmov     rdx, rbx                                                       ; +0xaf, 0x1403d2cef\ncall    r8                                                             ; +0xb2, 0x1403d2cf2\nxorps   xmm3, xmm3                                                     ; +0xb5, 0x1403d2cf5\nmovss   xmm2, cs:dword_140834F40                                       ; +0xb8, 0x1403d2cf8\nmovss   xmm1, cs:dword_1408358B8                                       ; +0xc0, 0x1403d2d00\nmov     rcx, [rdi+380h]                                                ; +0xc8, 0x1403d2d08\ncall    cs:?limitLabelWidth@CCLabelBMFont@cocos2d@@QEAAXMMM@Z; cocos2d::CCLabelBMFont::limitLabelWidth(float,float,float) ; +0xcf, 0x1403d2d0f\nmov     rcx, [rsp+58h+var_10]                                          ; +0xd5, 0x1403d2d15\nxor     rcx, rsp; StackCookie                                          ; +0xda, 0x1403d2d1a\ncall    __security_check_cookie                                        ; +0xdd, 0x1403d2d1d\nmov     rbx, [rsp+58h+arg_8]                                           ; +0xe2, 0x1403d2d22\nadd     rsp, 50h                                                       ; +0xe7, 0x1403d2d27\npop     rdi                                                            ; +0xeb, 0x1403d2d2b\nretn                                                                   ; +0xec, 0x1403d2d2c", "xrefs": ["InfoLayer::init @ 0x1403ce112", "InfoLayer::toggleModRoom @ 0x1403d2d49", "<???> @ 0x1409247c4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}