{"type": "func", "start": 7826984, "end": 7827056, "name": "Dropdown::setPosition", "pseudocode": "// \n// Dropdown::setPosition from 0x776e28 to 0x776e70 (72 bytes)\n// \n// 0 xrefs:\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:20 +0000\n// \n\nint __fastcall Dropdown::setPosition(const cocos2d::CCPoint **this, const cocos2d::CCPoint *a2, int a3, int a4)\n{\n  int result; // r0\n  int v6; // r5\n  const cocos2d::CCPoint *v7; // r1\n  int (__fastcall *v8)(int, _DWORD *); // r7\n  _DWORD v9[3]; // [sp+4h] [bp-Ch] BYREF\n\n  v9[0] = a2;\n  v9[1] = a3;\n  v9[2] = a4;\n  result = cocos2d::CCNode::setPosition((cocos2d::CCNode *)this, a2);\n  v6 = (int)*(this + 76);\n  if ( v6 )\n  {\n    v7 = *(this + 68);\n    if ( v7 )\n    {\n      v8 = *(int (__fastcall **)(int, _DWORD *))(*(_DWORD *)v6 + 92);\n      cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v9, v7);\n      return v8(v6, v9);\n    }\n  }\n  return result;\n}", "assembly": "; \n; Dropdown::setPosition from 0x776e28 to 0x776e70 (72 bytes)\n; \n; 0 xrefs:\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:20 +0000\n; \nPUSH.W          {R0-R8,LR}                                             ; +0x0, 0x776e28\nMOV             R6, R0                                                 ; +0x4, 0x776e2c\nLDR             R4, =(__stack_chk_guard_ptr - 0x776E36)                ; +0x6, 0x776e2e\nMOV             R8, R1                                                 ; +0x8, 0x776e30\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xa, 0x776e32\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xc, 0x776e34\nLDR             R3, [R4]                                               ; +0xe, 0x776e36\nSTR             R3, [SP,#0x10+var_4]                                   ; +0x10, 0x776e38\nBL              _ZN7cocos2d6CCNode11setPositionERKNS_7CCPointE; cocos2d::CCNode::setPosition(cocos2d::CCPoint const&) ; +0x12, 0x776e3a\nLDR.W           R5, [R6,#0x130]                                        ; +0x16, 0x776e3e\nCBZ             R5, loc_776E5E                                         ; +0x1a, 0x776e42\nLDR.W           R1, [R6,#0x110]; cocos2d::CCPoint *                    ; +0x1c, 0x776e44\nCBZ             R1, loc_776E5E                                         ; +0x20, 0x776e48\nLDR             R3, [R5]                                               ; +0x22, 0x776e4a\nADD             R6, SP, #0x10+var_C                                    ; +0x24, 0x776e4c\nMOV             R2, R8                                                 ; +0x26, 0x776e4e\nMOV             R0, R6; this                                           ; +0x28, 0x776e50\nLDR             R7, [R3,#0x5C]                                         ; +0x2a, 0x776e52\nBL              _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0x2c, 0x776e54\nMOV             R0, R5                                                 ; +0x30, 0x776e58\nMOV             R1, R6                                                 ; +0x32, 0x776e5a\nBLX             R7                                                     ; +0x34, 0x776e5c\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x36, 0x776e5e\nLDR             R3, [R4]                                               ; +0x38, 0x776e60\nCMP             R2, R3                                                 ; +0x3a, 0x776e62\nBEQ             loc_776E6A                                             ; +0x3c, 0x776e64\nBLX             __stack_chk_fail                                       ; +0x3e, 0x776e66\nADD             SP, SP, #0x10                                          ; +0x42, 0x776e6a\nPOP.W           {R4-R8,PC}                                             ; +0x44, 0x776e6c", "xrefs": [], "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"}