{"type": "func", "start": 5372268272, "end": 5372268365, "name": "GJEffectManager::create", "pseudocode": "// \n// GJEffectManager::create from 0x140364ef0 to 0x140364f4d (93 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::init @ 0x14030d462\n// > LevelSettingsObject::init @ 0x14040ea33\n// > <???> @ 0x1409215c0\n// \n// This function is hookable on this platform (idp: pc, 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 11:30:54 +0000\n// \n\n// Hidden C++ exception states: #wind=1\ncocos2d::CCObject *GJEffectManager::create()\n{\n  __int64 v0; // rax\n  cocos2d::CCObject *v1; // rbx\n  void *v3; // [rsp+30h] [rbp+8h]\n\n  v3 = operator new(0x828u);\n  v0 = sub_140362520((__int64)v3);\n  v1 = (cocos2d::CCObject *)v0;\n  if ( v0 )\n  {\n    if ( (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v0 + 72LL))(v0) )\n    {\n      cocos2d::CCObject::autorelease(v1);\n      return v1;\n    }\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v1 + 8LL))(v1, 1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; GJEffectManager::create from 0x140364ef0 to 0x140364f4d (93 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::init @ 0x14030d462\n; > LevelSettingsObject::init @ 0x14040ea33\n; > <???> @ 0x1409215c0\n; \n; This function is hookable on this platform (idp: pc, 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 11:30:54 +0000\n; \npush    rbx                                                            ; +0x0, 0x140364ef0\nsub     rsp, 20h                                                       ; +0x2, 0x140364ef2\nmov     ecx, 828h; Size                                                ; +0x6, 0x140364ef6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb, 0x140364efb\nmov     [rsp+28h+arg_0], rax                                           ; +0x10, 0x140364f00\nmov     rcx, rax                                                       ; +0x15, 0x140364f05\ncall    sub_140362520                                                  ; +0x18, 0x140364f08\nmov     rbx, rax                                                       ; +0x1d, 0x140364f0d\ntest    rax, rax                                                       ; +0x20, 0x140364f10\njz      short loc_140364F44                                            ; +0x23, 0x140364f13\nmov     rcx, [rax]                                                     ; +0x25, 0x140364f15\nmov     rdx, [rcx+48h]                                                 ; +0x28, 0x140364f18\nmov     rcx, rax                                                       ; +0x2c, 0x140364f1c\ncall    rdx                                                            ; +0x2f, 0x140364f1f\nmov     rcx, rbx                                                       ; +0x31, 0x140364f21\ntest    al, al                                                         ; +0x34, 0x140364f24\njz      short loc_140364F37                                            ; +0x36, 0x140364f26\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x38, 0x140364f28\nmov     rax, rbx                                                       ; +0x3e, 0x140364f2e\nadd     rsp, 20h                                                       ; +0x41, 0x140364f31\npop     rbx                                                            ; +0x45, 0x140364f35\nretn                                                                   ; +0x46, 0x140364f36\nmov     rax, [rbx]                                                     ; +0x47, 0x140364f37\nmov     edx, 1                                                         ; +0x4a, 0x140364f3a\ncall    qword ptr [rax+8]                                              ; +0x4f, 0x140364f3f\nxor     ebx, ebx                                                       ; +0x52, 0x140364f42\nmov     rax, rbx                                                       ; +0x54, 0x140364f44\nadd     rsp, 20h                                                       ; +0x57, 0x140364f47\npop     rbx                                                            ; +0x5b, 0x140364f4b\nretn                                                                   ; +0x5c, 0x140364f4c", "xrefs": ["GJBaseGameLayer::init @ 0x14030d462", "LevelSettingsObject::init @ 0x14040ea33", "<???> @ 0x1409215c0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}