{"type": "func", "start": 4297666308, "end": 4297666408, "name": "GJBaseGameLayer::prepareTransformParent", "pseudocode": "// \n// GJBaseGameLayer::prepareTransformParent from 0x100292f04 to 0x100292f68 (100 bytes)\n// \n// 5 xrefs:\n// > GJBaseGameLayer::transformAreaObjects @ 0x100292b48\n// > GJBaseGameLayer::rotateAreaObjects @ 0x100293054\n// > GJBaseGameLayer::processTransformActions @ 0x100293bc8\n// > GJBaseGameLayer::processRotationActions @ 0x100294438\n// > GJBaseGameLayer::rotateObjects @ 0x100295228\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:02:04 +0000\n// \n\n_DWORD *__fastcall GJBaseGameLayer::prepareTransformParent(__int64 a1, int a2)\n{\n  __int64 v4; // x8\n\n  cocos2d::CCObject::retain(*(_QWORD *)(a1 + 2072));\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 2072) + 528LL))(*(_QWORD *)(a1 + 2072), 0);\n  v4 = 2040;\n  if ( a2 )\n    v4 = 2064;\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + v4) + 456LL))(\n    *(_QWORD *)(a1 + v4),\n    *(_QWORD *)(a1 + 2072));\n  return cocos2d::CCObject::release(*(_DWORD **)(a1 + 2072));\n}", "assembly": "; \n; GJBaseGameLayer::prepareTransformParent from 0x100292f04 to 0x100292f68 (100 bytes)\n; \n; 5 xrefs:\n; > GJBaseGameLayer::transformAreaObjects @ 0x100292b48\n; > GJBaseGameLayer::rotateAreaObjects @ 0x100293054\n; > GJBaseGameLayer::processTransformActions @ 0x100293bc8\n; > GJBaseGameLayer::processRotationActions @ 0x100294438\n; > GJBaseGameLayer::rotateObjects @ 0x100295228\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:02:04 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100292f04\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100292f08\nADD             X29, SP, #0x10                                         ; +0x8, 0x100292f0c\nMOV             X19, X1                                                ; +0xc, 0x100292f10\nMOV             X20, X0                                                ; +0x10, 0x100292f14\nLDR             X0, [X0,#0x818]                                        ; +0x14, 0x100292f18\nBL              cocos2d__CCObject__retain                              ; +0x18, 0x100292f1c\nLDR             X0, [X20,#0x818]                                       ; +0x1c, 0x100292f20\nLDR             X8, [X0]                                               ; +0x20, 0x100292f24\nLDR             X8, [X8,#0x210]                                        ; +0x24, 0x100292f28\nMOV             W1, #0                                                 ; +0x28, 0x100292f2c\nBLR             X8                                                     ; +0x2c, 0x100292f30\nLDR             X1, [X20,#0x818]                                       ; +0x30, 0x100292f34\nCMP             W19, #0                                                ; +0x34, 0x100292f38\nMOV             W8, #0x7F8                                             ; +0x38, 0x100292f3c\nMOV             W9, #0x810                                             ; +0x3c, 0x100292f40\nCSEL            X8, X9, X8, NE                                         ; +0x40, 0x100292f44\nLDR             X0, [X20,X8]                                           ; +0x44, 0x100292f48\nLDR             X8, [X0]                                               ; +0x48, 0x100292f4c\nLDR             X8, [X8,#0x1C8]                                        ; +0x4c, 0x100292f50\nBLR             X8                                                     ; +0x50, 0x100292f54\nLDR             X0, [X20,#0x818]                                       ; +0x54, 0x100292f58\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x58, 0x100292f5c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x5c, 0x100292f60\nB               cocos2d__CCObject__release                             ; +0x60, 0x100292f64", "xrefs": ["GJBaseGameLayer::transformAreaObjects @ 0x100292b48", "GJBaseGameLayer::rotateAreaObjects @ 0x100293054", "GJBaseGameLayer::processTransformActions @ 0x100293bc8", "GJBaseGameLayer::processRotationActions @ 0x100294438", "GJBaseGameLayer::rotateObjects @ 0x100295228"], "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"}