{"type": "func", "start": 4868668, "end": 4868728, "name": "GJEffectManager::create", "pseudocode": "// \n// GJEffectManager::create from 0x4a4a3c to 0x4a4a78 (60 bytes)\n// \n// 2 xrefs:\n// > LevelSettingsObject::init @ 0x37b1ca\n// > GJBaseGameLayer::init @ 0x490d06\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\nGJEffectManager *GJEffectManager::create()\n{\n  GJEffectManager *v0; // r4\n  GJEffectManager_vtbl *v1; // r3\n  GJEffectManager *v2; // r0\n\n  v0 = (GJEffectManager *)operator new(0x464u);\n  GJEffectManager::GJEffectManager(v0);\n  if ( ((int (__fastcall *)(GJEffectManager *))v0->init)(v0) )\n  {\n    cocos2d::CCObject::autorelease(v0);\n  }\n  else\n  {\n    v1 = v0->__vftable;\n    v2 = v0;\n    v0 = nullptr;\n    v1->~GJEffectManager_0(v2);\n  }\n  return v0;\n}", "assembly": "; \n; GJEffectManager::create from 0x4a4a3c to 0x4a4a78 (60 bytes)\n; \n; 2 xrefs:\n; > LevelSettingsObject::init @ 0x37b1ca\n; > GJBaseGameLayer::init @ 0x490d06\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            {R3-R5,LR}                                             ; +0x0, 0x4a4a3c\nMOVW            R0, #0x464; unsigned int                               ; +0x2, 0x4a4a3e\nBL              _Znwj; operator new(uint)                              ; +0x6, 0x4a4a42\nMOV             R4, R0                                                 ; +0xa, 0x4a4a46\nBL              _ZN15GJEffectManagerC2Ev; GJEffectManager::GJEffectManager(void) ; +0xc, 0x4a4a48\nLDR             R3, [R4]                                               ; +0x10, 0x4a4a4c\nMOV             R0, R4                                                 ; +0x12, 0x4a4a4e\nLDR             R3, [R3,#0x28]                                         ; +0x14, 0x4a4a50\nBLX             R3                                                     ; +0x16, 0x4a4a52\nMOV             R5, R0                                                 ; +0x18, 0x4a4a54\nCBZ             R0, loc_4A4A6A                                         ; +0x1a, 0x4a4a56\nMOV             R0, R4; this                                           ; +0x1c, 0x4a4a58\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x1e, 0x4a4a5a\nB               loc_4A4A74                                             ; +0x22, 0x4a4a5e\nMOV             R0, R4; p                                              ; +0x24, 0x4a4a60\nBL              _ZdlPv; operator delete(void *)                        ; +0x26, 0x4a4a62\nBL              __cxa_end_cleanup                                      ; +0x2a, 0x4a4a66\nLDR             R3, [R4]                                               ; +0x2e, 0x4a4a6a\nMOV             R0, R4                                                 ; +0x30, 0x4a4a6c\nMOV             R4, R5                                                 ; +0x32, 0x4a4a6e\nLDR             R3, [R3,#8]                                            ; +0x34, 0x4a4a70\nBLX             R3                                                     ; +0x36, 0x4a4a72\nMOV             R0, R4                                                 ; +0x38, 0x4a4a74\nPOP             {R3-R5,PC}                                             ; +0x3a, 0x4a4a76", "xrefs": ["LevelSettingsObject::init @ 0x37b1ca", "GJBaseGameLayer::init @ 0x490d06"], "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"}