{"type": "func", "start": 4297075052, "end": 4297075220, "name": "GJBaseGameLayer::removeTemporaryParticles", "pseudocode": "// \n// GJBaseGameLayer::removeTemporaryParticles from 0x10020296c to 0x100202a14 (168 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::resetLevelVariables @ 0x10020230c\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\nvoid __fastcall GJBaseGameLayer::removeTemporaryParticles(GJBaseGameLayer *a1)\n{\n  __int64 v2; // x20\n  _DWORD *v3; // x21\n  int v4; // [xsp+Ch] [xbp-24h] BYREF\n\n  if ( (unsigned int)sub_10024A36C(a1->m_temporaryParticles) )\n  {\n    v2 = 0;\n    do\n    {\n      v3 = (_DWORD *)sub_10024A388(a1->m_temporaryParticles, v2);\n      if ( (*(unsigned int (__fastcall **)(_DWORD *))(*(_QWORD *)v3 + 1560LL))(v3) )\n      {\n        (*(void (__fastcall **)(_DWORD *))(*(_QWORD *)v3 + 520LL))(v3);\n        v4 = v3[2];\n        sub_10001B104(&a1->m_customParticlesUIDs.__table_.__bucket_list_.__ptr_.__value_, &v4);\n        sub_10024A464(a1->m_temporaryParticles, v2);\n      }\n      else\n      {\n        v2 = (unsigned int)(v2 + 1);\n      }\n    }\n    while ( (unsigned int)v2 < (unsigned int)sub_10024A36C(a1->m_temporaryParticles) );\n  }\n}", "assembly": "; \n; GJBaseGameLayer::removeTemporaryParticles from 0x10020296c to 0x100202a14 (168 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::resetLevelVariables @ 0x10020230c\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\nSUB             SP, SP, #0x40                                          ; +0x0, 0x10020296c\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x100202970\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x100202974\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x100202978\nADD             X29, SP, #0x30                                         ; +0x10, 0x10020297c\nMOV             X19, X0                                                ; +0x14, 0x100202980\nLDR             X0, [X0,#0x2FC8]                                       ; +0x18, 0x100202984\nBL              sub_10024A36C                                          ; +0x1c, 0x100202988\nCBZ             W0, loc_100202A00                                      ; +0x20, 0x10020298c\nMOV             W20, #0                                                ; +0x24, 0x100202990\nMOV             W22, #0x2FD0                                           ; +0x28, 0x100202994\nLDR             X0, [X19,#0x2FC8]                                      ; +0x2c, 0x100202998\nMOV             X1, X20                                                ; +0x30, 0x10020299c\nBL              sub_10024A388                                          ; +0x34, 0x1002029a0\nMOV             X21, X0                                                ; +0x38, 0x1002029a4\nLDR             X8, [X0]                                               ; +0x3c, 0x1002029a8\nLDR             X8, [X8,#0x618]                                        ; +0x40, 0x1002029ac\nBLR             X8                                                     ; +0x44, 0x1002029b0\nCBZ             W0, loc_1002029EC                                      ; +0x48, 0x1002029b4\nLDR             X8, [X21]                                              ; +0x4c, 0x1002029b8\nLDR             X8, [X8,#0x208]                                        ; +0x50, 0x1002029bc\nMOV             X0, X21                                                ; +0x54, 0x1002029c0\nBLR             X8                                                     ; +0x58, 0x1002029c4\nLDR             W8, [X21,#8]                                           ; +0x5c, 0x1002029c8\nSTR             W8, [SP,#0x30+var_24]                                  ; +0x60, 0x1002029cc\nADD             X0, X19, X22                                           ; +0x64, 0x1002029d0\nADD             X1, SP, #0x30+var_24                                   ; +0x68, 0x1002029d4\nBL              sub_10001B104                                          ; +0x6c, 0x1002029d8\nLDR             X0, [X19,#0x2FC8]                                      ; +0x70, 0x1002029dc\nMOV             X1, X20                                                ; +0x74, 0x1002029e0\nBL              sub_10024A464                                          ; +0x78, 0x1002029e4\nB               loc_1002029F0                                          ; +0x7c, 0x1002029e8\nADD             W20, W20, #1                                           ; +0x80, 0x1002029ec\nLDR             X0, [X19,#0x2FC8]                                      ; +0x84, 0x1002029f0\nBL              sub_10024A36C                                          ; +0x88, 0x1002029f4\nCMP             W20, W0                                                ; +0x8c, 0x1002029f8\nB.CC            loc_100202998                                          ; +0x90, 0x1002029fc\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x94, 0x100202a00\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x98, 0x100202a04\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x9c, 0x100202a08\nADD             SP, SP, #0x40 ; '@'                                    ; +0xa0, 0x100202a0c\nRET                                                                    ; +0xa4, 0x100202a10", "xrefs": ["GJBaseGameLayer::resetLevelVariables @ 0x10020230c"], "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"}