{"type": "func", "start": 6442492432, "end": 6442492520, "name": "cocos2d::CCDictionary::create", "pseudocode": "// \n// cocos2d::CCDictionary::create from 0x18000a210 to 0x18000a268 (88 bytes)\n// \n// 10 xrefs:\n// > CCContentManager::init @ 0x180005f69\n// > CCContentManager::sharedManager @ 0x180005fe6\n// > DS_Dictionary::getDictForKey @ 0x180019fdb\n// > DS_Dictionary::getDictForKey @ 0x180019fe5\n// > cocos2d::CCComponentContainer::add @ 0x180096365\n// > cocos2d::CCComponentContainer::alloc @ 0x180096699\n// > cocos2d::CCTouchDispatcher::init @ 0x1800b2f8d\n// > cocos2d::CCConfiguration::init @ 0x1800bd44b\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801adccc\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCDictionary *__fastcall cocos2d::CCDictionary::create()\n{\n  cocos2d::CCObject *v0; // rax\n  cocos2d::CCObject *v1; // rbx\n\n  v0 = (cocos2d::CCObject *)operator new(0x48u);\n  v1 = v0;\n  if ( v0 )\n  {\n    cocos2d::CCObject::CCObject(v0);\n    v1->__vftable = (cocos2d::CCObject_vtbl *)&cocos2d::CCDictionary::`vftable';\n    v1[1].__vftable = nullptr;\n    v1[1].m_uID = 0;\n  }\n  else\n  {\n    v1 = nullptr;\n  }\n  if ( v1 )\n    cocos2d::CCObject::autorelease(v1);\n  return (struct cocos2d::CCDictionary *)v1;\n}", "assembly": "; \n; cocos2d::CCDictionary::create from 0x18000a210 to 0x18000a268 (88 bytes)\n; \n; 10 xrefs:\n; > CCContentManager::init @ 0x180005f69\n; > CCContentManager::sharedManager @ 0x180005fe6\n; > DS_Dictionary::getDictForKey @ 0x180019fdb\n; > DS_Dictionary::getDictForKey @ 0x180019fe5\n; > cocos2d::CCComponentContainer::add @ 0x180096365\n; > cocos2d::CCComponentContainer::alloc @ 0x180096699\n; > cocos2d::CCTouchDispatcher::init @ 0x1800b2f8d\n; > cocos2d::CCConfiguration::init @ 0x1800bd44b\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801adccc\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x18000a210\nsub     rsp, 20h                                                       ; +0x2, 0x18000a212\nmov     ecx, 48h ; 'H'; Size                                           ; +0x6, 0x18000a216\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb, 0x18000a21b\nmov     rbx, rax                                                       ; +0x10, 0x18000a220\nmov     [rsp+28h+arg_0], rax                                           ; +0x13, 0x18000a223\ntest    rax, rax                                                       ; +0x18, 0x18000a228\njz      short loc_18000A250                                            ; +0x1b, 0x18000a22b\nmov     rcx, rax; this                                                 ; +0x1d, 0x18000a22d\ncall    ??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x20, 0x18000a230\nlea     rax, ??_7CCDictionary@cocos2d@@6B@; const cocos2d::CCDictionary::`vftable' ; +0x25, 0x18000a235\nmov     [rbx], rax                                                     ; +0x2c, 0x18000a23c\nmov     qword ptr [rbx+38h], 0                                         ; +0x2f, 0x18000a23f\nmov     dword ptr [rbx+40h], 0                                         ; +0x37, 0x18000a247\njmp     short loc_18000A252                                            ; +0x3e, 0x18000a24e\nxor     ebx, ebx                                                       ; +0x40, 0x18000a250\ntest    rbx, rbx                                                       ; +0x42, 0x18000a252\njz      short loc_18000A25F                                            ; +0x45, 0x18000a255\nmov     rcx, rbx; this                                                 ; +0x47, 0x18000a257\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x4a, 0x18000a25a\nmov     rax, rbx                                                       ; +0x4f, 0x18000a25f\nadd     rsp, 20h                                                       ; +0x52, 0x18000a262\npop     rbx                                                            ; +0x56, 0x18000a266\nretn                                                                   ; +0x57, 0x18000a267", "xrefs": ["CCContentManager::init @ 0x180005f69", "CCContentManager::sharedManager @ 0x180005fe6", "DS_Dictionary::getDictForKey @ 0x180019fdb", "DS_Dictionary::getDictForKey @ 0x180019fe5", "cocos2d::CCComponentContainer::add @ 0x180096365", "cocos2d::CCComponentContainer::alloc @ 0x180096699", "cocos2d::CCTouchDispatcher::init @ 0x1800b2f8d", "cocos2d::CCConfiguration::init @ 0x1800bd44b", "<???> @ 0x1801438a8", "<???> @ 0x1801adccc"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}