{"type": "func", "start": 4298068276, "end": 4298068368, "name": "GhostTrailEffect::init", "pseudocode": "// \n// GhostTrailEffect::init from 0x1002f5134 to 0x1002f5190 (92 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1007e8c90\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\nbool __fastcall GhostTrailEffect::init(GhostTrailEffect *a1)\n{\n  ((void (__fastcall *)(GhostTrailEffect *, _QWORD))a1->setVisible)(a1, 0);\n  a1->m_blendFunc = (cocos2d::ccBlendFunc)0x30300000001LL;\n  a1->m_color.b = -1;\n  *(_WORD *)&a1->m_color.r = -1;\n  a1->m_opacity = 255.0;\n  a1->m_playerScale = 1.0;\n  return 1;\n}", "assembly": "; \n; GhostTrailEffect::init from 0x1002f5134 to 0x1002f5190 (92 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1007e8c90\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1002f5134\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002f5138\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002f513c\nMOV             X19, X0                                                ; +0xc, 0x1002f5140\nLDR             X8, [X0]                                               ; +0x10, 0x1002f5144\nLDR             X8, [X8,#0x148]                                        ; +0x14, 0x1002f5148\nMOV             W1, #0                                                 ; +0x18, 0x1002f514c\nBLR             X8                                                     ; +0x1c, 0x1002f5150\nADRP            X8, #qword_1006359C8@PAGE                              ; +0x20, 0x1002f5154\nLDR             D0, [X8,#qword_1006359C8@PAGEOFF]                      ; +0x24, 0x1002f5158\nSTR             D0, [X19,#0x150]                                       ; +0x28, 0x1002f515c\nMOV             W8, #0xFF                                              ; +0x2c, 0x1002f5160\nSTRB            W8, [X19,#0x182]                                       ; +0x30, 0x1002f5164\nMOV             W8, #0xFFFF                                            ; +0x34, 0x1002f5168\nSTRH            W8, [X19,#0x180]                                       ; +0x38, 0x1002f516c\nMOV             W8, #0x437F0000                                        ; +0x3c, 0x1002f5170\nSTR             W8, [X19,#0x170]                                       ; +0x40, 0x1002f5174\nMOV             W8, #0x3F800000                                        ; +0x44, 0x1002f5178\nSTR             W8, [X19,#0x14C]                                       ; +0x48, 0x1002f517c\nMOV             W0, #1                                                 ; +0x4c, 0x1002f5180\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x50, 0x1002f5184\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x54, 0x1002f5188\nRET                                                                    ; +0x58, 0x1002f518c", "xrefs": ["<???> @ 0x1007e8c90"], "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"}