{"type": "func", "start": 7599472, "end": 7599580, "name": "AutoBackupPopup::onToggleRow", "pseudocode": "// \n// AutoBackupPopup::onToggleRow from 0x73f570 to 0x73f5dc (108 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:34 +0000\n// \n\nint __fastcall AutoBackupPopup::onToggleRow(AutoBackupPopup *this, cocos2d::CCObject *a2)\n{\n  int result; // r0\n  int v5; // r3\n  unsigned __int8 *v6; // r4\n  int v7; // r0\n  _BOOL4 v8; // r5\n  _DWORD v9[2]; // [sp+0h] [bp-8h] BYREF\n\n  v9[0] = this;\n  v9[1] = a2;\n  result = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2);\n  if ( result >= 0 )\n  {\n    v5 = *((_DWORD *)this + 158);\n    if ( result < (*((_DWORD *)this + 159) - v5) >> 6 )\n    {\n      v6 = (unsigned __int8 *)(v5 + (result << 6));\n      v7 = std::__tree<std::string>::__count_unique<std::string>((int)this + 680, v6);\n      v8 = v7 == 0;\n      if ( v7 )\n        std::__tree<std::string>::__erase_unique<std::string>((int **)this + 170, v6);\n      else\n        std::__tree<std::string>::__emplace_unique_key_args<std::string,std::string const&>(\n          (int)v9,\n          (int **)this + 170,\n          v6,\n          (int)v6);\n      CCMenuItemToggler::toggle(a2, v8);\n      return (int)AutoBackupPopup::updateSelectUI((GJSelectionStrip **)this);\n    }\n  }\n  return result;\n}", "assembly": "; \n; AutoBackupPopup::onToggleRow from 0x73f570 to 0x73f5dc (108 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:34 +0000\n; \nPUSH.W          {R0,R1,R4-R8,LR}                                       ; +0x0, 0x73f570\nMOV             R6, R0                                                 ; +0x4, 0x73f574\nLDR             R3, [R1]                                               ; +0x6, 0x73f576\nMOV             R0, R1                                                 ; +0x8, 0x73f578\nMOV             R8, R1                                                 ; +0xa, 0x73f57a\nLDR             R3, [R3,#0x20]                                         ; +0xc, 0x73f57c\nBLX             R3                                                     ; +0xe, 0x73f57e\nCMP             R0, #0                                                 ; +0x10, 0x73f580\nBLT             loc_73F5D6                                             ; +0x12, 0x73f582\nLDR.W           R3, [R6,#0x278]                                        ; +0x14, 0x73f584\nLDR.W           R1, [R6,#0x27C]                                        ; +0x18, 0x73f588\nSUBS            R1, R1, R3                                             ; +0x1c, 0x73f58c\nCMP.W           R0, R1,ASR#6                                           ; +0x1e, 0x73f58e\nBGE             loc_73F5D6                                             ; +0x22, 0x73f592\nADD.W           R4, R3, R0,LSL#6                                       ; +0x24, 0x73f594\nADD.W           R7, R6, #0x2A8                                         ; +0x28, 0x73f598\nMOV             R1, R4                                                 ; +0x2c, 0x73f59c\nMOV             R0, R7                                                 ; +0x2e, 0x73f59e\nBL              _ZNKSt6__ndk16__treeINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS_4lessIS6_EENS4_IS6_EEE14__count_uniqueIS6_EEjRKT_; std::__tree<std::string>::__count_unique<std::string>(std::string const&) ; +0x30, 0x73f5a0\nCLZ.W           R5, R0                                                 ; +0x34, 0x73f5a4\nLSRS            R5, R5, #5                                             ; +0x38, 0x73f5a8\nCBZ             R5, loc_73F5BA                                         ; +0x3a, 0x73f5aa\nMOV             R0, SP                                                 ; +0x3c, 0x73f5ac\nMOV             R1, R7                                                 ; +0x3e, 0x73f5ae\nMOV             R2, R4                                                 ; +0x40, 0x73f5b0\nMOV             R3, R4                                                 ; +0x42, 0x73f5b2\nBL              _ZNSt6__ndk16__treeINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS_4lessIS6_EENS4_IS6_EEE25__emplace_unique_key_argsIS6_JRKS6_EEENS_4pairINS_15__tree_iteratorIS6_PNS_11__tree_nodeIS6_PvEEiEEbEERKT_DpOT0_; std::__tree<std::string>::__emplace_unique_key_args<std::string,std::string const&>(std::string const&,std::string const&) ; +0x44, 0x73f5b4\nB               loc_73F5C2                                             ; +0x48, 0x73f5b8\nMOV             R0, R7                                                 ; +0x4a, 0x73f5ba\nMOV             R1, R4                                                 ; +0x4c, 0x73f5bc\nBL              _ZNSt6__ndk16__treeINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS_4lessIS6_EENS4_IS6_EEE14__erase_uniqueIS6_EEjRKT_; std::__tree<std::string>::__erase_unique<std::string>(std::string const&) ; +0x4e, 0x73f5be\nMOV             R0, R8; this                                           ; +0x52, 0x73f5c2\nMOV             R1, R5; bool                                           ; +0x54, 0x73f5c4\nBL              _ZN17CCMenuItemToggler6toggleEb; CCMenuItemToggler::toggle(bool) ; +0x56, 0x73f5c6\nMOV             R0, R6; this                                           ; +0x5a, 0x73f5ca\nADD             SP, SP, #8                                             ; +0x5c, 0x73f5cc\nPOP.W           {R4-R8,LR}                                             ; +0x5e, 0x73f5ce\nB.W             _ZN15AutoBackupPopup14updateSelectUIEv; AutoBackupPopup::updateSelectUI(void) ; +0x62, 0x73f5d2\nADD             SP, SP, #8                                             ; +0x66, 0x73f5d6\nPOP.W           {R4-R8,PC}                                             ; +0x68, 0x73f5d8", "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"}