{"type": "func", "start": 3936916, "end": 3936982, "name": "ExtendedLayer::setPosition", "pseudocode": "// \n// ExtendedLayer::setPosition from 0x3c1294 to 0x3c12d6 (66 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:46:31 +0000\n// \n\nint __fastcall ExtendedLayer::setPosition(ExtendedLayer *this, const cocos2d::CCPoint *a2, int a3, int a4)\n{\n  int result; // r0\n  int v7; // r5\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(this, a2);\n  v7 = *((_DWORD *)this + 79);\n  if ( v7 )\n  {\n    v8 = *(int (__fastcall **)(int, _DWORD *))(*(_DWORD *)v7 + 8);\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, a2);\n    return v8(v7, v9);\n  }\n  return result;\n}", "assembly": "; \n; ExtendedLayer::setPosition from 0x3c1294 to 0x3c12d6 (66 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:46:31 +0000\n; \nPUSH.W          {R0-R8,LR}                                             ; +0x0, 0x3c1294\nMOV             R5, R0                                                 ; +0x4, 0x3c1298\nLDR             R4, =(__stack_chk_guard_ptr - 0x3C12A2)                ; +0x6, 0x3c129a\nMOV             R8, R1                                                 ; +0x8, 0x3c129c\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xa, 0x3c129e\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xc, 0x3c12a0\nLDR             R3, [R4]                                               ; +0xe, 0x3c12a2\nSTR             R3, [SP,#0x10+var_4]                                   ; +0x10, 0x3c12a4\nBL              _ZN7cocos2d6CCNode11setPositionERKNS_7CCPointE; cocos2d::CCNode::setPosition(cocos2d::CCPoint const&) ; +0x12, 0x3c12a6\nLDR.W           R5, [R5,#0x13C]                                        ; +0x16, 0x3c12aa\nCBZ             R5, loc_3C12C4                                         ; +0x1a, 0x3c12ae\nLDR             R3, [R5]                                               ; +0x1c, 0x3c12b0\nADD             R6, SP, #0x10+var_C                                    ; +0x1e, 0x3c12b2\nMOV             R1, R8; cocos2d::CCPoint *                             ; +0x20, 0x3c12b4\nMOV             R0, R6; this                                           ; +0x22, 0x3c12b6\nLDR             R7, [R3,#8]                                            ; +0x24, 0x3c12b8\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x26, 0x3c12ba\nMOV             R0, R5                                                 ; +0x2a, 0x3c12be\nMOV             R1, R6                                                 ; +0x2c, 0x3c12c0\nBLX             R7                                                     ; +0x2e, 0x3c12c2\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x30, 0x3c12c4\nLDR             R3, [R4]                                               ; +0x32, 0x3c12c6\nCMP             R2, R3                                                 ; +0x34, 0x3c12c8\nBEQ             loc_3C12D0                                             ; +0x36, 0x3c12ca\nBLX             __stack_chk_fail                                       ; +0x38, 0x3c12cc\nADD             SP, SP, #0x10                                          ; +0x3c, 0x3c12d0\nPOP.W           {R4-R8,PC}                                             ; +0x3e, 0x3c12d2", "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"}