{"type": "func", "start": 5375367472, "end": 5375367579, "name": "EventLinkTrigger::init", "pseudocode": "// \n// EventLinkTrigger::init from 0x140659930 to 0x14065999b (107 bytes)\n// \n// 5 xrefs:\n// > GameObject::createWithKey @ 0x14028a166\n// > GameObject::createWithKey @ 0x14028a153\n// > <???> @ 0x1408310d0\n// > <???> @ 0x140931868\n// > <???> @ 0x140931874\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:35:46 +0000\n// \n\nchar __fastcall EventLinkTrigger::init(__int64 a1)\n{\n  *(_DWORD *)(a1 + 28) = 13;\n  if ( !cocos2d::CCSprite::initWithSpriteFrameName((cocos2d::CCSprite *)a1, \"edit_eEventLinkBtn_001.png\") )\n    return 0;\n  GameObject::commonSetup(a1);\n  *(_BYTE *)(a1 + 313) = 0;\n  *(_DWORD *)(a1 + 1256) = 1;\n  *(_WORD *)(a1 + 1465) = -1;\n  *(_BYTE *)(a1 + 1467) = -1;\n  *(_DWORD *)(a1 + 1468) = 1056964608;\n  *(_BYTE *)(a1 + 1652) = 1;\n  return 1;\n}", "assembly": "; \n; EventLinkTrigger::init from 0x140659930 to 0x14065999b (107 bytes)\n; \n; 5 xrefs:\n; > GameObject::createWithKey @ 0x14028a166\n; > GameObject::createWithKey @ 0x14028a153\n; > <???> @ 0x1408310d0\n; > <???> @ 0x140931868\n; > <???> @ 0x140931874\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:35:46 +0000\n; \npush    rbx                                                            ; +0x0, 0x140659930\nsub     rsp, 20h                                                       ; +0x2, 0x140659932\nlea     rdx, aEditEeventlink; \"edit_eEventLinkBtn_001.png\"             ; +0x6, 0x140659936\nmov     dword ptr [rcx+1Ch], 0Dh                                       ; +0xd, 0x14065993d\nmov     rbx, rcx                                                       ; +0x14, 0x140659944\ncall    cs:__imp_?initWithSpriteFrameName@CCSprite@cocos2d@@UEAA_NPEBD@Z; cocos2d::CCSprite::initWithSpriteFrameName(char const *) ; +0x17, 0x140659947\ntest    al, al                                                         ; +0x1d, 0x14065994d\njz      short loc_140659993                                            ; +0x1f, 0x14065994f\nmov     rcx, rbx                                                       ; +0x21, 0x140659951\ncall    GameObject__commonSetup                                        ; +0x24, 0x140659954\nmov     byte ptr [rbx+139h], 0                                         ; +0x29, 0x140659959\nmov     al, 1                                                          ; +0x30, 0x140659960\nmov     dword ptr [rbx+4E8h], 1                                        ; +0x32, 0x140659962\nmov     word ptr [rbx+5B9h], 0FFFFh                                    ; +0x3c, 0x14065996c\nmov     byte ptr [rbx+5BBh], 0FFh                                      ; +0x45, 0x140659975\nmov     dword ptr [rbx+5BCh], 3F000000h                                ; +0x4c, 0x14065997c\nmov     byte ptr [rbx+674h], 1                                         ; +0x56, 0x140659986\nadd     rsp, 20h                                                       ; +0x5d, 0x14065998d\npop     rbx                                                            ; +0x61, 0x140659991\nretn                                                                   ; +0x62, 0x140659992\nxor     al, al                                                         ; +0x63, 0x140659993\nadd     rsp, 20h                                                       ; +0x65, 0x140659995\npop     rbx                                                            ; +0x69, 0x140659999\nretn                                                                   ; +0x6a, 0x14065999a", "xrefs": ["GameObject::createWithKey @ 0x14028a166", "GameObject::createWithKey @ 0x14028a153", "<???> @ 0x1408310d0", "<???> @ 0x140931868", "<???> @ 0x140931874"], "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"}