{"type": "func", "start": 4297598868, "end": 4297599004, "name": "GJBaseGameLayer::getTargetFlyCameraY", "pseudocode": "// \n// GJBaseGameLayer::getTargetFlyCameraY from 0x100282794 to 0x10028281c (136 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::animateInDualGroundNew @ 0x100282570\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:56 +0000\n// \n\nfloat __fastcall GJBaseGameLayer::getTargetFlyCameraY(__int64 a1, __int64 a2)\n{\n  __int64 v2; // x9\n  __int64 v3; // x0\n  __int64 v5; // [xsp+8h] [xbp-8h] BYREF\n\n  if ( *(_BYTE *)(a1 + 1010) == 1 && ((v2 = *(_QWORD *)(a1 + 984)) != 0 || (v2 = *(_QWORD *)(a1 + 12432)) != 0) )\n  {\n    (*(void (__fastcall **)(__int64 *__return_ptr, __int64))(*(_QWORD *)v2 + 1816LL))(&v5, v2);\n  }\n  else if ( a2 )\n  {\n    (*(void (__fastcall **)(__int64 *__return_ptr, __int64))(*(_QWORD *)a2 + 1816LL))(&v5, a2);\n  }\n  else\n  {\n    v3 = *(_QWORD *)(a1 + 12432);\n    if ( !v3 )\n      return 0.0;\n    (*(void (__fastcall **)(__int64 *__return_ptr, __int64))(*(_QWORD *)v3 + 1816LL))(&v5, v3);\n  }\n  return *((float *)&v5 + 1);\n}", "assembly": "; \n; GJBaseGameLayer::getTargetFlyCameraY from 0x100282794 to 0x10028281c (136 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::animateInDualGroundNew @ 0x100282570\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:56 +0000\n; \nSUB             SP, SP, #0x20                                          ; +0x0, 0x100282794\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100282798\nADD             X29, SP, #0x10                                         ; +0x8, 0x10028279c\nLDRB            W8, [X0,#0x3F2]                                        ; +0xc, 0x1002827a0\nCMP             W8, #1                                                 ; +0x10, 0x1002827a4\nB.NE            loc_1002827D4                                          ; +0x14, 0x1002827a8\nLDR             X9, [X0,#0x3D8]                                        ; +0x18, 0x1002827ac\nCBNZ            X9, loc_1002827BC                                      ; +0x1c, 0x1002827b0\nLDR             X9, [X0,#0x3090]                                       ; +0x20, 0x1002827b4\nCBZ             X9, loc_1002827D4                                      ; +0x24, 0x1002827b8\nLDR             X8, [X9]                                               ; +0x28, 0x1002827bc\nLDR             X10, [X8,#0x718]                                       ; +0x2c, 0x1002827c0\nADD             X8, SP, #0x10+var_8                                    ; +0x30, 0x1002827c4\nMOV             X0, X9                                                 ; +0x34, 0x1002827c8\nBLR             X10                                                    ; +0x38, 0x1002827cc\nB               loc_100282804                                          ; +0x3c, 0x1002827d0\nCBZ             X1, loc_1002827EC                                      ; +0x40, 0x1002827d4\nLDR             X8, [X1]                                               ; +0x44, 0x1002827d8\nLDR             X9, [X8,#0x718]                                        ; +0x48, 0x1002827dc\nADD             X8, SP, #0x10+var_8                                    ; +0x4c, 0x1002827e0\nMOV             X0, X1                                                 ; +0x50, 0x1002827e4\nB               loc_100282800                                          ; +0x54, 0x1002827e8\nLDR             X0, [X0,#0x3090]                                       ; +0x58, 0x1002827ec\nCBZ             X0, loc_100282814                                      ; +0x5c, 0x1002827f0\nLDR             X8, [X0]                                               ; +0x60, 0x1002827f4\nLDR             X9, [X8,#0x718]                                        ; +0x64, 0x1002827f8\nADD             X8, SP, #0x10+var_8                                    ; +0x68, 0x1002827fc\nBLR             X9                                                     ; +0x6c, 0x100282800\nLDR             S0, [SP,#0x10+var_4]                                   ; +0x70, 0x100282804\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x74, 0x100282808\nADD             SP, SP, #0x20 ; ' '                                    ; +0x78, 0x10028280c\nRET                                                                    ; +0x7c, 0x100282810\nFMOV            S0, WZR                                                ; +0x80, 0x100282814\nB               loc_100282808                                          ; +0x84, 0x100282818", "xrefs": ["GJBaseGameLayer::animateInDualGroundNew @ 0x100282570"], "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"}