; ; GJBaseGameLayer::applyTimeWarp from 0x100299554 to 0x100299618 (196 bytes) ; ; 3 xrefs: ; > @ 0x1008df9d0 ; > @ 0x100919058 ; > @ 0x10094c580 ; ; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:02:07 +0000 ; STP D9, D8, [SP,#-0x10+var_20]! ; +0x0, 0x100299554 STP X20, X19, [SP,#0x20+var_10] ; +0x4, 0x100299558 STP X29, X30, [SP,#0x20+var_s0] ; +0x8, 0x10029955c ADD X29, SP, #0x20 ; +0xc, 0x100299560 FMOV S8, S0 ; +0x10, 0x100299564 MOV X19, X0 ; +0x14, 0x100299568 STR S0, [X0,#0x338] ; +0x18, 0x10029956c LDR S0, [X0,#0x3338] ; +0x1c, 0x100299570 FMOV S1, #-1.0 ; +0x20, 0x100299574 FADD S1, S0, S1 ; +0x24, 0x100299578 FABS S1, S1 ; +0x28, 0x10029957c ADRP X8, #dword_10075C734@PAGE ; +0x2c, 0x100299580 LDR S2, [X8,#dword_10075C734@PAGEOFF] ; +0x30, 0x100299584 FCMP S1, S2 ; +0x34, 0x100299588 B.LT loc_1002995A0 ; +0x38, 0x10029958c LDRB W8, [X19,#0x7BE] ; +0x3c, 0x100299590 FMUL S0, S0, S8 ; +0x40, 0x100299594 CMP W8, #0 ; +0x44, 0x100299598 FCSEL S8, S8, S0, NE ; +0x48, 0x10029959c BL cocos2d__CCDirector__sharedDirector ; +0x4c, 0x1002995a0 LDR X8, [X0] ; +0x50, 0x1002995a4 LDR X8, [X8,#0x80] ; +0x54, 0x1002995a8 BLR X8 ; +0x58, 0x1002995ac LDR S0, [X0,#0x38] ; +0x5c, 0x1002995b0 FCMP S0, S8 ; +0x60, 0x1002995b4 B.EQ loc_100299608 ; +0x64, 0x1002995b8 MOV W8, #0x3178 ; +0x68, 0x1002995bc LDRB W8, [X19,X8] ; +0x6c, 0x1002995c0 CMP W8, #1 ; +0x70, 0x1002995c4 B.NE loc_100299608 ; +0x74, 0x1002995c8 BL cocos2d__CCDirector__sharedDirector ; +0x78, 0x1002995cc LDR X8, [X0] ; +0x7c, 0x1002995d0 LDR X8, [X8,#0x80] ; +0x80, 0x1002995d4 BLR X8 ; +0x84, 0x1002995d8 STR S8, [X0,#0x38] ; +0x88, 0x1002995dc LDRB W8, [X19,#0x7BE] ; +0x8c, 0x1002995e0 FMOV S8, #1.0 ; +0x90, 0x1002995e4 TBNZ W8, #0, loc_1002995F0 ; +0x94, 0x1002995e8 LDR S8, [X19,#0x333C] ; +0x98, 0x1002995ec BL FMODAudioEngine__sharedEngine ; +0x9c, 0x1002995f0 FMOV S0, S8 ; +0xa0, 0x1002995f4 LDP X29, X30, [SP,#0x20+var_s0] ; +0xa4, 0x1002995f8 LDP X20, X19, [SP,#0x20+var_10] ; +0xa8, 0x1002995fc LDP D9, D8, [SP+0x20+var_20],#0x30 ; +0xac, 0x100299600 B sub_1001B8114 ; +0xb0, 0x100299604 LDP X29, X30, [SP,#0x20+var_s0] ; +0xb4, 0x100299608 LDP X20, X19, [SP,#0x20+var_10] ; +0xb8, 0x10029960c LDP D9, D8, [SP+0x20+var_20],#0x30 ; +0xbc, 0x100299610 RET ; +0xc0, 0x100299614