{"type": "func", "start": 7545680, "end": 7545854, "name": "AccountReviewPopup::viewedByLabel", "pseudocode": "// \n// AccountReviewPopup::viewedByLabel from 0x732350 to 0x7323fe (174 bytes)\n// \n// 2 xrefs:\n// > AccountReviewPopup::updateCard @ 0x738fa8\n// > ReportQueuePopup::buildRows @ 0x73bc3a\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:58:21 +0000\n// \n\ncocos2d::CCLabelBMFont *__fastcall AccountReviewPopup::viewedByLabel(unsigned __int8 *a1, int a2, float a3, int a4)\n{\n  unsigned int v5; // r3\n  const char *v6; // r3\n  int v7; // r2\n  cocos2d::CCString *v8; // r0\n  cocos2d::CCLabelBMFont *CString; // r0\n  const char *v10; // r2\n  cocos2d::CCLabelBMFont *v11; // r4\n  void (__fastcall *v12)(cocos2d::CCLabelBMFont *, int *); // r8\n  void (__fastcall *v13)(cocos2d::CCLabelBMFont *, int *); // r3\n  int v15; // [sp+4h] [bp-Ch] BYREF\n  float v16; // [sp+8h] [bp-8h]\n  int v17; // [sp+Ch] [bp-4h]\n\n  v15 = a2;\n  v16 = a3;\n  v17 = a4;\n  v5 = *a1;\n  if ( (v5 & 1) != 0 )\n  {\n    if ( *((_DWORD *)a1 + 1) )\n      v6 = *((const char **)a1 + 2);\n    else\n      v6 = \"?\";\n  }\n  else if ( v5 >> 1 )\n  {\n    v6 = (const char *)(a1 + 1);\n  }\n  else\n  {\n    v6 = \"?\";\n  }\n  if ( (*(_BYTE *)a2 & 1) != 0 )\n    v7 = *(_DWORD *)(a2 + 8);\n  else\n    v7 = a2 + 1;\n  v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(\n                              (cocos2d::CCString *)\"Viewed by %s %s ago\",\n                              v6,\n                              v7,\n                              v6,\n                              a1,\n                              v15,\n                              v16,\n                              v17);\n  CString = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v8);\n  v11 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(CString, \"chatFont.fnt\", v10);\n  v12 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, int *))(*(_DWORD *)v11 + 148);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v15, 1.0, 0.5);\n  v12(v11, &v15);\n  cocos2d::CCLabelBMFont::limitLabelWidth(v11, 150.0, a3, 0.2);\n  v13 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, int *))(*(_DWORD *)v11 + 536);\n  LOWORD(v15) = -9066;\n  BYTE2(v15) = -1;\n  v13(v11, &v15);\n  return v11;\n}", "assembly": "; \n; AccountReviewPopup::viewedByLabel from 0x732350 to 0x7323fe (174 bytes)\n; \n; 2 xrefs:\n; > AccountReviewPopup::updateCard @ 0x738fa8\n; > ReportQueuePopup::buildRows @ 0x73bc3a\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:58:21 +0000\n; \nPUSH.W          {R0-R8,LR}                                             ; +0x0, 0x732350\nMOV             R7, R2                                                 ; +0x4, 0x732354\nLDR             R5, =(__stack_chk_guard_ptr - 0x73235C)                ; +0x6, 0x732356\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0x8, 0x732358\nLDR             R5, [R5]; __stack_chk_guard                            ; +0xa, 0x73235a\nLDR             R3, [R5]                                               ; +0xc, 0x73235c\nSTR             R3, [SP,#0x10+var_4]                                   ; +0xe, 0x73235e\nLDRB            R3, [R0]                                               ; +0x10, 0x732360\nLSLS            R4, R3, #0x1F                                          ; +0x12, 0x732362\nBPL             loc_73236E                                             ; +0x14, 0x732364\nLDR             R3, [R0,#4]                                            ; +0x16, 0x732366\nCBZ             R3, loc_732376                                         ; +0x18, 0x732368\nLDR             R3, [R0,#8]                                            ; +0x1a, 0x73236a\nB               loc_732380                                             ; +0x1c, 0x73236c\nLSRS            R3, R3, #1                                             ; +0x1e, 0x73236e\nBEQ             loc_73237C                                             ; +0x20, 0x732370\nADDS            R3, R0, #1                                             ; +0x22, 0x732372\nB               loc_732380                                             ; +0x24, 0x732374\nLDR             R3, =(asc_B993A8 - 0x73237C); \"?\"                      ; +0x26, 0x732376\nADD             R3, PC; \"?\"                                            ; +0x28, 0x732378\nB               loc_732380                                             ; +0x2a, 0x73237a\nLDR             R3, =(asc_B993A8 - 0x732382); \"?\"                      ; +0x2c, 0x73237c\nADD             R3, PC; \"?\"                                            ; +0x2e, 0x73237e\nLDRB            R2, [R1]                                               ; +0x30, 0x732380\nADD             R6, SP, #0x10+var_C                                    ; +0x32, 0x732382\nLDR             R0, =(aViewedBySSAgo - 0x732390); \"Viewed by %s %s ago\" ; +0x34, 0x732384\nLSLS            R2, R2, #0x1F                                          ; +0x36, 0x732386\nIT PL                                                                  ; +0x38, 0x732388\nADDPL           R2, R1, #1                                             ; +0x3a, 0x73238a\nADD             R0, PC; \"Viewed by %s %s ago\"                          ; +0x3c, 0x73238c\nIT MI                                                                  ; +0x3e, 0x73238e\nLDRMI           R2, [R1,#8]                                            ; +0x40, 0x732390\nMOV             R1, R3; char *                                         ; +0x42, 0x732392\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x44, 0x732394\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x48, 0x732398\nLDR             R1, =(aChatfontFnt - 0x7323A2); \"chatFont.fnt\"         ; +0x4c, 0x73239c\nADD             R1, PC; \"chatFont.fnt\"                                 ; +0x4e, 0x73239e\nBL              _ZN7cocos2d13CCLabelBMFont6createEPKcS2_; cocos2d::CCLabelBMFont::create(char const*,char const*) ; +0x50, 0x7323a0\nMOV.W           R2, #0x3F000000; float                                 ; +0x54, 0x7323a4\nMOV.W           R1, #0x3F800000; float                                 ; +0x58, 0x7323a8\nLDR             R3, [R0]                                               ; +0x5c, 0x7323ac\nMOV             R4, R0                                                 ; +0x5e, 0x7323ae\nMOV             R0, R6; this                                           ; +0x60, 0x7323b0\nLDR.W           R8, [R3,#0x94]                                         ; +0x62, 0x7323b2\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x66, 0x7323b6\nMOV             R0, R4                                                 ; +0x6a, 0x7323ba\nMOV             R1, R6                                                 ; +0x6c, 0x7323bc\nBLX             R8                                                     ; +0x6e, 0x7323be\nMOV             R0, R4; this                                           ; +0x70, 0x7323c0\nLDR             R1, flt_732400; float                                  ; +0x72, 0x7323c2\nMOV             R2, R7; float                                          ; +0x74, 0x7323c4\nLDR             R3, flt_732404; float                                  ; +0x76, 0x7323c6\nBL              _ZN7cocos2d13CCLabelBMFont15limitLabelWidthEfff; cocos2d::CCLabelBMFont::limitLabelWidth(float,float,float) ; +0x78, 0x7323c8\nLDR             R3, [R4]                                               ; +0x7c, 0x7323cc\nMOVS            R2, #0x96                                              ; +0x7e, 0x7323ce\nMOV             R0, R4                                                 ; +0x80, 0x7323d0\nMOV             R1, R6                                                 ; +0x82, 0x7323d2\nLDR.W           R3, [R3,#0x218]                                        ; +0x84, 0x7323d4\nSTRB.W          R2, [SP,#0x10+var_C]                                   ; +0x88, 0x7323d8\nMOVS            R2, #0xDC                                              ; +0x8c, 0x7323dc\nSTRB.W          R2, [SP,#0x10+var_B]                                   ; +0x8e, 0x7323de\nMOVS            R2, #0xFF                                              ; +0x92, 0x7323e2\nSTRB.W          R2, [SP,#0x10+var_A]                                   ; +0x94, 0x7323e4\nBLX             R3                                                     ; +0x98, 0x7323e8\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x9a, 0x7323ea\nLDR             R3, [R5]                                               ; +0x9c, 0x7323ec\nMOV             R0, R4                                                 ; +0x9e, 0x7323ee\nCMP             R2, R3                                                 ; +0xa0, 0x7323f0\nBEQ             loc_7323F8                                             ; +0xa2, 0x7323f2\nBLX             __stack_chk_fail                                       ; +0xa4, 0x7323f4\nADD             SP, SP, #0x10                                          ; +0xa8, 0x7323f8\nPOP.W           {R4-R8,PC}                                             ; +0xaa, 0x7323fa", "xrefs": ["AccountReviewPopup::updateCard @ 0x738fa8", "ReportQueuePopup::buildRows @ 0x73bc3a"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}