{"type": "func", "start": 5369463744, "end": 5369464128, "name": "AccountReviewPopup::updateSelectedLabel", "pseudocode": "// \n// AccountReviewPopup::updateSelectedLabel from 0x1400b83c0 to 0x1400b8540 (384 bytes)\n// \n// 11 xrefs:\n// > AccountReviewPopup::updateTabControls @ 0x1400b31fa\n// > AccountReviewPopup::clearPageContent @ 0x1400b3397\n// > AccountReviewPopup::onSelectAll @ 0x1400b87ad\n// > AccountReviewPopup::onToggleRow @ 0x1400b88dc\n// > AccountReviewPopup::FLAlert_Clicked @ 0x1400bb3b4\n// > AccountReviewPopup::FLAlert_Clicked @ 0x1400bb574\n// > AccountReviewPopup::FLAlert_Clicked @ 0x1400bb718\n// > <???> @ 0x14088f4cc\n// > <???> @ 0x14088f50c\n// > <???> @ 0x1409136b8\n// > <???> @ 0x1409136c4\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:16 +0000\n// \n\nvoid __fastcall AccountReviewPopup::updateSelectedLabel(__int64 a1)\n{\n  __int64 v2; // rcx\n  __int64 v3; // rdx\n  __int64 v4; // rdi\n  void (__fastcall *v5)(__int64, const char *); // rbx\n  cocos2d::CCString *v6; // rax\n  const char *CString; // rax\n  int v8; // ebx\n  __int64 v9; // rdx\n  __int64 v10; // r15\n  __int64 v11; // rax\n  __int64 v12; // rbx\n  float *v13; // rsi\n  float *v14; // rax\n  __int64 *v15; // r14\n  float v16; // xmm6_4\n  double (__fastcall *v17)(__int64); // rdi\n  __int64 v18; // rbp\n  float v19; // xmm6_4\n  double v20; // xmm0_8\n  __int64 v21; // rax\n  char v22; // [rsp+60h] [rbp+8h] BYREF\n  char v23; // [rsp+68h] [rbp+10h] BYREF\n\n  v2 = *(_QWORD *)(a1 + 1536);\n  if ( v2 )\n  {\n    v3 = *(_QWORD *)(a1 + 1440);\n    if ( !v3 || *(_DWORD *)(a1 + 1324) == 2 )\n    {\n      (**(void (__fastcall ***)(__int64, char *))(v2 + 360))(v2 + 360, &byte_1406ED6E0);\n    }\n    else\n    {\n      v4 = v2 + 360;\n      v5 = **(void (__fastcall ***)(__int64, const char *))(v2 + 360);\n      v6 = cocos2d::CCString::createWithFormat(\"(%i)\", v3);\n      CString = cocos2d::CCString::getCString(v6);\n      v5(v4, CString);\n    }\n    if ( *(_QWORD *)(a1 + 1520) )\n    {\n      v8 = AccountReviewPopup::selectedDeletable(a1);\n      LOBYTE(v9) = v8 > 0;\n      (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 1520) + 336LL))(*(_QWORD *)(a1 + 1520), v9);\n      if ( v8 > 0 )\n      {\n        v10 = *(_QWORD *)(a1 + 1512);\n        v11 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1520) + 320LL))(*(_QWORD *)(a1 + 1520));\n        v12 = *(_QWORD *)(a1 + 1536);\n        v13 = (float *)v11;\n        v14 = (float *)(*(__int64 (__fastcall **)(__int64, char *))(*(_QWORD *)v12 + 328LL))(v12, &v22);\n        v15 = *(__int64 **)(a1 + 1520);\n        v16 = *v14;\n        v17 = *(double (__fastcall **)(__int64))(*(_QWORD *)v10 + 232LL);\n        v18 = *v15;\n        v19 = (float)(*v13 * 0.5)\n            + (float)((float)((*(float (__fastcall **)(__int64))(*(_QWORD *)v12 + 216LL))(v12) + v16) + 8.0);\n        v20 = v17(v10);\n        cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v23, v19, *(float *)&v20);\n        (*(void (__fastcall **)(__int64 *, __int64))(v18 + 184))(v15, v21);\n      }\n    }\n  }\n}", "assembly": "; \n; AccountReviewPopup::updateSelectedLabel from 0x1400b83c0 to 0x1400b8540 (384 bytes)\n; \n; 11 xrefs:\n; > AccountReviewPopup::updateTabControls @ 0x1400b31fa\n; > AccountReviewPopup::clearPageContent @ 0x1400b3397\n; > AccountReviewPopup::onSelectAll @ 0x1400b87ad\n; > AccountReviewPopup::onToggleRow @ 0x1400b88dc\n; > AccountReviewPopup::FLAlert_Clicked @ 0x1400bb3b4\n; > AccountReviewPopup::FLAlert_Clicked @ 0x1400bb574\n; > AccountReviewPopup::FLAlert_Clicked @ 0x1400bb718\n; > <???> @ 0x14088f4cc\n; > <???> @ 0x14088f50c\n; > <???> @ 0x1409136b8\n; > <???> @ 0x1409136c4\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:16 +0000\n; \npush    r14                                                            ; +0x0, 0x1400b83c0\nsub     rsp, 50h                                                       ; +0x2, 0x1400b83c2\nmov     r14, rcx                                                       ; +0x6, 0x1400b83c6\nmov     rcx, [rcx+600h]                                                ; +0x9, 0x1400b83c9\ntest    rcx, rcx                                                       ; +0x10, 0x1400b83d0\njz      loc_1400B8539                                                  ; +0x13, 0x1400b83d3\nmov     rdx, [r14+5A0h]                                                ; +0x19, 0x1400b83d9\nmov     [rsp+58h+arg_10], rbx                                          ; +0x20, 0x1400b83e0\nmov     [rsp+58h+var_20], rdi                                          ; +0x25, 0x1400b83e5\ntest    rdx, rdx                                                       ; +0x2a, 0x1400b83ea\njz      short loc_1400B8426                                            ; +0x2d, 0x1400b83ed\ncmp     dword ptr [r14+52Ch], 2                                        ; +0x2f, 0x1400b83ef\njz      short loc_1400B8426                                            ; +0x37, 0x1400b83f7\nlea     rdi, [rcx+168h]                                                ; +0x39, 0x1400b83f9\nmov     rax, [rdi]                                                     ; +0x40, 0x1400b8400\nlea     rcx, aI_1; \"(%i)\"                                              ; +0x43, 0x1400b8403\nmov     rbx, [rax]                                                     ; +0x4a, 0x1400b840a\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x4d, 0x1400b840d\nmov     rcx, rax                                                       ; +0x53, 0x1400b8413\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x56, 0x1400b8416\nmov     rdx, rax                                                       ; +0x5c, 0x1400b841c\nmov     rcx, rdi                                                       ; +0x5f, 0x1400b841f\ncall    rbx                                                            ; +0x62, 0x1400b8422\njmp     short loc_1400B8439                                            ; +0x64, 0x1400b8424\nadd     rcx, 168h                                                      ; +0x66, 0x1400b8426\nlea     rdx, byte_1406ED6E0                                            ; +0x6d, 0x1400b842d\nmov     rax, [rcx]                                                     ; +0x74, 0x1400b8434\ncall    qword ptr [rax]                                                ; +0x77, 0x1400b8437\ncmp     qword ptr [r14+5F0h], 0                                        ; +0x79, 0x1400b8439\njz      loc_1400B852F                                                  ; +0x81, 0x1400b8441\nmov     rcx, r14                                                       ; +0x87, 0x1400b8447\ncall    AccountReviewPopup__selectedDeletable                          ; +0x8a, 0x1400b844a\nmov     rcx, [r14+5F0h]                                                ; +0x8f, 0x1400b844f\ntest    eax, eax                                                       ; +0x96, 0x1400b8456\nmov     ebx, eax                                                       ; +0x98, 0x1400b8458\nsetnle  dl                                                             ; +0x9a, 0x1400b845a\nmov     r8, [rcx]                                                      ; +0x9d, 0x1400b845d\ncall    qword ptr [r8+150h]                                            ; +0xa0, 0x1400b8460\ntest    ebx, ebx                                                       ; +0xa7, 0x1400b8467\njle     loc_1400B852F                                                  ; +0xa9, 0x1400b8469\nmov     rcx, [r14+5F0h]                                                ; +0xaf, 0x1400b846f\nmov     [rsp+58h+var_10], rbp                                          ; +0xb6, 0x1400b8476\nmov     [rsp+58h+var_18], rsi                                          ; +0xbb, 0x1400b847b\nmov     [rsp+58h+var_28], r15                                          ; +0xc0, 0x1400b8480\nmov     rax, [rcx]                                                     ; +0xc5, 0x1400b8485\nmov     r15, [r14+5E8h]                                                ; +0xc8, 0x1400b8488\nmovaps  [rsp+58h+var_38], xmm6                                         ; +0xcf, 0x1400b848f\ncall    qword ptr [rax+140h]                                           ; +0xd4, 0x1400b8494\nmov     rbx, [r14+600h]                                                ; +0xda, 0x1400b849a\nmov     rsi, rax                                                       ; +0xe1, 0x1400b84a1\nmov     rcx, rbx                                                       ; +0xe4, 0x1400b84a4\nmov     rdx, [rbx]                                                     ; +0xe7, 0x1400b84a7\nmov     r8, [rdx+148h]                                                 ; +0xea, 0x1400b84aa\nlea     rdx, [rsp+58h+arg_0]                                           ; +0xf1, 0x1400b84b1\ncall    r8                                                             ; +0xf6, 0x1400b84b6\nmov     rdx, [r15]                                                     ; +0xf9, 0x1400b84b9\nmov     rcx, rbx                                                       ; +0xfc, 0x1400b84bc\nmov     r14, [r14+5F0h]                                                ; +0xff, 0x1400b84bf\nmovss   xmm6, dword ptr [rax]                                          ; +0x106, 0x1400b84c6\nmov     rdi, [rdx+0E8h]                                                ; +0x10a, 0x1400b84ca\nmov     rdx, [rbx]                                                     ; +0x111, 0x1400b84d1\nmov     rbp, [r14]                                                     ; +0x114, 0x1400b84d4\ncall    qword ptr [rdx+0D8h]                                           ; +0x117, 0x1400b84d7\naddss   xmm0, xmm6                                                     ; +0x11d, 0x1400b84dd\nmov     rcx, r15                                                       ; +0x121, 0x1400b84e1\nmovss   xmm6, dword ptr [rsi]                                          ; +0x124, 0x1400b84e4\nmulss   xmm6, cs:dword_140834F20                                       ; +0x128, 0x1400b84e8\naddss   xmm0, cs:dword_1408354D4                                       ; +0x130, 0x1400b84f0\naddss   xmm6, xmm0                                                     ; +0x138, 0x1400b84f8\ncall    rdi                                                            ; +0x13c, 0x1400b84fc\nmovaps  xmm2, xmm0                                                     ; +0x13e, 0x1400b84fe\nlea     rcx, [rsp+58h+arg_8]                                           ; +0x141, 0x1400b8501\nmovaps  xmm1, xmm6                                                     ; +0x146, 0x1400b8506\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x149, 0x1400b8509\nmov     rdx, rax                                                       ; +0x14f, 0x1400b850f\nmov     rcx, r14                                                       ; +0x152, 0x1400b8512\ncall    qword ptr [rbp+0B8h]                                           ; +0x155, 0x1400b8515\nmovaps  xmm6, [rsp+58h+var_38]                                         ; +0x15b, 0x1400b851b\nmov     r15, [rsp+58h+var_28]                                          ; +0x160, 0x1400b8520\nmov     rsi, [rsp+58h+var_18]                                          ; +0x165, 0x1400b8525\nmov     rbp, [rsp+58h+var_10]                                          ; +0x16a, 0x1400b852a\nmov     rbx, [rsp+58h+arg_10]                                          ; +0x16f, 0x1400b852f\nmov     rdi, [rsp+58h+var_20]                                          ; +0x174, 0x1400b8534\nadd     rsp, 50h                                                       ; +0x179, 0x1400b8539\npop     r14                                                            ; +0x17d, 0x1400b853d\nretn                                                                   ; +0x17f, 0x1400b853f", "xrefs": ["AccountReviewPopup::updateTabControls @ 0x1400b31fa", "AccountReviewPopup::clearPageContent @ 0x1400b3397", "AccountReviewPopup::onSelectAll @ 0x1400b87ad", "AccountReviewPopup::onToggleRow @ 0x1400b88dc", "AccountReviewPopup::FLAlert_Clicked @ 0x1400bb3b4", "AccountReviewPopup::FLAlert_Clicked @ 0x1400bb574", "AccountReviewPopup::FLAlert_Clicked @ 0x1400bb718", "<???> @ 0x14088f4cc", "<???> @ 0x14088f50c", "<???> @ 0x1409136b8", "<???> @ 0x1409136c4"], "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"}