{"type": "func", "start": 7864226, "end": 7864314, "name": "EditorSFXManager::getOrCreateBinding", "pseudocode": "// \n// EditorSFXManager::getOrCreateBinding from 0x77ffa2 to 0x77fffa (88 bytes)\n// \n// 3 xrefs:\n// > EditorSFXManager::setPlayMode @ 0x77fffe\n// > EditorSFXManager::addSound @ 0x78002a\n// > EditorSFXManager::deserializeAll @ 0x780d9a\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:27 +0000\n// \n\ncocos2d::CCObject **__fastcall EditorSFXManager::getOrCreateBinding(\n        EditorSFXManager *this,\n        unsigned int a2,\n        unsigned int a3)\n{\n  _DWORD *v4; // r0\n  cocos2d::CCObject **v6; // r0\n  cocos2d::CCObject **v7; // r4\n  cocos2d::CCObject *v8; // r0\n  unsigned int v9[2]; // [sp+4h] [bp-8h] BYREF\n\n  v9[1] = a3;\n  v9[0] = a2;\n  v4 = std::__hash_table<std::__hash_value_type<int,EditorSFXBinding *>,std::__unordered_map_hasher<int,std::__hash_value_type<int,EditorSFXBinding *>,std::hash<int>,true>,std::__unordered_map_equal<int,std::__hash_value_type<int,EditorSFXBinding *>,std::equal_to<int>,true>,std::allocator<std::__hash_value_type<int,EditorSFXBinding *>>>::find<int>(\n         this,\n         v9);\n  if ( v4 )\n    return (cocos2d::CCObject **)v4[3];\n  v6 = (cocos2d::CCObject **)operator new(0x30u);\n  *v6 = nullptr;\n  v7 = v6;\n  v6[1] = (cocos2d::CCObject *)(&dword_0 + 1);\n  v6[2] = nullptr;\n  v6[10] = (cocos2d::CCObject *)-1;\n  v6[3] = nullptr;\n  v6[4] = nullptr;\n  v6[5] = nullptr;\n  v6[6] = nullptr;\n  v6[7] = nullptr;\n  v6[8] = nullptr;\n  v6[9] = nullptr;\n  v6[11] = nullptr;\n  v8 = (cocos2d::CCObject *)cocos2d::CCArray::create((cocos2d::CCArray *)v6);\n  *v7 = v8;\n  cocos2d::CCObject::retain(v8);\n  *std::unordered_map<int,EditorSFXBinding *>::operator[]((int)this, v9) = v7;\n  return v7;\n}", "assembly": "; \n; EditorSFXManager::getOrCreateBinding from 0x77ffa2 to 0x77fffa (88 bytes)\n; \n; 3 xrefs:\n; > EditorSFXManager::setPlayMode @ 0x77fffe\n; > EditorSFXManager::addSound @ 0x78002a\n; > EditorSFXManager::deserializeAll @ 0x780d9a\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:27 +0000\n; \nPUSH            {R0-R2,R4-R7,LR}                                       ; +0x0, 0x77ffa2\nADD             R6, SP, #0xC+var_4                                     ; +0x2, 0x77ffa4\nMOV             R7, R0                                                 ; +0x4, 0x77ffa6\nSTR.W           R1, [R6,#-4]!                                          ; +0x6, 0x77ffa8\nMOV             R1, R6                                                 ; +0xa, 0x77ffac\nBL              _ZNSt6__ndk112__hash_tableINS_17__hash_value_typeIiP16EditorSFXBindingEENS_22__unordered_map_hasherIiS4_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS4_NS_8equal_toIiEELb1EEENS_9allocatorIS4_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS4_PvEEEERKT_; std::__hash_table<std::__hash_value_type<int,EditorSFXBinding *>,std::__unordered_map_hasher<int,std::__hash_value_type<int,EditorSFXBinding *>,std::hash<int>,true>,std::__unordered_map_equal<int,std::__hash_value_type<int,EditorSFXBinding *>,std::equal_to<int>,true>,std::allocator<std::__hash_value_type<int,EditorSFXBinding *>>>::find<int>(int const&) ; +0xc, 0x77ffae\nMOV             R5, R0                                                 ; +0x10, 0x77ffb2\nCBZ             R0, loc_77FFBA                                         ; +0x12, 0x77ffb4\nLDR             R0, [R0,#0xC]                                          ; +0x14, 0x77ffb6\nB               loc_77FFF6                                             ; +0x16, 0x77ffb8\nMOVS            R0, #0x30 ; '0'; unsigned int                          ; +0x18, 0x77ffba\nBL              _Znwj; operator new(uint)                              ; +0x1a, 0x77ffbc\nMOVS            R3, #1                                                 ; +0x1e, 0x77ffc0\nSTR             R5, [R0]                                               ; +0x20, 0x77ffc2\nMOV             R4, R0                                                 ; +0x22, 0x77ffc4\nSTR             R3, [R0,#4]                                            ; +0x24, 0x77ffc6\nMOV.W           R3, #0xFFFFFFFF                                        ; +0x26, 0x77ffc8\nSTR             R5, [R0,#8]                                            ; +0x2a, 0x77ffcc\nSTR             R3, [R0,#0x28]                                         ; +0x2c, 0x77ffce\nSTR             R5, [R0,#0xC]                                          ; +0x2e, 0x77ffd0\nSTR             R5, [R0,#0x10]                                         ; +0x30, 0x77ffd2\nSTR             R5, [R0,#0x14]                                         ; +0x32, 0x77ffd4\nSTR             R5, [R0,#0x18]                                         ; +0x34, 0x77ffd6\nSTR             R5, [R0,#0x1C]                                         ; +0x36, 0x77ffd8\nSTR             R5, [R0,#0x20]                                         ; +0x38, 0x77ffda\nSTR             R5, [R0,#0x24]                                         ; +0x3a, 0x77ffdc\nSTR             R5, [R0,#0x2C]                                         ; +0x3c, 0x77ffde\nBL              _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x3e, 0x77ffe0\nSTR             R0, [R4]                                               ; +0x42, 0x77ffe4\nBL              _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0x44, 0x77ffe6\nMOV             R0, R7                                                 ; +0x48, 0x77ffea\nMOV             R1, R6                                                 ; +0x4a, 0x77ffec\nBL              _ZNSt6__ndk113unordered_mapIiP16EditorSFXBindingNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS2_EEEEEixERS9_; std::unordered_map<int,EditorSFXBinding *>::operator[](int const&) ; +0x4c, 0x77ffee\nSTR             R4, [R0]                                               ; +0x50, 0x77fff2\nMOV             R0, R4                                                 ; +0x52, 0x77fff4\nADD             SP, SP, #0xC                                           ; +0x54, 0x77fff6\nPOP             {R4-R7,PC}                                             ; +0x56, 0x77fff8", "xrefs": ["EditorSFXManager::setPlayMode @ 0x77fffe", "EditorSFXManager::addSound @ 0x78002a", "EditorSFXManager::deserializeAll @ 0x780d9a"], "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"}