{"type": "func", "start": 4296268368, "end": 4296268535, "name": "GJBaseGameLayer::unclaimCustomParticle", "pseudocode": "// \n// GJBaseGameLayer::unclaimCustomParticle from 0x10013da50 to 0x10013daf7 (167 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x100abb0e0\n// > <???> @ 0x100ac51a8\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 12:24:53 +0000\n// \n\nvoid __fastcall GJBaseGameLayer::unclaimCustomParticle(_QWORD *a1, __int64 a2, _BYTE *a3)\n{\n  __int64 v4; // rax\n  __int64 v5; // r12\n  __int64 v6; // r15\n  __int64 v7; // rdi\n\n  if ( a3 )\n  {\n    v4 = cocos2d::CCDictionary::objectForKey(a1[1536], a2);\n    if ( v4 )\n    {\n      v5 = v4;\n      v6 = cocos2d::CCDictionary::objectForKey(a1[1543], a2);\n      if ( (*(unsigned int (__fastcall **)(_BYTE *))(*(_QWORD *)a3 + 912LL))(a3) )\n        v7 = a1[1537];\n      else\n        v7 = v5;\n      sub_1007FEBF0(v7, a3);\n      sub_1007FF140(v6, a3, 1);\n      cocos2d::CCParticleSystem::stopSystem(a3);\n      a3[689] = 1;\n      (*(void (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)a3 + 1584LL))(a3, 1);\n    }\n  }\n}", "assembly": "; \n; GJBaseGameLayer::unclaimCustomParticle from 0x10013da50 to 0x10013daf7 (167 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x100abb0e0\n; > <???> @ 0x100ac51a8\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 12:24:53 +0000\n; \npush    rbp                                                            ; +0x0, 0x10013da50\nmov     rbp, rsp                                                       ; +0x1, 0x10013da51\npush    r15                                                            ; +0x4, 0x10013da54\npush    r14                                                            ; +0x6, 0x10013da56\npush    r12                                                            ; +0x8, 0x10013da58\npush    rbx                                                            ; +0xa, 0x10013da5a\ntest    rdx, rdx                                                       ; +0xb, 0x10013da5b\njz      short loc_10013DAA8                                            ; +0xe, 0x10013da5e\nmov     rbx, rdx                                                       ; +0x10, 0x10013da60\nmov     r15, rsi                                                       ; +0x13, 0x10013da63\nmov     r14, rdi                                                       ; +0x16, 0x10013da66\nmov     rdi, [rdi+3000h]                                               ; +0x19, 0x10013da69\ncall    cocos2d__CCDictionary__objectForKey                            ; +0x20, 0x10013da70\ntest    rax, rax                                                       ; +0x25, 0x10013da75\njz      short loc_10013DAA8                                            ; +0x28, 0x10013da78\nmov     r12, rax                                                       ; +0x2a, 0x10013da7a\nmov     rdi, [r14+3038h]                                               ; +0x2d, 0x10013da7d\nmov     rsi, r15                                                       ; +0x34, 0x10013da84\ncall    cocos2d__CCDictionary__objectForKey                            ; +0x37, 0x10013da87\nmov     r15, rax                                                       ; +0x3c, 0x10013da8c\nmov     rax, [rbx]                                                     ; +0x3f, 0x10013da8f\nmov     rdi, rbx                                                       ; +0x42, 0x10013da92\ncall    qword ptr [rax+390h]                                           ; +0x45, 0x10013da95\ntest    eax, eax                                                       ; +0x4b, 0x10013da9b\njz      short loc_10013DAB1                                            ; +0x4d, 0x10013da9d\nmov     rdi, [r14+3008h]                                               ; +0x4f, 0x10013da9f\njmp     short loc_10013DAB4                                            ; +0x56, 0x10013daa6\npop     rbx                                                            ; +0x58, 0x10013daa8\npop     r12                                                            ; +0x59, 0x10013daa9\npop     r14                                                            ; +0x5b, 0x10013daab\npop     r15                                                            ; +0x5d, 0x10013daad\npop     rbp                                                            ; +0x5f, 0x10013daaf\nretn                                                                   ; +0x60, 0x10013dab0\nmov     rdi, r12                                                       ; +0x61, 0x10013dab1\nmov     rsi, rbx                                                       ; +0x64, 0x10013dab4\ncall    sub_1007FEBF0                                                  ; +0x67, 0x10013dab7\nmov     rdi, r15                                                       ; +0x6c, 0x10013dabc\nmov     rsi, rbx                                                       ; +0x6f, 0x10013dabf\nmov     edx, 1                                                         ; +0x72, 0x10013dac2\ncall    sub_1007FF140                                                  ; +0x77, 0x10013dac7\nmov     rdi, rbx                                                       ; +0x7c, 0x10013dacc\ncall    cocos2d__CCParticleSystem__stopSystem                          ; +0x7f, 0x10013dacf\nmov     byte ptr [rbx+2B1h], 1                                         ; +0x84, 0x10013dad4\nmov     rax, [rbx]                                                     ; +0x8b, 0x10013dadb\nmov     rax, [rax+630h]                                                ; +0x8e, 0x10013dade\nmov     rdi, rbx                                                       ; +0x95, 0x10013dae5\nmov     esi, 1                                                         ; +0x98, 0x10013dae8\npop     rbx                                                            ; +0x9d, 0x10013daed\npop     r12                                                            ; +0x9e, 0x10013daee\npop     r14                                                            ; +0xa0, 0x10013daf0\npop     r15                                                            ; +0xa2, 0x10013daf2\npop     rbp                                                            ; +0xa4, 0x10013daf4\njmp     rax                                                            ; +0xa5, 0x10013daf5", "xrefs": ["<???> @ 0x100abb0e0", "<???> @ 0x100ac51a8"], "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"}