{"type": "func", "start": 6443009296, "end": 6443009354, "name": "cocos2d::CCShaderCache::init", "pseudocode": "// \n// cocos2d::CCShaderCache::init from 0x180088510 to 0x18008854a (58 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b5904\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\nchar __fastcall cocos2d::CCShaderCache::init(cocos2d::CCShaderCache *this)\n{\n  cocos2d::CCDictionary *v2; // rax\n\n  v2 = (cocos2d::CCDictionary *)operator new(0x48u);\n  if ( v2 )\n    v2 = cocos2d::CCDictionary::CCDictionary(v2);\n  *((_QWORD *)this + 7) = v2;\n  cocos2d::CCShaderCache::loadDefaultShaders(this);\n  return 1;\n}", "assembly": "; \n; cocos2d::CCShaderCache::init from 0x180088510 to 0x18008854a (58 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b5904\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, 0x180088510\nsub     rsp, 20h                                                       ; +0x2, 0x180088512\nmov     rbx, rcx                                                       ; +0x6, 0x180088516\nmov     ecx, 48h ; 'H'; Size                                           ; +0x9, 0x180088519\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xe, 0x18008851e\nmov     [rsp+28h+arg_0], rax                                           ; +0x13, 0x180088523\ntest    rax, rax                                                       ; +0x18, 0x180088528\njz      short loc_180088536                                            ; +0x1b, 0x18008852b\nmov     rcx, rax; this                                                 ; +0x1d, 0x18008852d\ncall    ??0CCDictionary@cocos2d@@QEAA@XZ; cocos2d::CCDictionary::CCDictionary(void) ; +0x20, 0x180088530\nnop                                                                    ; +0x25, 0x180088535\nmov     [rbx+38h], rax                                                 ; +0x26, 0x180088536\nmov     rcx, rbx; this                                                 ; +0x2a, 0x18008853a\ncall    ?loadDefaultShaders@CCShaderCache@cocos2d@@QEAAXXZ; cocos2d::CCShaderCache::loadDefaultShaders(void) ; +0x2d, 0x18008853d\nmov     al, 1                                                          ; +0x32, 0x180088542\nadd     rsp, 20h                                                       ; +0x34, 0x180088544\npop     rbx                                                            ; +0x38, 0x180088548\nretn                                                                   ; +0x39, 0x180088549", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b5904"], "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"}