{"type": "func", "start": 7853568, "end": 7853678, "name": "EditorSFXManager::getCustomSFXRawPath", "pseudocode": "// \n// EditorSFXManager::getCustomSFXRawPath from 0x77d600 to 0x77d66e (110 bytes)\n// \n// 3 xrefs:\n// > SetupSFXPopup::createSFXWidget @ 0x6b147a\n// > SFXBrowser::setupSFXBrowser @ 0x6c67c6\n// > EditorSFXActionConfigLayer::refreshRows @ 0x77c11a\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:59:24 +0000\n// \n\nEditorSFXManager *__fastcall EditorSFXManager::getCustomSFXRawPath(EditorSFXManager *this, int a2, int a3, int a4)\n{\n  _DWORD *v5; // r0\n  _DWORD *v6; // r1\n  _DWORD *v7; // t1\n  _DWORD *v8; // r4\n  int v9; // r6\n  int v10; // r0\n  _DWORD *v11; // r6\n\n  v7 = *(_DWORD **)(a2 + 64);\n  v6 = (_DWORD *)(a2 + 64);\n  v5 = v7;\n  v8 = v6;\n  while ( v5 )\n  {\n    v9 = v5[4];\n    if ( v9 < a4 || a4 >= v9 && v5[5] < a3 )\n    {\n      v11 = (_DWORD *)v5[1];\n      v5 = v8;\n    }\n    else\n    {\n      v11 = (_DWORD *)*v5;\n    }\n    v8 = v5;\n    v5 = v11;\n  }\n  if ( v8 != v6 )\n  {\n    v10 = v8[4];\n    if ( a4 < v10 )\n    {\n      v8 = v6;\n    }\n    else if ( v10 >= a4 && a3 < v8[5] )\n    {\n      v8 = v6;\n    }\n  }\n  if ( v8 == v6 )\n  {\n    *(_DWORD *)this = 0;\n    *((_DWORD *)this + 1) = 0;\n    *((_DWORD *)this + 2) = 0;\n    std::string::__init((int *)this, &unk_B6B226, 0);\n  }\n  else\n  {\n    std::string::basic_string((int *)this, (int)(v8 + 6));\n  }\n  return this;\n}", "assembly": "; \n; EditorSFXManager::getCustomSFXRawPath from 0x77d600 to 0x77d66e (110 bytes)\n; \n; 3 xrefs:\n; > SetupSFXPopup::createSFXWidget @ 0x6b147a\n; > SFXBrowser::setupSFXBrowser @ 0x6c67c6\n; > EditorSFXActionConfigLayer::refreshRows @ 0x77c11a\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:59:24 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x77d600\nMOV             R5, R0                                                 ; +0x2, 0x77d602\nLDR.W           R0, [R1,#0x40]!                                        ; +0x4, 0x77d604\nMOV             R4, R1                                                 ; +0x8, 0x77d608\nCBZ             R0, loc_77D61E                                         ; +0xa, 0x77d60a\nLDR             R6, [R0,#0x10]                                         ; +0xc, 0x77d60c\nCMP             R6, R3                                                 ; +0xe, 0x77d60e\nBLT             loc_77D664                                             ; +0x10, 0x77d610\nCMP             R3, R6                                                 ; +0x12, 0x77d612\nBLT             loc_77D65C                                             ; +0x14, 0x77d614\nLDR             R6, [R0,#0x14]                                         ; +0x16, 0x77d616\nCMP             R6, R2                                                 ; +0x18, 0x77d618\nBLT             loc_77D664                                             ; +0x1a, 0x77d61a\nB               loc_77D65C                                             ; +0x1c, 0x77d61c\nCMP             R4, R1                                                 ; +0x1e, 0x77d61e\nBEQ             loc_77D638                                             ; +0x20, 0x77d620\nLDR             R0, [R4,#0x10]                                         ; +0x22, 0x77d622\nCMP             R3, R0                                                 ; +0x24, 0x77d624\nBLT             loc_77D636                                             ; +0x26, 0x77d626\nCMP             R0, R3                                                 ; +0x28, 0x77d628\nBLT             loc_77D638                                             ; +0x2a, 0x77d62a\nLDR             R3, [R4,#0x14]                                         ; +0x2c, 0x77d62c\nCMP             R2, R3                                                 ; +0x2e, 0x77d62e\nIT LT                                                                  ; +0x30, 0x77d630\nMOVLT           R4, R1                                                 ; +0x32, 0x77d632\nB               loc_77D638                                             ; +0x34, 0x77d634\nMOV             R4, R1                                                 ; +0x36, 0x77d636\nCMP             R4, R1                                                 ; +0x38, 0x77d638\nBEQ             loc_77D648                                             ; +0x3a, 0x77d63a\nMOV             R0, R5                                                 ; +0x3c, 0x77d63c\nADD.W           R1, R4, #0x18                                          ; +0x3e, 0x77d63e\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x42, 0x77d642\nB               loc_77D66A                                             ; +0x46, 0x77d646\nLDR             R1, =(unk_B6B226 - 0x77D656)                           ; +0x48, 0x77d648\nMOVS            R2, #0                                                 ; +0x4a, 0x77d64a\nMOV             R0, R5                                                 ; +0x4c, 0x77d64c\nSTR             R2, [R5]                                               ; +0x4e, 0x77d64e\nSTR             R2, [R5,#4]                                            ; +0x50, 0x77d650\nADD             R1, PC; unk_B6B226                                     ; +0x52, 0x77d652\nSTR             R2, [R5,#8]                                            ; +0x54, 0x77d654\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x56, 0x77d656\nB               loc_77D66A                                             ; +0x5a, 0x77d65a\nLDR             R6, [R0]                                               ; +0x5c, 0x77d65c\nMOV             R4, R0                                                 ; +0x5e, 0x77d65e\nMOV             R0, R6                                                 ; +0x60, 0x77d660\nB               loc_77D60A                                             ; +0x62, 0x77d662\nLDR             R6, [R0,#4]                                            ; +0x64, 0x77d664\nMOV             R0, R4                                                 ; +0x66, 0x77d666\nB               loc_77D65E                                             ; +0x68, 0x77d668\nMOV             R0, R5                                                 ; +0x6a, 0x77d66a\nPOP             {R4-R6,PC}                                             ; +0x6c, 0x77d66c", "xrefs": ["SetupSFXPopup::createSFXWidget @ 0x6b147a", "SFXBrowser::setupSFXBrowser @ 0x6c67c6", "EditorSFXActionConfigLayer::refreshRows @ 0x77c11a"], "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"}