{"type": "func", "start": 5373701472, "end": 5373701579, "name": "ObjectControlGameObject::init", "pseudocode": "// \n// ObjectControlGameObject::init from 0x1404c2d60 to 0x1404c2dcb (107 bytes)\n// \n// 4 xrefs:\n// > GameObject::createWithKey @ 0x14018cc9b\n// > GameObject::createWithKey @ 0x14018cc88\n// > <???> @ 0x14061d3a8\n// > <???> @ 0x1406dcf98\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 ObjectControlGameObject::init(ObjectControlGameObject *a1)\n{\n  a1->m_eObjType = GameObjectObjectType;\n  if ( !cocos2d::CCSprite::initWithSpriteFrameName(a1, \"edit_eCollisionStateBtn_001.png\") )\n    return 0;\n  GameObject::commonSetup(a1);\n  a1->m_bUnkBool2 = 0;\n  a1->m_classType = Effect;\n  *(_WORD *)&a1->m_triggerTargetColor.r = -1;\n  a1->m_triggerTargetColor.b = -1;\n  a1->m_duration = 0.5;\n  a1->m_legacyHSV = 1;\n  return 1;\n}", "assembly": "; \n; ObjectControlGameObject::init from 0x1404c2d60 to 0x1404c2dcb (107 bytes)\n; \n; 4 xrefs:\n; > GameObject::createWithKey @ 0x14018cc9b\n; > GameObject::createWithKey @ 0x14018cc88\n; > <???> @ 0x14061d3a8\n; > <???> @ 0x1406dcf98\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\npush    rbx                                                            ; +0x0, 0x1404c2d60\nsub     rsp, 20h                                                       ; +0x2, 0x1404c2d62\nlea     rdx, aEditEcollision_0; \"edit_eCollisionStateBtn_001.png\"      ; +0x6, 0x1404c2d66\nmov     dword ptr [rcx+1Ch], 0Dh                                       ; +0xd, 0x1404c2d6d\nmov     rbx, rcx                                                       ; +0x14, 0x1404c2d74\ncall    cs:__imp_?initWithSpriteFrameName@CCSprite@cocos2d@@UEAA_NPEBD@Z; cocos2d::CCSprite::initWithSpriteFrameName(char const *) ; +0x17, 0x1404c2d77\ntest    al, al                                                         ; +0x1d, 0x1404c2d7d\njz      short loc_1404C2DC3                                            ; +0x1f, 0x1404c2d7f\nmov     rcx, rbx                                                       ; +0x21, 0x1404c2d81\ncall    GameObject__commonSetup                                        ; +0x24, 0x1404c2d84\nmov     byte ptr [rbx+139h], 0                                         ; +0x29, 0x1404c2d89\nmov     al, 1                                                          ; +0x30, 0x1404c2d90\nmov     dword ptr [rbx+4E8h], 1                                        ; +0x32, 0x1404c2d92\nmov     word ptr [rbx+5B9h], 0FFFFh                                    ; +0x3c, 0x1404c2d9c\nmov     byte ptr [rbx+5BBh], 0FFh                                      ; +0x45, 0x1404c2da5\nmov     dword ptr [rbx+5BCh], 3F000000h                                ; +0x4c, 0x1404c2dac\nmov     byte ptr [rbx+674h], 1                                         ; +0x56, 0x1404c2db6\nadd     rsp, 20h                                                       ; +0x5d, 0x1404c2dbd\npop     rbx                                                            ; +0x61, 0x1404c2dc1\nretn                                                                   ; +0x62, 0x1404c2dc2\nxor     al, al                                                         ; +0x63, 0x1404c2dc3\nadd     rsp, 20h                                                       ; +0x65, 0x1404c2dc5\npop     rbx                                                            ; +0x69, 0x1404c2dc9\nretn                                                                   ; +0x6a, 0x1404c2dca", "xrefs": ["GameObject::createWithKey @ 0x14018cc9b", "GameObject::createWithKey @ 0x14018cc88", "<???> @ 0x14061d3a8", "<???> @ 0x1406dcf98"], "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"}