{"type": "func", "start": 7236488, "end": 7236524, "name": "AutoSaveSettingsLayer::setBackupCap", "pseudocode": "// \n// AutoSaveSettingsLayer::setBackupCap from 0x6e6b88 to 0x6e6bac (36 bytes)\n// \n// 1 xrefs:\n// > AutoBackupOptionsPopup::valueDidChange @ 0x73c2b8\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:57:25 +0000\n// \n\nint __fastcall AutoSaveSettingsLayer::setBackupCap(AutoSaveSettingsLayer *this, int a2)\n{\n  int v2; // r4\n  GameManager *v3; // r0\n  int v4; // r3\n\n  if ( (int)this >= 1000 )\n    this = (AutoSaveSettingsLayer *)&stru_3DC.st_info;\n  v2 = (int)this;\n  v3 = (GameManager *)GameManager::sharedState(this);\n  return GameManager::setIntGameVariable(v3, \"0236\", (const char *)((v2 & ~(v2 >> 31)) + 1), v4);\n}", "assembly": "; \n; AutoSaveSettingsLayer::setBackupCap from 0x6e6b88 to 0x6e6bac (36 bytes)\n; \n; 1 xrefs:\n; > AutoBackupOptionsPopup::valueDidChange @ 0x73c2b8\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:57:25 +0000\n; \nCMP.W           R0, #0x3E8                                             ; +0x0, 0x6e6b88\nPUSH            {R4,LR}                                                ; +0x4, 0x6e6b8c\nIT GE                                                                  ; +0x6, 0x6e6b8e\nMOVGE.W         R0, #stru_3DC.st_info; this                            ; +0x8, 0x6e6b90\nMOV             R4, R0                                                 ; +0xc, 0x6e6b94\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xe, 0x6e6b96\nLDR             R1, =(a0236 - 0x6E6BA6); \"0236\"                        ; +0x12, 0x6e6b9a\nBIC.W           R2, R4, R4,ASR#31                                      ; +0x14, 0x6e6b9c\nADDS            R2, #1; int                                            ; +0x18, 0x6e6ba0\nADD             R1, PC; \"0236\"                                         ; +0x1a, 0x6e6ba2\nPOP.W           {R4,LR}                                                ; +0x1c, 0x6e6ba4\nB.W             _ZN11GameManager18setIntGameVariableEPKci; GameManager::setIntGameVariable(char const*,int) ; +0x20, 0x6e6ba8", "xrefs": ["AutoBackupOptionsPopup::valueDidChange @ 0x73c2b8"], "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"}