{"type": "func", "start": 5372162784, "end": 5372162968, "name": "GJBaseGameLayer::unclaimCustomParticle", "pseudocode": "// \n// GJBaseGameLayer::unclaimCustomParticle from 0x14034b2e0 to 0x14034b398 (184 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x14076b8a8\n// > <???> @ 0x1407d5f08\n// > <???> @ 0x1408b80a0\n// > <???> @ 0x1408b80b0\n// > <???> @ 0x140920024\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:44 +0000\n// \n\nvoid __fastcall GJBaseGameLayer::unclaimCustomParticle(_QWORD *a1, __int64 a2, struct cocos2d::CCObject *a3)\n{\n  __int64 v6; // rsi\n  cocos2d::CCArray *v7; // rbp\n  cocos2d::CCArray *v8; // rcx\n  __int64 v9; // rax\n  __int64 v10; // rdx\n\n  if ( a3 )\n  {\n    v6 = cocos2d::CCDictionary::objectForKey(a1[1590], a2);\n    if ( v6 )\n    {\n      v7 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(a1[1600], a2);\n      if ( (*(unsigned int (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)a3 + 904LL))(a3) )\n        v8 = (cocos2d::CCArray *)a1[1591];\n      else\n        v8 = (cocos2d::CCArray *)v6;\n      cocos2d::CCArray::addObject(v8, a3);\n      cocos2d::CCArray::removeObject(v7, a3, 1);\n      cocos2d::CCParticleSystem::stopSystem(a3);\n      v9 = *(_QWORD *)a3;\n      LOBYTE(v10) = 1;\n      *((_BYTE *)a3 + 697) = 1;\n      (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v9 + 1544))(a3, v10);\n    }\n  }\n}", "assembly": "; \n; GJBaseGameLayer::unclaimCustomParticle from 0x14034b2e0 to 0x14034b398 (184 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x14076b8a8\n; > <???> @ 0x1407d5f08\n; > <???> @ 0x1408b80a0\n; > <???> @ 0x1408b80b0\n; > <???> @ 0x140920024\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:44 +0000\n; \ntest    r8, r8                                                         ; +0x0, 0x14034b2e0\njz      locret_14034B397                                               ; +0x3, 0x14034b2e3\nmov     [rsp+arg_8], rbx                                               ; +0x9, 0x14034b2e9\nmov     [rsp+arg_10], rbp                                              ; +0xe, 0x14034b2ee\npush    rdi                                                            ; +0x13, 0x14034b2f3\nsub     rsp, 20h                                                       ; +0x14, 0x14034b2f4\nmov     rdi, rcx                                                       ; +0x18, 0x14034b2f8\nmov     [rsp+28h+arg_0], rsi                                           ; +0x1b, 0x14034b2fb\nmov     rcx, [rcx+31B0h]                                               ; +0x20, 0x14034b300\nmov     rbx, r8                                                        ; +0x27, 0x14034b307\nmov     rbp, rdx                                                       ; +0x2a, 0x14034b30a\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::objectForKey(std::string const &) ; +0x2d, 0x14034b30d\nmov     rsi, rax                                                       ; +0x33, 0x14034b313\ntest    rax, rax                                                       ; +0x36, 0x14034b316\njz      short loc_14034B383                                            ; +0x39, 0x14034b319\nmov     rcx, [rdi+3200h]                                               ; +0x3b, 0x14034b31b\nmov     rdx, rbp                                                       ; +0x42, 0x14034b322\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::objectForKey(std::string const &) ; +0x45, 0x14034b325\nmov     rcx, [rbx]                                                     ; +0x4b, 0x14034b32b\nmov     rbp, rax                                                       ; +0x4e, 0x14034b32e\nmov     rdx, [rcx+388h]                                                ; +0x51, 0x14034b331\nmov     rcx, rbx                                                       ; +0x58, 0x14034b338\ncall    rdx                                                            ; +0x5b, 0x14034b33b\nmov     rdx, rbx                                                       ; +0x5d, 0x14034b33d\ntest    eax, eax                                                       ; +0x60, 0x14034b340\njz      short loc_14034B34D                                            ; +0x62, 0x14034b342\nmov     rcx, [rdi+31B8h]                                               ; +0x64, 0x14034b344\njmp     short loc_14034B350                                            ; +0x6b, 0x14034b34b\nmov     rcx, rsi                                                       ; +0x6d, 0x14034b34d\ncall    cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x70, 0x14034b350\nmov     r8b, 1                                                         ; +0x76, 0x14034b356\nmov     rdx, rbx                                                       ; +0x79, 0x14034b359\nmov     rcx, rbp                                                       ; +0x7c, 0x14034b35c\ncall    cs:?removeObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@_N@Z; cocos2d::CCArray::removeObject(cocos2d::CCObject *,bool) ; +0x7f, 0x14034b35f\nmov     rcx, rbx                                                       ; +0x85, 0x14034b365\ncall    cs:?stopSystem@CCParticleSystem@cocos2d@@QEAAXXZ; cocos2d::CCParticleSystem::stopSystem(void) ; +0x88, 0x14034b368\nmov     rax, [rbx]                                                     ; +0x8e, 0x14034b36e\nmov     dl, 1                                                          ; +0x91, 0x14034b371\nmov     rcx, rbx                                                       ; +0x93, 0x14034b373\nmov     byte ptr [rbx+2B9h], 1                                         ; +0x96, 0x14034b376\ncall    qword ptr [rax+608h]                                           ; +0x9d, 0x14034b37d\nmov     rsi, [rsp+28h+arg_0]                                           ; +0xa3, 0x14034b383\nmov     rbx, [rsp+28h+arg_8]                                           ; +0xa8, 0x14034b388\nmov     rbp, [rsp+28h+arg_10]                                          ; +0xad, 0x14034b38d\nadd     rsp, 20h                                                       ; +0xb2, 0x14034b392\npop     rdi                                                            ; +0xb6, 0x14034b396\nretn                                                                   ; +0xb7, 0x14034b397", "xrefs": ["<???> @ 0x14076b8a8", "<???> @ 0x1407d5f08", "<???> @ 0x1408b80a0", "<???> @ 0x1408b80b0", "<???> @ 0x140920024"], "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"}