{"type": "func", "start": 5374766064, "end": 5374766202, "name": "CreateParticlePopup::onQuickStart", "pseudocode": "// \n// CreateParticlePopup::onQuickStart from 0x1405c6bf0 to 0x1405c6c7a (138 bytes)\n// \n// 4 xrefs:\n// > CreateParticlePopup::init @ 0x1405c5342\n// > <???> @ 0x1408e0898\n// > <???> @ 0x1408e08a8\n// > <???> @ 0x14092e238\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:34:51 +0000\n// \n\nchar __fastcall CreateParticlePopup::onQuickStart(__int64 a1)\n{\n  unsigned int v2; // eax\n  __int64 v3; // rcx\n  cocos2d::CCArray *v4; // rcx\n  unsigned int v5; // edi\n  struct cocos2d::CCObject *v6; // rax\n\n  LOBYTE(v2) = *(_BYTE *)(a1 + 1003) == 0;\n  *(_BYTE *)(a1 + 1003) = v2;\n  v3 = *(_QWORD *)(a1 + 680);\n  if ( v3 )\n  {\n    *(_BYTE *)(v3 + 1808) = v2;\n  }\n  else\n  {\n    v4 = *(cocos2d::CCArray **)(a1 + 688);\n    if ( v4 )\n    {\n      v5 = 0;\n      v2 = cocos2d::CCArray::count(v4);\n      if ( v2 )\n      {\n        do\n        {\n          v6 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 688), v5++);\n          *((_BYTE *)v6 + 1808) = *(_BYTE *)(a1 + 1003);\n          v2 = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 688));\n        }\n        while ( v5 < v2 );\n      }\n    }\n  }\n  return v2;\n}", "assembly": "; \n; CreateParticlePopup::onQuickStart from 0x1405c6bf0 to 0x1405c6c7a (138 bytes)\n; \n; 4 xrefs:\n; > CreateParticlePopup::init @ 0x1405c5342\n; > <???> @ 0x1408e0898\n; > <???> @ 0x1408e08a8\n; > <???> @ 0x14092e238\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:34:51 +0000\n; \npush    rbx                                                            ; +0x0, 0x1405c6bf0\nsub     rsp, 20h                                                       ; +0x2, 0x1405c6bf2\ncmp     byte ptr [rcx+3EBh], 0                                         ; +0x6, 0x1405c6bf6\nmov     rbx, rcx                                                       ; +0xd, 0x1405c6bfd\nsetz    al                                                             ; +0x10, 0x1405c6c00\nmov     [rcx+3EBh], al                                                 ; +0x13, 0x1405c6c03\nmov     rcx, [rcx+2A8h]                                                ; +0x19, 0x1405c6c09\ntest    rcx, rcx                                                       ; +0x20, 0x1405c6c10\njz      short loc_1405C6C21                                            ; +0x23, 0x1405c6c13\nmov     [rcx+710h], al                                                 ; +0x25, 0x1405c6c15\nadd     rsp, 20h                                                       ; +0x2b, 0x1405c6c1b\npop     rbx                                                            ; +0x2f, 0x1405c6c1f\nretn                                                                   ; +0x30, 0x1405c6c20\nmov     rcx, [rbx+2B0h]                                                ; +0x31, 0x1405c6c21\ntest    rcx, rcx                                                       ; +0x38, 0x1405c6c28\njz      short loc_1405C6C74                                            ; +0x3b, 0x1405c6c2b\nmov     [rsp+28h+arg_0], rdi                                           ; +0x3d, 0x1405c6c2d\nxor     edi, edi                                                       ; +0x42, 0x1405c6c32\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x44, 0x1405c6c34\ntest    eax, eax                                                       ; +0x4a, 0x1405c6c3a\njz      short loc_1405C6C6F                                            ; +0x4c, 0x1405c6c3c\nxchg    ax, ax                                                         ; +0x4e, 0x1405c6c3e\nmov     rcx, [rbx+2B0h]                                                ; +0x50, 0x1405c6c40\nmov     edx, edi                                                       ; +0x57, 0x1405c6c47\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x59, 0x1405c6c49\nmovzx   ecx, byte ptr [rbx+3EBh]                                       ; +0x5f, 0x1405c6c4f\ninc     edi                                                            ; +0x66, 0x1405c6c56\nmov     [rax+710h], cl                                                 ; +0x68, 0x1405c6c58\nmov     rcx, [rbx+2B0h]                                                ; +0x6e, 0x1405c6c5e\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x75, 0x1405c6c65\ncmp     edi, eax                                                       ; +0x7b, 0x1405c6c6b\njb      short loc_1405C6C40                                            ; +0x7d, 0x1405c6c6d\nmov     rdi, [rsp+28h+arg_0]                                           ; +0x7f, 0x1405c6c6f\nadd     rsp, 20h                                                       ; +0x84, 0x1405c6c74\npop     rbx                                                            ; +0x88, 0x1405c6c78\nretn                                                                   ; +0x89, 0x1405c6c79", "xrefs": ["CreateParticlePopup::init @ 0x1405c5342", "<???> @ 0x1408e0898", "<???> @ 0x1408e08a8", "<???> @ 0x14092e238"], "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"}