{"type": "func", "start": 4297674792, "end": 4297674916, "name": "GJBaseGameLayer::rotateObject", "pseudocode": "// \n// GJBaseGameLayer::rotateObject from 0x100295028 to 0x1002950a4 (124 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::rotateObjects @ 0x100295334\n// > GJBaseGameLayer::processAdvancedFollowAction @ 0x100296898\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:05 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::rotateObject(float a1, __int64 a2, __int64 a3)\n{\n  __int64 result; // x0\n\n  if ( a1 != 0.0 && *(_BYTE *)(a3 + 868) == 1 )\n  {\n    *(float *)(a3 + 676) = *(float *)(a3 + 676) + a1;\n    *(float *)(a3 + 684) = *(float *)(a3 + 684) + a1;\n    result = sub_1002F83F0(a3, a1);\n    if ( *(_DWORD *)(a3 + 920) != 7 )\n    {\n      *(_WORD *)(a3 + 864) = 257;\n      if ( (*(_BYTE *)(a3 + 744) & 1) == 0 )\n        return sub_1002FEBA4(a3);\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::rotateObject from 0x100295028 to 0x1002950a4 (124 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::rotateObjects @ 0x100295334\n; > GJBaseGameLayer::processAdvancedFollowAction @ 0x100296898\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:05 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100295028\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10029502c\nADD             X29, SP, #0x10                                         ; +0x8, 0x100295030\nFCMP            S0, #0.0                                               ; +0xc, 0x100295034\nB.EQ            loc_100295088                                          ; +0x10, 0x100295038\nMOV             X19, X1                                                ; +0x14, 0x10029503c\nLDRB            W8, [X1,#0x364]                                        ; +0x18, 0x100295040\nCMP             W8, #1                                                 ; +0x1c, 0x100295044\nB.NE            loc_100295088                                          ; +0x20, 0x100295048\nLDR             S1, [X19,#0x2A4]                                       ; +0x24, 0x10029504c\nFADD            S1, S1, S0                                             ; +0x28, 0x100295050\nSTR             S1, [X19,#0x2A4]                                       ; +0x2c, 0x100295054\nLDR             S1, [X19,#0x2AC]                                       ; +0x30, 0x100295058\nFADD            S1, S1, S0                                             ; +0x34, 0x10029505c\nSTR             S1, [X19,#0x2AC]                                       ; +0x38, 0x100295060\nMOV             X0, X19                                                ; +0x3c, 0x100295064\nBL              sub_1002F83F0                                          ; +0x40, 0x100295068\nLDR             W8, [X19,#0x398]                                       ; +0x44, 0x10029506c\nCMP             W8, #7                                                 ; +0x48, 0x100295070\nB.EQ            loc_100295088                                          ; +0x4c, 0x100295074\nMOV             W8, #0x101                                             ; +0x50, 0x100295078\nSTRH            W8, [X19,#0x360]                                       ; +0x54, 0x10029507c\nLDRB            W8, [X19,#0x2E8]                                       ; +0x58, 0x100295080\nTBZ             W8, #0, loc_100295094                                  ; +0x5c, 0x100295084\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x60, 0x100295088\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x64, 0x10029508c\nRET                                                                    ; +0x68, 0x100295090\nMOV             X0, X19                                                ; +0x6c, 0x100295094\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x70, 0x100295098\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x74, 0x10029509c\nB               sub_1002FEBA4                                          ; +0x78, 0x1002950a0", "xrefs": ["GJBaseGameLayer::rotateObjects @ 0x100295334", "GJBaseGameLayer::processAdvancedFollowAction @ 0x100296898"], "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"}