{"type": "func", "start": 5371729808, "end": 5371729858, "name": "LevelEditorLayer::unclaimCustomParticle", "pseudocode": "// \n// LevelEditorLayer::unclaimCustomParticle from 0x1402e1790 to 0x1402e17c2 (50 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140586420\n// > <???> @ 0x1406d36ec\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__int64 __fastcall LevelEditorLayer::unclaimCustomParticle(__int64 a1, __int64 a2, struct cocos2d::CCObject *a3)\n{\n  __int64 result; // rax\n\n  if ( a3 )\n  {\n    cocos2d::CCArray::removeObject(*(cocos2d::CCArray **)(a1 + 12576), a3, 1);\n    return ((__int64 (__fastcall *)(struct cocos2d::CCObject *))a3->__vftable[7].~CCObject)(a3);\n  }\n  return result;\n}", "assembly": "; \n; LevelEditorLayer::unclaimCustomParticle from 0x1402e1790 to 0x1402e17c2 (50 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140586420\n; > <???> @ 0x1406d36ec\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\ntest    r8, r8                                                         ; +0x0, 0x1402e1790\njz      short locret_1402E17C1                                         ; +0x3, 0x1402e1793\npush    rbx                                                            ; +0x5, 0x1402e1795\nsub     rsp, 20h                                                       ; +0x6, 0x1402e1796\nmov     rcx, [rcx+3120h]                                               ; +0xa, 0x1402e179a\nmov     rbx, r8                                                        ; +0x11, 0x1402e17a1\nmov     rdx, rbx                                                       ; +0x14, 0x1402e17a4\nmov     r8b, 1                                                         ; +0x17, 0x1402e17a7\ncall    cs:?removeObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@_N@Z; cocos2d::CCArray::removeObject(cocos2d::CCObject *,bool) ; +0x1a, 0x1402e17aa\nmov     rax, [rbx]                                                     ; +0x20, 0x1402e17b0\nmov     rcx, rbx                                                       ; +0x23, 0x1402e17b3\ncall    qword ptr [rax+200h]                                           ; +0x26, 0x1402e17b6\nadd     rsp, 20h                                                       ; +0x2c, 0x1402e17bc\npop     rbx                                                            ; +0x30, 0x1402e17c0\nretn                                                                   ; +0x31, 0x1402e17c1", "xrefs": ["<???> @ 0x140586420", "<???> @ 0x1406d36ec"], "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"}