{"type": "func", "start": 12844084, "end": 12844376, "name": "AccountReviewPopup::viewedByLabel", "pseudocode": "// \n// AccountReviewPopup::viewedByLabel from 0xc3fc34 to 0xc3fd58 (292 bytes)\n// \n// 3 xrefs:\n// > AccountReviewPopup::updateCard @ 0xc4aa44\n// > ReportQueuePopup::buildRows @ 0xc50e60\n// > <???> @ 0xff028\n// \n// This function is hookable on this platform (idp: arm, 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 13:04:56 +0000\n// \n\ncocos2d::CCLabelBMFont *__fastcall AccountReviewPopup::viewedByLabel(unsigned __int8 *a1, __int64 a2, float a3)\n{\n  int v3; // w2\n  const char *v5; // x0\n  __int64 v6; // x2\n  cocos2d::CCString *v7; // x0\n  cocos2d::CCLabelBMFont *CString; // x0\n  const char *v9; // x2\n  cocos2d::CCLabelBMFont *v10; // x19\n  void (__fastcall *v11)(cocos2d::CCLabelBMFont *, _BYTE *); // x22\n  void (__fastcall *v12)(cocos2d::CCLabelBMFont *, _BYTE *); // x2\n  _BYTE v14[8]; // [xsp+40h] [xbp+40h] BYREF\n\n  v3 = *a1;\n  if ( (v3 & 1) != 0 )\n  {\n    if ( !*((_QWORD *)a1 + 1) )\n    {\nLABEL_3:\n      v5 = \"?\";\n      goto LABEL_4;\n    }\n    v5 = *((const char **)a1 + 2);\n  }\n  else\n  {\n    if ( !(v3 >> 1) )\n      goto LABEL_3;\n    v5 = (const char *)(a1 + 1);\n  }\nLABEL_4:\n  v6 = a2 + 1;\n  if ( (*(_BYTE *)a2 & 1) != 0 )\n    v6 = *(_QWORD *)(a2 + 16);\n  v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)\"Viewed by %s %s ago\", v5, v6);\n  CString = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v7);\n  v10 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(CString, \"chatFont.fnt\", v9);\n  v11 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, _BYTE *))(*(_QWORD *)v10 + 296LL);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, 1.0, 0.5);\n  v11(v10, v14);\n  cocos2d::CCLabelBMFont::limitLabelWidth(v10, 150.0, a3, 0.2);\n  v12 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, _BYTE *))(*(_QWORD *)v10 + 1072LL);\n  v14[0] = -106;\n  v14[1] = -36;\n  v14[2] = -1;\n  v12(v10, v14);\n  return v10;\n}", "assembly": "; \n; AccountReviewPopup::viewedByLabel from 0xc3fc34 to 0xc3fd58 (292 bytes)\n; \n; 3 xrefs:\n; > AccountReviewPopup::updateCard @ 0xc4aa44\n; > ReportQueuePopup::buildRows @ 0xc50e60\n; > <???> @ 0xff028\n; \n; This function is hookable on this platform (idp: arm, 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 13:04:56 +0000\n; \nSTP             X29, X30, [SP,#var_50]!                                ; +0x0, 0xc3fc34\nMOV             X29, SP                                                ; +0x4, 0xc3fc38\nSTP             X21, X22, [SP,#0x50+var_30]                            ; +0x8, 0xc3fc3c\nADRP            X21, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xc3fc40\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0x10, 0xc3fc44\nSTR             D8, [SP,#0x50+var_20]                                  ; +0x14, 0xc3fc48\nLDR             X3, [X21,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x18, 0xc3fc4c\nLDRB            W2, [X0]                                               ; +0x1c, 0xc3fc50\nFMOV            S8, S0                                                 ; +0x20, 0xc3fc54\nLDR             X3, [X3]                                               ; +0x24, 0xc3fc58\nSTR             X3, [X29,#0x50+var_8]                                  ; +0x28, 0xc3fc5c\nTBZ             W2, #0, loc_C3FD3C                                     ; +0x2c, 0xc3fc60\nLDR             X2, [X0,#8]                                            ; +0x30, 0xc3fc64\nCBNZ            X2, loc_C3FD4C                                         ; +0x34, 0xc3fc68\nADRL            X0, (aDeleteThisMess+0x28); \"?\"                        ; +0x38, 0xc3fc6c\nMOV             X2, X1                                                 ; +0x40, 0xc3fc74\nLDRB            W3, [X2],#1                                            ; +0x44, 0xc3fc78\nTBZ             W3, #0, loc_C3FC84                                     ; +0x48, 0xc3fc7c\nLDR             X2, [X1,#0x10]                                         ; +0x4c, 0xc3fc80\nMOV             X1, X0; char *                                         ; +0x50, 0xc3fc84\nADRL            X0, aViewedBySSAgo; \"Viewed by %s %s ago\"              ; +0x54, 0xc3fc88\nADD             X20, X29, #0x50+var_10                                 ; +0x5c, 0xc3fc90\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x60, 0xc3fc94\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x64, 0xc3fc98\nADRL            X1, aChatfontFnt; \"chatFont.fnt\"                       ; +0x68, 0xc3fc9c\nBL              _ZN7cocos2d13CCLabelBMFont6createEPKcS2_; cocos2d::CCLabelBMFont::create(char const*,char const*) ; +0x70, 0xc3fca4\nMOV             X19, X0                                                ; +0x74, 0xc3fca8\nFMOV            S0, #1.0; float                                        ; +0x78, 0xc3fcac\nMOV             X0, X20; this                                          ; +0x7c, 0xc3fcb0\nFMOV            S1, #0.5; float                                        ; +0x80, 0xc3fcb4\nLDR             X1, [X19]                                              ; +0x84, 0xc3fcb8\nLDR             X22, [X1,#0x128]                                       ; +0x88, 0xc3fcbc\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x8c, 0xc3fcc0\nMOV             X1, X20                                                ; +0x90, 0xc3fcc4\nMOV             X0, X19                                                ; +0x94, 0xc3fcc8\nBLR             X22                                                    ; +0x98, 0xc3fccc\nLDR             S0, flt_C3FD58; float                                  ; +0x9c, 0xc3fcd0\nMOV             X0, X19; this                                          ; +0xa0, 0xc3fcd4\nFMOV            S1, S8; float                                          ; +0xa4, 0xc3fcd8\nLDR             S2, flt_C3FD5C; float                                  ; +0xa8, 0xc3fcdc\nBL              _ZN7cocos2d13CCLabelBMFont15limitLabelWidthEfff; cocos2d::CCLabelBMFont::limitLabelWidth(float,float,float) ; +0xac, 0xc3fce0\nLDR             X1, [X19]                                              ; +0xb0, 0xc3fce4\nMOV             W3, #0xFFFFFF96                                        ; +0xb4, 0xc3fce8\nMOV             X0, X19                                                ; +0xb8, 0xc3fcec\nLDR             X2, [X1,#0x430]                                        ; +0xbc, 0xc3fcf0\nMOV             X1, X20                                                ; +0xc0, 0xc3fcf4\nSTRB            W3, [X29,#0x50+var_10]                                 ; +0xc4, 0xc3fcf8\nMOV             W3, #0xFFFFFFDC                                        ; +0xc8, 0xc3fcfc\nSTRB            W3, [X29,#0x50+var_F]                                  ; +0xcc, 0xc3fd00\nMOV             W3, #0xFFFFFFFF                                        ; +0xd0, 0xc3fd04\nSTRB            W3, [X29,#0x50+var_E]                                  ; +0xd4, 0xc3fd08\nBLR             X2                                                     ; +0xd8, 0xc3fd0c\nLDR             X21, [X21,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0xdc, 0xc3fd10\nLDR             X2, [X29,#0x50+var_8]                                  ; +0xe0, 0xc3fd14\nMOV             X0, X19                                                ; +0xe4, 0xc3fd18\nLDR             X1, [X21]                                              ; +0xe8, 0xc3fd1c\nCMP             X2, X1                                                 ; +0xec, 0xc3fd20\nB.NE            loc_C3FD54                                             ; +0xf0, 0xc3fd24\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0xf4, 0xc3fd28\nLDP             X21, X22, [SP,#0x50+var_30]                            ; +0xf8, 0xc3fd2c\nLDR             D8, [SP,#0x50+var_20]                                  ; +0xfc, 0xc3fd30\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x100, 0xc3fd34\nRET                                                                    ; +0x104, 0xc3fd38\nASR             W2, W2, #1                                             ; +0x108, 0xc3fd3c\nCBZ             W2, loc_C3FC6C                                         ; +0x10c, 0xc3fd40\nADD             X0, X0, #1                                             ; +0x110, 0xc3fd44\nB               loc_C3FC74                                             ; +0x114, 0xc3fd48\nLDR             X0, [X0,#0x10]                                         ; +0x118, 0xc3fd4c\nB               loc_C3FC74                                             ; +0x11c, 0xc3fd50\nBL              .__stack_chk_fail                                      ; +0x120, 0xc3fd54", "xrefs": ["AccountReviewPopup::updateCard @ 0xc4aa44", "ReportQueuePopup::buildRows @ 0xc50e60", "<???> @ 0xff028"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}