{"type": "func", "start": 5375408416, "end": 5375408523, "name": "ObjectControlGameObject::init", "pseudocode": "// \n// ObjectControlGameObject::init from 0x140663920 to 0x14066398b (107 bytes)\n// \n// 4 xrefs:\n// > GameObject::createWithKey @ 0x140289ddb\n// > GameObject::createWithKey @ 0x140289dc8\n// > <???> @ 0x14082f488\n// > <???> @ 0x140931c34\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:49 +0000\n// \n\nchar __fastcall ObjectControlGameObject::init(__int64 a1)\n{\n  *(_DWORD *)(a1 + 28) = 13;\n  if ( !cocos2d::CCSprite::initWithSpriteFrameName((cocos2d::CCSprite *)a1, \"edit_eCollisionStateBtn_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; ObjectControlGameObject::init from 0x140663920 to 0x14066398b (107 bytes)\n; \n; 4 xrefs:\n; > GameObject::createWithKey @ 0x140289ddb\n; > GameObject::createWithKey @ 0x140289dc8\n; > <???> @ 0x14082f488\n; > <???> @ 0x140931c34\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:49 +0000\n; \npush    rbx                                                            ; +0x0, 0x140663920\nsub     rsp, 20h                                                       ; +0x2, 0x140663922\nlea     rdx, aEditEcollision_0; \"edit_eCollisionStateBtn_001.png\"      ; +0x6, 0x140663926\nmov     dword ptr [rcx+1Ch], 0Dh                                       ; +0xd, 0x14066392d\nmov     rbx, rcx                                                       ; +0x14, 0x140663934\ncall    cs:__imp_?initWithSpriteFrameName@CCSprite@cocos2d@@UEAA_NPEBD@Z; cocos2d::CCSprite::initWithSpriteFrameName(char const *) ; +0x17, 0x140663937\ntest    al, al                                                         ; +0x1d, 0x14066393d\njz      short loc_140663983                                            ; +0x1f, 0x14066393f\nmov     rcx, rbx                                                       ; +0x21, 0x140663941\ncall    GameObject__commonSetup                                        ; +0x24, 0x140663944\nmov     byte ptr [rbx+139h], 0                                         ; +0x29, 0x140663949\nmov     al, 1                                                          ; +0x30, 0x140663950\nmov     dword ptr [rbx+4E8h], 1                                        ; +0x32, 0x140663952\nmov     word ptr [rbx+5B9h], 0FFFFh                                    ; +0x3c, 0x14066395c\nmov     byte ptr [rbx+5BBh], 0FFh                                      ; +0x45, 0x140663965\nmov     dword ptr [rbx+5BCh], 3F000000h                                ; +0x4c, 0x14066396c\nmov     byte ptr [rbx+674h], 1                                         ; +0x56, 0x140663976\nadd     rsp, 20h                                                       ; +0x5d, 0x14066397d\npop     rbx                                                            ; +0x61, 0x140663981\nretn                                                                   ; +0x62, 0x140663982\nxor     al, al                                                         ; +0x63, 0x140663983\nadd     rsp, 20h                                                       ; +0x65, 0x140663985\npop     rbx                                                            ; +0x69, 0x140663989\nretn                                                                   ; +0x6a, 0x14066398a", "xrefs": ["GameObject::createWithKey @ 0x140289ddb", "GameObject::createWithKey @ 0x140289dc8", "<???> @ 0x14082f488", "<???> @ 0x140931c34"], "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"}