{"type": "func", "start": 12882208, "end": 12882500, "name": "AccountReviewPopup::adminUserHistoryFinished", "pseudocode": "// \n// AccountReviewPopup::adminUserHistoryFinished from 0xc49120 to 0xc49244 (292 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'AccountReviewPopup::adminUserHistoryFinished @ 0xc49248\n// > <???> @ 0x56500\n// > <???> @ 0x14e7968\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:05:02 +0000\n// \n\n__int64 __fastcall AccountReviewPopup::adminUserHistoryFinished(\n        __int64 this,\n        int a2,\n        cocos2d::CCArray *a3,\n        int a4,\n        int a5,\n        int a6)\n{\n  __int64 v10; // x19\n  cocos2d::CCObject *v11; // x0\n  int v12; // w23\n  char *v13; // x1\n\n  if ( *(_DWORD *)(this + 840) == a2 && *(_DWORD *)(this + 1236) == 2 )\n  {\n    v10 = this;\n    PagedListPopup::fadeLoading((PagedListPopup *)this);\n    this = (unsigned __int8)PagedListPopup::retryPendingPage((PagedListPopup *)v10);\n    if ( !(_BYTE)this )\n    {\n      if ( a3 )\n        cocos2d::CCObject::retain(a3);\n      v11 = *(cocos2d::CCObject **)(v10 + 1312);\n      if ( v11 )\n        cocos2d::CCObject::release(v11);\n      *(_QWORD *)(v10 + 1312) = a3;\n      if ( a6 > 0 )\n        *(_DWORD *)(v10 + 676) = a5 / a6;\n      if ( a3 )\n      {\n        v12 = cocos2d::CCArray::count(a3);\n        PagedListPopup::updatePageUI((PagedListPopup *)v10, a4, a5, v12);\n        if ( v12 )\n          return AccountReviewPopup::buildHistoryRows((AccountReviewPopup *)v10, a3);\n      }\n      else\n      {\n        PagedListPopup::updatePageUI((PagedListPopup *)v10, a4, a5, 0);\n      }\n      if ( *(_DWORD *)(v10 + 676) )\n        v13 = \"Nothing on this page.\";\n      else\n        v13 = \"No moderator actions yet.\";\n      return PagedListPopup::showStatus((PagedListPopup *)v10, (cocos2d::CCLabelBMFont *)v13);\n    }\n  }\n  return this;\n}", "assembly": "; \n; AccountReviewPopup::adminUserHistoryFinished from 0xc49120 to 0xc49244 (292 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'AccountReviewPopup::adminUserHistoryFinished @ 0xc49248\n; > <???> @ 0x56500\n; > <???> @ 0x14e7968\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:05:02 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0xc49120\nMOV             X29, SP                                                ; +0x4, 0xc49124\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x8, 0xc49128\nSTP             X21, X22, [SP,#0x40+var_20]                            ; +0xc, 0xc4912c\nSTR             X23, [SP,#0x40+var_10]                                 ; +0x10, 0xc49130\nLDR             W19, [X0,#0x348]                                       ; +0x14, 0xc49134\nCMP             W19, W1                                                ; +0x18, 0xc49138\nB.EQ            loc_C49154                                             ; +0x1c, 0xc4913c\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x20, 0xc49140\nLDP             X21, X22, [SP,#0x40+var_20]                            ; +0x24, 0xc49144\nLDR             X23, [SP,#0x40+var_10]                                 ; +0x28, 0xc49148\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x2c, 0xc4914c\nRET                                                                    ; +0x30, 0xc49150\nLDR             W1, [X0,#0x4D4]                                        ; +0x34, 0xc49154\nCMP             W1, #2                                                 ; +0x38, 0xc49158\nB.NE            loc_C49140                                             ; +0x3c, 0xc4915c\nMOV             W23, W5                                                ; +0x40, 0xc49160\nMOV             W22, W4                                                ; +0x44, 0xc49164\nMOV             W21, W3                                                ; +0x48, 0xc49168\nMOV             X20, X2                                                ; +0x4c, 0xc4916c\nMOV             X19, X0                                                ; +0x50, 0xc49170\nBL              _ZN14PagedListPopup11fadeLoadingEv; PagedListPopup::fadeLoading(void) ; +0x54, 0xc49174\nMOV             X0, X19; this                                          ; +0x58, 0xc49178\nBL              _ZN14PagedListPopup16retryPendingPageEv; PagedListPopup::retryPendingPage(void) ; +0x5c, 0xc4917c\nUXTB            W0, W0                                                 ; +0x60, 0xc49180\nCBNZ            W0, loc_C49140                                         ; +0x64, 0xc49184\nCBZ             X20, loc_C49194                                        ; +0x68, 0xc49188\nMOV             X0, X20; this                                          ; +0x6c, 0xc4918c\nBL              _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0x70, 0xc49190\nLDR             X0, [X19,#0x520]; this                                 ; +0x74, 0xc49194\nCBZ             X0, loc_C491A0                                         ; +0x78, 0xc49198\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x7c, 0xc4919c\nSTR             X20, [X19,#0x520]                                      ; +0x80, 0xc491a0\nCMP             W23, WZR                                               ; +0x84, 0xc491a4\nB.LE            loc_C491B4                                             ; +0x88, 0xc491a8\nSDIV            W23, W22, W23                                          ; +0x8c, 0xc491ac\nSTR             W23, [X19,#0x2A4]                                      ; +0x90, 0xc491b0\nCBZ             X20, loc_C49204                                        ; +0x94, 0xc491b4\nMOV             X0, X20; this                                          ; +0x98, 0xc491b8\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x9c, 0xc491bc\nMOV             W23, W0                                                ; +0xa0, 0xc491c0\nMOV             W1, W21; int                                           ; +0xa4, 0xc491c4\nMOV             X0, X19; this                                          ; +0xa8, 0xc491c8\nMOV             W2, W22; int                                           ; +0xac, 0xc491cc\nMOV             W3, W23; int                                           ; +0xb0, 0xc491d0\nBL              _ZN14PagedListPopup12updatePageUIEiii; PagedListPopup::updatePageUI(int,int,int) ; +0xb4, 0xc491d4\nCBNZ            W23, loc_C4921C                                        ; +0xb8, 0xc491d8\nLDR             W0, [X19,#0x2A4]                                       ; +0xbc, 0xc491dc\nCBZ             W0, loc_C49238                                         ; +0xc0, 0xc491e0\nADRL            X1, aNothingOnThisP; \"Nothing on this page.\"           ; +0xc4, 0xc491e4\nMOV             X0, X19; this                                          ; +0xcc, 0xc491ec\nLDR             X23, [SP,#0x40+var_10]                                 ; +0xd0, 0xc491f0\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0xd4, 0xc491f4\nLDP             X21, X22, [SP,#0x40+var_20]                            ; +0xd8, 0xc491f8\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0xdc, 0xc491fc\nB               _ZN14PagedListPopup10showStatusEPKc; PagedListPopup::showStatus(char const*) ; +0xe0, 0xc49200\nMOV             X0, X19; this                                          ; +0xe4, 0xc49204\nMOV             W1, W21; int                                           ; +0xe8, 0xc49208\nMOV             W2, W22; int                                           ; +0xec, 0xc4920c\nMOV             W3, #0; int                                            ; +0xf0, 0xc49210\nBL              _ZN14PagedListPopup12updatePageUIEiii; PagedListPopup::updatePageUI(int,int,int) ; +0xf4, 0xc49214\nB               loc_C491DC                                             ; +0xf8, 0xc49218\nMOV             X0, X19; this                                          ; +0xfc, 0xc4921c\nMOV             X1, X20; cocos2d::CCArray *                            ; +0x100, 0xc49220\nLDP             X21, X22, [SP,#0x40+var_20]                            ; +0x104, 0xc49224\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x108, 0xc49228\nLDR             X23, [SP,#0x40+var_10]                                 ; +0x10c, 0xc4922c\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x110, 0xc49230\nB               _ZN18AccountReviewPopup16buildHistoryRowsEPN7cocos2d7CCArrayE; AccountReviewPopup::buildHistoryRows(cocos2d::CCArray *) ; +0x114, 0xc49234\nADRL            X1, aNoModeratorAct; \"No moderator actions yet.\"       ; +0x118, 0xc49238\nB               loc_C491EC                                             ; +0x120, 0xc49240", "xrefs": ["`non-virtual thunk to'AccountReviewPopup::adminUserHistoryFinished @ 0xc49248", "<???> @ 0x56500", "<???> @ 0x14e7968"], "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"}