{"type": "func", "start": 5371178112, "end": 5371178202, "name": "GJEffectManager::create", "pseudocode": "// \n// GJEffectManager::create from 0x14025ac80 to 0x14025acda (90 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::init @ 0x14020744a\n// > LevelSettingsObject::init @ 0x1402eac83\n// > <???> @ 0x1406cfc30\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\nGJEffectManager *GJEffectManager::create()\n{\n  __int64 v0; // rax\n  GJEffectManager *v1; // rbx\n  void *v3; // [rsp+30h] [rbp+8h]\n\n  v3 = operator new(0x820u);\n  v0 = sub_140258050((__int64)v3);\n  v1 = (GJEffectManager *)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 *)(GJEffectManager *, __int64))v1->~GJEffectManager)(v1, 1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; GJEffectManager::create from 0x14025ac80 to 0x14025acda (90 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::init @ 0x14020744a\n; > LevelSettingsObject::init @ 0x1402eac83\n; > <???> @ 0x1406cfc30\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, 0x14025ac80\nsub     rsp, 20h                                                       ; +0x2, 0x14025ac82\nmov     ecx, 820h; Size                                                ; +0x6, 0x14025ac86\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb, 0x14025ac8b\nmov     [rsp+28h+arg_0], rax                                           ; +0x10, 0x14025ac90\nmov     rcx, rax                                                       ; +0x15, 0x14025ac95\ncall    sub_140258050                                                  ; +0x18, 0x14025ac98\nmov     rbx, rax                                                       ; +0x1d, 0x14025ac9d\ntest    rax, rax                                                       ; +0x20, 0x14025aca0\njz      short loc_14025ACD1                                            ; +0x23, 0x14025aca3\nmov     rdx, [rax]                                                     ; +0x25, 0x14025aca5\nmov     rcx, rax                                                       ; +0x28, 0x14025aca8\ncall    qword ptr [rdx+48h]                                            ; +0x2b, 0x14025acab\nmov     rcx, rbx                                                       ; +0x2e, 0x14025acae\ntest    al, al                                                         ; +0x31, 0x14025acb1\njz      short loc_14025ACC4                                            ; +0x33, 0x14025acb3\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x35, 0x14025acb5\nmov     rax, rbx                                                       ; +0x3b, 0x14025acbb\nadd     rsp, 20h                                                       ; +0x3e, 0x14025acbe\npop     rbx                                                            ; +0x42, 0x14025acc2\nretn                                                                   ; +0x43, 0x14025acc3\nmov     rax, [rbx]                                                     ; +0x44, 0x14025acc4\nmov     edx, 1                                                         ; +0x47, 0x14025acc7\ncall    qword ptr [rax+8]                                              ; +0x4c, 0x14025accc\nxor     ebx, ebx                                                       ; +0x4f, 0x14025accf\nmov     rax, rbx                                                       ; +0x51, 0x14025acd1\nadd     rsp, 20h                                                       ; +0x54, 0x14025acd4\npop     rbx                                                            ; +0x58, 0x14025acd8\nretn                                                                   ; +0x59, 0x14025acd9", "xrefs": ["GJBaseGameLayer::init @ 0x14020744a", "LevelSettingsObject::init @ 0x1402eac83", "<???> @ 0x1406cfc30"], "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"}