{"type": "func", "start": 12907484, "end": 12907664, "name": "AccountReviewPopup::onSelectAll", "pseudocode": "// \n// AccountReviewPopup::onSelectAll from 0xc4f3dc to 0xc4f490 (180 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xa28b0\n// > AccountReviewPopup::init @ 0xc45528\n// > <???> @ 0x1544880\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:07 +0000\n// \n\nAccountReviewPopup *__fastcall AccountReviewPopup::onSelectAll(AccountReviewPopup *this, cocos2d::CCObject *a2)\n{\n  __int64 v2; // x5\n  __int64 v3; // x4\n  __int64 v4; // x1\n  __int64 v5; // x2\n  AccountReviewPopup *v7; // x20\n  __int64 v8; // x0\n  int v9; // w19\n  unsigned __int8 v10; // w21\n  int v11; // w1\n\n  v2 = *((_QWORD *)this + 165);\n  v3 = (*((_QWORD *)this + 166) - v2) >> 3;\n  if ( v3 )\n  {\n    v4 = 0;\n    v5 = 0;\n    do\n    {\n      if ( *(_QWORD *)(v2 + 8 * v4++) )\n        ++v5;\n    }\n    while ( v4 != v3 );\n    if ( v5 )\n    {\n      v7 = this;\n      v8 = *((_QWORD *)this + 170);\n      if ( (int)v4 > 0 )\n      {\n        v9 = 0;\n        v10 = v5 != v8;\n        do\n        {\n          v11 = v9++;\n          AccountReviewPopup::applySelected((__int64)v7, v11, v10);\n        }\n        while ( v9 < (int)((__int64)(*((_QWORD *)v7 + 166) - *((_QWORD *)v7 + 165)) >> 3) );\n      }\n      return (AccountReviewPopup *)AccountReviewPopup::updateSelectedLabel(v7);\n    }\n  }\n  return this;\n}", "assembly": "; \n; AccountReviewPopup::onSelectAll from 0xc4f3dc to 0xc4f490 (180 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xa28b0\n; > AccountReviewPopup::init @ 0xc45528\n; > <???> @ 0x1544880\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:07 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0xc4f3dc\nMOV             X29, SP                                                ; +0x4, 0xc4f3e0\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0xc4f3e4\nSTR             X21, [SP,#0x30+var_10]                                 ; +0xc, 0xc4f3e8\nLDR             X5, [X0,#0x528]                                        ; +0x10, 0xc4f3ec\nLDR             X4, [X0,#0x530]                                        ; +0x14, 0xc4f3f0\nSUB             X4, X4, X5                                             ; +0x18, 0xc4f3f4\nASR             X4, X4, #3                                             ; +0x1c, 0xc4f3f8\nCBZ             X4, loc_C4F480                                         ; +0x20, 0xc4f3fc\nMOV             X1, #0                                                 ; +0x24, 0xc4f400\nMOV             X2, #0                                                 ; +0x28, 0xc4f404\nLDR             X3, [X5,X1,LSL#3]                                      ; +0x2c, 0xc4f408\nADD             X1, X1, #1                                             ; +0x30, 0xc4f40c\nCMP             X3, XZR                                                ; +0x34, 0xc4f410\nCINC            X2, X2, NE                                             ; +0x38, 0xc4f414\nCMP             X1, X4                                                 ; +0x3c, 0xc4f418\nB.NE            loc_C4F408                                             ; +0x40, 0xc4f41c\nCBZ             X2, loc_C4F480                                         ; +0x44, 0xc4f420\nCMP             W1, WZR                                                ; +0x48, 0xc4f424\nMOV             X20, X0                                                ; +0x4c, 0xc4f428\nLDR             X0, [X0,#0x550]                                        ; +0x50, 0xc4f42c\nB.LE            loc_C4F46C                                             ; +0x54, 0xc4f430\nCMP             X2, X0                                                 ; +0x58, 0xc4f434\nMOV             W19, #0                                                ; +0x5c, 0xc4f438\nCSET            W21, NE                                                ; +0x60, 0xc4f43c\nMOV             W1, W19; int                                           ; +0x64, 0xc4f440\nMOV             X0, X20; this                                          ; +0x68, 0xc4f444\nMOV             W2, W21; bool                                          ; +0x6c, 0xc4f448\nADD             W19, W19, #1                                           ; +0x70, 0xc4f44c\nBL              _ZN18AccountReviewPopup13applySelectedEib; AccountReviewPopup::applySelected(int,bool) ; +0x74, 0xc4f450\nLDR             X1, [X20,#0x530]                                       ; +0x78, 0xc4f454\nLDR             X0, [X20,#0x528]                                       ; +0x7c, 0xc4f458\nSUB             X1, X1, X0                                             ; +0x80, 0xc4f45c\nASR             X1, X1, #3                                             ; +0x84, 0xc4f460\nCMP             W19, W1                                                ; +0x88, 0xc4f464\nB.LT            loc_C4F440                                             ; +0x8c, 0xc4f468\nMOV             X0, X20; this                                          ; +0x90, 0xc4f46c\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x94, 0xc4f470\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x98, 0xc4f474\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x9c, 0xc4f478\nB               _ZN18AccountReviewPopup19updateSelectedLabelEv; AccountReviewPopup::updateSelectedLabel(void) ; +0xa0, 0xc4f47c\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0xa4, 0xc4f480\nLDR             X21, [SP,#0x30+var_10]                                 ; +0xa8, 0xc4f484\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0xac, 0xc4f488\nRET                                                                    ; +0xb0, 0xc4f48c", "xrefs": ["<???> @ 0xa28b0", "AccountReviewPopup::init @ 0xc45528", "<???> @ 0x1544880"], "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"}