{"type": "func", "start": 7754620, "end": 7754652, "name": "ControllerInputNode::setController2", "pseudocode": "// \n// ControllerInputNode::setController2 from 0x76537c to 0x76539c (32 bytes)\n// \n// 3 xrefs:\n// > KeybindCapturePopup::init @ 0x79af96\n// > KeybindCapturePopup::onToggleController @ 0x79b2d6\n// > KeybindCapturePopup::keyDown @ 0x79b3c8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:07 +0000\n// \n\nint __fastcall ControllerInputNode::setController2(ControllerInputNode *this, int a2)\n{\n  int v2; // r0\n  void *v3; // r1\n\n  *((_BYTE *)this + 268) = a2;\n  v2 = *((_DWORD *)this + 70);\n  if ( a2 )\n    v3 = &unk_BF09BC;\n  else\n    v3 = &unk_BF09BF;\n  return (*(int (__fastcall **)(int, void *))(*(_DWORD *)v2 + 480))(v2, v3);\n}", "assembly": "; \n; ControllerInputNode::setController2 from 0x76537c to 0x76539c (32 bytes)\n; \n; 3 xrefs:\n; > KeybindCapturePopup::init @ 0x79af96\n; > KeybindCapturePopup::onToggleController @ 0x79b2d6\n; > KeybindCapturePopup::keyDown @ 0x79b3c8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:07 +0000\n; \nSTRB.W          R1, [R0,#0x10C]                                        ; +0x0, 0x76537c\nLDR.W           R0, [R0,#0x118]                                        ; +0x4, 0x765380\nLDR             R3, [R0]                                               ; +0x8, 0x765384\nLDR.W           R3, [R3,#0x1E0]                                        ; +0xa, 0x765386\nCBNZ            R1, loc_765394                                         ; +0xe, 0x76538a\nLDR             R1, =(byte_BF09A4 - 0x765392)                          ; +0x10, 0x76538c\nADD             R1, PC; byte_BF09A4                                    ; +0x12, 0x76538e\nADDS            R1, #(unk_BF09BF - 0xBF09A4)                           ; +0x14, 0x765390\nB               loc_76539A                                             ; +0x16, 0x765392\nLDR             R1, =(byte_BF09A4 - 0x76539A)                          ; +0x18, 0x765394\nADD             R1, PC; byte_BF09A4                                    ; +0x1a, 0x765396\nADDS            R1, #(unk_BF09BC - 0xBF09A4)                           ; +0x1c, 0x765398\nBX              R3                                                     ; +0x1e, 0x76539a", "xrefs": ["KeybindCapturePopup::init @ 0x79af96", "KeybindCapturePopup::onToggleController @ 0x79b2d6", "KeybindCapturePopup::keyDown @ 0x79b3c8"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}