{"type": "func", "start": 7597260, "end": 7597420, "name": "AutoBackupPopup::onSelectAll", "pseudocode": "// \n// AutoBackupPopup::onSelectAll from 0x73eccc to 0x73ed6c (160 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:33 +0000\n// \n\nGJSelectionStrip **__fastcall AutoBackupPopup::onSelectAll(GJSelectionStrip **this, cocos2d::CCObject *a2, int a3)\n{\n  GJSelectionStrip **v3; // r4\n  unsigned int v4; // r5\n  _BOOL4 v5; // r6\n  GJSelectionStrip *v6; // r2\n  GJSelectionStrip *v7; // r2\n  _DWORD v8[3]; // [sp+0h] [bp-Ch] BYREF\n\n  v8[0] = this;\n  v8[1] = a2;\n  v8[2] = a3;\n  v3 = this;\n  if ( *(this + 158) != *(this + 159) )\n  {\n    v4 = 0;\n    v5 = AutoBackupPopup::selectedCount((AutoBackupPopup *)this) == (*(this + 159) - *(this + 158)) >> 6;\n    std::__tree<std::string>::destroy((int)(v3 + 170), v3[171]);\n    v3[172] = nullptr;\n    v3[170] = (GJSelectionStrip *)(v3 + 171);\n    v3[171] = nullptr;\n    while ( 1 )\n    {\n      v6 = v3[158];\n      if ( v4 >= (v3[159] - v6) >> 6 )\n        break;\n      if ( !v5 )\n        std::__tree<std::string>::__emplace_unique_key_args<std::string,std::string const&>(\n          (int)v8,\n          (int **)v3 + 170,\n          (unsigned __int8 *)v6 + 64 * v4,\n          (int)v6 + 64 * v4);\n      v7 = v3[173];\n      if ( v4 < (v3[174] - v7) >> 2 )\n        CCMenuItemToggler::toggle(*((CCMenuItemToggler **)v7 + v4), !v5);\n      ++v4;\n    }\n    return AutoBackupPopup::updateSelectUI(v3);\n  }\n  return this;\n}", "assembly": "; \n; AutoBackupPopup::onSelectAll from 0x73eccc to 0x73ed6c (160 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:33 +0000\n; \nPUSH.W          {R0-R2,R4-R9,LR}                                       ; +0x0, 0x73eccc\nMOV             R4, R0                                                 ; +0x4, 0x73ecd0\nLDR.W           R2, [R0,#0x278]                                        ; +0x6, 0x73ecd2\nLDR.W           R3, [R0,#0x27C]                                        ; +0xa, 0x73ecd6\nCMP             R2, R3                                                 ; +0xe, 0x73ecda\nBEQ             loc_73ED66                                             ; +0x10, 0x73ecdc\nBL              _ZN15AutoBackupPopup13selectedCountEv; AutoBackupPopup::selectedCount(void) ; +0x12, 0x73ecde\nLDR.W           R3, [R4,#0x27C]                                        ; +0x16, 0x73ece2\nLDR.W           R2, [R4,#0x278]                                        ; +0x1a, 0x73ece6\nADD.W           R7, R4, #0x2A8                                         ; +0x1e, 0x73ecea\nLDR.W           R1, [R4,#0x2AC]                                        ; +0x22, 0x73ecee\nMOV             R8, SP                                                 ; +0x26, 0x73ecf2\nSUBS            R3, R3, R2                                             ; +0x28, 0x73ecf4\nMOVS            R5, #0                                                 ; +0x2a, 0x73ecf6\nCMP.W           R0, R3,ASR#6                                           ; +0x2c, 0x73ecf8\nMOV             R0, R7                                                 ; +0x30, 0x73ecfc\nITE EQ                                                                 ; +0x32, 0x73ecfe\nMOVEQ           R6, #1                                                 ; +0x34, 0x73ed00\nMOVNE           R6, #0                                                 ; +0x36, 0x73ed02\nEOR.W           R9, R6, #1                                             ; +0x38, 0x73ed04\nBL              _ZNSt6__ndk16__treeINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS_4lessIS6_EENS4_IS6_EEE7destroyEPNS_11__tree_nodeIS6_PvEE; std::__tree<std::string>::destroy(std::__tree_node<std::string,void *> *) ; +0x3c, 0x73ed08\nADD.W           R3, R4, #0x2AC                                         ; +0x40, 0x73ed0c\nSTR.W           R5, [R4,#0x2B0]                                        ; +0x44, 0x73ed10\nSTR.W           R3, [R4,#0x2A8]                                        ; +0x48, 0x73ed14\nSTR.W           R5, [R4,#0x2AC]                                        ; +0x4c, 0x73ed18\nLDR.W           R2, [R4,#0x278]                                        ; +0x50, 0x73ed1c\nLDR.W           R3, [R4,#0x27C]                                        ; +0x54, 0x73ed20\nSUBS            R3, R3, R2                                             ; +0x58, 0x73ed24\nCMP.W           R5, R3,ASR#6                                           ; +0x5a, 0x73ed26\nBCS             loc_73ED5A                                             ; +0x5e, 0x73ed2a\nCBNZ            R6, loc_73ED3C                                         ; +0x60, 0x73ed2c\nADD.W           R2, R2, R5,LSL#6                                       ; +0x62, 0x73ed2e\nMOV             R0, R8                                                 ; +0x66, 0x73ed32\nMOV             R1, R7                                                 ; +0x68, 0x73ed34\nMOV             R3, R2                                                 ; +0x6a, 0x73ed36\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&) ; +0x6c, 0x73ed38\nLDR.W           R2, [R4,#0x2B4]                                        ; +0x70, 0x73ed3c\nLDR.W           R3, [R4,#0x2B8]                                        ; +0x74, 0x73ed40\nSUBS            R3, R3, R2                                             ; +0x78, 0x73ed44\nCMP.W           R5, R3,ASR#2                                           ; +0x7a, 0x73ed46\nBCS             loc_73ED56                                             ; +0x7e, 0x73ed4a\nLDR.W           R0, [R2,R5,LSL#2]; this                                ; +0x80, 0x73ed4c\nMOV             R1, R9; bool                                           ; +0x84, 0x73ed50\nBL              _ZN17CCMenuItemToggler6toggleEb; CCMenuItemToggler::toggle(bool) ; +0x86, 0x73ed52\nADDS            R5, #1                                                 ; +0x8a, 0x73ed56\nB               loc_73ED1C                                             ; +0x8c, 0x73ed58\nMOV             R0, R4; this                                           ; +0x8e, 0x73ed5a\nADD             SP, SP, #0xC                                           ; +0x90, 0x73ed5c\nPOP.W           {R4-R9,LR}                                             ; +0x92, 0x73ed5e\nB.W             _ZN15AutoBackupPopup14updateSelectUIEv; AutoBackupPopup::updateSelectUI(void) ; +0x96, 0x73ed62\nADD             SP, SP, #0xC                                           ; +0x9a, 0x73ed66\nPOP.W           {R4-R9,PC}                                             ; +0x9c, 0x73ed68", "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"}