{"type": "func", "start": 5369426848, "end": 5369427067, "name": "AccountReviewPopup::viewedByLabel", "pseudocode": "// \n// AccountReviewPopup::viewedByLabel from 0x1400af3a0 to 0x1400af47b (219 bytes)\n// \n// 2 xrefs:\n// > AccountReviewPopup::updateCard @ 0x1400b2980\n// > <???> @ 0x1409134f0\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:26:11 +0000\n// \n\nstruct cocos2d::CCLabelBMFont *__fastcall AccountReviewPopup::viewedByLabel(const char *a1, const char *a2, float a3)\n{\n  cocos2d::CCString *v3; // rax\n  const char *CString; // rax\n  struct cocos2d::CCLabelBMFont *v5; // rdi\n  __int64 v6; // rbx\n  __int64 v7; // rax\n  void (__fastcall **v8)(__int64, __int16 *); // rax\n  __int16 v10; // [rsp+40h] [rbp+8h] BYREF\n  char v11; // [rsp+42h] [rbp+Ah]\n\n  if ( *((_QWORD *)a1 + 2) )\n  {\n    if ( *((_QWORD *)a1 + 3) > 0xFu )\n      a1 = *(const char **)a1;\n  }\n  else\n  {\n    a1 = \"?\";\n  }\n  if ( *((_QWORD *)a2 + 3) > 0xFu )\n    a2 = *(const char **)a2;\n  v3 = cocos2d::CCString::createWithFormat(\"Viewed by %s %s ago\", a1, a2);\n  CString = cocos2d::CCString::getCString(v3);\n  v5 = cocos2d::CCLabelBMFont::create(CString, \"chatFont.fnt\");\n  v6 = *(_QWORD *)v5;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v10, 1.0, 0.5);\n  (*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v6 + 288))(v5, v7);\n  cocos2d::CCLabelBMFont::limitLabelWidth(v5, 150.0, a3, 0.2);\n  v10 = -9066;\n  v8 = *((void (__fastcall ***)(__int64, __int16 *))v5 + 46);\n  v11 = -1;\n  (*v8)((__int64)v5 + 368, &v10);\n  return v5;\n}", "assembly": "; \n; AccountReviewPopup::viewedByLabel from 0x1400af3a0 to 0x1400af47b (219 bytes)\n; \n; 2 xrefs:\n; > AccountReviewPopup::updateCard @ 0x1400b2980\n; > <???> @ 0x1409134f0\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:26:11 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1400af3a0\npush    rdi                                                            ; +0x5, 0x1400af3a5\nsub     rsp, 30h                                                       ; +0x6, 0x1400af3a6\ncmp     qword ptr [rcx+10h], 0                                         ; +0xa, 0x1400af3aa\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xf, 0x1400af3af\nmovaps  xmm6, xmm2                                                     ; +0x14, 0x1400af3b4\njnz     short loc_1400AF3C2                                            ; +0x17, 0x1400af3b7\nlea     rcx, asc_14071BE8C; \"?\"                                        ; +0x19, 0x1400af3b9\njmp     short loc_1400AF3CC                                            ; +0x20, 0x1400af3c0\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x22, 0x1400af3c2\njbe     short loc_1400AF3CC                                            ; +0x27, 0x1400af3c7\nmov     rcx, [rcx]                                                     ; +0x29, 0x1400af3c9\ncmp     qword ptr [rdx+18h], 0Fh                                       ; +0x2c, 0x1400af3cc\njbe     short loc_1400AF3D6                                            ; +0x31, 0x1400af3d1\nmov     rdx, [rdx]                                                     ; +0x33, 0x1400af3d3\nmov     r8, rdx                                                        ; +0x36, 0x1400af3d6\nmov     rdx, rcx                                                       ; +0x39, 0x1400af3d9\nlea     rcx, aViewedBySSAgo; \"Viewed by %s %s ago\"                     ; +0x3c, 0x1400af3dc\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x43, 0x1400af3e3\nmov     rcx, rax                                                       ; +0x49, 0x1400af3e9\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x4c, 0x1400af3ec\nmov     rcx, rax                                                       ; +0x52, 0x1400af3f2\nlea     rdx, aChatfontFnt; \"chatFont.fnt\"                              ; +0x55, 0x1400af3f5\ncall    cs:?create@CCLabelBMFont@cocos2d@@SAPEAV12@PEBD0@Z; cocos2d::CCLabelBMFont::create(char const *,char const *) ; +0x5c, 0x1400af3fc\nmovss   xmm2, cs:dword_140834F20                                       ; +0x62, 0x1400af402\nlea     rcx, [rsp+38h+arg_0]                                           ; +0x6a, 0x1400af40a\nmovss   xmm1, cs:flt_140835080                                         ; +0x6f, 0x1400af40f\nmov     rdi, rax                                                       ; +0x77, 0x1400af417\nmov     rbx, [rax]                                                     ; +0x7a, 0x1400af41a\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x7d, 0x1400af41d\nmov     rdx, rax                                                       ; +0x83, 0x1400af423\nmov     rcx, rdi                                                       ; +0x86, 0x1400af426\ncall    qword ptr [rbx+120h]                                           ; +0x89, 0x1400af429\nmovss   xmm3, cs:dword_140834E64                                       ; +0x8f, 0x1400af42f\nmovaps  xmm2, xmm6                                                     ; +0x97, 0x1400af437\nmovss   xmm1, cs:dword_14083585C                                       ; +0x9a, 0x1400af43a\nmov     rcx, rdi                                                       ; +0xa2, 0x1400af442\ncall    cs:?limitLabelWidth@CCLabelBMFont@cocos2d@@QEAAXMMM@Z; cocos2d::CCLabelBMFont::limitLabelWidth(float,float,float) ; +0xa5, 0x1400af445\nlea     rcx, [rdi+170h]                                                ; +0xab, 0x1400af44b\nmov     [rsp+38h+arg_0], 0DC96h                                        ; +0xb2, 0x1400af452\nmov     rax, [rcx]                                                     ; +0xb9, 0x1400af459\nlea     rdx, [rsp+38h+arg_0]                                           ; +0xbc, 0x1400af45c\nmov     [rsp+38h+arg_2], 0FFh                                          ; +0xc1, 0x1400af461\ncall    qword ptr [rax]                                                ; +0xc6, 0x1400af466\nmov     rbx, [rsp+38h+arg_8]                                           ; +0xc8, 0x1400af468\nmov     rax, rdi                                                       ; +0xcd, 0x1400af46d\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xd0, 0x1400af470\nadd     rsp, 30h                                                       ; +0xd5, 0x1400af475\npop     rdi                                                            ; +0xd9, 0x1400af479\nretn                                                                   ; +0xda, 0x1400af47a", "xrefs": ["AccountReviewPopup::updateCard @ 0x1400b2980", "<???> @ 0x1409134f0"], "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"}