{"type": "func", "start": 5373700016, "end": 5373700123, "name": "PlayerControlGameObject::init", "pseudocode": "// \n// PlayerControlGameObject::init from 0x1404c27b0 to 0x1404c281b (107 bytes)\n// \n// 6 xrefs:\n// > GameObject::createWithKey @ 0x14018bf4f\n// > GameObject::createWithKey @ 0x14018bf56\n// > GameObject::createWithKey @ 0x14018bf40\n// > <???> @ 0x1406195b8\n// > <???> @ 0x1406dcf68\n// > <???> @ 0x1406dcf74\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 PlayerControlGameObject::init(PlayerControlGameObject *a1)\n{\n  a1->m_eObjType = GameObjectObjectType;\n  if ( !cocos2d::CCSprite::initWithSpriteFrameName(a1, \"edit_ePlayerControlBtn_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; PlayerControlGameObject::init from 0x1404c27b0 to 0x1404c281b (107 bytes)\n; \n; 6 xrefs:\n; > GameObject::createWithKey @ 0x14018bf4f\n; > GameObject::createWithKey @ 0x14018bf56\n; > GameObject::createWithKey @ 0x14018bf40\n; > <???> @ 0x1406195b8\n; > <???> @ 0x1406dcf68\n; > <???> @ 0x1406dcf74\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, 0x1404c27b0\nsub     rsp, 20h                                                       ; +0x2, 0x1404c27b2\nlea     rdx, aEditEplayercon; \"edit_ePlayerControlBtn_001.png\"         ; +0x6, 0x1404c27b6\nmov     dword ptr [rcx+1Ch], 0Dh                                       ; +0xd, 0x1404c27bd\nmov     rbx, rcx                                                       ; +0x14, 0x1404c27c4\ncall    cs:__imp_?initWithSpriteFrameName@CCSprite@cocos2d@@UEAA_NPEBD@Z; cocos2d::CCSprite::initWithSpriteFrameName(char const *) ; +0x17, 0x1404c27c7\ntest    al, al                                                         ; +0x1d, 0x1404c27cd\njz      short loc_1404C2813                                            ; +0x1f, 0x1404c27cf\nmov     rcx, rbx                                                       ; +0x21, 0x1404c27d1\ncall    GameObject__commonSetup                                        ; +0x24, 0x1404c27d4\nmov     byte ptr [rbx+139h], 0                                         ; +0x29, 0x1404c27d9\nmov     al, 1                                                          ; +0x30, 0x1404c27e0\nmov     dword ptr [rbx+4E8h], 1                                        ; +0x32, 0x1404c27e2\nmov     word ptr [rbx+5B9h], 0FFFFh                                    ; +0x3c, 0x1404c27ec\nmov     byte ptr [rbx+5BBh], 0FFh                                      ; +0x45, 0x1404c27f5\nmov     dword ptr [rbx+5BCh], 3F000000h                                ; +0x4c, 0x1404c27fc\nmov     byte ptr [rbx+674h], 1                                         ; +0x56, 0x1404c2806\nadd     rsp, 20h                                                       ; +0x5d, 0x1404c280d\npop     rbx                                                            ; +0x61, 0x1404c2811\nretn                                                                   ; +0x62, 0x1404c2812\nxor     al, al                                                         ; +0x63, 0x1404c2813\nadd     rsp, 20h                                                       ; +0x65, 0x1404c2815\npop     rbx                                                            ; +0x69, 0x1404c2819\nretn                                                                   ; +0x6a, 0x1404c281a", "xrefs": ["GameObject::createWithKey @ 0x14018bf4f", "GameObject::createWithKey @ 0x14018bf56", "GameObject::createWithKey @ 0x14018bf40", "<???> @ 0x1406195b8", "<???> @ 0x1406dcf68", "<???> @ 0x1406dcf74"], "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"}