{"type": "func", "start": 5375242304, "end": 5375242421, "name": "GradientTriggerObject::init", "pseudocode": "// \n// GradientTriggerObject::init from 0x14063b040 to 0x14063b0b5 (117 bytes)\n// \n// 4 xrefs:\n// > GameObject::createWithKey @ 0x140289bdf\n// > GameObject::createWithKey @ 0x140289bcc\n// > <???> @ 0x14082d0e8\n// > <???> @ 0x140930e30\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:32 +0000\n// \n\nchar __fastcall GradientTriggerObject::init(__int64 a1)\n{\n  *(_DWORD *)(a1 + 28) = 13;\n  if ( !cocos2d::CCSprite::initWithSpriteFrameName((cocos2d::CCSprite *)a1, \"edit_eGradientBtn_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  *(_DWORD *)(a1 + 1856) = 1;\n  return 1;\n}", "assembly": "; \n; GradientTriggerObject::init from 0x14063b040 to 0x14063b0b5 (117 bytes)\n; \n; 4 xrefs:\n; > GameObject::createWithKey @ 0x140289bdf\n; > GameObject::createWithKey @ 0x140289bcc\n; > <???> @ 0x14082d0e8\n; > <???> @ 0x140930e30\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:32 +0000\n; \npush    rbx                                                            ; +0x0, 0x14063b040\nsub     rsp, 20h                                                       ; +0x2, 0x14063b042\nlea     rdx, aEditEgradientb; \"edit_eGradientBtn_001.png\"              ; +0x6, 0x14063b046\nmov     dword ptr [rcx+1Ch], 0Dh                                       ; +0xd, 0x14063b04d\nmov     rbx, rcx                                                       ; +0x14, 0x14063b054\ncall    cs:__imp_?initWithSpriteFrameName@CCSprite@cocos2d@@UEAA_NPEBD@Z; cocos2d::CCSprite::initWithSpriteFrameName(char const *) ; +0x17, 0x14063b057\ntest    al, al                                                         ; +0x1d, 0x14063b05d\njz      short loc_14063B0AD                                            ; +0x1f, 0x14063b05f\nmov     rcx, rbx                                                       ; +0x21, 0x14063b061\ncall    GameObject__commonSetup                                        ; +0x24, 0x14063b064\nmov     byte ptr [rbx+139h], 0                                         ; +0x29, 0x14063b069\nmov     al, 1                                                          ; +0x30, 0x14063b070\nmov     dword ptr [rbx+4E8h], 1                                        ; +0x32, 0x14063b072\nmov     word ptr [rbx+5B9h], 0FFFFh                                    ; +0x3c, 0x14063b07c\nmov     byte ptr [rbx+5BBh], 0FFh                                      ; +0x45, 0x14063b085\nmov     dword ptr [rbx+5BCh], 3F000000h                                ; +0x4c, 0x14063b08c\nmov     byte ptr [rbx+674h], 1                                         ; +0x56, 0x14063b096\nmov     dword ptr [rbx+740h], 1                                        ; +0x5d, 0x14063b09d\nadd     rsp, 20h                                                       ; +0x67, 0x14063b0a7\npop     rbx                                                            ; +0x6b, 0x14063b0ab\nretn                                                                   ; +0x6c, 0x14063b0ac\nxor     al, al                                                         ; +0x6d, 0x14063b0ad\nadd     rsp, 20h                                                       ; +0x6f, 0x14063b0af\npop     rbx                                                            ; +0x73, 0x14063b0b3\nretn                                                                   ; +0x74, 0x14063b0b4", "xrefs": ["GameObject::createWithKey @ 0x140289bdf", "GameObject::createWithKey @ 0x140289bcc", "<???> @ 0x14082d0e8", "<???> @ 0x140930e30"], "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"}