{"type": "func", "start": 7580216, "end": 7580386, "name": "AccountReviewPopup::onToggleRow", "pseudocode": "// \n// AccountReviewPopup::onToggleRow from 0x73aa38 to 0x73aae2 (170 bytes)\n// \n// 0 xrefs:\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:29 +0000\n// \n\nconst char **__fastcall AccountReviewPopup::onToggleRow(AccountReviewPopup *this, cocos2d::CCObject *a2)\n{\n  cocos2d::CCDirector *v3; // r6\n  cocos2d::CCDirector *v4; // r0\n  _BOOL4 v5; // r6\n  int v6; // r0\n  cocos2d::CCDirector *v7; // r0\n  int v8; // r3\n  int v9; // r0\n  int v10; // r0\n  int v12; // r5\n  int v13; // r7\n  int v14; // r1\n  int v15[2]; // [sp+0h] [bp-8h] BYREF\n\n  v15[0] = (int)this;\n  v15[1] = (int)a2;\n  v3 = (AccountReviewPopup *)((char *)this + 944);\n  v15[0] = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2);\n  v4 = (cocos2d::CCDirector *)std::__tree<int>::find<int>((int)this + 940, v15);\n  v5 = v3 == v4;\n  v6 = cocos2d::CCDirector::sharedDirector(v4);\n  v7 = (cocos2d::CCDirector *)(*(int (__fastcall **)(int))(*(_DWORD *)v6 + 96))(v6);\n  if ( v7\n    && (v9 = cocos2d::CCDirector::sharedDirector(v7),\n        v10 = (*(int (__fastcall **)(int))(*(_DWORD *)v9 + 96))(v9),\n        v8 = *(unsigned __int8 *)(v10 + 88),\n        *(_BYTE *)(v10 + 88))\n    && (v8 = *((_DWORD *)this + 225), v8 >= 0)\n    && (v12 = v15[0], v8 != v15[0]) )\n  {\n    v13 = v15[0];\n    if ( v15[0] < v8 )\n      v12 = *((_DWORD *)this + 225);\n    else\n      v13 = *((_DWORD *)this + 225);\n    while ( v13 <= v12 )\n    {\n      v14 = v13++;\n      AccountReviewPopup::applySelected((int)this, v14, v5, v8);\n    }\n  }\n  else\n  {\n    AccountReviewPopup::applySelected((int)this, v15[0], v5, v8);\n  }\n  *((_DWORD *)this + 225) = v15[0];\n  return AccountReviewPopup::updateSelectedLabel((const char **)this);\n}", "assembly": "; \n; AccountReviewPopup::onToggleRow from 0x73aa38 to 0x73aae2 (170 bytes)\n; \n; 0 xrefs:\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:29 +0000\n; \nPUSH.W          {R0,R1,R4-R8,LR}                                       ; +0x0, 0x73aa38\nMOV             R4, R0                                                 ; +0x4, 0x73aa3c\nLDR.W           R8, =(__stack_chk_guard_ptr - 0x73AA4C)                ; +0x6, 0x73aa3e\nMOV             R0, R1                                                 ; +0xa, 0x73aa42\nADD.W           R6, R4, #0x3B0                                         ; +0xc, 0x73aa44\nADD             R8, PC; __stack_chk_guard_ptr                          ; +0x10, 0x73aa48\nLDR.W           R8, [R8]; __stack_chk_guard                            ; +0x12, 0x73aa4a\nLDR.W           R3, [R8]                                               ; +0x16, 0x73aa4e\nSTR             R3, [SP,#8+var_4]                                      ; +0x1a, 0x73aa52\nLDR             R3, [R1]                                               ; +0x1c, 0x73aa54\nLDR             R3, [R3,#0x20]                                         ; +0x1e, 0x73aa56\nBLX             R3                                                     ; +0x20, 0x73aa58\nADD             R1, SP, #8+var_s0                                      ; +0x22, 0x73aa5a\nSTR.W           R0, [R1,#-8]!                                          ; +0x24, 0x73aa5c\nADD.W           R0, R4, #0x3AC                                         ; +0x28, 0x73aa60\nBL              _ZNSt6__ndk16__treeIiNS_4lessIiEENS_9allocatorIiEEE4findIiEENS_15__tree_iteratorIiPNS_11__tree_nodeIiPvEEiEERKT_; std::__tree<int>::find<int>(int const&) ; +0x2c, 0x73aa64\nSUBS            R3, R6, R0                                             ; +0x30, 0x73aa68\nNEGS            R6, R3                                                 ; +0x32, 0x73aa6a\nADCS            R6, R3                                                 ; +0x34, 0x73aa6c\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x36, 0x73aa6e\nLDR             R3, [R0]                                               ; +0x3a, 0x73aa72\nLDR             R3, [R3,#0x60]                                         ; +0x3c, 0x73aa74\nBLX             R3                                                     ; +0x3e, 0x73aa76\nCBZ             R0, loc_73AA92                                         ; +0x40, 0x73aa78\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x42, 0x73aa7a\nLDR             R3, [R0]                                               ; +0x46, 0x73aa7e\nLDR             R3, [R3,#0x60]                                         ; +0x48, 0x73aa80\nBLX             R3                                                     ; +0x4a, 0x73aa82\nLDRB.W          R3, [R0,#0x58]                                         ; +0x4c, 0x73aa84\nCBZ             R3, loc_73AA92                                         ; +0x50, 0x73aa88\nLDR.W           R3, [R4,#0x384]                                        ; +0x52, 0x73aa8a\nCMP             R3, #0                                                 ; +0x56, 0x73aa8e\nBGE             loc_73AAB6                                             ; +0x58, 0x73aa90\nMOV             R0, R4; this                                           ; +0x5a, 0x73aa92\nLDR             R1, [SP,#8+var_8]; int                                 ; +0x5c, 0x73aa94\nMOV             R2, R6; bool                                           ; +0x5e, 0x73aa96\nBL              _ZN18AccountReviewPopup13applySelectedEib; AccountReviewPopup::applySelected(int,bool) ; +0x60, 0x73aa98\nLDR             R3, [SP,#8+var_8]                                      ; +0x64, 0x73aa9c\nMOV             R0, R4; this                                           ; +0x66, 0x73aa9e\nSTR.W           R3, [R4,#0x384]                                        ; +0x68, 0x73aaa0\nBL              _ZN18AccountReviewPopup19updateSelectedLabelEv; AccountReviewPopup::updateSelectedLabel(void) ; +0x6c, 0x73aaa4\nLDR             R2, [SP,#8+var_4]                                      ; +0x70, 0x73aaa8\nLDR.W           R3, [R8]                                               ; +0x72, 0x73aaaa\nCMP             R2, R3                                                 ; +0x76, 0x73aaae\nBEQ             loc_73AADC                                             ; +0x78, 0x73aab0\nBLX             __stack_chk_fail                                       ; +0x7a, 0x73aab2\nLDR             R5, [SP,#8+var_8]                                      ; +0x7e, 0x73aab6\nCMP             R3, R5                                                 ; +0x80, 0x73aab8\nBEQ             loc_73AA92                                             ; +0x82, 0x73aaba\nCMP             R5, R3                                                 ; +0x84, 0x73aabc\nMOV             R7, R5                                                 ; +0x86, 0x73aabe\nIT GE                                                                  ; +0x88, 0x73aac0\nMOVGE           R7, R3                                                 ; +0x8a, 0x73aac2\nCMP             R5, R3                                                 ; +0x8c, 0x73aac4\nIT LT                                                                  ; +0x8e, 0x73aac6\nMOVLT           R5, R3                                                 ; +0x90, 0x73aac8\nCMP             R7, R5                                                 ; +0x92, 0x73aaca\nBGT             loc_73AA9C                                             ; +0x94, 0x73aacc\nMOV             R1, R7; int                                            ; +0x96, 0x73aace\nMOV             R0, R4; this                                           ; +0x98, 0x73aad0\nMOV             R2, R6; bool                                           ; +0x9a, 0x73aad2\nADDS            R7, #1                                                 ; +0x9c, 0x73aad4\nBL              _ZN18AccountReviewPopup13applySelectedEib; AccountReviewPopup::applySelected(int,bool) ; +0x9e, 0x73aad6\nB               loc_73AACA                                             ; +0xa2, 0x73aada\nADD             SP, SP, #8                                             ; +0xa4, 0x73aadc\nPOP.W           {R4-R8,PC}                                             ; +0xa6, 0x73aade", "xrefs": [], "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"}