{"type": "func", "start": 13360736, "end": 13360848, "name": "EditorSFXActionConfigLayer::refreshModeButtons", "pseudocode": "// \n// EditorSFXActionConfigLayer::refreshModeButtons from 0xcbde60 to 0xcbded0 (112 bytes)\n// \n// 3 xrefs:\n// > EditorSFXActionConfigLayer::onToggleMode @ 0xcbdf10\n// > EditorSFXActionConfigLayer::init @ 0xcbef88\n// > <???> @ 0x58a20\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:06:15 +0000\n// \n\n__int64 __fastcall EditorSFXActionConfigLayer::refreshModeButtons(EditorSFXActionConfigLayer *this)\n{\n  EditorSFXManager *v2; // x0\n  __int64 result; // x0\n  const char *v4; // x1\n\n  v2 = (EditorSFXManager *)EditorSFXManager::sharedState(this);\n  result = EditorSFXManager::getPlayMode(v2, *((_DWORD *)this + 256));\n  if ( *((_QWORD *)this + 129) )\n  {\n    if ( (_DWORD)result )\n      v4 = \"GJ_button_04.png\";\n    else\n      v4 = \"GJ_button_02.png\";\n    ButtonSprite::updateBGImage(*((ButtonSprite **)this + 129), v4);\n    return (*(__int64 (__fastcall **)(_QWORD, float, float))(**(_QWORD **)(*((_QWORD *)this + 129) + 632LL) + 248LL))(\n             *(_QWORD *)(*((_QWORD *)this + 129) + 632LL),\n             0.0,\n             -1.5);\n  }\n  return result;\n}", "assembly": "; \n; EditorSFXActionConfigLayer::refreshModeButtons from 0xcbde60 to 0xcbded0 (112 bytes)\n; \n; 3 xrefs:\n; > EditorSFXActionConfigLayer::onToggleMode @ 0xcbdf10\n; > EditorSFXActionConfigLayer::init @ 0xcbef88\n; > <???> @ 0x58a20\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:06:15 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0xcbde60\nMOV             X29, SP                                                ; +0x4, 0xcbde64\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0xcbde68\nMOV             X19, X0                                                ; +0xc, 0xcbde6c\nBL              _ZN16EditorSFXManager11sharedStateEv; EditorSFXManager::sharedState(void) ; +0x10, 0xcbde70\nLDR             W1, [X19,#0x400]; int                                  ; +0x14, 0xcbde74\nBL              _ZN16EditorSFXManager11getPlayModeEi; EditorSFXManager::getPlayMode(int) ; +0x18, 0xcbde78\nLDR             X2, [X19,#0x408]                                       ; +0x1c, 0xcbde7c\nCBZ             X2, loc_CBDEB8                                         ; +0x20, 0xcbde80\nCBZ             W0, loc_CBDEC4                                         ; +0x24, 0xcbde84\nADRL            X1, aGjButton04Png; \"GJ_button_04.png\"                 ; +0x28, 0xcbde88\nMOV             X0, X2; this                                           ; +0x30, 0xcbde90\nBL              _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x34, 0xcbde94\nLDR             X0, [X19,#0x408]                                       ; +0x38, 0xcbde98\nFMOV            S0, WZR                                                ; +0x3c, 0xcbde9c\nFMOV            S1, #-1.5                                              ; +0x40, 0xcbdea0\nLDR             X1, [X0,#0x278]                                        ; +0x44, 0xcbdea4\nMOV             X0, X1                                                 ; +0x48, 0xcbdea8\nLDR             X1, [X1]                                               ; +0x4c, 0xcbdeac\nLDR             X1, [X1,#0xF8]                                         ; +0x50, 0xcbdeb0\nBLR             X1                                                     ; +0x54, 0xcbdeb4\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x58, 0xcbdeb8\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x5c, 0xcbdebc\nRET                                                                    ; +0x60, 0xcbdec0\nADRL            X1, aGjButton02Png; \"GJ_button_02.png\"                 ; +0x64, 0xcbdec4\nB               loc_CBDE90                                             ; +0x6c, 0xcbdecc", "xrefs": ["EditorSFXActionConfigLayer::onToggleMode @ 0xcbdf10", "EditorSFXActionConfigLayer::init @ 0xcbef88", "<???> @ 0x58a20"], "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"}