{"type": "func", "start": 4297202936, "end": 4297203040, "name": "CCContentLayer::setPosition", "pseudocode": "// \n// CCContentLayer::setPosition from 0x100221cf8 to 0x100221d60 (104 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008fcf18\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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:01:08 +0000\n// \n\n__int64 __fastcall CCContentLayer::setPosition(__int64 a1, __int64 a2)\n{\n  __int64 result; // x0\n  __int64 v4; // x19\n  __int64 v5; // x20\n  _QWORD *v6; // x0\n\n  cocos2d::CCNode::setPosition_1(a1, a2);\n  result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 488LL))(a1);\n  if ( result )\n  {\n    v4 = result;\n    result = sub_1002E757C(result);\n    if ( (_DWORD)result )\n    {\n      v5 = 0;\n      do\n      {\n        v6 = (_QWORD *)sub_1002E75A0(v4, v5);\n        sub_1000379B8(v6);\n        v5 = (unsigned int)(v5 + 1);\n        result = sub_1002E757C(v4);\n      }\n      while ( (unsigned int)v5 < (unsigned int)result );\n    }\n  }\n  return result;\n}", "assembly": "; \n; CCContentLayer::setPosition from 0x100221cf8 to 0x100221d60 (104 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008fcf18\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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:01:08 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100221cf8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100221cfc\nADD             X29, SP, #0x10                                         ; +0x8, 0x100221d00\nMOV             X19, X0                                                ; +0xc, 0x100221d04\nBL              cocos2d__CCNode__setPosition_1                         ; +0x10, 0x100221d08\nLDR             X8, [X19]                                              ; +0x14, 0x100221d0c\nLDR             X8, [X8,#0x1E8]                                        ; +0x18, 0x100221d10\nMOV             X0, X19                                                ; +0x1c, 0x100221d14\nBLR             X8                                                     ; +0x20, 0x100221d18\nCBZ             X0, loc_100221D54                                      ; +0x24, 0x100221d1c\nMOV             X19, X0                                                ; +0x28, 0x100221d20\nBL              sub_1002E757C                                          ; +0x2c, 0x100221d24\nCBZ             W0, loc_100221D54                                      ; +0x30, 0x100221d28\nMOV             W20, #0                                                ; +0x34, 0x100221d2c\nMOV             X0, X19                                                ; +0x38, 0x100221d30\nMOV             X1, X20                                                ; +0x3c, 0x100221d34\nBL              sub_1002E75A0                                          ; +0x40, 0x100221d38\nBL              sub_1000379B8                                          ; +0x44, 0x100221d3c\nADD             W20, W20, #1                                           ; +0x48, 0x100221d40\nMOV             X0, X19                                                ; +0x4c, 0x100221d44\nBL              sub_1002E757C                                          ; +0x50, 0x100221d48\nCMP             W20, W0                                                ; +0x54, 0x100221d4c\nB.CC            loc_100221D30                                          ; +0x58, 0x100221d50\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x5c, 0x100221d54\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x60, 0x100221d58\nRET                                                                    ; +0x64, 0x100221d5c", "xrefs": ["<???> @ 0x1008fcf18"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}